/*==================================================
    BDU CUSTOMERS PAGE — Premium Showcase
    Business Development Unit • Palakkad Division
    Southern Railway • Indian Railways
===================================================*/

/*------------------------------
CSS VARIABLES
------------------------------*/

.customers-body {
    --cust-navy: #003B73;
    --cust-navy-dark: #061A2F;
    --cust-blue: #0056A6;
    --cust-gold: #D4A72C;
    --cust-white: #FFFFFF;
    --cust-bg: #F5F7FA;
    --cust-dark: #071827;
    --cust-text: #1a2b3c;
    --cust-text-muted: #5a6b7d;
    --cust-border: rgba(0, 59, 115, 0.12);
    --cust-border-hover: rgba(0, 59, 115, 0.28);
    --cust-ease: cubic-bezier(.16, 1, .3, 1);
    --cust-duration: 0.7s;
    --cust-radius: 4px;
    --cust-radius-md: 8px;
    --cust-shadow: 0 4px 24px rgba(6, 26, 47, 0.06);
    --cust-shadow-hover: 0 12px 40px rgba(0, 59, 115, 0.12);
    --cust-max: 1280px;
    --hero-img-opacity: 0.45;
}

.customers-body {
    background: var(--cust-bg);
    overflow-x: hidden;
}

.customers-page {
    padding: 0;
}

.customers-page section {
    padding: 0;
}


/*------------------------------
BASE — page fundamentals
(formerly supplied by bdu.css; kept here so this
stylesheet is fully self-contained)
------------------------------*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    scrollbar-width: thin;
    scrollbar-color: #003B73 transparent;
}

body {
    font-family: 'Inter', sans-serif;
    color: #222;
    line-height: 1.6;
    background: #f5f7fb;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

::selection {
    background: #FFD100;
    color: #003B73;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #FFD100;
    outline-offset: 3px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #003B73;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFD100;
    background-clip: padding-box;
}

.container {
    width: 92%;
    max-width: 1300px;
    margin: auto;
}


/*------------------------------
SCROLL PROGRESS
------------------------------*/

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10001;
    background: rgba(0, 59, 115, 0.08);
    pointer-events: none;
}

.scroll-progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cust-navy), var(--cust-gold));
    transform-origin: left center;
    will-change: width;
}


/*------------------------------
PAGE LOAD GRID
------------------------------*/

.page-load-grid {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    background:
        linear-gradient(90deg, rgba(0, 59, 115, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(0, 59, 115, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridFadeIn 1.2s var(--cust-ease) 0.1s forwards;
}

@keyframes gridFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.customers-body.page-loaded .page-load-grid {
    opacity: 0.35;
    transition: opacity 1.5s ease;
}


/*------------------------------
BACK BUTTON
------------------------------*/

.customer-back {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 10000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cust-navy);
    color: var(--cust-white);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: var(--cust-radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 59, 115, 0.25);
    transition: transform 0.35s var(--cust-ease), box-shadow 0.35s ease, background 0.35s ease;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.customer-back:hover {
    transform: translateX(-3px);
    box-shadow: 0 8px 28px rgba(0, 59, 115, 0.35);
    background: var(--cust-navy-dark);
}

.customer-back i {
    font-size: 12px;
    transition: transform 0.3s var(--cust-ease);
}

.customer-back:hover i {
    transform: translateX(-3px);
}


/*------------------------------
BUTTONS
------------------------------*/

.cust-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--cust-radius);
    text-decoration: none;
    transition: transform 0.35s var(--cust-ease), box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.cust-btn i {
    font-size: 13px;
    transition: transform 0.35s var(--cust-ease);
}

.cust-btn:hover i {
    transform: translateX(4px);
}

.cust-btn--primary {
    background: var(--cust-gold);
    color: var(--cust-navy-dark);
    border-color: var(--cust-gold);
}

.cust-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 167, 44, 0.35);
}

/* One-shot shimmer sweep on the gold hero button */
.cust-btn--primary::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -80%;
    width: 55%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.js .customers-body.page-loaded .cust-btn--primary::after {
    animation: btnShimmer 1.3s ease 1.25s both;
}

@keyframes btnShimmer {
    0% { left: -80%; }
    100% { left: 135%; }
}

.cust-btn--ghost {
    background: transparent;
    color: var(--cust-white);
    border-color: rgba(255, 255, 255, 0.35);
}

.cust-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.cust-btn--cta {
    background: var(--cust-gold);
    color: var(--cust-navy-dark);
    font-size: 16px;
    padding: 16px 36px;
    border-color: var(--cust-gold);
}

.cust-btn--cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 167, 44, 0.4);
}

/* Ripple ring on hover */
.cust-btn--cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.cust-btn--cta:hover::before {
    animation: btnRipple 0.7s ease-out;
}

@keyframes btnRipple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(16);
        opacity: 0;
    }
}


/*------------------------------
SECTION LABEL
------------------------------*/

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cust-blue);
}

.section-label--light {
    color: rgba(255, 255, 255, 0.75);
}

.section-label__line {
    display: block;
    width: 32px;
    height: 1px;
    background: var(--cust-gold);
    transform-origin: left center;
}


/*------------------------------
HERO — stable frame
------------------------------*/

.hero-scroll-wrapper {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    width: 100%;
    background: var(--cust-navy-dark);
}

/* Short, narrow screens: give the hero text and the bubble grid their own
   vertical zones (the grid is laid out below the text) */
@media (max-width: 767px) and (max-height: 720px) {
    .hero-scroll-wrapper {
        min-height: 720px;
    }
}

.cust-hero {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--cust-navy-dark);

    /* stable frame — no 3D */
    perspective: none;
    transform: none;
    transform-style: flat;
}

.cust-hero__bg,
.cust-hero__inner,
.hero-content-wrap,
.cust-scroll-hint {
    will-change: transform, opacity;
    transform-origin: center center;
}

.cust-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    transform: none !important;
}

.cust-hero__image {
    position: absolute;
    inset: -5%;
    background-image: url("assets/images/bdu/freighttrain-opt.jpg");
    background-size: cover;
    background-position: center 40%;
    opacity: 0;
    animation: heroBgIn 1.4s var(--cust-ease) 0.1s forwards;

    /* no scroll transform */
    transform: none !important;
}

@keyframes heroBgIn {
    from { opacity: 0; }
    to { opacity: var(--hero-img-opacity); }
}

.cust-hero__gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 26, 47, 0.92) 0%, rgba(6, 26, 47, 0.75) 45%, rgba(7, 24, 39, 0.95) 100%),
        linear-gradient(90deg, rgba(6, 26, 47, 0.85) 0%, transparent 60%);
    pointer-events: none;
}

.cust-hero__grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(212, 167, 44, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0;
    animation: gridReveal 1s var(--cust-ease) 0.2s forwards;
}

@keyframes gridReveal {
    to { opacity: 1; }
}

.cust-hero__tracks {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.track-line {
    position: absolute;
    left: -10%;
    width: 120%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 167, 44, 0.25), transparent);
    opacity: 0;
}

.track-line--1 {
    top: 35%;
    animation: trackDrift 18s linear infinite, trackIn 0.8s ease 0.9s both;
    --track-op: 1;
}

.track-line--2 {
    top: 55%;
    animation: trackDrift 22s linear infinite reverse, trackIn 0.8s ease 1.1s both;
    --track-op: 0.6;
}

.track-line--3 {
    top: 72%;
    animation: trackDrift 26s linear infinite, trackIn 0.8s ease 1.3s both;
    --track-op: 0.4;
}

@keyframes trackDrift {
    from { transform: translateX(-5%); }
    to { transform: translateX(5%); }
}

@keyframes trackIn {
    to { opacity: var(--track-op, 1); }
}

.cust-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 0 100px;
    max-width: var(--cust-max);
}

/* Hero emergence — staggered, choreographed on load */
.hero-content-wrap {
    opacity: 1;
    transform: none;
}


.cust-hero__eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cust-gold);
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 2px solid var(--cust-gold);
}

.cust-hero__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.cust-hero__title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 6.5rem);
    color: var(--cust-white);
}

.cust-hero__title-line--accent {
    color: transparent;
    background: linear-gradient(135deg, var(--cust-white) 30%, rgba(212, 167, 44, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
}

.cust-hero__desc {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: 40px;
    font-weight: 400;
}

.cust-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cust-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    pointer-events: auto;
}

.cust-scroll-hint:hover {
    color: rgba(255, 255, 255, 0.9);
}

.cust-scroll-hint__line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--cust-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(0.7); opacity: 1; }
}

.cust-scroll-hint__label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Atmospheric floating particles */
.hero-particle {
    position: absolute;
    bottom: -10px;
    left: var(--p-x, 50%);
    width: var(--p-size, 3px);
    height: var(--p-size, 3px);
    border-radius: 50%;
    background: var(--cust-gold);
    opacity: 0;
    animation: floatUp var(--p-duration, 16s) linear var(--p-delay, 0s) infinite;
    pointer-events: none;
    will-change: transform, opacity;
}

@keyframes floatUp {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    15% {
        opacity: var(--p-opacity, 0.3);
    }
    100% {
        transform: translate(var(--p-drift, 0px), -120vh);
        opacity: 0;
    }
}


/*------------------------------
SECTION REVEAL — GSAP-driven (customers.js),
no CSS hidden states needed
------------------------------*/

/* Section divider — draws itself as the section enters */
.section-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(80%, 900px);
    height: 1px;
    transform: translateX(-50%) scaleX(1);
    transform-origin: center;
    background: linear-gradient(90deg, transparent, var(--cust-gold), transparent);
    opacity: 0.65;
    pointer-events: none;
    transition: transform 1.1s var(--cust-ease);
}

.js .section-divider {
    transform: translateX(-50%) scaleX(0);
}

.js .section-divider.drawn {
    transform: translateX(-50%) scaleX(1);
}


/*------------------------------
CUSTOMER NETWORK — bubble ecosystem
------------------------------*/

.cust-network {
    position: relative;
    padding: 100px 0 120px;
    background: var(--cust-bg);
    background-image:
        linear-gradient(rgba(0, 59, 115, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 59, 115, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    overflow: hidden;
}

.cust-network__accent {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 200px;
    pointer-events: none;
    opacity: 0.35;
    will-change: transform;
}

.cust-network__svg {
    width: 100%;
    height: 100%;
}

.network-path {
    stroke: var(--cust-blue);
    stroke-width: 1;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    opacity: 0.4;
}

.cust-network.network-visible .network-path {
    animation: drawPath 2.5s var(--cust-ease) forwards;
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

.network-node {
    fill: var(--cust-gold);
    opacity: 0;
}

.cust-network.network-visible .network-node {
    animation: nodePop 0.5s var(--cust-ease) forwards;
}

.network-node--1 { animation-delay: 0.8s !important; }
.network-node--2 { animation-delay: 1.1s !important; }
.network-node--3 { animation-delay: 1.4s !important; }

@keyframes nodePop {
    from { opacity: 0; }
    to { opacity: 0.8; }
}

.cust-network__header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.cust-network__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--cust-navy);
    margin-top: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.cust-network__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--cust-text-muted);
    max-width: 600px;
    margin: 16px auto 0;
    line-height: 1.7;
}

.bubble-stage {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    height: 760px;
}

.bubble-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.bubble-line {
    fill: none;
    stroke: var(--cust-gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 0 10;
    opacity: 0.55;
}

.bubble-field {
    position: absolute;
    inset: 0;
}

.customer-bubble {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(118px, 12vw, 148px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--cust-white);
    border: 1px solid rgba(0, 59, 115, 0.22);
    box-shadow: 0 10px 26px rgba(0, 59, 115, 0.12);
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    gap: 4px;
    cursor: default;
    z-index: 1;
}

.customer-bubble:hover {
    transform: translate(-50%, -50%) translateY(-8px);
    border-color: rgba(212, 167, 44, 0.85);
    box-shadow:
        0 18px 40px rgba(0, 59, 115, 0.18),
        0 0 0 4px rgba(212, 167, 44, 0.22),
        0 0 26px rgba(212, 167, 44, 0.4);
    transition:
        transform 0.3s var(--cust-ease),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.bubble-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62%;
    height: 46%;
    margin-bottom: 2px;
}

.bubble-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.bubble-initials {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--cust-navy);
    letter-spacing: 0.02em;
}

.bubble-initials.initials-sm { font-size: 13px; }

.bubble-initials.initials-xs { font-size: 10px; }

.bubble-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.25;
    color: var(--cust-navy);
    max-width: 92%;
}

.bubble-cat {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b58900;
    line-height: 1.2;
    max-width: 92%;
}

@media (max-width: 1023px) {
    .bubble-stage {
        height: 1040px;
    }

    .customer-bubble {
        width: clamp(96px, 13vw, 116px);
    }
}

@media (max-width: 559px) {
    .bubble-stage {
        height: 1290px;
    }

    .customer-bubble {
        width: clamp(78px, 24vw, 96px);
    }
}


/*------------------------------
INDUSTRY REACH
------------------------------*/

.cust-reach {
    position: relative;
    padding: 100px 0;
    background: var(--cust-white);
    overflow: hidden;
}

.cust-reach__header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.cust-reach__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--cust-navy);
    margin-top: 16px;
    letter-spacing: -0.02em;
}

.cust-reach__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--cust-text-muted);
    max-width: 620px;
    margin: 16px auto 0;
    line-height: 1.7;
}

.cust-reach__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.reach-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--cust-bg);
    border: 1px solid var(--cust-border);
    border-radius: 40px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cust-navy);
    cursor: default;
    transition:
        transform 0.35s var(--cust-ease),
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        color 0.35s ease;
}

.reach-chip i {
    color: var(--cust-gold);
    font-size: 0.85rem;
    transition: transform 0.35s var(--cust-ease);
}

.reach-chip:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 167, 44, 0.45);
    box-shadow: 0 10px 26px rgba(0, 59, 115, 0.1);
    color: var(--cust-blue);
}

.reach-chip:hover i {
    transform: scale(1.15);
}


/*------------------------------
STATS
------------------------------*/

.cust-stats {
    padding: 100px 0;
    background: var(--cust-dark);
    position: relative;
    overflow: hidden;
}

.cust-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(212, 167, 44, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.cust-stats::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(640px circle at 15% 60%, rgba(212, 167, 44, 0.10), transparent 60%);
    opacity: 0.45;
    animation: statsPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes statsPulse {
    0%, 100% {
        transform: translate3d(-6%, 0, 0);
        opacity: 0.45;
    }
    50% {
        transform: translate3d(6%, 0, 0);
        opacity: 0.9;
    }
}

.cust-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cust-stat {
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

/* Vertical separator that draws between stats */
.cust-stat::before {
    content: "";
    position: absolute;
    top: 12%;
    bottom: 12%;
    right: -16px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(212, 167, 44, 0.45), transparent);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 1s var(--cust-ease);
}

.cust-stat.active::before {
    transform: scaleY(1);
}

.cust-stat:last-child::before {
    display: none;
}

/* Gold underline that grows as the count runs */
.cust-stat__number::after {
    content: "";
    display: block;
    width: 44px;
    height: 2px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, var(--cust-gold), rgba(212, 167, 44, 0.2));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.9s var(--cust-ease);
}

.cust-stat.active .cust-stat__number::after {
    transform: scaleX(1);
}

.cust-stat__number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--cust-gold);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.cust-stat__number--text {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    transition:
        opacity 0.9s var(--cust-ease),
        transform 0.9s var(--cust-ease),
        letter-spacing 0.9s var(--cust-ease);
}

.js .cust-stat__number--text {
    opacity: 0;
    transform: translateY(16px);
    letter-spacing: 0.2em;
}

.cust-stat__number--text.revealed {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -0.03em;
}

.cust-stat__label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cust-stat__line {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--cust-gold);
    margin: 20px auto 0;
    transform: scaleX(0);
    transition: transform 0.8s var(--cust-ease) 0.3s;
}

.cust-stat.active .cust-stat__line {
    transform: scaleX(1);
}


/*------------------------------
CTA
------------------------------*/

.cust-cta {
    position: relative;
    padding: 120px 0;
    background: var(--cust-navy);
    overflow: hidden;
    text-align: center;
}

.cust-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("assets/images/bdu/freighttrain-opt.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.12;
}

/* Pulsing radial glow behind the CTA content */
.cust-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px circle at 50% 35%, rgba(212, 167, 44, 0.18), transparent 65%);
    opacity: 0.55;
    animation: ctaGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.9; }
}

.cust-cta__inner {
    position: relative;
    z-index: 2;
}

.cust-cta__track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
    pointer-events: none;
    overflow: hidden;
}

.cust-cta__track-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(212, 167, 44, 0.2) 50%, transparent 90%);
}

.cust-cta__track-dot {
    position: absolute;
    top: -3px;
    left: -20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cust-gold);
    box-shadow: 0 0 12px rgba(212, 167, 44, 0.6);
    animation: ctaTrackMove 4s var(--cust-ease) infinite;
}

@keyframes ctaTrackMove {
    0% { left: -20px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% + 20px); opacity: 0; }
}

.cust-cta__title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--cust-white);
    margin-top: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Letter-split shimmer — chars are injected by JS, so no hidden base state */
.js .cta-char {
    display: inline-block;
    background-image: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0.35) 0%,
        var(--cust-gold) 45%,
        #ffffff 50%,
        var(--cust-gold) 55%,
        rgba(255, 255, 255, 0.35) 100%
    );
    background-size: 300% 100%;
    background-position: 120% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cust-cta__desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    margin: 20px auto 36px;
    line-height: 1.65;
}

.cust-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cust-btn--ghost-on-dark {
    color: var(--cust-white);
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
}

.cust-btn--ghost-on-dark:hover {
    border-color: var(--cust-gold);
    color: var(--cust-gold);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/*------------------------------
RESPONSIVE
------------------------------*/

@media (max-width: 768px) {
    .customer-back {
        top: 12px;
        left: 12px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .cust-hero__inner {
        padding: 100px 0 80px;
    }

    .cust-network,
    .cust-reach,
    .cust-stats,
    .cust-cta {
        padding: 72px 0;
    }

    .cust-stats__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cust-stat {
        padding: 28px 20px;
    }

    .cust-stat::before {
        display: none;
    }

    .cust-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .cust-btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .cust-network__accent {
        display: none;
    }

    .section-divider {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .cust-cta {
        padding: 80px 0;
    }
}
