:root {
    --teal: #28aaa6;
    --teal2: #43c2bb;
    --deep: #172b31;
    --ink: #24343a;
    --cream: #f7f5f0;
    --white: #fff;
    --line: #dfe5e2;
    --muted: #667277;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.5
}

body.lock {
    overflow: hidden
}

a {
    text-decoration: none;
    color: inherit
}

button {
    font: inherit
}

.container {
    width: min(calc(100% - 32px), var(--max));
    margin: auto
}

.eyebrow {
    font-size: 13px;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 800
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 999px;
    padding: 15px 27px;
    font-weight: 700;
    transition: transform .3s, box-shadow .3s
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px #0b777233
}

.btn-teal {
    background: var(--teal);
    color: #fff
}

.btn-white {
    background: #fff;
    color: var(--ink)
}

/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    color: #fff;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: #1d292b
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(10, 21, 23, .82) 0%, rgba(10, 21, 23, .58) 35%, rgba(10, 21, 23, .16) 72%), linear-gradient(0deg, rgba(10, 21, 23, .4), transparent 50%), url('assets/doctor.jpg');
    background-size: cover;
    background-position: center 20%;
    transform: scale(1.035);
    animation: heroZoom 12s ease-out both
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 48%, transparent 0 22%, rgba(0, 0, 0, .12) 58%, rgba(0, 0, 0, .24) 100%);
    pointer-events: none
}

.topbar {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    top: 0;
    padding: 24px 0
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.hero-logo {
    width: 230px;
    max-width: 62vw;
    filter: brightness(0) invert(1);
    mix-blend-mode: screen
}

.menu-btn {
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 30px #0002
}

.hamb {
    width: 24px;
    height: 18px;
    position: relative;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink)
}

.hamb:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 7px;
    border-top: 2px solid var(--ink)
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 32px), var(--max));
    margin: auto;
    padding: 180px 0 150px;
    display: flex;
    align-items: flex-start
}

.hero-copy {
    max-width: 620px
}

.hero-copy .eyebrow {
    margin-bottom: 24px
}

.hero h1 {
    font-size: clamp(3.3rem, 11vw, 7rem);
    font-weight: 300;
    line-height: .97;
    letter-spacing: -.065em;
    margin: 0
}

.hero h1 span {
    color: var(--teal2)
}

.hero-rule {
    width: 125px;
    border-top: 2px solid var(--teal);
    margin: 34px 0 26px
}

.hero-copy p {
    font-size: clamp(1rem, 2vw, 1.18rem);
    margin: 0 0 34px;
    line-height: 1.7
}

.hero-copy p strong {
    display: block;
    font-weight: 500
}

.hero-book {
    font-size: 1rem;
    padding: 17px 30px
}

.calendar {
    font-size: 21px
}

.location-card {
    position: absolute;
    z-index: 5;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100% - 32px), 1040px);
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
    border-radius: 28px 28px 0 0;
    padding: 23px 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    box-shadow: 0 -8px 35px #0001;
    backdrop-filter: blur(12px)
}

.loc-item {
    display: flex;
    align-items: center;
    gap: 20px
}

.loc-icon {
    width: 38px;
    height: 38px;
    color: var(--teal);
    font-size: 28px
}

.loc-title {
    font-size: 18px;
    font-weight: 700
}

.loc-text {
    font-size: 14px;
    color: #687277
}

.loc-phone {
    border-left: 1px solid #b9c9c7;
    padding-left: 34px;
    min-width: 250px
}

/* Header drawer */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: var(--cream);
    color: var(--ink);
    padding: 115px 28px 40px;
    transform: translateX(100%);
    transition: transform .65s cubic-bezier(.77, 0, .18, 1);
    overflow: auto
}

.drawer.open {
    transform: none
}

.drawer a {
    display: block;
    font-size: clamp(2.1rem, 8vw, 4rem);
    font-weight: 300;
    letter-spacing: -.05em;
    border-bottom: 1px solid var(--line);
    padding: 13px 0
}

.drawer .drawer-book {
    margin-top: 24px;
    border: 0;
    font-size: 1rem;
    font-weight: 700;
    text-align: center
}

.drawer-close {
    position: absolute;
    right: 28px;
    top: 26px
}

.drawer small {
    display: block;
    margin-top: 45px;
    color: var(--muted)
}

/* Desktop navigation */
.desktop-nav {
    display: none;
    color: var(--white);
}

@media(min-width:900px) {
    .topbar {
        padding: 20px 0
    }

    .topbar-inner {
        gap: 28px
    }

    .hero-logo {
        width: 215px;
        max-width: none
    }

    .menu-btn {
        display: none
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 26px;
        margin-left: auto
    }

    .desktop-nav a {
        font-size: 13px;
        font-weight: 650;
        color: var(--white);
        letter-spacing: .01em;
        transition: color .25s, transform .25s
    }

    .desktop-nav a:not(.desktop-book):hover {
        color: var(--teal);
        transform: translateY(-1px)
    }

    .desktop-nav .desktop-book {
        background: var(--teal);
        color: #fff;
        border-radius: 999px;
        padding: 12px 18px;
        box-shadow: 0 8px 22px rgba(40, 170, 166, .22)
    }

    .desktop-nav .desktop-book:hover {
        background: #1f9894;
        transform: translateY(-2px)
    }

    .drawer {
        display: none !important
    }

    .topbar[style*="background"] .desktop-nav a {
        color: var(--ink)
    }

    .topbar[style*="background"] .desktop-nav .desktop-book {
        color: #fff
    }

    body:not(.lock) .hero .topbar .desktop-nav a:not(.desktop-book) {
        color: #fff
    }
}

/* Home content */
.section {
    padding: 78px 0
}

.section-title {
    font-size: clamp(2.3rem, 7vw, 4rem);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: 1.05;
    margin: 10px 0 8px
}

.section-sub {
    margin: 0;
    color: #657176;
    font-size: 17px
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 28px 0 10px
}

.service-card {
    position: relative;
    width: 100%;
    height: 245px;
    border-radius: 22px;
    overflow: hidden;
    background: #333;
    cursor: pointer;
    border: 0;
    padding: 0;
    color: #fff;
    text-align: left
}

.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s
}

.service-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .02) 65%)
}

.service-card:hover img {
    transform: scale(1.08)
}

.service-name {
    position: absolute;
    z-index: 2;
    left: 15px;
    bottom: 18px;
    right: 50px;
    font-size: 14px;
    line-height: 1.45
}

.service-arrow {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--ink);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 23px
}

/* About preview */
.about-preview-section {
    padding-top: 58px;
    padding-bottom: 28px
}

.about-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    align-items: center
}

.about-preview-copy {
    order: 2
}

.about-preview-copy .section-title {
    max-width: 700px;
    margin-bottom: 20px
}

.about-preview-copy p {
    color: var(--muted);
    margin: 0 0 14px;
    max-width: 720px;
    font-size: 15px;
    line-height: 1.72
}

.about-preview-copy p strong {
    color: var(--ink)
}

.about-preview-photo {
    order: 1;
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    min-height: 330px;
    background: var(--deep)
}

.about-preview-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 1s cubic-bezier(.22, 1, .36, 1)
}

.about-preview-photo:hover img {
    transform: scale(1.035)
}

.about-preview-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(23, 43, 49, .18))
}

/* Campaigns */
.campaigns-section {
    padding-top: 25px
}

.campaign-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px
}

.campaign-controls {
    display: flex;
    gap: 8px;
    flex: 0 0 auto
}

.campaign-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font-size: 19px;
    transition: .25s
}

.campaign-controls button:hover {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
    transform: translateY(-2px)
}

.campaign-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 28px
}

.campaign-track {
    display: flex;
    transition: transform .7s cubic-bezier(.22, 1, .36, 1)
}

.campaign-slide {
    flex: 0 0 100%;
    padding: 0 1px
}

.instagram-frame {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    min-height: 610px;
    display: flex;
    align-items: flex-start;
    justify-content: center
}

.instagram-frame iframe {
    width: 100%;
    height: 620px;
    border: 0
}

.campaign-link {
    display: inline-flex;
    margin: 12px 0 0 5px;
    color: var(--teal);
    font-weight: 800;
    font-size: 14px
}

.campaign-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 18px
}

.campaign-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #c5d0cd;
    cursor: pointer;
    transition: .25s
}

.campaign-dot.active {
    width: 24px;
    border-radius: 10px;
    background: var(--teal)
}

.intro-card {
    margin-top: 42px;
    background: #eaf2ef;
    border-radius: 28px;
    padding: 32px;
    display: grid;
    gap: 30px
}

.intro-card h2 {
    font-size: clamp(2rem, 6vw, 3.7rem);
    font-weight: 350;
    letter-spacing: -.05em;
    margin: 0
}

.intro-card p {
    color: #667277
}

.split {
    display: grid;
    gap: 30px
}

.photo {
    border-radius: 28px;
    overflow: hidden;
    min-height: 360px
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.copy h2 {
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    font-weight: 350;
    letter-spacing: -.055em;
    line-height: 1.03
}

.copy p {
    color: #667277
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--teal);
    font-weight: 800;
    margin-top: 15px
}

.link-arrow span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    display: grid;
    place-items: center
}

.cta {
    background: var(--deep);
    color: #fff;
    border-radius: 32px;
    padding: 45px 30px
}

.cta h2 {
    font-weight: 300;
    font-size: clamp(2.4rem, 8vw, 5rem);
    letter-spacing: -.06em;
    line-height: 1
}

.footer {
    background: #22282a;
    color: #fff;
    padding: 55px 0 100px
}

.footer-logo {
    width: 210px;
    filter: brightness(0) invert(1);
    mix-blend-mode: screen
}

.footer p {
    color: #aeb8ba;
    font-size: 14px
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-top: 22px;
    font-size: 14px
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 20px
}

.social a {
    width: 36px;
    height: 36px;
    border: 1px solid #ffffff44;
    border-radius: 50%;
    display: grid;
    place-items: center
}

/* modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #08181bb5;
    backdrop-filter: blur(7px);
    display: none;
    align-items: flex-end;
    padding: 14px
}

.modal.open {
    display: flex
}

.modal-box {
    background: var(--cream);
    color: var(--ink);
    width: min(100%, 680px);
    max-height: 88svh;
    overflow: auto;
    border-radius: 28px;
    padding: 28px;
    animation: rise .5s cubic-bezier(.22, 1, .36, 1)
}

.modal-head {
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.modal h2 {
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 350;
    letter-spacing: -.05em;
    line-height: 1.05;
    margin: 8px 0
}

.close {
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e4efec;
    cursor: pointer;
    font-size: 25px
}

.modal-list {
    padding: 0;
    margin: 24px 0;
    list-style: none
}

.modal-list li {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px
}

.modal-list li:before {
    content: '✓';
    color: var(--teal);
    font-weight: 800;
    margin-right: 12px
}

/* other pages */
.page-hero {
    padding: 145px 0 70px;
    background: #eaf2ef
}

.page-hero h1 {
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 300;
    letter-spacing: -.06em;
    line-height: .95;
    margin: 12px 0
}

.cards {
    display: grid;
    gap: 16px
}

.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 26px
}

.info-card h2 {
    font-weight: 400;
    font-size: 2rem;
    letter-spacing: -.04em
}

.faq {
    border-top: 1px solid var(--line)
}

.faq-item {
    border-bottom: 1px solid var(--line)
}

.faq-q {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    text-align: left;
    font-weight: 700;
    cursor: pointer
}

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s
}

.faq-a>div {
    overflow: hidden
}

.faq-item.open .faq-a {
    grid-template-rows: 1fr
}

.faq-a p {
    padding: 0 30px 20px 0;
    color: #667277
}

.form-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    margin-top: 10px
}

.map {
    height: 350px;
    border: 0;
    width: 100%;
    border-radius: 26px
}

/* animations */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .9s, transform .9s cubic-bezier(.22, 1, .36, 1)
}

.reveal.show {
    opacity: 1;
    transform: none
}

.hero-copy>* {
    animation: heroIn .9s cubic-bezier(.22, 1, .36, 1) both
}

.hero-copy .eyebrow {
    animation-delay: .15s
}

.hero-copy h1 {
    animation-delay: .28s
}

.hero-copy .hero-rule {
    animation-delay: .42s
}

.hero-copy p {
    animation-delay: .52s
}

.hero-copy .hero-book {
    animation-delay: .65s
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.12)
    }

    to {
        transform: scale(1.035)
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(60px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(min-width:760px) {

    .container,
    .hero-content {
        width: min(calc(100% - 64px), var(--max))
    }

    .hero-content {
        padding-top: 210px
    }

    .hero h1 {
        font-size: clamp(4.5rem, 8vw, 7rem)
    }

    .services-grid {
        grid-template-columns: repeat(5, 1fr)
    }

    .service-card {
        height: 300px
    }

    .about-preview {
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
        gap: 70px
    }

    .about-preview-copy {
        order: 1
    }

    .about-preview-photo {
        order: 2;
        min-height: 430px
    }

    .intro-card {
        grid-template-columns: 1fr 1fr;
        padding: 45px
    }

    .split {
        grid-template-columns: 1fr 1fr;
        align-items: center
    }

    .cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .modal {
        align-items: center
    }

    .footer {
        padding-bottom: 60px
    }
}

@media(max-width:600px) {
    .campaign-head {
        align-items: flex-end
    }

    .campaign-controls button {
        width: 40px;
        height: 40px
    }

    .instagram-frame {
        min-height: 570px
    }

    .instagram-frame iframe {
        height: 580px
    }

    .hero-bg {
        background-position: 57% 18%
    }

    .hero-content {
        padding-top: 170px
    }

    .location-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 22px
    }

    .loc-phone {
        border-left: 0;
        border-top: 1px solid #b9c9c7;
        padding: 14px 0 0;
        min-width: 0
    }

    .hero-copy {
        max-width: 370px
    }

    .hero-copy p {
        line-height: 1.55
    }

    .hero-logo {
        width: 190px
    }

    .menu-btn {
        width: 56px;
        height: 56px
    }

    .section {
        padding: 62px 0
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important
    }
}