/* Dr. Tapas Mitra Clinic — inner-page system */
:root {
  --forest: #0b2e28;
  --forest-2: #123d35;
  --teal: #0d6e5f;
  --emerald: #1fa184;
  --gold: #c99c4a;
  --cream: #faf8f4;
  --cream-2: #f2eee6;
  --white: #fff;
  --ink: #17332e;
  --muted: #61736e;
  --line: #dbe2de;
  --success: #15836f;
  --shadow-sm: 0 8px 30px rgba(11, 46, 40, .08);
  --shadow-lg: 0 24px 70px rgba(11, 46, 40, .16);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --serif: Archivo, Inter, ui-sans-serif, system-ui, sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--forest); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { display: inline-block; width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, h4 { margin: 0 0 .65em; color: var(--forest); font-family: var(--serif); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
h1 { font-size: clamp(2.65rem, 5.4vw, 5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
p { margin: 0 0 1.35em; }
ul, ol { margin: 0 0 1.4em; }
::selection { background: var(--emerald); color: var(--white); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.section { position: relative; padding: clamp(76px, 9vw, 130px) 0; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--dark { overflow: hidden; background: var(--forest); color: rgba(255,255,255,.78); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark::before { position: absolute; inset: auto -150px -220px auto; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.02); content: ""; }
.center { text-align: center; }
.center .section-intro { margin-inline: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-heading > :first-child { max-width: 760px; }
.section-heading h2 { margin-bottom: .3em; }
.section-intro { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.section--dark .section-intro { color: rgba(255,255,255,.68); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--teal); font-size: .74rem; font-weight: 800; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
.eyebrow::before { width: 26px; height: 1px; background: var(--gold); content: ""; }
.eyebrow--light { color: #f3d89f; }
.kicker { color: var(--gold); font-family: var(--serif); font-size: 1.05rem; font-style: italic; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-160%); border-radius: 6px; background: var(--white); color: var(--forest); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.screen-reader-text { position: absolute !important; overflow: hidden; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; }

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button-row--center { justify-content: center; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 13px 23px; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 800; line-height: 1.1; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--teal); box-shadow: 0 10px 24px rgba(13,110,95,.18); color: var(--white); }
.button--primary:hover { background: var(--forest); color: var(--white); box-shadow: 0 14px 32px rgba(11,46,40,.24); }
.button--outline { border-color: rgba(11,46,40,.25); background: transparent; color: var(--forest); }
.button--outline:hover { border-color: var(--forest); color: var(--forest); }
.button--cream { background: var(--cream); color: var(--forest); }
.button--cream:hover { background: var(--white); color: var(--forest); }
.button--ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.button--ghost-light:hover { border-color: var(--white); color: var(--white); }
.button--full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 800; }
.text-link:hover { gap: 10px; }

/* Announcement and header */
.clinic-bar { position: relative; z-index: 100; background: var(--forest); color: rgba(255,255,255,.82); font-size: .76rem; }
.clinic-bar__inner { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 24px; }
.clinic-bar p { display: flex; align-items: center; gap: 9px; margin: 0; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #62d6aa; box-shadow: 0 0 0 4px rgba(98,214,170,.12); }
.clinic-bar__links { display: flex; gap: 20px; }
.clinic-bar a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.82); }
.clinic-bar a:hover { color: var(--white); }
.site-header { position: sticky; z-index: 90; top: 0; border-bottom: 1px solid transparent; background: rgba(250,248,244,.94); backdrop-filter: blur(16px); transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { border-color: rgba(11,46,40,.08); box-shadow: 0 10px 35px rgba(11,46,40,.08); }
.header-inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; min-width: 245px; align-items: center; gap: 12px; color: var(--forest); }
.brand:hover { color: var(--forest); }
.brand-mark { position: relative; display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 50% 50% 50% 12px; background: var(--forest); color: var(--white); font-family: var(--serif); }
.brand-mark::after { position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,.28); border-radius: inherit; content: ""; }
.brand-mark span { position: relative; z-index: 1; font-size: .9rem; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: .61rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav .menu { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px); margin: 0; padding: 0; list-style: none; }
.primary-nav .menu a { position: relative; padding: 30px 0; color: var(--ink); font-size: .82rem; font-weight: 700; }
.primary-nav .menu a::after { position: absolute; right: 50%; bottom: 22px; left: 50%; height: 2px; background: var(--emerald); content: ""; transition: right .2s ease, left .2s ease; }
.primary-nav .menu a:hover::after, .primary-nav .current-menu-item > a::after { right: 0; left: 0; }
.button--header { min-height: 44px; padding: 11px 18px; background: var(--forest); color: var(--white); font-size: .78rem; }
.button--header:hover { background: var(--teal); color: var(--white); }
.menu-toggle { display: none; padding: 9px; border: 0; background: transparent; color: var(--forest); font-size: 1.5rem; }
.custom-logo { width: auto; max-width: 280px; height: 62px; object-fit: contain; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(52px, 7vw, 100px) 0 46px; background: var(--cream); }
.hero::before { position: absolute; top: -220px; left: -260px; width: 620px; height: 620px; border: 1px solid rgba(13,110,95,.08); border-radius: 50%; box-shadow: 0 0 0 90px rgba(13,110,95,.025), 0 0 0 180px rgba(13,110,95,.018); content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .96fr) minmax(400px, .84fr); align-items: center; gap: clamp(42px, 6vw, 90px); }
.hero-copy h1 { max-width: 720px; }
.hero-copy h1 em { color: var(--teal); font-weight: 500; }
.hero-lead { max-width: 640px; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.hero-copy .button-row { margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--muted); font-size: .8rem; }
.hero-note svg { width: 20px; height: 20px; color: var(--emerald); }
.hero-visual { position: relative; padding: 0 0 34px 28px; }
.hero-image-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 4.35; border-radius: 180px 180px 28px 28px; background: var(--cream-2); box-shadow: var(--shadow-lg); }
.hero-image-frame::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11,46,40,.28)); content: ""; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero-credential { position: absolute; z-index: 2; right: -18px; bottom: 0; width: min(310px, 70%); padding: 20px 22px; border: 1px solid rgba(255,255,255,.65); border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }
.hero-credential strong { display: block; color: var(--forest); font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.hero-credential span { color: var(--muted); font-size: .77rem; }
.hero-seal { position: absolute; z-index: 3; bottom: 28px; left: 0; display: grid; width: 94px; height: 94px; place-items: center; border: 7px solid var(--cream); border-radius: 50%; background: var(--gold); color: var(--forest); text-align: center; transform: rotate(-7deg); }
.hero-seal span { font-family: var(--serif); font-size: .72rem; font-weight: 700; line-height: 1.15; }
.trust-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { display: flex; min-height: 90px; align-items: center; gap: 13px; padding: 18px 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-number { color: var(--gold); font-family: var(--serif); font-size: 1.9rem; line-height: 1; }
.trust-item strong { display: block; color: var(--forest); font-size: .85rem; }
.trust-item span { color: var(--muted); font-size: .7rem; }

/* Assessment / intro */
.two-column { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.editorial-copy h2 { max-width: 700px; }
.editorial-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.feature-list { display: grid; gap: 0; margin: 30px 0; }
.feature-list__item { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature-list__item:last-child { border-bottom: 1px solid var(--line); }
.feature-list__icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: rgba(31,161,132,.1); color: var(--teal); }
.feature-list__item h3 { margin: 0 0 3px; font-family: var(--sans); font-size: .96rem; font-weight: 800; letter-spacing: 0; }
.feature-list__item p { margin: 0; color: var(--muted); font-size: .82rem; }
.assessment-panel { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 60px); border-radius: var(--radius-lg); background: var(--forest); color: rgba(255,255,255,.78); }
.assessment-panel::before { position: absolute; top: -90px; right: -90px; width: 270px; height: 270px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018); content: ""; }
.assessment-panel h3 { position: relative; color: var(--white); font-size: clamp(1.75rem, 3vw, 2.55rem); }
.assessment-quote { position: relative; margin-bottom: 34px; color: #f2d69c; font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.assessment-steps { position: relative; display: grid; gap: 22px; margin: 0; padding: 0; counter-reset: step; list-style: none; }
.assessment-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; counter-increment: step; }
.assessment-steps li::before { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #f2d69c; content: counter(step, decimal-leading-zero); font-size: .68rem; font-weight: 800; }
.assessment-steps strong { display: block; color: var(--white); font-size: .88rem; }
.assessment-steps span { color: rgba(255,255,255,.6); font-size: .8rem; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; display: flex; min-height: 275px; flex-direction: column; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.service-card:hover { z-index: 2; transform: translateY(-7px); border-color: rgba(13,110,95,.28); box-shadow: var(--shadow-lg); }
.service-card__number { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; color: var(--gold); font-family: var(--serif); font-size: .82rem; }
.service-card__number::after { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; content: "↗"; display: grid; place-items: center; color: var(--teal); font-family: var(--sans); transition: background .2s ease, color .2s ease; }
.service-card:hover .service-card__number::after { background: var(--teal); color: var(--white); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-bottom: 24px; color: var(--muted); font-size: .86rem; }
.service-card .text-link { margin-top: auto; font-size: .8rem; }
.service-card--featured { border-color: var(--forest); background: var(--forest); }
.service-card--featured h3, .service-card--featured .text-link { color: var(--white); }
.service-card--featured p { color: rgba(255,255,255,.62); }
.service-card--featured .service-card__number::after { border-color: rgba(255,255,255,.18); color: var(--white); }
.condition-wrap { margin-top: 44px; padding: 28px; border-radius: var(--radius); background: var(--cream-2); }
.condition-wrap strong { display: block; margin-bottom: 14px; color: var(--forest); font-family: var(--serif); font-size: 1.1rem; }
.condition-list { display: flex; flex-wrap: wrap; gap: 9px; }
.condition-list span { padding: 8px 13px; border: 1px solid rgba(11,46,40,.1); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--ink); font-size: .76rem; font-weight: 700; }

/* Doctor */
.doctor-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(50px, 9vw, 120px); }
.doctor-card { position: relative; max-width: 420px; margin-inline: auto; padding: 38px; border: 1px solid rgba(255,255,255,.13); border-radius: 190px 190px 28px 28px; background: rgba(255,255,255,.055); text-align: center; }
.doctor-monogram { display: grid; width: 190px; height: 190px; margin: 0 auto 28px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: inset 0 0 0 14px rgba(255,255,255,.04); color: #efd297; font-family: var(--serif); font-size: 4.2rem; }
.doctor-card h3 { margin-bottom: 5px; }
.doctor-card p { margin: 0; color: rgba(255,255,255,.62); font-size: .82rem; }
.doctor-card .credential-pill { display: inline-flex; margin-top: 22px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #efd297; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.doctor-copy blockquote { margin: 30px 0; padding-left: 24px; border-left: 2px solid var(--gold); color: var(--white); font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.8rem); font-style: italic; line-height: 1.35; }
.doctor-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0; }
.doctor-points span { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.78); font-size: .82rem; }
.doctor-points svg { color: #efd297; }

/* Technology */
.tech-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; gap: clamp(34px, 6vw, 78px); }
.media-card { position: relative; overflow: hidden; min-height: 520px; border-radius: var(--radius-lg); }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card__badge { position: absolute; right: 20px; bottom: 20px; max-width: 240px; padding: 17px 19px; border-radius: 14px; background: rgba(11,46,40,.92); color: var(--white); backdrop-filter: blur(10px); }
.media-card__badge strong { display: block; font-family: var(--serif); font-size: 1rem; }
.media-card__badge span { color: rgba(255,255,255,.65); font-size: .7rem; }
.tech-copy { padding: clamp(10px, 4vw, 50px) 0; }
.tech-copy > p { color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0; }
.metric { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.metric strong { display: block; margin-bottom: 5px; color: var(--forest); font-family: var(--serif); font-size: 1.15rem; }
.metric span { color: var(--muted); font-size: .75rem; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 54px; counter-reset: process; }
.process-step { position: relative; min-height: 245px; padding: 34px 26px; border-top: 1px solid rgba(255,255,255,.18); border-right: 1px solid rgba(255,255,255,.12); counter-increment: process; }
.process-step:last-child { border-right: 0; }
.process-step::before { display: grid; width: 45px; height: 45px; margin-bottom: 44px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #efd297; content: counter(process, decimal-leading-zero); font-size: .72rem; font-weight: 800; }
.process-step h3 { font-family: var(--sans); font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.process-step p { color: rgba(255,255,255,.58); font-size: .8rem; }

/* Home visit */
.home-visit-card { display: grid; overflow: hidden; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); background: var(--cream-2); }
.home-visit-card__image { min-height: 520px; }
.home-visit-card__image img { width: 100%; height: 100%; object-fit: cover; }
.home-visit-card__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 6vw, 78px); }
.home-visit-card__copy > p { color: var(--muted); }
.mini-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; margin: 20px 0 30px; }
.mini-checks span { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; }
.mini-checks svg { color: var(--emerald); }

/* Areas */
.area-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding: clamp(36px, 6vw, 72px); border-radius: var(--radius-lg); background: var(--forest); color: rgba(255,255,255,.68); }
.area-panel h2 { color: var(--white); }
.area-panel .eyebrow { color: #efd297; }
.area-panel__list { display: flex; flex-wrap: wrap; align-content: center; gap: 10px; }
.area-panel__list span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.055); color: rgba(255,255,255,.85); font-size: .75rem; font-weight: 700; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 110px); }
.faq-intro { position: sticky; top: 130px; align-self: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: grid; width: 100%; grid-template-columns: 1fr 38px; align-items: center; gap: 20px; padding: 24px 0; border: 0; background: transparent; color: var(--forest); text-align: left; font-family: var(--serif); font-size: 1.22rem; font-weight: 600; }
.faq-question span:last-child { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-family: var(--sans); font-size: 1rem; transition: transform .25s ease; }
.faq-answer { display: grid; grid-template-rows: 0fr; color: var(--muted); transition: grid-template-rows .3s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 50px 24px 0; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-question span:last-child { transform: rotate(45deg); background: var(--teal); color: var(--white); }

/* Contact and forms */
.contact-section { overflow: hidden; background: var(--cream-2); }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(36px, 7vw, 90px); }
.contact-copy { align-self: center; }
.contact-copy > p { color: var(--muted); }
.contact-methods { display: grid; gap: 12px; margin-top: 30px; }
.contact-method { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); }
.contact-method__icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--white); color: var(--teal); }
.contact-method strong { display: block; color: var(--forest); font-size: .82rem; }
.contact-method span { color: var(--muted); font-size: .78rem; }
.appointment-form { padding: clamp(28px, 4.5vw, 52px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.form-heading { margin-bottom: 28px; }
.form-heading h3 { margin-bottom: 6px; }
.form-heading p { margin: 0; color: var(--muted); font-size: .8rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: var(--forest); font-size: .74rem; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 49px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(31,161,132,.11); }
.form-consent { display: flex; grid-column: 1 / -1; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .7rem; }
.form-consent input { margin-top: 4px; }
.form-actions { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 18px; margin-top: 4px; }
.form-actions small { max-width: 260px; color: var(--muted); font-size: .66rem; }
.form-status { margin-bottom: 18px; padding: 12px 14px; border-radius: 9px; font-size: .78rem; }
.form-status--success { background: #e5f5ef; color: #0a6655; }
.form-status--error { background: #fce9e5; color: #8e3325; }
.form-status a { color: inherit; text-decoration: underline; }
.form-required, .form-privacy-note { color: var(--muted); font-size: .78rem; }
.form-privacy-note { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--cream); }
.field-error { display: block; margin-top: 5px; color: #8e3325; font-size: .76rem; font-weight: 800; }
.form-field [aria-invalid="true"] { border-color: #b8422f; }
.dtmc-hp { position: absolute !important; left: -10000px !important; }

/* Prefooter / footer */
.prefooter-cta { padding: 55px 0; background: var(--teal); color: var(--white); }
.prefooter-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.prefooter-cta h2 { max-width: 680px; margin: 0; color: var(--white); font-size: clamp(1.8rem, 3.5vw, 3rem); }
.site-footer { padding: 74px 0 0; background: #071f1b; color: rgba(255,255,255,.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr 1fr; gap: clamp(32px, 5vw, 70px); padding-bottom: 64px; }
.brand--footer { color: var(--white); }
.brand--footer:hover { color: var(--white); }
.brand-mark--light { background: rgba(255,255,255,.1); color: #f2d69c; }
.brand--footer .brand-copy small { color: rgba(255,255,255,.45); }
.footer-brand p { max-width: 360px; margin-top: 20px; font-size: .8rem; }
.footer-brand .credential { color: #e9cb90; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.site-footer h2 { margin-bottom: 20px; color: var(--white); font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer li { line-height: 1.35; }
.site-footer a { color: rgba(255,255,255,.62); font-size: .78rem; }
.site-footer a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-contact address { margin-bottom: 7px; color: rgba(255,255,255,.62); font-size: .76rem; font-style: normal; }
.footer-contact .directions-link { margin-top: 6px; color: #e8ca90; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 40px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .64rem; }
.footer-bottom p { max-width: 580px; margin: 0; }
.footer-bottom p:last-child { text-align: right; }
.mobile-whatsapp { position: fixed; z-index: 80; right: 18px; bottom: 18px; display: none; min-height: 48px; align-items: center; gap: 8px; padding: 10px 17px; border-radius: 999px; background: #168b70; box-shadow: 0 10px 35px rgba(11,46,40,.3); color: var(--white); font-size: .78rem; font-weight: 800; }
.mobile-whatsapp:hover { color: var(--white); }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 125px) 0; background: var(--forest); color: rgba(255,255,255,.7); }
.page-hero::after { position: absolute; top: -280px; right: -120px; width: 620px; height: 620px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018); content: ""; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; color: var(--white); }
.page-hero p { max-width: 690px; margin-bottom: 0; font-size: 1.08rem; }
.page-content { max-width: 780px; margin-inline: auto; }
.page-content > * + * { margin-top: 1.2em; }
.page-content h2, .page-content h3 { margin-top: 1.6em; }
.page-content img { border-radius: var(--radius); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 60px; }
.sidebar-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.sidebar { position: sticky; top: 120px; align-self: start; }
.sidebar h2 { font-size: 1.55rem; }
.sidebar p { color: var(--muted); font-size: .82rem; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.post-card img { aspect-ratio: 3/2; object-fit: cover; }
.post-card__content { padding: 24px; }
.post-card h2 { font-size: 1.5rem; }
.post-card h2 a { color: var(--forest); }
.post-card p { color: var(--muted); font-size: .8rem; }
.post-meta { font-size: .68rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.empty-state { padding: 50px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-align: center; }
.error-page { min-height: 66vh; display: flex; align-items: center; }
.error-page p { color: var(--muted); font-size: 1.1rem; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.detail-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.detail-card h3 { font-size: 1.25rem; }
.detail-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.map-placeholder { display: grid; min-height: 380px; place-items: center; padding: 40px; border-radius: var(--radius); background: linear-gradient(135deg, #dce9e3, #eef1eb); text-align: center; }
.map-placeholder svg { width: 54px; height: 54px; margin-bottom: 18px; color: var(--teal); }
.disclaimer { padding: 18px 20px; border-left: 3px solid var(--gold); background: #f6f0e3; color: var(--muted); font-size: .78rem; }

/* Reveal motion */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .clinic-bar__links a:last-child { display: none; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: fixed; inset: 120px 0 auto; display: block; max-height: 0; overflow: hidden; background: var(--cream); opacity: 0; visibility: hidden; transition: max-height .35s ease, opacity .2s ease, visibility .2s; }
  .primary-nav.is-open { max-height: calc(100vh - 120px); overflow-y: auto; border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(11,46,40,.12); opacity: 1; visibility: visible; }
  .primary-nav .menu { display: block; padding: 20px; }
  .primary-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .primary-nav .menu a::after { display: none; }
  .primary-nav .button--header { margin: 0 20px 25px; }
  .hero-grid { grid-template-columns: 1fr 440px; gap: 38px; }
  .hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr .7fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .section-heading { display: block; }
  .section-heading .button { margin-top: 15px; }
  .hero-grid, .two-column, .doctor-grid, .tech-grid, .faq-layout, .contact-grid, .area-panel, .content-layout { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-copy .button-row, .hero-note { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-visual { width: min(100%, 520px); margin-inline: auto; }
  .hero-image-frame { aspect-ratio: 4/4; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .doctor-card { width: min(100%, 400px); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .home-visit-card { grid-template-columns: 1fr; }
  .home-visit-card__image { min-height: 390px; }
  .area-panel { gap: 25px; }
  .faq-intro, .sidebar { position: static; }
  .prefooter-cta__inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: auto; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 74px 0; }
  .clinic-bar__inner { justify-content: center; text-align: center; }
  .clinic-bar__links { display: none; }
  .clinic-bar p { font-size: .66rem; }
  .header-inner { min-height: 74px; }
  .brand { min-width: 0; }
  .brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .brand-copy strong { font-size: .96rem; }
  .brand-copy small { font-size: .52rem; }
  .primary-nav { inset: 112px 0 auto; }
  .hero { padding-top: 50px; }
  .hero-copy h1 { font-size: clamp(2.55rem, 13vw, 3.55rem); }
  .hero-copy .button-row .button { width: 100%; }
  .hero-visual { padding-left: 14px; }
  .hero-image-frame { border-radius: 130px 130px 22px 22px; }
  .hero-seal { width: 78px; height: 78px; border-width: 5px; }
  .hero-credential { right: 0; padding: 16px; }
  .trust-strip { margin-top: 45px; }
  .trust-item { min-height: 86px; padding: 15px 10px; }
  .trust-item span { display: none; }
  .service-grid, .detail-grid, .post-grid, .metric-grid, .doctor-points, .mini-checks, .form-grid { grid-template-columns: 1fr; }
  .form-field--full, .form-consent, .form-actions { grid-column: auto; }
  .service-card { min-height: 245px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { min-height: auto; border-right: 0; }
  .home-visit-card__image { min-height: 300px; }
  .area-panel { padding: 32px 24px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .prefooter-cta .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-bottom: 85px; }
  .footer-bottom p:last-child { text-align: left; }
  .mobile-whatsapp { display: inline-flex; }
  .faq-answer p { padding-right: 0; }
}

/* DTMC Premium Experience v5.3 — inner-page continuity */
body.mt-site:not(.dtmc-front-page){background:#f4f7f4;color:#17312d;font-size:17px}
body.mt-site:not(.dtmc-front-page) .page-hero{padding:clamp(82px,10vw,145px) 0;background:radial-gradient(700px 480px at 85% 0,rgba(66,217,188,.14),transparent 65%),linear-gradient(145deg,#041714,#082d27);color:rgba(255,255,255,.72)}
body.mt-site:not(.dtmc-front-page) .page-hero::after{opacity:.6}
body.mt-site:not(.dtmc-front-page) .page-hero h1{max-width:980px;color:#fff;font-size:clamp(3rem,6.5vw,6.4rem);line-height:.98}
body.mt-site:not(.dtmc-front-page) .page-hero p{max-width:720px;font-size:1.12rem;line-height:1.65}
body.mt-site:not(.dtmc-front-page) .page-hero .eyebrow{color:#78efe0;font-size:12px;letter-spacing:.1em}
body.mt-site:not(.dtmc-front-page) .section{padding:clamp(82px,9vw,128px) 0}
body.mt-site:not(.dtmc-front-page) .page-content{max-width:720px;font-size:17px;line-height:1.72}
body.mt-site:not(.dtmc-front-page) .page-content>p:first-of-type{font-size:1.08em}
body.mt-site:not(.dtmc-front-page) .page-content h2{font-size:clamp(2.1rem,4vw,3.5rem)}
body.mt-site:not(.dtmc-front-page) .page-content h3{font-size:clamp(1.45rem,2.4vw,2rem)}
body.mt-site:not(.dtmc-front-page) .content-layout{grid-template-columns:minmax(0,1fr) 360px;gap:clamp(42px,7vw,90px)}
body.mt-site:not(.dtmc-front-page) .sidebar-card{padding:32px;border-radius:24px;box-shadow:0 14px 45px rgba(5,45,39,.06)}
body.mt-site:not(.dtmc-front-page) .sidebar-card h2{font-size:1.8rem}
body.mt-site:not(.dtmc-front-page) .sidebar-card p{font-size:15px;line-height:1.6}
body.mt-site:not(.dtmc-front-page) .disclaimer{margin-top:36px;padding:22px 24px;border-left-color:#c99c4a;background:#faf8f3;color:#516761;font-size:14px;line-height:1.6}
body.mt-site:not(.dtmc-front-page) .post-grid{gap:24px}
body.mt-site:not(.dtmc-front-page) .post-card{border-radius:22px;box-shadow:0 10px 34px rgba(5,45,39,.05);transition:transform .22s,box-shadow .22s}
body.mt-site:not(.dtmc-front-page) .post-card:hover{box-shadow:0 20px 55px rgba(5,45,39,.1);transform:translateY(-4px)}
body.mt-site:not(.dtmc-front-page) .post-card__content{padding:28px}
body.mt-site:not(.dtmc-front-page) .post-card h2{font-size:1.75rem}
body.mt-site:not(.dtmc-front-page) .post-card p{color:#516761;font-size:15px;line-height:1.6}
body.mt-site:not(.dtmc-front-page) .post-meta{font-size:13px!important;letter-spacing:.06em}
body.mt-site:not(.dtmc-front-page) .empty-state{padding:64px 32px;border-radius:24px;background:#fff}
@media(max-width:820px){body.mt-site:not(.dtmc-front-page) .content-layout{grid-template-columns:1fr}body.mt-site:not(.dtmc-front-page) .sidebar{position:static}}
@media(max-width:620px){body.mt-site:not(.dtmc-front-page){font-size:16px}body.mt-site:not(.dtmc-front-page) .page-hero{padding:72px 0}body.mt-site:not(.dtmc-front-page) .page-hero h1{font-size:clamp(2.55rem,12vw,3.8rem)}body.mt-site:not(.dtmc-front-page) .page-hero p{font-size:16px}body.mt-site:not(.dtmc-front-page) .section{padding:68px 0}body.mt-site:not(.dtmc-front-page) .page-content{font-size:16px}body.mt-site:not(.dtmc-front-page) .post-grid{grid-template-columns:1fr}}

body.mt-site:not(.dtmc-front-page) .home-visit-card__copy>p{color:#516761}
