/* ==========================================================================
   PathCare Solutions — landing page, city page and blog styles
   Loaded after main.css and reuses the design tokens declared there.
   Only additive: it does not modify any existing template rule.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header brand mark
   The homepage <h1 class="sitename"> was demoted to a <div> so each page has
   a single <h1>. This keeps the original visual weight.
   -------------------------------------------------------------------------- */
.header .logo .sitename {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: var(--tracking-tight, -0.02em);
  color: var(--heading-color, #0f172a);
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   2. Buttons
   -------------------------------------------------------------------------- */
a.btn-ghost,
a.btn-ghost:focus,
a.btn-ghost:visited {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--accent-color, #0d83fd) 40%, transparent);
  color: var(--accent-color, #0d83fd);
  padding: 12px 26px;
  border-radius: var(--r-full, 999px);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s var(--ease-out, ease), color 0.25s var(--ease-out, ease),
    transform 0.25s var(--ease-out, ease), box-shadow 0.25s var(--ease-out, ease);
}

a.btn-ghost:hover {
  background: color-mix(in srgb, var(--accent-color, #0d83fd) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent-color, #0d83fd) 70%, transparent);
  color: var(--accent-color, #0d83fd);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm, 0 6px 18px rgba(13, 131, 253, 0.14));
}

.btn-whatsapp,
.btn-whatsapp:focus,
.btn-whatsapp:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  border: 1px solid #25d366;
  color: #fff;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--r-full, 999px);
  text-decoration: none;
  transition: transform 0.25s var(--ease-out, ease), box-shadow 0.25s var(--ease-out, ease);
}

.btn-whatsapp:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

/* --------------------------------------------------------------------------
   3. Homepage pricing plans section
   -------------------------------------------------------------------------- */
.pricing-plans {
  background: linear-gradient(180deg, #fff 0%, #f6faff 100%);
}

.pricing-plans .plan-card,
.plan-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line, #e6edf7);
  border-radius: var(--r-xl, 20px);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm, 0 6px 24px rgba(15, 23, 42, 0.06));
  transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s var(--ease-out, ease),
    border-color 0.3s var(--ease-out, ease);
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color, #0d83fd) 35%, transparent);
  box-shadow: var(--shadow-lg, 0 18px 44px rgba(15, 23, 42, 0.12));
}

.plan-card.plan-card-featured {
  border-color: color-mix(in srgb, var(--accent-color, #0d83fd) 45%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color, #0d83fd) 10%, transparent),
    var(--shadow-md, 0 12px 32px rgba(15, 23, 42, 0.1));
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: linear-gradient(120deg, var(--accent-color, #0d83fd), #4aa3ff);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full, 999px);
}

.plan-tag {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color, #0d83fd);
  margin-bottom: 6px;
}

.plan-price {
  display: block;
  font-family: var(--heading-font, inherit);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading-color, #0f172a);
  line-height: 1.1;
}

.plan-price small {
  font-size: 15px;
  font-weight: 600;
  color: var(--default-color, #475569);
  margin-left: 4px;
}

.plan-summary {
  font-size: 14px;
  line-height: 1.6;
  color: var(--default-color, #475569);
  margin: 0 0 16px;
}

.plan-card h3 {
  font-size: 19px;
  margin: 14px 0 16px;
  color: var(--heading-color, #0f172a);
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1 1 auto;
}

.plan-card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 15px;
  color: var(--default-color, #475569);
}

.plan-card ul li i {
  color: var(--accent-color, #0d83fd);
  margin-top: 3px;
  flex: 0 0 auto;
}

.pricing-note {
  font-size: 14px;
  color: var(--default-color, #475569);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-note a {
  color: var(--accent-color, #0d83fd);
  font-weight: 600;
  text-decoration: none;
}

.pricing-note a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   4. Inner page shell
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding: 104px 0 0;
  font-size: 13px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  color: var(--default-color, #64748b);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: color-mix(in srgb, var(--default-color, #64748b) 45%, transparent);
}

.breadcrumbs a {
  color: var(--default-color, #64748b);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent-color, #0d83fd);
}

.page-hero {
  padding: 28px 0 56px;
}

.page-hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 18px;
  color: var(--heading-color, #0f172a);
}

.page-hero h1 .accent-text {
  background: linear-gradient(120deg, var(--accent-color, #0d83fd), #4aa3ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
  color: var(--default-color, #475569);
  max-width: 780px;
  text-wrap: pretty;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 22px;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--default-color, #475569);
}

.hero-points li i {
  color: var(--accent-color, #0d83fd);
  margin-top: 3px;
}

.content-block {
  max-width: 900px;
}

.content-block h2 {
  font-size: clamp(23px, 2.6vw, 31px);
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
  color: var(--heading-color, #0f172a);
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  font-size: 19px;
  margin: 26px 0 10px;
  color: var(--heading-color, #0f172a);
}

.content-block p,
.content-block li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--default-color, #475569);
  text-wrap: pretty;
}

.content-block ul.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.content-block ul.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 6px 0;
}

.content-block ul.check-list li i {
  color: var(--accent-color, #0d83fd);
  margin-top: 5px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   5. Card grids (features, cities, blog)
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.info-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line, #e6edf7);
  border-radius: var(--r-lg, 16px);
  padding: 26px 24px;
  box-shadow: var(--shadow-xs, 0 2px 10px rgba(15, 23, 42, 0.04));
  transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s var(--ease-out, ease),
    border-color 0.3s var(--ease-out, ease);
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color, #0d83fd) 32%, transparent);
  box-shadow: var(--shadow-md, 0 12px 30px rgba(15, 23, 42, 0.1));
}

.info-card .info-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md, 12px);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent-color, #0d83fd) 12%, transparent);
  color: var(--accent-color, #0d83fd);
  font-size: 21px;
}

.info-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--heading-color, #0f172a);
}

.info-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--default-color, #475569);
  margin: 0;
}

.info-card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-color, #0d83fd);
  text-decoration: none;
}

.info-card a.card-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   6. Comparison table
   -------------------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line, #e6edf7);
  border-radius: var(--r-lg, 16px);
  background: #fff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line, #e6edf7);
  color: var(--default-color, #475569);
  vertical-align: top;
}

.compare-table thead th {
  background: #f6faff;
  color: var(--heading-color, #0f172a);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td strong {
  color: var(--heading-color, #0f172a);
}

/* --------------------------------------------------------------------------
   7. Simple FAQ list (schema-backed)
   -------------------------------------------------------------------------- */
.faq-simple {
  display: grid;
  gap: 14px;
}

.faq-simple details {
  background: #fff;
  border: 1px solid var(--line, #e6edf7);
  border-radius: var(--r-lg, 16px);
  padding: 18px 22px;
  transition: border-color 0.25s var(--ease-out, ease), box-shadow 0.25s var(--ease-out, ease);
}

.faq-simple details[open] {
  border-color: color-mix(in srgb, var(--accent-color, #0d83fd) 38%, transparent);
  box-shadow: var(--shadow-sm, 0 6px 20px rgba(15, 23, 42, 0.07));
}

.faq-simple summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--heading-color, #0f172a);
  list-style: none;
}

.faq-simple summary::-webkit-details-marker {
  display: none;
}

.faq-simple summary::after {
  content: "\F282";
  font-family: "bootstrap-icons";
  float: right;
  color: var(--accent-color, #0d83fd);
  transition: transform 0.25s var(--ease-out, ease);
}

.faq-simple details[open] summary::after {
  transform: rotate(90deg);
}

.faq-simple details p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--default-color, #475569);
}

/* --------------------------------------------------------------------------
   8. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  padding: clamp(48px, 6vw, 76px) 0;
  background: linear-gradient(135deg, #0f172a 0%, #12345c 55%, #0d83fd 140%);
  color: #fff;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.75;
  max-width: 660px;
  margin: 0 auto 26px;
}

.cta-band .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta-band a.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cta-band a.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* --------------------------------------------------------------------------
   9. Blog
   -------------------------------------------------------------------------- */
.post-meta {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color, #64748b) 85%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  max-width: 820px;
}

.article-body h2 {
  font-size: clamp(22px, 2.4vw, 29px);
  letter-spacing: -0.018em;
  margin: 38px 0 14px;
  color: var(--heading-color, #0f172a);
}

.article-body h3 {
  font-size: 18px;
  margin: 26px 0 10px;
  color: var(--heading-color, #0f172a);
}

.article-body p,
.article-body li {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--default-color, #475569);
  text-wrap: pretty;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.note-box {
  background: #f6faff;
  border: 1px solid var(--line, #e6edf7);
  border-left: 4px solid var(--accent-color, #0d83fd);
  border-radius: var(--r-md, 12px);
  padding: 18px 22px;
  margin: 24px 0;
}

.note-box p:last-child {
  margin-bottom: 0;
}

.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line, #e6edf7);
  border-radius: var(--r-lg, 16px);
  padding: 22px;
  margin-top: 40px;
}

.author-box img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.author-box h4 {
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--heading-color, #0f172a);
}

.author-box p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--default-color, #475569);
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .breadcrumbs {
    padding-top: 92px;
  }

  .page-hero {
    padding-bottom: 40px;
  }
}

@media (max-width: 575.98px) {
  .hero-points {
    grid-template-columns: 1fr;
  }

  .page-actions .btn,
  .page-actions a.btn-ghost,
  .page-actions a.btn-whatsapp,
  .cta-band .cta-actions .btn,
  .cta-band .cta-actions a.btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .info-card,
  .plan-card,
  a.btn-ghost,
  .btn-whatsapp {
    transition: none;
  }

  .info-card:hover,
  .plan-card:hover,
  a.btn-ghost:hover,
  .btn-whatsapp:hover {
    transform: none;
  }
}
