/* ============================================================
   HERO – Universal Product Hero (Clean, Override-Friendly)
   ============================================================
   This file should be loaded AFTER all zone CSS files.
   It uses !important sparingly to override conflicting rules.
   ============================================================ */

/* ─── HERO GRID ────────────────────────────────────────────── */
.hero-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: center !important;
    min-height: 70vh !important;
    position: relative !important;
    z-index: 2 !important;
    padding: 40px 0 !important;
    width: 100% !important;
}

/* ─── LEFT: CONTENT ────────────────────────────────────────── */
.hero-content-left {
    max-width: 640px !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* ─── RIGHT: TIN ────────────────────────────────────────────── */
.hero-content-right {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.hero-tin-wrapper {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-tin {
    width: 100% !important;
    max-width: 380px !important;
    height: auto !important;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15)) !important;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    display: block !important;
    position: relative !important;
}

.hero-tin:hover {
    transform: scale(1.04) rotate(-2deg) !important;
}

/* ─── TYPOGRAPHY – NAVY COLOR ──────────────────────────────── */
.hero-headline {
    font-family: var(--font-heading, 'Playfair Display', serif) !important;
    font-size: 44px !important;
    font-weight: 700 !important;
    color: #003366 !important;
    line-height: 1.12 !important;
    margin-bottom: 18px !important;
    letter-spacing: -0.5px !important;
    text-shadow: none !important;
}

.hero-subheadline {
    font-family: var(--font-body, 'Inter', sans-serif) !important;
    font-size: 17px !important;
    color: #415A77 !important;
    line-height: 1.7 !important;
    margin-bottom: 28px !important;
    max-width: 580px !important;
    text-shadow: none !important;
}

/* ─── FEATURE BADGES ────────────────────────────────────────── */
.hero-features {
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-bottom: 32px !important;
}

.feature-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: var(--font-body, 'Inter', sans-serif) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #003366 !important;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    padding: 6px 16px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.hero-actions {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.hero-actions .btn {
    padding: 16px 40px !important;
    font-size: 16px !important;
    border-radius: 50px !important;
    min-height: 56px !important;
}

/* ─── HIDE OLD ABSOLUTE POSITIONED TIN ────────────────────── */
.hero-*-product,
.hero-clinical-product-image-wrap {
    display: none !important;
}

/* ─── ENSURE CONTAINER IS FULL WIDTH ──────────────────────── */
.hero-*-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

.hero-*-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px !important;
        min-height: 60vh !important;
    }
    .hero-headline {
        font-size: 36px !important;
    }
    .hero-tin-wrapper {
        max-width: 340px !important;
    }
    .hero-tin {
        max-width: 300px !important;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
        padding: 30px 0 !important;
        min-height: auto !important;
    }
    .hero-content-left {
        max-width: 100% !important;
        order: 2 !important;
        text-align: center !important;
    }
    .hero-content-right {
        order: 1 !important;
        justify-content: center !important;
        padding: 20px 0 !important;
    }
    .hero-headline {
        font-size: 30px !important;
        margin-bottom: 14px !important;
    }
    .hero-subheadline {
        font-size: 16px !important;
        margin-bottom: 20px !important;
        max-width: 100% !important;
    }
    .hero-features {
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 24px !important;
    }
    .hero-actions {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .hero-actions .btn {
        width: 100% !important;
        max-width: 320px !important;
        justify-content: center !important;
        padding: 14px 28px !important;
        font-size: 15px !important;
        min-height: 50px !important;
    }
    .hero-tin-wrapper {
        max-width: 260px !important;
    }
    .hero-tin {
        max-width: 220px !important;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 24px !important;
    }
    .hero-subheadline {
        font-size: 15px !important;
    }
    .hero-tin-wrapper {
        max-width: 200px !important;
    }
    .hero-tin {
        max-width: 180px !important;
    }
    .feature-badge {
        font-size: 11px !important;
        padding: 4px 12px !important;
    }
    .hero-actions .btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
        min-height: 44px !important;
        max-width: 280px !important;
    }
}