:root {
    --color-ink: #17313a;
    --color-muted: #60727a;
    --color-surface: #ffffff;
    --color-soft: #eef7f5;
    --color-soft-2: #f7fbfa;
    --color-primary: #0f8f85;
    --color-primary-dark: #09675f;
    --color-accent: #d8a75f;
    --color-border: #d7e5e2;
    --shadow-soft: 0 18px 50px rgba(23, 49, 58, .12);
    --shadow-lift: 0 28px 70px rgba(23, 49, 58, .16);
    --radius: 8px;
    --radius-lg: 8px;
    --container: 1160px;
    --space-section: clamp(4rem, 8vw, 7rem);
    --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-size-hero-title: clamp(2.65rem, 4.25vw, 4.35rem);
    --font-size-hero-title-mobile: clamp(2.05rem, 9vw, 2.45rem);
    --font-size-nav: 1.05rem;
    --font-size-button: 1.05rem;
    --font-weight-nav: 700;
    --font-weight-button: 700;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--color-ink);
    background: var(--color-surface);
    line-height: 1.6;
}
body.lightbox-open { overflow: hidden; }
img { max-width: 100%; display: block; }
.image-natural,
.image-natural img {
    filter: none;
}
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(15, 143, 133, .35); outline-offset: 3px; }

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}
.section { padding-block: var(--space-section); }
.section-soft { background: linear-gradient(180deg, var(--color-soft-2), var(--color-soft)); }
.section-dark { color: #ffffff; background: var(--color-ink); }
.skip-link {
    position: absolute;
    left: 1rem;
    top: .75rem;
    z-index: 100;
    transform: translateY(-150%);
    background: var(--color-ink);
    color: #fff;
    padding: .7rem 1rem;
    border-radius: var(--radius);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid rgba(215, 229, 226, .8);
}
.header-layout {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    flex: 0 0 auto;
}
.brand-logo {
    width: min(260px, 58vw);
    height: auto;
}
.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; }
.brand-text span { color: var(--color-muted); font-size: .88rem; }
.site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .25rem;
}
.site-nav a {
    text-decoration: none;
    color: var(--color-ink);
    font-weight: var(--font-weight-nav);
    font-size: var(--font-size-nav);
    padding: .7rem .85rem;
    border-radius: var(--radius);
}
.site-nav a:hover { background: var(--color-soft); color: var(--color-primary-dark); }
.nav-toggle { display: none; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: .95rem 1.4rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-weight: var(--font-weight-button);
    font-size: var(--font-size-button);
    line-height: 1.15;
    box-shadow: 0 10px 24px rgba(15, 143, 133, .22);
}
.button:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.button-secondary {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .5);
    box-shadow: none;
}
.button-secondary:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.button-small { min-height: 42px; padding: .65rem .95rem; }

.hero {
    position: relative;
    min-height: 640px;
    display: grid;
    align-items: center;
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 38, 45, .78) 0%, rgba(13, 38, 45, .62) 34%, rgba(13, 38, 45, .28) 58%, rgba(13, 38, 45, 0) 82%);
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 44%;
}
.hero-content {
    position: relative;
    z-index: 1;
    padding-block: 6rem;
}
.eyebrow {
    margin: 0 0 .85rem;
    color: var(--color-primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .08em;
}
.section-dark .eyebrow { color: #9ce1d9; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { max-width: 760px; font-size: var(--font-size-hero-title); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.25rem; }
.hero-lead {
    max-width: 700px;
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1.16rem, 2vw, 1.38rem);
    font-weight: 520;
    line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.split-grid, .feature-layout, .clinic-layout, .contact-grid, .cta-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.rich-text p, .section-heading p, .clinic-copy p, .feature-panel p, .feature-item p, .card p, .contact-section p, .cta-layout p, .site-footer p {
    color: var(--color-muted);
    margin: 1rem 0 0;
}
.team-section {
    position: relative;
    overflow: hidden;
    padding-top: clamp(3.5rem, 6vw, 5.5rem);
    background: linear-gradient(135deg, #ffffff 0%, var(--color-soft-2) 48%, #e8f4f2 100%);
}
.team-section::before {
    content: "";
    position: absolute;
    right: max(1rem, calc((100vw - var(--container)) / 2));
    bottom: -7rem;
    width: min(34rem, 70vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(15, 143, 133, .09);
}
.team-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}
.team-copy {
    max-width: 620px;
}
.team-copy p {
    color: var(--color-muted);
    margin: 1rem 0 0;
}
.team-portrait {
    position: relative;
    margin: 0;
    align-self: end;
    min-height: 460px;
    display: grid;
    align-items: end;
}
.team-portrait::before {
    content: "";
    position: absolute;
    inset: 14% 2% 0 8%;
    border-radius: 52% 48% 8px 8px;
    background: linear-gradient(180deg, #ffffff 0%, #dcedea 100%);
    border: 1px solid rgba(215, 229, 226, .9);
    box-shadow: var(--shadow-lift);
}
.team-portrait img {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    height: auto;
    justify-self: center;
    filter: drop-shadow(0 18px 24px rgba(23, 49, 58, .14));
}
.section-heading {
    max-width: var(--container);
    margin-bottom: 2.25rem;
    text-align: left;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.card {
    min-height: 260px;
    padding: 1.35rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 49, 58, .06);
}
.card-icon {
    display: inline-flex;
    margin-bottom: 1.4rem;
    color: var(--color-primary-dark);
    font-weight: 850;
}
.treatments-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, .9fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 1rem;
}
.treatment-card {
    --treatment-orb-color: rgba(15, 143, 133, .055);
    position: relative;
    min-height: 220px;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    align-content: start;
    gap: .85rem;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 1.8rem);
    border: 1px solid rgba(215, 229, 226, .9);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 12px 34px rgba(23, 49, 58, .08);
}
.treatments-grid .treatment-card:nth-child(1) { --animate-delay: 0ms; }
.treatments-grid .treatment-card:nth-child(2) { --animate-delay: 90ms; }
.treatments-grid .treatment-card:nth-child(3) { --animate-delay: 180ms; }
.treatments-grid .treatment-card:nth-child(4) { --animate-delay: 270ms; }
.treatments-grid .treatment-card:nth-child(5) { --animate-delay: 360ms; }
.treatment-card::before {
    content: "";
    position: absolute;
    inset: auto -2rem -3.5rem auto;
    width: 11rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--treatment-orb-color);
}
.treatment-card::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.4rem;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(15, 143, 133, .22);
    background: rgba(255, 255, 255, .55);
}
.treatment-card-featured {
    --treatment-orb-color: rgba(255, 255, 255, .08);
    grid-row: span 2;
    grid-template-rows: auto auto auto auto;
    min-height: 456px;
    align-content: end;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(15, 143, 133, .96), rgba(9, 103, 95, .94)),
        var(--color-primary);
    box-shadow: var(--shadow-lift);
}
.treatment-card-featured::before {
    width: 18rem;
}
.treatment-card h3,
.treatment-card p,
.treatment-card .text-link,
.treatment-tag {
    position: relative;
    z-index: 1;
}
.treatment-card h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}
.treatment-card p {
    max-width: 32rem;
    color: var(--color-muted);
    margin: 0;
}
.treatment-card .text-link {
    align-self: end;
    margin-top: .45rem;
}
.treatment-card-featured p,
.treatment-card-featured .text-link {
    color: rgba(255, 255, 255, .86);
}
.treatment-card-featured .text-link {
    text-decoration-color: rgba(255, 255, 255, .7);
}
.treatment-tag {
    align-self: flex-start;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
    margin-bottom: .25rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: var(--color-soft);
    font-size: .82rem;
    font-weight: 800;
}
.treatment-card-featured .treatment-tag {
    color: #fff;
    background: rgba(255, 255, 255, .16);
}
.treatment-card-cta {
    --treatment-orb-color: rgba(216, 167, 95, .12);
    grid-template-rows: auto 1fr auto;
    border-color: rgba(216, 167, 95, .42);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(238, 247, 245, .92)),
        #fff;
}
.treatment-card-cta h3 {
    color: var(--color-primary-dark);
}
.treatment-card-cta .text-link {
    color: var(--color-primary-dark);
}

.clinic-section {
    background: #fff;
    overflow: hidden;
}
.clinic-layout {
    align-items: center;
}
.clinic-copy {
    max-width: 620px;
}
.clinic-gallery {
    position: relative;
    min-height: 540px;
}
.clinic-photo {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(215, 229, 226, .9);
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.clinic-photo::before,
.clinic-photo::after {
    pointer-events: none;
}
.clinic-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.clinic-gallery-trigger {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: zoom-in;
    font: inherit;
    overflow: hidden;
}
.clinic-gallery-trigger[hidden] {
    display: none;
}
.clinic-gallery-trigger img {
    transition: transform .35s ease;
}
.clinic-gallery-trigger:hover img,
.clinic-gallery-trigger:focus-visible img {
    transform: scale(1.025);
}
.clinic-photo-main {
    position: relative;
    z-index: 3;
    width: min(80%, 640px);
    margin: 2.5rem 0 0 auto;
    aspect-ratio: 16 / 10;
    box-shadow: var(--shadow-lift);
}
.clinic-photo-secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 4;
    width: min(54%, 360px);
    aspect-ratio: 16 / 11;
    box-shadow: var(--shadow-lift);
}
.clinic-photo-tertiary {
    position: absolute;
    bottom: 2.75rem;
    left: -2rem;
    z-index: 2;
    width: min(60%, 450px);
    aspect-ratio: 16 / 10;
}

.lightbox[hidden] {
    display: none;
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(8, 22, 27, .86);
}
.lightbox-dialog {
    --lightbox-control-gap: clamp(1.5rem, 2.5vw, 2rem);
    position: relative;
    width: min(92vw, 1500px);
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    column-gap: var(--lightbox-control-gap);
}
.lightbox-figure {
    grid-column: 2;
    display: grid;
    place-items: center;
    min-width: 0;
    margin: 0;
}
.lightbox-figure img {
    max-width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}
.lightbox-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}
.lightbox-button-icon {
    display: block;
    width: 22px;
    height: 22px;
    line-height: 0;
    pointer-events: none;
}
.lightbox-button-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lightbox-button:hover,
.lightbox-button:focus-visible {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .46);
    transform: translateY(-1px);
}
.lightbox-close {
    position: absolute;
    top: -3.5rem;
    right: 0;
}
.lightbox-prev {
    grid-column: 1;
    justify-self: end;
}
.lightbox-next {
    grid-column: 3;
    justify-self: start;
}

.tech-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 18%, rgba(15, 143, 133, .1), transparent 26rem),
        linear-gradient(180deg, #fff 0%, var(--color-soft-2) 100%);
}
.tech-section::before {
    content: "";
    position: absolute;
    inset: 12% auto auto max(1rem, calc((100vw - var(--container)) / 2));
    width: 11rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(15, 143, 133, .34), transparent);
    pointer-events: none;
}
.tech-layout {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
}
.tech-copy {
    max-width: 850px;
}
.tech-copy p,
.tech-point p {
    color: var(--color-muted);
    margin: 1rem 0 0;
}
.tech-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.tech-point {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 210px;
    padding: clamp(1.35rem, 2.3vw, 1.75rem);
    border: 1px solid rgba(215, 229, 226, .9);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 251, 250, .92)),
        #fff;
    box-shadow: 0 12px 34px rgba(23, 49, 58, .07);
}
.tech-point::before {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 2rem;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(15, 143, 133, .2);
    background: rgba(15, 143, 133, .055);
}
.tech-point h3 {
    font-size: clamp(1.18rem, 1.7vw, 1.35rem);
}
.tech-brands {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .9rem;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: clamp(1rem, 2.2vw, 1.35rem);
    border: 1px solid rgba(215, 229, 226, .92);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(238, 247, 245, .72)),
        #fff;
    box-shadow: 0 18px 50px rgba(23, 49, 58, .08);
}
.tech-brand-card {
    display: flex;
    min-height: 5.4rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: .9rem;
    border: 1px solid rgba(215, 229, 226, .78);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .9);
}
.tech-brand-logo {
    width: auto;
    height: auto;
    max-width: 160px;
    max-height: 58px;
    object-fit: contain;
}

.trust-section { background: #fff; }
.feature-panel {
    position: sticky;
    top: 110px;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--color-soft-2);
    border: 1px solid var(--color-border);
}
.text-link {
    display: inline-flex;
    margin-top: 1.25rem;
    color: var(--color-primary-dark);
    font-weight: 800;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.feature-list { display: grid; gap: 1rem; }
.feature-item {
    padding: 1.5rem;
    border-left: 4px solid var(--color-primary);
    background: var(--color-soft-2);
    border-radius: var(--radius-lg);
}

.cta-band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 82% 44%, rgba(156, 225, 217, .18), transparent 32%),
        linear-gradient(135deg, var(--color-ink), #0a5f59);
}
.cta-band::before {
    content: "";
    position: absolute;
    right: max(1rem, calc((100vw - var(--container)) / 2 + 1rem));
    bottom: 18%;
    z-index: 0;
    width: min(28vw, 320px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent);
    pointer-events: none;
}
.cta-layout {
    position: relative;
    z-index: 1;
    align-items: center;
}
.cta-layout p { color: rgba(255, 255, 255, .78); }
.cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    justify-content: flex-end;
}
.contact-card {
    display: grid;
    gap: .55rem;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--color-soft-2);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    font-style: normal;
}
.contact-card strong { font-size: 1.2rem; }
.contact-card a { color: var(--color-primary-dark); font-weight: 750; }
.contact-map {
    width: 100%;
    height: clamp(220px, 24vw, 270px);
    margin-top: .75rem;
    border: 0;
    border-radius: var(--radius);
}

.site-footer {
    padding-block: 3rem 1.5rem;
    color: rgba(255, 255, 255, .82);
    background: #102a31;
}
.site-footer a { color: inherit; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .8fr .8fr;
    gap: 2rem;
}
.footer-brand-symbol {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 auto;
}
.footer-brand-text strong {
    color: #fff;
    font-size: 1.08rem;
}
.brand-footer .brand-text span { color: rgba(255, 255, 255, .68); }
.site-footer h2 { font-size: 1rem; margin-bottom: .8rem; color: #fff; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .14);
}
.footer-bottom p { margin: 0; }

[data-animate] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--animate-delay, 0ms);
    will-change: opacity, transform;
}
[data-animate="from-left"] { transform: translate3d(-34px, 18px, 0); }
[data-animate="from-right"] { transform: translate3d(34px, 18px, 0); }
[data-animate].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .clinic-gallery-trigger img,
    .lightbox-button {
        transition: none;
    }
    .clinic-gallery-trigger:hover img,
    .clinic-gallery-trigger:focus-visible img,
    .lightbox-button:hover,
    .lightbox-button:focus-visible {
        transform: none;
    }
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

@media (max-width: 960px) {
    .header-cta { display: none; }
    .nav-toggle {
        margin-left: auto;
        width: 44px;
        height: 44px;
        display: inline-grid;
        place-items: center;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        background: #fff;
    }
    .nav-toggle-line, .nav-toggle-line::before, .nav-toggle-line::after {
        content: "";
        display: block;
        width: 20px;
        height: 2px;
        background: var(--color-ink);
        position: relative;
    }
    .nav-toggle-line::before { position: absolute; top: -6px; }
    .nav-toggle-line::after { position: absolute; top: 6px; }
    .site-nav {
        position: absolute;
        inset: 84px 1rem auto 1rem;
        display: none;
        margin: 0;
        padding: .75rem;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-lg);
        background: #fff;
        box-shadow: var(--shadow-soft);
    }
    .site-nav.is-open { display: grid; }
    .site-nav a { padding: .9rem; }
    .hero { min-height: 600px; }
    .split-grid, .team-layout, .feature-layout, .clinic-layout, .contact-grid, .cta-layout { grid-template-columns: 1fr; }
    .team-copy { max-width: none; }
    .team-portrait { min-height: 360px; }
    .team-portrait img { width: min(100%, 500px); }
    .clinic-copy { max-width: none; }
    .clinic-gallery { min-height: 430px; }
    .clinic-photo-main {
        width: 78%;
        margin-top: 2rem;
    }
    .clinic-photo-secondary { width: 48%; }
    .clinic-photo-tertiary {
        bottom: 2.75rem;
        left: -1rem;
        width: 56%;
    }
    .tech-copy { max-width: none; }
    .tech-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tech-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lightbox-dialog {
        width: min(100%, 920px);
    }
    [data-animate="from-left"],
    [data-animate="from-right"] {
        transform: translate3d(0, 24px, 0);
    }
    .feature-panel { position: static; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .treatments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: auto;
    }
    .treatment-card-featured {
        grid-column: span 2;
        grid-row: auto;
        min-height: 320px;
    }
    .cta-band::before { width: 12rem; }
    .cta-actions { justify-content: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 1.25rem, var(--container)); }
    .brand-logo { width: min(210px, 58vw); }
    .hero { min-height: auto; }
    .hero-content { padding-block: 5rem 3rem; }
    .hero-media::after { background: linear-gradient(90deg, rgba(13, 38, 45, .9) 0%, rgba(13, 38, 45, .74) 58%, rgba(13, 38, 45, .36) 100%); }
    .hero h1 { font-size: var(--font-size-hero-title-mobile); }
    .hero-lead { font-size: 1.08rem; }
    .team-portrait {
        min-height: 300px;
        margin-top: .5rem;
    }
    .team-portrait::before { inset: 18% 0 0; }
    .team-portrait img { width: min(100%, 390px); }
    .clinic-gallery {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }
    .clinic-photo-main,
    .clinic-photo-secondary,
    .clinic-photo-tertiary {
        position: static;
        width: 100%;
        aspect-ratio: 16 / 10;
    }
    .clinic-photo-main {
        margin-left: 0;
        margin-top: 0;
    }
    .lightbox {
        padding: 1rem;
    }
    .lightbox-dialog {
        grid-template-columns: 1fr 1fr;
        gap: .75rem;
    }
    .lightbox-figure {
        grid-column: 1 / -1;
        order: 1;
    }
    .lightbox-figure img {
        max-width: 92vw;
        max-height: 80vh;
    }
    .lightbox-prev,
    .lightbox-next {
        width: 100%;
        max-width: 8rem;
        justify-self: center;
        order: 2;
    }
    .lightbox-prev { grid-column: 1; }
    .lightbox-next { grid-column: 2; }
    .lightbox-close {
        top: -3.25rem;
        right: 0;
    }
    .tech-points {
        grid-template-columns: 1fr;
        gap: .75rem;
    }
    .tech-point {
        min-height: auto;
        padding: 1.15rem;
    }
    .tech-point h3 {
        padding-right: 2.3rem;
    }
    .tech-brands {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .6rem;
        padding: .65rem;
    }
    .tech-brand-card {
        min-height: 4.5rem;
        padding: .7rem;
    }
    .tech-brand-logo {
        max-width: 128px;
        max-height: 46px;
    }
    .card-grid { grid-template-columns: 1fr; }
    .treatments-grid { grid-template-columns: 1fr; }
    .treatment-card,
    .treatment-card-featured {
        grid-column: auto;
        min-height: auto;
    }
    .cta-band::before { display: none; }
    .card { min-height: auto; }
    .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
}
