/* ==========================================================================
   INTERO HERO BLOCK — hero-v20.css
   Changes vs v18:
   - Explicitly hide stat card on mobile in addition to image panel
   ========================================================================== */

/* ── Hero shell ───────────────────────────────────────────────────────────── */
.intero-hero {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding: 110px 0 80px;
}

/* ── Dot grid ─────────────────────────────────────────────────────────────── */
.intero-hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(91,114,217,0.10) 1px, transparent 1px);
    background-size: 28px 28px;
    animation: intero-grid-drift 25s linear infinite;
    pointer-events: none;
    z-index: 0;
}
@keyframes intero-grid-drift {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(28px, 28px); }
}

/* ── Glow orbs ────────────────────────────────────────────────────────────── */
.intero-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    animation: intero-glow-pulse 8s ease-in-out infinite alternate;
}

@keyframes intero-glow-pulse {
    0%   { opacity: var(--glow-min, 0.14); transform: scale(1);   }
    100% { opacity: var(--glow-max, 0.22); transform: scale(1.08); }
}

.intero-hero__glow--1 {
    --glow-min: 0.14;
    --glow-max: 0.24;
    opacity: 0.14;
    width: 600px; height: 600px;
    background: #2ec4b6;
    top: -200px; right: -80px;
    animation-delay: 0s;
}

.intero-hero__glow--2 {
    --glow-min: 0.10;
    --glow-max: 0.18;
    opacity: 0.10;
    width: 400px; height: 400px;
    background: #5b72d9;
    bottom: -60px; left: -80px;
    animation-delay: 3s;
}

.intero-hero__glow--3 {
    --glow-min: 0.06;
    --glow-max: 0.12;
    opacity: 0.06;
    width: 300px; height: 300px;
    background: #2ec4b6;
    top: 45%; left: 38%;
    animation-delay: 6s;
}

/* ── Two-column inner grid ────────────────────────────────────────────────── */
.intero-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 52px;
    align-items: start;
    padding-right: 0 !important;
}
@media (min-width: 992px) {
    .intero-hero__inner {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 64px;
    }
}

/* ── Left: Content column ─────────────────────────────────────────────────── */
.intero-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ── Eyebrow ──────────────────────────────────────────────────────────────── */
.intero-hero__eyebrow-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.intero-hero__eyebrow-bar {
    display: none;
}

.intero-hero__eyebrow {
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0d7a70;
}

/* ── Headline ─────────────────────────────────────────────────────────────── */
.intero-hero__headline {
    font-size: clamp(34px, 3.8vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.022em;
    color: #0a0f2e;
    margin: 0 0 22px;
}

/* ── Sub copy ─────────────────────────────────────────────────────────────── */
.intero-hero__sub {
    font-size: clamp(15px, 1.3vw, 17px);
    color: #3d4574;
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 460px;
}

/* ── CTA row ──────────────────────────────────────────────────────────────── */
.intero-hero__ctas {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    margin-bottom: 44px;
}
@media (max-width: 600px) {
    .intero-hero__ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .intero-hero__ctas .intero-btn {
        justify-content: center;
        width: 100%;
    }
}

.intero-hero .intero-btn--ghost-light {
    color: #0a0f2e !important;
    border-color: rgba(10,15,46,0.30) !important;
    background: transparent !important;
}
.intero-hero .intero-btn--ghost-light:hover {
    background: #0a0f2e !important;
    color: #fff !important;
    border-color: #0a0f2e !important;
}

/* ── Award badges ─────────────────────────────────────────────────────────── */
.intero-hero__badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.intero-hero .intero-hero__badge-img {
    height: 54px !important;
    width: auto !important;
    max-width: none;
    opacity: 0.85;
    filter: drop-shadow(0 1px 4px rgba(10,15,46,0.12));
    transition: opacity 0.2s;
}
.intero-hero .intero-hero__badge-img:hover { opacity: 1; }

/* ── Right: Image panel — bleeds to viewport right edge ───────────────────── */
.intero-hero__image-panel {
    position: relative;
    overflow: visible;
    margin-right: calc(-1 * max(48px, (100vw - 1200px) / 2 + 48px));
}

/* ── Slider — flush right edge ────────────────────────────────────────────── */
.intero-hero__slider {
    position: relative;
    border-radius: 14px 0 0 14px;
    overflow: hidden;
    width: 100%;
    height: clamp(380px, 46vh, 500px);
    box-shadow: 0 24px 80px rgba(10,15,46,0.16), 0 4px 16px rgba(10,15,46,0.09);
}

/* ── Individual slides ────────────────────────────────────────────────────── */
.intero-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
}
.intero-hero__slide.is-active { opacity: 1; }

.intero-hero__slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.82) saturate(1.1);
    transition: transform 8s ease;
    display: block;
}
.intero-hero__slide.is-active .intero-hero__slide-img {
    transform: scale(1.04);
}

/* Gradient overlay */
.intero-hero__slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(8,12,26,0.70) 0%, transparent 48%),
        linear-gradient(to top,   rgba(8,12,26,0.35) 0%, transparent 30%),
        radial-gradient(ellipse at 0% 65%, rgba(8,12,26,0.45) 0%, transparent 45%);
}

/* ── Corner logo — top-LEFT of image ─────────────────────────────────────── */
.intero-hero__corner-logo {
    position: absolute;
    top: 16px;
    left: 16px;
    right: auto;
    z-index: 5;
    height: 38px !important;
    width: auto !important;
    max-width: 140px;
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.7));
    opacity: 0.92;
    transition: opacity 0.5s ease;
}

/* ── Dot navigation ───────────────────────────────────────────────────────── */
.intero-hero__dots {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 6;
    display: flex;
    gap: 6px;
    align-items: center;
}
.intero-hero__dot {
    width: 7px;
    height: 7px !important;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.40);
    padding: 0;
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    flex-shrink: 0;
}
.intero-hero__dot.is-active {
    background: #fff;
    transform: scale(1.4);
}

/* ── Stat card — navy frosted glass ──────────────────────────────────────── */
.intero-hero__stat-card {
    position: absolute;
    top: clamp(270px, 65%, 330px);
    left: -20px;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(8, 12, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 18px;
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    max-width: calc(100% - 20px);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.28),
        0 2px 8px rgba(0,0,0,0.14),
        inset 0 1px 0 rgba(255,255,255,0.08);
    white-space: nowrap;
}
.intero-hero__stat-num {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    flex-shrink: 0;
    color: var(--color-secondary);
}
.intero-hero__stat-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.intero-hero__stat-desc {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
    white-space: normal;
}
.intero-hero__stat-client {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.50);
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ── Wave swoosh ──────────────────────────────────────────────────────────── */
.intero-hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 0;
}
.intero-hero__wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ── Light-hero header overrides (homepage only, cache-proof) ─────────────── */

/* Utility bar — white on light hero */
body.intero-has-light-hero .intero-header__utility {
    background: var(--color-bg);
    border-bottom: 1px solid rgba(10,15,46,0.06);
}
body.intero-has-light-hero .intero-header__utility-phone {
    color: rgba(10,15,46,0.55);
}
body.intero-has-light-hero .intero-header__utility-phone:hover {
    color: var(--color-secondary);
}

/* Main nav — white on light hero */
body.intero-has-light-hero .intero-header--dark .intero-header__nav {
    background: var(--color-bg) !important;
    border-bottom: 1px solid rgba(10,15,46,0.08) !important;
    box-shadow: none !important;
}
body.intero-has-light-hero .intero-header--dark .intero-header__menu-item > a,
body.intero-has-light-hero .intero-header--dark .intero-header__menu-item > button {
    color: var(--color-text-dark) !important;
}
body.intero-has-light-hero .intero-header--dark .intero-header__menu-item > a:hover,
body.intero-has-light-hero .intero-header--dark .intero-header__menu-item > button:hover {
    color: var(--color-secondary) !important;
}
body.intero-has-light-hero .intero-header--dark .intero-header__logo--white { display: none !important; }
body.intero-has-light-hero .intero-header--dark .intero-header__logo--light  { display: block !important; }
body.intero-has-light-hero .intero-header--dark .intero-header__hamburger { color: var(--color-dark) !important; }

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .intero-hero {
        padding: 100px 0 80px;
    }
    /* Hide the entire right column (slider + stat card) on mobile/tablet */
    .intero-hero__image-panel {
        display: none !important;
    }
    /* Belt-and-suspenders: hide stat card directly in case it escapes the parent */
    .intero-hero__stat-card {
        display: none !important;
    }
    .intero-hero__inner {
        grid-template-columns: 1fr;
        padding-right: var(--container-padding, 48px) !important;
    }
    .intero-hero__wave svg {
        height: 50px;
    }
}
