html {
    scroll-behavior: smooth; /* Esto hace que todos los enlaces con "#" se deslicen suavemente */
}

/* VARIABLES Y RESETEO BÁSICO */
:root {
    --color-fondo: #f9f9f9;
    --color-texto: #333333;
    --color-primario: #1a1a1a;
    --color-acento: #d4af37; /* Tono dorado elegante */
    --color-blanco: #ffffff;
    --fuente-principal: 'Helvetica Neue', Arial, sans-serif;
    --transicion-suave: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fuente-principal);
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
}

/* =========================================
   CABECERA Y LOGO (Tu código conservado)
========================================= */
.main-header {
    background-color: var(--color-blanco);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--color-primario);
    letter-spacing: -0.5px;
}

/* =========================================
   MENÚ HAMBURGUESA UNIFICADO (PC Y MÓVIL)
========================================= */

/* 1. Diseño del Botón Hamburguesa */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001; /* Siempre por encima del panel blanco */
}

.hamburger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-primario);
    border-radius: 3px;
    transition: var(--transicion-suave, 0.3s ease); /* Añadido fallback por si no tienes la variable */
}

/* Animación a la "X" al abrir */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 2. Panel Flotante Lateral */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Escondido fuera de la pantalla por defecto */
    width: 320px;
    max-width: 100vw;
    height: 100vh;
    background-color: var(--color-blanco);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding-top: 6rem; /* Espacio para no tapar la X */
    transition: right 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
}

.nav-menu.open {
    right: 0; /* Aparece deslizándose */
}

.nav-list {
    list-style: none;
    padding: 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-list > li > a, .dropdown-header a {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-primario);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-list > li > a:hover, .dropdown-header a:hover {
    color: var(--color-acento);
}

/* 3. Estilos del Submenú (Charlas) */
.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-toggle {
    cursor: pointer;
    font-size: 1rem;
    color: var(--color-primario);
    transition: transform 0.3s ease;
    padding: 0.5rem;
}

.dropdown-toggle.active {
    transform: rotate(180deg);
    color: var(--color-acento);
}

.dropdown-menu {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 1rem;
    display: none; /* Oculto inicialmente */
    flex-direction: column;
    gap: 1.2rem;
    border-left: 2px solid var(--color-acento);
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-menu li a {
    text-decoration: none;
    color: var(--color-texto, #333);
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.dropdown-menu li a:hover {
    color: var(--color-primario);
    font-weight: bold;
}

/* Botón Destacado en Menú */
.btn-menu-destacado {
    background-color: var(--color-primario);
    color: var(--color-blanco) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: bold;
}

.btn-menu-destacado:hover {
    background-color: #333;
}

/* BLOQUE 1: HERO */

/* =========================================
   AJUSTES GENERALES DE CONTENCIÓN
   ========================================= */
body {
    font-family: var(--fuente-principal);
    background-color: var(--color-fondo);
    color: var(--color-texto);
    line-height: 1.6;
    min-width: 320px; /* Ancho mínimo para evitar colapso en pantallas muy pequeñas */
    overflow-x: hidden; /* Previene scroll horizontal indeseado */
}

/* =========================================
   BLOQUE 1: HERO
   ========================================= */
.hero-section {
    color: var(--color-blanco);
    padding: 10rem 5% 6rem 5%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 85vh; /* Ocupa casi todo el alto visual */
    position: relative;
    background-color: var(--color-primario);
}

.hero-with-bg {
    background-image: 
        linear-gradient(rgba(26, 26, 26, 0.45) 0%, rgba(0, 0, 0, 0.65) 100%),
        url('img/pabloguzman_byn_header.png');
    
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero-container {
    width: 100%;
    max-width: 900px; /* Ancho máximo controlado para mantener una lectura cómoda */
    margin: 0 auto;
    z-index: 2;
}

.antetitulo {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-acento);
    display: block;
    margin-bottom: 1.2rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); 
}

.titular-hero {
    /* Tipografía fluida: se escala entre 2.2rem en móvil y 4rem en escritorio */
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7); 
}

.bajada-hero {
    font-size: 1.2rem;
    color: var(--color-blanco);
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); 
}

.hero-acciones {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Botones base */
.btn-primario, .btn-secundario {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transicion-suave);
    border: none;
    font-family: var(--fuente-principal);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primario {
    background-color: var(--color-acento);
    color: var(--color-primario);
}

.btn-primario:hover {
    background-color: #e6c243;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secundario {
    background-color: transparent;
    color: var(--color-blanco);
    border: 2px solid var(--color-blanco);
}

.btn-secundario:hover {
    background-color: var(--color-blanco);
    color: var(--color-primario);
    transform: translateY(-3px);
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE MÓVIL Y TABLET)
   ========================================= */

@media (max-width: 768px) {
    .hero-section {
        padding: 8rem 6% 4rem 6%; /* Reducimos padding top en móvil para acomodar el header fijo */
        min-height: auto; /* Permite adaptarse al alto natural del contenido en teléfonos */
    }

    .titular-hero {
        font-size: 2.1rem; /* Garantiza máximo 3 a 4 líneas en móviles estándar */
        margin-bottom: 1.2rem;
    }

    .bajada-hero {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero-acciones {
        flex-direction: column;
        width: 100%;
        gap: 0.9rem;
    }

    .btn-primario, .btn-secundario {
        width: 100%;
        max-width: 320px; /* Tamaño máximo para que el botón no se vea deformado en teléfonos grandes */
    }
}

@media (max-width: 480px) {
    .titular-hero {
        font-size: 1.85rem; /* Ajuste fino para móviles muy angostos (ej. iPhone SE / 360px width) */
    }
    
    .antetitulo {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }
}

/* BLOQUE 2: BIFURCACIÓN */
.bifurcacion-section {
    padding: 5rem 5%;
    background-color: var(--color-fondo);
    margin-top: -4rem; /* Sube la sección ligeramente sobre el Hero */
    position: relative;
    z-index: 10;
}

.bifurcacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tarjeta-bifurcacion {
    background-color: var(--color-blanco);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transicion-suave);
    border-top: 5px solid var(--color-primario);
}

/* Efecto de resalte disparado por JS */
.tarjeta-bifurcacion.resaltado-activo {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3); /* Resplandor dorado */
    border-color: var(--color-acento);
}

.tarjeta-bifurcacion h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primario);
}

.etiqueta {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--color-acento);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
}

.tarjeta-bifurcacion p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    min-height: 80px;
}

.btn-enlace-tarjeta {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--color-primario);
    color: var(--color-blanco);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: var(--transicion-suave);
}

.btn-enlace-tarjeta:hover {
    background-color: var(--color-acento);
    color: var(--color-primario);
}

/* MEDIA QUERIES PARA MÓVILES */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Aquí implementaríamos un menú hamburguesa más adelante */
    }
    
    .titular-hero {
        font-size: 2.5rem;
    }
    
    .hero-acciones {
        flex-direction: column;
    }
    
    .bifurcacion-grid {
        grid-template-columns: 1fr;
    }
    
    .bifurcacion-section {
        margin-top: 0;
        padding: 3rem 5%;
    }
}

/* =========================================
   BLOQUE 3: CREDIBILIDAD EN UNA LÍNEA
   ========================================= */
.credibilidad-section {
    background-color: var(--color-primario);
    color: var(--color-blanco);
    padding: 4rem 5%;
    text-align: center;
}

.credibilidad-container {
    max-width: 1000px;
    margin: 0 auto;
}

.datos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.dato-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dato-item .numero {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-acento); /* Dorado elegante */
    line-height: 1;
    margin-bottom: 0.5rem;
}

.dato-item .texto {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nota-al-pie {
    font-size: 0.85rem;
    color: #999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

/* =========================================
   BLOQUE 4: LAS 4 CHARLAS
   ========================================= */
.charlas-section {
    padding: 6rem 5%;
    background-color: var(--color-blanco);
}

.charlas-container {
    max-width: 1200px;
    margin: 0 auto;
}

.seccion-header {
    text-align: center;
    margin-bottom: 4rem;
}

.seccion-header h2 {
    font-size: 2.5rem;
    color: var(--color-primario);
    margin-bottom: 1rem;
}

.seccion-header p {
    font-size: 1.2rem;
    color: #555;
}

.charlas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.charla-card {
    background-color: var(--color-fondo);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transicion-suave);
    border: 1px solid #eaeaea;
}

.charla-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #d1d1d1;
}

.charla-card.destacada {
    border-top: 4px solid var(--color-acento);
}

.etiquetas-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.etiqueta-area {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.charla-card.destacada .etiqueta-area {
    margin-bottom: 0;
}

.sello-primicia {
    background-color: var(--color-acento);
    color: var(--color-primario);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 1px;
}

.charla-card h3 {
    font-size: 1.8rem;
    color: var(--color-primario);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.promesa-charla {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2rem;
}

.enlace-flecha {
    font-weight: bold;
    color: var(--color-primario);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transicion-suave);
    margin-top: auto; /* Empuja el enlace al fondo de la tarjeta */
}

.enlace-flecha:hover {
    color: var(--color-acento);
    gap: 5px; /* Crea un pequeño salto en la flecha */
}

.charlas-cierre {
    text-align: center;
    background-color: var(--color-fondo);
    padding: 3rem;
    border-radius: 8px;
}

.charlas-cierre p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

/* MEDIA QUERIES PARA MÓVILES */
@media (max-width: 768px) {
    .datos-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .charlas-grid {
        grid-template-columns: 1fr;
    }
    
    .seccion-header h2 {
        font-size: 2rem;
    }
}

/* =========================================
   BLOQUE 5: LA BIBLIOTECA
   ========================================= */
.biblioteca-section {
    padding: 6rem 5%;
    background-color: var(--color-fondo);
    text-align: center;
}

.biblioteca-container {
    max-width: 1000px;
    margin: 0 auto;
}

.bajada-destacada {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primario);
    margin-bottom: 1rem;
}

.texto-apoyo {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.libros-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto; /* Permite scroll horizontal en móviles si es necesario */
    padding-bottom: 1rem;
}

.libro-item {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* NUEVA CLASE PARA LAS PORTADAS REALES */
.portada-libro {
    width: 100%;
    max-width: 180px; /* Controla que las portadas no se vean gigantes en pantallas grandes */
    height: auto;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* Le da un efecto 3D elegante al libro */
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.portada-libro:hover {
    transform: translateY(-5px); /* Pequeño salto al pasar el mouse */
}

.libro-item p {
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.libro-item span {
    font-size: 0.8rem;
    color: #777;
    text-transform: uppercase;
}

.btn-centro {
    margin-top: 2rem;
    display: inline-block;
    text-decoration: none;
}

/* =========================================
   BLOQUE 6: CAPTURA DE CORREO
   ========================================= */
.captura-section {
    padding: 6rem 5%;
    background-color: var(--color-primario);
    color: var(--color-blanco);
}

.captura-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.captura-texto h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.captura-texto p {
    font-size: 1.1rem;
    color: #ccc;
}

/* AVISO DE FUNCIÓN EN CONSTRUCCIÓN */
.aviso-proximamente {
    background-color: #333333; 
    color: #ffffff; 
    border-left: 4px solid var(--color-acento); 
    padding: 15px 20px;
    margin: 0 auto 30px auto; 
    max-width: 600px; 
    text-align: center;
    font-size: 0.95rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.formulario-captura {
    background-color: var(--color-blanco);
    padding: 2.5rem;
    border-radius: 8px;
    color: var(--color-texto);
    opacity: 0.6; /* Atenúa visualmente el formulario */
    pointer-events: none; /* Bloquea clics e inputs temporalmente */
}

.form-grupo {
    margin-bottom: 1rem;
}

.form-grupo input, .form-grupo select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--fuente-principal);
    font-size: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-checkbox input {
    margin-top: 0.3rem;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

.ancho-completo {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.letra-chica {
    font-size: 0.75rem;
    text-align: center;
    color: #888;
}

.letra-chica a {
    color: var(--color-primario);
}

.mensaje-oculto {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

.mensaje-exito {
    display: block;
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.mensaje-error {
    display: block;
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* =========================================
   BLOQUE 7: PIE DE PÁGINA
   ========================================= */
.main-footer {
    background-color: #111;
    color: #fff;
    padding: 5rem 5% 2rem 5%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-cita {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.footer-cita h3 {
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    color: #ccc;
    line-height: 1.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid #333;
    padding-bottom: 3rem;
}

.footer-columna h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-acento);
}

.footer-columna ul {
    list-style: none;
}

.footer-columna ul li {
    margin-bottom: 0.8rem;
}

.footer-columna a, .footer-columna p {
    color: #999;
    text-decoration: none;
    transition: var(--transicion-suave);
}

.footer-columna a:hover {
    color: var(--color-blanco);
}

.nombre-footer {
    font-weight: bold;
    color: var(--color-blanco) !important;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.enlace-whatsapp {
    color: var(--color-acento) !important;
    font-weight: bold;
    display: inline-block;
    margin-top: 0.5rem;
}

.link-destacado {
    color: var(--color-blanco) !important;
    font-weight: bold;
}

.footer-legal {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
}

/* MEDIA QUERIES PARA MÓVILES */
@media (max-width: 768px) {
    .captura-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* =========================================
   ESTILOS ESPECÍFICOS PARA CHARLAS.HTML (B2B)
   ========================================= */

/* Hero simplificado para B2B */
.charlas-hero {
    min-height: 50vh;
    /* Aplicamos la imagen de fondo con un overlay oscuro para que el texto blanco se lea perfecto */
    background-image: 
        linear-gradient(rgba(26, 26, 26, 0.6) 0%, rgba(0, 0, 0, 0.85) 100%),
        url('img/banner_libros.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.catalogo-section {
    padding: 5rem 5%;
    background-color: var(--color-fondo);
}

.catalogo-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem; /* Espacio entre cada charla */
}

/* Tarjeta de cada charla (Formato Horizontal) */
.ficha-charla {
    background-color: var(--color-blanco);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    gap: 3rem;
    align-items: center;
    border-left: 5px solid var(--color-primario);
}

.ficha-charla.ficha-destacada {
    border-left: 5px solid var(--color-acento);
}

.ficha-info {
    flex: 3;
}

.ficha-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ficha-info h2 {
    font-size: 2.2rem;
    color: var(--color-primario);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ficha-dolor {
    background-color: #fff9e6; /* Fondo muy sutil para destacar el problema */
    padding: 1rem;
    border-radius: 4px;
    border-left: 3px solid #ffc107;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #333;
}

.ficha-descripcion {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.ficha-medio {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #777;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.portada-libro-mini {
    width: 100%;
    max-width: 150px;
    height: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 4px;
}

.btn-secundario-b2b {
    display: inline-block;
    color: var(--color-primario);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid var(--color-acento);
    padding-bottom: 2px;
    transition: var(--transicion-suave);
}

.btn-secundario-b2b:hover {
    color: var(--color-acento);
}

/* Sección de Contacto B2B */
.contacto-b2b-section {
    padding: 6rem 5%;
    background-color: var(--color-blanco);
    border-top: 1px solid #eee;
}

.contacto-b2b-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contacto-info h2 {
    font-size: 2.5rem;
    color: var(--color-primario);
    margin-bottom: 1rem;
}

.contacto-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.contacto-directo {
    background-color: var(--color-fondo);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Responsive para Charlas.html */
@media (max-width: 768px) {
    .ficha-charla {
        flex-direction: column-reverse; /* Pone la imagen arriba en celular */
        padding: 2rem;
    }
    
    .contacto-b2b-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PÁGINA: SOBRE PABLO - BIOGRAFÍA
   ========================================= */
/* =========================================
   PÁGINA: SOBRE PABLO - BANNER COLLAGE PERFECTO
   ========================================= */
.hero-sobre {
    margin-top: 70px; /* Desplaza la sección justo bajo el menú fijo. Ajusta este número si tu menú es más alto o bajo */
    padding: 0;
    width: 100%;
    background: transparent;
    display: block;
    height: auto; /* Fuerza a la sección a medir lo mismo que su contenido */
    overflow: hidden;
}

.hero-sobre-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.img-collage {
    width: 100%;
    height: auto; /* Mantiene la proporción de tu recorte sin estirarlo */
    display: block;
    margin: 0;
    padding: 0;
    /* Evita que en monitores gigantes se pixelee demasiado, 
       pero permite que se use de extremo a extremo de la pantalla */
    max-height: 400px; 
    object-fit: cover;
    object-position: center;
}

/* Ajuste para que en celulares no se vea una franja demasiado fina */
@media (max-width: 768px) {
    .hero-sobre {
        margin-top: 60px; /* Menor margen en móviles debido al tamaño del menú */
    }
    .img-collage {
        max-height: 200px;
    }
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .hero-sobre {
        padding-top: 4.5rem; /* Menos margen en celulares */
    }
    .img-collage {
        max-height: 250px; /* Reducimos la altura del banner en móviles para que no sature la pantalla */
    }
}

.bio-section {
    padding: 6rem 5%;
    background-color: var(--color-blanco);
}

.bio-container {
    max-width: 900px; /* Ancho ideal para lectura fluida */
    margin: 0 auto;
}

.antetitulo-oscuro {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-acento);
    font-weight: bold;
    display: block;
    margin-bottom: 1rem;
}

.bio-container h2 {
    font-size: 3rem;
    color: var(--color-primario);
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* CLASE NUEVA: Hace que la imagen flote y el texto la envuelva */
.img-portrait-inline {
    float: left; /* La imagen se va a la izquierda y el texto queda a la derecha */
    width: 100%;
    max-width: 280px; /* Tamaño mucho más pequeño y manejable */
    margin: 0.5rem 2.5rem 1.5rem 0; /* Margen para que el texto no toque la imagen */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

.bio-texto p {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

/* Hack técnico para asegurar que el contenedor crezca con la imagen flotante */
.bio-texto::after {
    content: "";
    display: table;
    clear: both;
}

/* MEDIA QUERIES PARA MÓVILES */
@media (max-width: 768px) {
    .img-portrait-inline {
        float: none; /* En celular desactivamos el envoltorio */
        display: block;
        margin: 0 auto 2rem auto; /* Centramos la imagen arriba del texto */
        max-width: 260px;
    }
    
    .bio-container h2 {
        font-size: 2.2rem;
    }
}

/* =========================================
   PÁGINA: SOBRE PABLO - SECCIONES INFERIORES
   ========================================= */

/* 1. Conexión Libros - Vida - Empresa */
.conexion-section {
    padding: 6rem 5%;
    background-color: var(--color-fondo); /* Fondo gris muy suave para separar lectura */
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.conexion-container {
    max-width: 800px; /* Ancho estrecho para que el texto sea fácil de leer */
    margin: 0 auto;
}

.conexion-texto h2 {
    font-size: 2.2rem;
    color: var(--color-primario);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.conexion-texto p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* 2. Enlaces y Redes */
.redes-section {
    padding: 5rem 5%;
    background-color: var(--color-blanco);
    text-align: center;
}

.redes-container {
    max-width: 900px;
    margin: 0 auto;
}

.redes-container h3 {
    font-size: 2rem;
    color: var(--color-primario);
    margin-bottom: 3rem;
}

.redes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas alineadas */
    gap: 3rem;
}

.redes-columna h4 {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enlace-plataforma {
    display: block;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--color-fondo);
    color: var(--color-primario);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: var(--transicion-suave);
}

.enlace-plataforma:hover {
    background-color: var(--color-primario);
    color: var(--color-acento); /* Letras doradas al pasar el mouse */
    transform: translateY(-2px); /* Pequeño salto elegante */
    border-color: var(--color-primario);
}

/* 3. Agenda CTA (Llamado a la acción oscuro) */
.agenda-section {
    padding: 6rem 5%;
    background-color: var(--color-primario); /* Fondo oscuro para dar urgencia/importancia */
    color: var(--color-blanco);
    text-align: center;
}

.agenda-container {
    max-width: 600px;
    margin: 0 auto;
}

.agenda-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-blanco);
}

.agenda-container p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Media Query para asegurar que todo se apile en celulares */
@media (max-width: 768px) {
    .redes-grid {
        grid-template-columns: 1fr; /* Pasa a 1 columna en móvil */
        gap: 2rem;
    }
    .conexion-texto h2 {
        font-size: 1.8rem;
    }
    .agenda-container h2 {
        font-size: 2rem;
    }
}

/* =========================================
   PÁGINA: LA BIBLIOTECA (libros.html)
   ========================================= */

/* Hero Background Opcional para Libros */
.hero-libros-bg {
    /* Aquí aplicamos el MISMO filtro oscuro del home, pero cargamos una foto distinta */
    background-image: 
        linear-gradient(rgba(26, 26, 26, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%),
        url('img/banner_libros.png'); /* <-- PON EL NOMBRE DE TU NUEVA FOTO AQUÍ */
    
    background-size: cover;
    background-position: center center; /* Centra la imagen */
    background-repeat: no-repeat;
    background-attachment: scroll; 
}

/* Vitrina de Libros */
.vitrina-section {
    padding: 6rem 5%;
    background-color: var(--color-blanco);
}

.vitrina-container {
    max-width: 1100px;
    margin: 0 auto;
}

.libro-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.libro-row:last-child {
    border-bottom: none;
    padding-bottom: 2rem;
}

/* Invierte las columnas en filas pares para diseño dinámico */
.libro-row.reverse {
    flex-direction: row-reverse;
}

.libro-portada-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.portada-vitrina {
    width: 100%;
    max-width: 240px; /* Tamaño destacado para la vitrina principal */
    height: auto;
    border-radius: 4px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
    transition: transform 0.3s ease;
}

.portada-vitrina:hover {
    transform: translateY(-5px) scale(1.02);
}

.libro-info-col {
    flex: 2;
}

.etiqueta-libro {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--color-acento);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.libro-info-col h2 {
    font-size: 2.6rem;
    color: var(--color-primario);
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.subtitulo-libro {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.resumen-libro {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Botones de Tiendas de Libros */
.tiendas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-tienda {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-primario);
    background-color: var(--color-fondo);
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: var(--transicion-suave);
    min-width: 120px;
    text-align: center;
}

.btn-tienda:hover {
    background-color: var(--color-primario);
    color: var(--color-blanco);
    border-color: var(--color-primario);
    transform: translateY(-2px);
}

/* Sección Perfiles Globales */
.puntos-venta-section {
    padding: 6rem 5%;
    background-color: var(--color-fondo);
    text-align: center;
    border-top: 1px solid #eaeaea;
}

.puntos-venta-container {
    max-width: 1000px;
    margin: 0 auto;
}

.puntos-venta-section h2 {
    font-size: 2.2rem;
    color: var(--color-primario);
    margin-bottom: 1rem;
}

.bajada-seccion {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.plataformas-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.perfil-card {
    background-color: var(--color-blanco);
    padding: 2rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--color-primario);
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transicion-suave);
}

.perfil-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-acento);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.perfil-card h4 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.perfil-card span {
    font-size: 0.85rem;
    color: var(--color-acento);
    font-weight: bold;
}

/* Sección Coming Soon - Misterio */
.coming-soon-section {
    padding: 6rem 5%;
    background-color: #151515; /* Fondo ultra oscuro independiente */
    color: var(--color-blanco);
    text-align: center;
}

.coming-soon-container {
    max-width: 900px;
    margin: 0 auto;
}

.sello-misterio {
    background-color: rgba(214, 175, 55, 0.15);
    color: var(--color-acento);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-acento);
}

.coming-soon-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.bajada-misterio {
    font-size: 1.15rem;
    color: #aaa;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.proximos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: left;
}

.proximo-item-card {
    background-color: #1e1e1e;
    padding: 3rem 2.5rem;
    border-radius: 6px;
    border: 1px solid #2a2a2a;
}

.silueta-libro {
    width: 70px;
    height: 105px;
    background-color: #262626;
    border: 1px dashed #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #555;
    font-weight: bold;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.proximo-item-card h3 {
    font-size: 1.4rem;
    color: var(--color-blanco);
    margin-bottom: 0.8rem;
}

.pistas-misterio {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.6;
}

/* MEDIA QUERIES RESPONSIVAS */
@media (max-width: 900px) {
    .plataformas-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .libro-row, .libro-row.reverse {
        flex-direction: column;
        gap: 2.5rem;
        padding: 4rem 0;
    }
    
    .libro-info-col h2 {
        font-size: 2rem;
    }
    
    .plataformas-logos-grid {
        grid-template-columns: 1fr;
    }
    
    .proximos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   PLANTILLA CHARLAS INDIVIDUALES (Ej: De Mascota a Mentor)
   ========================================================================== */

/* Hero Específico de Charla */
.text-center { text-align: center; }
.titular-hero-charla { font-size: 4.5rem; font-weight: 900; text-transform: uppercase; line-height: 1.1; color: #ffffff; }
.bajada-hero-charla { font-size: 1.5rem; margin-top: 1rem; text-transform: uppercase; color: #ffffff; }

/* Títulos de Sección */
.titulo-seccion-charla { font-size: 1.8rem; text-align: center; margin-bottom: 2rem; color: var(--color-primario, #1a1a1a); }
.titulo-margen-corto { margin-bottom: 1rem; }

/* Sistema de Grillas */
.grid-tarjetas-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 3rem; }

/* Tarjetas de Dolores */
.tarjeta-dolor { background: #fff; border: 1px solid #eaeaea; box-shadow: 0 4px 6px rgba(0,0,0,0.02); padding: 1.2rem; border-radius: 6px; border-left: 4px solid var(--color-acento, #d9534f); }

/* Tarjetas de Aprendizaje (Positivas) */
.tarjeta-aprendizaje { background: #f0fdf4; border: 1px solid #dcfce7; box-shadow: 0 4px 6px rgba(0,0,0,0.02); padding: 1.2rem; border-radius: 6px; border-left: 4px solid #22c55e; display: flex; align-items: center; }
.tarjeta-aprendizaje strong { color: #166534; font-size: 1.05rem; }

/* Texto de Metodología */
.texto-metodo-charla { text-align: center; max-width: 800px; margin: 0 auto 3rem auto; font-size: 1.1rem; line-height: 1.6; }

/* Tarjetas de Impacto */
.tarjeta-impacto { background: var(--color-fondo, #f9f9f9); padding: 1.5rem; border-radius: 6px; text-align: center; }
.impacto-gerencial { border-top: 3px solid var(--color-primario, #1a1a1a); }
.impacto-operacional { border-top: 3px solid var(--color-acento, #d9534f); }
.impacto-titulo { color: var(--color-primario, #1a1a1a); display: block; margin-bottom: 0.5rem; font-size: 1.1rem; font-weight: bold; }
.impacto-texto { font-size: 0.95rem; color: #555; margin: 0; }

/* Detalles Logísticos (Dorado/Premium) */
.tarjeta-logistica { background: #d4af37; color: #1a1a1a; padding: 2rem; border-radius: 8px; text-align: center; margin-bottom: 3rem; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.logistica-etiqueta { display: block; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: #4a3c0d; margin-bottom: 0.5rem; font-weight: bold; }
.logistica-titulo { font-size: 1.6rem; color: #1a1a1a; margin-bottom: 1rem; }
.logistica-texto { font-size: 1.2rem; margin: 0; line-height: 1.5; color: #1a1a1a; }

/* Banner del Libro */
.banner-libro { background: var(--color-fondo, #f9f9f9); padding: 1.5rem; border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 1.5rem; border: 1px solid #eaeaea; }
.portada-libro-mini { max-width: 90px; }
.banner-libro-texto { max-width: 500px; }
.cita-libro { font-style: italic; color: var(--color-primario, #1a1a1a); font-weight: bold; margin-bottom: 0.3rem; }
.credito-libro { font-size: 0.85rem; color: #777; }

/* ==========================================================================
   ESTILOS DEL FORMULARIO DE CAPTURA
   ========================================================================== */
.formulario-estilizado { pointer-events: auto; opacity: 1; background-color: #ffffff; padding: 2.5rem; border-radius: 8px; border: 1px solid #eaeaea; box-shadow: 0 5px 25px rgba(0,0,0,0.06); }
.form-grupo-espaciado { margin-bottom: 1.2rem; }
.form-grupo-espaciado:nth-last-of-type(1) { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.9rem; font-weight: bold; margin-bottom: 0.4rem; color: #1a1a1a; }
.form-input { width: 100%; padding: 0.8rem 1rem; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; font-size: 1rem; box-sizing: border-box; }
.form-select { background-color: #fff; }
.form-textarea { resize: vertical; }
.btn-formulario { width: 100%; padding: 1rem; background-color: #1a1a1a; color: #ffffff; border: none; border-radius: 4px; font-weight: bold; font-size: 1rem; cursor: pointer; transition: background-color 0.3s ease; }
.btn-formulario:hover { background-color: #333333; }
.contacto-directo-titulo { margin-bottom: 0.5rem; }

/* ==========================================================================
   RESPONSIVE DESIGN (Móviles y Tablets)
   ========================================================================== */
@media (max-width: 768px) {
    .titular-hero-charla { font-size: 3rem; }
    .bajada-hero-charla { font-size: 1.2rem; }
    .grid-tarjetas-2col { grid-template-columns: 1fr; gap: 1rem; }
    .banner-libro { flex-direction: column; text-align: center; }
    .formulario-estilizado { padding: 1.5rem; }
}
/* =========================================
   FRANJA VERDE: CRECIMIENTO COMPARTIDO
   ========================================= */
.franja-verde-section {
    background-color: #1b4332; /* Verde bosque profundo y elegante */
    color: var(--color-blanco);
    padding: 3.5rem 5%;
    text-align: center;
    border-top: 2px solid #2d6a4f;
    border-bottom: 2px solid #2d6a4f;
}

.franja-verde-container {
    max-width: 900px;
    margin: 0 auto;
}

.etiqueta-verde {
    font-size: 0.8rem;
    font-weight: 700;
    color: #52b788; /* Verde menta claro para resaltar */
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.8rem;
}

.franja-verde-contenido h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-blanco);
    font-weight: 800;
}

.franja-verde-contenido p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.franja-verde-contenido strong {
    color: #74c69d; /* Resalte suave para datos clave */
}

/* =========================================
   NUEVA BIFURCACIÓN: IDEAS Y PRINCIPIOS
   ========================================= */
.bifurcacion-contenido-section {
    padding: 5rem 5%;
    background-color: var(--color-fondo);
}

.bifurcacion-contenido-container {
    max-width: 1100px;
    margin: 0 auto;
}

.tarjeta-bifurcacion-sub {
    background-color: var(--color-blanco);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transicion-suave);
    border: 1px solid #e0e0e0;
}

.tarjeta-bifurcacion-sub:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--color-acento);
}

@media (max-width: 768px) {
    .franja-verde-contenido h2 {
        font-size: 1.6rem;
    }
    
    .franja-verde-contenido p {
        font-size: 1rem;
    }
}
/* =========================================
   PÁGINA: DECLARACIÓN DE PRINCIPIOS (NUEVOS BLOQUES)
   ========================================= */

.hero-interior {
    background-color: var(--color-primario);
    color: var(--color-blanco);
    padding: 10rem 5% 4rem 5%;
    text-align: center;
    border-bottom: 4px solid var(--color-acento);
}

.hero-interior-container {
    max-width: 800px;
    margin: 0 auto;
}

.titular-interior {
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.principios-section {
    padding: 5rem 5%;
    background-color: var(--color-fondo);
}

.principios-container {
    max-width: 900px;
    margin: 0 auto;
}

.intro-principios {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-texto);
    margin-bottom: 3.5rem;
    text-align: center;
}

.intro-principios p {
    margin-bottom: 1rem;
}

/* CONTENEDOR DE BLOQUES VERTICALES */
.contenedor-principios-bloques {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* ESTILO BASE DE CADA BLOQUE */
.bloque-principio {
    padding: 3rem 3.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bloque-principio:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.bloque-principio h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.bloque-principio p {
    font-size: 1.15rem;
    line-height: 1.7;
}

.principio-badge {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* COLOR 1: GRANDES IDEAS (Oscuro Carbón) */
.bloque-principio.principio-ideas {
    background-color: #1a1a1a;
    color: var(--color-blanco);
    border-left: 6px solid var(--color-acento);
}

.bloque-principio.principio-ideas h2 {
    color: var(--color-blanco);
}

.bloque-principio.principio-ideas p {
    color: #e0e0e0;
}

.bloque-principio.principio-ideas .principio-badge {
    background-color: var(--color-acento);
    color: var(--color-primario);
}

/* COLOR 2: PRECIO JUSTO (Bronce / Dorado Cálido) */
.bloque-principio.principio-precio {
    background-color: #2a2418;
    color: var(--color-blanco);
    border-left: 6px solid #e6c243;
}

.bloque-principio.principio-precio h2 {
    color: #f1d77a;
}

.bloque-principio.principio-precio p {
    color: #ebdcb9;
}

.bloque-principio.principio-precio .principio-badge {
    background-color: #e6c243;
    color: #2a2418;
}

/* COLOR 3: CRECIMIENTO COMPARTIDO (Verde Bosque) */
.bloque-principio.principio-crecimiento {
    background-color: #1b4332;
    color: var(--color-blanco);
    border-left: 6px solid #52b788;
}

.bloque-principio.principio-crecimiento h2 {
    color: #74c69d;
}

.bloque-principio.principio-crecimiento p {
    color: #d8f3dc;
}

.bloque-principio.principio-crecimiento strong {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: #52b788;
}

.bloque-principio.principio-crecimiento .principio-badge {
    background-color: #52b788;
    color: #1b4332;
}

/* CIERRE DE PÁGINA */
.cierre-principios {
    text-align: center;
    padding-top: 2rem;
}

.cita-cierre {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-primario);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* RESPONSIVE PARA MÓVILES */
@media (max-width: 768px) {
    .bloque-principio {
        padding: 2rem 1.8rem;
    }

    .bloque-principio h2 {
        font-size: 1.8rem;
    }

    .bloque-principio p {
        font-size: 1.05rem;
    }

    .cita-cierre {
        font-size: 1.25rem;
    }
}
/* =========================================
   PÁGINA: IDEAS Y PUBLICACIONES (ideas.html)
   ========================================= */

.ideas-section {
    padding: 5rem 5%;
    background-color: var(--color-fondo);
}

.ideas-container {
    max-width: 1100px;
    margin: 0 auto;
}

.intro-ideas {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-texto);
    margin-bottom: 3.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.grid-ideas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.idea-card {
    background-color: var(--color-blanco);
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transicion-suave);
    cursor: pointer;
}

.idea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-acento);
}

.idea-card h2 {
    font-size: 1.5rem;
    color: var(--color-primario);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.bajada-idea {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* BORDES SUPERIORES DE LAS TARJETAS */
.idea-card.tarjeta-prensa { 
    border-top: 4px solid #2b3a42; 
}
.idea-card.tarjeta-ensayo { 
    border-top: 4px solid #333333; 
}

/* ETIQUETA COMPARTIDA */
.idea-header-compartido {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.bg-prensa {
    background-color: #2b3a42;
    color: var(--color-blanco);
}

/* Nuevo color para categoría Ensayo en PDF (Gris Oscuro/Carbón) */
.bg-ensayo {
    background-color: #333333; 
    color: var(--color-blanco);
}

.badge-cat {
    font-weight: 800;
    color: var(--color-acento);
}

/* Variante de color de categoría específica para los ensayos */
.bg-ensayo .badge-cat {
    color: #e0e0e0;
}

.badge-sep {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.badge-fnt {
    font-weight: 400;
    color: var(--color-blanco);
}

/* VENTANA MODAL FLOTANTE (Se mantiene por si quieres agregar artículos directos después) */
.modal-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.activo {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--color-blanco);
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3.5rem 3rem;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.modal-overlay.activo .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem; 
    right: 1.5rem;
    font-size: 2.2rem;
    line-height: 1;
    background: none; 
    border: none;
    color: #888; 
    cursor: pointer;
    transition: var(--transicion-suave);
}

.modal-close:hover {
    color: var(--color-primario);
}

.modal-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 1.2rem;
}

.modal-etiqueta {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--color-acento);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.8rem;
}

.modal-header h2 {
    font-size: 2rem;
    color: var(--color-primario);
    line-height: 1.25;
}

.modal-autor {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.4rem;
}

/* SECCIÓN DE CIERRE */
.cierre-ideas {
    text-align: center;
    background-color: var(--color-blanco);
    padding: 3.5rem 2rem;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    max-width: 850px;
    margin: 0 auto;
}

.cierre-ideas h3 {
    font-size: 1.8rem;
    color: var(--color-primario);
    margin-bottom: 1rem;
}

.cierre-ideas p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .grid-ideas { grid-template-columns: 1fr; }
    .idea-card { padding: 1.8rem; }
    .cierre-ideas h3 { font-size: 1.4rem; }
    .modal-content { padding: 2.5rem 1.5rem; }
    .modal-header h2 { font-size: 1.5rem; }
    .modal-body p { font-size: 1.02rem; }
}