@import url('https://fonts.googleapis.com/css2?family=Ancizar+Serif:ital,wght@0,300..900;1,300..900&display=swap');

/* --- CONFIGURACIÓN BASE --- */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito Sans', sans-serif; 
    background-color: #ffffff;
    overflow-x: hidden; 
    max-width: 100vw; 
    scroll-behavior: smooth; /* HACE QUE EL DESPLAZAMIENTO SEA FLUIDO Y SUAVE */
}

/* --- CABECERA Y NAVEGACIÓN --- */
.header-principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 5%; 
    
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
}

.header-principal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50vw;
    right: -50vw;
    bottom: 0;
    background-color: transparent;
    z-index: -1;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.header-principal.scrolled::before {
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
}

.logo-img {
    height: 40px; 
    width: auto;
    display: block;
}

.menu-hamburguesa {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.menu-hamburguesa span {
    width: 30px;
    height: 3px;
    background-color: #2f1d44;
    border-radius: 2px;
    transition: 0.3s;
}

.navegacion {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    font-weight: 700; 
}

.navegacion a {
    text-decoration: none;
    color: #2f1d44;
    transition: color 0.3s;
}

.navegacion a:hover {
    color: #4B286D;
}

.separador {
    color: #2f1d44;
    font-weight: 300;
}

/* --- SECCIÓN 1: HERO HOME --- */
.seccion-hero {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 5% 100px 5%;
    display: flex;
    align-items: flex-start; 
    min-height: 70vh;
}

.contenedor-hero {
    width: 55%;
    position: relative;
    z-index: 2;
    margin-top: 60px; 
}

.titulo-hero {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 3.8rem;
    color: #2f1d44;
    line-height: 1.15;
    margin: 0 0 25px 0;
    font-weight: 500;
}

.parrafo-hero {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.47rem; 
    color: #2f1d44;
    line-height: 1.25;
    margin: 0 0 60px 0;
}

.btn-hero {
    background: linear-gradient(90deg, #4A2E7D, #2B1D4B);
    color: #ffffff;
    border: none;
    padding: 16px 90px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Nunito Sans', sans-serif;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 16, 145, 0.3);
}

.hero-imagen {
    position: absolute;
    right: -18%; 
    top: -50px; 
    width: 60%; 
    z-index: 1;
    pointer-events: none; 
}

/* FLOTACIÓN ORIGINAL PARA TODAS LAS IMÁGENES HERO */
.hero-imagen img,
.hero-imagen-met img,
.img-hero-consultoria,
.img-hero-operacion {
    width: 100%; 
    display: block;
    animation: flotar-y-mecer-hero 15s ease-in-out infinite; 
}

/* --- SECCIÓN 2: METODOLOGÍA HOME --- */
.seccion-metodologia {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: -100px auto 0 auto;
    padding: 0px 5% 100px 5%;
}

.cabecera-metodologia {
    margin-bottom: 60px;
}

.titulo-seccion {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 2.25rem;
    color: #2f1d44;
    line-height: 1.1; 
    font-weight: 600;
    margin: 0;
}

.grid-metodologia {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 50px; 
    column-gap: 80px; 
}

.tarjeta-metodologia {
    position: relative; 
    display: flex;
    flex-direction: column;
}

.titulo-tarjeta {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 1.5rem;
    color: #2f1d44;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 5px 0;
}

.texto-tarjeta {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: #2f1d44;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.imagen-tarjeta {
    margin-top: auto; 
    text-align: center;
    padding-top: 20px;
}

.imagen-tarjeta img {
    max-height: 195px; 
    width: auto;
    object-fit: contain;
}

.linea-derecha::after {
    content: '';
    position: absolute;
    right: -40px; 
    top: 6px; 
    bottom: 20px; 
    width: 1px; 
    background-color: #caa9ff; 
}

.linea-abajo::before {
    content: '';
    position: absolute;
    bottom: -25px; 
    left: -5px; 
    right: -5px; 
    height: 1px; 
    background-color: #caa9ff; 
}

/* --- SECCIÓN 3: CITA HOME --- */
.seccion-cita {
    position: relative;
    background-color: #ede1ff; 
    padding: 100px 10% 100px 30%; 
    margin-top: 250px; 
    display: flex;
    justify-content: flex-start; 
    align-items: center;
}

.contenedor-cita {
    width: fit-content; 
    max-width: 710px; 
    position: relative;
    z-index: 2;
    margin-left: 0; 
}

.comillas {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 10rem; 
    color: #C8B6EE; 
    line-height: 0;
    display: block;
    margin-bottom: 15px; 
    margin-top: 40px;
}

.texto-cita {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-style: italic;
    font-size: 2.25rem; 
    font-weight: 500;   
    color: #6e569e; 
    line-height: 1.3;
    margin: 0 0 30px 0;
    text-align: center; 
}

.autor-cita {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #8967B4;
    margin: 0;
    text-align: right; 
}

.autor-cita strong {
    font-weight: 700;
}

.imagen-flotante-izq {
    position: absolute;
    left: -20%; 
    top: calc(-50% - 120px); 
    width: 50%; 
    z-index: 3;
    pointer-events: none;
}

.imagen-flotante-izq img {
    width: 100%;
    display: block;
    animation: giro-infinito 160s linear infinite; 
}

/* --- SECCIÓN 4: METODOLOGÍA DETALLE HOME --- */
.seccion-metodologia-detalle {
    position: relative;
    background-color: #ede1ff; 
    padding: 50px 5% 150px 5%;
}

.contenedor-met-detalle {
    max-width: 1200px; 
    margin: 180px auto 0 auto; 
    position: relative;
    z-index: 2;
}

.subtitulo-met-detalle {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 2.25rem; 
    color: #2f1d44;
    font-weight: 500;
    line-height: 1.1; 
    margin-bottom: 60px;
}

.cabecera-met-detalle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    align-items: center; 
    margin-bottom: 60px;
}

.titulo-met-detalle {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 3.7rem; 
    color: #2f1d44;
    line-height: 1.1;
    margin: 0;
}

.texto-met-detalle {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: #2f1d44;
    line-height: 1.4;
    margin: 0;
}

.separador-horizontal {
    height: 1px;
    background-color: #caa9ff; 
    width: 100%;
}

.grid-tres-pasos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin: 20px 0 50px 0; 
}

.paso {
    border-top: 1px solid #caa9ff;
    border-bottom: 1px solid #caa9ff;
    padding: 40px 0;
}

.titulo-paso {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 1.5rem; 
    color: #2f1d44;
    font-weight: 500;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.texto-paso {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: #2f1d44;
    line-height: 1.4;
    margin: 0;
}

.texto-paso br {
    display: none;
}

.contenedor-btn-centro {
    text-align: center;
    margin-top: 60px;
}

.btn-metodologia-detalle {
    background: linear-gradient(90deg, #caa9ff, #dac0ff);
    color: #2f1d44;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Nunito Sans', sans-serif;
}

.btn-metodologia-detalle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 16, 145, 0.3);
}

.imagen-flotante-der {
    position: absolute;
    right: -15%; 
    top: 5%; 
    width: 55%; 
    z-index: 3;
    pointer-events: none;
}

.imagen-flotante-der img {
    width: 100%;
    display: block;
    animation: flotar-circular 15s linear infinite; 
}

/* --- SECCIÓN 5: RESULTADOS HOME --- */
.seccion-resultados {
    position: relative;
    background-color: #ffffff; 
    padding: 150px 5%;
    overflow: visible; 
}

.contenedor-resultados {
    max-width: 1200px; 
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.titulo-resultados {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 2.25rem; 
    color: #2f1d44;
    font-weight: 500;
    line-height: 1.1; 
    margin: 0 0 80px 0;
    max-width: none; 
}

.grid-resultados {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 50px;
    row-gap: 140px;
    width: 100%; 
}

.item-resultado {
    position: relative;
    padding-left: 20px;
}

.item-resultado::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: -40px; 
    width: 2px; 
    background: 
        linear-gradient(#caa9ff, #caa9ff) top left / 100% 50% no-repeat,
        repeating-linear-gradient(to bottom, #caa9ff 0, #caa9ff 4px, transparent 4px, transparent 8px) bottom left / 100% 50% no-repeat;
    border-left: none; 
}

.item-resultado::after {
    content: '';
    position: absolute;
    left: -2px; 
    bottom: -44px; 
    width: 8px;
    height: 8px;
    background-color: #caa9ff;
    border-radius: 50%;
}

.item-resultado p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.3rem; 
    color: #2f1d44; 
    line-height: 1.35;
    margin: 0;
}

.item-resultado strong {
    font-family: "Ancizar Serif", serif; 
    font-optical-sizing: auto;
    color: #2f1d44;
    font-weight: 700;
}

.btn-resultados {
    background-color: #3b2559; 
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Nunito Sans', sans-serif;
}

.btn-resultados:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 16, 145, 0.3);
}

.imagen-rotatoria-der {
    position: absolute;
    right: -10%;     
    top: 50%; 
    width: 44%; 
    z-index: 1;
    pointer-events: none;
}

.imagen-rotatoria-der img {
    width: 100%;
    display: block;
    transform-origin: center center;
    animation: giro-infinito 160s linear infinite; 
}

/* --- SECCIÓN 6: SERVICIOS ESTRATÉGICOS HOME --- */
.seccion-servicios {
    background-color: #ffffff;
    padding: 150px 5% 150px 5%;
}

.contenedor-servicios {
    max-width: 1200px; 
    margin: 0 auto;
}

.cabecera-servicios {
    margin-bottom: 40px;
}

.titulo-servicios-sec {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 2.25rem; 
    color: #2f1d44;
    line-height: 1.1; 
    font-weight: 500;
    margin: 0 0 20px 0;
}

.texto-servicios {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem; 
    color: #2f1d44;
    line-height: 1.35;
    margin: 0;
}

.linea-divisoria-principal {
    width: 100%;
    height: 1px;
    background-color: #caa9ff;
    margin: 50px 0;
}

.fila-servicio {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.7fr 1.8fr;
    gap: 30px;
    align-items: start;
}

.titulo-servicio {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 1.8rem;
    color: #2f1d44;
    font-weight: 500;
    line-height: 1.2;
    margin: 20px 0 0 0;
}

.subtitulo-servicio {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: #2f1d44;
    margin: 10px 0 0 0;
    line-height: 1.25;
}

.col-imagen {
    text-align: left;
}

.col-imagen img {
    max-width: 300px; 
    height: auto;
    display: block;
    margin: 0 0 0 -50px;
}

.col-descripcion p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem; 
    color: #2f1d44;
    line-height: 1.4;
    margin: 20px 35px 0 -50px;
}

.lista-servicios {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-servicios li {
    font-family: "Ancizar Serif", serif;
    font-size: 1.1rem; 
    font-weight: 600;
    color: #2f1d44;
    padding: 20px 0;
    border-bottom: 1px solid #caa9ff;
    line-height: 1.3;
}

.lista-servicios li:last-child {
    border-bottom: none;
}

/* --- SECCIÓN 7: CAPACIDADES ESPECIALIZADAS HOME --- */
.seccion-capacidades {
    background-color: #ede1ff;
    padding: 240px 5% 120px 5%;
}

.contenedor-capacidades {
    max-width: 1200px; 
    margin: 0 auto;
}

.cabecera-capacidades {
    margin-bottom: 80px;
    max-width: 700px;
}

.titulo-capacidades {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 2.8rem;
    color: #2f1d44;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.texto-capacidades {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem; 
    color: #2f1d44;
    line-height: 1.5;
    margin: 0;
}

.grid-capacidades {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 50px;
    row-gap: 60px;
    margin-bottom: 100px;
}

.item-capacidad {
    border-bottom: 1px solid #caa9ff; 
    padding-bottom: 20px;
    cursor: pointer;
}

.cabecera-cap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.titulo-cap {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 1.4rem;
    color: #2f1d44;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    padding-right: 20px;
}

.icono-cap {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.5rem;
    color: #8967B4;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease;
}

.contenido-cap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s ease-in-out;
}

.contenido-cap p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem; 
    color: #2f1d44;
    line-height: 1.5;
    margin: 0; 
    padding-right: 20px;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.35s ease-in-out, padding-top 0.45s ease-in-out;
}

.item-capacidad.activo .contenido-cap {
    grid-template-rows: 1fr;
}

.item-capacidad.activo .contenido-cap p {
    padding-top: 15px; 
    opacity: 1;
    transition: opacity 0.4s ease-in-out 0.1s, padding-top 0.45s ease-in-out;
}

.btn-capacidades {
    background-color: #cbbdf6; 
    color: #2f1d44;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    font-family: 'Nunito Sans', sans-serif;
}

.btn-capacidades:hover {
    background-color: #b59ff0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 16, 145, 0.3);
}


/* =========================================
   ESTILOS EXCLUSIVOS PAGINA 2: METODOLOGÍA
   ========================================= */

.seccion-hero-metodologia {
    position: relative; 
    z-index: 1; 
}

.seccion-hero-metodologia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: #ede1ff;
    z-index: -1;
}

.seccion-hero-metodologia .contenedor-hero {
    width: 58%;
    position: relative;
    z-index: 2;
    margin-top: 80px;
}

.titulo-hero-met {
    font-family: "Ancizar Serif", serif;
    font-optical-sizing: auto;
    font-size: 3.8rem; 
    font-weight: 500;
    color: #2f1d44;
    line-height: 1.15;
    margin: 0 0 25px 0;
}

.subtitulo-hero-met {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.47rem; 
    font-weight: 400; 
    color: #2f1d44;
    line-height: 1.25;
    margin: 0 0 20px 0;
}

.parrafo-hero-met {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem; 
    font-weight: 400; 
    color: #2f1d44; 
    line-height: 1.4;
    margin: 0 0 20px 0;
}

.hero-imagen-met {
    width: 75%; 
    right: -30%; 
    top: -250px; 
}

.contenedor-linea-metodologia {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 100px; 
}

/* DIAGRAMA TIMELINE PÁGINA 2 */
.fondo-ancho-completo-ede1ff {
    content: '';
    position: absolute;
    top: 0; 
    left: 50%;
    transform: translateX(-50%);
    width: 100vw; 
    height: 100%;
    background-color: #ede1ff;
    z-index: -1;
}

.contenedor-timeline {
    display: grid;
    grid-template-columns: 1fr 360px 1fr;
    grid-template-rows: 220px 220px 220px minmax(280px, auto); 
    max-width: 1200px;
    margin: 80px auto 0 auto; 
    position: relative;
    align-items: flex-start; 
}

.fondo-punteado {
    position: absolute;
    top: -40px; 
    height: 1020px; 
    left: 50%;
    transform: translateX(-50%);
    width: 350px; 
    border-radius: 200px;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='2' width='calc(100%25 - 4px)' height='calc(100%25 - 4px)' fill='none' rx='175' ry='175' stroke='%23caa9ff' stroke-width='2' stroke-dasharray='5%2C 5' /%3E%3C/svg%3E");
}

.timeline-titulo-contenedor {
    align-self: start;
    margin-top: -80px; 
}

.timeline-circulo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    padding: 0;
    z-index: 2;
}

.timeline-circulo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1.5px solid #caa9ff;
    background-color: transparent; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    cursor: default;
    transition: background-color 0.3s ease;
}

.timeline-circulo-wrapper:hover .timeline-circulo,
.timeline-circulo-wrapper.scroll-active .timeline-circulo {
    background-color: #caa9ff;
}

.item-fila-1 { grid-row: 1; margin: 0; z-index: 5; }
.item-fila-2 { grid-row: 2; margin: 0; z-index: 6; }
.item-fila-3 { grid-row: 3; margin: 0; z-index: 7; }
.item-fila-4 { grid-row: 4; margin: 0; z-index: 8; }

.timeline-contenido {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-self: flex-start; 
    padding-top: 130px; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); 
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.timeline-contenido.visible-hover,
.timeline-contenido.visible-scroll {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.timeline-contenido.izq { padding-right: 40px; }
.timeline-contenido.der { padding-left: 40px; }

.encabezado-conector { display: flex; align-items: center; margin-bottom: 12px; }
.encabezado-conector.der { margin-left: -80px; width: calc(100% + 80px); }
.encabezado-conector.izq { margin-right: -80px; width: calc(100% + 80px); }
.linea-dinamica { flex-grow: 1; height: 1.5px; background-color: #caa9ff; }
.linea-fija { width: 55px; height: 1.5px; background-color: #caa9ff; flex-shrink: 0; }
.punto-dinamico { width: 10px; height: 10px; border-radius: 50%; background-color: #caa9ff; flex-shrink: 0; }

.encabezado-conector.izq .pregunta-timeline { margin-right: 15px; }
.encabezado-conector.der .pregunta-timeline { margin-left: 15px; }

.num-circulo { font-family: "Ancizar Serif", serif; font-size: 1.5rem; font-weight: 700; color: #2f1d44; margin-bottom: 5px; }
.tit-circulo { font-family: "Ancizar Serif", serif; font-size: 1.3rem; font-weight: 600; color: #2f1d44; line-height: 1.2; }
.pregunta-timeline { font-family: "Ancizar Serif", serif; font-style: italic; font-weight: 600; font-size: 1.3rem; color: #2f1d44; margin: 0; line-height: 1; }
.texto-timeline { font-family: 'Nunito Sans', sans-serif; font-size: 1rem; color: #2f1d44; line-height: 1.25; margin: 0 0 8px 0; }
.texto-timeline strong { font-weight: 700; }

.mb-1 { margin-bottom: 4px; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }

.lista-timeline { list-style: none; padding: 0; margin: 0 0 15px 0; }
.lista-timeline li { font-family: 'Nunito Sans', sans-serif; font-size: 1rem; color: #2f1d44; line-height: 1.25; padding-left: 15px; position: relative; margin-bottom: 2px; }
.lista-timeline li::before { content: '•'; position: absolute; left: 0; color: #2f1d44; font-weight: bold; }

/* DIVISORES SIMÉTRICOS P2 */
.divisor-secciones-ede1ff { position: relative; z-index: 2; background-color: #ede1ff; padding: 100px 5%; }
.divisor-secciones-ede1ff::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100vw; height: 100%; background-color: #ede1ff; z-index: -1; }
.divisor-secciones-ede1ff .linea-interior { max-width: 1200px; margin: 0 auto; width: 100%; height: 1px; background-color: #caa9ff; }
.divisor-sec4-5 { padding: 300px 5%; }

/* JOURNEY P2 */
.seccion-journey-page2 { position: relative; z-index: 3; padding: 0 5% 0 5%; }
.seccion-journey-page2::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100vw; height: 100%; background-color: #ede1ff; z-index: -1; }
.contenedor-journey-layout { display: grid; grid-template-columns: 350px 1fr; grid-template-areas: "titulo ." "texto derecha"; gap: 0 80px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.journey-title-area { grid-area: titulo; margin-bottom: 80px; }
.titulo-resultados-journey { font-family: "Ancizar Serif", serif; font-size: 2.25rem; color: #2f1d44; line-height: 1.1; margin: 0; font-weight: 500; }
.journey-text-area { grid-area: texto; }
.texto-journey-intro { font-family: 'Nunito Sans', sans-serif; font-size: 1.1rem; color: #2f1d44; line-height: 1.4; margin: 0; }
.wrapper-derecho-journey { grid-area: derecha; position: relative; }
.grid-journey-page2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 40px; position: relative; z-index: 2; }
.flechas-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.paso-journey-page2 { position: relative; z-index: 2; text-align: left; }
.num-journey { font-family: "Ancizar Serif", serif; font-size: 1.5rem; font-weight: 700; color: #2f1d44; display: block; margin-bottom: 5px; }
.tit-journey { font-family: "Ancizar Serif", serif; font-size: 1.4rem; font-weight: 500; color: #2f1d44; margin: 0 0 15px 0; line-height: 1.2; }
.txt-journey { font-family: 'Nunito Sans', sans-serif; font-size: 1.1rem; color: #2f1d44; line-height: 1.4; margin: 0; }

/* IMPACTOS P2 */
.seccion-impactos-page2 { position: relative; background-color: #ede1ff; padding: 0 5% 0 5%; overflow: visible; z-index: 10; }
.seccion-impactos-page2::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100vw; height: 100%; background-color: #ede1ff; z-index: -1; }
.contenedor-impactos-page2 { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.cabecera-impactos-page2 { margin-bottom: 80px; }
.grid-impactos-page2 { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 50px; row-gap: 60px; }
.item-impacto-page2 { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.con-linea-inferior { position: relative; padding-bottom: 40px; }
.con-linea-inferior::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background-color: #caa9ff; }
.icono-forma { height: 95px; width: auto; margin-bottom: 30px; object-fit: contain; }
.titulo-impacto-page2 { font-family: 'Nunito Sans', sans-serif; font-size: 1.5rem; font-weight: 400; color: #2f1d44; margin: 0 0 20px 0; line-height: 1.3; }
.titulo-impacto-page2 strong { font-family: "Ancizar Serif", serif; font-weight: 800; font-size: 1.5rem; color: #2f1d44; }
.texto-impacto-page2 { font-family: 'Nunito Sans', sans-serif; font-size: 1.1rem; font-weight: 400; color: #2f1d44; line-height: 1.5; margin: 0; }
.imagen-fondo-impacto { position: absolute; right: -45%; bottom: -700px; width: 720px; z-index: 15; pointer-events: none; }

/* EQUIPO P2 */
.seccion-equipo-page2 { position: relative; padding: 0 5%; background-color: #ffffff; z-index: 2; }
.fondo-morado-top { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100vw; height: 520px; background-color: #ede1ff; z-index: 1; }
.contenedor-equipo-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.columna-equipo-textos { padding-top: 0px; }
.titulo-equipo-p2 { font-family: "Ancizar Serif", serif; font-optical-sizing: auto; font-size: 2.25rem; color: #2f1d44; font-weight: 500; line-height: 1.1; margin: 0 0 20px 0; }
.subtitulo-equipo-p2 { font-family: "Ancizar Serif", serif; font-optical-sizing: auto; font-size: 1.4rem; color: #2f1d44; font-weight: 700; line-height: 1.3; margin: 0 0 25px 0; }
.parrafo-equipo-p2 { font-family: 'Nunito Sans', sans-serif; font-size: 1.1rem; color: #2f1d44; line-height: 1.5; margin: 0; }
.columna-socio { display: flex; flex-direction: column; }
.foto-socio-wrapper { height: 520px; display: flex; align-items: flex-end; justify-content: center; }
.foto-socio-p2 { width: 100%; max-width: 400px; height: 400px; display: block; object-fit: cover; object-position: bottom; }
.bio-socio-p2 { padding-top: 30px; padding-bottom: 100px; }
.cargo-socio-p2 { font-family: 'Nunito Sans', sans-serif; font-size: 1.47rem; color: #2f1d44; margin: 0 0 5px 0; }
.nombre-socio-p2 { font-family: "Ancizar Serif", serif; font-optical-sizing: auto; font-size: 2.25rem; color: #2f1d44; font-weight: 500; margin: 0 0 15px 0; line-height: 1.1; }
.texto-bio-p2 { font-family: 'Nunito Sans', sans-serif; font-size: 1.1rem; color: #2f1d44; line-height: 1.5; margin: 0; }

/* =========================================
   ESTILOS EXCLUSIVOS PÁGINA 3 Y PÁGINA 4
   ========================================= */

.hero-imagen-consultoria {
    position: absolute;
    right: -40%;
    top: -120px; 
    width: 85%;
    z-index: 10; 
    pointer-events: none;
}

.seccion-proposito-p3 {
    background-color: #ffffff;
    padding: 60px 5% 120px 5%; 
    position: relative;
    z-index: 2;
}

.seccion-fondo-gris-p3 {
    background-color: #ede1ff;
    padding: 120px 5%;
}

.seccion-fondo-blanco-p3 {
    background-color: #ffffff;
    padding: 120px 5%;
}

.contenedor-estandar-p3 {
    max-width: 1200px;
    margin: 0 auto;
}

.col-izquierda-proposito {
    padding-right: 20px;
    padding-top: 40px; 
}

.subtitulo-seccion-p3-normal {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.43rem; 
    font-weight: 400;
    color: #2f1d44;
    text-transform: none; 
    margin: 0 0 15px 0;
}

.subtitulo-seccion-p3 {
    font-family: 'Nunito Sans', sans-serif;
    color: #8967B4;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 15px 0;
}

.titulo-seccion-p3 {
    font-family: "Ancizar Serif", serif;
    font-size: 2.38rem; 
    color: #2f1d44;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 30px 0; 
}

.col-izquierda-proposito .titulo-seccion-p3 {
    margin-bottom: 90px;
}

.texto-intro-proposito {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: #2f1d44;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 0 20px 0;
}

.texto-intro-p3 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: #2f1d44;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 0 60px 0;
}

.layout-proposito-p3 {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
}

.col-derecha-proposito {
    margin-top: 164px; 
}

.grid-2-col-tarjetas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 50px; 
}

.item-tarjeta-proposito {
    border-top: 1px solid #caa9ff;
    padding-top: 60px; 
    padding-bottom: 30px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.item-tarjeta-proposito:nth-child(3),
.item-tarjeta-proposito:nth-child(4) {
    border-bottom: 1px solid #caa9ff;
}

.icono-proposito {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.tit-tarjeta-prop {
    font-family: "Ancizar Serif", serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #2f1d44;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.item-tarjeta-proposito p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: #2f1d44;
    line-height: 1.4;
    margin: 0;
}

.grid-2-col-p3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
}

.grid-3-col-p3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 50px;
}

.item-bloque-p3 h3 {
    font-family: "Ancizar Serif", serif;
    font-size: 1.5rem;
    color: #2f1d44;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.item-bloque-p3 p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: #2f1d44;
    line-height: 1.5;
    margin: 0;
}

/* --- NUEVA SECCIÓN 3: CAPACIDADES RADIAL --- */
.seccion-capacidades-radial-p3 {
    position: relative;
    padding: 240px 5% 100px 5%;
    background-color: #E0CCFF;
    z-index: 1;
    overflow: hidden; 
}

.contenedor-radial-p3 {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    height: 700px; 
}

.contenedor-radial-p3::before {
    content: '';
    position: absolute;
    top: -2000px; 
    bottom: 50%;  
    left: -50vw;
    width: 200vw;
    background-color: #EDE1FF; 
    z-index: -1;
}

.cabecera-capacidades-p3 {
    display: grid;
    grid-template-columns: 380px 480px; 
    gap: 80px;
    margin-bottom: 100px;
    justify-content: start;
}

.imagen-central-radial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    z-index: 2;
}

.lineas-radial-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.item-radial {
    position: absolute;
    width: 280px;
    z-index: 3;
}

.tit-radial {
    font-family: "Ancizar Serif", serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2f1d44;
    line-height: 1.2;
    margin: 0 0 10px 0;
}

.txt-radial {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    color: #2f1d44;
    line-height: 1.4;
    margin: 0;
}

.pos-top-left { top: 60px; left: 0; text-align: left; }
.pos-bottom-left { top: 380px; left: 0; text-align: left; }
.pos-top-right { top: 60px; right: 0; text-align: left; }
.pos-bottom-right { top: 380px; right: 0; text-align: left; }
.pos-bottom-center { top: 610px; left: 380px; width: 350px; text-align: left; }

.contenedor-btn-radial {
    display: flex;
    justify-content: center;
    margin-top: 200px;
}

.btn-dark-p3 {
    background-color: #4a2e7d;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Nunito Sans', sans-serif;
}

.btn-dark-p3:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 16, 145, 0.3);
}

/* ==========================================================
   --- SECCIÓN 4: SOLUCIONES (DISEÑO GRID Y ACORDEÓN SUAVE) ---
   ========================================================== */
.seccion-soluciones-p3 {
    background-color: #E0CCFF; 
    padding: 120px 5% 150px 5%; 
    position: relative;
    z-index: 2;
}

.titulo-soluciones-full {
    margin-bottom: 80px; 
    width: 100%;
}

.layout-soluciones-p3 {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
}

.col-izq-soluciones {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    padding-right: 20px;
}

.col-izq-soluciones .texto-intro-proposito {
    max-width: 300px; 
    margin: 0;
}

.btn-soluciones {
    align-self: flex-start;
    margin-top: 40px; 
}

.lista-soluciones-p3 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.col-der-soluciones {
    margin-top: 0; 
}

.item-solucion-p3 {
    display: grid;
    grid-template-columns: 280px 1fr 30px; 
    gap: 0 40px; 
    align-items: start;
    padding: 40px 0;
    border-top: 1px solid rgba(137, 103, 180, 0.4); 
    cursor: pointer;
}

.item-solucion-p3:first-child {
    border-top: none;
    padding-top: 0; 
}

.item-solucion-p3:last-child {
    border-bottom: none;
}

.tit-sol-p3 {
    grid-column: 1; 
    margin: 0;
    font-family: "Ancizar Serif", serif;
    font-size: 1.45rem;
    color: #2f1d44;
    font-weight: 500;
    line-height: 1.35;
}

.icono-sol-p3 {
    grid-column: 3; 
    color: #8967B4;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 300;
    text-align: right;
    transition: transform 0.4s ease;
}

.contenido-sol-p3 {
    grid-column: 2; 
    display: grid;
    grid-template-rows: 0fr; 
    transition: grid-template-rows 0.45s ease-in-out;
}

.contenido-sol-p3-inner {
    min-height: 0; 
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.35s ease-in-out;
}

.contenido-sol-p3 p {
    margin: 0;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.05rem;
    color: #2f1d44;
    line-height: 1.5;
}

.item-solucion-p3.activo .contenido-sol-p3 {
    grid-template-rows: 1fr; 
}

.item-solucion-p3.activo .contenido-sol-p3-inner {
    opacity: 1;
    transition: opacity 0.4s ease-in-out 0.1s;
}

@media (max-width: 1024px) {
    .layout-soluciones-p3 { grid-template-columns: 1fr; }
    .item-solucion-p3 { grid-template-columns: 1fr 30px; gap: 20px; }
    .tit-sol-p3 { grid-column: 1; }
    .icono-sol-p3 { grid-column: 2; }
    .contenido-sol-p3 { grid-column: 1 / -1; margin-top: 15px;}
}


/* --- SECCIÓN 5: QUÉ LOGRAN --- */
.seccion-logros-final-p3 {
    position: relative;
    background-color: #ffffff;
    padding: 150px 5% 150px 5%;
    z-index: 5; 
}

.layout-logros-final {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 80px;
    max-width: 850px; 
    position: relative;
    z-index: 2;
}

.logros-titulo {
    grid-column: 1;
}

.logros-intro {
    grid-column: 2;
    display: flex;
    align-items: flex-end; 
}

.logros-intro p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.05rem;
    color: #2f1d44;
    line-height: 1.5;
    margin: 0;
}

.logros-item {
    display: flex;
    flex-direction: column;
}

.logros-item.con-linea {
    padding-bottom: 50px;
    position: relative;
}

.logros-item.con-linea::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #caa9ff; 
}

.logros-item h3 {
    font-family: "Ancizar Serif", serif;
    font-size: 1.5rem;
    color: #2f1d44;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.logros-item p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.05rem;
    color: #2f1d44;
    line-height: 1.5;
    margin: 0;
}

.logros-boton {
    grid-column: 1;
    margin-top: 20px;
}

/* ANIMACIÓN DE ROTACIÓN 360 PARA LA ESFERA DEL FINAL */
.img-esfera-flotante {
    position: absolute;
    right: -50%;
    top: -350px; 
    width: 900px;
    z-index: 10;
    pointer-events: none;
    animation: giro-infinito 160s linear infinite;
    transform-origin: center center;
}

/* =========================================
   ESTILOS EXCLUSIVOS PÁGINA 4: OPERACIÓN
   ========================================= */

.hero-imagen-operacion {
    position: absolute;
    right: -35%;
    top: -70px;
    width: 80%;
    z-index: 10; 
    pointer-events: none;
}

.seccion-proposito-p4 {
    background-color: #EDE1FF; 
    padding: 120px 5%;
    position: relative;
    z-index: 2;
}

.layout-proposito-p4 {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
}

.col-izquierda-proposito-p4 {
    display: flex;
    flex-direction: column;
}

.texto-intro-proposito-p4 {
    margin-top: 80px; 
}

.texto-intro-proposito-p4 p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
    color: #2f1d44;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.texto-intro-proposito-p4 p:last-child {
    margin-bottom: 0;
}

.btn-proposito-p4 {
    align-self: flex-start;
    margin-top: 60px;
}

.col-derecha-proposito-p4 {
    margin-top: 252px; 
}

.comparacion-operacion {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-top: 0;
}

.col-comp {
    width: 40%;
}

.col-svg {
    width: 20%;
    position: relative;
    height: 340px; 
    margin-top: 90px; 
}

.svg-conexiones {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.titulo-comp {
    font-family: "Ancizar Serif", serif;
    font-size: 1.65rem; 
    margin: 0 0 30px 0;
    font-weight: 500;
    padding: 0;
    line-height: 30px;
    height: 60px; 
    display: flex;
    align-items: flex-start;
}

.col-comp.tradicional .titulo-comp.tr { color: #BEAFDB; }
.col-comp.tradicional .texto-comp { color: #BEAFDB; }
.col-comp.tradicional .item-comp { border-bottom: 1px solid rgba(190, 175, 219, 0.4); }
.col-comp.tradicional .punto-comp { background-color: #BEAFDB; box-shadow: none; margin-left: 20px; }

.col-comp.asesora .titulo-comp.as { color: #2f1d44; }
.col-comp.asesora .texto-comp { color: #2f1d44; font-weight: 400; }
.col-comp.asesora .item-comp { border-bottom: 1px solid #caa9ff; }
.col-comp.asesora .punto-comp { background-color: #2f1d44; margin-right: 20px; box-shadow: 0 0 0 4px #ede1ff; }

.lista-comp {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.col-comp.tradicional .lista-comp {
    margin-top: 115px; 
}

.item-comp {
    height: 85px; 
    display: flex;
    align-items: center;
}

.col-comp.tradicional .item-comp { justify-content: space-between; }
.col-comp.asesora .item-comp { justify-content: flex-start; }

.texto-comp {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0;
}

.punto-comp {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.subtitulo-modelo-p4 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.43rem;
    font-weight: 400;
    color: #2f1d44;
    margin-bottom: 5px;
}

.tit-radial-p4 { font-size: 1.43rem !important; }
.num-radial-p4 { font-size: 1.1rem; color: #2f1d44; font-weight: 800; margin-right: 5px; }


/* ========================================================
   EFECTO REVEAL (FADE-UP AL HACER SCROLL)
   ======================================================== */
.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* DEFINICIONES GLOBALES DE ANIMACIONES PARA TODAS LAS IMÁGENES */
@keyframes flotar-y-mecer-hero {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25%      { transform: translateY(-20px) translateX(10px) rotate(-1deg); } 
    50%      { transform: translateY(0px) translateX(0px) rotate(0deg); }   
    75%      { transform: translateY(15px) translateX(-10px) rotate(1deg); } 
}

@keyframes flotar-circular {
    0%   { transform: rotate(0deg) translateX(12px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(12px) rotate(-360deg); }
}

@keyframes giro-infinito {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}










/* =========================================================================
   FOOTER GLOBAL (VERSIÓN WEB)
   ========================================================================= */
.footer-principal {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 10;
}

/* --- Parte Superior: Newsletter --- */
.footer-newsletter {
    background-color: #ffffff;
    padding: 160px 5% 240px 5%;
}

.contenedor-newsletter {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-texto {
    flex: 1;
    max-width: 500px;
}

.newsletter-texto h2 {
    font-family: "Ancizar Serif", serif;
    font-size: 2.2rem;
    color: #2f1d44;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.1;
}

.newsletter-texto p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    color: #2f1d44;
    margin: 0;
    line-height: 1.5;
}

.newsletter-form {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.newsletter-form input {
    width: 380px;
    padding: 14px 25px;
    border-radius: 50px;
    border: none;
    background-color: #efe5ff; /* Lila súper claro */
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9rem;
    color: #2f1d44;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #8967b4;
}

.newsletter-form button {
    padding: 14px 45px;
    border-radius: 50px;
    border: none;
    background-color: #3b2559;
    color: #ffffff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 37, 89, 0.4);
}

/* --- Parte Inferior: Contacto --- */
.footer-contacto {
    background-color: #ede1ff;
    padding: 150px 5% 40px 5%;
    position: relative;
}

.img-cubo-footer {
    position: absolute;
    top: -180px; /* Hace que el cubo sobresalga hacia la zona blanca */
    right: -2%;
    width: 480px;
    z-index: 1;
    pointer-events: none;
}

.contenedor-footer-columnas {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.footer-col-izq h2 {
    font-family: "Ancizar Serif", serif;
    font-size: 2rem;
    color: #2f1d44;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.footer-col-izq p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    color: #2f1d44;
    margin: 0 0 60px 0;
    line-height: 1.5;
}

.titulo-form {
    font-family: "Ancizar Serif", serif;
    font-size: 1.3rem;
    color: #2f1d44;
    font-weight: 600;
    margin: 0 0 35px 0;
}

.formulario-contacto {
    max-width: 550px;
}

.form-fila {
    margin-bottom: 25px;
}

.form-fila.dos-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.formulario-contacto input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #997fbd; /* Línea inferior sutil */
    padding: 8px 0;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.85rem;
    color: #2f1d44;
    outline: none;
    transition: border-color 0.3s;
}

.formulario-contacto input::placeholder {
    color: #634b82;
}

.formulario-contacto input:focus {
    border-bottom-color: #2f1d44;
}

.btn-enviar {
    margin-top: 15px;
    background-color: #2f1d44;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px 45px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 29, 68, 0.4);
}

.footer-col-der {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding-top: 140px; /* Lo empuja hacia abajo alineado con el botón enviar */
}

.enlaces-legales {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.enlaces-legales li {
    margin-bottom: 10px;
}

.enlaces-legales a {
    text-decoration: none;
    color: #8c73ab;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.enlaces-legales a:hover {
    color: #2f1d44;
}

.info-contacto h4 {
    font-family: "Ancizar Serif", serif;
    font-size: 1.1rem;
    color: #2f1d44;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.info-contacto a {
    text-decoration: none;
    color: #2f1d44;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
}

/* --- Footer Bottom (Copyright y Redes) --- */
.footer-bottom {
    max-width: 1200px;
    margin: 80px auto 0 auto;
    padding-top: 25px;
    border-top: 1px solid #bba3d9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.redes-sociales a {
    color: #8c73ab;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1.5px solid #8c73ab;
    border-radius: 4px;
    transition: color 0.3s, border-color 0.3s;
}

.redes-sociales a:hover {
    color: #2f1d44;
    border-color: #2f1d44;
}

.copyright p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.85rem;
    color: #2f1d44;
    margin: 0;
}



.titulo-movil {
    display: none;
}



/* =========================================================================
   PÁGINAS: PERSPECTIVAS Y LECTURA DE ARTÍCULO (BLOG)
   ========================================================================= */

/* --- HERO BLOG --- */
.seccion-hero-blog {
    /* CORRECCIÓN: Ajustamos el padding superior (160px) para que baje perfectamente debajo del menú fijo */
    padding: 160px 5% 20px 5% !important;
    background-color: #ede1ff !important; /* Lila base */
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
}

.contenedor-hero-blog {
    max-width: 1200px;
    margin: 0 auto;
}

.seccion-hero-blog .titulo-hero {
    text-align: left;
    margin-bottom: 20px;
    font-size: 3.5rem;
}

.filtros-blog {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-bottom: 30px;
}

.filtros-blog a {
    text-decoration: none;
    color: #4a4a4a;
    font-size: 1.15rem;
    font-family: 'Nunito Sans', sans-serif;
    transition: color 0.3s;
}

.filtros-blog a.activo, .filtros-blog a:hover {
    color: #2f1d44;
    font-weight: 700;
}

/* --- GRID BENTO --- */
.seccion-bento-blog {
    /* CORRECCIÓN: Le damos el mismo fondo lila para que sea una sola sección continua */
    background-color: #ede1ff !important; 
    padding: 20px 5% 100px 5% !important;
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
}

.contenedor-blog {
    max-width: 1200px;
    margin: 0 auto;
}

.grid-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px;
    gap: 20px; /* Margen blanco entre tarjetas como en la imagen */
}

.tarjeta-bento {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s;
}

.tarjeta-bento:hover {
    transform: translateY(-5px);
}

.tarjeta-bento.tarjeta-mixta {
    padding: 0 !important;
}

.tarjeta-bento:not([onclick]) {
    cursor: default;
}
.tarjeta-bento:not([onclick]):hover {
    transform: none;
}

.span-2 {
    grid-column: span 2;
}

/* Colores de las tarjetas */
.bg-lila-fuerte { background-color: #A482E2; }
.bg-rosa { background-color: #FFA3E8; }
.bg-morado-oscuro { background-color: #6C4A9E; }

/* Tipos de tarjeta */
.tarjeta-img-bg {
    justify-content: flex-end;
}

.tarjeta-img-bg img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay-gradiente {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
}

.bento-content-bottom {
    position: relative;
    z-index: 3;
    padding: 30px;
}

.tarjeta-mixta .bento-img-half {
    height: 55%;
    width: 100%;
    overflow: hidden;
}

.tarjeta-mixta .bento-img-half img {
    width: 100%; height: 100%; object-fit: cover;
}

.tarjeta-mixta .bento-text-half {
    height: 45%;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tarjeta-bento.bg-lila-fuerte {
    padding: 30px 25px;
    justify-content: center;
}

/* Etiquetas y Textos Bento */
.meta-tarjeta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tag {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.tag-naranja { background-color: #FFB77A; color: #2f1d44; }
.tag-naranja-claro { background-color: #FFD4A8; color: #2f1d44; }
.tag-rosa-fuerte { background-color: #FF77D9; color: #ffffff; }
.tag-morado { background-color: #A482E2; color: #ffffff; }
.tag-lila-claro { background-color: #E5D8FF; color: #2f1d44; }

.fecha-blanca { color: #ffffff; font-family: 'Nunito Sans', sans-serif; font-size: 0.85rem; font-weight: 600;}
.fecha-oscura { color: #2f1d44; font-family: 'Nunito Sans', sans-serif; font-size: 0.85rem; font-weight: 600;}

.tit-bento-oscuro {
    font-family: "Ancizar Serif", serif;
    font-size: 1.8rem;
    color: #2f1d44;
    line-height: 1.15;
    margin: 0;
}

.tit-bento-blanco {
    font-family: "Ancizar Serif", serif;
    font-size: 1.6rem;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

/* --- SECCIÓN OLDIES --- */
.seccion-oldies {
    padding: 40px 5% 120px 5%;
}

.titulo-oldies {
    font-family: "Ancizar Serif", serif;
    font-size: 2.5rem;
    color: #2f1d44;
    margin-bottom: 40px;
}

.lista-oldies {
    display: flex;
    flex-direction: column;
}

.item-oldie {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(137, 103, 180, 0.3);
}

.item-oldie:not([onclick]) {
    cursor: default;
}

.info-oldie {
    max-width: 65%;
}

.tit-oldie {
    font-family: "Ancizar Serif", serif;
    font-size: 1.5rem;
    color: #2f1d44;
    margin: 0 0 10px 0;
}

.meta-oldie {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.exc-oldie {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.5;
    margin: 0;
}

.img-oldie {
    width: 300px;
    height: 140px;
    overflow: hidden;
}

.img-oldie img {
    width: 100%; height: 100%; object-fit: cover;
}

/* --- LECTURA DE ARTÍCULO (PÁGINA 3 DEL PDF) --- */
.seccion-lectura-articulo {
    padding: 180px 5% 120px 5%;
    background-color: #ffffff;
}

.contenedor-articulo {
    max-width: 1100px;
    margin: 0 auto;
}

.titulo-lectura {
    font-family: "Ancizar Serif", serif;
    font-size: 3.5rem;
    color: #2f1d44;
    line-height: 1.1;
    margin-bottom: 40px;
}

.imagen-lectura {
    width: 100%;
    height: 500px;
    margin-bottom: 30px;
}

.imagen-lectura img {
    width: 100%; height: 100%; object-fit: cover;
}

.meta-lectura {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(137, 103, 180, 0.3);
}

.cuerpo-lectura {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.col-texto-lectura p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    color: #2f1d44;
    line-height: 1.6;
    margin-bottom: 20px;
}

.col-texto-lectura h2 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.4rem;
    color: #2f1d44;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
}







/* --- PAGINA 404 --- */

.pagina-error-404 {
    min-height: 70vh;
}

.seccion-error-404 {
    min-height: 75vh;
    align-items: center;
    padding-bottom: 80px;
}

.numero-error {
    font-family: "Ancizar Serif", serif;
    font-size: 8rem;
    line-height: 0.9;
    font-weight: 600;
    color: #8967B4;
    margin: 0 0 25px;
}

@media (max-width: 1024px) {
    .pagina-error-404 {
        min-height: auto;
    }

    .seccion-error-404 {
        min-height: 70vh;
        padding-top: 140px !important;
        padding-bottom: 70px !important;
    }

    .numero-error {
        font-size: 5rem;
    }
}