/* ==========================================================
   HERO — basado en wireframe_digital_web_pc_COMPLETA.pdf
   ========================================================== */

/* Hero arranca desde top:0, nav flota encima */
body.home {
    padding-top: 0;
}

/* ── Contenedor principal ── */
.ilona-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* ── Slider ── */
.ilona-hero__slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.ilona-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.ilona-hero__slide.active {
    opacity: 1;
    z-index: 1;
}

/* ── Overlay ── */
.ilona-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(6, 20, 55, 0.60) 0%,
        rgba(6, 20, 55, 0.30) 55%,
        rgba(6, 20, 55, 0.05) 100%
    );
}

/* ── Contenido: alineado a la IZQUIERDA en desktop (wireframe pc) ── */
.ilona-hero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 520px;
    margin-left: 180px;
    padding: 0;
}

.ilona-hero__title {
    font-family: var(--font-especial);
    font-weight: normal;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 20px;
    text-shadow: 0 2px 16px rgba(6, 20, 55, 0.50);
}

.ilona-hero__subtitle {
    font-family: var(--font-cuerpo);
    font-weight: 400;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.90);
    max-width: 480px;
    margin: 0 0 36px;
    text-shadow: 0 1px 8px rgba(6, 20, 55, 0.40);
}

.ilona-hero__btn {
    background-color: #FF7300;
    color: #ffffff;
    font-family: var(--font-cuerpo);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
    letter-spacing: 0.01em;
}

.ilona-hero__btn:hover {
    background-color: #e06500;
    color: #ffffff;
}

/* ── Dots (5 puntos en wireframe phone) ── */
.ilona-hero__dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}

.ilona-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.65);
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
}

.ilona-hero__dot.active,
.ilona-hero__dot:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    transform: scale(1.3);
}

/* ── Onda nube inferior del hero (SVG inline, menta #D8EEED) ── */
.ilona-hero__wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 5;
    line-height: 0;
}

.ilona-hero__wave svg {
    display: block;
    width: 100%;
    height: 110px;
}

/* ==========================================================
   RESPONSIVE MOBILE — contenido centrado (wireframe phone)
   ========================================================== */

@media (max-width: 768px) {
    .ilona-hero {
        min-height: 100svh;
    }

    /* Overlay más uniforme en mobile */
    .ilona-hero__overlay {
        background: rgba(6, 20, 55, 0.45);
    }

    /* Contenido CENTRADO en mobile */
    .ilona-hero__content {
        text-align: center;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0 28px;
    }

    .ilona-hero__title {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .ilona-hero__subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        margin: 0 auto 32px;
    }

    .ilona-hero__dots {
        bottom: 72px;
    }

    .ilona-hero__wave svg {
        height: 70px;
    }
}
