/* =========================================================
   Bloque principal (Eleonora landing) – v. centrada
   ========================================================= */

/* ----------  CONTENEDOR PRINCIPAL  ---------- */
.bloque-principal-section {
    background: var(--terciario);
    padding: 6rem 0 10rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        to right,
        #ffffff 0%,
        #f7f7f7 40%,
        #461e606a 90%,
        #461e60b1 100%
    );
}
.bloque-principal-section .col-lg-7 {
    position: relative;
    z-index: 2;
}

.identidad-wrapper {
    transform: translate(-10rem, -3rem); /* ← izq | ↑ arriba */
}

/* ----------  LOGO + TITULO ARRIBA IZQ  ---------- */
.logo-bloque {
    width: 200px; /* ↓ más pequeño */
    max-width: 40vw;
    height: auto;
    margin-top: -15px; /* sin desplazamiento */
    margin-right: -25px;
}
.nombre-wrapper {
    text-align: left;
}
.nombre-mentora {
    font-family: "tipografia1";
    font-size: 4.9rem;
    font-weight: bolder;
    color: var(--primario);
    margin: 0 0 0.25rem 0;
}
.subtitulo-mentora {
    font-family: "tipografia3";
    font-size: 1.35rem;
    line-height: 1.35;
    color: var(--primario);
    margin: 0;
    margin-left: 4rem;
}

/* ----------  FRASE MOTIVACIONAL CENTRADA  ---------- */
.frase-motivacional {
    font-family: "tipografia2";
    font-size: 2.8rem;
    font-weight: 200; /* más fina */
    text-align: center;
    margin: 3rem auto 1.5rem;
    color: var(--secundario);
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.138);
}

/* ----------  PALABRA “hoy”  ---------- */
.palabra-hoy {
    font-family: "tipografia1";
    font-size: 10rem;
    font-weight: bold;
    text-align: center;
    margin: -3rem auto 1.5rem;
    color: var(--primario);
    text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.339);
}

/* ----------  BOTÓN CTA  ---------- */
.btn.btn-secundario-bloque {
    display: inline-block; /* ancho ajustado al texto            */
    margin-left: 15rem; /* ← centra dentro del contenedor     */
    padding: 0.55rem 2.2rem;
    font-size: 1.55rem;
    line-height: 1.2;
    background: var(--secundario);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
    transition: background 0.25s, transform 0.2s;
}
.btn.btn-secundario-bloque:hover {
    background: var(--secundarioBis);
    transform: translateY(-2px);
}

/* ----------  FOTO MENTORA + HALO  ---------- */
.foto-mentora {
    position: absolute;
    top: -22rem;
    right: -200px;
    width: 480px;
    max-width: none;
    height: auto;
    z-index: 0;
    filter: drop-shadow(0 12px 28px #461e60a9);
    transition: transform 0.25s;
}
.foto-mentora:hover {
    transform: scale(1.02);
}

.sombra-mentora {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: 1.5rem;
    background: linear-gradient(
        to right,
        rgba(var(--secundario-rgb), 0.06) 0%,
        rgba(var(--secundario-rgb), 0.3) 100%
    );
    filter: blur(10px);
}

/* ----------  OLA INFERIOR  ---------- */
.onda-fill {
    fill: var(--secundario);
}
.onda-separadora-principal svg {
    display: block;
    width: 100%;
    height: 60px;
    filter: drop-shadow(0 -9px 12px rgba(0, 0, 0, 0.6));
}

/* escritorio ≥ 992 px: foto parcialmente escondida con unidades relativas */
@media (min-width: 992px) {
    /* la columna contenedora ya debe tener .position-relative en el Blade */
    .foto-mentora {
        position: absolute;

        /* ——— anclaje inferior ———
       se oculta un 20 % de la altura de la imagen respecto
       al alto de la propia foto */
        bottom: -20%;

        /* ——— desplazamiento lateral ———
       12 vw empuja la imagen un poco fuera del contenedor,
       mantiene la misma proporción en monitores más anchos */
        right: -12vw;

        /* ——— anchura ———
       35 vw hasta un máximo de 480 px,
       así escala con la pantalla pero no pasa de tu tamaño original */
        width: clamp(280px, 35vw, 500px);
    }
}

/* ========== 0 – 575 px · smartphones ========== */
/* ========== 0 – 575 px · smartphones ========== */
@media (max-width: 575.98px) {
    .bloque-principal-section {
        background: #ffffff;
    } /* fondo liso */
    .identidad-wrapper {
        transform: none;
        justify-content: center;
        margin-bottom: 2rem;
    }
    .logo-bloque {
        margin-top: -80px;
        width: 130px;
    }
    .nombre-mentora {
        font-size: 4rem;
        margin-left: 0;
    }
    .subtitulo-mentora {
        font-size: 1.2rem;
        margin-left: 0;
    }

    .frase-motivacional {
        font-size: 1.5rem;
    }
    .palabra-hoy {
        font-size: 7rem;
        margin: -2rem auto 1.5rem;
    }

    .foto-mentora {
        position: static;
        width: 90%;
        max-width: 350px;
        margin: 0rem auto -10rem;
        margin-left: 2rem;
    }
    .sombra-mentora {
        display: none;
    }

    .btn-secundario-bloque {
        display: inline-block;
        width: auto;
        max-width: 200px;
        margin-left: -0.01rem !important;
        font-size: 1.2rem !important;
    }
}

/* ========== 576 – 767 px · teléfonos grandes / mini-tablet ========== */
@media (min-width: 576px) and (max-width: 767.98px) {
    .bloque-principal-section {
        background: #ffffff; /* o var(--tu-color) */
    }
    .identidad-wrapper {
        transform: translate(-2rem, -2rem);
    }
    .logo-bloque {
        width: 200px;
    }
    .nombre-mentora {
        font-size: 4.4rem;
        margin-left: 3rem;
    }
    .subtitulo-mentora {
        font-size: 1.25rem;
        margin-left: 2.5rem;
    }

    .frase-motivacional {
        font-size: 2rem;
    }
    .palabra-hoy {
        font-size: 8rem;
        margin: -2.3rem auto 1.5rem;
    }

    .foto-mentora {
        position: static; /* quita top/right absolutos      */
        width: 90%; /* tamaño relativo al viewport    */
        max-width: 420px; /* evita que crezca demasiado     */
        margin: 0rem auto -10rem; /* espacio por encima de la ola   */
        margin-left: 2rem;
    }
    .sombra-mentora {
        display: none;
    } /* halo innecesario en este rango */

    .btn-secundario-bloque {
        display: inline-block;
        margin-left: 10px !important;
    }
}

/* ========== 768 – 991 px · tablets / notebooks chicos ========== */
@media (min-width: 768px) and (max-width: 991.98px) {
    .identidad-wrapper {
        transform: translate(-4rem, -2.5rem);
    }
    .logo-bloque {
        width: 170px;
    }
    .nombre-mentora {
        font-size: 3.2rem;
    }
    .subtitulo-mentora {
        font-size: 1.2rem;
        margin-left: 3rem;
    }

    .frase-motivacional {
        font-size: 2.3rem;
    }
    .palabra-hoy {
        font-size: 6.5rem;
        margin: -2.5rem auto 1.5rem;
    }

    .foto-mentora {
        position: absolute;
        top: -220px;
        right: -100px;
        width: 380px;
    }

    .btn-secundario-bloque {
        margin-left: 0;
    }
}

/* ========== 1200 – 1439 px · notebook / desktop medio ========== */
@media (min-width: 1200px) and (max-width: 1439.98px) {
    /* 1 ▸ Logo + textos algo más a la izquierda */
    .identidad-wrapper {
        transform: translate(-8rem, -3rem); /* antes -10rem */
    }

    /* 2 ▸ Foto baja un poco (menos “top” negativo) */
    .foto-mentora {
        top: -15rem; /* antes -22rem  → queda más abajo */
    }

    /* 3 ▸ Botón centrado justo bajo “hoy” */
    .btn-secundario-bloque {
        display: block; /* garantiza que respete margen auto   */
        width: auto; /* se ajusta al texto                  */
        margin: 2rem 12rem 0 !important; /* auto izquierda + derecha ⇒ centrado */
    }
}

/* ===== Ajustes finos solo para 0-575 px ===== */
@media (max-width: 575.98px) {
    /* 1 ▸ Logo un poco mayor y 100 % centrado */
    .logo-bloque {
        width: 120px; /* antes 90 px */
        margin: 0 auto -1rem; /* centrado, ligera superposición hacia arriba */
    }

    /* 2 ▸ Nombre y subtítulo escalan en paralelo */
    .nombre-mentora {
        font-size: clamp(2.6rem, 8vw, 3rem); /* reduce sin perder jerarquía */
        text-align: center;
    }
    .subtitulo-mentora {
        font-size: clamp(1rem, 3.6vw, 1.25rem);
        margin-left: 0;
        text-align: center;
    }

    /* 3 ▸ Frase motivacional algo más pequeña y aire extra */
    .frase-motivacional {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        margin-top: 2rem; /* separa de la identidad  */
    }

    /* 4 ▸ Espacio superior general más compacto  */
    .bloque-principal-section {
        padding-top: 3rem; /* antes 6 rem → reduce “gap” bajo navbar */
    }

    /* 5 ▸ CTA ya centrado: asegura margen auto  */
    .btn-secundario-bloque {
        display: block;
        margin: 2rem auto 0;
    }
}
