:root {
    --cream: #F6F2EA;
    --sage: #A7B5AD;
    --sage-dark: #718078;
    --sage-deep: #46554e;
    --ink: #29332e;
    --muted: #66716b;
    --white: #ffffff;
    --soft-white: #fbfaf7;
    --line: rgba(41, 51, 46, 0.12);
    --shadow-sm: 0 10px 30px rgba(41, 51, 46, 0.07);
    --shadow-md: 0 22px 60px rgba(41, 51, 46, 0.11);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --nav-height: 76px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 22px);
}

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--cream);
    color: var(--ink);
    font-family: "Raleway", sans-serif;
    font-size: 18px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

a {
    color: var(--sage-deep);
    text-underline-offset: 3px;
}

a:hover {
    color: #27352f;
}

h1,
h2,
strong {
    color: var(--ink);
}

h1 {
    font-family: "Newsreader", serif;
    font-size: clamp(2.55rem, 6vw, 5.35rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

h2 {
    font-family: "Newsreader", serif;
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

p + p {
    margin-top: 1.05rem;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: clamp(72px, 9vw, 132px) 0;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px max(22px, calc((100vw - 1180px) / 2));
    background: rgba(246, 242, 234, 0.9);
    border-bottom: 1px solid rgba(41, 51, 46, 0.09);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.brand-logo {
    color: var(--ink);
    font-family: "Newsreader", serif;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    letter-spacing: -0.025em;
}

.navbar-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.navbar-links a:hover,
.navbar-links a:focus-visible {
    background: rgba(167, 181, 173, 0.22);
    outline: none;
}

.navbar-links .nav-book {
    margin-left: 4px;
    padding-inline: 18px;
    background: var(--ink);
    color: var(--cream);
}

.navbar-links .nav-book:hover,
.navbar-links .nav-book:focus-visible {
    background: var(--sage-deep);
    color: var(--white);
    transform: translateY(-1px);
}

.navbar-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
}

.close-btn {
    align-self: flex-end;
}

.hero-section {
    padding-top: calc(var(--nav-height) + clamp(70px, 10vw, 130px));
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: min(52vw, 720px);
    aspect-ratio: 1;
    right: -18vw;
    top: 20px;
    border-radius: 50%;
    background: rgba(167, 181, 173, 0.28);
    filter: blur(2px);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.13fr) minmax(300px, .87fr);
    column-gap: clamp(42px, 7vw, 96px);
    row-gap: clamp(58px, 7vw, 90px);
    align-items: center;
}

.hero-copy h2 {
    margin: 26px 0 20px;
    font-family: "Raleway", sans-serif;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 690px;
    color: #46504a;
    font-size: clamp(1.02rem, 1.35vw, 1.17rem);
}

.hero-image-wrap {
    display: flex;
    justify-content: center;
}

.portrait-shell {
    position: relative;
    width: min(100%, 470px);
    aspect-ratio: .82;
    padding: 14px;
    border-radius: 46% 46% 20px 20px;
    background: var(--sage);
    box-shadow: var(--shadow-md);
    transform: rotate(1.5deg);
}

.portrait-shell::after {
    content: "";
    position: absolute;
    inset: -18px 18px 18px -18px;
    z-index: -1;
    border: 1px solid rgba(41, 51, 46, 0.23);
    border-radius: inherit;
}

.avatar-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: calc(46% - 10px) calc(46% - 10px) 13px 13px;
}

.hero-detail {
    grid-column: 1 / -1;
}

.surface-card,
.case-card,
.feature-panel,
.offers-panel,
.contact-card,
.clinic-card {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.surface-card {
    padding: clamp(30px, 5vw, 64px);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.58);
}

.surface-card h2 {
    margin-bottom: 24px;
}

.surface-card p {
    max-width: 910px;
    color: #46504a;
}

.cases-section {
    background: var(--sage);
}

.section-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.65rem);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.case-card {
    min-height: 100%;
    padding: clamp(26px, 3.2vw, 40px);
    border-radius: var(--radius-md);
    background: var(--cream);
}

.case-card h2 {
    margin-bottom: 8px;
    font-size: clamp(1.75rem, 2.7vw, 2.35rem);
}

.case-kicker {
    margin-bottom: 26px;
    color: var(--sage-deep);
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.case-card p:not(.case-kicker) {
    color: #48524c;
    font-size: .96rem;
}

.therapy-section {
    background: var(--cream);
}

.feature-panel {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: clamp(36px, 6vw, 88px);
    padding: clamp(38px, 6vw, 78px);
    border-radius: var(--radius-lg);
    background: var(--ink);
}

.feature-panel h1,
.feature-panel h2,
.feature-panel p {
    color: var(--cream);
}

.feature-panel h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.feature-panel h2 {
    margin-top: 26px;
    color: #dbe1dd;
    font-family: "Raleway", sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0;
}

.feature-copy {
    padding-top: 5px;
}

.feature-copy p {
    color: #edf0ee;
    font-size: 1rem;
}

.offers-section {
    background: var(--soft-white);
}

.offers-panel {
    padding: clamp(34px, 6vw, 72px);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.offers-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.logo {
    display: block;
    width: min(200px, 44vw);
    height: auto;
}

.offers-panel > h2 {
    margin: 44px 0 24px;
    font-size: clamp(2rem, 3.4vw, 3.05rem);
}

.offer-list {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.offer-list li {
    position: relative;
    grid-column: span 2;
    min-height: 86px;
    display: flex;
    align-items: center;
    padding: 16px 18px 16px 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    font-size: .98rem;
}

/* Center the final row of three cards on desktop */
.offer-list li:nth-child(5) {
    grid-column: 2 / span 2;
}

.offer-list li:nth-child(6) {
    grid-column: 4 / span 2;
}

.offer-list li:nth-child(7) {
    grid-column: 6 / span 2;
}

.offer-list li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sage);
    transform: translateY(-50%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.price-card {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--sage);
}

.price-card:nth-child(2) {
    background: var(--cream);
    border: 1px solid var(--line);
}

.price-card:nth-child(3) {
    background: #d7ded9;
}

.price-card strong {
    font-family: "Newsreader", serif;
    font-size: 1.45rem;
    line-height: 1.16;
}

.price-card ul {
    margin-top: 30px;
    list-style: none;
}

.price-card li {
    color: #3c4942;
    font-weight: 600;
}

.price-card li:last-child {
    margin-top: 3px;
    font-size: 1.22rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 56px;
}

.info-card {
    padding: 30px 0 0;
    border-top: 1px solid var(--line);
}

.info-card h2 {
    margin-bottom: 15px;
    font-size: 1.65rem;
}

.info-card p {
    color: #505a54;
    font-size: .96rem;
}

.contact-section {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    gap: 26px;
}

.contact-card,
.clinic-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
}

.contact-card {
    padding: clamp(34px, 6vw, 72px);
}

.contact-card h1,
.clinic-copy h1 {
    margin-bottom: 22px;
    font-size: clamp(2.55rem, 5vw, 4.6rem);
}

.contact-card h2 {
    margin: 34px 0 14px;
    font-size: 1.55rem;
}

.contact-card h1 + h2 {
    margin-top: 0;
    font-family: "Raleway", sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--sage-deep);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.button:hover,
.button:focus-visible {
    background: var(--sage-deep);
    color: var(--white);
    transform: translateY(-1px);
}

.button-secondary {
    background: transparent;
    color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--cream);
    color: var(--ink);
}

.clinic-image-wrap {
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: var(--sage);
}

.clinic-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.clinic-copy {
    padding: clamp(34px, 6vw, 68px);
}

.clinic-copy p {
    max-width: 850px;
    color: #4a554f;
}

.map-container {
    width: 100%;
    height: clamp(330px, 48vw, 520px);
    background: #dfe4e0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

@media (max-width: 980px) {
    .hero-grid,
    .feature-panel {
        grid-template-columns: 1fr;
    }

    .hero-image-wrap {
        order: -1;
        justify-content: flex-start;
    }

    .portrait-shell {
        width: min(68vw, 430px);
    }

    .hero-detail {
        grid-column: auto;
    }

    .cases-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .case-card,
    .price-card {
        min-height: auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    :root {
        --nav-height: 68px;
    }

    body {
        font-size: 16px;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .navbar {
        min-height: var(--nav-height);
        padding: 11px 16px;
    }

    .navbar-toggle {
        display: inline-grid;
        place-items: center;
    }

    .navbar-menu {
        position: fixed;
        inset: 0 0 0 auto;
        z-index: 1002;
        width: min(86vw, 390px);
        height: 100dvh;
        display: flex;
        flex-direction: column;
        gap: 26px;
        padding: 18px;
        background-color: #A7B5AD;
        background-image: none;
        border-left: 1px solid rgba(41, 51, 46, 0.14);
        box-shadow: -20px 0 55px rgba(41, 51, 46, 0.24);
        transform: translateX(105%);
        transition: transform .28s ease;
    }

    .navbar-menu.active {
        transform: translateX(0);
    }

    .navbar-links {
        flex: 1;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 8px;
    }

    .navbar-links a {
        display: flex;
        min-height: 52px;
        padding: 12px 16px;
        border-radius: 14px;
        color: var(--ink);
        font-size: 1rem;
        background: rgba(246, 242, 234, 0.46);
    }

    .navbar-links a:hover,
    .navbar-links a:focus-visible {
        background: var(--cream);
        color: var(--ink);
    }

    .navbar-menu .close-btn {
        background: var(--ink);
        color: var(--white);
    }

    .navbar-links .nav-book {
        margin: 6px 0 0;
    }

    .hero-section {
        padding-top: calc(var(--nav-height) + 48px);
    }

    .hero-section::before {
        width: 95vw;
        right: -50vw;
    }

    .hero-grid {
        row-gap: 40px;
    }

    .portrait-shell {
        width: min(80vw, 390px);
    }

    .surface-card,
    .feature-panel,
    .offers-panel,
    .contact-card,
    .clinic-card {
        border-radius: 22px;
    }

    .offer-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offer-list li,
    .offer-list li:nth-child(5),
    .offer-list li:nth-child(6) {
        grid-column: auto;
    }

    .offer-list li:nth-child(7) {
        grid-column: 1 / -1;
        width: calc(50% - 7px);
        justify-self: center;
    }

    .contact-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .clinic-image-wrap {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 62px 0;
    }

    h1 {
        font-size: clamp(2.35rem, 12vw, 3.4rem);
    }

    .hero-copy h2 {
        margin-top: 20px;
    }

    .portrait-shell {
        width: 100%;
        aspect-ratio: .9;
        border-radius: 42% 42% 18px 18px;
    }

    .surface-card,
    .case-card,
    .feature-panel,
    .offers-panel,
    .contact-card,
    .clinic-copy {
        padding: 26px;
    }

    .offers-panel > h2 {
        margin-top: 34px;
    }

    .offer-list {
        grid-template-columns: 1fr;
    }

    .offer-list li,
    .offer-list li:nth-child(5),
    .offer-list li:nth-child(6),
    .offer-list li:nth-child(7) {
        grid-column: 1;
        width: 100%;
    }

    .price-card {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Booking / contact page */
.booking-page {
    padding-top: var(--nav-height);
}

.booking-section {
    padding-top: clamp(54px, 7vw, 92px);
}

.booking-intro {
    margin-bottom: 34px;
}

.booking-intro h1 {
    max-width: 820px;
}

.booking-intro p {
    max-width: 760px;
    margin-top: 20px;
    color: #4a554f;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.booking-highlight {
    margin: 34px 0;
    padding: clamp(24px, 4vw, 38px);
    border-radius: var(--radius-md);
    background: var(--sage);
}

.booking-highlight h2 {
    margin: 0 0 12px;
}

.booking-highlight p {
    max-width: 760px;
}

.booking-highlight .button {
    margin-top: 20px;
}

.contact-details {
    margin-top: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.contact-details p {
    margin: 0;
}

.booking-page .clinic-card {
    margin-top: 26px;
}

@media (max-width: 780px) {
    .booking-section {
        padding-top: 38px;
    }

    .booking-highlight {
        margin: 26px 0;
    }
}
