/* RESET BÁSICO */
* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.cabecera-flotante {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* ==============================================================
   TOP BAR
   ============================================================== */
   .top-bar {
    background-color: #2b2b2b; /* Un gris casi negro muy elegante */
    color: #f5f5f5;
    padding: 2px 0;
    font-size: 0.85rem;
    font-family: sans-serif; /* Mejor sans-serif para leer números pequeños */
}

/* Usamos Flexbox para poner teléfonos a un lado y el horario al otro */
.top-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

@media (max-width: 768px) {
    
    /* 1. Ocultamos la frase secundaria para liberar espacio */
    .top-bar-info {
        display: none; 
    }
    
    /* 2. Centramos el bloque de los teléfonos */
    .top-bar-inner {
        justify-content: center;
        padding: 5px 0;
    }
    
    /* 3. Reducimos la separación y el tamaño de la fuente un milímetro 
          para que quepa todo de forma holgada en pantallas pequeñas */
    .top-bar-contact {
        gap: 10px;
    }
    
    .nav-enlace-tel {
        font-size: 18px;
        font-weight: 600;
    }
    
    .separador {
        margin: 0 2px;
    }
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.separador {
    color: #666; /* Línea divisoria muy sutil */
    user-select: none;
}

.icono-svg-tel {
    height: 1.3rem; /* Ajusta el tamaño al de tu texto */
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    top: -1px; /* Para que quede perfectamente alineado con los números */
    transition: fill 0.3s ease;
}

/* Estilos de los enlaces de la Top Bar */
.nav-enlace-tel {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

.nav-enlace-tel:hover {
    color: #9b6909db;
}

.nav-enlace-tel::before {
    margin-right: 6px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* HEADER */
.main-header {
    background-color: transparent;
    padding: 1rem 0;
    position: relative; 
    z-index: 100;
}

.mmmain-header {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    backdrop-filter: blur(10px); /* El efecto cristal */
    padding: 1rem 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body {
    padding-top: 100px;
}

/* Pero en la portada (is-home), anulamos el espacio porque la imagen debe tocar el borde arriba */
body.is-home {
    padding-top: 0;
}

#seccion-esquelas {
    scroll-margin-top: 100px; 
}

/* --- SECCIÓN HERO (PANTALLA COMPLETA) --- */
.hero-section {
    position: relative;
    height: 100vh; /* Ocupa el 100% de la altura de la pantalla del usuario */
    width: 100%;
    Background-image: url("../images/hero_img.bc9269e71e8a.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 50px; /* Para empujarlo ligeramente hacia abajo del header */
}

.btn-scroll-down {
    display: inline-block;
    display: none;
    background-color: transparent;
    color: #c5a059;
    border: 2px solid #c5a059;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-scroll-down:hover {
    background-color: #c5a059;
    color: #1a2a3a;
}

.logo a, .main-nav a {
    color: #1a2a3a;
}

.site-logo {
    max-height: 55px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.03);
}

.main-nav a {
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #c5a059; /* Dorado al pasar el ratón */
}

.main-nav ul {
    display: flex;
    list-style: none;
}

/* GRID DE ESQUELAS */
.obituary-header {
    text-align: center;
    padding: 8rem 0 3rem 0;
}

.obituary-header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    color: #1a2a3a;
}

.obituary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 80px 40px; 
    margin: 40px 0;
}

/* --- TARJETAS DE ESQUELAS (CON FONDO card.jpg) --- */
.obituary-card {
    position: relative;
    background-image: url("../images/card_2.2ef797229e0b.webp");
    background-size: 100% 100%; 
    background-repeat: no-repeat;
    background-position: center;
    
    width: 100%;
    max-width: 380px; /* Las tarjetas nunca serán más anchas que esto */
    margin: 0 auto; /* Las centra en su hueco si la pantalla es muy grande */
    
    border-radius: 4px;
    
    /* SOMBRA MÁS NOTORIA Y OSCURA */
    box-shadow: 6px 15px 20px rgba(0, 0, 0, 0.99);
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 180px 20px 30px 20px; 
    text-align: center;
    min-height: 480px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Transición más suave y "elástica" */
    overflow: hidden;
}

.obituary-card:hover {
    transform: translateY(-15px); /* Pequeña elevación al pasar el ratón */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

/* Ajustes del contenedor interior */
.obituary-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

/* La etiqueta de Entierro/Aniversario */
.obituary-card .card-type {
    background-color: transparent; /* Eliminamos cualquier fondo blanco */
    color: #d4af37; /* Dorado */
    font-size: 0.75rem;
    letter-spacing: 3px; /* Letras más separadas para dar aire premium */
    text-transform: uppercase;
    
    /* En lugar de una "píldora" blanca, usamos dos líneas finas elegantes */
    border-top: 1px solid rgba(212, 175, 55, 0.4);
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    border-left: none;
    border-right: none;
    border-radius: 0;
    
    padding: 6px 15px;
    margin-bottom: 5px;
    align-self: center;
}

/* Nombre del difunto */
.obituary-card .name {
    color: #d4af37; /* Dorado */
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6); /* Sombra para que destaque sobre el azul */
}

/* Apodo */
.obituary-card .nickname {
    color: #e0e0e0;
    font-style: italic;
    margin: 0;
}

.obituary-card .event-date {
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px; /* Da aire antes de empezar con el nombre */
    text-transform: capitalize;
}

/* --- TRATAMIENTO (El señor don / La señora doña) --- */
.obituary-card .tratamiento {
    color: #e0e0e0; /* Blanco ligeramente grisáceo */
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1rem;
    margin: 0 0 5px 0; /* Un poco de espacio justo debajo */
}

/* Viudo/a de... y fechas */
.obituary-card .family-status{
    color: #ffffff; /* Blanco puro para máxima legibilidad */
    font-size: 0.95rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.obituary-card .death-info {
    color: #ffffff;
    font-size: 0.85rem; /* Un pelín más pequeño para que quepa bien el texto completo */
    line-height: 1.4; /* Mejora la legibilidad del párrafo */
    margin: 10px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    padding: 0 10px; /* Para que el texto no toque los bordes del marco floral */
}

/* --- D.E.P. --- */
.obituary-card .dep {
    display: block;
    margin-top: 8px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #d4af37; /* Hacemos que el D.E.P. destaque en dorado */
}

/* Botón de ver detalles */
.obituary-card .btn-detail {
    margin-top: 15px;
    background-color: transparent;
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.6); /* Borde un poco más translúcido/suave */
    
    /* Hacemos el botón más pequeño y delicado */
    padding: 6px 16px; 
    font-size: 0.75rem; 
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.obituary-card .btn-detail:hover {
    background-color: rgba(212, 175, 55, 0.1); /* En lugar de rellenarse sólido, le damos un brillo dorado sutil */
    color: #d4af37;
    border-color: #d4af37;
}


.card-type {
    background: #f4f4f4;
    padding: 5px 15px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #666;
    border-bottom: 1px solid #eee;
}

.card-body {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
}

.name {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.4rem;
    color: #1a2a3a;
    margin-bottom: 10px;
}

.nickname {
    font-style: italic;
    color: #777;
    margin-bottom: 15px;
}

.family-status {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.status-label {
    display: block;
    font-weight: 600;
    color: #c5a059;
}

.death-info {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 25px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.btn-detail {
    display: inline-block;
    background: #1a2a3a;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-detail:hover {
    background: #c5a059;
}

/* FOOTER */
.main-footer {
    background: #111;
    color: #aaa;
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
}



/* ==========================================================================
   PÁGINA DE DETALLES DE ESQUELA
   ========================================================================== */

.hero-fallecido-wrapper {
    background-image: url("../images/azahar_background_esquelas_movil.cd6ce36b92ba.webp");
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
    /* El secreto: quitamos márgenes para que suba hasta el menú, 
       y le damos mucho padding top para que el texto baje */
    margin-top: -100px; /* Sube la imagen por debajo del menú (ajusta según la altura de tu menú) */
    padding-top: 100px; /* Empuja el texto hacia abajo para que el menú no lo tape */
    padding-bottom: 120px;
    
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100vh;
    height: 100dvh;
}

.hero-contenido {
    position: relative; 
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 1100px;
    width: 100%;
    padding-bottom: 80px;
    margin-top: auto;
    margin-bottom: auto;
}

/* LA CRUZ CATÓLICA */
.cruz-catolica {
    margin-bottom: 25px;
}

/* d4af37 */
.cruz-catolica svg {
    width: 60px;
    height: 60px;
    color: #d4af37; /* Dorado */
    /* Sombra para que se lea sobre el fondo claro */
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.etiqueta-evento {
    display: inline-block;
    color: #d4af37; 
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    border: 1px solid #d4af37;
    padding: 4px 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.0); /* Sombra a la caja */
}

.tratamiento-hero {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    color: #888;
    font-size: 1.8rem;
    /* Lo pasamos a blanco (en tu captura se ve grisáceo) y le damos una sombra suave */
    color: #ffffff; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 8px 20px rgba(0,0,0,0.5); 
    margin-bottom: 10px;
}

.nombre-hero {
    font-family: 'Libre Baskerville', serif;
    /*font-size: 4.8rem; */
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    /*color: #ffffff;*/
    color: #1a2a3a;
    margin: 0 0 10px 0;
    line-height: 1.1;
    /* Doble sombra: una pequeña muy marcada para definir los bordes, y otra grande para dar profundidad */
    text-shadow: 2px 2px 4px rgba(227, 221, 211, 0.8), 0 2px 4px rgba(0,0,0,0.8), 0 8px 20px rgba(0,0,0,0.5);
}

.apodo-hero {
    /*font-size: 1.8rem;*/
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-style: italic;
    font-weight: 600;
    color: #d4af37;
    /* Sombra suave para el dorado */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 8px 20px rgba(0,0,0,0.5);
    margin-bottom: 25px;
}

.linea-decorativa-corta {
    width: 60px;
    height: 2px;
    background-color: #d4af37;
    margin: 25px auto;
}

.viudez-hero {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #eeeeee;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.viudez-hero strong { 
    color: #ffffff; 
    font-size: 1.3rem; 
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}


/* ==========================================================================
   2. ESQUELA DE PAPEL (EFECTO FÍSICO Y TIPOGRAFÍA)
   ========================================================================== */

/* Fondo general de la banda (detrás del papel) */
.banda-mesa-floral {
    background-image: 
        linear-gradient(rgba(26, 42, 58, 0.75), rgba(26, 42, 58, 0.2)), 
        url("../images/fondo_mesa_floral.7e6367b27c12.webp");
    
    background-size: cover;
    background-position: center;
    
    padding: 120px 20px; 

    margin-top: 100px; /* Separación con el Hero */
    margin-bottom: 100px; /* Separación con los Horarios */
    border-radius: 12px; /* Redondeamos las esquinas de la mesa para que parezca un tapete físico */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.caja-esquela-formal {
    /* TEXTURA DE PAPEL */
    background-color: #ffffff; /* Color base por si falla la imagen */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.10'/%3E%3C/svg%3E");
    background-repeat: repeat; /* La magia para que sea un patrón infinito */
    
    padding: 80px 80px;
    
    /* Sombras para que parezca una cartulina física gruesa */
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.08), 
        0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 6px; /* Esquinas mínimamente redondeadas */
    
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(0,0,0,0.03);
    border-right: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    max-width: 850px;
    margin: 0 auto;
}

/* ENCABEZADO CENTRADO */
.esquela-cabecera-centrada {
    text-align: center;
    margin-bottom: 50px;
}

.tratamiento-papel {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
}

.nombre-papel {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.8rem; 
    color: #1a2a3a;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.apodo-papel {
    font-size: 1.4rem;
    font-style: italic;
    color: #888;
    margin-bottom: 25px;
}

.viudez-papel {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    line-height: 1.6;
    margin-top: 25px;
}
.viudez-papel strong { 
    color: #1a2a3a; 
    font-size: 1.1rem; 
}

/* TEXTO ESQUELA */
.cuerpo-esquela {
    text-align: left;
    margin-top: 80px;
}

.bloque-introduccion {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: justify;
    color: #1a2a3a;
}

.bloque-dep {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    letter-spacing: 5px;
    color: #1a2a3a;
}

.bloque-familia {
    font-size: 1.2rem;
    line-height: 2.2;
    margin-top: 60px;
}

.bloque-cierre {
    font-size: 1.2rem;
    padding-top: 20px;
    line-height: 1.6;
    color: #1a2a3a;
    text-align: justify;
}

/* Ajuste para que los párrafos que vienen de CKEditor no tengan márgenes raros */
.cuerpo-esquela p {
    margin-bottom: 10px;
}





/*================================================================
/* CUERPO A LA IZQUIERDA */
/*.familiares-texto-izq {
    text-align: left; 
    font-size: 1.15rem;
    line-height: 2.2; /* Mucho aire entre líneas para imitar las impresiones de imprenta */
/*    color: #333333;
    margin-bottom: 60px; /* Separación antes del logo */
/*}

/* Forzar la alineación por si viene con estilos raros del editor de texto */
/*.familiares-texto-izq p, 
.familiares-texto-izq div, 
/*.familiares-texto-izq span { 
    text-align: left !important; 
}

====================================*/

/* SELLO / LOGO FINAL */
.sello-funeraria {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
}

.sello-funeraria img {
    max-width: 180px; /* Ajusta según lo grande que sea tu logo */
    opacity: 0.6; /* Lo hacemos un poco transparente para que parezca marca de agua / sello */
    filter: grayscale(100%); /* Lo pasamos a escala de grises para que no rompa la elegancia */
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Al pasar el ratón por el logo, recupera su color y opacidad */
.sello-funeraria img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* RESPONSIVE MÓVIL */
@media (max-width: 768px) {
    #zona-esquela.banda-mesa-floral {
        padding: 160px 0px !important; 
        
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        border-radius: 0 !important;

        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }
    #zona-esquela .caja-esquela-formal { 
        width: 94%; 
        
        padding: 20px 20px; 
        
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }
    #zona-esquela .nombre-papel { font-size: 2.2rem; }
    #zona-esquela .apodo-papel {
        font-size: 1.2rem;
    }
}


/* ==========================================================================
   3. HORARIOS Y CEREMONIAS
   ========================================================================== */

/* EL FONDO OSCURO (Ocupa 100vw rompiendo el contenedor) */
.banda-horarios-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
    /* Asegúrate de poner el nombre correcto de tu imagen */
    background-image:  
        url("../images/fondo_ceremonias_oscuro.c6904dcfa413.webp"); 
    background-size: cover;
    background-position: center;
    
    padding: 120px 20px 200px 20px;
}

/* EL CONTENEDOR INTERNO (Mantiene todo alineado con el ancho de la esquela) */
.caja-horarios-centrada {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* ENCABEZADOS */
.encabezado-seccion { margin-bottom: 50px; }
.titulo-seccion.dorado { color: #d4af37; font-family: 'Libre Baskerville', serif; margin-bottom: 15px; font-size: 2.2rem; }

/* LA CUADRÍCULA FLEXIBLE */
.ceremonias-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* LAS TARJETAS INDIVIDUALES */
.ceremonia-card.dark-mode {
    flex: 1 1 240px;    
    min-width: 240px;
    max-width: 280px;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ceremonia-card.dark-mode:hover {
    transform: translateY(-5px); /* Efecto levitación sutil */
    border-color: rgba(197, 160, 89, 0.6);
}

/* TEXTOS E ICONOS DENTRO DE LA TARJETA */
.ceremonia-card .icono-premium { 
    width: 35px; 
    height: 35px; 
    color: #d4af37; 
    margin-bottom: 15px; 
}
.ceremonia-card h4 { 
    color: #d4af37; 
    font-size: 1.1rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 15px; 
}
.ceremonia-card p.lugar { color: #ffffff; font-weight: bold; font-size: 1.1rem; margin-bottom: 10px; }
.ceremonia-card p.fecha { color: #aaaaaa; font-style: italic; font-size: 0.95rem; }

/* ==========================================================================
   AJUSTES MÓVILES PARA CEREMONIAS
   ========================================================================== */
@media (max-width: 768px) {
    .ceremonias-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }
    .ceremonia-card.dark-mode {
        width: 90%; 
        max-width: 300px;
        margin: 0 auto;
        text-align: center; 
    }
    .titulo-seccion.dorado {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   4. LIBRO DE CONDOLENCIAS
   ========================================================================== */

/* Fondo general de la sección: Un gris/arena extremadamente suave */
.banda-condolencias {
    background-color: transparent;
    padding: 100px 20px;
}

.contenedor-condolencias {
    max-width: 700px; /* Un ancho comedido para que el formulario no sea kilométrico */
    margin: 0 auto;
}

/* Encabezado */
.banda-condolencias .titulo-seccion {
    color: #1a2a3a; /* Azul oscuro elegante */
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.texto-intro-condolencias {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 40px;
    font-style: italic;
}

/* La tarjeta del formulario (Efecto carta) */
.tarjeta-formulario {
    background: #ffffff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Sombra muy difuminada */
}

/* Campos del formulario */
.formulario-elegante .grupo-input {
    margin-bottom: 25px;
    text-align: left;
}

.formulario-elegante label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.formulario-elegante input,
.formulario-elegante textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: #333;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
}

.formulario-elegante textarea {
    resize: vertical; 
    min-height: 120px;
    max-height: 400px;
}

/* Efecto al hacer clic en un campo (Focus) */
.formulario-elegante input:focus,
.formulario-elegante textarea:focus {
    outline: none;
    border-color: #d4af37;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1); /* Resplandor dorado sutil */
}

/* El botón de enviar */
.botonera-formulario {
    text-align: center;
    margin-top: 35px;
}

.btn-dorado-premium {
    background-color: #d4af37;
    color: #1a2a3a;
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-dorado-premium:hover {
    background-color: #b08d4b; /* Dorado un poco más oscuro al pasar el ratón */
    transform: translateY(-2px); /* Se levanta un milímetro */
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.linea-decorativa-dorada {
    width: 80px; /* El ancho de la línea */
    height: 3px; /* El grosor */
    background-color: #d4af37;
    margin-top: 15px;
    margin-bottom: 30px;
}

/* Modificador para que la línea se centre perfectamente debajo del título */
.linea-decorativa-dorada.centro {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   AJUSTES MÓVILES PARA CONDOLENCIAS
   ========================================================================== */
@media (max-width: 768px) {
    .banda-condolencias {
        padding: 60px 15px;
    }
    .tarjeta-formulario {
        padding: 30px 20px;
    }
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .banda-fullwidth, .hero-fallecido-wrapper { background-attachment: scroll; padding: 60px 15px; }
    .nombre-hero { font-size: 2.8rem; }
    .nombre-secundario { font-size: 1.6rem; }
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .detail-grid { grid-template-columns: 1fr; }
    .detail-header .name { font-size: 2rem; }
}



/*Boton admin*/
.btn-admin-nav {
    color: #c5a059 !important; /* Letras doradas */
    border: 1px solid #c5a059;
    padding: 5px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-admin-nav:hover {
    background-color: #c5a059;
    color: #1a2a3a !important; /* Azul oscuro al pasar el ratón */
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.titulo-imagen {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 100%;
    width: 400px;
    height: auto;
}


/* PARA PANTALLAS MUY BAJITAS (Móvil horizontal o portátiles pequeños) */
@media (max-height: 650px) {
    .hero-fallecido-wrapper {
        padding-top: 130px; /* Espacio justo para el menú */
        background-attachment: scroll;
        min-height: auto;
        max-height: 100vh;
    }
    .hero-contenido {
        padding-bottom: 30px; /* Reducimos el relleno inferior */
    }
    .cruz-catolica { margin-bottom: 10px; }
    .cruz-catolica svg { width: 30px; height: 30px; }
    .etiqueta-evento { margin-bottom: 15px; padding: 4px 15px; }
    .apodo-hero { margin-bottom: 15px; }
    .linea-decorativa-corta { margin: 15px auto; }
    .viudez-hero { font-size: 0.95rem; }
    .viudez-hero strong { font-size: 1.15rem; }
    
    /* En horizontal la flecha roba demasiado espacio vital, la ocultamos */
    .indicador-scroll { display: none; }
}



/* INDICADOR DE SCROLL (Flecha rebotando) */
.indicador-scroll {
    position: absolute;
    bottom: 30px; /* Separación desde abajo */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #c5a059; /* Dorado */
    opacity: 0.8;
    animation: rebote 2s infinite;
    z-index: 10;
    text-decoration: none; 
    cursor: pointer;
}

.indicador-scroll p {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.indicador-scroll svg {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

/* Animación de rebote */
@keyframes rebote {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

#zona-esquela {
    scroll-margin-top: 100px;
}

/* TABLETS */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-fallecido-wrapper {
        background-image: url("../images/azahar_background_esquelas_tablet.62fa95288209.webp");
    }
}

/* PANTALLAS ESTÁNDAR Y PORTÁTILES (De 1025px en adelante) */
@media (min-width: 1025px) {
    .hero-fallecido-wrapper {
        background-image: url("../images/azahar_background_esquelas.c2855dedd411.webp");
    }
}


/* ==========================================================================
   PAGINACIÓN
   ========================================================================== */
.paginacion-elegante {
    margin-top: 60px;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.paginacion-contenedor {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 50px; /* Forma redondita de píldora */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Sombra suave */
    border: 1px solid rgba(197, 160, 89, 0.2); /* Borde sutil dorado */
}

/* Los botones Anterior / Siguiente */
.btn-paginacion {
    color: #c5a059;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

/* Efecto al pasar el ratón */
.btn-paginacion:hover:not(.deshabilitado) {
    background-color: #c5a059;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

/* Botón apagado (cuando estás en la primera o última página) */
.btn-paginacion.deshabilitado {
    color: #cccccc;
    cursor: not-allowed;
}

/* El texto central "Página 1 de 3" */
.paginacion-info {
    font-family: 'Libre Baskerville', serif;
    color: #555;
    font-size: 1rem;
    padding: 0 20px;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
}

.paginacion-info strong {
    color: #c5a059; /* Resaltamos el número actual en dorado */
}

/* ==========================================================================
   AJUSTES MÓVILES PAGINACIÓN
   ========================================================================== */
@media (max-width: 480px) {
    .paginacion-contenedor {
        flex-direction: column;
        border-radius: 12px;
        padding: 20px;
        gap: 20px;
    }
    .paginacion-info {
        border-left: none;
        border-right: none;
        border-top: 1px solid #eaeaea;
        border-bottom: 1px solid #eaeaea;
        padding: 10px 0;
    }
}



/* ==========================================================================
   BOTÓN WHATSAPP
   ========================================================================== */
   .contenedor-compartir {
    text-align: center;
    margin: 40px 0; /* Ajusta este margen según dónde coloques el botón */
}

.btn-compartir-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #1a2a3a; /* Tu color oscuro corporativo */
    color: #ffffff;
    font-family: 'Libre Baskerville', serif;
    font-size: 1.1rem;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(197, 160, 89, 0.3); /* Borde dorado sutil */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-compartir-whatsapp:hover {
    background-color: #25d366; /* Al pasar el ratón, revela el verde de WhatsApp */
    border-color: #25d366;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.icono-wa {
    width: 24px;
    height: 24px;
}


/*
    ESTILOS PARA EL BOTON DEL CANAL DE WHATSAPP
*/

/* MOVIMIENTO VERTICAL */
@keyframes flotacionSuave {
    0% {
        transform: translateY(0);
    }
    50% {
        /* Sube suavemente 6 píxeles */
        transform: translateY(-6px);
    }
    100% {
        /* Vuelve a su posición original */
        transform: translateY(0);
    }
}

/* DESTELLO BOTÓN */
@keyframes destelloElegante {
    0% {
        left: -150%;
    }
    50% {
        left: 200%; 
    }
    100% {
        /* El resto de los 5 segundos se queda escondido a la derecha esperando */
        left: 200%;
    }
}

.whatsapp-cta-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 10;
    margin-bottom: 150px;
}

/* El botón mantiene su elegancia */
.btn-whatsapp-channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 12px #128C7E;
    white-space: nowrap;
    position: relative; /* Actúa como ancla para la luz */
    overflow: hidden;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp-channel::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%; /* Lo escondemos muy a la izquierda */
    width: 50%;  /* El grosor del rayo de luz */
    height: 100%;
    
    /* Gradiente que simula la luz: transparente -> blanco suave -> transparente */
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    
    /* Inclinamos el rayo 25 grados para darle velocidad y estética */
    transform: skewX(-25deg);
    
    /* Disparamos la animación. Duración total: 5 segundos, infinito */
    animation: destelloElegante 3s infinite;
}

.btn-whatsapp-channel:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0px 0px 12px rgba(37, 211, 102, 0.35);
    animation-play-state: paused; 
}

/* Ajuste milimétrico para pantallas móviles */
@media (max-width: 576px) {    
    .btn-whatsapp-channel {
        font-size: 1.3rem;
        padding: 15px 18px;
        width: auto;
        animation: flotacionSuave 2.5s ease-in-out infinite;
    }
}





    /* ==============================================================
       NUEVA PAGINACIÓN
       ============================================================== */
       .paginacion-custom {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 40px;
        border-top: 1px solid #eee;
        padding-top: 30px;
        margin-bottom: 50px;
        font-family: sans-serif;
    }

    .paginacion-custom .page-link {
        color: #333;
        text-decoration: none;
        padding: 8px 16px;
        border: 1px solid #ddd;
        border-radius: 4px;
        transition: all 0.2s;
    }

    .paginacion-custom .page-link:hover {
        background-color: #f5f5f5;
        border-color: #ccc;
    }

    .paginacion-custom .page-current {
        font-weight: bold;
        color: #555;
        font-size: 0.95rem;
    }

    .sin-esquelas {
        grid-column: 1 / -1; /* Ocupa todo el ancho si no hay esquelas */
        text-align: center;
        color: #777;
        font-size: 1.1rem;
    }


/* ==============================================================
   BOTÓN "VER TODAS LAS ESQUELAS"
   ============================================================== */
.btn-ver-todas {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 35px;
    background-color: transparent;
    color: #2b2b2b;
    border: 1px solid #c5a059;
    border-radius: 50px; /* Bordes redondeados elegantes */
    font-family: 'Georgia', serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ver-todas:hover {
    background-color: #2b2b2b;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.icono-flecha {
    font-family: sans-serif; /* Para que la flecha se vea limpia */
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-ver-todas:hover .icono-flecha {
    transform: translateX(5px); /* La flecha se mueve un poquito a la derecha al pasar el ratón */
}


/* ==============================================================
   BANNER WHATSAPP (Histórico de Esquelas)
   ============================================================== */
.banner-whatsapp-captacion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #eaeaea; 
    border-radius: 12px;
    padding: 35px 40px;
    margin-top: 100px;
    margin-bottom: 100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.banner-whatsapp-texto {
    max-width: 65%;
}

.banner-whatsapp-texto h3 {
    font-family: 'Georgia', serif;
    font-size: 1.7rem;
    color: #2b2b2b;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: normal;
}

.banner-whatsapp-texto p {
    font-family: sans-serif;
    color: #5c5c5c;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0;
}

.banner-whatsapp-accion {
    flex-shrink: 0; /* Evita que el botón se aplaste */
}

/* Adaptación móvil del banner */
@media (max-width: 768px) {
    .banner-whatsapp-captacion {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }
    
    .banner-whatsapp-texto {
        max-width: 100%;
    }

    .btn-whatsapp-channel-elegant {
        margin-top: 30px;
    }
}


/* ==============================================================
   BOTÓN DE WHATSAPP ELEGANTE (ESTILO CORPORATIVO)
   ============================================================== */
   .btn-whatsapp-channel-elegant {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    /* COLORES BASE: Gris oscuro corporativo en lugar del verde chillón */
    background-color: #2b2b2b; 
    color: #ffffff !important;
    
    font-family: sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;

    position: relative;
    overflow: hidden;
}

/* El icono SVG se adapta al tamaño del texto */
.icono-svg-whatsapp {
    width: 1.2rem;
    height: auto;
    fill: currentColor; /* Hereda el color blanco del texto */
}

.btn-whatsapp-channel-elegant:hover {
    background-color: #b59410; 
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(181, 148, 16, 0.3);
}

/* ==============================================================
   EFECTO DE BRILLO SUTIL (CADA 5 SEGUNDOS)
   ============================================================== */
.btn-whatsapp-channel-elegant::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%, /* Un brillo muy fino y suave */
        rgba(255, 255, 255, 0) 100
    );
    transform: skewX(-25deg);
    animation: destelloEleganteBotn 1s infinite;
}

@keyframes destelloEleganteBotn {
    0% { left: -150%; }
    12% { left: 200%; } /* Cruza rápido el botón */
    100% { left: 200%; } /* Se queda esperando oculto hasta el siguiente ciclo */
}


.btn-todas-esquelas {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 80px;
}

/* ==============================================================
   ESTILOS DEL PANEL DE FILTROS
   ============================================================== */
   .panel-filtros-esquelas {
    background-color: #f8f9fa;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 40px;
}

.filtros-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.filtro-grupo {
    flex: 1;
    min-width: 200px;
}

.ancho-completo {
    flex: 100%; /* El buscador de texto ocupa toda la línea superior */
}

.input-busqueda, .select-filtro, .input-fecha {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s;
}

.input-busqueda:focus, .select-filtro:focus, .input-fecha:focus {
    border-color: #2b2b2b;
    outline: none;
}

.fechas-grupo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.separador-fechas {
    color: #666;
    font-size: 0.9rem;
}

/* ==============================================================
   ESTILOS DE LAS ETIQUETAS DE FECHA
   ============================================================== */
   .input-con-etiqueta {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Separación pequeñita entre la palabra y la caja */
    flex: 1;  /* Para que ambas cajas midan lo mismo */
}

.etiqueta-flotante {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 2px;
    display: none;
}

.fechas-grupo {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.separador-fechas {
    color: #999;
    font-size: 1.2rem;
}

.filtro-acciones {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ==============================================================
    Mostramos las etiquetas de fecha de busqueda solo en Tablets y Móviles (hasta 800px)
   ============================================================== */
   @media (max-width: 800px) {
    .etiqueta-flotante {
        display: block; /* Hacemos que aparezcan */
        font-size: 0.8rem;
        color: #666;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-left: 2px;
        margin-bottom: 4px; /* Separación con el input */
    }

    .fechas-grupo {
        align-items: flex-end; /* Alineamos por abajo para que el guion cuadre bien */
    }

    .separador-fechas {
        padding-bottom: 10px; /* Ajuste del guion separador */
    }
}

.btn-filtrar {
    background-color: #2b2b2b;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-filtrar:hover {
    background-color: #b59410;
}

.btn-limpiar {
    color: #666;
    text-decoration: underline;
    font-size: 0.9rem;
}

.btn-limpiar:hover {
    color: #d9534f;
}

/* Modo Móvil */
@media (max-width: 768px) {
    .filtros-form {
        flex-direction: column;
    }
    .filtro-grupo {
        width: 100%;
    }
    .filtro-acciones {
        width: 100%;
        justify-content: stretch;
    }
    .btn-filtrar {
        width: 100%;
    }
}



/* ==============================================================
   ESTILOS DEL PIE DE PÁGINA (FOOTER)
   ============================================================== */
   .main-footer {
    background-color: #2b2b2b;
    color: #e0e0e0;
    font-family: sans-serif;
    padding-top: 60px;
    margin-top: 80px; /* Separación con el contenido principal de la web */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #aaaaaa;
    max-width: 80%;
}

.footer-title {
    color: #ffffff;
    font-family: 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #b59410; /* Acento dorado corporativo */
}

/* Enlaces Rápidos */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #b59410;
    padding-left: 5px; /* Pequeño y elegante salto a la derecha */
}

/* Contacto */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #aaaaaa;
    line-height: 1.5;
}

.footer-icon {
    color: #b59410;
    font-size: 1.2rem;
    margin-top: 2px;
}

.footer-tel {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-tel:hover {
    color: #b59410;
}

address {
    font-style: normal;
}

/* Barra Legal */
.footer-bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    margin: 0;
    color: #888888;
}

.legal-links a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #ffffff;
}

.separador-legal {
    color: #444;
    margin: 0 8px;
}

/* ==============================================================
   ADAPTACIÓN MÓVIL FOOTER
   ============================================================== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-desc {
        max-width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}
