/* ============================================================
   HECOP — HERO & NAV OVERRIDES
   Carga después de style.css
   ============================================================ */

/* ── NAV FIJO ─────────────────────────────────────────────── */
#main-nav {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    background: #ffffff !important;
    border-bottom: 3px solid #0d1b24;
    box-shadow: none;
}
/* Compensar el nav fijo */
header.index-header { margin-top: 70px !important; }
@media (max-width: 768px) {
    header.index-header { margin-top: 60px !important; }
}

/* ── HERO FONDO OSCURO ────────────────────────────────────── */
/* Eliminar imagen de fondo en TODOS los breakpoints */
.container-copy,
header.index-header .container-copy {
    background: #0d1b24 !important;
    background-image: none !important;
    background-color: #0d1b24 !important;
    padding: 0 !important;
}

.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: 88px 24px 72px;
    box-sizing: border-box;
}

/* ── EYEBROW — badge píldora ──────────────────────────────── */
.hero-eyebrow-wrap {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 0 28px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    padding: 8px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}
.hero-eyebrow .dot {
    color: #2273aa;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0;
}
/* Wrapper para centrar el badge */
.hero-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    padding: 88px 24px 72px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── TÍTULO HECOP ─────────────────────────────────────────── */
.hero-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(4.5rem, 12vw, 9rem) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
}

/* ── SUBTÍTULO (copy diferenciador bajo HECOP) ────────────── */
.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
    margin: -12px 0 28px;
    letter-spacing: -0.01em;
}

/* ── CLAIM ────────────────────────────────────────────────── */
.hero-claim {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin: 0 0 40px;
}

/* ── BOTONES ──────────────────────────────────────────────── */
.hero-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 60px;
}
.hero-btn-primary {
    display: inline-block;
    background: #2273aa;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 14px 32px;
    border-radius: 3px;
    border: 2px solid #2273aa;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.hero-btn-primary:hover {
    background: #185a88;
    border-color: #185a88;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(34,115,170,0.35);
}
.hero-btn-secondary {
    display: inline-block;
    background: transparent;
    color: rgba(255,255,255,0.75) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 13px 32px;
    border-radius: 3px;
    border: 2px solid rgba(255,255,255,0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.hero-btn-secondary:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff !important;
}

/* ── STATS ────────────────────────────────────────────────── */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
}
.hero-stat {
    text-align: center;
    flex: 1;
    padding: 0 12px;
}
.hero-stat-n {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #2273aa;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.hero-stat-l {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
}
.hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ── REVIEWS SECTION ──────────────────────────────────────── */
.reviews-section {
    background: #0d1b24;
    padding: 72px 0 80px;
}
.reviews-header {
    text-align: center;
    margin-bottom: 48px;
}
.reviews-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 7px 18px;
    margin-bottom: 18px;
}
.reviews-stars { color: #fbbc04; font-size: 0.9rem; letter-spacing: 2px; }
.reviews-badge-text { font-family: 'Poppins', sans-serif; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.reviews-badge-text strong { color: #fff; }
.reviews-title { font-family: 'Poppins', sans-serif; font-size: 1.7rem; font-weight: 600; color: #fff; }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.review-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    transition: background 0.2s, transform 0.2s;
}
.review-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-3px); }
.review-stars-row { color: #fbbc04; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 0.86rem; color: rgba(255,255,255,0.5); line-height: 1.75; font-style: italic; flex: 1; margin-bottom: 22px; }
.review-author { display: flex; align-items: center; gap: 11px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: #2273aa; color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 600; flex-shrink: 0; }
.review-name { font-family: 'Poppins', sans-serif; font-size: 0.83rem; font-weight: 600; color: #fff; margin-bottom: 2px; }
.review-source { font-size: 0.7rem; color: rgba(255,255,255,0.28); }

/* ── RESPONSIVE ───────────────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
    .reviews-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* Móvil vertical */
@media (max-width: 640px) {
    .hero-inner {
        padding: 52px 20px 48px;
        min-height: auto;
    }
    .hero-eyebrow {
        font-size: 0.58rem !important;
        letter-spacing: 0.15em !important;
        padding: 6px 16px !important;
        gap: 7px !important;
    }
    .hero-title {
        font-size: 3.2rem !important;
        margin-bottom: 12px !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
        margin: 0 0 18px !important;
        color: #ffffff !important;
    }
    .hero-claim {
        font-size: 0.9rem !important;
        margin-bottom: 28px !important;
    }
    /* Botones apilados, ancho completo */
    .hero-btns {
        flex-direction: column !important;
        align-items: stretch !important;
        max-width: 280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 40px !important;
        gap: 10px !important;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 13px 20px !important;
    }
    /* Stats — 2x2 grid */
    .hero-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 !important;
        flex-wrap: unset !important;
    }
    .hero-stat {
        flex: unset !important;
        padding: 16px 8px !important;
        border-right: 1px solid rgba(255,255,255,0.08);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .hero-stat:nth-child(2n) { border-right: none !important; }
    .hero-stat:nth-last-child(-n+2) { border-bottom: none !important; }
    .hero-stat-sep { display: none !important; }
    .hero-stat-n { font-size: 1.8rem !important; }
    .hero-stat-l { font-size: 0.58rem !important; }
}

/* Móvil muy pequeño */
@media (max-width: 360px) {
    .hero-title { font-size: 2.6rem !important; }
    .hero-subtitle { font-size: 0.88rem !important; }
    .hero-eyebrow { font-size: 0.52rem !important; letter-spacing: 0.1em !important; }
}

/* MONITORES 1360x768 y similares — altura insuficiente para el padding grande */
@media screen and (max-height: 800px) and (min-width: 769px) {
    .hero-inner {
        padding: 32px 24px 28px !important;
    }
    .hero-eyebrow-wrap {
        margin-bottom: 16px !important;
    }
    .hero-title {
        font-size: clamp(3rem, 7vw, 6rem) !important;
        margin-bottom: 14px !important;
    }
    .hero-subtitle {
        font-size: 1rem !important;
        margin: 0 0 12px !important;
    }
    .hero-claim {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
    }
    .hero-btns {
        margin-bottom: 28px !important;
        gap: 10px !important;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 11px 24px !important;
        font-size: 0.68rem !important;
    }
    .hero-stats {
        flex-wrap: nowrap !important;
    }
    .hero-stat {
        padding: 0 10px !important;
    }
    .hero-stat-n {
        font-size: 1.4rem !important;
        margin-bottom: 3px !important;
    }
    .hero-stat-l {
        font-size: 0.52rem !important;
    }
    .hero-stat-sep {
        height: 28px !important;
    }
}

/* Landscape móvil — evitar que se monten cosas */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-inner {
        padding: 20px 24px 24px !important;
        min-height: auto !important;
    }
    .hero-eyebrow { margin-bottom: 8px !important; }
    .hero-title { font-size: 2.4rem !important; margin-bottom: 6px !important; }
    .hero-subtitle { font-size: 0.85rem !important; margin: 0 0 10px !important; }
    .hero-claim { font-size: 0.82rem !important; margin-bottom: 16px !important; }
    .hero-btns {
        flex-direction: row !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
        gap: 12px !important;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        width: auto !important;
        padding: 10px 20px !important;
        font-size: 0.65rem !important;
    }
    .hero-stats {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
    }
    .hero-stat { padding: 0 16px !important; }
    .hero-stat-sep { display: block !important; }
    .hero-stat-n { font-size: 1.3rem !important; }
    /* Nav fijo más compacto en landscape */
    #main-nav { height: 48px !important; }
    header.index-header { margin-top: 48px !important; }
}
