/* ==========================================================================
   Hero — left-aligned two-column, staggered entrance, achievement card.
   ========================================================================== */

.hero-section {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-16);
    background-color: var(--background-color);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 75% 50%, var(--highlight-bg-dark) 0%, transparent 65%),
        radial-gradient(ellipse 40% 35% at 20% 80%, var(--highlight-bg) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Two-column grid ──────────────────────────────────────────────────────── */
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-16); }
}

/* ── Left: text content ───────────────────────────────────────────────────── */
.hero-left { max-width: 600px; }

.hero-section h1 {
    font-size: clamp(2.6rem, 6vw, 4rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: var(--space-3);
}

.hero-subtitle {
    color: var(--primary-color);
    font-size: clamp(1.05rem, 2.5vw, 1.4rem);
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: var(--space-6);
    line-height: 1.3;
}

.hero-section .tagline {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    color: var(--text-muted);
    max-width: 52ch;
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.hero-text-links {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.hero-text-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--dur-fast) ease;
}

.hero-text-link:hover { color: var(--primary-color); }

/* ── Right: achievement card ──────────────────────────────────────────────── */
.hero-right {
    display: flex;
    justify-content: flex-start;
}

@media (min-width: 900px) {
    .hero-right { justify-content: flex-end; }
}

.hero-achievement-card {
    width: 100%;
    max-width: 380px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-3);
    position: relative;
    overflow: hidden;
}

.hero-achievement-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--highlight-bg-dark) 0%, transparent 70%);
    pointer-events: none;
}

.achievement-card-award {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-color) 25%, transparent);
    border-radius: var(--radius-full);
    padding: 0.3rem 0.85rem;
    margin-bottom: var(--space-8);
    letter-spacing: 0.01em;
}

.achievement-card-metrics {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.achievement-metric {}

.achievement-metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.achievement-metric-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.achievement-card-role {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-4);
    letter-spacing: 0.01em;
}

/* ── Trust / employer strip ───────────────────────────────────────────────── */
.trust-section {
    padding: var(--space-6) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--surface-color-dark);
}

.trust-inner {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.trust-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-divider {
    width: 1px;
    height: 1.5rem;
    background: var(--border-color);
    flex-shrink: 0;
}

.trust-companies {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-company {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: -0.01em;
    transition: color var(--dur-fast) ease;
}

.trust-company-current { color: var(--primary-color); }

.trust-award {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: color-mix(in srgb, var(--accent-color) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent-color) 20%, transparent);
    border-radius: var(--radius-md);
    padding: var(--space-3) var(--space-4);
    flex-shrink: 0;
}

.trust-award-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.trust-award-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
}

.trust-award-org {
    font-size: 0.7rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .trust-award { display: none; }
    .trust-divider { display: none; }
}

/* ── Staggered entrance ───────────────────────────────────────────────────── */
@keyframes heroRise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-left > * { animation: heroRise 0.6s var(--ease-out) both; }
.hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left > *:nth-child(2) { animation-delay: 0.13s; }
.hero-left > *:nth-child(3) { animation-delay: 0.21s; }
.hero-left > *:nth-child(4) { animation-delay: 0.29s; }
.hero-left > *:nth-child(5) { animation-delay: 0.37s; }

.hero-right { animation: heroRise 0.7s var(--ease-out) 0.25s both; }

@media (prefers-reduced-motion: reduce) {
    .hero-left > *, .hero-right { animation: none; }
}
