/* ============================================================
   TCOM HOMEPAGE — Design hors norme
   ============================================================ */

.page-home { overflow-x: hidden; }

/* ── Glass panel utility ── */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(26, 155, 219, 0.15);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(26, 155, 219, 0.08);
}

/* ── Text shine animation ── */
.text-shine {
    background: linear-gradient(90deg, #0B6CAD, #1A9BDB, #4DB8E8, #0B6CAD);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 4s ease infinite;
    font-style: normal;
}

@keyframes textShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ── Magnetic button base ── */
.btn-magnetic { transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* ============================================================
   HERO X — Fidèle maquette TCOM
   ============================================================ */
.hero-x {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #060e1a;
    overflow: hidden;
    margin-top: 0;
    padding-top: calc(var(--header-height) + 48px);
}

/* Fond sombre dégradé — remonte derrière le header transparent */
.hero-x-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: calc(-1 * (var(--header-height) + 20px));
    z-index: 0;
    pointer-events: none;
}

.hero-x-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #060e1a 0%, #0a2e45 40%, #0b1a2e 70%, #060e1a 100%);
}

.hero-x-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-x-bg-glow--1 {
    width: 500px;
    height: 500px;
    background: var(--tcom-brand);
    opacity: 0.12;
    top: -10%;
    left: -5%;
}

.hero-x-bg-glow--2 {
    width: 400px;
    height: 400px;
    background: var(--tcom-brand-light);
    opacity: 0.08;
    bottom: 20%;
    right: 5%;
}

.hero-x-layout {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: flex-start;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 40px 30px;
    width: 100%;
}

/* Contenu gauche */
.hero-x-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--tcom-white);
    margin-bottom: 22px;
}

.hero-x-line { display: block; overflow: hidden; }

.hero-x-accent {
    background: var(--tcom-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.split-line {
    display: inline-block;
    transform: translateY(110%);
}

.hero-x-sub {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-x-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Images diagonales — droite */
.hero-x-visual {
    position: relative;
    height: 480px;
    width: 100%;
}

.hero-x-img {
    position: absolute;
    overflow: hidden;
    border-radius: 2px;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.hero-x-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.hero-x-img:hover img { transform: scale(1.04); }

.hero-x-img--main {
    top: 0;
    right: 0;
    width: 88%;
    height: 56%;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 82%);
    z-index: 3;
}

.hero-x-img--secondary {
    bottom: 6%;
    left: 0;
    width: 50%;
    height: 40%;
    clip-path: polygon(0 14%, 100% 0, 100% 100%, 0% 100%);
    z-index: 2;
}

.hero-x-img--tertiary {
    bottom: 0;
    right: 0;
    width: 52%;
    height: 38%;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

/* Barre services — compacte, pleine largeur */
.hero-x-services {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    background: rgba(4, 14, 28, 0.97);
    border-top: 1px solid rgba(26, 155, 219, 0.2);
    padding: 18px 0;
    margin-top: auto;
}

.hero-x-svc {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.25s;
}

.hero-x-svc:last-child { border-right: none; }
.hero-x-svc:hover { background: rgba(26, 155, 219, 0.06); }

.hero-x-svc-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-brand);
    margin-top: 2px;
}

.hero-x-svc-text h3 {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--tcom-brand-light);
    margin-bottom: 4px;
}

.hero-x-svc-text p {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.45;
    max-width: 240px;
}

/* ============================================================
   MEGA MARQUEE
   ============================================================ */
.mega-marquee {
    padding: 28px 0;
    overflow: hidden;
    position: relative;
}

.mega-marquee-track {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    width: max-content;
}

.mega-marquee-track span {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(26, 155, 219, 0.15);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.mega-marquee-track--left {
    animation: megaMarqueeL 30s linear infinite;
    margin-bottom: 8px;
}

.mega-marquee-track--right {
    animation: megaMarqueeR 35s linear infinite;
}

@keyframes megaMarqueeL {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes megaMarqueeR {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ============================================================
   BENTO GRID
   ============================================================ */
.bento-section { padding: 100px 0; }

.bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-cell {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s;
}

.bento-cell:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 27, 61, 0.12);
}

.bento-cell--main {
    grid-row: span 2;
    padding: 48px 40px;
    background: var(--tcom-white);
    border: 1px solid var(--tcom-gray-200);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    color: var(--tcom-text-dark);
    margin: 16px 0 20px;
}

.bento-cell--main p {
    color: var(--tcom-text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.bento-cell--img {
    min-height: 280px;
}

.bento-cell--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento-cell--img:hover img { transform: scale(1.06); }

.bento-cell-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 27, 61, 0.3) 100%);
    pointer-events: none;
}

.bento-cell--stat {
    padding: 32px;
    background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.bento-stat-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3rem;
    line-height: 1;
}

.bento-stat-suffix {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3rem;
    color: #fff;
}

.bento-stat-lbl {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.85;
    margin-top: 6px;
}

.bento-cell--quote {
    padding: 32px;
    background: linear-gradient(135deg, var(--tcom-brand) 0%, var(--tcom-brand-deep) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-cell--quote blockquote {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.bento-cell--quote cite {
    font-size: 0.75rem;
    color: var(--tcom-brand-light);
    font-style: normal;
    font-weight: 600;
}

/* ============================================================
   EXPERTISES — Carousel compact
   ============================================================ */
.expertises-section {
    padding: 72px 0 56px;
    overflow: hidden;
}

.expertises-head {
    max-width: 520px;
    margin-bottom: 32px;
}

.expertises-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.15;
    margin: 12px 0 10px;
    color: var(--tcom-text-dark);
}

.expertises-desc {
    font-size: 0.9rem;
    color: var(--tcom-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.expertises-progress {
    width: 100%;
    max-width: 200px;
    height: 3px;
    background: rgba(26, 155, 219, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.expertises-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--tcom-gradient);
    border-radius: 3px;
    transition: width 0.15s ease-out;
}

.expertises-rail-outer {
    position: relative;
    padding-bottom: 8px;
}

.expertises-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    padding: 4px 24px 16px;
    scrollbar-width: none;
    cursor: grab;
}

.expertises-rail.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
    user-select: none;
}

.expertises-rail::-webkit-scrollbar {
    display: none;
}

.expertise-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 40px 1fr 20px;
    grid-template-rows: auto auto;
    gap: 0 12px;
    align-items: start;
    padding: 18px 16px;
    background: var(--tcom-white);
    border: 1px solid rgba(26, 155, 219, 0.14);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(26, 155, 219, 0.06);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.expertise-card:hover {
    border-color: var(--card-accent, var(--tcom-brand));
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(26, 155, 219, 0.12);
}

.expertise-card-num {
    position: absolute;
    top: 10px;
    right: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.65rem;
    color: rgba(26, 155, 219, 0.25);
    letter-spacing: 0.05em;
}

.expertise-card-icon {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 155, 219, 0.08);
    border-radius: 10px;
    color: var(--card-accent, var(--tcom-brand));
}

.expertise-card-icon svg {
    width: 20px;
    height: 20px;
}

.expertise-card-body {
    grid-column: 2;
    min-width: 0;
}

.expertise-card-body h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1.25;
    color: var(--tcom-text-dark);
    margin-bottom: 5px;
}

.expertise-card-body p {
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--tcom-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.expertise-card-arrow {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-accent, var(--tcom-brand));
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    margin-top: 4px;
}

.expertise-card:hover .expertise-card-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.expertises-swipe-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tcom-text-muted);
}

@media (min-width: 1024px) {
    .expertises-rail {
        padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
        padding-right: 24px;
    }

    .expertise-card {
        flex: 0 0 240px;
    }
}

@media (max-width: 1023px) {
    .expertises-head {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .expertises-progress {
        margin-left: auto;
        margin-right: auto;
    }

    .expertises-swipe-hint {
        display: flex;
    }

    .expertise-card {
        flex: 0 0 200px;
    }
}

/* ============================================================
   STATS X
   ============================================================ */
.stats-x {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.section-dark,
.section-brand {
    background: var(--tcom-brand-pale);
    color: var(--tcom-text-dark);
}

.stats-x-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(26, 155, 219, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 50%, rgba(77, 184, 232, 0.1) 0%, transparent 60%);
}

.stats-x-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stats-x-item {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid rgba(26, 155, 219, 0.15);
    border-radius: 20px;
    background: var(--tcom-white);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 24px rgba(26, 155, 219, 0.06);
}

.stats-x-item:hover {
    border-color: rgba(26, 155, 219, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(26, 155, 219, 0.12);
}

.stats-x-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    background: var(--tcom-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-x-lbl {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tcom-text-muted);
    margin-top: 10px;
}

/* ============================================================
   SHOWCASE PORTFOLIO
   ============================================================ */
.showcase-section { padding: 100px 0; }

.showcase-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 260px 260px;
    gap: 20px;
}

.showcase-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    cursor: pointer;
}

.showcase-item--large {
    grid-row: span 2;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.showcase-item:hover img { transform: scale(1.08); }

.showcase-item-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(11, 108, 173, 0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    transition: background 0.4s;
}

.showcase-item:hover .showcase-item-content {
    background: linear-gradient(180deg, transparent 10%, rgba(11, 108, 173, 0.88) 100%);
}

.showcase-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tcom-brand-light);
    margin-bottom: 6px;
}

.showcase-item h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.showcase-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tcom-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transform: scale(0) rotate(-45deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.showcase-item:hover .showcase-arrow {
    transform: scale(1) rotate(0deg);
}

/* ============================================================
   CTA X
   ============================================================ */
.cta-x {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.cta-x-border {
    position: absolute;
    inset: 20px;
    border-radius: 24px;
    background: conic-gradient(from var(--cta-angle, 0deg), #0B6CAD, #1A9BDB, #4DB8E8, #7FCDEF, #0B6CAD);
    opacity: 0.2;
    animation: ctaBorderSpin 6s linear infinite;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 2px;
}

@property --cta-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes ctaBorderSpin {
    to { --cta-angle: 360deg; }
}

.cta-x-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 40px;
    background: var(--tcom-white);
    border-radius: 20px;
    border: 1px solid var(--tcom-gray-200);
    box-shadow: 0 20px 60px rgba(0, 27, 61, 0.08);
}

.cta-x-text h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--tcom-text-dark);
    margin-bottom: 14px;
}

.cta-x-text p {
    color: var(--tcom-text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-x-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-x .btn-outline {
    color: var(--tcom-text-dark);
    border-color: rgba(0, 27, 61, 0.2);
}

/* ── Reveal animation base ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-x {
        padding-top: calc(var(--header-height) + 32px);
    }

    .split-line {
        transform: none !important;
    }

    .split-fade,
    .hero-x-img,
    .hero-x-svc,
    [data-reveal],
    .showcase-item {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-x-content {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-x-layout {
        grid-template-columns: 1fr;
        padding: 20px 24px 20px;
    }

    .hero-x-visual {
        height: 360px;
        order: -1;
    }

    .hero-x-content { text-align: center; }
    .hero-x-sub { margin-left: auto; margin-right: auto; }
    .hero-x-cta { justify-content: center; }

    .hero-x-services {
        grid-template-columns: repeat(2, 1fr);
        padding: 16px 0;
    }

    .hero-x-svc {
        padding: 12px 20px;
    }

    .hero-x-svc:nth-child(2) { border-right: none; }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-cell--main { grid-row: span 1; }

    .stats-x-grid { grid-template-columns: repeat(2, 1fr); }

    .showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .showcase-item--large { grid-row: span 1; min-height: 320px; }
    .showcase-item { min-height: 240px; }
}

@media (max-width: 768px) {
    .hero-x-title {
        font-size: clamp(1.45rem, 6.2vw, 2rem);
        line-height: 1.25;
        letter-spacing: -0.01em;
        text-transform: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 18px;
    }

    .hero-x-line {
        overflow: visible;
    }

    .hero-x-accent {
        display: inline;
        white-space: normal;
    }

    .split-line {
        transform: none !important;
    }

    .split-fade,
    .hero-x-img,
    .hero-x-svc,
    [data-reveal],
    .showcase-item {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-x-sub {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .hero-x-svc-text h3 {
        font-size: 0.78rem;
    }

    .hero-x-svc-text p {
        max-width: none;
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.72);
    }

    .hero-x-content {
        opacity: 1 !important;
        transform: none !important;
    }

    .bento-title,
    .expertises-title,
    .stats-x-num,
    .cta-x h2 {
        overflow: visible;
        word-break: break-word;
    }

    .bento-cell p,
    .bento-cell--quote blockquote {
        overflow: visible;
    }

    .expertise-card {
        flex: 0 0 min(85vw, 280px);
    }

    .expertise-card-body h3 {
        font-size: 0.92rem;
    }

    .expertise-card-body p {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
        font-size: 0.82rem;
    }

    .expertises-head {
        max-width: 100%;
    }

    .showcase-item-caption h3,
    .showcase-item-caption p {
        overflow: visible;
    }

    .hero-x-services { grid-template-columns: 1fr; padding: 12px 0; }
    .hero-x-svc {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 14px 24px;
    }
    .hero-x-svc:last-child { border-bottom: none; }
    .hero-x-svc-text p { max-width: none; }

    .bento-grid { grid-template-columns: 1fr; }
    .mega-marquee-track span { font-size: 2rem; }

    .stats-x-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .hero-x-title {
        font-size: clamp(1.35rem, 7vw, 1.75rem);
    }

    .hero-x-cta { flex-direction: column; }
    .hero-x-cta .btn { width: 100%; justify-content: center; }
    .stats-x-grid { grid-template-columns: 1fr; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .text-shine, .mega-marquee-track, .cta-x-border {
        animation: none !important;
    }
}
