/* ========================================
   02-HERO.CSS - NK Insurance
   Editorial redesign: cream + serif + emerald + gold
   ======================================== */

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, #0B2545 0%, #134E6F 50%, #0B2545 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-3xl) 0 0;
    width: 100%;
}

/* Soft warm accent behind content */
.hero::before {
    content: '';
    position: absolute;
    top: 8%;
    right: -8%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(200, 169, 97, 0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Two-column container */
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: stretch;
    position: relative;
    z-index: 1;
    padding: var(--spacing-2xl) 0 var(--spacing-3xl);
}

.hero-content {
    animation: heroFadeIn 0.9s ease-out;
    align-self: center;
}

/* ----- Editorial eyebrow ----- */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    color: var(--accent-gold);
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: var(--spacing-lg);
}

.hero-eyebrow-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-gold);
    margin: 0 0.75em;
}

/* ----- Serif headline with italic emerald accent ----- */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.8vw, 3.75rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: white;
    margin-bottom: var(--spacing-lg);
    opacity: 1;
    transform: none;
}

.hero-title em {
    font-style: italic;
    font-weight: 600;
    color: var(--accent-gold);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-body);
    font-size: var(--font-lg);
    line-height: 1.65;
    margin-bottom: var(--spacing-xl);
    max-width: 92%;
}

/* ----- CTAs: solid emerald + navy ghost ----- */
.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: var(--secondary);
    border-radius: 3px;
    box-shadow: 0 4px 14px rgba(15, 139, 100, 0.18);
    letter-spacing: 0.005em;
}

.hero .btn-primary:hover {
    background: var(--secondary-dark);
    box-shadow: 0 6px 18px rgba(15, 139, 100, 0.28);
}

.btn-ghost {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: var(--font-base);
    font-weight: 500;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 3px;
    text-decoration: none;
    transition: var(--transition-all);
    cursor: pointer;
    text-align: center;
}

.btn-ghost:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-2px);
}

/* ----- Stats row: serif numbers, gold italic units, vertical dividers ----- */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: var(--spacing-lg);
    gap: 0;
}

.stat-item {
    padding: 0 var(--spacing-lg);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-value {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.375rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    color: white;
    line-height: 1;
    letter-spacing: -0.025em;
    display: inline-block;
}

.stat-unit {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.6vw, 1.375rem);
    font-style: italic;
    font-weight: 500;
    color: var(--accent-gold);
    margin-left: 0.15rem;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ----- Photo column: TRANSPARENT PNG TEST (revert via git if needed) ----- */
.hero-image {
    position: relative;
    background: transparent;
    overflow: visible;
    min-height: 720px;
    align-self: stretch;
    margin-bottom: calc(var(--spacing-3xl) * -1);
}

/* Fusion overlays disabled -- cutout floats directly on the hero gradient */
.hero-image::before,
.hero-image::after {
    display: none;
}

.hero-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image img,
.hero-image picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.35));
    transform: scale(1.2);
    transform-origin: center bottom;
    display: block;
}

/* ----- Credential overlay (replaces the old hero-card) ----- */
.hero-credential {
    position: absolute;
    left: var(--spacing-md);
    bottom: var(--spacing-md);
    background: var(--bg-cream);
    padding: var(--spacing-md) var(--spacing-lg);
    border-left: 3px solid var(--accent-gold);
    max-width: 78%;
    z-index: 2;
}

.credential-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--font-base);
    line-height: 1.45;
    color: var(--primary);
    margin: 0 0 var(--spacing-sm);
}

.credential-name {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.005em;
}

.credential-title {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* ----- Carriers strip (replaces hero-trust) ----- */
.hero-carriers {
    background: var(--bg-cream);
    border-top: 1px solid rgba(11, 37, 69, 0.08);
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.hero-carriers .container {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.carriers-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    flex-shrink: 0;
}

.carriers-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--font-lg);
    color: var(--primary);
    font-weight: 500;
}

.carriers-sep {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-gold);
}

/* ========================================
   Animations
   ======================================== */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 991px) {
    .hero {
        padding: var(--spacing-2xl) 0 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        padding: var(--spacing-lg) 0 var(--spacing-2xl);
    }

    .hero-image {
        order: -1;
        min-height: 400px;
        max-height: 480px;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-carriers .container {
        gap: var(--spacing-md);
    }
}

@media (max-width: 575px) {
    .hero-eyebrow {
        font-size: 0.625rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md) 0;
    }

    .stat-item:nth-child(3) {
        grid-column: 1 / -1;
        border-right: none;
        padding: var(--spacing-md) 0 0;
        margin-top: var(--spacing-sm);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn,
    .hero-cta .btn-ghost {
        width: 100%;
    }

    .hero-image {
        min-height: 340px;
    }

    .hero-credential {
        max-width: calc(100% - 1.5rem);
        left: 0.75rem;
        bottom: 0.75rem;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .credential-quote {
        font-size: 0.9375rem;
    }

    .hero-carriers {
        padding: var(--spacing-md) 0 var(--spacing-lg);
    }

    .carriers-list {
        font-size: var(--font-base);
        gap: 0.75rem;
    }

    .carriers-label {
        flex-basis: 100%;
        margin-bottom: 0.25rem;
    }
}
