:root {
    --mv-pink: #ea098d;
    --mv-purple: #92278f;
    --mv-purple-dark: #7a2078;
    --mv-purple-deep: #5c185c;
    --mv-magenta: #ea098d;
    --mv-blush: #fdeef6;
    --mv-blush-deep: #f8d5ea;
    --mv-ink: #333333;
    --mv-soft: #444444;
    --mv-line: #f0d4e6;
    --mv-paper: #fdf7fa;
    --mv-gradient: linear-gradient(90deg, #ea098d 0%, #ba1c8d 50%, #92278f 100%);
    --mv-font: "Nunito", "Segoe UI", sans-serif;
    --bs-primary: #92278f;
    --bs-primary-rgb: 146, 39, 143;
    --bs-body-color: #333333;
    --bs-body-font-family: var(--mv-font);
    --bs-link-color: #92278f;
    --bs-link-hover-color: #7a2078;
    --bs-link-color-rgb: 146, 39, 143;
    --bs-link-hover-color-rgb: 122, 32, 120;
    --bs-border-radius: 1rem;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 7rem;
}

body {
    color: var(--mv-ink);
    background: #fff;
}

h1, h2, h3, .navbar-brand {
    letter-spacing: -0.03em;
}

h1, h2, h3 {
    color: #2a1228;
    font-weight: 800;
}

p {
    line-height: 1.65;
}

a {
    color: var(--mv-purple);
    text-underline-offset: 0.15em;
}

a:hover {
    color: var(--mv-purple-dark);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: #fff;
    color: var(--mv-purple);
    font-weight: 800;
    padding: 0.6rem 1rem;
    border-radius: 0.6rem;
}

.skip-link:focus {
    top: 0.75rem;
}

body.is-loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    background: #fff;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader img {
    width: min(16rem, 62vw);
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    .page-loader {
        display: none;
    }

    body.is-loading {
        overflow: auto;
    }
}

:focus-visible {
    outline: 3px solid var(--mv-purple);
    outline-offset: 3px;
}

.topbar {
    background: var(--mv-gradient);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
}

.topbar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    min-height: 2.7rem;
    padding: 0.35rem 0;
}

.topbar-hours,
.topbar-phones a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}

.topbar a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.topbar-num {
    font-weight: 800;
}

.topbar a:focus-visible,
.footer-base a:focus-visible {
    outline-color: #fff;
}

.brand-line {
    height: 4px;
    background: var(--mv-gradient);
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 28px rgba(146, 39, 143, 0.1);
}

.site-header .navbar {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.navbar-brand {
    margin-right: 0.75rem;
    padding-top: 0;
    padding-bottom: 0;
}

.logo-full {
    display: block;
    width: auto;
    height: 54px;
}

.navbar-toggler {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #e4c9de;
    border-radius: 50%;
    background: #fff;
    color: var(--mv-purple);
    font-size: 1.55rem;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(146, 39, 143, 0.08);
}

.navbar-toggler:focus {
    box-shadow: 0 6px 16px rgba(146, 39, 143, 0.08);
}

.navbar-toggler .bi {
    display: block;
}

.navbar-toggler .bi-x-lg {
    display: none;
    font-size: 1.2rem;
}

.navbar-toggler[aria-expanded="true"] .bi-list {
    display: none;
}

.navbar-toggler[aria-expanded="true"] .bi-x-lg {
    display: block;
}

.navbar .nav-link {
    color: var(--mv-ink);
    font-weight: 800;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar .dropdown-toggle.show {
    color: var(--mv-purple);
    background: var(--mv-blush);
}

.navbar .dropdown-toggle {
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.navbar .dropdown-toggle::after {
    margin-left: 0.4rem;
    vertical-align: 0.12em;
}

.navbar .dropdown-menu {
    z-index: 20;
    min-width: 16.5rem;
    margin-top: 0.45rem;
    padding: 0.4rem;
    border: 1px solid var(--mv-line);
    border-radius: 1rem;
    box-shadow: 0 14px 30px rgba(146, 39, 143, 0.12);
}

.navbar .dropdown-item {
    border-radius: 999px;
    color: var(--mv-ink);
    font-weight: 800;
    padding: 0.55rem 0.95rem;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    color: var(--mv-purple);
    background: var(--mv-blush);
}

@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu,
    .navbar .nav-item.dropdown:has(:focus-visible) > .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -0.55rem;
        right: 0;
        left: 0;
        height: 0.55rem;
    }
}

.btn-mv,
.btn-mv-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.2;
}

.btn-mv {
    background: var(--mv-gradient);
    border: 0;
    color: #fff;
    padding: calc(0.5rem + 2px) calc(1.15rem + 2px);
}

.btn-mv:hover,
.btn-mv:focus-visible {
    filter: brightness(0.94);
    color: #fff;
}

.btn-mv:focus-visible {
    outline-color: #333;
}

.btn-mv-outline {
    background: #fff;
    border: 2px solid var(--mv-purple);
    color: var(--mv-purple);
}

.btn-mv-outline:hover,
.btn-mv-outline:focus-visible {
    background: var(--mv-blush);
    color: var(--mv-purple-dark);
    border-color: var(--mv-purple-dark);
}

.hero-slider {
    position: relative;
    color: #fff;
}

.hero-slider h2,
.hero-slider p,
.hero-slider .lead {
    color: #fff;
}

.hero-slider .kicker {
    color: #f8eef5;
}

.hero-slider h2 {
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    line-height: 1.12;
    max-width: 16em;
}

.hero-slider .lead {
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-slide {
    position: relative;
    z-index: 1;
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2.4rem 0 3rem;
}

.hero-slide > .row {
    width: 100%;
    flex: 1 0 100%;
}

.hero-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
}

.hero-actions .btn {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .hero-actions .btn {
        font-size: 0.92rem;
        padding: 0.45rem 0.75rem;
    }
}

.hero-slider .carousel-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1024 / 585;
    background: var(--mv-gradient);
}

.slide-pediatrics.has-banner,
.slide-fertility.has-banner,
.slide-maternity.has-banner,
.slide-welcome.has-banner {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    aspect-ratio: 1024 / 441;
}

.slide-pediatrics.has-banner {
    background-image: url("../images/pediatrics-banner-bg.png");
}

.slide-fertility.has-banner {
    background-image: url("../images/fertility-banner-bg.png");
}

.slide-maternity.has-banner {
    background-image: url("../images/maternity-banner-bg.png");
}

.banner-line {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}

@media (min-width: 992px) {
    .slide-fertility.has-banner .hero-slide-banner,
    .slide-maternity.has-banner .hero-slide-banner,
    .slide-pediatrics.has-banner .hero-slide-banner {
        align-items: flex-start;
        padding-top: 1.5rem;
        padding-bottom: 1rem;
    }

    .slide-fertility.has-banner .hero-banner-copy {
        width: min(52rem, 64vw);
    }
}

.hero-slide-banner {
    width: 100%;
    min-height: 0;
    height: 100%;
    padding: 1.75rem 0 2.6rem;
    align-items: center;
}

.hero-banner-copy {
    width: min(34rem, 42vw);
    margin-left: max(1.25rem, calc((100% - 72rem) / 2));
}

.hero-banner-copy .lead {
    max-width: none;
}

.slide-welcome .hero-art {
    position: absolute;
    right: max(2rem, 7vw);
    top: 50%;
    transform: translateY(-50%);
    width: min(15rem, 24vw);
    margin: 0;
    z-index: 1;
}

.hero-art {
    width: min(18rem, 100%);
    aspect-ratio: 1;
    margin-inline: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--mv-purple);
    font-size: 5.5rem;
    box-shadow: 0 18px 40px rgba(92, 24, 96, 0.22);
}

.hero-art img {
    width: 58%;
    height: auto;
}

.line-frame {
    --line-w: min(18rem, 78%);
    --line-l: 70%;
    --line-r: 70%;
    position: relative;
    width: 100%;
    z-index: 1;
}

.line-frame img {
    display: block;
    width: var(--line-w);
    height: auto;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.line-frame::before,
.line-frame::after {
    content: "";
    position: absolute;
    height: 1.5px;
    background: #241820;
    z-index: 0;
}

.line-frame::before {
    left: 0;
    width: calc((100% - var(--line-w)) / 2);
    top: var(--line-l);
}

.line-frame::after {
    right: 0;
    width: calc((100% - var(--line-w)) / 2);
    top: var(--line-r);
}

.hero-meta {
    font-weight: 800;
}

.hero-meta i {
    margin-right: 0.35rem;
}

.hero-slider .btn-mv {
    background: #fff;
    color: var(--mv-purple-deep);
    border-color: #fff;
}

.hero-slider .btn-mv:hover,
.hero-slider .btn-mv:focus-visible {
    filter: none;
    background: var(--mv-blush);
    color: var(--mv-purple-deep);
    border-color: var(--mv-blush);
}

.hero-slider .btn-mv-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.hero-slider .btn-mv-outline:hover,
.hero-slider .btn-mv-outline:focus-visible {
    background: #fff;
    color: var(--mv-purple-deep);
    border-color: #fff;
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 46px;
    height: 46px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.hero-slider .carousel-control-prev {
    left: 1rem;
}

.hero-slider .carousel-control-next {
    right: 1rem;
}

.hero-slider .carousel-indicators {
    margin-bottom: 1.15rem;
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 1.8rem;
    height: 0.35rem;
    border: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.45);
}

.hero-slider .carousel-indicators .active {
    background-color: #fff;
}

.hero-pause {
    position: absolute;
    z-index: 2;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.15rem;
}

.hero-slider :focus-visible {
    outline-color: #fff;
}

.home-band {
    position: relative;
    background: var(--mv-blush);
    padding: 1.5rem 0 0.25rem;
}

.band-card {
    height: 100%;
    background: #fff;
    border: 1px solid #ead3e4;
    border-radius: 1.15rem;
    padding: 1.15rem 1.15rem 1rem;
    box-shadow: 0 10px 24px rgba(146, 39, 143, 0.08);
}

.band-card i {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    margin-bottom: 0.7rem;
    border-radius: 50%;
    background: var(--mv-gradient);
    color: #fff;
    font-size: 1.05rem;
}

.time-line {
    color: var(--mv-ink);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.45;
}

.time-stack {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.doctor-card .time-stack,
.hours-card .time-stack,
.kicker + .time-stack {
    margin-bottom: 0.85rem;
}


.topbar .time-line,
.footer-base .time-line,
.hours-card-clinic .time-line {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.home-care {
    position: relative;
    background: var(--mv-blush);
    padding-top: 3.25rem;
}

@media (min-width: 992px) {
    .home-care::before {
        content: "";
        position: absolute;
        top: 0.85rem;
        right: max(1.25rem, calc((100% - 72rem) / 2 + 0.75rem));
        width: 13rem;
        aspect-ratio: 1024 / 612;
        background: url("../images/stroke-2.png") center / contain no-repeat;
        opacity: 0.32;
        pointer-events: none;
    }

    .home-care .container {
        position: relative;
        z-index: 1;
    }
}

.home-hours {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, var(--mv-blush) 100%);
}

@media (min-width: 992px) {
    .home-hours::after {
        content: "";
        position: absolute;
        top: 1.35rem;
        right: max(1.5rem, calc((100% - 72rem) / 2 + 0.75rem));
        width: 9rem;
        aspect-ratio: 926 / 1024;
        background: url("../images/stroke-1.png") center / contain no-repeat;
        opacity: 0.22;
        pointer-events: none;
    }

    .home-hours .container {
        position: relative;
        z-index: 1;
    }
}

.kicker {
    color: var(--mv-purple);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.hero h1 {
    font-size: clamp(2.15rem, 4.4vw, 3.35rem);
    line-height: 1.12;
}

.hero .lead,
.page-hero .lead {
    color: var(--mv-soft);
    font-size: 1.12rem;
    max-width: 42rem;
}

.hero-panel {
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 1.5rem;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 18px 40px rgba(146, 39, 143, 0.1);
}

.hero-panel img {
    width: 72px;
    height: auto;
    margin-bottom: 0.75rem;
}

.hero-slot {
    padding: 0.85rem 0;
    border-top: 1px solid var(--mv-line);
}

.hero-slot strong,
.hero-slot span {
    display: block;
}

.hero-slot span {
    color: var(--mv-soft);
    font-weight: 700;
}

.section {
    padding: 4.5rem 0;
}

.section-paper {
    position: relative;
    background: var(--mv-paper);
}

.section h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.soft-card {
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 1.25rem;
    height: 100%;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 4px 0 1.3rem;
    border-top: 0;
    box-shadow: 0 14px 30px rgba(146, 39, 143, 0.08);
    overflow: hidden;
}

.service-card > :not(.service-line) {
    margin-left: 1.35rem;
    margin-right: 1.35rem;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--mv-gradient);
}

.service-card > .icon-badge {
    margin-top: 1.15rem;
}

.icon-badge {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--mv-gradient);
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-line {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 212;
    object-fit: contain;
    object-position: center bottom;
    margin: 0 0 1rem;
    flex-shrink: 0;
}

.home-care .service-card {
    container-type: inline-size;
}

@container (max-width: 22rem) {
    .home-care .service-card > h3 {
        min-height: 2.4em;
    }
}

.home-care .service-card > a {
    margin-top: auto;
}

.service-card .service-lead {
    margin-bottom: 0.65rem;
}

.service-card .service-points {
    list-style: none;
    margin-top: 0;
    margin-bottom: 1.15rem;
    padding: 0;
}

.service-card .service-points li {
    position: relative;
    padding-left: 1.05rem;
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.service-card .service-points li:last-child {
    margin-bottom: 0;
}

.service-card .service-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--mv-purple);
}

.service-line-lg {
    display: block;
    width: min(100%, 16.5rem);
    max-height: 9.5rem;
    margin-inline: auto;
    object-fit: contain;
}

.doctor-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.doctor-media img,
.monogram {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center 18%;
    background: #e7e7e7;
}

.monogram {
    display: grid;
    place-items: center;
    background: var(--mv-gradient);
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.doctor-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.3rem 1.4rem;
}

.doctor-card h3 a {
    color: inherit;
    text-decoration: none;
}

.doctor-card h3 a:hover {
    color: var(--mv-purple);
}

.role {
    color: var(--mv-purple);
    font-weight: 800;
    margin-bottom: 0;
}

.sessions {
    color: var(--mv-ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.45;
}

.hours-card {
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 1.25rem;
    padding: 1.3rem 1.25rem;
}

.hours-card-clinic {
    background: var(--mv-gradient);
    border-color: transparent;
    color: #fff;
}

.hours-card-clinic h3,
.hours-card-clinic p,
.hours-card-clinic .phone-line,
.hours-card-clinic .phone-line:hover {
    color: #fff;
}

.session-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.session-list li {
    padding: 0.35rem 0;
    border-top: 1px solid var(--mv-line);
}

.session-list span {
    display: inline-block;
    min-width: 5.5rem;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.phone-line {
    font-weight: 800;
    font-size: 1.15rem;
}

.page-hero {
    position: relative;
    background: linear-gradient(180deg, var(--mv-blush) 0%, #fff 100%);
    padding: 2.4rem 0 2.6rem;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    max-width: 18ch;
}

.page-hero-nav {
    margin-top: 1.15rem;
    margin-bottom: 0;
}

.page-hero:has(.page-hero-nav) {
    padding-bottom: 1.5rem;
}

.services-body {
    padding-top: 1.75rem;
}

.services-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.breadcrumb {
    font-weight: 700;
}

.breadcrumb a {
    color: var(--mv-purple);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--mv-soft);
}

.page-nav .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mv-purple);
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 0.95rem 1.7rem;
}

.page-nav .nav-link:hover {
    background: var(--mv-blush);
    color: var(--mv-purple-dark);
}

@media (max-width: 767.98px) {
    .services-jump .nav-item,
    .services-jump .nav-link {
        width: 100%;
    }
}

.service-block + .service-block {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--mv-line);
}

.tick-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tick-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.55rem;
}

.tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--mv-purple);
}

.fertility-service {
    --svc-pad: 1.15rem;
    background: linear-gradient(180deg, var(--mv-blush) 0%, #fff 28%);
    border: 1px solid var(--mv-line);
    border-radius: 1.5rem;
    padding: 1.6rem var(--svc-pad) 1.2rem;
}

.fertility-service > .line-frame {
    width: calc(100% + (2 * var(--svc-pad)));
    margin-left: calc(var(--svc-pad) * -1);
    margin-bottom: 1.4rem;
}

#fertility > .line-frame,
#maternity > .line-frame,
#pediatrics > .line-frame {
    --line-w: 100%;
}

#fertility > .line-frame::before,
#fertility > .line-frame::after,
#maternity > .line-frame::before,
#maternity > .line-frame::after,
#pediatrics > .line-frame::before,
#pediatrics > .line-frame::after {
    display: none;
}

.fertility-service + .service-block {
    border-top: 0;
    padding-top: 0;
}

.fertility-intro {
    max-width: none;
}

.fertility-page-title {
    color: var(--mv-purple);
    font-size: clamp(2.15rem, 3.6vw, 2.85rem);
    line-height: 1.15;
    margin-bottom: 0.95rem;
}

.fertility-expect {
    margin-top: 1.45rem;
}

.fertility-expect h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 0.55rem;
}

.fertility-sub {
    color: var(--mv-purple-dark);
    font-size: 1.12rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.fertility-note {
    background: #fff;
    border-left: 4px solid var(--mv-purple);
    border-radius: 0.85rem;
    padding: 0.95rem 1.05rem;
    margin-top: 0.35rem;
}

.fertility-grid {
    margin-top: 1.35rem;
}

.fert-card {
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 1.25rem;
    padding: 1.35rem 1.3rem 1.25rem;
    height: 100%;
    box-shadow: 0 14px 30px rgba(146, 39, 143, 0.06);
}

.fert-card h3 {
    font-size: 1.28rem;
}

.fert-card h3 a {
    color: inherit;
    text-decoration: none;
}

.fert-card h3 a:hover {
    color: var(--mv-purple);
}

.topic-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.topic-list li + li {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--mv-line);
}

.topic-list h4 {
    font-size: 1.02rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.topic-list p {
    margin-bottom: 0;
    color: var(--mv-soft);
}

.consult-alert {
    background: var(--mv-blush);
    border-left: 4px solid var(--mv-purple);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    margin-top: 0.2rem;
    font-weight: 700;
}

.fert-hours {
    background: var(--mv-paper);
}

.fert-hours .session-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.cred-list {
    display: grid;
    gap: 0.7rem;
    list-style: none;
    padding: 0;
    margin: 1.1rem 0 0;
}

.cred-list li {
    background: var(--mv-paper);
    border-radius: 0.9rem;
    padding: 0.8rem 0.85rem;
    font-weight: 700;
    line-height: 1.4;
}

.cred-list span {
    display: block;
    color: var(--mv-purple);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

@media (min-width: 576px) {
    .cred-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .fertility-service {
        --svc-pad: 1.8rem;
        padding: 2.2rem var(--svc-pad) 1.5rem;
    }
}

.fertility-cta {
    margin-top: 1.35rem;
}

.fertility-cta .kicker {
    color: #f8eef5;
}

.fertility-cta .btn-band {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.5rem 1.15rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    line-height: 1.2;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.fertility-cta .btn-band:hover,
.fertility-cta .btn-band:focus-visible {
    background: #fff;
    color: var(--mv-purple-deep);
}

@media (min-width: 768px) {
    .fertility-service {
        --svc-pad: 1.75rem;
        padding: 2.15rem var(--svc-pad) 1.5rem;
    }

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

.profile-panel {
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 1.5rem;
    padding: 1.25rem;
}

.profile-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.1rem;
}

.profile-panel .monogram {
    border-radius: 1.1rem;
}

.callout {
    background: var(--mv-blush);
    border-left: 4px solid var(--mv-purple);
    border-radius: 0.8rem;
    padding: 0.9rem 1rem;
}

.contact-page {
    padding-top: 1.35rem;
    padding-bottom: 4.25rem;
    background: linear-gradient(180deg, #fff 0%, var(--mv-paper) 8.5rem);
}

.contact-call {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.15rem 2rem;
    margin-bottom: 1.25rem;
    padding: 1.35rem 1.5rem;
    border-radius: 1.5rem;
    background: var(--mv-gradient);
    color: #fff;
    box-shadow: 0 18px 40px rgba(146, 39, 143, 0.18);
}

.contact-call .kicker {
    color: #f8eef5;
    margin-bottom: 0.3rem;
}

.contact-call-main {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
    color: #fff;
    text-decoration: none;
}

.contact-call-main:hover,
.contact-call-main:focus-visible {
    color: #fff;
}

.contact-call :focus-visible {
    outline-color: #fff;
}

.contact-call-icon {
    display: grid;
    place-items: center;
    width: 3.35rem;
    height: 3.35rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.35rem;
}

.contact-call-main strong {
    display: block;
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    letter-spacing: 0.02em;
    line-height: 1.05;
}

.contact-call .time-line {
    display: block;
    margin-top: 0.25rem;
    color: #fff;
}

.contact-call-book {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding-left: 1.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-call-book .kicker {
    margin-bottom: 0;
}

.contact-call .btn-mv {
    background: #fff;
    color: var(--mv-purple-deep);
    border-color: #fff;
}

.contact-call .btn-mv:hover,
.contact-call .btn-mv:focus-visible {
    filter: none;
    background: var(--mv-blush);
    color: var(--mv-purple-deep);
    border-color: var(--mv-blush);
}

.contact-grid {
    display: grid;
    gap: 1.15rem;
    align-items: stretch;
}

.contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 1.25rem;
    padding: 1.35rem 1.35rem 1.4rem;
    box-shadow: 0 14px 30px rgba(146, 39, 143, 0.08);
}

.contact-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--mv-gradient);
}

.contact-card-head,
.contact-person-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-card-head {
    margin-bottom: 0.85rem;
}

.contact-card-head .icon-badge,
.contact-person-head .icon-badge {
    width: 2.55rem;
    height: 2.55rem;
    margin: 0;
    flex: 0 0 auto;
    font-size: 1.1rem;
}

.contact-card-head h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2vw, 1.75rem);
}

.contact-person-head {
    margin-bottom: 0.65rem;
}

.contact-person-head .kicker {
    margin-bottom: 0;
}

.contact-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.contact-person .time-stack {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid > .contact-card:first-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .contact-grid > .contact-card:first-child {
        grid-column: auto;
    }
}

@media (max-width: 767.98px) {
    .contact-call {
        padding: 1.2rem 1.15rem;
    }

    .contact-call-book {
        width: 100%;
        padding-top: 1rem;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.28);
    }
}

.visit-band {
    position: relative;
    overflow: hidden;
    background: var(--mv-gradient);
    color: #fff;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
}

.visit-band > * {
    position: relative;
    z-index: 1;
}

.visit-band h2,
.visit-band p {
    color: #fff;
}

.visit-band .btn-mv {
    background: #fff;
    color: var(--mv-purple-deep);
    border-color: #fff;
}

.visit-band .btn-mv:hover,
.visit-band .btn-mv:focus-visible {
    filter: none;
    background: var(--mv-blush);
    color: var(--mv-purple-deep);
}

.about-story {
    padding: 1.75rem 0 4.5rem;
}

.about-statement {
    position: relative;
    overflow: hidden;
    background: var(--mv-gradient);
    color: #fff;
    border-radius: 1.5rem;
    padding: 2.4rem 2.1rem;
    margin-bottom: 3.25rem;
    box-shadow: 0 18px 40px rgba(146, 39, 143, 0.18);
}

.about-statement > * {
    position: relative;
    z-index: 1;
}

.about-statement h2,
.about-statement p {
    color: #fff;
}

.about-statement h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.45rem, 2.4vw, 2.05rem);
    line-height: 1.2;
    white-space: nowrap;
}

.about-statement-text {
    font-size: 1.12rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.94);
}

.clinic-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
    gap: 1.25rem;
    align-items: stretch;
}

.clinic-approach,
.clinic-fact {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mv-line);
    border-top: 0;
    border-radius: 1.25rem;
    box-shadow: 0 14px 30px rgba(146, 39, 143, 0.08);
}

.clinic-approach::before,
.clinic-fact::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--mv-gradient);
}

.clinic-approach {
    padding: 1.7rem 1.85rem 1.65rem;
}

.clinic-approach h3 {
    margin-bottom: 0.8rem;
}

.clinic-approach p {
    max-width: 40rem;
    margin-bottom: 0.85rem;
    color: var(--mv-soft);
}

.clinic-aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.clinic-fact {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem 1.35rem 1.2rem;
}

.clinic-fact-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.65rem;
}

.clinic-fact .icon-badge {
    width: 2.65rem;
    height: 2.65rem;
    margin-bottom: 0;
    flex-shrink: 0;
    font-size: 1.12rem;
}

.clinic-fact h3,
.clinic-fact p {
    margin-bottom: 0;
}

.clinic-fact p {
    color: var(--mv-soft);
}

.about-line {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 1.5rem 0 0;
    padding: 1rem 1.2rem;
    background: var(--mv-blush);
    border: 1px solid var(--mv-line);
    border-radius: 1rem;
    color: var(--mv-purple-dark);
    font-weight: 800;
}

.about-line .bi {
    color: var(--mv-purple);
    font-size: 1.15rem;
}

.about-doctor {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mv-line);
    border-top: 0;
    border-radius: 1.25rem;
    padding: 1.45rem 1.4rem 1.35rem;
    box-shadow: 0 14px 30px rgba(146, 39, 143, 0.08);
}

.about-doctor::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: var(--mv-gradient);
}

.about-qualifications {
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
    color: var(--mv-purple-dark);
    font-weight: 700;
}

.about-profile-link {
    margin-top: 1rem;
}

@media (max-width: 991.98px) {
    .about-statement {
        padding: 1.7rem 1.35rem;
    }

    .clinic-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .about-statement h2 {
        white-space: normal;
        font-size: 1.45rem;
    }
}

.site-footer {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, var(--mv-blush) 100%);
}

.footer-accent {
    height: 5px;
    background: var(--mv-gradient);
}

.footer-main {
    position: relative;
    z-index: 1;
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 0.9rem;
}

.footer-logo {
    display: block;
    width: min(210px, 100%);
    height: auto;
}

.footer-blurb {
    max-width: 28rem;
    color: var(--mv-soft);
    margin-bottom: 1.15rem;
}

.footer-social-label {
    margin-bottom: 0.55rem;
    color: var(--mv-purple-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e4c9de;
    border-radius: 50%;
    background: #fff;
    color: var(--mv-purple);
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(146, 39, 143, 0.1);
}

.footer-social a:hover {
    background: var(--mv-gradient);
    border-color: transparent;
    color: #fff;
}

.site-footer h2 {
    margin-bottom: 0.85rem;
    color: var(--mv-purple-deep);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    display: inline-block;
    padding: 0.18rem 0;
    font-weight: 700;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-address {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 0;
    color: var(--mv-soft);
    text-decoration: none;
}

.footer-address:hover {
    color: var(--mv-purple);
}

.footer-address i {
    margin-top: 0.2rem;
    color: var(--mv-purple);
}

.footer-map-link {
    font-weight: 800;
}

.footer-base {
    position: relative;
    z-index: 1;
    background: var(--mv-gradient);
    color: #fff;
}

.footer-base p {
    margin: 0;
}

@media (min-width: 768px) {
    .logo-full {
        height: 62px;
    }
}

@media (min-width: 992px) {
    .logo-full {
        height: 70px;
    }

    .site-header .navbar > .container {
        display: grid;
        grid-template-columns: auto minmax(auto, 1fr) auto;
        align-items: center;
        column-gap: 1.25rem;
    }

    .site-header .navbar-collapse {
        display: contents !important;
    }

    .navbar-nav {
        grid-column: 2;
        justify-self: center;
        align-items: center;
        gap: 0.15rem;
    }

    .header-actions {
        grid-column: 3;
        justify-self: end;
        flex-wrap: nowrap;
    }

    .header-actions .header-cta,
    .header-actions .header-call {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-header .navbar > .container {
        column-gap: 0.65rem;
    }

    .navbar .nav-link {
        padding-right: 0.6rem;
        padding-left: 0.6rem;
    }

    .header-actions .btn-mv {
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .topbar-name {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.55rem;
        border: 1px solid var(--mv-line);
        border-radius: 1.15rem;
        background: linear-gradient(180deg, var(--mv-blush) 0%, #fff 72%);
    }

    .navbar .nav-link {
        padding: 0.7rem 0.85rem;
    }

    .navbar .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 0.15rem;
        border: 0;
        border-radius: 0.85rem;
        box-shadow: none;
        background: transparent;
    }

    .header-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.35rem;
    }

    .header-actions .header-cta,
    .header-actions .header-call {
        flex: 1 1 auto;
    }

    .hero-slide {
        min-height: 0;
        height: 100%;
        padding: 1rem 0 2.5rem;
    }

    .slide-pediatrics.has-banner .hero-slide,
    .slide-fertility.has-banner .hero-slide,
    .slide-maternity.has-banner .hero-slide,
    .slide-welcome.has-banner .hero-slide {
        padding: 0.75rem 0 2.2rem;
        align-items: flex-start;
    }

    .slide-pediatrics.has-banner .hero-banner-copy,
    .slide-fertility.has-banner .hero-banner-copy,
    .slide-maternity.has-banner .hero-banner-copy,
    .slide-welcome.has-banner .hero-banner-copy {
        width: min(16rem, 52vw);
    }

    .slide-welcome .hero-art {
        width: min(7.5rem, 22vw);
        right: 1.25rem;
    }

    .has-banner h2 {
        font-size: 1.2rem;
    }

    .has-banner .lead {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .has-banner .hero-actions {
        margin-top: 0.5rem !important;
    }

    .hero-art {
        width: 4.75rem;
        font-size: 2rem;
        margin: 0 auto 0.35rem;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        top: auto;
        bottom: 0.85rem;
        transform: none;
    }

    .hero-slider .carousel-indicators {
        margin-bottom: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .slide-pediatrics.has-banner .hero-slide,
    .slide-fertility.has-banner .hero-slide,
    .slide-maternity.has-banner .hero-slide,
    .slide-welcome.has-banner .hero-slide {
        padding-top: 0.55rem;
        padding-bottom: 1.8rem;
    }

    .has-banner h2 {
        font-size: 1.05rem;
        line-height: 1.12;
        margin-bottom: 0.25rem;
    }

    .has-banner .lead {
        font-size: 0.74rem;
        line-height: 1.25;
    }

    .has-banner .hero-actions {
        margin-top: 0.35rem !important;
    }
}

@media (max-width: 575.98px) {
    .hero-slider .carousel-item {
        aspect-ratio: auto;
        height: calc(100vw * 0.78);
    }

    .hero-art {
        width: 3.25rem;
        margin-bottom: 0.2rem;
    }

    .hero-slide {
        padding: 0.7rem 0 1.7rem;
    }

    .hero-slider h2 {
        font-size: 1.05rem;
        line-height: 1.12;
        margin-bottom: 0.2rem;
    }

    .hero-slider .lead {
        font-size: 0.75rem;
        line-height: 1.28;
        margin-bottom: 0;
    }

    .slide-welcome .hero-actions {
        margin-top: 0.4rem !important;
    }

    .hero-slider .carousel-item.slide-pediatrics.has-banner,
    .hero-slider .carousel-item.slide-fertility.has-banner,
    .hero-slider .carousel-item.slide-maternity.has-banner,
    .hero-slider .carousel-item.slide-welcome.has-banner {
        aspect-ratio: 1024 / 441;
        height: auto;
        background-size: 100% 100%;
        background-position: center center;
    }

    .has-banner .hero-slide {
        padding: 0.35rem 0 1.3rem;
    }

    .slide-pediatrics.has-banner .hero-banner-copy,
    .slide-fertility.has-banner .hero-banner-copy,
    .slide-maternity.has-banner .hero-banner-copy {
        width: min(11.5rem, 40vw);
        margin-left: 0.75rem;
    }

    .slide-pediatrics.has-banner .hero-banner-copy,
    .slide-fertility.has-banner .hero-banner-copy,
    .slide-maternity.has-banner .hero-banner-copy,
    .slide-welcome.has-banner .hero-banner-copy {
        width: min(12.4rem, 52vw);
    }

    .slide-welcome .hero-art {
        width: 3.5rem;
        right: 2.5rem;
        top: 40%;
    }

    .slide-fertility.has-banner .hero-banner-copy {
        width: min(14.5rem, 62vw);
    }

    .slide-fertility.has-banner h2 {
        font-size: 0.88rem;
        margin-bottom: 0.05rem;
    }

    .slide-fertility.has-banner .lead {
        font-size: 0.6rem;
        line-height: 1.12;
    }

    .slide-fertility.has-banner .hero-actions {
        margin-top: 1.35rem !important;
    }

    .slide-maternity.has-banner h2 {
        font-size: 0.82rem;
        line-height: 1.05;
        margin-bottom: 0.04rem;
    }

    .slide-maternity.has-banner .lead {
        font-size: 0.58rem;
        line-height: 1.1;
    }

    .slide-maternity.has-banner .hero-actions {
        margin-top: 0.1rem !important;
    }

    .has-banner .kicker {
        margin-bottom: 0.1rem;
        font-size: 0.65rem;
    }

    .has-banner h2 {
        font-size: 0.95rem;
        line-height: 1.08;
        margin-bottom: 0.12rem;
    }

    .has-banner .lead {
        font-size: 0.64rem;
        line-height: 1.15;
        margin-bottom: 0;
    }

    .has-banner .hero-actions {
        margin-top: 0.2rem !important;
    }

    .has-banner .hero-actions .btn,
    .slide-welcome .hero-actions .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-item {
        transition: none;
    }
}

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

.footer-base a {
    color: #fff;
}

.book-picker select,
.book-picker input,
.filter-bar select,
.filter-bar input[type="date"],
.filter-bar input[type="time"],
.filter-bar input[type="number"],
.filter-bar input[type="text"] {
    display: block;
    margin-top: 0.25rem;
    min-height: 44px;
    border: 1px solid var(--mv-line);
    border-radius: 0.7rem;
    padding: 0.35rem 0.7rem;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.8rem 1rem;
    margin-bottom: 1.5rem;
}

.filter-bar label,
.day-block label,
.check-line {
    font-weight: 800;
}

.book-note {
    font-weight: 700;
}

.slot-fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 1rem;
}

.slot-fieldset legend {
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.slot-choice input {
    position: absolute;
    opacity: 0;
}

.slot-choice span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 0.9rem;
    border: 2px solid var(--mv-purple);
    border-radius: 999px;
    color: var(--mv-purple);
    font-weight: 800;
    background: #fff;
}

.slot-choice input:checked + span {
    background: var(--mv-gradient);
    border-color: transparent;
    color: #fff;
}

.slot-choice input:focus-visible + span {
    outline: 3px solid var(--mv-purple);
    outline-offset: 3px;
}

.book-receipt {
    max-width: 40rem;
}

.panel-body {
    background: #f4eef2;
    min-height: 100vh;
}

.nav-check {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.app-side {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    width: 16.5rem;
    flex: 0 0 16.5rem;
    height: 100vh;
    overflow: auto;
    background: var(--mv-gradient);
    color: #fff;
    z-index: 40;
}

.side-brand {
    display: block;
    margin: 1.1rem 1rem 0.35rem;
    padding: 0.65rem 0.75rem;
    background: #fff;
    border-radius: 0.9rem;
}

.side-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.side-label {
    margin: 1rem 1.15rem 0.35rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 0.75rem;
}

.side-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.72rem 0.8rem;
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    text-decoration: none;
}

.side-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.side-nav a.is-active,
.side-nav a.is-active:hover {
    background: #fff;
    color: var(--mv-purple-deep);
}

.side-foot {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 0.7rem;
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.side-avatar {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--mv-magenta);
    color: #fff;
    font-weight: 800;
}

.side-name,
.side-role {
    margin: 0;
    line-height: 1.3;
}

.side-name {
    font-weight: 800;
}

.side-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 700;
}

.side-logout {
    grid-column: 1 / -1;
    margin-top: 0.7rem;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.side-logout:hover {
    color: #fff;
}

.app-main {
    flex: 1 1 auto;
    min-width: 0;
}

.app-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--mv-line);
}

.app-top-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.app-top h1 {
    margin: 0;
    font-size: 1.45rem;
}

.app-lead,
.app-date {
    margin: 0;
    color: var(--mv-soft);
    font-weight: 700;
}

.app-lead {
    margin-top: 0.15rem;
}

.app-date {
    flex: 0 0 auto;
    text-align: right;
}

.app-content {
    padding: 1.35rem 1.5rem 2.5rem;
}

.side-open,
.app-backdrop {
    display: none;
}

.app-side :focus-visible,
.side-open:focus-visible {
    outline-color: #fff;
}

.stat-grid,
.doctor-grid {
    display: grid;
    gap: 0.9rem;
}

.stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.15rem;
}

.stat-card,
.doctor-tile,
.panel-card,
.login-card,
.table-wrap {
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 1rem;
    box-shadow: 0 10px 28px rgba(146, 39, 143, 0.06);
}

.panel-card,
.login-card {
    padding: 1.25rem;
}

.stat-card,
.doctor-tile {
    padding: 1rem 1.1rem;
}

.stat-card span,
.doctor-tile p {
    display: block;
    margin: 0;
    color: var(--mv-soft);
    font-weight: 700;
}

.stat-card strong {
    display: block;
    margin-top: 0.25rem;
    color: var(--mv-purple-deep);
    font-size: 2rem;
    line-height: 1.1;
}

.doctor-grid {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.doctor-tile h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
}

.doctor-tile p + p {
    margin-top: 0.15rem;
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.4rem 1rem;
    margin-bottom: 0.7rem;
}

.section-head h2 {
    margin: 0;
    font-size: 1.15rem;
}

.day-meter {
    list-style: none;
    margin: 0;
    padding: 0;
}

.day-meter li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--mv-line);
    font-weight: 800;
}

.day-meter li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.day-meter strong {
    color: var(--mv-purple);
}

.panel-body .filter-bar {
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
}

.panel-body .panel-card .filter-bar {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.login-body {
    min-height: 100vh;
    background: #f4eef2;
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(16rem, 22rem) minmax(18rem, 28rem);
    min-height: 100vh;
}

.login-intro {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    padding: 2.5rem;
    background: var(--mv-gradient);
    color: #fff;
}

.login-intro > * {
    position: relative;
    z-index: 1;
}

.login-intro img {
    width: 11rem;
    height: auto;
    padding: 0.55rem 0.7rem;
    background: #fff;
    border-radius: 0.8rem;
}

.login-intro h1,
.login-intro p {
    color: #fff;
}

.login-intro p {
    margin: 0;
    max-width: 18rem;
}

.login-card {
    align-self: center;
    margin: 1.5rem;
}

.login-card h2 {
    margin-bottom: 0.35rem;
}

@media (max-width: 860px) {
    .side-open {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        margin: 0;
        padding: 0.4rem 0.7rem;
        border: 1px solid var(--mv-line);
        border-radius: 999px;
        background: #fff;
        color: var(--mv-purple-deep);
        font-weight: 800;
        cursor: pointer;
    }

    .app-side {
        position: fixed;
        transform: translateX(-105%);
        transition: transform 0.2s ease;
    }

    .nav-check:checked ~ .app-shell .app-side {
        transform: none;
    }

    .nav-check:checked ~ .app-shell .app-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 30;
        background: rgba(28, 8, 24, 0.46);
        color: transparent;
    }

    .app-top,
    .app-top-title {
        align-items: flex-start;
    }

    .app-top-title {
        flex-direction: column;
    }

    .app-date {
        display: none;
    }

    .stat-grid,
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-intro {
        min-height: auto;
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-side {
        transition: none;
    }
}

.panel-alert {
    background: #eef8ef;
    border: 1px solid #b7dfb9;
    border-radius: 0.8rem;
    padding: 0.75rem 0.9rem;
    font-weight: 700;
}

.panel-alert-error {
    background: #fff1f2;
    border-color: #f0c2c6;
}

.panel-empty {
    font-weight: 700;
}

.appt-summary {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.day-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 1.35rem 0 0.55rem;
}

.day-heading span {
    color: var(--mv-purple);
}

.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--mv-line);
    border-radius: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 0.75rem 0.8rem;
    border-bottom: 1px solid var(--mv-line);
    vertical-align: top;
    text-align: left;
}

.data-table th {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-form,
.time-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.status-pill {
    display: inline-block;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-weight: 800;
    background: var(--mv-blush);
}

.status-completed {
    background: #e7f6ea;
}

.status-cancelled {
    background: #f4f4f4;
}

.day-block {
    border: 1px solid var(--mv-line);
    border-radius: 0.9rem;
    padding: 0.8rem 0.9rem 0.4rem;
    margin-bottom: 0.8rem;
}

.day-block legend {
    float: none;
    width: auto;
    padding: 0 0.3rem;
    font-weight: 800;
}

.narrow-form {
    max-width: 28rem;
}

.btn-sm {
    min-height: 36px;
    padding: 0.25rem 0.7rem;
}

.facility-gallery-section {
    padding-top: 1.75rem;
}

.facility-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
}

.facility-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 0;
    border: 1px solid var(--mv-line);
    border-radius: 1.25rem;
    background: #fff;
    overflow: hidden;
    text-align: left;
    color: inherit;
    box-shadow: 0 14px 30px rgba(146, 39, 143, 0.08);
    cursor: zoom-in;
}

.facility-card:hover,
.facility-card:focus-visible {
    border-color: #e7b7d8;
    color: inherit;
}

.facility-card:focus-visible {
    outline: 3px solid rgba(146, 39, 143, 0.35);
    outline-offset: 3px;
}

.facility-photo {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--mv-blush);
}

.facility-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.facility-card:hover .facility-photo img,
.facility-card:focus-visible .facility-photo img {
    transform: scale(1.03);
}

@media (min-width: 768px) {
    .facility-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.facility-caption {
    display: block;
    padding: 0.95rem 1.15rem 1.05rem;
    color: #2a1228;
    font-weight: 800;
}

.facility-lightbox {
    position: relative;
    width: min(980px, 100vw);
    height: 100vh;
    max-height: 100vh;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: #2a1228;
    overflow: hidden;
}

.facility-lightbox::backdrop {
    background: rgba(42, 18, 40, 0.82);
}

.facility-lightbox-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    padding: 4.25rem 4.75rem 2.25rem;
}

.facility-lightbox-stage img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 8.5rem);
    object-fit: contain;
    border-radius: 0.85rem;
    background: #1a0c18;
}

.facility-lightbox-stage figcaption {
    margin-top: 0.85rem;
    color: #fff;
    font-weight: 800;
    text-align: center;
}

.facility-lightbox-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--mv-purple-deep);
    font-size: 1.15rem;
    transform: translateY(-50%);
    box-shadow: 0 8px 18px rgba(42, 18, 40, 0.16);
}

.facility-lightbox-prev {
    left: 1rem;
}

.facility-lightbox-next {
    right: 1rem;
}

.facility-lightbox-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

@media (max-width: 767.98px) {
    .facility-lightbox-stage {
        padding-right: 3.4rem;
        padding-left: 3.4rem;
    }

    .facility-lightbox-nav {
        width: 2.4rem;
        height: 2.4rem;
    }

    .facility-lightbox-prev {
        left: 0.55rem;
    }

    .facility-lightbox-next {
        right: 0.55rem;
    }
}

.facility-lightbox-close {
    position: absolute;
    z-index: 2;
    top: 1rem;
    right: 1rem;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--mv-purple-deep);
    box-shadow: 0 8px 18px rgba(42, 18, 40, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    .facility-photo img {
        transition: none;
    }
}
