/* ============================================================
   VAB HOME — MODERN PREMIUM DESIGN
   Uses admin CSS vars: --blue-primary, --red-secondary, --white
   ============================================================ */

/* ===== UTILITY ===== */
.vh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--red-secondary);
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(240, 46, 46, 0.3);
    border-radius: 50px;
    background: rgba(240, 46, 46, 0.06);
    margin-bottom: 1.25rem;
}
.vh-eyebrow--red { background: rgba(240,46,46,0.1); }
.vh-eyebrow--on-dark {
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
}
.vh-h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--blue-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}
.vh-h2::after { display: none; }
.vh-prose p {
    color: #4b5563;
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* ===== HERO ===== */
.vh-hero {
    position: relative;
    padding: 2.5rem calc(1em + 2vw) 4rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0,0,30,0.02) 0%, transparent 100%);
}
.vh-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.vh-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}
.vh-hero__glow--1 {
    top: -10%;
    right: -5%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(240,46,46,0.25) 0%, transparent 70%);
}
.vh-hero__glow--2 {
    bottom: -20%;
    left: -10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(0,0,30,0.18) 0%, transparent 70%);
}
.vh-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,30,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,30,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 30%, transparent 80%);
}
.vh-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
.vh-hero__copy { max-width: 640px; }
.vh-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--red-secondary);
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(240,46,46,0.3);
    border-radius: 50px;
    background: rgba(240,46,46,0.06);
    margin-bottom: 1.5rem;
}
.vh-hero__heading {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--blue-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}
.vh-hero__heading::after { display: none; }
.vh-hero__text {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 2rem;
    max-width: 560px;
}
.vh-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Buttons */
.vh-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1.5px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}
.vh-btn svg { width: 16px; height: 16px; transition: transform 0.2s; }
.vh-btn:hover svg { transform: translateX(3px); }
.vh-btn--solid {
    background: var(--red-secondary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(240,46,46,0.32);
}
.vh-btn--solid:hover {
    background: #c01818;
    box-shadow: 0 10px 28px rgba(240,46,46,0.4);
    transform: translateY(-2px);
}
.vh-btn--ghost {
    background: transparent;
    color: var(--blue-primary);
    border-color: rgba(0,0,30,0.18);
}
.vh-btn--ghost:hover {
    border-color: var(--blue-primary);
    background: var(--blue-primary);
    color: var(--white);
    transform: translateY(-2px);
}
.vh-btn--light {
    background: var(--white);
    color: var(--blue-primary);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.vh-btn--light:hover {
    background: var(--red-secondary);
    color: var(--white);
    box-shadow: 0 10px 28px rgba(240,46,46,0.4);
    transform: translateY(-2px);
}

/* Hero stats */
.vh-hero__stats {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0,0,30,0.08);
    padding-top: 1.5rem;
}
.vh-stat {
    flex: 1 1 25%;
    min-width: 110px;
    padding: 0 1rem;
}
.vh-stat:first-child { padding-left: 0; }
.vh-stat__num {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--blue-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.vh-stat__label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-top: 0.25rem;
    font-weight: 600;
}
.vh-stat__divider {
    width: 1px;
    background: rgba(0,0,30,0.08);
    align-self: stretch;
    margin: 0.4rem 0;
}

/* Hero media */
.vh-hero__media {
    position: relative;
    display: grid;
    place-items: center;
}
.vh-hero__img-c {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1;
}
.vh-hero__img-c::before,
.vh-hero__img-c::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.vh-hero__img-c::before {
    inset: -22px;
    border: 2px dashed rgba(240,46,46,0.4);
    animation: vh-spin 24s linear infinite;
}
.vh-hero__img-c::after {
    inset: -8px;
    border: 1px solid rgba(0,0,30,0.08);
    background: conic-gradient(from 0deg, rgba(240,46,46,0.0) 0deg, rgba(240,46,46,0.4) 90deg, rgba(240,46,46,0) 180deg);
    mask: radial-gradient(circle, transparent 50%, #000 51%);
    -webkit-mask: radial-gradient(circle, transparent 50%, #000 51%);
    animation: vh-spin 8s linear infinite reverse;
}
@keyframes vh-spin { to { transform: rotate(360deg); } }
.vh-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 30px 80px rgba(0,0,30,0.25);
    animation: vh-float 5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}
@keyframes vh-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.vh-hero__chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.95rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0,0,30,0.1);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue-primary);
    z-index: 2;
    border: 1px solid rgba(0,0,30,0.04);
}
.vh-hero__chip i { color: var(--red-secondary); font-size: 0.9rem; }
.vh-hero__chip--tl { top: 8%; left: -2%; animation: vh-float 4s ease-in-out infinite; }
.vh-hero__chip--br { bottom: 8%; right: -2%; animation: vh-float 4.5s ease-in-out infinite 0.3s; }

/* ===== CLIENTS ===== */
.vh-clients {
    padding: 2.5rem calc(1em + 2vw);
    background: linear-gradient(180deg, rgba(0,0,30,0.02) 0%, transparent 100%);
    overflow: hidden;
    position: relative;
}
.vh-clients__heading {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #6b7280;
    margin-bottom: 1.75rem;
    font-weight: 600;
}
/* Marquee track — desktop only */
.vh-clients__track {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.vh-clients__row {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: max-content;
    animation: vh-marquee 30s linear infinite;
}
.vh-clients__track:hover .vh-clients__row { animation-play-state: paused; }
@keyframes vh-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.vh-clients__logo {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    height: 120px;
    width: 220px;
}
.vh-clients__logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    opacity: 1;
    transition: transform 0.3s;
}
.vh-clients__logo:hover img {
    transform: scale(1.08);
}

/* Mobile: switch clients from marquee to grid */
@media (max-width: 768px) {
    .vh-clients__track {
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .vh-clients__row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        width: 100%;
        animation: none;
    }
    .vh-clients__logo {
        height: 70px;
        width: 100%;
    }
    .vh-clients__logo img {
        max-height: 50px;
    }
    .vh-clients__logo--dup {
        display: none;
    }
}
@media (max-width: 400px) {
    .vh-clients__row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Divider */
.vh-divider {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 1rem;
    padding: 0 calc(1em + 2vw);
    box-sizing: border-box;
}

/* ===== CHALLENGES ===== */
.vh-challenges {
    max-width: 1400px;
    margin: 3.5rem auto;
    padding: 0 calc(1em + 2vw);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.vh-challenges__col {
    padding: 2rem 1.75rem;
}
.vh-challenges__col--card {
    background: var(--blue-primary);
    border-radius: 1.5rem;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(0,0,30,0.18);
    position: relative;
    overflow: hidden;
}
.vh-challenges__col--card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(240,46,46,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.vh-challenges__col--card .vh-h2 { color: var(--white); }
.vh-challenges__col--card .vh-eyebrow {
    background: rgba(240,46,46,0.18);
    border-color: rgba(240,46,46,0.45);
    color: var(--white);
}
.vh-challenges__intro {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.97rem;
    position: relative;
}
.vh-why { position: relative; }
.vh-why__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    font-size: 0.95rem;
    line-height: 1.55;
    transition: padding 0.2s;
}
.vh-why__item:hover { padding-left: 0.4rem; }
.vh-why__item:last-child { border-bottom: none; }
.vh-why__icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--red-secondary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    box-shadow: 0 4px 10px rgba(240,46,46,0.4);
    margin-top: 0.1rem;
}

/* ===== ABOUT CTA ===== */
.vh-about {
    background: linear-gradient(135deg, var(--red-secondary) 0%, #b71c1c 50%, var(--blue-primary) 100%);
    color: var(--white);
    margin: 4rem calc(1em + 2vw) 0;
    border-radius: 2rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    box-shadow: 0 30px 70px rgba(0,0,30,0.25);
    position: relative;
}
.vh-about::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.vh-about__media {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}
.vh-about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.vh-about:hover .vh-about__media img { transform: scale(1.05); }
.vh-about__media-frame {
    position: absolute;
    inset: 1.5rem;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 1rem;
    pointer-events: none;
}
.vh-about__body {
    padding: 3rem 2.25rem;
    position: relative;
    z-index: 1;
}
.vh-about__heading {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}
.vh-about__heading::after { display: none; }
.vh-about__text {
    color: rgba(255,255,255,0.9);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 0.98rem;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .vh-hero { padding: 3.5rem calc(1em + 2vw) 5rem; }
    .vh-hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
    .vh-challenges { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .vh-challenges__col { padding: 2.5rem 2.25rem; }
    .vh-about__media { min-height: 380px; }
    .vh-about__body { padding: 4rem 3.5rem; }
}
@media (min-width: 992px) {
    .vh-about { grid-template-columns: 1fr 1.05fr; }
}
@media (max-width: 600px) {
    .vh-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .vh-stat { padding: 0.5rem; text-align: center; }
    .vh-stat__divider { display: none; }
    .vh-stat__num { font-size: 1.4rem; }
    .vh-stat__label { font-size: 0.7rem; }
    .vh-hero__chip--tl { left: 0; top: 4%; }
    .vh-hero__chip--br { right: 0; bottom: 4%; }
    .vh-about__media-frame { inset: 1rem; }
    .vh-about__body { padding: 2rem 1.5rem; }
    .vh-challenges { grid-template-columns: 1fr; margin: 2rem 1rem; padding: 0; }
    .vh-challenges__col { padding: 1.5rem; }
    /* Why choose list items as grid on mobile */
    .vh-why { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .vh-why__item { border-bottom: none; padding: 0.6rem 0.5rem; background: rgba(255,255,255,0.05); border-radius: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .vh-clients__row { animation: none; }
    .vh-hero__img, .vh-hero__img-c::before, .vh-hero__img-c::after,
    .vh-hero__chip { animation: none !important; }
}
