/* ==========================================================================
   Truck & Trailer Hero Widget — Styles
   Plugin: Developercode Core
   ========================================================================== */

/* ---------- CSS Custom Properties (defaults, overridden by widget) ------- */
:root {
    --tth-primary: #FF6B00;
    --tth-primary-rgb: 255, 107, 0;
    --tth-secondary: #0A1628;
    --tth-secondary-rgb: 10, 22, 40;
    --tth-accent: #00D4FF;
    --tth-accent-rgb: 0, 212, 255;
    --tth-text: #FFFFFF;
    --tth-text-muted: rgba(255, 255, 255, 0.65);
    --tth-overlay: 0.72;
    --tth-hero-min-h: 92vh;
}

/* ---------- Main Container ---------------------------------------------- */
.tth-hero {
    position: relative;
    width: 100%;
    min-height: var(--tth-hero-min-h);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--tth-secondary);
    color: var(--tth-text);
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Background Image -------------------------------------------- */
.tth-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.tth-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark gradient overlay for legibility (matches sp-hero__overlay) */
.tth-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            135deg,
            rgba(var(--tth-secondary-rgb), 0.94) 0%,
            rgba(var(--tth-secondary-rgb), 0.78) 50%,
            rgba(var(--tth-secondary-rgb), 0.88) 100%
        );
}


/* ---------- Animated Overlays ------------------------------------------- */
.tth-hero__overlays {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

/* Road / route lines */
.tth-hero__road-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tth-hero__road-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--tth-primary-rgb), 0.35), transparent);
    animation: tth-road-move 6s linear infinite;
}

.tth-hero__road-line:nth-child(1) {
    bottom: 18%;
    left: -10%;
    width: 45%;
    animation-duration: 5s;
}

.tth-hero__road-line:nth-child(2) {
    bottom: 32%;
    left: 20%;
    width: 55%;
    animation-duration: 7s;
    animation-delay: 1.5s;
    opacity: 0.5;
}

.tth-hero__road-line:nth-child(3) {
    bottom: 50%;
    left: -5%;
    width: 35%;
    animation-duration: 8s;
    animation-delay: 3s;
    opacity: 0.3;
}

/* Light streaks */
.tth-hero__streak {
    position: absolute;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--tth-accent-rgb), 0.6), transparent);
    animation: tth-streak 4s ease-in-out infinite;
}

.tth-hero__streak:nth-child(1) {
    top: 20%;
    right: -200px;
    animation-duration: 3.5s;
}

.tth-hero__streak:nth-child(2) {
    top: 45%;
    right: -200px;
    animation-duration: 5s;
    animation-delay: 1.2s;
    width: 300px;
    opacity: 0.5;
}

.tth-hero__streak:nth-child(3) {
    top: 70%;
    right: -200px;
    animation-duration: 4s;
    animation-delay: 2.5s;
    width: 160px;
    opacity: 0.7;
}

/* Glow orbs */
.tth-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: tth-glow-pulse 6s ease-in-out infinite alternate;
}

.tth-hero__glow--accent {
    width: 300px;
    height: 300px;
    background: rgba(var(--tth-accent-rgb), 0.08);
    bottom: -10%;
    right: 10%;
    animation-delay: 3s;
}

/* Diagonal tech lines */
.tth-hero__diag-line {
    position: absolute;
    width: 1px;
    height: 200px;
    background: linear-gradient(180deg, transparent, rgba(var(--tth-primary-rgb), 0.2), transparent);
    transform: rotate(35deg);
    animation: tth-diag-drift 10s linear infinite;
}

.tth-hero__diag-line:nth-child(1) {
    top: 10%;
    right: 25%;
}

.tth-hero__diag-line:nth-child(2) {
    top: 30%;
    right: 15%;
    height: 150px;
    animation-delay: 4s;
    opacity: 0.5;
}

/* Animated dots / nodes */
.tth-hero__node {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(var(--tth-primary-rgb), 0.5);
    animation: tth-node-blink 3s ease-in-out infinite;
}

.tth-hero__node:nth-child(1) { top: 15%; left: 50%; animation-delay: 0s; }
.tth-hero__node:nth-child(2) { top: 40%; left: 75%; animation-delay: 1s; }
.tth-hero__node:nth-child(3) { top: 65%; left: 60%; animation-delay: 2s; }
.tth-hero__node:nth-child(4) { top: 25%; left: 85%; animation-delay: 0.5s; }

/* ---------- Content ----------------------------------------------------- */
.tth-hero__content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left column */
.tth-hero__left {
    max-width: 640px;
}

/* Eyebrow — road + truck motif */
.tth-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(20px);
}

.tth-hero__eyebrow-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--tth-primary);
    white-space: nowrap;
}

/* Mini horizontal road segment */
.tth-hero__eyebrow-road {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 2px;
    flex-shrink: 0;
}

/* Dashed road line */
.tth-hero__eyebrow-road-line {
    display: block;
    width: 48px;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--tth-primary) 0px,
        var(--tth-primary) 8px,
        transparent 8px,
        transparent 14px
    );
    opacity: 0.5;
}

/* Truck icon riding along the road */
.tth-hero__eyebrow-truck {
    width: 16px;
    height: 16px;
    color: var(--tth-primary);
    flex-shrink: 0;
    margin-left: -2px;
    animation: tth-eyebrow-drive 3s ease-in-out infinite;
}

@keyframes tth-eyebrow-drive {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}

/* Heading */
.tth-hero__heading {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px;
    color: var(--tth-text);
    opacity: 0;
    transform: translateY(30px);
}

.tth-hero__heading-highlight {
    color: var(--tth-primary);
    position: relative;
    display: inline;
}

/* Description */
.tth-hero__description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--tth-text-muted);
    margin: 0 0 36px;
    max-width: 520px;
    opacity: 0;
    transform: translateY(20px);
}

/* CTA Buttons */
.tth-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
}

.tth-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.tth-hero__cta--primary {
    background: var(--tth-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(var(--tth-primary-rgb), 0.35);
}

.tth-hero__cta--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tth-hero__cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(var(--tth-primary-rgb), 0.5);
}

.tth-hero__cta--primary:hover::before {
    opacity: 1;
}

.tth-hero__cta--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--tth-text);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tth-hero__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.tth-hero__cta-arrow {
    transition: transform 0.3s;
    font-size: 18px;
}

.tth-hero__cta:hover .tth-hero__cta-arrow {
    transform: translateX(4px);
}

/* USP Badges */
.tth-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
}

.tth-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tth-text-muted);
    transition: all 0.3s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tth-hero__badge:hover {
    background: rgba(var(--tth-primary-rgb), 0.1);
    border-color: rgba(var(--tth-primary-rgb), 0.25);
    color: var(--tth-text);
}

.tth-hero__badge-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tth-primary);
    flex-shrink: 0;
}

.tth-hero__badge-icon svg {
    width: 100%;
    height: 100%;
}

/* ---------- Right Column / Visual --------------------------------------- */
.tth-hero__right {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin-top: -40px;
}

/* ---------- Right Column / Visual (Image + Video + HUD) ----------------- */
.tth-hero__visual {
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    opacity: 0;
    transform: translateX(40px);
}

.tth-hero__visual-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

.tth-hero__visual-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center, rgba(var(--tth-primary-rgb), 0.1) 0%, transparent 70%);
    z-index: 0;
    filter: blur(20px);
}

/* --- HUD Frame overlay --- */
.tth-hero__visual-hud {
    position: absolute;
    inset: -6px;
    z-index: 5;
    pointer-events: none;
    border: 1px solid rgba(var(--tth-primary-rgb), 0.15);
    border-radius: 12px;
}

.tth-hero__visual-hud-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: var(--tth-primary);
    border-style: solid;
    border-width: 0;
}

.tth-hero__visual-hud-corner--tl {
    top: -1px;
    left: -1px;
    border-top-width: 2px;
    border-left-width: 2px;
    border-top-left-radius: 12px;
}

.tth-hero__visual-hud-corner--tr {
    top: -1px;
    right: -1px;
    border-top-width: 2px;
    border-right-width: 2px;
    border-top-right-radius: 12px;
}

.tth-hero__visual-hud-corner--bl {
    bottom: -1px;
    left: -1px;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-bottom-left-radius: 12px;
}

.tth-hero__visual-hud-corner--br {
    bottom: -1px;
    right: -1px;
    border-bottom-width: 2px;
    border-right-width: 2px;
    border-bottom-right-radius: 12px;
}

/* Animated scan line */
.tth-hero__visual-hud-scan {
    position: absolute;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--tth-primary-rgb), 0.6), transparent);
    box-shadow: 0 0 12px 2px rgba(var(--tth-primary-rgb), 0.2);
    animation: tth-hud-scan 3.5s ease-in-out infinite;
    opacity: 0.7;
}

/* HUD label */
.tth-hero__visual-hud-label {
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--tth-primary);
    opacity: 0.6;
    font-family: monospace;
}

/* --- Video specific --- */
.tth-hero__visual-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    border-radius: 8px;
    overflow: hidden;
    z-index: 2;
    background: #000;
}

.tth-hero__visual-video,
.tth-hero__visual-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
}

/* Play button for self-hosted video */
.tth-hero__visual-play {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.tth-hero__visual-play:hover {
    background: rgba(0, 0, 0, 0.15);
}

.tth-hero__visual-play svg {
    width: 64px;
    height: 64px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
    transition: transform 0.3s;
}

.tth-hero__visual-play:hover svg {
    transform: scale(1.1);
}

/* Playing state — hide play button */
.tth-hero__visual-video-wrap.is-playing .tth-hero__visual-play {
    opacity: 0;
    pointer-events: none;
}

@keyframes tth-hud-scan {
    0%   { top: 8%; opacity: 0; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.7; }
    100% { top: 92%; opacity: 0; }
}

/* ---------- Stats / Trust Counters (redesigned with SVG icons) ---------- */
.tth-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    width: 200px;
    opacity: 0;
    transform: translateY(20px);
}

.tth-hero__stat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(var(--tth-secondary-rgb), 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 16px 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.tth-hero__stat:hover {
    border-color: rgba(var(--tth-primary-rgb), 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Accent line at top */
.tth-hero__stat-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--tth-primary), rgba(var(--tth-primary-rgb), 0.2));
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(var(--tth-stat-i, 0) * 0.15s);
}

.tth-hero.tth-animated .tth-hero__stat-line {
    width: 100%;
}

/* SVG icon container */
.tth-hero__stat-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(var(--tth-primary-rgb), 0.1);
    border: 1px solid rgba(var(--tth-primary-rgb), 0.15);
    color: var(--tth-primary);
    transition: all 0.3s;
}

.tth-hero__stat:hover .tth-hero__stat-icon {
    background: rgba(var(--tth-primary-rgb), 0.18);
    border-color: rgba(var(--tth-primary-rgb), 0.35);
    transform: scale(1.05);
}

.tth-hero__stat-icon svg {
    width: 20px;
    height: 20px;
}

/* Stat text */
.tth-hero__stat-body {
    min-width: 0;
}

.tth-hero__stat-number {
    font-size: 22px;
    font-weight: 800;
    color: var(--tth-text);
    line-height: 1.1;
    margin-bottom: 2px;
}

.tth-hero__stat-label {
    font-size: 10px;
    color: var(--tth-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    white-space: normal;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- Scroll indicator (truck on road) ----------------------------- */
.tth-hero__scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: tth-fade-in 1s 2s forwards;
    cursor: default;
}

/* Mini road with dashes */
.tth-hero__scroll-road {
    position: relative;
    width: 36px;
    height: 64px;
    border-left: 2px solid rgba(255, 255, 255, 0.12);
    border-right: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 6px;
    gap: 6px;
    overflow: hidden;
}

/* Animated road dashes moving downward */
.tth-hero__scroll-road-line {
    width: 2px;
    height: 8px;
    background: rgba(var(--tth-primary-rgb), 0.5);
    border-radius: 1px;
    flex-shrink: 0;
    animation: tth-road-dash 1.6s linear infinite;
}

.tth-hero__scroll-road-line:nth-child(2) {
    animation-delay: 0.53s;
}

.tth-hero__scroll-road-line:nth-child(3) {
    animation-delay: 1.06s;
}

/* Truck icon at bottom of road */
.tth-hero__scroll-truck {
    position: absolute;
    bottom: 4px;
    width: 18px;
    height: 18px;
    color: var(--tth-primary);
    opacity: 0.8;
    animation: tth-truck-bounce 2s ease-in-out infinite;
}

.tth-hero__scroll-text {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

/* Chevron arrow */
.tth-hero__scroll-arrow {
    width: 16px;
    height: 16px;
    color: var(--tth-primary);
    opacity: 0.5;
    animation: tth-arrow-bounce 1.8s ease-in-out infinite;
}

@keyframes tth-road-dash {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(52px);
        opacity: 0;
    }
}

@keyframes tth-truck-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes tth-arrow-bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    50% {
        transform: translateY(4px);
        opacity: 0.8;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

/* Entrance animations (triggered by JS) */
.tth-hero.tth-animated .tth-hero__eyebrow {
    animation: tth-fade-in-up 0.7s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tth-hero.tth-animated .tth-hero__heading {
    animation: tth-fade-in-up 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tth-hero.tth-animated .tth-hero__description {
    animation: tth-fade-in-up 0.7s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tth-hero.tth-animated .tth-hero__ctas {
    animation: tth-fade-in-up 0.7s 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tth-hero.tth-animated .tth-hero__badges {
    animation: tth-fade-in-up 0.7s 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tth-hero.tth-animated .tth-hero__visual {
    animation: tth-slide-in-right 0.9s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tth-hero.tth-animated .tth-hero__stats {
    animation: tth-fade-in-up 0.7s 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Keyframes */
@keyframes tth-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tth-slide-in-right {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes tth-fade-in {
    to {
        opacity: 1;
    }
}

@keyframes tth-road-move {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(200%);
        opacity: 0;
    }
}

@keyframes tth-streak {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(-100vw - 400px));
        opacity: 0;
    }
}

@keyframes tth-glow-pulse {
    0% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}




@keyframes tth-diag-drift {
    0% {
        transform: rotate(35deg) translateY(0);
        opacity: 0;
    }
    20% {
        opacity: 0.3;
    }
    80% {
        opacity: 0.3;
    }
    100% {
        transform: rotate(35deg) translateY(200px);
        opacity: 0;
    }
}

@keyframes tth-node-blink {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.8);
    }
}

/* No-animation mode */
.tth-hero--no-anim .tth-hero__eyebrow,
.tth-hero--no-anim .tth-hero__heading,
.tth-hero--no-anim .tth-hero__description,
.tth-hero--no-anim .tth-hero__ctas,
.tth-hero--no-anim .tth-hero__badges,
.tth-hero--no-anim .tth-hero__visual,
.tth-hero--no-anim .tth-hero__stats {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.tth-hero--no-anim .tth-hero__road-line,
.tth-hero--no-anim .tth-hero__streak,
.tth-hero--no-anim .tth-hero__glow,
.tth-hero--no-anim .tth-hero__diag-line,
.tth-hero--no-anim .tth-hero__node,
.tth-hero--no-anim .tth-hero__visual-hud-scan {
    animation: none !important;
}

.tth-hero--no-anim .tth-hero__stat-line {
    width: 100% !important;
}

.tth-hero--no-anim .tth-hero__eyebrow-truck,
.tth-hero--no-anim .tth-hero__scroll-road-line,
.tth-hero--no-anim .tth-hero__scroll-truck,
.tth-hero--no-anim .tth-hero__scroll-arrow {
    animation: none !important;
}

.tth-hero--no-anim .tth-hero__scroll-hint {
    opacity: 1;
    animation: none !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* --- Tablet -------------------------------------------------------------- */
@media (max-width: 1024px) {
    .tth-hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 100px 30px 70px;
    }

    .tth-hero__left {
        max-width: 100%;
    }

    .tth-hero__right {
        flex-direction: row;
        align-items: stretch;
    }

    .tth-hero__heading {
        font-size: clamp(32px, 5vw, 48px);
    }

    .tth-hero__stats {
        width: 170px;
    }

    .tth-hero__diag-line {
        display: none;
    }

    .tth-hero__scroll-hint {
        display: none;
    }
}

/* --- Mobile -------------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --tth-hero-min-h: auto;
    }

    .tth-hero {
        min-height: auto;
    }

    .tth-hero__content {
        padding: 80px 20px 60px;
        gap: 30px;
    }

    .tth-hero__heading {
        font-size: clamp(28px, 7vw, 38px);
    }

    .tth-hero__description {
        font-size: 15px;
    }

    .tth-hero__ctas {
        flex-direction: column;
    }

    .tth-hero__cta {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .tth-hero__badges {
        display: none;
    }

    .tth-hero__right {
        flex-direction: column;
    }

    .tth-hero__visual {
        width: 100%;
    }

    .tth-hero__visual--video {
        width: 100%;
        max-width: none;
    }

    .tth-hero__stats {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .tth-hero__stat {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }

    .tth-hero__stat {
        padding: 12px 14px;
        gap: 10px;
    }

    .tth-hero__stat-icon {
        width: 34px;
        height: 34px;
    }

    .tth-hero__stat-icon svg {
        width: 17px;
        height: 17px;
    }

    .tth-hero__stat-number {
        font-size: 18px;
    }

    .tth-hero__visual-play svg {
        width: 48px;
        height: 48px;
    }

    .tth-hero__streak {
        display: none;
    }

    .tth-hero__node {
        display: none;
    }

    .tth-hero__glow {
        display: none;
    }

}

/* --- Small Mobile -------------------------------------------------------- */
@media (max-width: 480px) {
    .tth-hero__content {
        padding: 70px 16px 50px;
    }

    .tth-hero__stats {
        flex-direction: column;
    }

    .tth-hero__stat {
        flex: 1 1 100%;
    }

    .tth-hero__visual, .tth-hero__visual-alt { width: 100%; max-width: 280px; }
    .tth-hero__visual--video { max-width: none; }
    .tth-hero__stat-box { width: auto; min-width: 120px; }
}

/* ==========================================================================
   Elementor Editor Overrides
   ========================================================================== */
.elementor-editor-active .tth-hero__eyebrow,
.elementor-editor-active .tth-hero__heading,
.elementor-editor-active .tth-hero__description,
.elementor-editor-active .tth-hero__ctas,
.elementor-editor-active .tth-hero__badges,
.elementor-editor-active .tth-hero__visual,
.elementor-editor-active .tth-hero__stats {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .tth-hero__road-line,
    .tth-hero__streak,
    .tth-hero__glow,
    .tth-hero__diag-line,
    .tth-hero__node,
    .tth-hero__eyebrow-truck,
    .tth-hero__scroll-road-line,
    .tth-hero__scroll-truck,
    .tth-hero__scroll-arrow {
        animation: none !important;
    }

    .tth-hero__eyebrow,
    .tth-hero__heading,
    .tth-hero__description,
    .tth-hero__ctas,
    .tth-hero__badges,
    .tth-hero__visual,
    .tth-hero__stats {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}
