/* ---------- Sección SOBRE MÍ ---------- */

.seccion-sobre-mi {
    background: var(--terciario);
    padding: 6rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    
}

/* ---------- Imagen ---------- */
.foto-sobre-mi {
    width: 100%;
    max-width: 1400px;
    height: auto;
    filter: drop-shadow(0 20px 20px #00000055);
    transform: translate(20px, 20px);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Contenedor del contenido ---------- */
.contenido-sobre-mi {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0; /* Podés mantener algo de padding si querés espacio */
    border-radius: 0;
    max-width: 800px;
    text-align: center;
}

/* ---------- Título decorado ---------- */
.titulo-quien-soy {
    font-family: "tipografia3";
    color: var(--primario);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    text-shadow: 1px 1px #8fd6cf !important;
}

.titulo-quien-soy .decorador {
    font-size: 2.8rem;
    color: var(--primario);
    line-height: 1;
    
}

/* ---------- Nombre ---------- */
.nombre-eleonora {
    font-family: "tipografia1";
    font-weight: bolder;
    color: var(--secundario);
    font-size: 5rem;
    margin-bottom: 0.5rem;
}

/* ---------- Subtítulo ---------- */
.subtitulo-eleonora {
    font-family: "tipografia3";
    color: var(--primario);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-shadow: 1px 1px #8fd6cf !important;
}

/* ---------- Descripción ---------- */
.descripcion-eleonora {
    font-family: "tipografia2", sans-serif;
    color: var(--secundario);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: bolder;
}

/* ---------- Botón ---------- */
.btn-sobre-mi {
    font-family: "tipografia2", Arial, Helvetica, sans-serif;
    overflow: visible;
    background-color: var(--secundario);
    color: #fff;
    font-size: 1.2rem;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    touch-action: manipulation;
    transition: background 0.25s, transform 0.1s;
    position: relative;
    margin-top: 2rem;
    z-index: 3;
}

.btn-sobre-mi:hover,
.btn-sobre-mi:focus {
    transform: translateY(-2px);
    background-color: var(--secundarioBis);
}

.btn-sobre-mi:active {
    transform: scale(0.98);
}
/*  La sección ya trae overflow:hidden  → recorta la imagen */
.seccion-sobre-mi {
    overflow: hidden;
}

/* ── ONDAS ──────────────────────────────────────────────── */
.onda-superior,
.onda-inferior {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    z-index: 2; /* por encima de la foto   */
}
.onda-superior {
    top: 0;
}
.onda-inferior {
    bottom: 0;
}

.onda-superior svg,
.onda-inferior svg {
    display: block;
    width: 100%;
    height: 40px; /* más finas */
    transform: translateY(-1px); /* evita línea */
}
.onda-inferior svg {
    transform: translateY(1px); /* evita línea */
}
/* color sólido de la onda inferior + sombra ascendente */
.onda-fill {
    fill: var(--secundario);
}
.onda-inferior svg {
    filter: drop-shadow(
        10px 1px 5px rgba(0, 0, 0, 0.72)
    ); /* sombra SOLO hacia arriba */
}

/* ── FOTO: queda debajo de las ondas ───────────────────── */
.foto-sobre-mi {
    position: relative;
    z-index: 1;
}
/* ---------- Responsive (<768 px) ---------- */
/* ========== 0 – 575 px · smartphones ========== */
@media (max-width: 575.98px) {
    .seccion-sobre-mi {
        flex-direction: column;
        padding: 3rem 1rem;
        background: #ffffff; /* degrado fuera para vista limpia */
    }

    /* foto centrada, debajo del texto, sin desplazamiento */
    .foto-sobre-mi {
        width: 80%;
        max-width: 280px;
        transform: none;
        margin: 0 auto 6rem;
    }

    /* identidad al centro y textos más compactos */
    .titulo-quien-soy {
        font-size: 1.6rem;
        gap: 0.8rem;
    }
    .nombre-eleonora {
        font-size: 3rem;
    }
    .subtitulo-eleonora {
        font-size: 1.2rem;
    }

    .descripcion-eleonora {
        font-size: 0.9rem;
    }

    .btn-sobre-mi {
        font-size: 1rem;
        padding: 0.7rem 1.8rem;
    }
    
}

/* ========== 576 – 767 px · teléfonos grandes / mini-tablet ========== */
@media (min-width: 576px) and (max-width: 767.98px) {
    .seccion-sobre-mi {
        background: #ffffff;
    }

    .foto-sobre-mi {
        position: static; /* sale del flujo absoluto */
        width: 70%;
        max-width: 340px;
        margin: 0 auto 5rem;
    }

    .identidad-wrapper {
        justify-content: center;
    }
    .nombre-eleonora {
        font-size: 3.6rem;
    }
    .subtitulo-eleonora {
        font-size: 1.35rem;
    }

    .descripcion-eleonora {
        font-size: 0.95rem;
    }

    .btn-sobre-mi {
        font-size: 1.05rem;
        padding: 0.75rem 2rem;
    }
}

/* ========== 768 – 991 px · tablets / notebooks chicos ========== */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* mantenemos dos columnas, pero foto un poco más comedida */
    .foto-sobre-mi {
        transform: translate(10px, 10px);
        width: 60%;
        max-width: 380px;
    }

    .identidad-wrapper {
        transform: translate(-3rem, -1.5rem);
    }
    .nombre-eleonora {
        font-size: 4.2rem;
    }
    .subtitulo-eleonora {
        font-size: 1.45rem;
    }

    .descripcion-eleonora {
        font-size: 1rem;
    }

    .btn-sobre-mi {
        font-size: 1.1rem;
        padding: 0.8rem 2.2rem;
    }
    
}



/* (tu regla existente ≥ 992 px se mantiene sin cambios) */

/* ---------- Escala la imagen solo en escritorio ---------- */
@media (min-width: 992px) {
    .foto-sobre-mi {
        transform: translate(20px, 20px) scale(1.15);
    }
}

/* Ocultar foto de Eleonora cuando el menú es hamburguesa (≤991 px) */
@media (max-width: 991.98px) {
    .foto-sobre-mi {
        display: none !important;
    }
    .sombra-mentora {
        display: none !important; /* halo innecesario si no hay foto */
    }
}
.onda-color {
    fill: var(--primario);
}
