/* =========================================================
   DoctorPro — template design system
   Tokens derived from the study Sandbox reference
   ========================================================= */
:root {
    --navy: #091331;
    --ink: #4C4E51;
    --ink-soft: #6C6F75;
    --blue: #2B6CF5;
    --blue-600: #1D57D6;
    --blue-050: #EAF1FF;
    --soft: #E5ECF9;
    --soft-2: #F2F6FD;
    --page: #F7F9FD;
    --white: #ffffff;
    --line: rgba(9, 19, 49, .10);
    --line-strong: rgba(9, 19, 49, .16);
    --radius-xl: 32px;
    --radius-lg: 28px;
    --radius: 20px;
    --radius-sm: 14px;
    --pill: 100px;
    --container: 1320px;
    --gutter: 24px;
    --section: 104px;
    --shadow-soft: 0 24px 60px -34px rgba(9, 19, 49, .30);
    --shadow-card: 0 26px 60px -34px rgba(9, 19, 49, .40);
    --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Outfit", "Helvetica Neue", Arial, sans-serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4, h5 {
    margin: 0;
    font-family: var(--font-display);
    color: var(--navy);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -.025em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); font-weight: 500; }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.6rem); }
h4 { font-size: 1.15rem; }

::selection { background: var(--blue); color: #fff; }

/* ---------- layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.container-small { max-width: 900px; }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .62) 0; }
.section-bottom { padding-bottom: var(--section); }
.text-center { text-align: center; }
.text-primary { color: var(--blue); }
.mx-auto { margin-left: auto; margin-right: auto; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-050);
    border-radius: var(--pill);
    padding: 7px 16px;
    margin-bottom: 22px;
}
.eyebrow.is-plain { background: transparent; padding: 0; }
.lede { font-size: 19px; color: var(--ink); }
.muted { color: var(--ink-soft); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 54px;
}
.section-head .section-head-text { max-width: 640px; }
.section-head p { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: var(--pill);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 18px 40px -24px rgba(43, 108, 245, .9); }
.btn-primary:hover { background: var(--blue-600); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--navy); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--soft); }
.btn-ghost { background: var(--soft); color: var(--navy); }
.btn-ghost:hover { background: #dbe6f8; }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--blue);
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    padding: 16px 0;
    transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-stuck {
    background: rgba(255, 255, 255, .90);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 14px 34px -26px rgba(9, 19, 49, .55);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--navy);
}
.brand em { font-style: normal; color: var(--blue); }
.brand-mark { position: relative; width: 30px; height: 30px; flex: none; }
.brand-mark i { position: absolute; border-radius: 4px; background: var(--navy); }
.brand-mark i:nth-child(1) { left: 11px; top: 0; width: 8px; height: 30px; }
.brand-mark i:nth-child(2) { top: 11px; left: 0; height: 8px; width: 30px; background: var(--blue); }

.nav-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: var(--pill);
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(255, 255, 255, .92);
    box-shadow: 0 16px 34px -30px rgba(9, 19, 49, .8);
}
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    border-radius: var(--pill);
    font-size: 16px;
    color: var(--navy);
    transition: background-color .25s var(--ease), color .25s var(--ease);
    background: transparent;
    border: 0;
    cursor: pointer;
}
.nav-link:hover { background: #fff; }
.nav-link.is-active { background: #fff; color: var(--blue); box-shadow: 0 10px 22px -18px rgba(9, 19, 49, .9); }
.nav-link .caret { transition: transform .25s var(--ease); }

.nav-dropdown { position: relative; }
.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translate(-50%, 6px);
    min-width: 236px;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -34px rgba(9, 19, 49, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.nav-dropdown:hover .caret,
.nav-dropdown.is-open .caret { transform: rotate(180deg); }
.nav-dropdown-panel a {
    display: block;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 15px;
    color: var(--navy);
    transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-dropdown-panel a:hover { background: var(--soft-2); color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.call-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--pill);
    background: #fff;
    border: 1px solid var(--line);
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    box-shadow: 0 16px 34px -30px rgba(9, 19, 49, .8);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.call-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.call-pill .call-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue-050);
    color: var(--blue);
}
.call-pill b { font-weight: 600; }

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.menu-toggle span { position: relative; display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }
.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0 0 auto 0;
    top: 78px;
    z-index: 79;
    padding: 18px 20px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 40px 60px -40px rgba(9, 19, 49, .6);
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
    display: block;
    padding: 14px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    color: var(--navy);
}
.mobile-menu .btn { margin-top: 18px; }

/* ---------- hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 96px;
    background:
        radial-gradient(120% 80% at 50% -20%, #ffffff 0%, #eef3fc 46%, #f8fafe 100%);
}
.hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -30%;
    width: 120%;
    height: 70%;
    transform: translateX(-50%);
    background: radial-gradient(50% 60% at 50% 0%, rgba(43, 108, 245, .10), transparent 72%);
    pointer-events: none;
}
.hero-title {
    position: relative;
    z-index: 4;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(2.9rem, 10vw, 9rem);
    line-height: 1.12;
    letter-spacing: -.045em;
    font-weight: 600;
}
.hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 360px minmax(300px, 500px) 360px;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-top: -56px;
}
.hero-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.hero-rating .star-badge {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--blue);
    box-shadow: 0 14px 26px -18px rgba(9, 19, 49, .8);
}
.hero-rating p { font-size: 17px; color: var(--navy); line-height: 1.4; }
.hero-rating strong { font-weight: 600; }
.hero-claim {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--navy);
}
.hero-claim span { color: var(--blue); display: block; }

.hero-photo {
    position: relative;
    width: min(500px, 100%);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid #fff;
    box-shadow: 0 50px 90px -60px rgba(9, 19, 49, .75);
    background: var(--soft);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-badge {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--pill);
    background: rgba(255, 255, 255, .94);
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    white-space: nowrap;
}
.hero-photo-badge i { width: 8px; height: 8px; border-radius: 50%; background: #22b573; }

.hero-aside { text-align: right; }
.hero-aside p { font-size: 18px; color: var(--ink); }
.hero-aside .btn { margin-top: 26px; }

/* ---------- cards / grids ---------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: transparent; }

.tinted {
    background: linear-gradient(180deg, var(--soft) 0%, rgba(229, 236, 249, .30) 100%);
    border: 0;
}

.icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--blue-050);
    color: var(--blue);
    margin-bottom: 22px;
}

/* ---------- rails (horizontal scroll) ---------- */
.rail-wrap { position: relative; }
.rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 4);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 6px;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 10px; }
.rail-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--navy);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.rail-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- about strip ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 68px;
}
.split-media {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 4.4;
    background: var(--soft);
    box-shadow: var(--shadow-soft);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .float-card {
    position: absolute;
    right: 22px;
    bottom: 22px;
    background: rgba(255, 255, 255, .95);
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 26px 50px -34px rgba(9, 19, 49, .8);
}
.float-card b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--navy); line-height: 1; }
.float-card span { font-size: 13px; color: var(--ink-soft); }

.stat-row { display: flex; flex-wrap: wrap; gap: 44px; margin: 38px 0 34px; }
.stat b { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--navy); }
.stat span { font-size: 14px; color: var(--ink-soft); }

.check-list { display: grid; gap: 12px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.check-list li svg { flex: none; margin-top: 5px; color: var(--blue); }

/* ---------- service cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--soft) 0%, rgba(229, 236, 249, .28) 100%);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.service-card-media { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: #fff; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.04); }
.service-card-body { padding: 26px 18px 16px; }
.service-card-body p { margin: 12px 0 20px; font-size: 16px; }
.service-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px 14px; }
.service-meta { font-size: 14px; color: var(--ink-soft); }

/* ---------- appointment ---------- */
.appointment-grid {
    display: grid;
    grid-template-columns: 1.18fr .82fr;
    gap: 32px;
    align-items: stretch;
}
.form-card {
    background: linear-gradient(180deg, #ffffff 0%, var(--soft-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 42px;
    box-shadow: var(--shadow-soft);
}
.form-card h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.is-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--navy); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(43, 108, 245, .14);
}
.field .error-text { display: none; font-size: 13px; color: #c0392b; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.field.has-error .error-text { display: block; }
.form-note { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.form-body .btn { margin-top: 22px; }
.form-success { display: none; padding: 6px 2px 2px; }
.form-success h3 { color: var(--navy); margin-bottom: 12px; }
.form-success p { font-size: 17px; }
.form-card.is-submitted .form-body { display: none; }
.form-card.is-submitted .form-success { display: block; }
.form-status {
    display: none;
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    background: #e8f7ef;
    border: 1px solid #bfe7d2;
    color: #16653f;
    font-size: 15px;
}
.form-status.is-error { background: #fdeceb; border-color: #f5c6c2; color: #a2302a; }
.form-status.is-visible { display: block; }
.form-success { display: none; }
.form-card.is-submitted .form-grid,
.form-card.is-submitted .form-status.is-error { display: none; }

.clinic-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 26px;
    padding: 42px;
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, #0B1B44 0%, #12306F 62%, #2B6CF5 130%);
    color: rgba(255, 255, 255, .82);
}
.clinic-card h2, .clinic-card h3 { color: #fff; }
.clinic-card h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.hours-list { display: grid; gap: 2px; margin-top: 6px; }
.hours-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font-size: 16px;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list b { color: #fff; font-weight: 500; }
.hours-list .is-closed { color: rgba(255, 255, 255, .55); }
.clinic-contact { display: grid; gap: 14px; font-size: 16px; }
.clinic-contact a { display: flex; gap: 12px; align-items: flex-start; color: #fff; }
.clinic-contact svg { flex: none; margin-top: 3px; color: #8FB4FF; }

/* ---------- testimonials ---------- */
.quote-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.stars { display: inline-flex; gap: 4px; color: #f2a93b; }
.quote-card blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.55;
    color: var(--navy);
    font-weight: 500;
    letter-spacing: -.01em;
}
.quote-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-author b { display: block; font-size: 15px; color: var(--navy); font-weight: 600; }
.quote-author span { font-size: 13px; color: var(--ink-soft); }

/* ---------- blog ---------- */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-body .link-arrow { margin-top: auto; padding-top: 18px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.post-tag { background: var(--blue-050); color: var(--blue); border-radius: var(--pill); padding: 5px 12px; font-size: 12px; font-weight: 500; }
.post-body h3 { margin-bottom: 10px; }
.post-body p { font-size: 16px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0 76px;
    background: radial-gradient(110% 80% at 50% -20%, #ffffff 0%, #eef3fc 50%, #f8fafe 100%);
}
.page-hero .hero-title { font-size: clamp(2.4rem, 6.4vw, 5.4rem); }
.page-hero p { max-width: 680px; margin: 22px auto 0; text-align: center; }
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--blue); }

/* ---------- timeline ---------- */
.timeline { display: grid; gap: 6px; }
.timeline li {
    position: relative;
    padding: 0 0 30px 34px;
    border-left: 1px solid var(--line-strong);
}
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--blue);
}
.timeline b { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.timeline h4 { margin-bottom: 6px; }
.timeline p { font-size: 16px; }

/* ---------- article ---------- */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 42px 0 14px; }
.article-body h3 { margin: 32px 0 12px; }
.article-body p { margin-bottom: 18px; }
.article-body ul { display: grid; gap: 10px; margin: 0 0 20px; }
.article-body ul li { position: relative; padding-left: 22px; }
.article-body ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}
.article-hero-media {
    max-width: 1000px;
    margin: 44px auto 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16 / 8;
    background: var(--soft);
    box-shadow: var(--shadow-soft);
}
.article-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- detail page ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); gap: 46px; align-items: start; }
.detail-side { position: sticky; top: 108px; display: grid; gap: 20px; }
.info-card { border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; background: #fff; }
.info-card h4 { margin-bottom: 14px; }
.info-card ul { display: grid; gap: 12px; font-size: 16px; }
.info-card ul li { display: flex; justify-content: space-between; gap: 14px; }
.info-card ul li b { color: var(--navy); font-weight: 600; }
.info-card.tinted-info { background: linear-gradient(180deg, var(--soft), rgba(229, 236, 249, .3)); border: 0; }

.detail-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); margin-bottom: 34px; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-body h2 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin: 38px 0 14px; }
.detail-body p { margin-bottom: 16px; }
.detail-body ul { display: grid; gap: 10px; margin-bottom: 8px; }
.detail-body ul li { position: relative; padding-left: 24px; font-size: 17px; }
.detail-body ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* ---------- footer ---------- */
.site-footer { background: #060F2B; color: rgba(255, 255, 255, .72); padding-top: 0; }
.footer-cta { padding: 40px 0 72px; }
.footer-cta-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 62px;
    border-radius: var(--radius-xl);
    background: linear-gradient(120deg, #10245A 0%, #1B3C8C 48%, #2B6CF5 100%);
}
.footer-cta-card::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 68%);
}
.footer-cta-card h2 { color: #fff; position: relative; z-index: 1; max-width: 620px; }
.footer-cta-card p { color: rgba(255, 255, 255, .8); margin-top: 16px; max-width: 520px; }
.footer-cta-card .btn { position: relative; z-index: 1; background: #fff; color: var(--navy); }
.footer-main { padding: 0 0 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand { color: #fff; margin-bottom: 18px; }
.footer-brand em { color: #7BA5FF; }
.footer-brand .brand-mark i:nth-child(1) { background: #fff; }
.footer-brand .brand-mark i:nth-child(2) { background: #7BA5FF; }
.footer-about p { font-size: 16px; max-width: 320px; }
.footer-contact { display: grid; gap: 10px; margin-top: 22px; font-size: 15px; }
.footer-contact a { color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-divider { height: 1px; background: rgba(255, 255, 255, .12); margin: 46px 0 26px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; }
.social-row { display: flex; gap: 10px; }
.social-row a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .09);
    color: #fff;
    transition: background-color .25s var(--ease);
}
.social-row a:hover { background: var(--blue); }

/* ---------- motion ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
    .hero-grid { grid-template-columns: 320px minmax(260px, 1fr) 320px; gap: 32px; }
    .hero-claim { font-size: 24px; }
    .detail-group { gap: 30px; }
    .split { gap: 44px; }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (max-width: 1080px) {
    :root { --section: 88px; }
    .nav-pill { display: none; }
    .menu-toggle { display: inline-flex; }
    .hero-grid { grid-template-columns: 1fr; margin-top: 34px; gap: 34px; text-align: center; }
    .hero-aside { text-align: center; }
    .hero-rating { justify-content: center; }
    .hero-claim span { display: inline; }
    .hero-photo { width: min(440px, 86vw); }
    .split { grid-template-columns: 1fr; }
    .split-media { aspect-ratio: 4 / 3.4; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rail { grid-auto-columns: calc((100% - 24px) / 2); }
    .appointment-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .footer-cta-card { flex-direction: column; align-items: flex-start; padding: 44px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 26px; }
}

@media (max-width: 720px) {
    :root { --gutter: 18px; --section: 68px; }
    body { font-size: 17px; }
    .site-header { padding: 12px 0; }
    .call-pill { display: none; }
    .brand { font-size: 22px; }
    .brand-mark { width: 26px; height: 26px; }
    .brand-mark i:nth-child(1) { left: 9px; width: 8px; height: 26px; }
    .brand-mark i:nth-child(2) { top: 9px; height: 8px; width: 26px; }
    .hero { padding: 18px 0 56px; }
    .hero-title { letter-spacing: -.03em; }
    .hero-claim { font-size: 21px; }
    .hero-rating p { font-size: 15px; }
    .hero-photo { border-width: 7px; }
    .hero-aside p { font-size: 17px; }
    .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
    .rail { grid-auto-columns: 86%; }
    .form-card, .clinic-card { padding: 26px; }
    .footer-cta-card { padding: 30px; border-radius: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .stat-row { gap: 28px; }
    .stat b { font-size: 32px; }
    .article-hero-media { aspect-ratio: 16 / 11; }
    .page-hero { padding: 20px 0 48px; }
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
