:root {
    color-scheme: light;
    --cyan: #01d1d6;
    --cyan-dark: #019fa3;
    --cyan-soft: #f2fcfd;
    --cyan-line: #c7f5f6;
    --pink: #ea5494;
    --pink-dark: #c93e78;
    --pink-soft: #fff5f9;
    --ink: #2a2a2a;
    --muted: #737373;
    --white: #fff;
    --radius-lg: 32px;
    --radius-md: 20px;
    --shadow: 0 18px 48px rgba(42, 42, 42, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    height: auto;
    max-width: 100%;
}

a {
    color: var(--cyan-dark);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

a:hover {
    color: var(--pink-dark);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 3px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.7rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.7rem);
}

h3 {
    font-size: 1.2rem;
}

.container {
    margin-inline: auto;
    max-width: 1160px;
    padding-inline: 24px;
    width: 100%;
}

.sr-only,
.skip-link:not(:focus) {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.skip-link:focus {
    background: var(--white);
    border-radius: 12px;
    left: 16px;
    padding: 12px 16px;
    position: fixed;
    top: 16px;
    z-index: 2000;
}

.site-header {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--cyan-line);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    min-height: 86px;
    position: relative;
}

.site-logo {
    flex: 0 1 270px;
}

.site-logo img {
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
    width: 100%;
}

.site-nav {
    align-items: center;
    display: flex;
    gap: 4px;
}

.site-nav a {
    border-radius: 999px;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 700;
    padding: 10px 14px;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: var(--cyan-soft);
    color: var(--cyan-dark);
}

.nav-toggle {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--cyan-line);
    border-radius: 14px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    height: 46px;
    justify-content: center;
    padding: 0;
    width: 48px;
}

.nav-toggle > span:not(.sr-only) {
    background: var(--cyan-dark);
    border-radius: 2px;
    height: 2px;
    width: 20px;
}

.hero {
    background: linear-gradient(135deg, var(--cyan-soft), var(--pink-soft));
    overflow: hidden;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(32px, 6vw, 76px);
    grid-template-columns: 1.05fr .95fr;
    min-height: 600px;
    padding-bottom: 72px;
    padding-top: 72px;
}

.eyebrow {
    color: var(--cyan-dark);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 20px;
    max-width: 680px;
}

.hero h1 span {
    color: var(--pink);
}

.hero-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 590px;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: .94rem;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    text-align: center;
}

.button-primary {
    background: var(--pink);
    box-shadow: 0 9px 22px rgba(234, 84, 148, .22);
    color: var(--white);
}

.button-primary:hover {
    background: var(--pink-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.button-secondary {
    background: rgba(255, 255, 255, .72);
    border-color: var(--cyan-line);
    color: var(--ink);
}

.button-secondary:hover {
    background: var(--white);
    border-color: var(--cyan);
    color: var(--cyan-dark);
}

.hero-visual {
    min-width: 0;
    position: relative;
}

.hero-visual::before,
.hero-visual::after {
    border-radius: 50%;
    content: "";
    position: absolute;
}

.hero-visual::before {
    background: var(--pink);
    height: 72px;
    right: -14px;
    top: -20px;
    width: 72px;
}

.hero-visual::after {
    background: var(--cyan);
    bottom: 8%;
    height: 48px;
    left: -20px;
    width: 48px;
}

.hero-photo-frame {
    background: var(--white);
    border: 8px solid rgba(255, 255, 255, .8);
    border-radius: 36px;
    box-shadow: 0 22px 50px rgba(1, 159, 163, .16);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero-photo-frame img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.hero-caption {
    background: rgba(255, 255, 255, .95);
    border: 1px solid var(--cyan-line);
    border-radius: 18px;
    bottom: -22px;
    box-shadow: var(--shadow);
    left: 7%;
    padding: 15px 20px;
    position: absolute;
    z-index: 2;
}

.hero-caption strong,
.hero-caption span {
    display: block;
}

.hero-caption span {
    color: var(--muted);
    font-size: .84rem;
    margin-top: 2px;
}

.section {
    padding: 88px 0;
}

.section-soft {
    background: var(--cyan-soft);
}

.section-heading {
    margin: 0 auto 38px;
    max-width: 730px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted);
    margin-bottom: 0;
}

.service-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
    background: var(--white);
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 32px rgba(42, 42, 42, .05);
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: box-shadow .2s ease, transform .2s ease;
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-card img {
    align-self: center;
    height: 170px;
    margin-bottom: 18px;
    object-fit: contain;
    width: 100%;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    flex: 1;
    font-size: .94rem;
    margin-bottom: 16px;
}

.text-link {
    align-items: center;
    display: inline-flex;
    font-size: .92rem;
    font-weight: 700;
    gap: 7px;
}

.cta-panel {
    align-items: center;
    background: linear-gradient(110deg, var(--cyan), var(--pink));
    border-radius: var(--radius-lg);
    color: var(--white);
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-top: 50px;
    padding: clamp(24px, 4vw, 42px);
}

.cta-panel h2,
.cta-panel p {
    color: var(--white);
}

.cta-panel h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 8px;
}

.cta-panel p {
    margin: 0;
    opacity: .92;
}

.cta-panel .button {
    background: var(--white);
    color: var(--pink-dark);
    flex: 0 0 auto;
}

.cta-panel + .section-heading {
    margin-top: clamp(60px, 7vw, 84px);
    position: relative;
}

.cta-panel + .section-heading::before,
.cta-panel + .section-heading::after {
    content: "";
    left: 50%;
    position: absolute;
}

.cta-panel + .section-heading::before {
    background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
    height: 2px;
    top: -36px;
    transform: translateX(-50%);
    width: 70%;
    max-width: 220px;
}

.cta-panel + .section-heading::after {
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    border: 4px solid var(--white);
    border-radius: 50%;
    height: 12px;
    top: -41px;
    transform: translateX(-50%);
    width: 12px;
}

.page-hero {
    background: linear-gradient(135deg, var(--cyan-soft), var(--pink-soft));
    padding: 64px 0;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 12px;
}

.page-hero p:last-child {
    color: var(--muted);
    margin-bottom: 0;
    max-width: 720px;
}

.about-grid {
    align-items: start;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(260px, .75fr) 1.25fr;
}

.about-photo {
    border: 8px solid var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: sticky;
    top: 112px;
}

.about-photo img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
}

.about-copy p {
    color: var(--muted);
}

.credential-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
}

.credential-list li {
    background: var(--cyan-soft);
    border: 1px solid var(--cyan-line);
    border-radius: 14px;
    color: var(--ink);
    padding: 12px 16px;
}

.treatment-list {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.treatment-card {
    background: var(--white);
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 32px rgba(42, 42, 42, .05);
    min-width: 0;
    overflow: hidden;
}

.treatment-card__top {
    align-items: center;
    background: linear-gradient(135deg, var(--cyan-soft), var(--pink-soft));
    display: flex;
    gap: 18px;
    min-height: 150px;
    padding: 22px;
}

.treatment-card__top img {
    flex: 0 0 112px;
    height: 112px;
    object-fit: contain;
    width: 112px;
}

.treatment-card__top h2 {
    font-size: 1.25rem;
    margin: 0;
}

.treatment-card__body {
    padding: 22px 24px 24px;
}

.treatment-card__body > p {
    color: var(--muted);
    font-size: .94rem;
}

.treatment-card details {
    border-top: 1px solid var(--cyan-line);
    margin-top: 18px;
    padding-top: 14px;
}

.treatment-card summary {
    color: var(--cyan-dark);
    cursor: pointer;
    font-size: .92rem;
    font-weight: 700;
}

.treatment-card details p,
.treatment-card details li {
    color: var(--muted);
    font-size: .92rem;
}

.treatment-card details ul {
    padding-left: 20px;
}

.notice {
    background: var(--pink-soft);
    border: 1px solid #f7c7da;
    border-radius: 16px;
    color: var(--muted);
    margin-top: 28px;
    padding: 18px 20px;
}

.location-card {
    background: var(--white);
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 32px rgba(42, 42, 42, .05);
    margin-bottom: 28px;
    padding: clamp(22px, 4vw, 38px);
}

.location-card__heading {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.location-card h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    margin-bottom: 8px;
}

.location-address {
    color: var(--muted);
    margin-bottom: 0;
}

.location-map {
    align-items: center;
    background: var(--cyan);
    border-radius: 999px;
    color: var(--white);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .9rem;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    padding: 12px 18px;
}

.location-map:hover {
    background: var(--cyan-dark);
    color: var(--white);
}

.location-gallery {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
}

.location-gallery img {
    aspect-ratio: 4 / 3;
    border: 1px solid var(--cyan-line);
    border-radius: 18px;
    object-fit: cover;
    width: 100%;
}

.location-card--osteomed {
    align-items: center;
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.osteomed-link {
    align-items: center;
    display: flex;
    flex: 0 1 260px;
    flex-direction: column;
    font-weight: 700;
    gap: 10px;
    text-align: center;
}

.osteomed-link img {
    max-width: 210px;
    width: 100%;
}

.contact-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--cyan-line);
    border-radius: var(--radius-md);
    padding: 24px;
}

.contact-card h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.contact-card p {
    color: var(--muted);
    margin-bottom: 10px;
}

.contact-card a {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.contact-section-heading {
    margin-top: 56px;
}

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .78);
    padding: 52px 0 18px;
}

.footer-grid {
    display: grid;
    gap: 38px;
    grid-template-columns: 1.5fr 1fr 1fr;
}

.footer-brand img {
    background: var(--white);
    border-radius: 12px;
    max-height: 58px;
    object-fit: contain;
    padding: 4px 8px;
    width: 220px;
}

.footer-brand p {
    font-size: .9rem;
    margin: 14px 0 0;
    max-width: 300px;
}

.site-footer h2 {
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li + li {
    margin-top: 7px;
}

.footer-links a {
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .16);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    margin-top: 38px;
    padding-top: 18px;
}

.footer-bottom p {
    font-size: .78rem;
    margin: 0;
}

@media (max-width: 860px) {
    .header-inner {
        gap: 14px;
        min-height: 74px;
    }

    .site-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-logo img {
        max-height: 56px;
        max-width: 250px;
    }

    .nav-toggle {
        display: flex;
        flex: 0 0 auto;
    }

    .site-nav {
        align-items: stretch;
        background: var(--white);
        border: 1px solid var(--cyan-line);
        border-radius: 18px;
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        gap: 4px;
        left: 16px;
        padding: 10px;
        position: absolute;
        right: 16px;
        top: calc(100% + 8px);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        border-radius: 12px;
        padding: 12px 14px;
    }

    .hero-grid {
        gap: 36px;
        grid-template-columns: 1fr 1fr;
        min-height: 0;
        padding-bottom: 60px;
        padding-top: 60px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .location-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body {
        font-size: 15px;
    }

    .container {
        padding-inline: 18px;
    }

    .section {
        padding: 62px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-bottom: 56px;
        padding-top: 46px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 12vw, 3.4rem);
    }

    .hero-visual {
        margin: 0 10px 24px;
    }

    .hero-photo-frame {
        border-radius: 26px;
    }

    .hero-caption {
        left: 5%;
    }

    .service-grid,
    .treatment-list,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }

    .service-card img {
        height: 150px;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-hero {
        padding: 44px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-photo {
        margin: 0 auto;
        max-width: 440px;
        position: static;
        width: 100%;
    }

    .about-photo img {
        aspect-ratio: 4 / 3;
    }

    .treatment-card__top {
        gap: 12px;
        min-height: 120px;
        padding: 16px;
    }

    .treatment-card__top img {
        flex-basis: 84px;
        height: 84px;
        width: 84px;
    }

    .treatment-card__body {
        padding: 18px;
    }

    .location-card__heading,
    .location-card--osteomed {
        align-items: flex-start;
        flex-direction: column;
    }

    .location-gallery {
        gap: 10px;
    }

    .location-gallery img {
        aspect-ratio: 1;
        border-radius: 14px;
    }

    .osteomed-link {
        align-self: center;
        flex-basis: auto;
        max-width: 240px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
