
/* === SESION 1: HERO CON MENÚ INTEGRADO === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', Georgia, serif;
    line-height: 1.5;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-image: url('./imagen/imagenpsicologa2.2.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Franja gradient sobre la imagen */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(165deg, rgba(14, 0, 0, 0.637) 0%,#8b5a4baf); 
    pointer-events: none;
    z-index: 1;
}

/* ========== MENÚ (DENTRO DEL HERO) ========== */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: transparent;
    z-index: 3;
    flex-wrap: wrap;
}

.nav.fixed {
    position: fixed;
    background: rgba(249, 230, 226, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0.8rem 3rem;
}

.logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav.fixed .logo h2 {

}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-list a {
    text-decoration: none;
    color: #fff;
    font-weight: 530;
    font-family: 'Times New Roman', Georgia, serif;
    transition: color 5.5s ease;
}

.nav.fixed .nav-list a {
    color: #0c0402;
}

.nav-list a:hover {
    color: #320236;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff;
}

.nav.fixed .menu-toggle {
    color: #8B5A4B;
}

/* ========== TEXTO DIRECTAMENTE SOBRE LA IMAGEN ========== */
.hero-texto {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 3rem;
    padding: 0;
    font-weight: 100;
    
}

.hero-frase {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-family: 'Times New Roman', Georgia, serif;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    text-align: center;
}

.hero-slogan {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Georgia, serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    text-align: center;
}

.hero-parrafo {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.6;
    font-family: 'Times New Roman', Georgia, serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    max-width: 650px;
    text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
    }
    
    .nav.fixed {
        padding: 0.8rem 1rem;
    }
    
    .nav-list {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
        background: rgba(249, 230, 226, 0.95);
        margin-top: 1rem;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list a {
        color: #8B5A4B;
    }
    
    .menu-toggle {
        display: block;
        color: #fff;
    }
    
    .hero-texto {
        margin: 0 1.5rem;
        margin-top: 9rem;

    }
    
    .hero-frase {
        font-size: 1.5rem;
    }
    
    .hero-slogan {
        font-size: 1.2rem;
    }
    
    .hero-parrafo {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-frase {
        font-size: 1.6rem;
    }
    
    .hero-slogan {
        font-size: 1rem;
    }
    
    .hero-parrafo {
        font-size: 0.9rem;
    }
    
    .logo h2 {
        font-size: 1.2rem;
        color: #fff;
    }
}


/* === AGREGADO: ANIMACIÓN SLIDE-UP PARA SLOGAN Y PÁRRAFO === */
.hero-slogan, .hero-parrafo {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.hero-slogan {
    animation-delay: 0.2s;
}

.hero-parrafo {
    animation-delay: 0.5s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-frase {
    animation: slideInRight 1.2s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* === SESION 2: SOBRE MÍ === */
.sobre-mi {
    padding: 5rem 2rem;
    background-color: #F9E6E2;
}

.sobre-mi-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.sobre-mi-imagen {
    flex: 1;
    min-width: 250px;
}

.sobre-mi-imagen img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sobre-mi-contenido {
    flex: 2;
    min-width: 280px;
}

.sobre-mi-contenido h2 {
    font-size: 2.5rem;
    color: #8B5A4B;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Georgia, serif;
    text-align: center;
}

.sobre-mi-saludo {
    font-size: 1.5rem;
    color: #D9A57C;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.sobre-mi-contenido p {
    color: #2b2320;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
    text-align: center;
}

.sobre-mi-cierre {
    font-weight: 500;
    margin-top: 1rem;
}

/* Datos destacados */
.sobre-mi-datos {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dato-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-left: 3px solid #D9A57C;
    padding-left: 1rem;
}

.dato-titulo {
    font-weight: 600;
    color: #8B5A4B;
    min-width: 180px;
}

.dato-descripcion {
    color: #6B5A52;
}

/* Responsive */
@media (max-width: 768px) {
    .sobre-mi {
        padding: 3rem 1.5rem;
    }
    
    .sobre-mi-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .sobre-mi-imagen {
        text-align: center;
        display: flex;
        justify-content: center;
    }
    
    .sobre-mi-imagen img {
        max-width: 280px;
        
    }
    
    .sobre-mi-contenido h2 {
        font-size: 2rem;
    }
    
    .sobre-mi-saludo {
        font-size: 1.3rem;
    }
    
    .dato-item {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .dato-titulo {
        min-width: auto;
    }
}




.sobre-mi-imagen img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .sobre-mi-imagen {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .sobre-mi-imagen img {
        width: 80%;
        max-width: 280px;
    }
}




.sobre-mi-imagen img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sobre-mi-imagen img.visible {
    opacity: 1;
    transform: translateY(0);
}



/* === ANIMACIÓN FADE-IN PARA PÁRRAFOS AL SCROLL === */
.sobre-mi-contenido p, .sobre-mi-saludo, .sobre-mi-cierre, .dato-item {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.sobre-mi-contenido p.visible, .sobre-mi-saludo.visible, 
.sobre-mi-cierre.visible, .dato-item.visible {
    opacity: 1;
    transform: translateY(0);
}







/* === CINTA CARRUSEL INFINITO === */
.cinta-container {
    width: 100%;
    overflow: hidden;
    background-color: #E8D0C8;
    padding: 1rem 0;
    position: relative;
}

.cinta-track {
    display: flex;
    width: max-content;
    animation: scrollInfinito 4s linear infinite;

}

.cinta-texto {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #31201a;
    white-space: nowrap;
    padding: 0 2rem;
    letter-spacing: 1px;
}

@keyframes scrollInfinito {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

/* Pausar animación al pasar el mouse */
.cinta-container:hover .cinta-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .cinta-texto {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .cinta-track {
        animation-duration: 15s;
        animation: scrollInfinito 7s linear infinite;

    }
}



.sobre-mi-imagen img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 30px 34px -9px  #8B5A4B; 
}


/* === HEADER FIJO TRANSPARENTE === */
.header-transparente {
    position: fixed;
    top: -80px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(249, 230, 226, 0.85);
    backdrop-filter: blur(8px);
    transition: top 0.3s ease;
    z-index: 999;
    text-align: center;
        background: rgba(231, 141, 123, 0.404); /* 0.6 = más transparente, más bajo = más transparente */

}

.header-transparente.show {
    top: 0;
    
}


.header-transparente-texto {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #251814;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-transparente-texto {
        font-size: 0.85rem;
    }
}



/* === SESION 3: MI ENFOQUE === */
.enfoque {
    padding: 5rem 2rem;
    background-color: #FFFBF9;
}

.enfoque-container {
    max-width: 1200px;
    margin: 0 auto;
}

.enfoque-titulo {
    font-size: 2.2rem;
    color: #683d30;
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', Georgia, serif;
}

.enfoque-texto {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.enfoque-texto p {
    color: #2e2c2c;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.pilares {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.pilar {
    flex: 1;
    min-width: 250px;
    background-color: #F9E6E2;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pilar:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(211, 115, 115, 0.884);
}

.pilar h3 {
    font-size: 1.5rem;
    color: #6d4d34;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Georgia, serif;
}

.pilar p {
    color: #161311;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .enfoque {
        padding: 3rem 1.5rem;
    }
    
    .enfoque-titulo {
        font-size: 1.8rem;
    }
    
    .pilares {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .pilar {
        padding: 1.5rem;
    }
}




/* === ANIMACIONES SESION 3: MI ENFOQUE === */
.enfoque-titulo {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.enfoque-titulo.visible {
    opacity: 1;
    transform: scale(1);
}

.enfoque-texto p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.enfoque-texto p.visible {
    opacity: 1;
    transform: translateY(0);
}

.pilar {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pilar.visible {
    opacity: 1;
}

.pilar:nth-child(1).visible {
    animation: fadeInCard 0.6s ease forwards;
}

.pilar:nth-child(2).visible {
    animation: fadeInCard 0.6s ease 0.2s forwards;
}

.pilar:nth-child(3).visible {
    animation: fadeInCard 0.6s ease 0.4s forwards;
}

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* === SEPARADOR CON ANIMACIÓN === */
.separador {
    width: 100%;
    padding: 4rem 2rem;
    background-color: #E8D0C8;
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.separador.visible {
    opacity: 1;
    transform: scale(1);
}

.separador-container {
    max-width: 800px;
    margin: 0 auto;
}

.separador-frase {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #8B5A4B;
    line-height: 1.4;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .separador {
        padding: 2.5rem 1.5rem;
    }
    
    .separador-frase {
        font-size: 1.3rem;
    }
}



/* === SESION 4: SERVICIOS CON PARALLAX === */
.servicios {
    position: relative;
    padding: 5rem 2rem;
    overflow: hidden;
}

.servicios-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.servicios-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.servicios-titulo {
    font-size: 2.5rem;
    color: #8B5A4B;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Times New Roman', Georgia, serif;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.servicios-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.servicio-card {
    flex: 1;
    min-width: 280px;
    background-color: rgba(255, 251, 249, 0.95);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
     box-shadow: 0 15px 30px -5px rgba(131, 81, 34, 0.932);


}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.servicio-card h3 {
    font-size: 1.6rem;
    color: #8B5A4B;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Georgia, serif;
}

.servicio-intro {
    font-size: 1rem;
    color: #1a130e;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.servicio-descripcion {
    color: #080705;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.servicio-lista {
    margin-bottom: 1.5rem;
}

.servicio-lista p, .servicio-modalidades p {
    color: #070604;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.servicio-lista ul {
    list-style: none;
    padding-left: 0;
}

.servicio-lista li {
    color: #0a0906;
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.servicio-lista li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #D9A57C;
}

.servicio-modalidades p {
    color: #4A3B2C;
    margin-bottom: 0.3rem;
}

.servicio-nota {
    color: #361d0a;
    font-style: italic;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .servicios {
        padding: 3rem 1.5rem;
    }
    
    .servicios-titulo {
        font-size: 2rem;
    }
    
    .servicio-card {
        padding: 1.5rem;
    }
    
    .servicio-card h3 {
        font-size: 1.4rem;
    }
    
    .servicios-parallax {
        background-attachment: scroll;
    }
}


/* === CONTADOR ANIMADO === */
.contador-container {
    background-color: #f0a38c;
    padding: 4rem 2rem;
    text-align: center;
}

.contador-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.contador-item {
    flex: 1;
    min-width: 180px;
    padding: 1rem;
}

.contador-numero {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: #472923;
    font-family: 'Times New Roman', Georgia, serif;
    margin-bottom: 0.5rem;
}

.contador-label {
    font-size: 1.5rem;
    color:#472923 ;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .contador-container {
        padding: 2.5rem 1rem;
    }
    
    .contador-numero {
        font-size: 2.5rem;
    }
    
    .contador-label {
        font-size: 0.85rem;
    }
}




/* === CARRUSEL DE IMÁGENES CON FRASE === */
.carrusel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carrusel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carrusel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carrusel-img.active {
    opacity: 1;
}

.carrusel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(156, 104, 7, 0.4);
    z-index: 5;
}

.carrusel-frase {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 80%;
}

.carrusel-frase p {
    font-family: 'Times New Roman', Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .carrusel-container {
        height: 300px;
    }
    
    .carrusel-frase p {
        font-size: 1.2rem;
    }
}


/* === SESION 5: PROGRAMA MUJERES QUE FLORECEN === */
.programa {
    padding: 5rem 2rem;
    background-color: #FFFBF9;
}

.programa-container {
    max-width: 1200px;
    margin: 0 auto;
}

.programa-titulo {
    font-size: 2.5rem;
    color: #612f1f;
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: 'Times New Roman', Georgia, serif;
}

.programa-subtitulo {
    font-size: 1.3rem;
    color: #8d5022;
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Georgia, serif;
}

.programa-frase {
    font-size: 1.2rem;
    color: #2c2522;
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
}

.programa-grid {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.programa-columna {
    flex: 1;
    min-width: 280px;
}

.programa-columna h3 {
    font-size: 1.6rem;
    color: #6b4337;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', Georgia, serif;
    border-left: 4px solid #D9A57C;
    padding-left: 1rem;
}

.programa-lista {
    list-style: none;
    padding-left: 0;
}

.programa-lista li {
    color: #0a0806;
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.programa-lista li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #c98462;
    font-size: 1rem;
}

.trabajamos-item {
    margin-bottom: 1.5rem;
}

.trabajamos-titulo {
    font-weight: 600;
    color: #612f1f ;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.trabajamos-item p {
    color: #4A3B2C;
    line-height: 1.5;
    font-size: 0.95rem;
    margin-left: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .programa {
        padding: 3rem 1.5rem;
    }
    
    .programa-titulo {
        font-size: 2rem;
    }
    
    .programa-subtitulo {
        font-size: 1.1rem;
    }
    
    .programa-frase {
        font-size: 1rem;
    }
    
    .programa-columna h3 {
        font-size: 1.4rem;
    }
}




.programa-columna {
    text-align: center;
}

.programa-lista {
    text-align: center;
}

.programa-lista li {
    text-align: center;
    padding-left: 0;
}

.programa-lista li::before {
    display: none;
}

.trabajamos-item {
    text-align: center;
}


/* === SECCIÓN DOS FOTOS === */
.dos-fotos {
    padding: 4rem 2rem;
    background-color: #F9E6E2;
}

.dos-fotos-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.dos-fotos-img {
    flex: 1;
    min-width: 280px;
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dos-fotos-img:hover {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
    .dos-fotos {
        padding: 2rem 1rem;
    }
    
    .dos-fotos-container {
        gap: 1rem;
    }
}






/* decoracion del logo  */


.logo {
    position: relative;
    text-align: center;
}

.logo::before,
.logo::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #D9A57C;
}

.logo::before {
    top: -8px;
}

.logo::after {
    bottom: -8px;
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logo h2::before {
    content: "✿";
    font-size: 1.2rem;
    color: #D9A57C;
    font-weight: normal;
}

.logo h2::after {
    content: "✿";
    font-size: 1.2rem;
    color: #D9A57C;
    font-weight: normal;
}

/* Cuando el menú es fijo (scroll), el logo cambia a color marrón */
.nav.fixed .logo h2 {
    color: #8B5A4B;
}

.nav.fixed .logo h2::before,
.nav.fixed .logo h2::after {
    color: #D9A57C;
}

.nav.fixed .logo::before,
.nav.fixed .logo::after {
    background-color: #8B5A4B;
}



html {
    scroll-behavior: smooth;
}


/* === SECCION: EBOOK + FORMULARIO === */
.ebook-formulario {
    padding: 5rem 2rem;
    background-color: #f3b9ad;
}

.ebook-formulario-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.ebook-columna, .formulario-columna {
    flex: 1;
    min-width: 280px;
    background-color: #FFFBF9;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.822);
    text-align: center;
}

.ebook-portada {
    width: 100%;
    max-width: 250px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.445);
}

.ebook-titulo {
    font-size: 1.6rem;
    color: #8B5A4B;
    font-family: 'Times New Roman', Georgia, serif;
    margin-bottom: 1rem;
}

.ebook-descripcion {
    color: #0f0d0c;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-ebook {
    display: inline-block;
    background-color: #d14775;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-ebook:hover {
    background-color: #8B5A4B;
    transform: translateY(-3px);
}

.formulario-titulo {
    font-size: 1.6rem;
    color: #8B5A4B;
    font-family: 'Times New Roman', Georgia, serif;
    margin-bottom: 1.5rem;
}

.form-grupo {
    margin-bottom: 1.2rem;
}

.form-grupo input, .form-grupo textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E8D0C8;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #FFFFFF;
    transition: border-color 0.3s ease;
}

.form-grupo input:focus, .form-grupo textarea:focus {
    outline: none;
    border-color: #D9A57C;
}

.btn-enviar {
    width: 100%;
    background-color:#d14775; 
    color: #FFFFFF;
    border: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enviar:hover {
    background-color: #D9A57C;
    transform: translateY(-2px);
}

.formulario-nota {
    font-size: 0.8rem;
    color: #110e0d;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ebook-formulario {
        padding: 3rem 1rem;
    }
    
    .ebook-columna, .formulario-columna {
        padding: 1.5rem;
    }
}



/* === FOOTER === */
.footer {
    background-color: #f7f1eae7;
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-grid {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-mapa {
    flex: 1;
    min-width: 280px;
}

.footer-mapa iframe {
    width: 100%;
    height: 200px;
    border-radius: 12px;
}

.footer-direccion {
    color: #0e0808;
    font-size: 1.3rem;
    margin-top: 0.5rem;
    text-align: center;
}

.footer-redes {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.footer-redes h4 {
    color: #0a0505;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Georgia, serif;
}

.redes-iconos {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.redes-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.redes-link:hover {
    transform: translateY(-5px);
}

.redes-link img {
    width: 32px;
    height: 32px;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #0c0505;
}

.footer-copyright p {
    color: #2e2d2d;
    font-size: 0.75rem;
    margin: 0.3rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 2rem;
    }
}

/* === BOTÓN WHATSAPP FLOTANTE === */
.btn-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #e0588d;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Times New Roman', Georgia, serif;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.btn-whatsapp:hover {
    background-color: #d6476b;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-whatsapp svg {
    stroke: #FFFFFF;
}

/* Responsive: en móvil más pequeño */
@media (max-width: 480px) {
    .btn-whatsapp {
        padding: 10px 16px;
        font-size: 0.85rem;
        bottom: 15px;
        right: 15px;
    }
    
    .btn-whatsapp svg {
        width: 22px;
        height: 22px;
    }
}





/* Menú móvil - solo se ve en pantallas pequeñas */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.nav.fixed .menu-toggle span {
    background-color: #8B5A4B;
}

.menu-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 280px;
    height: 100vh;
    background: rgba(249, 230, 226, 0.932);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: right 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);

    padding: 80px 2rem 2rem 2rem;
    
}

.menu-mobile.active {
    right: 0;
}

.nav-list-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-list-mobile li a {
    text-decoration: none;
    font-size: 1.3rem;
    color: #8B5A4B;
    font-family: 'Times New Roman', Georgia, serif;
}

/* En móvil: oculto menú viejo, muestro botón */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}


@media (max-width: 768px) {
    .btn-whatsapp {
        padding: 8px 16px;
        font-size: 0.8rem;
        bottom: 15px;
        right: 15px;
    }
    
    .btn-whatsapp svg {
        width: 20px;
        height: 20px;
    }
}