/**
 * Hero
 * Remodelando Pixel
 */


/* =========================================================
   HERO BASE
   ========================================================= */

.rmd-hero {
    position: relative;
    min-height: 660px;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(16, 15, 12, 0.93) 0%,
            rgba(16, 15, 12, 0.84) 32%,
            rgba(16, 15, 12, 0.58) 58%,
            rgba(16, 15, 12, 0.24) 100%
        ),
        var(--rmd-brown-dark);

    background-position: center;
    background-size: cover;
}

/* =========================================================
   OVERLAY
   ========================================================= */

.rmd-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.20) 100%
        );

    pointer-events: none;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.rmd-hero__inner {
    position: relative;
    z-index: 2;

    display: flex;

    min-height: 660px;

    padding-top: 72px;
    padding-bottom: 72px;

    align-items: center;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.rmd-hero__content {
    width: 100%;
    max-width: 620px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.rmd-hero__eyebrow {
    display: flex;

    margin-bottom: 22px;

    align-items: center;

    gap: 12px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}


.rmd-hero__eyebrow span {
    display: block;

    width: 38px;
    height: 2px;

    background: var(--rmd-orange);
}


/* =========================================================
   TÍTULO
   ========================================================= */

.rmd-hero__title {
    max-width: 620px;

    margin: 0 0 24px;

    color: var(--rmd-white);

    font-size: clamp(44px, 5vw, 70px);
    font-weight: 700;

    letter-spacing: -0.04em;

    line-height: 0.98;
}


.rmd-hero__title span {
    display: block;

    margin-top: 8px;

    color: var(--rmd-orange);
}


/* =========================================================
   DESCRIPCIÓN
   ========================================================= */

.rmd-hero__description {
    max-width: 560px;

    margin: 0 0 30px;

    color: rgba(255, 255, 255, 0.92);

    font-size: 18px;

    line-height: 1.55;
}


/* =========================================================
   ACCIONES
   ========================================================= */

.rmd-hero__actions {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 14px;

    margin-bottom: 34px;
}


/* =========================================================
   CTA PRINCIPAL
   ========================================================= */

.rmd-hero__primary {
    display: inline-flex;

    min-height: 56px;

    padding: 0 24px;

    align-items: center;
    justify-content: center;

    gap: 12px;

    border: 0;

    border-radius: 8px;

    background: var(--rmd-orange);

    color: var(--rmd-white);

    font-size: 16px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        background-color 0.22s ease;
}


.rmd-hero__primary:hover {
    background: #c8622b;

    color: var(--rmd-white);

    transform: translateY(-2px);

    box-shadow:
        0 18px 32px rgba(0, 0, 0, 0.22);
}


.rmd-hero__primary span {
    font-size: 18px;

    transition: transform 0.22s ease;
}


.rmd-hero__primary:hover span {
    transform: translateX(3px);
}


/* =========================================================
   WHATSAPP
   ========================================================= */

.rmd-btn--whatsapp {
    display: inline-flex;

    min-height: 56px;

    padding: 0 22px;

    align-items: center;
    justify-content: center;

    gap: 10px;

    border: 1px solid rgba(255, 255, 255, 0.30);

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.10);

    color: var(--rmd-white);

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    backdrop-filter: blur(8px);

    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}


.rmd-btn--whatsapp:hover {
    border-color: rgba(255, 255, 255, 0.50);

    background: rgba(255, 255, 255, 0.17);

    color: var(--rmd-white);

    transform: translateY(-2px);
}


.rmd-hero__whatsapp-icon {
    display: inline-flex;

    width: 22px;
    height: 22px;

    align-items: center;
    justify-content: center;
}


.rmd-hero__whatsapp-icon svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* =========================================================
   BENEFICIOS RÁPIDOS
   ========================================================= */

.rmd-hero__features {
    display: flex;

    flex-wrap: wrap;

    gap: 12px 22px;
}


.rmd-hero-feature {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.94);

    font-size: 14px;
    font-weight: 500;
}


.rmd-hero-feature span {
    display: inline-flex;

    width: 20px;
    height: 20px;

    border: 1px solid var(--rmd-green);

    border-radius: 50%;

    align-items: center;
    justify-content: center;

    color: var(--rmd-green);

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   DESKTOP GRANDE
   ========================================================= */

@media (min-width: 1440px) {

    .rmd-hero,
    .rmd-hero__inner {
        min-height: 700px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .rmd-hero {
        min-height: 610px;

        background-position: 58% center;
    }


    .rmd-hero__inner {
        min-height: 610px;

        padding-top: 64px;
        padding-bottom: 64px;
    }


    .rmd-hero__content {
        max-width: 620px;
    }


    .rmd-hero__title {
        max-width: 620px;

        font-size: clamp(44px, 6.4vw, 62px);
    }


    .rmd-hero__description {
        max-width: 540px;

        font-size: 18px;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 720px) {

    .rmd-hero {
        min-height: 620px;

        background:
            linear-gradient(
                90deg,
                rgba(18, 17, 14, 0.90) 0%,
                rgba(18, 17, 14, 0.80) 55%,
                rgba(18, 17, 14, 0.48) 100%
            ),
            var(--rmd-brown-dark);

        background-position: 60% center;
    }


    .rmd-hero__inner {
        min-height: 620px;

        padding-top: 54px;
        padding-bottom: 54px;

        align-items: center;
    }


    .rmd-hero__content {
        max-width: 100%;
    }


    .rmd-hero__eyebrow {
        margin-bottom: 18px;

        font-size: 11px;

        letter-spacing: 0.08em;
    }


    .rmd-hero__eyebrow span {
        width: 28px;
    }


    .rmd-hero__title {
        max-width: 100%;

        margin-bottom: 20px;

        font-size: clamp(38px, 11vw, 54px);

        line-height: 1;
    }


    .rmd-hero__title span {
        margin-top: 6px;
    }


    .rmd-hero__description {
        max-width: 100%;

        margin-bottom: 28px;

        font-size: 17px;

        line-height: 1.5;
    }


    .rmd-hero__actions {
        width: 100%;

        margin-bottom: 28px;

        gap: 12px;
    }


    .rmd-hero__primary,
    .rmd-btn--whatsapp {
        min-height: 56px;

        font-size: 15px;
    }


    .rmd-hero__features {
        gap: 12px 18px;
    }


    .rmd-hero-feature {
        font-size: 14px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
   ========================================================= */

@media (max-width: 480px) {

    .rmd-hero {
        min-height: 660px;

        background-position: 64% center;
    }


    .rmd-hero__inner {
        min-height: 660px;

        padding-top: 46px;
        padding-bottom: 46px;
    }


    .rmd-hero__title {
        font-size: clamp(38px, 12vw, 48px);
    }


    .rmd-hero__description {
        font-size: 17px;
    }


    .rmd-hero__actions {
        flex-direction: column;

        align-items: stretch;
    }


    .rmd-hero__primary,
    .rmd-btn--whatsapp {
        width: 100%;
    }


    .rmd-hero__features {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

}


/* =========================================================
   MÓVIL MUY PEQUEÑO
   ========================================================= */

@media (max-width: 380px) {

    .rmd-hero__title {
        font-size: 37px;
    }


    .rmd-hero__eyebrow {
        font-size: 10px;
    }


    .rmd-hero-feature {
        font-size: 13px;
    }

}