/* =========================================================
   Omkar Pathology Laboratory
   Senior-friendly: large type, high contrast, big targets.
   ========================================================= */

:root {
  --teal: #027d95;
  --teal-600: #026a7f;
  --teal-800: #034a5a;
  --teal-900: #062f39;
  --teal-50: #e8f4f6;
  --teal-100: #cfe8ed;
  --red: #d7191f;
  --red-50: #fdecec;
  --ink: #10262d;
  --ink-2: #33494f;
  --muted: #56686d;
  --line: #dfe3dd;
  --bg: #fbf8f3;
  --cream: #f3ede3;
  --card: #ffffff;
  --gold: #b7862b;
  --wa: #25d366;
  --wa-dark: #0f7a3d;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(6, 47, 57, .06), 0 2px 8px rgba(6, 47, 57, .05);
  --shadow: 0 2px 6px rgba(6, 47, 57, .06), 0 14px 40px -12px rgba(6, 47, 57, .18);
  --shadow-lg: 0 30px 80px -24px rgba(6, 47, 57, .35);

  --serif: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --deva: "Noto Sans Devanagari", "Rubik", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* Text size: normal 16px; "Bigger text" toggle → 20px */
html { font-size: 100%; }
html[data-text="lg"] { font-size: 125%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;

  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-600); text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--teal-900); line-height: 1.22; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.deva { font-family: var(--deva); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--cream { background: var(--cream); }
.section--teal { background: var(--teal-900); color: #e6f1f3; }
.section--teal h2, .section--teal h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 10px; height: 13px; background: var(--red); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; transform: rotate(0deg); clip-path: path("M5 0 C5 0 0 6 0 8.5 A5 5 0 0 0 10 8.5 C10 6 5 0 5 0Z"); }
.section--teal .eyebrow { color: #8fd3e0; }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 40rem; }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .75em 1.35em; border-radius: 999px;
  font-weight: 500; font-size: 1rem; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--wa { background: var(--wa-dark); color: #fff; box-shadow: 0 10px 24px -10px rgba(15, 122, 61, .7); }
.btn--wa:hover { background: #0c6833; }
.btn--call { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(2, 125, 149, .7); }
.btn--call:hover { background: var(--teal-600); }
.btn--ghost { background: #fff; color: var(--teal-800); border-color: var(--teal-100); }
.btn--ghost:hover { border-color: var(--teal); }
.btn--light { background: #fff; color: var(--teal-900); }
.btn--block { width: 100%; }
.btn--sm { min-height: 46px; padding: .55em 1.1em; font-size: .95rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--teal-900); color: #d4e8ec; font-size: .9rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar__info { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: .45em; }
.topbar__info svg { width: 1.05em; height: 1.05em; opacity: .85; }
.textsize {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; padding: 0 .9rem 0 .7rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-weight: 500; font-size: .9rem; white-space: nowrap;
}
.textsize__a { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1; }
.textsize__a sup { font-size: .65em; }
.textsize:hover { background: rgba(255,255,255,.1); }
.textsize[aria-pressed="true"] { background: #fff; color: var(--teal-900); border-color: #fff; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a { white-space: nowrap; padding: .6em .75em; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--teal-50); color: var(--teal-800); }
.header__cta { display: flex; gap: .6rem; }
.menu-btn { display: none; margin-left: auto; width: 56px; height: 56px; border-radius: 14px; border: 2px solid var(--teal-100); background: #fff; color: var(--teal-900); align-items: center; justify-content: center; }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 1280px) {
  .header__cta .btn--wa { display: none; }
}
@media (max-width: 1060px) {
  .nav a { font-size: .92rem; padding: .55em .6em; }
}
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar__hide-sm { display: none !important; }
  .brand img { height: 44px; }
  .header .wrap { min-height: 72px; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); padding: 12px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open a { font-size: 1.15rem; padding: .9em 1em; border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(2,125,149,.10), transparent 70%); pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero__deva { font-family: var(--deva); font-size: 1.1rem; color: var(--teal); margin-bottom: .4rem; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero__sub { font-size: 1.1rem; color: var(--ink-2); max-width: 36rem; margin-bottom: 1.8rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero__ctas .btn { min-height: 56px; font-size: 1.05rem; padding-inline: 1.5em; }
.hero__assure { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--ink-2); font-weight: 600; font-size: .98rem; list-style: none; padding: 0; margin: 0; }
.hero__assure li { display: inline-flex; align-items: center; gap: .45em; }
.hero__assure svg { width: 1.25em; height: 1.25em; color: var(--teal); }

/* Doctor card in hero */
.doc-card {
  position: relative; background: var(--card); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.doc-card__portrait {
  position: relative; aspect-ratio: 4 / 4.3; border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, #0a8fa9 0%, var(--teal-800) 55%, var(--teal-900) 100%);
  display: grid; place-items: center; color: #fff;
}
.doc-card__portrait img { width: 100%; height: 100%; object-fit: cover; }
.doc-card__monogram { text-align: center; }
.doc-card__monogram .ring {
  width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.35); box-shadow: inset 0 0 0 10px rgba(255,255,255,.06);
  font-family: var(--serif); font-size: 3.4rem; font-weight: 600; letter-spacing: -.02em;
}
.doc-card__monogram small { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.doc-card__body { padding-top: 20px; }
.doc-card__name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--teal-900); margin: 0; line-height: 1.2; }
.doc-card__deva { font-family: var(--deva); color: var(--muted); font-size: 1.05rem; }
.doc-card__qual { color: var(--ink-2); font-weight: 600; margin: .25rem 0 1rem; }
.doc-card__verify {
  display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border-radius: 14px;
  background: var(--teal-50); color: var(--teal-900); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.doc-card__verify svg { width: 26px; height: 26px; color: var(--teal); flex: none; }
.doc-card__verify span small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }

.chip-float {
  position: absolute; background: #fff; border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--teal-900); font-size: .95rem; line-height: 1.2;
  border: 1px solid var(--line);
}
.chip-float b { font-family: var(--serif); font-size: 1.4rem; color: var(--teal); font-weight: 600; }
.chip-float small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }
.chip-float--a { top: 22px; left: -36px; }
.chip-float--b { bottom: 150px; right: -30px; }
.chip-float .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,.2); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .chip-float--a { left: -8px; top: -14px; }
  .chip-float--b { right: -8px; }
}
@media (max-width: 520px) {
  .chip-float--b { display: none; }
  .topbar__days { display: none; }
  .kyd-badge__head { gap: 8px; }
  .kyd-badge__head .deva, .kyd-badge__head .en { font-size: .85rem; }
  .hero__ctas .btn { width: 100%; }
  .chip-float { font-size: .85rem; padding: .55rem .8rem; }
  .chip-float b { font-size: 1.3rem; }
}

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-block: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { padding: 28px 20px; display: flex; gap: 14px; align-items: center; border-right: 1px solid var(--line); }
.trust__item:last-child { border-right: 0; }
.trust__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; flex: none; }
.trust__icon svg { width: 28px; height: 28px; }
.trust__item b { display: block; font-size: 1.05rem; color: var(--teal-900); line-height: 1.25; }
.trust__item span { color: var(--muted); font-size: .92rem; line-height: 1.35; display: block; }
@media (max-width: 900px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust .wrap { grid-template-columns: 1fr; }
  .trust__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 4px; }
}

/* ---------- Doctor section ---------- */
.doctor { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.doctor__quote {
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; color: var(--teal-900);
  border-left: 4px solid var(--red); padding-left: 1.2rem; margin: 1.6rem 0; font-style: normal; font-weight: 500;
}
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.6rem; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.fact small { display: block; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.fact b { font-size: 1.1rem; color: var(--teal-900); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--teal-100), var(--teal), var(--teal-100)); }
.timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 0 0 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline__dot {
  width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); color: var(--teal-900);
  display: grid; place-items: center; font-weight: 600; font-size: .82rem; position: relative; z-index: 1;
}
.timeline li.now .timeline__dot { background: var(--teal); color: #fff; }
.timeline__card { background: #fff; border-radius: 16px; padding: 16px 20px; border: 1px solid var(--line); }
.timeline__card b { display: block; color: var(--teal-900); font-size: 1.08rem; }
.timeline__card span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .doctor { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Independent vs chain ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.versus__col { padding: clamp(24px, 4vw, 44px); }
.versus__col--us { background: var(--teal-900); color: #e6f1f3; }
.versus__col--them { background: #fff; color: var(--ink-2); }
.versus__col h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; }
.versus__col--us h3 { color: #fff; }
.versus__col--them h3 { color: var(--muted); }
.versus__col h3 img { height: 34px; background: #fff; border-radius: 8px; padding: 4px 8px; }
.versus__list { list-style: none; margin: 0; padding: 0; }
.versus__list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.versus__col--them .versus__list li { border-top-color: var(--line); }
.versus__list li:first-child { border-top: 0; padding-top: 0; }
.versus__list svg { width: 28px; height: 28px; }
.versus__col--us svg { color: #6ee7a0; }
.versus__col--them svg { color: #b0b8ba; }
.versus__list b { display: block; font-size: 1.05rem; }
.versus__col--us b { color: #fff; }
.versus__list span { font-size: .95rem; opacity: .85; }
@media (max-width: 820px) { .versus { grid-template-columns: 1fr; } }

/* ---------- Know Your Doctor ---------- */
.kyd { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.kyd-badge {
  background: linear-gradient(180deg, #fdfefe, #eef3f8); border-radius: 22px; padding: 10px;
  box-shadow: var(--shadow-lg); border: 1px solid #d9e1ea; position: relative;
}
.kyd-badge__inner { border: 2px solid #2d3b4c; border-radius: 16px; padding: clamp(16px, 3vw, 28px); background: #f9fbfd; }
.kyd-badge__head { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; margin-bottom: 18px; color: #2b3644; }
.kyd-badge__head .deva { font-size: 1.05rem; line-height: 1.2; font-weight: 600; text-align: right; }
.kyd-badge__head .en { font-size: 1.02rem; line-height: 1.2; font-weight: 600; text-align: left; font-family: var(--sans); }
.kyd-seal { width: 52px; height: 52px; border-radius: 50%; border: 3px solid #7a5a3a; display: grid; place-items: center; color: #7a5a3a; background: #f4ece2; flex: none; }
.kyd-seal svg { width: 28px; height: 28px; }
.kyd-badge__body { display: grid; grid-template-columns: auto 1fr; gap: clamp(14px, 3vw, 26px); align-items: center; }
.kyd-qr { position: relative; padding: 14px; background: #fff; border-radius: 10px; width: clamp(120px, 22vw, 168px); }
.kyd-qr::before, .kyd-qr::after { content: ""; position: absolute; inset: 0; border: 4px solid #2d3b4c; border-radius: 12px; clip-path: polygon(0 0, 30% 0, 30% 4px, 4px 4px, 4px 30%, 0 30%, 0 70%, 4px 70%, 4px calc(100% - 4px), 30% calc(100% - 4px), 30% 100%, 0 100%); }
.kyd-qr::after { transform: scaleX(-1); }
.kyd-qr img { width: 100%; height: auto; }
.kyd-name { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 600; color: #1d2733; line-height: 1.15; margin: 0; font-family: var(--sans); }
.kyd-name small { font-size: .55em; font-weight: 600; color: #3a4655; white-space: nowrap; }
.kyd-deva { font-family: var(--deva); font-size: 1.2rem; color: #1d2733; margin: .2rem 0 .4rem; }
.kyd-reg { font-weight: 600; color: #2b3644; font-size: .95rem; }
.kyd-scan { margin-top: 14px; background: #b8cde6; color: #1d2733; text-align: center; padding: .6rem .8rem; border-radius: 4px; font-weight: 600; font-size: .85rem; line-height: 1.35; }
.kyd-scan .deva { display: block; font-size: .95rem; }
.kyd-foot { font-size: .72rem; color: #5a6675; margin-top: 12px; line-height: 1.4; }
.kyd-details { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 10px; }
.kyd-details li { display: flex; justify-content: space-between; gap: 1rem; padding: 14px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
.kyd-details li span { color: #a9c9d0; }
.kyd-details li b { color: #fff; text-align: right; }
.verified-pill { display: inline-flex; align-items: center; gap: .5em; background: rgba(110, 231, 160, .14); color: #a7f3c6; padding: .45em .9em; border-radius: 999px; font-weight: 600; font-size: .92rem; margin-bottom: 1rem; }
.verified-pill svg { width: 1.2em; height: 1.2em; }
.kyd-photo { margin-top: 18px; display: flex; gap: 12px; align-items: center; color: #a9c9d0; font-size: .9rem; }
.kyd-photo img { width: 120px; border-radius: 10px; border: 2px solid rgba(255,255,255,.2); }
@media (max-width: 900px) { .kyd { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .kyd-badge__body { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .kyd-details li { flex-direction: column; gap: 2px; }
  .kyd-details li b { text-align: left; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); position: relative; }
.step__num { width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Community / care ---------- */
.care { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.care__card { border-radius: var(--radius); padding: 30px; background: #fff; border: 1px solid var(--line); }
.care__card--feature { grid-row: span 2; background: var(--teal); color: #e8f6f8; border: 0; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.care__card--feature h3 { color: #fff; font-size: 1.45rem; }
.care__card--feature .big { font-family: var(--serif); font-size: clamp(3.4rem, 7vw, 5rem); line-height: 1; color: #fff; font-weight: 600; }
.care__card--feature::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255,255,255,.08); }
.care__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--red-50); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.care__icon svg { width: 30px; height: 30px; }
.care__card p { color: var(--ink-2); margin: 0; }
.care__card--feature p { color: #d9f0f4; }
@media (max-width: 900px) { .care { grid-template-columns: 1fr 1fr; } .care__card--feature { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 560px) { .care { grid-template-columns: 1fr; } }

/* ---------- Test cards (shared) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.tcard {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; position: relative;
}
.tcard:hover { box-shadow: var(--shadow); border-color: var(--teal-100); }
.tcard__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: .35em; padding: .3em .75em; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.tag--package { background: var(--teal-50); color: var(--teal-800); }
.tag--panel { background: #eef0fb; color: #3b4a9a; }
.tag--test { background: #f1efe9; color: #5d5543; }
.tag--plan { background: #fff4df; color: #8a5a00; }
.tag--offer { background: var(--red); color: #fff; }
.tag--popular { background: #fff4df; color: #8a5a00; }
.tcard h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.tcard__desc { color: var(--ink-2); font-size: .98rem; margin-bottom: .9rem; }
.tcard__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.tcard__meta span { display: inline-flex; align-items: center; gap: .35em; }
.tcard__meta svg { width: 1.1em; height: 1.1em; color: var(--teal); }
.tcard details { margin-bottom: 1rem; border-top: 1px dashed var(--line); padding-top: .7rem; }
.tcard summary { cursor: pointer; font-weight: 600; color: var(--teal-700, var(--teal-600)); list-style: none; display: flex; align-items: center; gap: .4rem; min-height: 40px; }
.tcard summary::-webkit-details-marker { display: none; }
.tcard summary::after { content: "+"; font-size: 1.3rem; margin-left: auto; color: var(--teal); }
.tcard details[open] summary::after { content: "–"; }
.tcard ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .95rem; }
.tcard ul li { margin-bottom: .2rem; }
.tcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-top: .6rem; }
.price { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--teal-900); line-height: 1; }
.price s { font-family: var(--sans); font-size: .95rem; color: var(--muted); font-weight: 400; margin-left: .4rem; }
.price small { display: block; font-family: var(--sans); font-size: .82rem; color: var(--red); font-weight: 600; margin-top: .35rem; }
.add-btn {
  min-height: 52px; padding: .6em 1.1em; border-radius: 14px; border: 2px solid var(--teal); background: #fff; color: var(--teal-800);
  font-weight: 600; display: inline-flex; align-items: center; gap: .4em; white-space: nowrap;
}
.add-btn svg { width: 1.2em; height: 1.2em; }
.add-btn:hover { background: var(--teal-50); }
.add-btn[aria-pressed="true"] { background: var(--teal); color: #fff; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; }
.rcard { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.rcard__quote-mark { position: absolute; top: 18px; right: 28px; font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: var(--teal-50); pointer-events: none; }
.rcard__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 1.2rem; flex: none; }
.rcard__head b { display: block; color: var(--teal-900); font-size: 1.08rem; }
.rcard__head span { color: var(--muted); font-size: .88rem; }
.stars { display: flex; gap: 2px; color: #f4b400; margin-bottom: .6rem; }
.stars svg { width: 22px; height: 22px; }
.rcard__text { font-family: var(--sans); font-size: clamp(1.08rem, 1.8vw, 1.25rem); line-height: 1.55; color: var(--ink); font-weight: 400; position: relative; }
.rcard__reply { margin-top: 1.2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--teal); background: var(--teal-50); border-radius: 0 14px 14px 0; font-size: .97rem; color: var(--ink-2); }
.rcard__reply b { display: block; color: var(--teal-900); font-size: .9rem; margin-bottom: .2rem; }
.reviews__side { display: grid; gap: 24px; }
.rcta { border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); background: var(--teal-900); color: #d9eef2; display: flex; flex-direction: column; justify-content: center; }
.rcta h3 { color: #fff; }
.g-logo { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: #fff; margin-bottom: .8rem; }
.g-logo svg { width: 24px; height: 24px; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 24px; }
.reviews-grid .rcard__text { font-size: 1.02rem; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Prep / FAQ ---------- */
.prep { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.tips { display: grid; gap: 14px; }
.tip { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: #fff; border-radius: 16px; padding: 18px; border: 1px solid var(--line); }
.tip__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; }
.tip__icon svg { width: 28px; height: 28px; }
.tip b { display: block; color: var(--teal-900); }
.tip span { color: var(--ink-2); font-size: .97rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
.faq summary { padding: 18px 56px 18px 20px; font-weight: 600; color: var(--teal-900); cursor: pointer; list-style: none; position: relative; font-size: 1.05rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027d95' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .prep { grid-template-columns: 1fr; } }

/* ---------- Booking form ---------- */
.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); color: var(--ink); }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 600; color: var(--teal-900); margin-bottom: .4rem; font-size: 1rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 58px; padding: .75em 1em; font: inherit; font-size: 1.05rem; color: var(--ink);
  border: 2px solid #cdd5d3; border-radius: 14px; background: #fff;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px var(--teal-50); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice label {
  display: flex; align-items: center; gap: .6rem; min-height: 58px; padding: .6em 1em; border: 2px solid #cdd5d3; border-radius: 14px; cursor: pointer; font-weight: 600; margin: 0; color: var(--ink);
}
.choice input { width: 22px; height: 22px; accent-color: var(--teal); flex: none; }
.choice label:has(input:checked) { border-color: var(--teal); background: var(--teal-50); }
.form__note { font-size: .9rem; color: var(--muted); text-align: center; margin: .8rem 0 0; }
.selected-tests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .5rem; }
.selected-tests span { background: var(--teal-50); color: var(--teal-800); padding: .35em .8em; border-radius: 999px; font-size: .9rem; font-weight: 600; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row, .choice { grid-template-columns: 1fr; } }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.visit__info { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); }
.visit__row { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.visit__row:last-of-type { border-bottom: 0; }
.visit__row .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--teal); display: grid; place-items: center; }
.visit__row .ico svg { width: 24px; height: 24px; }
.visit__row small { display: block; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.visit__row b, .visit__row a { color: var(--teal-900); font-size: 1.08rem; }
.visit__row a { font-weight: 600; text-decoration: none; }
.visit__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; border: 1px solid var(--line); background: var(--teal-50); }
.visit__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--teal-900); color: #b9d4da; padding: 64px 0 120px; font-size: .95rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__logo { background: #fff; border-radius: 14px; padding: 10px 14px; display: inline-block; margin-bottom: 1rem; }
.footer__logo img { height: 46px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 24px; grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
@media (max-width: 820px) { .footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.actionbar { display: none; }
@media (max-width: 760px) {
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -10px rgba(6,47,57,.2);
  }
  .actionbar a, .actionbar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 62px; border-radius: 14px;
    font-weight: 600; font-size: .9rem; text-decoration: none; border: 0;
  }
  .actionbar svg { width: 26px; height: 26px; }
  .actionbar .ab-call { background: var(--teal); color: #fff; }
  .actionbar .ab-wa { background: var(--wa-dark); color: #fff; }
  .actionbar .ab-tests { background: var(--teal-50); color: var(--teal-900); }
  .wa-fab { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
}

/* ---------- WhatsApp widget ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 24px; z-index: 70; display: flex; align-items: center; gap: .6rem;
  background: var(--wa); color: #fff; border: 0; border-radius: 999px; padding: 0 22px 0 14px; height: 64px;
  font-weight: 600; font-size: 1.02rem; box-shadow: 0 14px 34px -10px rgba(18, 140, 74, .65);
}
.wa-fab__icon { width: 40px; height: 40px; display: grid; place-items: center; position: relative; }
.wa-fab__icon svg { width: 34px; height: 34px; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: wa-pulse 2.4s infinite; }
.wa-fab__badge { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: .75rem; display: grid; place-items: center; border: 2px solid #fff; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 760px) { .wa-fab__label { display: none; } .wa-fab { width: 64px; padding: 0; justify-content: center; } }

.wa-panel {
  position: fixed; right: 20px; bottom: 100px; z-index: 80; width: min(390px, calc(100vw - 24px));
  background: #efeae2; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
  transform-origin: bottom right; transform: scale(.9) translateY(10px); opacity: 0; visibility: hidden;
  transition: transform .22s ease, opacity .22s ease, visibility .22s;
}
.wa-panel.is-open { transform: none; opacity: 1; visibility: visible; }
.wa-panel__head { background: #075e54; color: #fff; padding: 16px 16px 16px 18px; display: flex; align-items: center; gap: 12px; }
.wa-panel__avatar { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; flex: none; position: relative; }
.wa-panel__avatar img { width: 88%; height: auto; object-fit: contain; object-position: left center; }
.wa-panel__avatar::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--wa); border: 2px solid #075e54; }
.wa-panel__head b { display: block; font-size: 1.05rem; line-height: 1.2; }
.wa-panel__head small { color: #cde9e4; font-size: .85rem; }
.wa-close { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.wa-close svg { width: 22px; height: 22px; }
.wa-panel__body { padding: 18px 16px 8px; max-height: min(52vh, 420px); overflow-y: auto;
  background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 16px 16px; }
.wa-bubble { background: #fff; border-radius: 4px 16px 16px 16px; padding: 12px 14px; max-width: 88%; box-shadow: 0 1px 1px rgba(0,0,0,.08); margin-bottom: 10px; font-size: 1rem; color: #1f2c33; }
.wa-bubble small { display: block; text-align: right; color: #8696a0; font-size: .75rem; margin-top: 4px; }
.wa-bubble .deva { font-size: 1.05rem; }
.wa-quick { display: grid; gap: 8px; margin: 12px 0 6px; }
.wa-quick button {
  text-align: left; background: #fff; border: 1.5px solid #c7e9d3; color: #075e54; border-radius: 14px; padding: .75em 1em; font-weight: 600; min-height: 52px;
  display: flex; align-items: center; gap: .6rem;
}
.wa-quick button:hover { background: #dcf8c6; }
.wa-quick button span { font-size: 1.2rem; }
.wa-panel__foot { padding: 10px 12px 14px; background: #f0f2f5; display: grid; gap: 10px; }
.wa-input { display: flex; gap: 8px; }
.wa-input textarea { flex: 1; min-height: 52px; max-height: 120px; resize: none; border: 0; border-radius: 26px; padding: 14px 18px; font: inherit; font-size: 1rem; background: #fff; }
.wa-input textarea:focus { outline: 2px solid #25d366; }
.wa-send { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #00a884; color: #fff; display: grid; place-items: center; flex: none; }
.wa-send svg { width: 24px; height: 24px; }
.wa-call { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; border-radius: 12px; background: #fff; color: var(--teal-900); font-weight: 600; text-decoration: none; border: 1.5px solid var(--line); }
.wa-call svg { width: 20px; height: 20px; color: var(--teal); }
@media (max-width: 760px) { .wa-panel { right: 12px; bottom: calc(176px + env(safe-area-inset-bottom)); } }

/* ---------- Tests page ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); }
.page-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.offer-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.offer { border-radius: var(--radius); padding: 22px 24px; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .3rem; }
.offer--a { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-800) 100%); }
.offer--b { background: linear-gradient(135deg, #b4151a 0%, #7d0f13 100%); }
.offer--c { background: linear-gradient(135deg, #8a5a00 0%, #5e3d00 100%); }
.offer b { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.offer span { opacity: .9; font-size: .95rem; }
.offer::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; border: 22px solid rgba(255,255,255,.1); }
@media (max-width: 820px) { .offer-strip { grid-template-columns: 1fr; } }

.catalog-tools { position: sticky; top: 84px; z-index: 30; background: rgba(251,248,243,.96); backdrop-filter: blur(10px); padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .catalog-tools { top: 72px; position: static; } }
.search { position: relative; margin-bottom: 14px; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; color: var(--teal); }
.search input { width: 100%; min-height: 62px; border-radius: 16px; border: 2px solid #cdd5d3; padding: .8em 1em .8em 58px; font: inherit; font-size: 1.12rem; background: #fff; }
.search input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px var(--teal-50); }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 52px; padding: .6em 1.15em; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 1rem; }
.tab[aria-selected="true"] { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.tab .count { display: inline-block; min-width: 1.6em; margin-left: .35em; padding: 0 .4em; border-radius: 999px; background: rgba(0,0,0,.08); font-size: .82rem; }
.tab[aria-selected="true"] .count { background: rgba(255,255,255,.2); }
.concerns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.concerns > span { font-weight: 600; color: var(--muted); margin-right: .3rem; font-size: .95rem; }
.concern { min-height: 44px; padding: .4em .95em; border-radius: 999px; border: 1.5px solid var(--teal-100); background: var(--teal-50); color: var(--teal-800); font-weight: 600; font-size: .92rem; }
.concern[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.catalog { padding: 32px 0 80px; }
.catalog__count { color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.empty { text-align: center; padding: 48px 20px; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }
.disclaimer { font-size: .9rem; color: var(--muted); margin-top: 28px; text-align: center; }

/* Basket bar */
.basket {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 260%); z-index: 65; width: min(720px, calc(100vw - 24px));
  background: var(--teal-900); color: #fff; border-radius: 20px; padding: 12px 12px 12px 22px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility .3s;
}
.basket.is-visible { transform: translate(-50%, 0); visibility: visible; }
.basket__info { flex: 1; min-width: 0; }
.basket__info b { display: block; font-size: 1.08rem; }
.basket__info span { color: #a9c9d0; font-size: .9rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.basket__clear { background: transparent; border: 0; color: #a9c9d0; text-decoration: underline; min-height: 48px; padding: 0 .4rem; }
body.has-basket .wa-fab { bottom: 112px; }
@media (max-width: 760px) {
  .basket { bottom: calc(94px + env(safe-area-inset-bottom)); padding: 10px 10px 10px 16px; }
  .basket .btn { padding-inline: 1em; }
  .basket__clear { display: none; }
  body.has-basket .wa-fab { bottom: calc(180px + env(safe-area-inset-bottom)) !important; }
}

/* Modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(6, 47, 57, .55); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 24px; padding: clamp(20px, 4vw, 36px); position: relative; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--teal-50); color: var(--teal-900); display: grid; place-items: center; }
.modal__close svg { width: 24px; height: 24px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1; transform: none; } .wa-fab, .wa-panel, .actionbar, .basket { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-fab::before { animation: none; }
  html { scroll-behavior: auto; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: .8em 1.2em; border-radius: 10px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

/* =========================================================
   Phone layout — compact, uncluttered
   ========================================================= */
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  h1 { font-size: 1.75rem; line-height: 1.25; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.08rem; }
  .lede, .hero__sub { font-size: 1rem; line-height: 1.6; }
  .eyebrow { font-size: .72rem; letter-spacing: .08em; margin-bottom: .7rem; }
  .section-head { margin-bottom: 28px; }

  /* top bar + header */
  .topbar { font-size: .8rem; }
  .topbar .wrap { min-height: 40px; gap: .5rem; }
  .topbar__info span { white-space: nowrap; }
  .textsize { min-height: 30px; padding: 0 .7rem 0 .55rem; font-size: .8rem; }
  .textsize__a { font-size: .9rem; }
  .header .wrap { min-height: 62px; gap: 1rem; }
  .brand img { height: 38px; }
  .menu-btn { width: 46px; height: 46px; border-radius: 12px; }
  .menu-btn svg { width: 24px; height: 24px; }

  /* hero */
  .hero { padding: 28px 0 48px; }
  .hero__deva { font-size: .95rem; }
  .hero__sub { margin-bottom: 1.3rem; }
  .hero__ctas { gap: .6rem; margin-bottom: 1.2rem; }
  .hero__ctas .btn { min-height: 50px; font-size: 1rem; }
  .hero__assure { font-size: .9rem; gap: .4rem 1rem; }
  .doc-card { padding: 16px; border-radius: 22px; }
  .doc-card__portrait { aspect-ratio: 16 / 10; }
  .doc-card__monogram .ring { width: 96px; height: 96px; font-size: 2.2rem; margin-bottom: 8px; }
  .doc-card__name { font-size: 1.2rem; }
  .chip-float--a { top: -12px; left: 8px; }

  /* general components */
  .btn { min-height: 48px; font-size: .97rem; }
  .trust__item { padding: 14px 4px; }
  .trust__icon { width: 44px; height: 44px; }
  .tcard, .step, .care__card, .tip { padding: 20px; }
  .price { font-size: 1.35rem; }
  .add-btn { min-height: 46px; }
  .field input, .field select, .field textarea, .choice label { min-height: 52px; font-size: 1rem; }
  .footer { padding: 48px 0 96px; }

  /* one WhatsApp entry point on phones: the bottom bar */
  .wa-fab { display: none !important; }
  .actionbar { gap: 6px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .actionbar a, .actionbar button {
    flex-direction: row; gap: .45rem; min-height: 46px; border-radius: 12px; font-size: .92rem; font-weight: 500;
  }
  .actionbar svg { width: 20px; height: 20px; }
  .wa-panel { right: 8px; left: 8px; width: auto; bottom: calc(66px + env(safe-area-inset-bottom)); }
  .basket { bottom: calc(66px + env(safe-area-inset-bottom)); }
}

/* =========================================================
   Doctor profile page
   ========================================================= */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--teal-600); text-decoration: none; font-weight: 500; }
.crumbs span { margin: 0 .35rem; }
.hero h1 em { white-space: nowrap; }
.hero--profile h1 em { display: block; font-size: .5em; margin-top: .35em; letter-spacing: 0; }

.glance { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); position: sticky; top: 110px; }
.glance dl { margin: 0 0 1.2rem; }
.glance dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
.glance dl div:last-child { border-bottom: 0; }
.glance dt { color: var(--muted); font-size: .92rem; }
.glance dd { margin: 0; font-weight: 600; color: var(--teal-900); text-align: right; }

.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cred { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.cred::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--teal); }
.cred--reg::before { background: var(--red); }
.cred__year { display: inline-block; font-weight: 600; font-size: .85rem; color: var(--teal-800); background: var(--teal-50); padding: .3em .8em; border-radius: 999px; margin-bottom: 1rem; }
.cred--reg .cred__year { background: var(--red-50); color: var(--red); }
.cred h3 { margin-bottom: .6rem; }
.cred h3 small { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; margin-top: .3rem; letter-spacing: .04em; }
.cred p { margin: 0; color: var(--ink-2); }
.cred .cred__uni { color: var(--muted); font-size: .93rem; margin-top: .2rem; }

.care--four { grid-template-columns: repeat(4, 1fr); }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .4rem; }
.cta-band__actions { display: flex; gap: .7rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .creds { grid-template-columns: 1fr; }
  .care--four { grid-template-columns: 1fr 1fr; }
  .glance { position: static; }
}
@media (max-width: 560px) {
  .care--four { grid-template-columns: 1fr; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
}

/* Doctor photo in card */
.doc-card__portrait { place-items: end center; }
.doc-card__portrait img { width: 88%; height: 94%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.doc-card__portrait::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, rgba(6,47,57,.55)); pointer-events: none; }
.doc-card__role { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 1; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(6,47,57,.55); backdrop-filter: blur(6px); padding: .45em 1em; border-radius: 999px; white-space: nowrap; }

/* As featured in */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature__photo { margin: 0; position: relative; }
.feature__photo img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.feature__photo figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.94); color: var(--teal-900); font-weight: 500; font-size: .9rem; padding: .5em .9em; border-radius: 999px; box-shadow: var(--shadow-sm); }
.feature__mag { width: 100%; max-width: 440px; height: auto; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 1.4rem; }
.feature h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.feature__quote { margin: 1.2rem 0 0; padding: 1rem 1.2rem; background: var(--teal-50); border-left: 3px solid var(--teal); border-radius: 0 14px 14px 0; color: var(--ink-2); font-size: 1rem; }
.feature__quote cite { display: block; margin-top: .5rem; font-style: normal; font-size: .85rem; color: var(--muted); font-weight: 500; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .doc-card__portrait { aspect-ratio: 1 / 1; }
  .feature__photo figcaption { font-size: .78rem; left: 10px; bottom: 10px; }
}

/* Section that follows another section with the same background */
.section--flush-top { padding-top: 0; }
.section--white { background: #fff; border-block: 1px solid var(--line); }
.feature__headline { font-family: var(--serif); font-weight: 600; color: var(--teal-900); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; margin: 0; }

/* Desktop hero: tighter top spacing, shorter photo */
.hero { padding: 40px 0 72px; }
.doc-card__portrait { aspect-ratio: 1 / 1; }
.doc-card { padding: 22px; }
.doc-card__body { padding-top: 16px; }
@media (max-width: 760px) { .hero { padding: 24px 0 44px; } }

/* Footer contact */
.footer__contact { gap: .9rem !important; }
.footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.footer__contact svg { width: 18px; height: 18px; margin-top: 3px; color: #8fd3e0; }
.footer__contact a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 4px; }
.footer__contact a:hover { text-decoration-color: #fff; }
.footer__contact address { font-style: normal; line-height: 1.5; }
.footer__map { display: inline-block; margin-top: .3rem; color: #8fd3e0; font-size: .88rem; font-weight: 500; }
.topbar a.topbar__loc { display: inline-flex; align-items: center; gap: .45em; color: #d4e8ec; font-weight: 400; }
.topbar a.topbar__loc:hover { color: #fff; text-decoration: underline; }
.topbar__loc svg { width: 1.05em; height: 1.05em; opacity: .85; }
.footer__contact a:has(address) { text-decoration: none; }
.footer__contact a:has(address):hover .footer__map { text-decoration: underline; }
