/* ============================================================
   Klinik Avelia — shared stylesheet (v2: healthcare industry)
   White clinical base · teal primary · amber appointment CTA
   Type: Poppins (headings) + Inter (body)
   ============================================================ */

:root {
  --bg: #ffffff;
  --tint: #eaf5f5;
  --tint-deep: #d8ecec;
  --sand: #fff7ea;
  --surface: #ffffff;
  --ink: #24333b;
  --ink-soft: #54666f;
  --ink-faint: #7e8f97;
  --teal: #00787e;
  --teal-dark: #045e63;
  --teal-deep: #06393d;
  --amber: #f5a623;
  --amber-dark: #dd8f0e;
  --wa: #1faa59;
  --wa-dark: #17914b;
  --line: #dfe9ea;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 2px 14px rgba(9, 55, 60, 0.08);
  --shadow-lift: 0 10px 30px rgba(9, 55, 60, 0.14);
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.22; color: var(--teal-dark); }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
h3 { font-size: 1.16rem; line-height: 1.32; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 840px; margin: 0 auto; padding: 0 24px; }

/* ---------- utility ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 12px;
}
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 64ch; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.88rem; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
section { padding: 64px 0; }
section.tight { padding: 44px 0; }
.alt { background: var(--tint); }
.sand { background: var(--sand); }
.dark { background: var(--teal-deep); color: #dcecec; }
.dark h1, .dark h2, .dark h3 { color: #ffffff; }
.dark .lede, .dark .muted { color: #a9c9c9; }
.section-head { margin-bottom: 36px; }
.section-head .lede { margin-top: 10px; }
.section-head.center { max-width: 760px; margin-left: auto; margin-right: auto; }
.flex-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-size: 0.93rem; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: all 0.18s ease; white-space: nowrap;
}
.btn-primary { background: var(--amber); color: #2b2313; }
.btn-primary:hover { background: var(--amber-dark); color: #2b2313; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(221, 143, 14, 0.35); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { background: var(--tint); color: var(--teal-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; transform: translateY(-1px); }
.btn svg { flex: none; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- header ---------- */
.topbar {
  background: var(--teal-deep); color: #bcd7d7; font-size: 0.82rem;
  padding: 7px 0; position: relative; z-index: 60;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; font-weight: 550; }
.topbar a:hover { text-decoration: underline; }
.topbar .tb-right { display: flex; gap: 20px; align-items: center; }
@media (max-width: 720px) { .topbar .tb-hours { display: none; } }

header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 22px; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-word { font-family: var(--font-head); font-size: 1.22rem; font-weight: 700; color: var(--teal-dark); line-height: 1.05; }
.logo-word small { display: block; font-family: var(--font-body); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-dark); margin-top: 3px; }

nav.main { display: flex; gap: 4px; align-items: center; }
nav.main > ul { display: flex; list-style: none; gap: 0; align-items: center; }
nav.main a.nav-link {
  display: block; padding: 10px 12px; font-size: 0.93rem; font-weight: 560;
  color: var(--ink); text-decoration: none; border-radius: 8px; white-space: nowrap;
}
nav.main a.nav-link:hover { background: var(--tint); color: var(--teal-dark); }
nav.main li.active > a.nav-link { color: var(--teal); font-weight: 700; box-shadow: inset 0 -3px 0 var(--amber); border-radius: 8px 8px 0 0; }

.has-drop { position: relative; }
.has-drop > a.nav-link::after { content: "▾"; font-size: 0.6rem; margin-left: 5px; opacity: 0.6; }
.drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 10px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.16s ease;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: 9px 13px; font-size: 0.9rem; color: var(--ink); text-decoration: none; border-radius: 8px; }
.drop a:hover { background: var(--tint); color: var(--teal-dark); }
.drop .drop-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 650; color: var(--teal); }

.head-phone { text-align: right; line-height: 1.25; text-decoration: none; }
.head-phone .hp-num { font-weight: 700; font-size: 0.96rem; color: var(--teal-dark); display: block; }
.head-phone .hp-sub { font-size: 0.72rem; color: var(--ink-faint); }
.head-cta { flex: none; }
@media (max-width: 1180px) { .head-phone { display: none; } }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 10px; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--teal-dark); border-radius: 2px; }

@media (max-width: 1024px) {
  header.site .wrap { height: 66px; gap: 12px; }
  .nav-toggle { display: flex; }
  .head-cta { display: none; }
  nav.main {
    position: fixed; inset: 0; top: 0; background: #fff; z-index: 90;
    flex-direction: column; align-items: stretch; padding: 84px 26px 40px;
    transform: translateX(100%); transition: transform 0.24s ease; overflow-y: auto;
  }
  nav.main.open { transform: translateX(0); }
  nav.main > ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.main a.nav-link { font-size: 1.12rem; padding: 13px 6px; border-bottom: 1px solid var(--line); border-radius: 0; white-space: normal; }
  nav.main li.active > a.nav-link { box-shadow: inset 3px 0 0 var(--amber); padding-left: 14px; }
  .has-drop > a.nav-link::after { display: none; }
  .drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 14px; min-width: 0;
  }
  .drop a { font-size: 0.98rem; padding: 9px 6px; color: var(--ink-soft); }
  .nav-close {
    position: absolute; top: 14px; right: 16px; background: var(--tint); border: 0;
    font-size: 1.6rem; color: var(--teal-dark); cursor: pointer; line-height: 1;
    width: 44px; height: 44px; border-radius: 50%;
  }
  .nav-mobile-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
}
@media (min-width: 1025px) { .nav-close, .nav-mobile-cta { display: none; } }

/* ---------- breadcrumbs ---------- */
.crumbs { padding: 14px 0 0; font-size: 0.84rem; color: var(--ink-faint); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-faint); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }

/* ---------- banner hero (home) ---------- */
.banner { padding: 34px 0 0; }
.banner-card {
  display: grid; grid-template-columns: 1.02fr 1fr; border-radius: var(--radius-lg);
  overflow: hidden; background: linear-gradient(115deg, var(--teal-dark) 0%, var(--teal) 78%);
  color: #fff; box-shadow: var(--shadow-lift); min-height: 400px;
}
.banner-copy { padding: 52px 26px 52px 52px; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.banner-copy h1 { color: #fff; margin: 0 0 14px; }
.banner-copy .lede { color: #cfe7e7; margin-bottom: 26px; }
.banner-copy .eyebrow { color: #ffd489; }
.banner-img { position: relative; min-height: 300px; }
.banner-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-img::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--teal) 0%, rgba(0, 120, 126, 0) 30%);
}
.banner-rating {
  position: absolute; z-index: 2; right: 18px; bottom: 18px; background: rgba(255,255,255,0.96);
  color: var(--ink); border-radius: 10px; padding: 10px 16px; font-size: 0.84rem;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow);
}
.banner-rating strong { display: block; font-size: 0.98rem; }
@media (max-width: 900px) {
  .banner-card { grid-template-columns: 1fr; }
  .banner-copy { padding: 38px 28px; }
}

/* ---------- quick actions ---------- */
.quick-actions { margin-top: -34px; position: relative; z-index: 5; padding: 0 0 8px; }
.qa-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.qa {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 20px 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px; transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.qa:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--ink); }
.qa svg { width: 34px; height: 34px; color: var(--teal); }
.qa .qa-label { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; color: var(--teal-dark); }
.qa .qa-sub { font-size: 0.82rem; color: var(--ink-soft); }
.qa .qa-go { margin-top: auto; font-size: 0.85rem; font-weight: 650; color: var(--amber-dark); }
@media (max-width: 900px) { .qa-row { grid-template-columns: repeat(2, 1fr); } .quick-actions { margin-top: 18px; } }
@media (max-width: 460px) { .qa { padding: 16px 14px; } .qa .qa-sub { display: none; } }

/* ---------- page hero (inner) ---------- */
.page-hero { padding: 44px 0 50px; background: var(--tint); }
.page-hero h1 { margin: 6px 0 14px; max-width: 24ch; }
.page-hero .lede { max-width: 68ch; }
.page-hero .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); position: relative; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-hero .hero-grid { grid-template-columns: 1fr; gap: 30px; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow);
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
a.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--ink-soft); font-size: 0.93rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.86rem; padding-top: 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.card-meta .price { font-weight: 700; color: var(--teal-dark); }
.card-link { color: var(--amber-dark); font-weight: 650; font-size: 0.9rem; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 0.74rem; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  background: var(--tint); color: var(--teal-dark);
}
.tag.terra { background: #fdeeda; color: #9a6510; }

/* ---------- treatment fact bar ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 30px 0 0; }
.facts div { background: var(--surface); padding: 15px 16px; }
.facts .f-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); font-weight: 700; margin-bottom: 4px; }
.facts .f-value { font-weight: 650; font-size: 0.94rem; color: var(--teal-dark); }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- checklist & steps ---------- */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { padding-left: 32px; position: relative; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px;
  border-radius: 50%; background: var(--tint-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300787e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}

.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-num {
  counter-increment: step; width: 46px; height: 46px; border-radius: 50%;
  background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 600;
}
.step-num::before { content: counter(step); }
.step h4 { margin-bottom: 5px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; color: var(--ink); }
.step h4 .when { font-size: 0.76rem; font-weight: 700; color: var(--amber-dark); text-transform: uppercase; letter-spacing: 0.06em; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- approach blocks ---------- */
.approach { display: grid; gap: 18px; }
.approach-item { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.approach-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.approach-item p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- price tables ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.94rem; vertical-align: top; }
.price-table th { background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 0.84rem; letter-spacing: 0.03em; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tbody tr:nth-child(even) td { background: #f6fafa; }
.price-table td.p-price { font-weight: 700; color: var(--teal-dark); white-space: nowrap; }
.price-table td.p-note { color: var(--ink-soft); font-size: 0.86rem; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
@media (max-width: 640px) {
  .price-table th, .price-table td { padding: 11px 12px; font-size: 0.88rem; }
  .price-table td.p-note { font-size: 0.79rem; }
}

.mini-prices { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; box-shadow: var(--shadow); }
.mini-prices h3 { margin-bottom: 14px; }
.mini-prices ul { list-style: none; }
.mini-prices li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 0.93rem; }
.mini-prices li:last-child { border-bottom: 0; }
.mini-prices li span:last-child { font-weight: 650; color: var(--teal-dark); text-align: right; white-space: nowrap; }
.mini-prices .mp-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 12px; }

/* ---------- accordion ---------- */
.accordion { display: grid; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.acc-item summary {
  list-style: none; cursor: pointer; padding: 17px 52px 17px 22px; font-family: var(--font-head);
  font-weight: 600; font-size: 0.98rem; position: relative; color: var(--ink);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 500; color: var(--teal); font-family: var(--font-body);
}
.acc-item[open] summary::after { content: "–"; }
.acc-item[open] summary { color: var(--teal-dark); }
.acc-body { padding: 0 22px 20px; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- reviews ---------- */
.stars { color: var(--amber); letter-spacing: 2px; font-size: 0.92rem; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.review-card blockquote { font-size: 0.95rem; color: var(--ink-soft); flex: 1; }
.review-who { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 0.85rem; flex-wrap: wrap; }
.review-who strong { color: var(--ink); }
.review-who span { color: var(--ink-faint); }

.rating-strip { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rating-strip .big { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--teal-dark); }

/* ---------- stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-band > div { text-align: center; padding: 8px; }
.stats-band .n { font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; color: #fff; }
.stats-band .l { font-size: 0.85rem; color: #9ec4c4; margin-top: 4px; }
.stats-band.on-light .n { color: var(--teal); }
.stats-band.on-light .l { color: var(--ink-soft); }
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

/* ---------- doctor cards ---------- */
.doc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.doc-card .doc-img { aspect-ratio: 3 / 3.2; overflow: hidden; background: var(--tint); }
.doc-card .doc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doc-card .doc-body { padding: 18px 20px 22px; }
.doc-card h3 { font-size: 1.08rem; color: var(--ink); }
.doc-role { color: var(--teal); font-size: 0.83rem; font-weight: 650; margin: 4px 0 10px; }
.doc-creds { font-size: 0.8rem; color: var(--ink-faint); line-height: 1.5; }
.doc-bio { font-size: 0.9rem; color: var(--ink-soft); margin-top: 12px; }
.doc-quote { margin-top: 14px; padding: 13px 16px; background: var(--tint); border-radius: 10px; font-size: 0.88rem; font-style: italic; color: var(--teal-dark); }
.doc-langs { font-size: 0.8rem; color: var(--ink-soft); margin-top: 8px; }

/* ---------- locations ---------- */
.loc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.loc-card h3 { color: var(--ink); }
.loc-card h3 a { text-decoration: none; color: var(--ink); }
.loc-card h3 a:hover { color: var(--teal); }
.loc-state { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--amber-dark); }
.loc-addr { font-size: 0.9rem; color: var(--ink-soft); font-style: normal; }
.loc-meta { font-size: 0.86rem; color: var(--ink-faint); }
.loc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.loc-actions .btn { padding: 9px 18px; font-size: 0.85rem; }

.hours-table { width: 100%; font-size: 0.92rem; border-collapse: collapse; }
.hours-table td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr:last-child td { border-bottom: 0; }

/* ---------- clinic tabs (home) ---------- */
.tab-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.tab-btn {
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; padding: 10px 22px;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer;
  transition: all 0.15s;
}
.tab-btn:hover { border-color: var(--teal); color: var(--teal); }
.tab-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- treatment finder ---------- */
.finder {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 44px; box-shadow: var(--shadow-lift);
}
.finder h2 { margin-bottom: 6px; }
.finder .f-sub { color: var(--ink-soft); margin-bottom: 24px; font-size: 0.96rem; }
.finder-step { display: none; }
.finder-step.active { display: block; }
.finder-q { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); margin-bottom: 16px; }
.finder-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.finder-opt {
  background: var(--tint); border: 1.5px solid transparent; color: var(--teal-dark);
  border-radius: 999px; padding: 11px 22px; font-size: 0.92rem; font-weight: 600;
  cursor: pointer; transition: all 0.15s; font-family: var(--font-head);
}
.finder-opt:hover { border-color: var(--teal); }
.finder-opt.selected { background: var(--teal); color: #fff; }
.finder-nav { margin-top: 24px; display: flex; gap: 12px; align-items: center; }
.finder-back { background: none; border: 0; color: var(--ink-soft); cursor: pointer; font-size: 0.9rem; text-decoration: underline; font-family: var(--font-body); }
.finder-progress { margin-left: auto; font-size: 0.82rem; color: var(--ink-faint); }
.finder-results { display: grid; gap: 14px; margin-top: 8px; }
.finder-result {
  background: var(--tint); border: 1px solid var(--tint-deep);
  border-radius: var(--radius); padding: 18px 22px; display: grid; gap: 6px;
}
.finder-result h3 { color: var(--teal-dark); font-size: 1.06rem; }
.finder-result p { color: var(--ink-soft); font-size: 0.92rem; }
.finder-result .fr-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.finder-result .fr-price { color: var(--amber-dark); font-weight: 700; }
.finder-result a { color: var(--teal-dark); font-weight: 650; font-size: 0.9rem; }
.finder-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 18px; }
@media (max-width: 640px) { .finder { padding: 28px 20px; } }

/* ---------- forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 34px; box-shadow: var(--shadow-lift); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px 20px; } }
.field label { display: block; font-size: 0.86rem; font-weight: 640; margin-bottom: 7px; }
.field label .req { color: var(--amber-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); background: #fbfdfd;
  transition: border-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field .err-msg { display: none; font-size: 0.8rem; color: #b3402a; margin-top: 5px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3402a; }
.field.invalid .err-msg { display: block; }
.form-reassure { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--ink-faint); margin-top: 16px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success h3 { margin-bottom: 10px; }

/* ---------- pricing page controls ---------- */
.price-controls { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; }
.price-controls input[type="search"] {
  flex: 1; min-width: 220px; padding: 12px 18px; border: 1.5px solid var(--line);
  border-radius: 999px; font-family: var(--font-body); font-size: 0.95rem; background: var(--surface);
}
.price-controls input[type="search"]:focus { outline: none; border-color: var(--teal); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: 0.86rem; font-weight: 600; cursor: pointer; color: var(--ink-soft);
  font-family: var(--font-head); transition: all 0.15s;
}
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.price-group { margin-bottom: 42px; }
.price-group h2 { margin-bottom: 18px; }
.price-empty { display: none; text-align: center; padding: 40px; color: var(--ink-soft); }

/* ---------- packages (home) ---------- */
.pkg-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.pkg-head { background: var(--teal); color: #fff; padding: 18px 24px; }
.pkg-head.deep { background: var(--teal-dark); }
.pkg-head.deepest { background: var(--teal-deep); }
.pkg-head h3 { color: #fff; font-size: 1.05rem; }
.pkg-price { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--teal-dark); }
.pkg-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pkg-body ul { flex: 1; }

/* ---------- journal ---------- */
.post-meta { display: flex; gap: 14px; align-items: center; font-size: 0.86rem; color: var(--ink-faint); flex-wrap: wrap; }
.post-meta .dot::before { content: "·"; margin-right: 14px; }
article.post h1 { color: var(--teal-dark); }
article.post h2 { margin: 38px 0 14px; }
article.post p { margin: 0 0 18px; color: #3d4d55; }
article.post ul, article.post ol { margin: 0 0 18px 22px; color: #3d4d55; display: grid; gap: 8px; }
article.post em { color: var(--ink); }
.post-hero-img { border-radius: var(--radius-lg); overflow: hidden; margin: 28px 0 34px; box-shadow: var(--shadow); }
.author-box {
  display: flex; gap: 20px; align-items: center; background: var(--tint);
  border: 1px solid var(--tint-deep); border-radius: var(--radius-lg); padding: 22px 26px; margin-top: 42px;
}
.author-box img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; object-position: top center; flex: none; }
.author-box .ab-name { font-weight: 700; }
.author-box .ab-creds { font-size: 0.82rem; color: var(--ink-faint); }
.author-box p { font-size: 0.88rem; color: var(--ink-soft); margin: 6px 0 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, var(--teal-dark), var(--teal)); }
.cta-band .inner { display: grid; grid-template-columns: 1.2fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #cde6e6; }
@media (max-width: 820px) { .cta-band .inner { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer.site { background: var(--teal-deep); color: #9fc0c0; font-size: 0.9rem; }
footer.site .foot-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 42px; }
footer.site h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; }
footer.site ul { list-style: none; display: grid; gap: 10px; }
footer.site a { color: #c6dcdc; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.foot-brand .logo-word { color: #fff; }
.foot-brand .logo-word small { color: #ffd489; }
footer.site a.btn { text-decoration: none; }
footer.site a.btn-wa { color: #fff; }
footer.site a.btn-wa:hover { color: #fff; }
footer.site a.btn-light { color: var(--teal-deep); }
footer.site a.btn-light:hover { color: var(--teal-deep); }
.foot-brand p { margin: 16px 0 20px; font-size: 0.88rem; line-height: 1.6; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-legal { border-top: 1px solid rgba(255,255,255,0.14); padding: 22px 0 26px; font-size: 0.78rem; color: #83a5a5; }
.foot-legal p { margin-bottom: 6px; }
.foot-legal .foot-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.foot-legal .foot-links a { color: #9fc0c0; }
@media (max-width: 960px) { footer.site .foot-main { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 580px) { footer.site .foot-main { grid-template-columns: 1fr; } }

/* ---------- sticky mobile bar ---------- */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(9,55,60,0.12);
}
.mobile-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 4px 12px; text-decoration: none; font-size: 0.72rem; font-weight: 650; color: var(--teal-dark);
}
.mobile-bar a svg { width: 21px; height: 21px; }
.mobile-bar a.mb-book { background: var(--amber); color: #2b2313; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
}

/* ---------- doctor directory ---------- */
.doc-filter { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 30px; }
.doc-filter input[type="search"] {
  flex: 1; min-width: 220px; padding: 12px 18px; border: 1.5px solid var(--line);
  border-radius: 999px; font-family: var(--font-body); font-size: 0.95rem; background: var(--surface);
}
.doc-filter input[type="search"]:focus { outline: none; border-color: var(--teal); }
.doc-empty { display: none; text-align: center; padding: 40px; color: var(--ink-soft); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- misc ---------- */
.notice {
  background: var(--sand); border: 1px solid #f3e3c3; border-radius: var(--radius);
  padding: 18px 22px; font-size: 0.92rem; color: #6e5730;
}
.divider { border: 0; border-top: 1px solid var(--line); margin: 42px 0; }
.anchor-offset { scroll-margin-top: 96px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff;
  padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
