/* ============================================================
   TS FAST AUTO LOGISTICS, LLC — HERO SECTION STYLESHEET
   File: assets/css/hero.css
   Purpose: Hero grid, h1, tagline, description, trust strip
   Depends on: style.css (for design tokens)
   ============================================================ */

/* ------------------------------------------------------------
   1. HERO WRAPPER (two-column grid)
   ------------------------------------------------------------ */
.hero {
    position: relative;
    padding: var(--space-12) 0 var(--space-16);
    background-color: var(--color-bg);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-16);
    align-items: center;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Subtle background glow behind hero (amber light / blue dark) */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
            var(--glow-soft) 0%,
            transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner>* {
    position: relative;
    z-index: 1;
}

/* ------------------------------------------------------------
   2. HERO LEFT — Copy column
   ------------------------------------------------------------ */
.hero-copy {
    max-width: 620px;
}

/* Small pill badge at top of hero (e.g., "Nationwide · 24/7") */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    margin-bottom: var(--space-5);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--color-primary);
    background-color: var(--color-primary-light);
    border: 1px solid var(--color-highlight);
    border-radius: var(--radius-full);
}

.hero-badge .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--brand-amber);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.30);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Hero H1 */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    color: var(--color-hero-title);
    margin-bottom: var(--space-5);
}

/* Second line: Charcoal Gray in light, Amber in dark */
.hero-title .accent {
    color: var(--color-heading-accent);
}

/* Tagline (uppercase text under the H1) */
.hero-tagline {
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

/* Description */
.hero-desc {
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
    max-width: 560px;
}

/* ------------------------------------------------------------
   3. HERO CTA ROW (buttons)
   ------------------------------------------------------------ */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

/* ------------------------------------------------------------
   4. HERO TRUST STRIP (small icons + labels below the CTAs)
   ------------------------------------------------------------ */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-6);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-main);
    white-space: nowrap;
}

.hero-trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ------------------------------------------------------------
   5. HERO RIGHT — Quote box column (spacing helpers only;
   the quote box itself is styled in forms.css)
   ------------------------------------------------------------ */
.hero-form {
    display: flex;
    justify-content: flex-end;
}

/* ------------------------------------------------------------
   6. OPTIONAL: HERO IMAGE (for future use)
   ------------------------------------------------------------ */
.hero-image {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------------------------------------
   7. STATS ROW (optional — 3–4 quick numbers under hero)
   ------------------------------------------------------------ */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
}

.hero-stat {
    text-align: left;
}

.hero-stat .stat-num {
    display: block;
    font-size: var(--fs-2xl);
    font-weight: var(--fw-extrabold);
    color: var(--color-primary);
    letter-spacing: var(--ls-tight);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.hero-stat .stat-label {
    display: block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
}

/* ------------------------------------------------------------
   8. SECTION-LEVEL HEADER (reusable — used on all pages)
   ------------------------------------------------------------ */
.section-head {
    max-width: 720px;
    margin: 0 auto var(--space-12);
    text-align: center;
}

.section-head h2 {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-extrabold);
    color: var(--color-heading);
    margin-bottom: var(--space-4);
    letter-spacing: var(--ls-tight);
}

.section-head p {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    line-height: var(--lh-relaxed);
    margin: 0;
}

.section-head .eyebrow {
    display: block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-extrabold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

/* ------------------------------------------------------------
   9. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
    .hero {
        padding: var(--space-10) 0 var(--space-12);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        text-align: center;
    }

    .hero-copy {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-form {
        justify-content: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-stat {
        text-align: center;
    }
}

/* Mobile (<= 640px) */
@media (max-width: 640px) {
    .hero {
        padding: var(--space-10) 0 var(--space-12);
    }

    .hero-inner {
        gap: var(--space-8);
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .hero-tagline {
        font-size: var(--fs-xs);
        letter-spacing: 1.5px;
    }

    .hero-desc {
        font-size: var(--fs-base);
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-row .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        gap: var(--space-2);
        align-items: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}