@font-face {
    font-family: VivaNunito;
    src: url('/assets/fonts/nunito-variable.ttf') format('truetype');
    font-weight: 200 900;
    font-display: swap;
}

.vm-home {
    --vm-blue: #074799;
    --vm-teal: #009990;
    --vm-lime: #E1FFBB;
    background: #fff;
    font-family: VivaNunito, Nunito, Arial, sans-serif;
    color: #33475b;
    margin: 0;
}

.vm-home * { box-sizing: border-box; }

.vm-home h1,
.vm-home h2,
.vm-home h3 { letter-spacing: -.035em; }

.vm-home > .topline {
    background: #074799;
    color: white;
    font-size: 12px;
    padding: 9px 20px;
}

.vm-home > header {
    background: #fff;
    border-bottom: 1px solid #e8edf2;
    padding: 18px clamp(20px, 5vw, 80px);
    max-width: none;
}

.vm-home > header .site-logo {
    width: 175px;
    max-width: 100%;
    height: auto;
}

.vm-home > header nav a {
    color: #074799;
    font-weight: 700;
}

.vm-home > main {
    width: 100%;
    max-width: none;
    padding: 0;
}

.vm-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: linear-gradient(125deg,#074799,#063675);
    color: white;
    gap: 48px;
    align-items: center;
    padding: 64px max(5vw,24px) 90px;
    overflow: hidden;
}

.vm-hero-copy {
    max-width: 650px;
    margin-left: auto;
    width: 100%;
}

.vm-home .vm-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .15em;
    color: #007b74;
    margin-bottom: 14px;
}

.vm-hero .vm-kicker,
.vm-contact .vm-kicker { color: #E1FFBB; }

.vm-home .vm-hero h1 {
    font-size: clamp(40px,4.6vw,72px);
    font-weight: 900;
    line-height: 1.07;
    margin: 10px 0 24px;
    color: white;
}

.vm-hero h1 em {
    font-style: normal;
    color: #E1FFBB;
}

.vm-hero p {
    color: #eef7ff;
    font-size: 18px;
    max-width: 510px;
    line-height: 1.7;
}

.vm-hero-location {
    color: #d6e8ff;
    font-size: 14px;
    margin-top: 24px;
}

.vm-hero-media {
    margin: 0;
    position: relative;
    min-width: 0;
}

.vm-hero-media img {
    display: block;
    width: 100%;
    height: clamp(340px,35vw,510px);
    object-fit: cover;
    border-radius: 110px 28px 110px 28px;
}

.vm-hero-media figcaption {
    font-size: 11px;
    color: white;
    text-align: right;
    margin-top: 8px;
}

.vm-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.vm-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 14px 23px;
    border-radius: 12px;
    font-weight: 850;
    text-decoration: none;
    line-height: 1.4;
    transition: transform .2s, box-shadow .2s;
}

.vm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px #052b5520;
}

.vm-primary {
    background: #E1FFBB;
    color: #074799 !important;
}

.vm-outline {
    border: 1px solid #ffffffa0;
    color: #fff !important;
}

.vm-blue {
    background: #074799;
    color: #fff !important;
}

.vm-shortcuts {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    max-width: 1240px;
    width: calc(100% - 48px);
    margin: -42px auto 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 45px #07479918;
    position: relative;
    z-index: 2;
    padding: 14px;
}

.vm-shortcuts a {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    padding: 19px;
    border-radius: 14px;
    color: #074799;
}

.vm-shortcuts a:hover { background: #f1f9f8; }

.vm-shortcuts strong {
    display: block;
    font-size: 16px;
}

.vm-shortcuts small {
    display: block;
    font-size: 12px;
    color: #526579;
}

.vm-shortcuts b { margin-left: auto; }

.vm-icon {
    background: #e7f8f5;
    color: #007b74;
    width: 49px;
    height: 49px;
    flex: 0 0 49px;
    padding: 12px;
    border-radius: 14px;
}

.vm-icon svg { width: 100%; height: 100%; }

.vm-section {
    max-width: 1280px;
    margin: auto;
    padding: 76px 24px;
}

.vm-section-heading {
    text-align: center;
    max-width: 690px;
    margin: 0 auto 35px;
}

.vm-section h2,
.vm-doctor h2,
.vm-contact h2 {
    font-size: clamp(28px,3vw,44px);
    font-weight: 900;
    line-height: 1.15;
    color: #074799;
    margin: 0 0 16px;
}

.vm-section p,
.vm-doctor p {
    line-height: 1.75;
    font-size: 16px;
}

.vm-service-grid,
.vm-unit-grid {
    display: grid;
    gap: 24px;
}

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

.vm-service,
.vm-unit {
    border: 1px solid #e5edf4;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 7px 24px #07479908;
}

.vm-service img,
.vm-unit img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
}

.vm-service-copy,
.vm-unit > div { padding: 24px; }

.vm-service small,
.vm-unit small,
.vm-about figcaption {
    color: #65788a;
    font-size: 11px;
}

.vm-service h3,
.vm-unit h3 {
    color: #074799;
    font-size: 24px;
    font-weight: 850;
    margin: 7px 0;
}

.vm-service a {
    color: #007b74;
    font-weight: 850;
    text-decoration: none;
}

.vm-values {
    background: #074799;
    color: #fff;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    padding: 30px 6%;
    gap: 20px;
    text-align: center;
}

.vm-values strong {
    display: block;
    font-weight: 900;
    color: #E1FFBB;
    font-size: 23px;
}

.vm-values span {
    font-size: 14px;
    color: #fff;
}

.vm-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.vm-about figure { margin: 0; }

.vm-about img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 25px;
}

.vm-about figcaption { margin-top: 8px; }

.vm-doctor {
    display: grid;
    grid-template-columns: .85fr 1fr;
    max-width: 1232px;
    margin: 0 auto;
    gap: 40px;
    align-items: center;
    padding: 38px;
    background: #f1f8f8;
    border-radius: 28px;
}

.vm-doctor-photo img {
    width: 100%;
    height: 330px;
    object-fit: contain;
    border-radius: 20px;
}

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

.vm-unit {
    text-decoration: none;
    color: #33475b;
}

.vm-contact {
    text-align: center;
    padding: 60px 24px;
    background: linear-gradient(125deg,#074799,#075b82);
    color: white;
}

.vm-contact img {
    display: block;
    margin: 0 auto 24px;
    max-width: 100%;
}

.vm-contact h2 { color: white; }

.vm-contact p {
    max-width: 620px;
    line-height: 1.7;
    margin: 0 auto 24px;
    color: #fff;
}

.vm-instagram {
    display: block;
    color: white !important;
    margin-top: 24px;
    font-weight: 700;
}

.vm-home main > .content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 55px 24px;
}

.vm-home main > .content-section .card {
    border-radius: 18px;
    border: 1px solid #e5edf4;
    box-shadow: 0 7px 24px #07479908;
}

.vm-home a:focus-visible {
    outline: 3px solid #009990;
    outline-offset: 4px;
}

@media(max-width: 900px) {
    .vm-hero {
        gap: 25px;
        padding: 42px 24px 75px;
    }

    .vm-shortcuts {
        padding: 8px;
    }

    .vm-shortcuts a {
        padding: 12px;
        flex-wrap: wrap;
    }

    .vm-doctor { margin: 0 24px; }

    .vm-service img { height: 180px; }
}

@media(max-width: 640px) {
    .vm-home > header {
        flex-wrap: wrap;
        padding: 14px 18px;
    }

    .vm-home > header .site-logo {
        width: 145px;
    }

    .vm-hero {
        grid-template-columns: 1fr;
        padding: 42px 22px 65px;
    }

    .vm-home .vm-hero h1 {
        font-size: 43px;
    }

    .vm-hero p { font-size: 16px; }

    .vm-hero-media img {
        height: 290px;
        border-radius: 48px 18px;
    }

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

    .vm-shortcuts {
        grid-template-columns: 1fr;
        width: calc(100% - 36px);
        margin-top: -30px;
    }

    .vm-shortcuts a {
        flex-wrap: nowrap;
        padding: 14px;
    }

    .vm-service-grid,
    .vm-unit-grid,
    .vm-about,
    .vm-doctor {
        grid-template-columns: 1fr;
    }

    .vm-section { padding: 48px 20px; }

    .vm-values {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .vm-about { gap: 24px; }

    .vm-about img { height: 240px; }

    .vm-doctor {
        margin: 0 20px;
        padding: 24px;
        gap: 20px;
    }

    .vm-doctor-photo img { height: 260px; }

    .vm-service img,
    .vm-unit img { height: 220px; }
}

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