:root {
    --navy: #101b50;
    --navy-soft: #202f72;
    --blue: #4a9fec;
    --cyan: #9be8ef;
    --lilac: #c8a5f3;
    --ice: #eefbfd;
    --paper: #ffffff;
    --ink: #18203d;
    --muted: #66708a;
    --line: #dce4ef;
    --radius-lg: 2.5rem;
    --radius-md: 1.5rem;
    --shadow: 0 24px 70px rgba(24, 44, 96, .12);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background: #f9fbfd;
    font-family: "Aptos", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--navy-soft); }
a:hover { color: var(--blue); }

.site-header {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(16, 27, 80, .08);
}

.marketing-page .site-header {
    position: absolute;
    inset: 0 0 auto;
    background: transparent;
    border-bottom: 0;
}

.site-header__inner {
    max-width: 1440px;
    min-height: 94px;
    padding: .65rem clamp(1.25rem, 4vw, 4.5rem);
}

.site-brand { display: inline-flex; }
.site-brand img {
    width: 205px;
    height: 74px;
    object-fit: cover;
    object-position: center;
}

.site-header .nav-link {
    position: relative;
    margin: 0 .15rem;
    padding: .6rem .75rem !important;
    color: var(--navy) !important;
    font-size: .82rem;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.site-header .nav-link::after {
    position: absolute;
    right: .75rem;
    bottom: .3rem;
    left: .75rem;
    height: 2px;
    content: "";
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.site-header .nav-link:hover::after { transform: scaleX(1); }
.nav-item--booking { margin-left: .65rem; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .8rem 1.45rem;
    border: 0;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 750;
    letter-spacing: .03em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button--primary, .button--nav {
    color: #fff;
    background: linear-gradient(135deg, var(--navy-soft), #347ed7);
    box-shadow: 0 12px 30px rgba(49, 113, 204, .24);
}
.button--primary:hover, .button--nav:hover { color: #fff; box-shadow: 0 16px 34px rgba(49, 113, 204, .34); }
.site-header .button--nav, .site-header .button--nav:hover { color: #fff !important; }
.button--nav { min-height: 44px; padding: .65rem 1.25rem; }
.button--text { gap: .55rem; padding-right: .3rem; color: var(--navy); }
.button--light { color: var(--navy); background: #fff; box-shadow: 0 14px 34px rgba(6, 14, 52, .2); }

.marketing-main { overflow: hidden; }
.page-section { padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6.5rem); }

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: #3474c4;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.eyebrow--light { color: #c9f5fa; }

.clinic-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr);
    align-items: center;
    min-height: 760px;
    padding: 130px clamp(1.25rem, 5.5vw, 6rem) 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5fdff 10%, #f9fbff 55%, #f7f2ff 100%);
}

.clinic-hero__glow { position: absolute; border-radius: 50%; filter: blur(3px); }
.clinic-hero__glow--blue {
    top: 95px;
    left: -9vw;
    width: 54vw;
    height: 54vw;
    background: radial-gradient(circle at 54% 48%, rgba(136, 230, 240, .76), rgba(108, 169, 239, .25) 48%, transparent 69%);
}
.clinic-hero__glow--lilac {
    bottom: -31vw;
    left: 4vw;
    width: 48vw;
    height: 48vw;
    background: radial-gradient(circle, rgba(197, 151, 244, .55), transparent 67%);
}

.clinic-hero__content { position: relative; z-index: 2; max-width: 660px; padding-left: clamp(0rem, 2vw, 2rem); }
.clinic-hero h1, .about-hero h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(4rem, 7.2vw, 7.3rem);
    font-weight: 800;
    letter-spacing: -.07em;
    line-height: .86;
}
.clinic-hero__lead {
    max-width: 570px;
    margin: 2rem 0 0;
    color: #4d5774;
    font-size: clamp(1.05rem, 1.5vw, 1.27rem);
    line-height: 1.7;
}
.clinic-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.clinic-hero__visual { position: relative; z-index: 2; }
.clinic-hero__visual > img {
    width: 100%;
    height: min(43vw, 535px);
    min-height: 450px;
    object-fit: cover;
    border-radius: 8rem 1.5rem 8rem 1.5rem;
    box-shadow: var(--shadow);
}
.clinic-hero__note {
    position: absolute;
    right: 2rem;
    bottom: -2.25rem;
    display: flex;
    align-items: center;
    width: min(330px, 80%);
    padding: 1rem 1.5rem;
    color: #fff;
    background: rgba(16, 27, 80, .93);
    border-radius: 1.25rem;
    box-shadow: 0 15px 35px rgba(16, 27, 80, .22);
}
.clinic-hero__note p { margin: 0; font-size: .95rem; }
.clinic-hero__note-mark { margin-right: .8rem; color: var(--cyan); font-family: Georgia, serif; font-size: 3rem; line-height: 1; }
.scroll-cue {
    position: absolute;
    z-index: 3;
    bottom: 1.5rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    color: var(--navy);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
}
.scroll-cue span:first-child { writing-mode: vertical-rl; transform: rotate(180deg); }

.clinic-intro {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(3rem, 8vw, 9rem);
    align-items: start;
    background: #fff;
}
.clinic-intro h2, .section-heading h2, .clinic-feature h2, .about-story h2, .approach-section h2, .about-cta h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 750;
    letter-spacing: -.055em;
    line-height: .98;
}
.clinic-intro__copy { max-width: 700px; padding-top: 2rem; }
.clinic-intro__copy p, .clinic-feature__content > p, .about-story__content p, .approach-section__content p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}
.inline-link { display: inline-flex; gap: .6rem; margin-top: .75rem; color: var(--navy); font-weight: 750; text-decoration: none; }
.inline-link:hover { color: var(--blue); }

.services-section { background: #f1f8fc; }
.section-heading { max-width: 760px; margin-bottom: 3.25rem; }
.section-heading p { margin: 1.25rem 0 0; color: var(--muted); font-size: 1.1rem; }
.section-heading--center { margin-right: auto; margin-left: auto; text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 440px;
    padding: clamp(1.75rem, 3vw, 3rem);
    overflow: hidden;
    background: #d8f7f7;
    border-radius: var(--radius-md);
}
.service-card::after {
    position: absolute;
    right: -18%;
    bottom: -28%;
    width: 70%;
    aspect-ratio: 1;
    content: "";
    border: 1px solid rgba(16, 27, 80, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(255,255,255,.1), 0 0 0 70px rgba(255,255,255,.08);
}
.service-card--blue { background: #cbdffb; }
.service-card--lilac { background: #e2d0f7; }
.service-card__number { color: var(--navy); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { max-width: 280px; margin: 3.5rem 0 1.25rem; color: var(--navy); font-size: clamp(1.8rem, 2.7vw, 2.7rem); font-weight: 750; letter-spacing: -.045em; line-height: 1.05; }
.service-card p { position: relative; z-index: 1; max-width: 390px; color: #3d4968; line-height: 1.7; }
.service-card__code { position: relative; z-index: 1; margin-top: auto; color: rgba(16, 27, 80, .3); font-size: 2.8rem; font-weight: 800; letter-spacing: -.05em; }

.clinic-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; background: #fff; }
.clinic-feature__image { position: relative; min-height: 520px; overflow: hidden; background: linear-gradient(145deg, #cff8f7, #d8e4fb 55%, #e8d5fb); border-radius: var(--radius-lg); }
.clinic-feature__image img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 12%; object-fit: contain; mix-blend-mode: multiply; }
.clinic-feature__content { max-width: 620px; }
.clinic-feature__content > p { margin-top: 1.5rem; }
.clinic-feature__links { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-top: 2rem; }

.booking-banner { color: #fff; text-align: center; background: radial-gradient(circle at 20% 20%, #4564b8 0, transparent 32%), radial-gradient(circle at 80% 80%, #8157ad 0, transparent 30%), var(--navy); }
.booking-banner h2 { max-width: 900px; margin: 0 auto; font-size: clamp(2.8rem, 6vw, 6rem); font-weight: 750; letter-spacing: -.06em; line-height: .95; }
.booking-banner p { max-width: 650px; margin: 1.5rem auto 2rem; color: #dce7ff; font-size: 1.05rem; }

.about-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    min-height: 650px;
    padding: 140px clamp(1.25rem, 6vw, 6.5rem) 80px;
    overflow: hidden;
    background: linear-gradient(125deg, #f2fdff, #f7f7ff 56%, #f1e8fc);
}
.about-hero__content { position: relative; z-index: 2; max-width: 900px; }
.about-hero h1 { font-size: clamp(3.4rem, 6.5vw, 6.7rem); }
.about-hero__content p { max-width: 620px; margin-top: 2rem; color: var(--muted); font-size: 1.2rem; line-height: 1.7; }
.about-hero__art { position: relative; height: 440px; }
.about-hero__ring { position: absolute; border: 2px solid rgba(52, 126, 215, .25); border-radius: 50%; }
.about-hero__ring--one { inset: 3% 0 0 8%; box-shadow: 0 0 0 55px rgba(131, 226, 237, .14), 0 0 0 110px rgba(182, 151, 236, .08); }
.about-hero__ring--two { right: 25%; bottom: 8%; width: 42%; aspect-ratio: 1; background: rgba(157, 226, 240, .35); border: 0; }
.about-hero__monogram { position: absolute; top: 38%; left: 32%; color: var(--navy); font-family: Georgia, serif; font-size: clamp(4.5rem, 8vw, 8rem); font-style: italic; }

.about-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; background: #fff; }
.about-story__image img { width: 100%; min-height: 520px; object-fit: cover; border-radius: 1.5rem 7rem 1.5rem 7rem; box-shadow: var(--shadow); }
.about-story__content { max-width: 700px; }
.about-story__content p:first-of-type { margin-top: 1.5rem; }

.values-section { background: #eef8fb; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: rgba(16, 27, 80, .12); border-radius: var(--radius-md); }
.value-grid article { padding: clamp(2rem, 4vw, 4rem); background: #fff; }
.value-grid article > span { color: #5495d7; font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.value-grid h3 { margin: 4rem 0 1rem; color: var(--navy); font-size: 2.3rem; font-weight: 750; }
.value-grid p { color: var(--muted); line-height: 1.7; }

.approach-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; background: #fff; }
.approach-section__content { max-width: 700px; }
.approach-section__content p:first-of-type { margin-top: 1.5rem; }
.approach-list { overflow: hidden; background: linear-gradient(145deg, #e0fafb, #dbe5fb 55%, #eadbf9); border-radius: var(--radius-lg); }
.approach-list div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem 2.25rem; border-bottom: 1px solid rgba(16, 27, 80, .12); }
.approach-list div:last-child { border-bottom: 0; }
.approach-list strong { color: var(--navy); font-size: 2.2rem; letter-spacing: -.04em; }
.approach-list span { color: #53617d; }

.about-cta { display: flex; align-items: end; justify-content: space-between; gap: 2rem; background: #f2f7fc; }
.about-cta > div { max-width: 800px; }
.about-cta p { margin: 1.25rem 0 0; color: var(--muted); font-size: 1.05rem; }

.app-main { min-height: calc(100vh - 320px); padding-top: 2.25rem; padding-bottom: 5rem; }
.app-main h1, .app-main h2, .app-main h3 { color: var(--navy); }
.app-page .card, .app-page form { border-color: var(--line); }
.app-page .btn-primary { background-color: var(--navy-soft); border-color: var(--navy-soft); }
.app-page .btn-primary:hover { background-color: var(--navy); border-color: var(--navy); }
.form-control:focus, .form-select:focus { border-color: #70aee6; box-shadow: 0 0 0 .25rem rgba(74, 159, 236, .17); }

.site-footer { color: #dce3f4; background: #0d153d; }
.site-footer__inner { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 3rem; align-items: end; max-width: 1440px; margin: 0 auto; padding: 3.5rem clamp(1.25rem, 5vw, 5rem); }
.site-footer__logo { width: 190px; height: 75px; object-fit: cover; object-position: center; filter: brightness(0) invert(1); opacity: .9; }

.location-picker-credit { display: block; margin-top: .28rem; color: #7b8497; font-size: .68rem; }
.site-footer p { max-width: 440px; margin: .75rem 0 0; color: #aeb9d5; line-height: 1.6; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; }
.site-footer .site-footer__nav a { color: #e8edfa !important; text-decoration: none; }
.site-footer__copyright { white-space: nowrap; font-size: .85rem; }

@media (max-width: 1450px) {
    .site-header .site-header__inner { flex-wrap: wrap; }
    .site-header .navbar-expand-lg .navbar-toggler { display: block; }
    .site-header .navbar-expand-lg .navbar-collapse { display: none !important; flex-basis: 100%; width: 100%; margin: .75rem 0 0; padding: 1rem; background: rgba(255,255,255,.98); border-radius: 1rem; box-shadow: 0 15px 35px rgba(16,27,80,.1); }
    .site-header .navbar-expand-lg .navbar-collapse.show,
    .site-header .navbar-expand-lg .navbar-collapse.collapsing { display: block !important; }
    .site-header .navbar-expand-lg .navbar-nav { flex-direction: column; align-items: stretch !important; }
    .site-header .nav-link { margin: 0; }
    .site-header .nav-item--booking { margin: .6rem 0 0; }
}

@media (max-width: 1100px) {
    .clinic-hero { grid-template-columns: 1fr 1fr; }
    .clinic-hero h1 { font-size: clamp(3.6rem, 7vw, 5.4rem); }
    .service-card { min-height: 420px; }
    .site-header__inner { min-height: 84px; }
    .site-header .navbar-collapse { margin: .75rem -1rem 0; padding: 1rem; background: rgba(255,255,255,.98); border-radius: 1rem; box-shadow: 0 15px 35px rgba(16,27,80,.1); }
    .nav-item--booking { margin: .6rem 0 0; }
}

@media (max-width: 800px) {
    .clinic-hero, .about-hero, .clinic-intro, .clinic-feature, .about-story, .approach-section { grid-template-columns: 1fr; }
    .clinic-hero { gap: 3.5rem; min-height: auto; padding-top: 125px; }
    .clinic-hero__visual > img { height: 420px; min-height: 0; }
    .scroll-cue { display: none; }
    .service-grid, .value-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 350px; }
    .clinic-feature__image, .about-story__image img { min-height: 400px; }
    .about-hero { padding-top: 130px; }
    .about-hero__art { position: absolute; right: -20%; bottom: -15%; width: 60%; opacity: .55; }
    .about-cta { align-items: start; flex-direction: column; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
}

@media (max-width: 520px) {
    html { font-size: 15px; }
    .site-brand img { width: 160px; height: 60px; }
    .clinic-hero h1 { font-size: 3.65rem; }
    .clinic-hero__actions { align-items: flex-start; flex-direction: column; }
    .clinic-hero__visual > img { height: 330px; border-radius: 4rem 1rem 4rem 1rem; }
    .clinic-hero__note { right: 1rem; bottom: -2rem; }
    .page-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
    .clinic-feature__image, .about-story__image img { min-height: 320px; }
    .about-hero__art { display: none; }
    .approach-list div { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
.person-avatar { display: block; flex: none; width: 42px; height: 42px; object-fit: cover; background: #edf2f9; border: 1px solid #dbe4f0; border-radius: .75rem; }
.person-avatar--small { width: 28px; height: 28px; border-radius: .5rem; }
.person-avatar--large { width: 58px; height: 58px; border-radius: .9rem; }
.person-avatar[hidden] { display:none; }
