:root {
    --vg-navy: #0A3D62;
    --vg-blue: #1FA2FF;
    --vg-green: #6BCB77;
    --vg-space-xs: 8px;
    --vg-space-sm: 16px;
    --vg-space-md: 24px;
    --vg-space-lg: 40px;
    --vg-space-xl: 56px;
    --vg-radius-lg: 20px;
    --vg-radius-xl: 28px;
}

* {
    box-sizing: border-box
}

/* ---- scaffold defaults (kept from the default MVC template) ---- */
html {
    font-size: 14px;
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
}

@media (min-width:768px) {
    html {
        font-size: 16px
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white,0 0 0 0.25rem #258cfb;
}

body {
    margin: 0;
    font-family: 'Inter',system-ui,sans-serif;
    color: #1a2e3d;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk','Inter',sans-serif;
    margin: 0;
    letter-spacing: -0.02em
}

p {
    margin: 0
}

a {
    text-decoration: none;
    color: inherit
}

::selection {
    background: #1FA2FF;
    color: #fff
}

@keyframes vg-float {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-14px)
    }
}

@keyframes vg-drift {
    0%,100% {
        transform: translate(0,0)
    }

    50% {
        transform: translate(20px,-20px)
    }
}

@keyframes vg-rise {
    from {
        transform: translateY(22px)
    }

    to {
        transform: none
    }
}

[data-reveal] {
    animation: vg-rise .7s cubic-bezier(.2,.7,.2,1) both
}

.vg-nav-link {
    position: relative
}

    .vg-nav-link:hover {
        color: #0A3D62 !important
    }

    .vg-nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        height: 2px;
        width: 0;
        background: #1FA2FF;
        transition: width .18s ease
    }

    .vg-nav-link:hover::after {
        width: 100%
    }

.vg-card-hover {
    transition: transform .2s ease,box-shadow .2s ease
}

    .vg-card-hover:hover {
        transform: translateY(-6px);
        box-shadow: 0 26px 60px -20px rgba(10,61,98,.34) !important
    }

.vg-btn {
    transition: transform .15s ease,box-shadow .2s ease,background .15s ease
}

    .vg-btn:hover {
        transform: translateY(-2px)
    }

.vg-btn-primary:hover {
    box-shadow: 0 16px 34px -10px rgba(31,162,255,.6)
}

.vg-cap:hover .vg-cap-ico {
    background: linear-gradient(135deg,#1FA2FF,#6BCB77) !important;
    color: #fff !important
}

/* ---- nav dropdown ---- */
.vg-nav-item {
    position: relative
}

    /* invisible bridge over the gap between the link and the dropdown so hover doesn't break when moving the cursor down into the menu */
    .vg-nav-item::before {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 20px;
    }

.vg-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 900px;
    max-width: 90vw;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 30px 70px -20px rgba(10,61,98,.3);
    border: 1px solid #eef2f6;
    padding: 16px 16px 20px;
    max-height: 88vh;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease,transform .18s ease;
    z-index: 200
}

    /* thin, unobtrusive scrollbar so it doesn't fight the design when categories/products grow */
    .vg-dropdown::-webkit-scrollbar {
        width: 6px;
    }

    .vg-dropdown::-webkit-scrollbar-thumb {
        background: #d7e3ea;
        border-radius: 100px;
    }

    .vg-dropdown::-webkit-scrollbar-track {
        background: transparent;
    }

.vg-nav-item:hover .vg-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0)
}

/* dynamic column grid: any number of categories reflow automatically instead of a hardcoded column count */
.vg-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0 12px;
    align-items: start;
}

    /* each mega-menu column stacks: group heading (non-clickable) + product links (clickable), any number of rows */
    .vg-dropdown-grid > div {
        display: flex;
        flex-direction: column;
    }

/* ---- mega-menu product row: icon + title + dosage form ---- */
.vg-dcat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 4px;
    border-radius: 10px;
    transition: background .15s ease
}

    .vg-dcat:hover {
        background: #f4f9fd
    }

.vg-dcat-ico {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #e6f1f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1FA2FF;
    flex: none
}

    .vg-dcat-ico svg {
        width: 14px;
        height: 14px;
    }

.vg-dcat-title {
    font: 700 12px 'Space Grotesk','Inter';
    color: #0A3D62
}

.vg-dcat-sub {
    font: 300 10px Inter;
    color: #1FA2FF;
    margin-top: 1px
}

/* dropdown group heading (e.g. "Cognitive & Mood") - non-clickable label, matches eyebrow style used across the site */
.vg-dcat-group-head {
    font: 600 10.5px Inter;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #8aa0ad;
    padding: 8px 4px 4px;
    pointer-events: none;
    user-select: none;
}

/* remove the extra gap above the very first heading in each column so content sits flush with the dropdown's top padding */
.vg-dropdown-grid > div > .vg-dcat-group-head:first-child {
    padding-top: 0;
}

/* ---- mobile mega-menu variants (smaller icon/text, same structure) ---- */
.vg-dcat-ico-mob {
    width: 24px;
    height: 24px;
}

    .vg-dcat-ico-mob svg {
        width: 13px;
        height: 13px;
    }

.vg-dcat-title-mob {
    font-size: 12px;
}

.vg-dcat-sub-mob {
    font-size: 8px;
}

.vg-mob-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease
}

    .vg-mob-sub.open {
        max-height: 1400px
    }

/* ---- cert badges (replaces the old style-hover="..." attribute) ---- */
.vg-cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 14px;
    border-radius: 20px;
    cursor: default;
    transition: transform 140ms ease,box-shadow 140ms ease
}

    .vg-cert-item img {
        width: 104px;
        height: 104px;
        object-fit: contain;
        filter: drop-shadow(0 6px 14px rgba(11,125,194,.12));
        transition: filter 140ms ease
    }

.vg-cert-blue:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(11,125,194,.16)
}

    .vg-cert-blue:hover img {
        filter: drop-shadow(0 10px 22px rgba(11,125,194,.28))
    }

.vg-cert-green:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(133,196,64,.16)
}

    .vg-cert-green:hover img {
        filter: drop-shadow(0 10px 22px rgba(133,196,64,.28))
    }

/* ---- facility photos (replaces style-hover="...") ---- */
.vg-fac-img {
    border-radius: 24px;
    overflow: hidden;
    transition: transform 140ms ease,box-shadow 140ms ease;
    display: block
}

    .vg-fac-img:hover {
        transform: translateY(-6px);
        box-shadow: 0 26px 50px -22px rgba(10,61,98,.3)
    }

    .vg-fac-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover
    }

/* ---- footer ---- */
.vg-footer {
    background: #041a2b;
    padding: 64px 0 40px
}

.vg-foot {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--vg-space-lg);
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255,255,255,.1)
}

.vg-foot-logo {
    height: 52px;
    width: auto;
    display: block;
    margin-bottom: var(--vg-space-sm)
}

.vg-foot-brand-name {
    font: 700 20px 'Space Grotesk';
    color: #fff;
    margin-bottom: 8px
}

.vg-foot-tagline {
    font: 500 14px Inter;
    color: var(--vg-green);
    margin-bottom: 18px
}

.vg-foot-desc {
    font: 400 14px/1.7 Inter;
    color: rgba(255,255,255,.6);
    max-width: 300px
}

.vg-foot-head {
    font: 600 13px Inter;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #7fd0ff;
    margin-bottom: 20px
}

.vg-foot-links {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.vg-foot-link {
    font: 400 14.5px Inter;
    color: rgba(255,255,255,.72);
    display: block;
    padding: 4px 0;
    transition: color .15s ease
}

    .vg-foot-link:hover {
        color: #fff
    }

.vg-foot-address {
    font: 400 13.5px/1.65 Inter;
    color: rgba(255,255,255,.55);
    margin-top: 6px
}

.vg-foot-cta {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    background: linear-gradient(135deg,#1FA2FF,#6BCB77);
    color: #fff;
    font: 600 14px Inter;
    padding: 11px 18px;
    border-radius: 100px
}

.vg-foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 24px
}

.vg-foot-legal {
    display: flex;
    gap: 24px
}

    .vg-foot-legal a {
        font: 400 13px Inter;
        color: rgba(255,255,255,.45);
        transition: color .15s ease
    }

        .vg-foot-legal a:hover {
            color: rgba(255,255,255,.8)
        }

/* ---- quote form inputs ---- */
.vg-input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1.5px solid #e0e7ee;
    border-radius: 12px;
    font: 400 15px Inter;