html { scroll-behavior: smooth; scroll-padding-top: 100px; }
[hidden] { display: none !important; }
.nv-site { overflow-x: clip; }
.nv-skip-link { position: fixed; left: 16px; top: -100px; z-index: 10000; padding: 12px 20px; background: #0b1935; color: white; border-radius: 8px; }
.nv-skip-link:focus { top: 16px; }
#nv-header.nv-scrolled { background: rgba(250,252,254,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 #0b19350d,0 4px 20px #0b193508; }
#nv-header a[aria-current="page"]:not([aria-label="NuVoice home"]) { color: hsl(var(--primary)); background: hsl(var(--secondary)); }
.admin-bar #nv-header { top: 32px; }
.nv-mobile-menu { padding: 8px 20px 24px; background: rgba(250,252,254,.98); border-top: 1px solid hsl(var(--border)); max-height: calc(100dvh - 80px); overflow-y: auto; }
.nv-mobile-link { display: block; padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.nv-mobile-link:hover { color: hsl(var(--primary)); background: hsl(var(--secondary)); }
.nv-mobile-cta { display: inline-flex; justify-content: center; padding: 12px 24px; border-radius: 999px; color: white; font-weight: 600; margin-top: 12px; }
.nv-mobile-cta:hover { opacity: .9; }
.nv-js [data-nv-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .65s cubic-bezier(.22,1,.36,1),transform .65s cubic-bezier(.22,1,.36,1); transition-delay: var(--nv-delay,0ms); }
.nv-js [data-nv-reveal].nv-visible { opacity: 1; transform: none; }
.nv-form-status { font-size: 14px; margin-top: 16px; padding: 12px 16px; border-radius: 10px; color: #07586d; background: #eef9fb; border: 1px solid #cbeaf0; }
.nv-form-status.nv-error { color: #9f2525; background: #fff5f5; border-color: #f1d4d4; }
.nv-form-privacy { font-size: 11px; color: hsl(var(--muted-foreground)); text-align: center; margin-top: 10px !important; }
.nv-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form select { appearance: auto; cursor: pointer; }
.nv-review-note { padding: 10px 20px; background: #08121f; color: #9aaabd; text-align: center; font-size: 11px; line-height: 1.5; }
.nv-generic-page { max-width: 1000px; width: calc(100% - 40px); margin: auto; padding: 160px 0 60px; }
.nv-generic-page h1 { font-size: clamp(32px,5vw,54px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; }
.nv-generic-page p { margin-bottom: 18px; }
@media(max-width:782px){ .admin-bar #nv-header{top:46px;} }
@media(max-width:600px){ .admin-bar #wpadminbar{position:fixed;} }
@media(min-width:1024px){ .nv-mobile-menu{display:none!important;} }
@media(prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} *,*::before,*::after{animation:none!important;transition:none!important;} .nv-js [data-nv-reveal]{opacity:1;transform:none;} }

/* NuVoice header logo adjustment */
#nv-header a[aria-label="NuVoice home"] {
    background: transparent;
}
#nv-header a[aria-label="NuVoice home"] img {
    height: 37px;
    width: auto;
}
@media (min-width: 768px) {
    #nv-header a[aria-label="NuVoice home"] img {
        height: 46px;
    }
}

/* NuVoice family hero */
.nv-family-hero {
    position: relative;
    isolation: isolate;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #eaf4fb;
}
.nv-family-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(90deg,
            #eaf4fb 0%,
            #eaf4fb 35%,
            rgba(234,244,251,.96) 44%,
            rgba(234,244,251,.55) 56%,
            rgba(234,244,251,0) 72%),
        url("https://nuvoicenetwork.com/wp-content/uploads/2026/10/West-African-Family-Sharing-a-Tablet.png");
    background-size: cover, cover;
    background-position: center, right center;
    background-repeat: no-repeat;
}
.nv-family-hero-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 52px 32px 64px;
}
.nv-family-hero-copy {
    position: relative;
    max-width: 58%;
}
.nv-family-hero-copy h1 {
    font-size: clamp(40px, 4.2vw, 64px);
}
.nv-family-hero-copy p {
    max-width: 580px;
}
@media (max-width: 1023px) {
    .nv-family-hero-copy {
        max-width: 70%;
    }
    .nv-family-hero::before {
        background-image:
            linear-gradient(90deg,
                #eaf4fb 0%,
                rgba(234,244,251,.97) 40%,
                rgba(234,244,251,.7) 65%,
                rgba(234,244,251,.15) 100%),
            url("https://nuvoicenetwork.com/wp-content/uploads/2026/10/West-African-Family-Sharing-a-Tablet.png");
    }
}
@media (max-width: 767px) {
    .nv-family-hero-inner {
        padding: 28px 20px 260px;
    }
    .nv-family-hero-copy {
        max-width: 100%;
    }
    .nv-family-hero-copy h1 {
        font-size: clamp(36px, 8vw, 48px);
    }
    .nv-family-hero::before {
        background-image:
            linear-gradient(180deg,
                #eaf4fb 0%,
                #eaf4fb 48%,
                rgba(234,244,251,.9) 60%,
                rgba(234,244,251,0) 80%),
            url("https://nuvoicenetwork.com/wp-content/uploads/2026/10/West-African-Family-Sharing-a-Tablet.png");
        background-size: cover, 100% auto;
        background-position: center, center bottom;
    }
}

/* NuVoice hero and whitespace refinement */
body.home .overflow-hidden > section:first-child {
    padding-top: 80px;
}
.nv-family-hero-copy a[href$="internet"],
.nv-family-hero-copy a[href$="internet/"] {
    background: #128d98;
    border-color: #128d98;
    color: #fff;
    box-shadow: none;
}
.nv-family-hero-copy a[href$="internet"]:hover,
.nv-family-hero-copy a[href$="internet/"]:hover {
    background: #0c747e;
    border-color: #0c747e;
    color: #fff;
}
body.home .overflow-hidden > section:nth-of-type(2) {
    padding-top: 120px;
    padding-bottom: 120px;
}
@media (max-width: 767px) {
    body.home .overflow-hidden > section:first-child {
        padding-top: 68px;
    }
    body.home .overflow-hidden > section:nth-of-type(2) {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

/* Fiber button hover and gap above hero image row */
.nv-family-hero-copy a[href$="internet"],
.nv-family-hero-copy a[href$="internet/"] {
    transition: background-color .2s ease, transform .2s ease,
                box-shadow .2s ease;
}
@media (hover: hover) {
    .nv-family-hero-copy a[href$="internet"]:hover,
    .nv-family-hero-copy a[href$="internet/"]:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(18,141,152,.22);
    }
}
.nv-family-hero + .grid {
    margin-top: 50px;
}
@media (prefers-reduced-motion: reduce) {
    .nv-family-hero-copy a[href$="internet"],
    .nv-family-hero-copy a[href$="internet/"] {
        transition: none;
        transform: none;
    }
}

/* Correct desktop section spacing */
@media (min-width: 768px) {
    body.home .nv-family-hero + .grid {
        margin-top: 90px;
    }
    body.home .overflow-hidden > section:not(:first-child) {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* Larger mobile header logo and menu icon */
@media (max-width: 767px) {
    #nv-header a[aria-label="NuVoice home"] img {
        height: 46px;
        width: auto;
    }
    #nv-header button:has(svg.lucide-menu) {
        min-width: 44px;
        min-height: 44px;
    }
    #nv-header svg.lucide-menu {
        width: 30px;
        height: 30px;
    }
}

/* Mobile hero and header refinement */
@media (max-width: 767px) {
    .nv-family-hero::before {
        background-image: none;
    }
    .nv-family-hero-inner {
        padding: 28px 20px 40px;
    }
    #nv-header a[aria-label="NuVoice home"] img {
        height: 54px;
        width: auto;
    }
    #nv-header svg.lucide-menu {
        color: #0058a2;
        stroke: #0058a2;
    }
}
