/* =========================================================
   AtocpanVive · Hero principal v1
   Imagen editorial de San Pedro Atocpan
   ========================================================= */

.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;

    background-image:
        linear-gradient(
            90deg,
            rgba(24, 8, 4, .84) 0%,
            rgba(38, 13, 7, .68) 33%,
            rgba(38, 13, 7, .38) 56%,
            rgba(20, 8, 5, .12) 78%,
            rgba(20, 8, 5, .05) 100%
        ),
        url("/assets/hero/atocpanvive-hero-v1.webp");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #4b1e18;
}

/* Desactiva el círculo decorativo del hero original. */
.hero::after {
    display: none !important;
}

/*
 * Conservamos el overlay existente del HTML pero lo usamos para
 * reforzar contraste en la parte inferior y mejorar lectura.
 */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .04) 0%,
            rgba(0, 0, 0, .02) 60%,
            rgba(0, 0, 0, .22) 100%
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 790px;
}

.hero .eyebrow {
    color: #f0c36a;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .34);
}

.hero h1 {
    color: #fff;
    text-shadow:
        0 2px 3px rgba(0, 0, 0, .18),
        0 14px 34px rgba(0, 0, 0, .26);
}

.hero p {
    color: rgba(255, 250, 242, .94);
    text-shadow: 0 2px 16px rgba(0, 0, 0, .30);
}

.hero .btn-primary {
    background: #fff;
    color: #7a2e24;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .20);
}

.hero .btn-light {
    background: rgba(255, 255, 255, .92);
    color: #211a16;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
}

/* Tablet */
@media (max-width: 1000px) {
    .hero {
        min-height: 68vh;
        background-position: 58% center;
    }
}

/* Móvil */
@media (max-width: 800px) {
    .hero {
        min-height: 74vh;
        padding: 56px 22px 70px;
        background-position: 62% center;

        background-image:
            linear-gradient(
                90deg,
                rgba(24, 8, 4, .82) 0%,
                rgba(35, 12, 7, .66) 45%,
                rgba(20, 8, 5, .25) 100%
            ),
            url("/assets/hero/atocpanvive-hero-v1.webp");
    }

    .hero-content {
        max-width: 680px;
    }
}

/* Teléfonos pequeños */
@media (max-width: 520px) {
    .hero {
        min-height: 70vh;
        background-position: 66% center;
    }

    .hero h1 {
        font-size: clamp(2.45rem, 13vw, 4rem);
    }

    .hero p {
        font-size: 1rem;
    }
}
