/* Niyamit Health: Phase 1 homepage design (review prototype, not production) */

:root {
    --lagoon: #0c3b40;
    --lagoon-2: #14555c;
    --ink: #14262a;
    --body: #4a5b5e;
    --muted: #6f7f82;
    --ivory: #faf7f2;
    --sand: #f1ebe1;
    --line: #e4ded3;
    --white: #ffffff;
    --aqua: #2bb7da;
    --aqua-tint: #e3f5fa;
    --coral: #c9432b;
    --coral-dark: #a93622;
    --gold: #e9b44c;
    --gold-tint: #fbf1d9;
    --leaf: #1c7a55;
    --wa: #128c4a;
    --r-lg: 28px;
    --r: 18px;
    --r-sm: 12px;
    --shadow: 0 12px 32px rgba(12, 59, 64, .08);
    --shadow-lg: 0 28px 64px rgba(12, 59, 64, .18);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--lagoon-2); text-decoration: none; }
a:hover { color: var(--coral); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: 5.5rem 0; }
.section.tight { padding: 3.5rem 0; }
.section.sand { background: var(--sand); }
.section.dark { background: var(--lagoon); color: #c9dcde; }
.section.dark h2, .section.dark h3 { color: #fff; }

.kicker {
    display: inline-block;
    margin-bottom: .9rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--coral);
}

.section.dark .kicker { color: var(--gold); }
.head { max-width: 640px; margin-bottom: 2.75rem; }
.head.center { margin-inline: auto; text-align: center; }
.head p { margin: .9rem 0 0; font-size: 1.08rem; }

/*** Buttons ***/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    font-size: .98rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(201, 67, 43, .28); }
.btn-primary:hover { background: var(--coral-dark); color: #fff; }
.btn-dark { background: var(--lagoon); color: #fff; }
.btn-dark:hover { background: var(--lagoon-2); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--lagoon); color: var(--lagoon); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0e7a40; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.on-dark.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.on-dark.btn-ghost:hover { border-color: #fff; color: #fff; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover i { transform: translateX(4px); }

/*** Review ribbon and design notes (prototype only) ***/
.review-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: .45rem 1rem;
    background: var(--gold);
    color: var(--ink);
    font-size: .82rem;
    font-weight: 600;
}

.review-bar button { border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: .15rem .7rem; font-size: .78rem; font-weight: 700; color: var(--ink); }

.note {
    display: block;
    margin: 1rem 0 0;
    padding: .6rem .9rem;
    border: 1.5px dashed var(--gold);
    border-radius: var(--r-sm);
    background: var(--gold-tint);
    color: #5c4508;
    font-size: .84rem;
    line-height: 1.45;
}

.note b { font-weight: 700; }
body.hide-notes .note { display: none; }

/*** Utility bar ***/
.util { background: var(--ink); color: #c7d3d5; font-size: .84rem; }
.util .wrap { display: flex; align-items: center; gap: 1.5rem; padding: .5rem 0; }
.util i { color: var(--aqua); margin-right: .35rem; }
.util a { color: #fff; font-weight: 600; }
.util .right { margin-left: auto; display: flex; gap: 1.5rem; align-items: center; }
.open-pill { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: #fff; }
.open-pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #8d9a9c; }
.open-pill.is-open::before { background: #3ddc97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .22); }

/*** Header ***/
.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(12, 59, 64, .06); }
.header .wrap { display: flex; align-items: center; gap: 2rem; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand img { width: 40px; height: 41px; }
.brand b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.brand small { display: block; margin-top: .2rem; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a { padding: .5rem .85rem; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--ink); }
.nav a:hover { background: var(--sand); color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone { font-weight: 600; color: var(--ink); white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 1.35rem; color: var(--ink); }

/*** Hero ***/
.hero { position: relative; overflow: hidden; background: var(--lagoon); color: #d3e3e5; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(720px 420px at 12% -10%, rgba(43, 183, 218, .28), transparent 70%), radial-gradient(600px 400px at 100% 100%, rgba(233, 180, 76, .16), transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 4rem; align-items: center; padding: 4.5rem 0 5.5rem; }
.hero .loc { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.4rem; padding: .35rem .85rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: .84rem; font-weight: 500; color: #e8f1f2; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 500; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .sub { margin: 1.4rem 0 1.8rem; max-width: 520px; font-size: 1.14rem; color: #c9dcde; }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .6rem; margin-bottom: 2rem; color: #e8f1f2; }
.hero-price strong { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: #fff; }
.hero-price a { color: var(--gold); font-weight: 600; margin-left: .4rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 0; margin: 0; list-style: none; font-size: .94rem; color: #e8f1f2; }
.hero-points i { color: var(--gold); margin-right: .4rem; }

.hero-side { position: relative; }
.hero-photo { width: 100%; height: 300px; object-fit: cover; object-position: 50% 28%; border-radius: 180px 180px var(--r-lg) var(--r-lg); }

/*** Quick booking card ***/
.qb { position: relative; margin: -110px 18px 0; padding: 1.5rem; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); color: var(--body); }
.qb h2 { font-size: 1.35rem; margin-bottom: .25rem; }
.qb > p { margin-bottom: 1.1rem; font-size: .9rem; color: var(--muted); }
.qb label, .qb legend { display: block; margin-bottom: .4rem; font-size: .82rem; font-weight: 600; color: var(--ink); }
.field { position: relative; margin-bottom: .9rem; }
.input { width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; font: inherit; color: var(--ink); }
.input:focus { outline: 0; border-color: var(--lagoon-2); box-shadow: 0 0 0 4px rgba(43, 183, 218, .2); }
.field .bi-search { position: absolute; left: .95rem; top: 2.42rem; color: var(--muted); }
.field .bi-search + .input { padding-left: 2.5rem; }
.results { position: absolute; left: 0; right: 0; top: calc(100% + .35rem); z-index: 5; max-height: 250px; overflow: auto; padding: .35rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.results[hidden] { display: none; }
.results button { display: flex; width: 100%; justify-content: space-between; gap: 1rem; padding: .6rem .7rem; border: 0; border-radius: 10px; background: transparent; text-align: left; color: var(--ink); font-size: .92rem; }
.results button:hover, .results button:focus { background: var(--sand); }
.results span:last-child { font-weight: 700; color: var(--lagoon-2); white-space: nowrap; }
.results p { margin: 0; padding: .7rem; font-size: .9rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0 0 .9rem; padding: 0; border: 0; }
.seg label { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 0; padding: .7rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-size: .92rem; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg label:has(input:checked) { border-color: var(--lagoon); background: var(--aqua-tint); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--aqua); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.qb .alt { display: block; width: 100%; margin-top: .7rem; padding: .3rem; border: 0; background: none; color: var(--lagoon-2); font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.qb .status { margin: .7rem 0 0; font-size: .88rem; font-weight: 600; color: var(--leaf); }
.qb .status.err { color: #b3261e; }
.qb small { display: block; margin-top: .7rem; font-size: .76rem; color: var(--muted); line-height: 1.4; }

/*** Quick actions ***/
.actions { position: relative; z-index: 2; margin-top: -2.6rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.action { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); color: var(--ink); font-weight: 600; line-height: 1.3; transition: transform .2s ease, box-shadow .2s ease; }
.action:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.action small { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
.action i { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--aqua-tint); color: var(--lagoon); font-size: 1.3rem; }
.action:nth-child(2) i { background: #e2f5ea; color: var(--wa); }
.action:nth-child(3) i { background: var(--gold-tint); color: #8a5d00; }
.action:nth-child(4) i { background: #fbe6e1; color: var(--coral); }

/*** Proof strip ***/
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 3.25rem 0 0; }
.proof div { padding-left: 1.2rem; border-left: 2px solid var(--gold); }
.proof strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--ink); line-height: 1.1; }
.proof span { font-size: .92rem; }

/*** Package comparison ***/
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.6rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .2s ease, box-shadow .2s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.feature { background: var(--lagoon); border-color: var(--lagoon); color: #c9dcde; }
.plan.feature h3, .plan.feature .price { color: #fff; }
.plan .tag { align-self: flex-start; margin-bottom: 1rem; padding: .2rem .7rem; border-radius: 999px; background: var(--sand); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.plan.feature .tag { background: var(--gold); }
.plan h3 { font-size: 1.5rem; }
.plan .price { margin: .5rem 0 .1rem; font-family: var(--serif); font-size: 2.3rem; font-weight: 600; color: var(--ink); line-height: 1; }
.plan .params { font-size: .9rem; margin-bottom: 1.1rem; }
.plan .plus { margin-bottom: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.plan.feature .plus { color: #9fc0c4; }
.plan ul { flex: 1; margin: 0 0 1.4rem; padding: 0; list-style: none; font-size: .93rem; }
.plan li { position: relative; padding: .22rem 0 .22rem 1.5rem; }
.plan li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--leaf); }
.plan.feature li::before { color: var(--gold); }
.plan .btn-ghost { border-color: var(--lagoon); color: var(--lagoon); }
.plan .more { margin-top: .7rem; text-align: center; font-size: .88rem; font-weight: 600; }
.plan.feature .more { color: #fff; }

.compare-toggle { display: flex; justify-content: center; margin-top: 2rem; }
.matrix { margin-top: 1.5rem; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.matrix[hidden] { display: none; }
.matrix table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .92rem; }
.matrix th, .matrix td { padding: .65rem 1rem; border-bottom: 1px solid var(--line); text-align: center; }
.matrix th:first-child, .matrix td:first-child { text-align: left; color: var(--ink); font-weight: 500; }
.matrix thead th { position: sticky; top: 0; background: var(--sand); font-family: var(--serif); font-size: 1rem; color: var(--ink); }
.matrix thead small { display: block; font-family: var(--sans); font-weight: 600; color: var(--lagoon-2); }
.matrix tr:last-child td { border-bottom: 0; }
.matrix .bi-check-lg { color: var(--leaf); font-size: 1.1rem; }
.matrix .dash { color: #c2c9ca; }

/*** Concern tiles ***/
.concerns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.concern { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); transition: all .2s ease; }
.concern:hover { border-color: var(--lagoon); box-shadow: var(--shadow); color: var(--ink); }
.concern > i:first-child { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sand); color: var(--lagoon); font-size: 1.4rem; }
.concern b { display: block; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.concern small { color: var(--muted); font-size: .86rem; }
.concern .from { margin-left: auto; text-align: right; font-size: .76rem; color: var(--muted); white-space: nowrap; }
.concern .from strong { display: block; font-size: 1.05rem; color: var(--lagoon-2); }

/*** Popular tests ***/
.tests { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.test { display: flex; flex-direction: column; padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.test b { font-size: 1.02rem; color: var(--ink); }
.test small { color: var(--muted); font-size: .84rem; margin-bottom: 1rem; }
.test .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.test .price { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: #b9c2c3; }

/*** How it works ***/
.how { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.how img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 160px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 0 0 1.75rem 4.2rem; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold); font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--gold); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 54px; bottom: 6px; width: 1.5px; background: rgba(233, 180, 76, .35); }
.steps p { margin: .3rem 0 0; }

/*** Doctor ***/
.doctor { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
.doctor-photo { position: relative; max-width: 380px; }
.doctor-photo img { width: 100%; aspect-ratio: 448 / 487; object-fit: cover; border-radius: 200px 200px var(--r-lg) var(--r-lg); }
.doctor-photo figcaption { position: absolute; left: -14px; bottom: 26px; padding: .7rem 1rem; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); font-size: .84rem; color: var(--muted); line-height: 1.3; }
.doctor-photo figcaption b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.5rem 0 1.8rem; padding: 0; list-style: none; }
.creds li { display: flex; gap: .7rem; padding: .9rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .92rem; line-height: 1.4; }
.creds i { color: var(--coral); font-size: 1.15rem; }
.creds b { display: block; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/*** Lab ***/
.lab { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.lab-photos { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem; }
.lab-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.lab-photos img:first-child { grid-row: span 2; border-radius: var(--r-lg); }
.ticks { margin: 1.3rem 0 1.7rem; padding: 0; list-style: none; }
.ticks li { position: relative; padding: .3rem 0 .3rem 1.8rem; }
.ticks li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--leaf); }

/*** Reviews ***/
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { margin: 0; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.review .stars { color: var(--gold); letter-spacing: .15em; font-size: .9rem; }
.review p { margin: .7rem 0 1.1rem; font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; color: var(--ink); }
.review footer { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.review img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }

/*** Visit ***/
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.visit-info { padding: 2.5rem; }
.visit-info dl { margin: 1.5rem 0; }
.visit-info dt { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); }
.visit-info dt i { color: var(--coral); }
.visit-info dd { margin: .1rem 0 1.1rem 1.6rem; }
.map { position: relative; min-height: 340px; background: linear-gradient(135deg, #dcebe6 0%, #cfe3ea 100%); display: grid; place-items: center; text-align: center; color: var(--lagoon); }
.map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(12, 59, 64, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 59, 64, .07) 1px, transparent 1px); background-size: 44px 44px; }
.map div { position: relative; }
.map i { display: block; font-size: 2.6rem; color: var(--coral); }

/*** FAQ ***/
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\F4FE"; font-family: "bootstrap-icons"; font-size: 1.2rem; color: var(--coral); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.2rem; max-width: 660px; }

/*** Closing band and footer ***/
.closing { text-align: center; }
.closing h2 { max-width: 700px; margin: 0 auto 1rem; }
.closing p { max-width: 520px; margin: 0 auto 1.8rem; color: #c9dcde; }
.closing .cta-row { justify-content: center; }

.footer { background: var(--ink); color: #a9b8ba; font-size: .93rem; padding: 3.5rem 0 1.5rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: .5rem; }
.footer a { color: #d4dfe0; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer .brand img { background: #fff; border-radius: 10px; padding: 3px; }
.footer .brand small { color: #8fa1a4; }
.footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; }

.mbar { display: none; }

/*** Reveal ***/
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/*** Tablet ***/
@media (max-width: 1020px) {
    .nav, .header-phone { display: none; }
    .menu-btn { display: block; }
    .header-cta { margin-left: 0; }
    .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: .5rem 20px 1rem; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .nav.open a { padding: .85rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
    .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 0 4.5rem; }
    .hero-side { max-width: 520px; }
    .actions, .proof, .tests { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: repeat(2, 1fr); }
    .concerns { grid-template-columns: repeat(2, 1fr); }
    .how, .doctor, .lab, .visit { grid-template-columns: 1fr; gap: 2.5rem; }
    .visit { gap: 0; }
    .reviews { grid-template-columns: 1fr 1fr; }
    .footer .cols { grid-template-columns: 1fr 1fr; }
}

/*** Phone ***/
@media (max-width: 640px) {
    body { padding-bottom: 70px; }
    .wrap { width: calc(100% - 32px); }
    .section { padding: 3.5rem 0; }
    .util .hide-sm { display: none; }
    .util .wrap { justify-content: space-between; gap: .75rem; font-size: .78rem; }
    .util .right { gap: .75rem; }
    .header-cta .btn { display: none; }
    .hero .wrap { padding: 2.25rem 0 4rem; }
    .hero-photo { height: 210px; }
    .qb { margin: -70px 0 0; padding: 1.2rem; }
    .actions { gap: .6rem; margin-top: -2.2rem; }
    .action { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .9rem; font-size: .92rem; }
    .proof { gap: 1.25rem 1rem; padding-top: 2.5rem; }
    .proof strong { font-size: 1.6rem; }
    .plans { grid-template-columns: 1fr; }
    .concerns, .tests, .reviews { grid-template-columns: 1fr; }
    .tests { grid-template-columns: 1fr 1fr; gap: .6rem; }
    .test { padding: .9rem; }
    .how img { border-radius: var(--r-lg); }
    .creds { grid-template-columns: 1fr; }
    .doctor-photo figcaption { left: 10px; }
    .visit-info { padding: 1.5rem; }
    .map { min-height: 220px; }
    .footer .cols { grid-template-columns: 1fr; gap: 1.75rem; }
    .cta-row .btn { flex: 1 1 100%; }

    .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: .5rem; padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(12, 59, 64, .1); }
    .mbar a { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .75rem .4rem; border: 1.5px solid var(--line); border-radius: 14px; font-weight: 600; font-size: .9rem; color: var(--ink); }
    .mbar .wa { color: var(--wa); }
    .mbar .book { background: var(--coral); border-color: var(--coral); color: #fff; }
}

/*** Phone refinements ***/
.util span, .util a { white-space: nowrap; }

@media (max-width: 640px) {
    .review-bar { font-size: .74rem; gap: .6rem; padding: .35rem .75rem; }
    .review-bar button { white-space: nowrap; }
    .util .hours { display: none; }
    .hero-points { gap: .45rem 1.2rem; }
}

/*** Revision 2: claim marks, placeholders, booking card, package tables ***/
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reveal { opacity: 1; transform: none; }
address { font-style: normal; }
.hero .loc { margin-top: 0; }

/* A fact copied from the current site or brochure that still needs evidence */
.tbc { border-bottom: 2px dotted var(--gold); }
.tbc::after { content: "to verify"; margin-left: .35em; padding: .05em .4em; border-radius: 4px; background: var(--gold); color: var(--ink); font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
body.hide-notes .tbc { border-bottom: 0; }
body.hide-notes .tbc::after { display: none; }

/* A fact that is missing and must be supplied; never shown as real content */
.ph { display: inline-block; padding: .35rem .65rem; border: 1.5px dashed #b9a57a; border-radius: 8px; background: repeating-linear-gradient(135deg, #fbf6ea 0 8px, #f5edda 8px 16px); color: #6b5720; font-family: var(--sans); font-size: .8rem; font-weight: 600; line-height: 1.35; }
.ph::before { content: "Placeholder · "; text-transform: uppercase; font-size: .68rem; letter-spacing: .06em; }
.ph.on-dark { background: rgba(255, 255, 255, .08); border-color: rgba(233, 180, 76, .6); color: #f3dfb0; }
.ph-card { display: grid; place-items: center; min-height: 150px; text-align: center; border-style: dashed; }

.proof { grid-template-columns: repeat(5, 1fr); }
.proof .ph-slot { border-left-color: #d9cdb0; display: flex; align-items: center; }

/* Booking card */
.qb label span, .qb legend span { font-weight: 400; color: var(--muted); }
.qb .help { display: block; margin-top: .35rem; font-size: .78rem; color: var(--muted); }
.picked { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; padding: .75rem .9rem; border: 1.5px solid var(--lagoon); border-radius: var(--r-sm); background: var(--aqua-tint); }
.picked[hidden] { display: none; }
.picked b { display: block; color: var(--ink); line-height: 1.3; }
.picked small { margin: 0; font-size: .82rem; color: var(--body); }
.picked button { flex-shrink: 0; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); }
.seg label { justify-content: flex-start; align-items: center; text-align: left; padding: .7rem .8rem; }
.seg label > i { font-size: 1.35rem; color: var(--lagoon); }
.seg label b { display: block; color: var(--ink); font-size: .93rem; line-height: 1.2; }
.seg label small { display: block; margin: 0; font-size: .76rem; font-weight: 400; color: var(--muted); line-height: 1.3; }
.mode-info { margin-bottom: .9rem; }
.mode-info[hidden] { display: none; }
.mode-info p { margin: 0; padding: .7rem .85rem; border-radius: var(--r-sm); background: var(--sand); font-size: .86rem; line-height: 1.45; color: var(--ink); }
.mode-info p i { margin-right: .35rem; color: var(--coral); }
.or-call { margin: .8rem 0 0; text-align: center; font-size: .9rem; }
.or-call a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Package cards */
.plan .tag { background: var(--gold-tint); color: #6b4d00; }
.plan .price { margin-bottom: .35rem; }
.plan .more { text-decoration: underline; text-underline-offset: 3px; }
.matrix-title { margin: 3rem 0 1rem; font-size: 1.5rem; text-align: center; }
.matrix table { min-width: 0; table-layout: fixed; }
.matrix th[scope="row"] { width: 34%; text-align: left; font-weight: 500; color: var(--ink); }
.matrix thead th { padding: .8rem .4rem; }
.matrix td, .matrix th { padding: .6rem .4rem; }
.matrix th:first-child { padding-left: 1rem; }
.matrix .sum td, .matrix .sum th { background: var(--sand); font-weight: 700; color: var(--ink); }

/* Concern groups */
.groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.group { padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.group h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.3rem; margin-bottom: .4rem; }
.group h3 i { color: var(--coral); font-size: 1.2rem; }
.group ul { margin: 0; padding: 0; list-style: none; }
.group li { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--line); }
.group h4 { margin: 0; font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); }
.group .inc { margin: .2rem 0; font-size: .86rem; line-height: 1.45; }
.group .meta { margin: 0; font-size: .82rem; color: var(--muted); }
.group .meta a { text-decoration: underline; text-underline-offset: 2px; }
.group .buy { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; flex-shrink: 0; }
.group .buy strong { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); white-space: nowrap; }

/* Single tests */
.test h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.test p { margin: .2rem 0 1rem; font-size: .84rem; color: var(--muted); }
.test .row { gap: .5rem; flex-wrap: wrap; }

.doctor-photo { margin-inline: auto; }
.map .ph { margin-top: .6rem; }
.footer .legal .ph { font-size: .74rem; }

@media (max-width: 1020px) {
    .proof { grid-template-columns: repeat(2, 1fr); }
    .proof .ph-slot { grid-column: 1 / -1; }
    .groups { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .matrix { font-size: .82rem; }
    .matrix thead th { font-size: .78rem; padding: .6rem .15rem; }
    .matrix thead small { font-size: .72rem; }
    .matrix thead .tbc::after { display: none; }
    .matrix th[scope="row"] { width: 36%; font-size: .8rem; padding-left: .6rem; }
    .matrix td { padding: .5rem .1rem; }
    .group { padding: 1.1rem; }
    .tests { grid-template-columns: 1fr; }
    .seg label { padding: .6rem; gap: .4rem; }
}

.proof strong span { font-size: inherit; }
.creds .tbc, .creds .ph { display: inline-block; }

/*** Revision 3: white theme (owner's preference, 2026-11-14). Same layout, light colours, the live site's typeface. ***/
:root {
    --lagoon: #0b2239;
    --lagoon-2: #08769b;
    --ink: #0b2239;
    --body: #44546a;
    --muted: #6b7a8c;
    --ivory: #ffffff;
    --sand: #f1f9fc;
    --line: #e1eaf0;
    --aqua: #19b8d8;
    --aqua-tint: #e1f5fa;
    --coral: #08769b;
    --coral-dark: #065b78;
    --accent: #f2553c;
    --gold: #ffc857;
    --gold-tint: #fff4d6;
    --shadow: 0 10px 30px rgba(11, 34, 57, .08);
    --shadow-lg: 0 24px 60px rgba(11, 34, 57, .14);
    --serif: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; }
.kicker { color: var(--lagoon-2); }
.btn-primary { box-shadow: 0 10px 24px rgba(8, 118, 155, .25); }
.btn-dark { background: var(--lagoon-2); }
.btn-dark:hover { background: var(--coral-dark); }
.header { background: rgba(255, 255, 255, .92); }
.brand b { font-weight: 800; }
.nav a:hover { background: var(--aqua-tint); color: var(--lagoon-2); }

/* Hero: white with a soft blue and warm glow, as on the current site */
.hero { background: #fff; color: var(--body); }
.hero::before { background: radial-gradient(900px 500px at 88% -10%, #d6f3fa 0%, rgba(214, 243, 250, 0) 70%), radial-gradient(700px 420px at -10% 110%, #fff1d6 0%, rgba(255, 241, 214, 0) 70%); }
.hero .loc { border: 0; background: var(--aqua-tint); color: var(--coral-dark); font-weight: 700; }
.hero h1 { color: var(--ink); font-weight: 800; letter-spacing: -.035em; font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
.hero h1 em { font-style: normal; color: var(--lagoon-2); }
.hero .sub { color: var(--body); }
.hero-price { display: inline-flex; padding: .6rem 1.1rem; border: 1.5px dashed var(--gold); border-radius: var(--r-sm); background: #fff; color: var(--ink); font-weight: 600; }
.hero-price strong { color: var(--accent); font-weight: 800; }
.hero-price a { color: var(--lagoon-2); }
.hero-points { color: var(--ink); font-weight: 600; }
.hero-points i { color: var(--lagoon-2); }
.hero-photo { border-radius: 32px; box-shadow: var(--shadow-lg); }
.qb { border: 1px solid var(--line); }
.qb h2 { font-size: 1.4rem; }

/* Sections that were dark are now soft blue */
.section.dark { background: var(--sand); color: var(--body); }
.section.dark h2, .section.dark h3 { color: var(--ink); }
.section.dark .kicker { color: var(--lagoon-2); }
.steps li::before { border-color: transparent; background: var(--gold); color: var(--ink); font-weight: 800; }
.steps li:not(:last-child)::after { background: var(--line); }
.how img { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.on-dark.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.on-dark.btn-ghost:hover { border-color: var(--lagoon-2); color: var(--lagoon-2); }
.closing p { color: var(--body); }
.closing .wrap { padding: 3rem 1.5rem; border-radius: var(--r-lg); background: linear-gradient(120deg, #e1f5fa 0%, #fff4d6 100%); }
.section.dark.closing { background: #fff; }

/* Cards and numbers */
.proof div { border-left-color: var(--aqua); }
.proof strong, .plan .price, .group .buy strong, .matrix thead th { font-weight: 800; letter-spacing: -.02em; }
.plan .tag { background: var(--aqua-tint); color: var(--coral-dark); }
.plan .btn-ghost { border-color: var(--lagoon-2); color: var(--lagoon-2); }
.plan .btn-ghost:hover { background: var(--lagoon-2); color: #fff; }
.group h3 i, .visit-info dt i, .creds i, .mode-info p i { color: var(--lagoon-2); }
.concern > i:first-child, .action i { color: var(--lagoon-2); }
.action:nth-child(4) i { background: var(--aqua-tint); color: var(--lagoon-2); }
.doctor-photo img { border-radius: 32px; box-shadow: var(--shadow-lg); }
.review p { font-weight: 600; font-size: 1.02rem; }
.faq summary, .faq summary h3 { font-weight: 700; }
.faq summary::after { color: var(--lagoon-2); }
.mbar .book { background: var(--lagoon-2); border-color: var(--lagoon-2); }
.footer { background: #0b2239; }

/*** Production additions ***/
.faq summary h3 { margin: 0; font-size: 1.15rem; }
.faq details p a, .ticks a { text-decoration: underline; text-underline-offset: 2px; }
.map iframe { position: relative; width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map::before { display: none; }
