/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/*
 Theme Name:   GeneratePress Child
 Description:  Diseño Deluxe: Carbono & Oro - Optimizado para SEO y Rendimiento.
 Template:     generatepress
 Version:      1.1.0
*/

/* 1. SISTEMA DE DISEÑO (Variables)
-------------------------------------------------------------- */
/* --- BASE DEL SITIO: FONDO PERCHELERO --- */
html, body {
    background-color: #121212 !important; /* El color exacto de tu Hero */
    margin: 0;
    padding: 0;
    color: #ffffff; /* Asegura que el texto base sea blanco por si acaso */
}

/* Forzamos que todas las secciones del Home compartan este fondo */
section {
    background-color: #121212;
}

:root {
    /* Paleta Deluxe */
    --dark-deluxe: #121212;      /* Negro Carbono */
    --gray-deep: #1a1a1a;        /* Gris de profundidad */
    --gray-medium: #2c2c2c;      /* Para bordes y separadores */
    --gold-deluxe: #c5a059;      /* Dorado Satinado */
    --gold-bright: #e2c285;      /* Dorado para interacciones */
    --white-pure: #ffffff;
    --text-body: #d1d1d1;        /* Blanco grisáceo para lectura suave */
    
    /* Fuentes y Espacios */
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Georgia', serif;
    --space-unit: 20px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-gold: 0 4px 20px rgba(197, 160, 89, 0.15);
}

/* 2. RESET Y BASES DE RENDIMIENTO
-------------------------------------------------------------- */
body {
    background-color: var(--dark-deluxe);
    color: var(--text-body);
    font-family: var(--font-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--gold-deluxe);
    font-family: var(--font-serif);
    font-weight: 400; /* Menos peso = más elegancia */
    letter-spacing: 1px;
}

/* 3. CABECERA DELUXE (Header)
-------------------------------------------------------------- */
.site-header {
    background-color: var(--dark-deluxe);
    border-bottom: 1px solid var(--gray-medium);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.main-navigation {
    background: transparent;
}

/* Enlaces del Menú */
.main-navigation .main-nav ul li a {
    color: var(--white-pure) !important;
    font-weight: 400;
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    padding-left: 20px;
    padding-right: 20px;
}

/* Efecto Hover y Selección */
.main-navigation .main-nav ul li:hover > a {
    color: var(--gold-deluxe) !important;
    background-color: transparent;
}

.main-navigation .main-nav ul li.current-menu-item > a {
    color: var(--gold-bright) !important;
    background-color: transparent;
}

/* Línea decorativa minimalista bajo el ítem activo */
.main-navigation .main-nav ul li.current-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: var(--gold-deluxe);
}

/* 4. COMPONENTES EXQUISITOS (Botones y Tarjetas)
-------------------------------------------------------------- */
/* Botón de navegación destacado */
.main-navigation .main-nav ul li.nav-button a {
    border: 1px solid var(--gold-deluxe);
    margin-left: 15px;
    padding: 8px 25px !important;
    line-height: 1.5;
}

.main-navigation .main-nav ul li.nav-button a:hover {
    background-color: var(--gold-deluxe) !important;
    color: var(--dark-deluxe) !important;
    box-shadow: var(--shadow-gold);
}

/* 5. DISEÑO RESPONSIVE (Móvil)
-------------------------------------------------------------- */
@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }
    
    .menu-toggle {
        background-color: transparent !important;
        color: var(--gold-deluxe) !important;
    }
    
    .main-navigation.toggled .main-nav ul {
        background-color: var(--gray-deep);
        border-top: 1px solid var(--gold-deluxe);
    }
    
    .main-navigation .main-nav ul li a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

/* 6. OPTIMIZACIÓN DE ACCESIBILIDAD */
:focus {
    outline: 2px solid var(--gold-deluxe);
    outline-offset: 3px;
}

/* --- ELIMINAR ESPACIO ENTRE CABECERA Y HERO --- */

/* 1. Quitar el margen inferior de la cabecera */
.site-header {
    margin-bottom: 0 !important;
}

/* 2. Quitar el padding superior del contenedor de contenido de GeneratePress */
.site-content {
    padding-top: 0 !important;
}

/* 3. Ajuste por si usas el diseño de "Contenedor Separado" */
.separate-containers .site-main {
    margin-top: 0 !important;
}

/* 4. Eliminar el margen superior del H1 si está empujando hacia abajo */
.hero-minimal h1 {
    margin-top: 0 !important;
}

/* --- LIMPIEZA TOTAL DE MÁRGENES FANTASMA --- */

/* Elimina el espacio del contenedor principal */
#content, 
.site-content,
.entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Fuerza al elemento principal a no tener margen superior */
#main {
    margin-top: 0 !important;
}

/* Si usas bloques de WordPress, a veces el primer párrafo o div tiene margen */
.entry-content > *:first-child {
    margin-top: 0 !important;
}

/* Asegura que el Hero no tenga margen externo */
.hero-minimal {
    margin-top: 0 !important;
}

/* --- SECCIÓN HERO: EL CARMEN (DISEÑO ORIGINAL + EFECTO SHINE) --- */
.hero-minimal {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    overflow: hidden;

    background: 
        linear-gradient(to bottom, 
            #121212 0%, 
            #121212 100%
        ),
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: -2px; 
}

.hero-inner {
    max-width: 900px;
    z-index: 2;
    animation: revealHero 1.5s cubic-bezier(0.2, 0, 0.2, 1) forwards;
}

.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--gold-deluxe);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.75rem;
    margin-bottom: 25px;
}

.hero-tagline::before, .hero-tagline::after {
    content: ''; width: 30px; height: 1px; background-color: rgba(197, 160, 89, 0.3);
}

.hero-main-title { margin-bottom: 35px; line-height: 1.1; }

.subtitle-brand {
    display: block;
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--white-pure);
    opacity: 0.9;
    margin-bottom: 10px;
}

.gold-text {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 12vw, 6.5rem);
    font-weight: 700;
    color: var(--gold-deluxe);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto 40px;
    font-style: italic;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    padding-top: 25px;
}

.hero-description strong { color: var(--gold-deluxe); }

.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* --- ACTUALIZACIÓN TÉCNICA BOTONES (MANTENIENDO DISEÑO) --- */
.btn-primary, .btn-secondary {
    position: relative; /* Requerido para el brillo */
    overflow: hidden;   /* Requerido para el brillo */
    padding: 16px 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-block;
}

/* El texto se mantiene intacto, pero aseguramos su visibilidad */
.btn-primary span, .btn-secondary span {
    position: relative;
    z-index: 2;
}

.btn-primary { background: var(--gold-deluxe); color: var(--dark-deluxe) !important; }
.btn-secondary { border: 1px solid rgba(255,255,255,0.2); color: var(--white-pure) !important; }

/* CAPA DE BRILLO INDEPENDIENTE */
.btn-shine {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-25deg);
    z-index: 1;
    animation: shineHero 4.5s infinite ease-in-out;
}

@keyframes shineHero {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

@keyframes revealHero {
    from { opacity: 0; transform: translateY(20px); filter: blur(10px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@media (max-width: 768px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 280px; }
    .hero-minimal { background-attachment: scroll; }
}

/* --- OPTIMIZACIÓN RESPONSIVE HERO --- */

@media (max-width: 768px) {
    .hero-minimal { 
        min-height: 100vh; /* Aseguramos que ocupe la pantalla completa */
        padding: 40px 15px; /* Reducimos padding lateral y vertical */
        background-attachment: scroll; /* Mejora rendimiento en móviles */
    }

    .hero-inner {
        width: 100%;
    }

    .hero-tagline {
        font-size: 0.65rem; /* Un poco más pequeño */
        letter-spacing: 3px;
        margin-bottom: 15px;
    }

    .hero-tagline::before, .hero-tagline::after {
        width: 15px; /* Acortamos las líneas laterales */
    }

    .subtitle-brand {
        font-size: 0.8rem; /* Reducción proporcional */
        letter-spacing: 4px;
        margin-bottom: 5px;
    }

    .gold-text {
        font-size: clamp(2.8rem, 10vw, 3.5rem); /* Evitamos que el título sea gigantesco */
        line-height: 1;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 0.95rem; /* Texto más compacto */
        margin: 0 auto 30px;
        padding-top: 15px;
        line-height: 1.5;
    }

    .hero-buttons { 
        flex-direction: column; 
        gap: 12px; /* Espacio más ajustado entre botones */
        align-items: center; 
    }

    .btn-primary, .btn-secondary { 
        width: 100%; 
        max-width: 260px; /* Un poco más estrechos */
        padding: 14px 20px; /* Menos altura de botón */
        font-size: 11px; /* Texto más fino */
    }
}

/* --- BANNER SOCIAL MINIMAL: SOLO LUZ EN ICONO --- */
.social-banner-minimal {
    background-color: #0c0c0c; /* Color sólido para fundir con el diseño */
    padding: 50px 0;
    text-align: center;
}

.social-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Espacio entre iconos sin bordes */
    max-width: 800px;
    margin: 0 auto;
}

.social-icon-link {
    color: rgba(255, 255, 255, 0.3); /* Color apagado por defecto */
    transition: all 0.4s ease;
    display: inline-block;
    line-height: 0;
}

.social-icon-link svg {
    width: 30px;
    height: 30px;
    /* Transición suave para el efecto de luz */
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 0px transparent);
}

/* EFECTO: Solo se ilumina el trazo del logo */
.social-icon-link:hover {
    color: var(--gold-deluxe);
}

.social-icon-link:hover svg {
    transform: translateY(-3px); /* Un pequeño salto sutil */
    /* Aquí creamos el resplandor solo en el trazo del icono */
    filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.8));
}

/* Responsivo: mantenemos una fila o dos según espacio */
@media (max-width: 768px) {
    .social-flex {
        gap: 30px;
        flex-wrap: wrap;
        padding: 0 20px;
    }
}

/* --- ESTILOS SECCIÓN ENTIDAD Y PATRIMONIO --- */
.seccion-entidad {
    background-color: #0c0c0c;
    padding: 100px 0;
    color: #ffffff;
}

.container-deluxe {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.tag-gold {
    color: var(--gold-deluxe);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.title-serif {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 30px;
}

/* HISTORIA BLOQUE */
.identity-hero {
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    padding-bottom: 80px;
    margin-bottom: 80px;
}

.desc-main {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-body);
    max-width: 800px;
}

.desc-sub {
    margin-top: 20px;
    font-style: italic;
    opacity: 0.8;
}

/* PATRIMONIO FILAS */
.patrimonio-header {
    text-align: center;
    margin-bottom: 80px;
}

.patrimonio-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.patrimonio-row.reverse { flex-direction: row-reverse; }

.patrimonio-info { flex: 1.5; } /* El texto ahora tiene un poco más de peso que la imagen */

.patrimonio-img-wrapper { 
    flex: 1; 
    overflow: hidden; 
    border: 1px solid rgba(197, 160, 89, 0.1);
    max-width: 400px; /* Limitamos el ancho para que no sea gigantesca */
    margin: 0 auto; /* Centrado en su columna */
}

.patrimonio-img-wrapper img {
    width: 100%;
    height: 450px; /* Reducimos la altura de 600px a 450px */
    object-fit: cover; 
    object-position: top; 
    display: block;
    transition: transform 0.6s ease;
}

.patrimonio-img-wrapper:hover img { transform: scale(1.05); }

.patrimonio-info h4 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold-deluxe);
    margin-bottom: 20px;
}

.list-patrimonio {
    list-style: none;
    margin-top: 25px;
}

.list-patrimonio li {
    padding-left: 20px;
    margin-bottom: 10px;
    position: relative;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
}

.list-patrimonio li::before {
    content: "•";
    color: var(--gold-deluxe);
    position: absolute;
    left: 0;
}

/* GRID JOYAS Y DIMENSIONES ADAPTADAS */
.joya-img img {
    width: 100%;
    height: 400px; /* Reducimos también las joyas para mantener la escala */
    object-fit: cover;
}

/* ================================================================
   CORRECCIÓN VISTA MÓVIL (APILADO VERTICAL)
   ================================================================ */
@media (max-width: 768px) {
    .patrimonio-row, 
    .patrimonio-row.reverse { 
        flex-direction: column !important; 
        gap: 30px; 
        margin-bottom: 70px; 
    }

    .patrimonio-info {
        width: 100%;
        text-align: left; 
    }

    .patrimonio-img-wrapper {
        width: 80%; /* En móvil la hacemos un poco más estrecha que el texto para dar aire */
        max-width: 300px;
    }

    .patrimonio-img-wrapper img {
        height: auto; 
        max-height: 400px; 
    }
}

/* --- SECCIÓN NUESTRA SEMANA SANTA (EFECTO GLOBAL HOVER) --- */
.semana-santa-section {
    background-color: #0c0c0c;
    padding: 100px 0;
    color: #ffffff;
}

.ss-header {
    text-align: center;
    margin-bottom: 80px;
}

.ss-intro {
    color: var(--text-body);
    font-size: 1.1rem;
    opacity: 0.8;
}

.ss-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
}

/* Línea vertical dorada */
.ss-timeline::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--gold-deluxe), transparent);
    opacity: 0.2;
}

/* CONTENEDOR DEL DÍA */
.ss-day {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    transition: all 0.4s ease;
    cursor: default;
    padding: 20px; /* Un pequeño margen interno para que el efecto respire */
    border-radius: 10px;
}

/* LA FECHA (Círculo) */
.ss-date {
    background: #121212;
    border: 1px solid rgba(197, 160, 89, 0.2);
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 2;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ss-info {
    flex-grow: 1;
    transition: all 0.4s ease;
}

.ss-brotherhood {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8); /* Un poco apagado por defecto */
    transition: all 0.4s ease;
}

/* ================================================================
   EFECTO HOVER GLOBAL (Al pasar por cualquier parte del bloque)
   ================================================================ */
.ss-day:hover {
    background-color: rgba(197, 160, 89, 0.03); /* Un fondo muy sutil dorado */
}

.ss-day:hover .ss-date {
    border-color: var(--gold-deluxe);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
    transform: scale(1.1);
}

.ss-day:hover .ss-brotherhood {
    color: #ffffff;
    transform: translateX(10px); /* Un leve desplazamiento hacia la derecha */
}

.ss-day:hover .ss-name-day {
    letter-spacing: 4px; /* Las letras se separan sutilmente */
    opacity: 1;
}

/* ================================================================ */

.ss-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-deluxe);
    line-height: 1;
}

.ss-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ss-name-day {
    color: var(--gold-deluxe);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
    transition: all 0.4s ease;
    opacity: 0.7;
}

.ss-location {
    color: var(--text-body);
    font-size: 0.95rem;
    opacity: 0.6;
}

/* RESPONSIVE MÓVIL (Sin cambios en diseño, solo ajustes de escala) */
@media (max-width: 768px) {
    .ss-timeline::before { left: 30px; }
    .ss-date { width: 70px; height: 70px; }
    .ss-number { font-size: 1.2rem; }
    .ss-month { font-size: 0.6rem; }
    .ss-day { gap: 20px; padding: 10px; }
    .ss-brotherhood { font-size: 1.4rem; }
    .ss-day:hover .ss-brotherhood { transform: none; } /* En móvil mejor no desplazar texto */
}

.nick-ss {
    color: var(--gold-deluxe);
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 300;
    margin-left: 10px;
    opacity: 0.8;
}

/* Ajuste móvil para el nombre popular */
@media (max-width: 768px) {
    .nick-ss { display: block; margin-left: 0; font-size: 1rem; }
}

//* --- SECCIÓN PLATAFORMAS INTEGRACIÓN --- */
.plataformas-integradas {
    padding: 80px 0 120px; /* Espaciado generoso */
}

.header-minimal {
    margin-bottom: 60px;
}

.desc-integrada {
    color: var(--text-body);
    opacity: 0.6;
}

.flex-plataformas {
    display: flex;
    gap: 20px; /* Espacio pequeño para que parezcan un conjunto */
}

.card-plataforma-full {
    flex: 1;
    position: relative;
    height: 400px;
    background: #111111; /* Color un poco más claro que el fondo puro para resaltar */
    border: 1px solid rgba(197, 160, 89, 0.1);
    text-decoration: none;
    overflow: hidden;
    padding: 40px;
    display: flex;
    align-items: flex-end;
    transition: all 0.5s ease;
}

.card-bg-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.1; /* Muy sutil */
    filter: grayscale(100%);
    transition: all 0.7s ease;
}

.card-body-full {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.icon-wrap {
    width: 40px;
    height: 40px;
    color: var(--gold-deluxe);
    margin-bottom: auto; /* Empuja el resto abajo */
    transition: 0.4s;
}

.label-mini {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.65rem;
    color: var(--gold-deluxe);
    margin-bottom: 8px;
    display: block;
}

.card-plataforma-full h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.card-plataforma-full h3 span {
    font-weight: 300;
    font-size: 1.2rem;
    opacity: 0.5;
}

.card-plataforma-full p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 250px;
}

.btn-text {
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* EFECTO HOVER */
.card-plataforma-full:hover {
    border-color: var(--gold-deluxe);
    transform: translateY(-5px);
}

.card-plataforma-full:hover .card-bg-visual {
    opacity: 0.25;
    filter: grayscale(0%);
}

.spotify-card:hover .icon-wrap { color: #1DB954; }
.youtube-card:hover .icon-wrap { color: #FF0000; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .flex-plataformas {
        flex-direction: column;
    }
    .card-plataforma-full {
        height: 320px;
    }
}

/* --- SECCIÓN ECHA EL ANCLA (RESPLANDOR FUSIONADO) --- */
.echa-el-ancla {
    padding: 150px 0;
    /* Usamos el mismo color de fondo que las otras secciones (#0c0c0c) 
       y creamos un resplandor que se desvanece al 0% de opacidad */
    background: radial-gradient(
        circle at center, 
        rgba(197, 160, 89, 0.08) 0%,   /* Oro muy sutil en el centro */
        rgba(12, 12, 12, 0.8) 50%,     /* Transición suave hacia el fondo */
        #0c0c0c 100%                   /* Color base total para eliminar recortes */
    );
    text-align: center;
    position: relative;
    overflow: hidden; /* Evita cualquier fuga visual */
}

.ancla-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Asegura que el texto esté sobre el resplandor */
}

.ancla-desc {
    color: var(--text-body);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 50px;
    opacity: 0.8;
}

/* --- SECCIÓN ECHA EL ANCLA (CON SEPARACIÓN EXTRA) --- */
.echa-el-ancla {
    padding: 200px 0 150px; /* Aumentamos padding superior para alejar el resplandor */
    /* Bajamos el punto de origen del resplandor al 70% para que no invada arriba */
    background: radial-gradient(
        circle at center 70%, 
        rgba(197, 160, 89, 0.08) 0%,   
        rgba(12, 12, 12, 0.5) 40%,     
        #0c0c0c 80%                   /* Se vuelve sólido mucho antes para no invadir */
    );
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ancla-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ancla-desc {
    color: var(--text-body);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 50px;
    opacity: 0.8;
}

/* BOTÓN DE INSCRIPCIÓN */
.btn-ancla {
    position: relative;
    display: inline-block;
    padding: 22px 60px;
    background-color: transparent;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid var(--gold-deluxe);
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-ancla span {
    position: relative;
    z-index: 2;
}

.btn-ancla::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-deluxe);
    transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 1;
}

.btn-ancla:hover { color: #000; }
.btn-ancla:hover::after { left: 0; }

.btn-shine {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg);
    z-index: 3;
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

@media (max-width: 768px) {
    .echa-el-ancla { padding: 120px 0 80px; } /* Ajuste proporcional para móvil */
    .btn-ancla { padding: 18px 40px; width: 90%; }
}

/* --- ESTILO GLOBAL DE BOTONES DELUXE --- */
.btn-deluxe {
    position: relative;
    display: inline-block;
    padding: 18px 45px;
    background-color: transparent;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    border: 1px solid var(--gold-deluxe);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    text-align: center;
}

.btn-deluxe span {
    position: relative;
    z-index: 2;
}

/* Efecto de fondo dorado al hacer hover */
.btn-deluxe::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-deluxe);
    transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 1;
}

.btn-deluxe:hover {
    color: #000 !important;
}

.btn-deluxe:hover::after {
    left: 0;
}

/* El efecto de brillo animado */
.btn-deluxe .btn-shine {
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    z-index: 3;
    animation: shine-global 5s infinite; /* Un poco más lento para no saturar */
}

@keyframes shine-global {
    0% { left: -150%; }
    15% { left: 150%; }
    100% { left: 150%; }
}
/* --- EFECTO DE REVELADO AL SCROLL --- */
.revelar {
    opacity: 0;
    transform: translateY(30px); /* Empieza un poco más abajo */
    filter: blur(5px); /* Un toque de desenfoque para suavizar */
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1); /* Movimiento fluido cofrade */
    transition-delay: 0.1s;
}

/* Estado cuando la sección entra en el campo de visión */
.revelar.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Opcional: Si quieres que los elementos hijos (como tarjetas) aparezcan en cascada */
.visible .music-card, .visible .patrimonio-row {
    animation: revealChild 0.8s ease forwards;
}

@keyframes revealChild {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* NAVEGACIÓN REPERTORIO */
.repertorio-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: #121212;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(184, 157, 92, 0.3);
}

.repertorio-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 500;
    transition: color 0.3s;
}

.repertorio-nav a:hover {
    color: #b89d5c;
}

/* GRID DE MARCHAS */
.repertorio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.marcha-card {
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.marcha-card:hover {
    transform: translateY(-10px);
    border-color: rgba(184, 157, 92, 0.4);
}

/* CONTENEDOR DE VIDEO RESPONSIVE */
.marcha-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.marcha-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.marcha-info {
    padding: 20px;
}

.marcha-info h3 {
    font-family: 'Cinzel', serif; /* O tu fuente serif principal */
    color: #b89d5c;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.marcha-info .autor {
    display: block;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.marcha-info .dedicatoria {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #ccc;
}

.category-header {
    text-align: center;
    margin-bottom: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .repertorio-grid {
        grid-template-columns: 1fr;
    }
}

/* --- GRID DE TARJETAS --- */
.cards-grid-inscripcion {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card-inscripcion {
    background: #161616;
    padding: 50px 35px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-icon {
    width: 45px;
    height: 45px;
    color: var(--gold-deluxe);
    margin-bottom: 25px;
}

.card-inscripcion h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

.card-inscripcion p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-body);
}

/* --- AJUSTE ESTÉTICO FORMULARIO FORMINATOR --- */
.forminator-custom-container {
    max-width: 700px;
    margin: 50px auto 0;
    padding: 40px;
    background: #111111; /* Un tono ligeramente más claro que el fondo puro para dar profundidad */
    border: 1px solid rgba(197, 160, 89, 0.1); /* Sutil toque dorado en el borde */
}

/* Etiquetas de los campos (Labels) */
.forminator-custom-container .forminator-label {
    color: #b0b0b0 !important; /* Blanco grisáceo suave */
    font-family: var(--font-main);
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    margin-bottom: 8px !important;
}

/* Casillas de relleno (Inputs, Textareas, Selects) */
.forminator-custom-container .forminator-input, 
.forminator-custom-container .forminator-textarea, 
.forminator-custom-container .forminator-select .forminator-select-dropdown {
    background-color: #1a1a1a !important; /* Fondo gris oscuro neutro */
    border: 1px solid #2a2a2a !important; /* Borde suave */
    color: #d1d1d1 !important; /* Texto interior gris claro, no blanco puro */
    border-radius: 2px !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease !important;
}

/* Efecto al hacer clic en una casilla */
.forminator-custom-container .forminator-input:focus, 
.forminator-custom-container .forminator-textarea:focus {
    border-color: var(--gold-deluxe) !important;
    background-color: #1e1e1e !important;
    outline: none !important;
}

/* Placeholder (el texto de ejemplo dentro de la casilla) */
.forminator-custom-container ::placeholder {
    color: #555555 !important;
}

/* Botón de envío */
.forminator-button-submit {
    background: var(--gold-deluxe) !important;
    color: #000 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    padding: 15px 30px !important;
    border: none !important;
    cursor: pointer !important;
    transition: 0.3s ease !important;
    margin-top: 10px;
}

.forminator-button-submit:hover {
    background: var(--gold-bright) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.2);
}

/* Mensajes de error o éxito */
.forminator-error-message {
    color: #ff6b6b !important;
    font-size: 0.8rem !important;
}

/* --- SECCIÓN MÚSICA (SIN FONDO) --- */
.plataformas-integradas {
    background: transparent; /* Eliminamos fondo */
    padding: 80px 0;
}

.flex-plataformas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.streaming-card {
    display: flex;
    align-items: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03); /* Fondo casi invisible */
    border: 1px solid rgba(197, 160, 89, 0.1); /* Borde dorado muy sutil */
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.streaming-card:hover {
    background: rgba(197, 160, 89, 0.05);
    border-color: var(--gold-deluxe);
    transform: translateY(-5px);
}

.streaming-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-right: 25px;
    opacity: 0.7;
    transition: 0.3s ease;
}

.streaming-card:hover .streaming-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Colores corporativos sutiles */
.spotify-color { color: #1DB954; }
.youtube-color { color: #FF0000; }

.streaming-content h3 {
    font-family: var(--font-serif);
    color: var(--white-pure);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.streaming-content h3 span {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gold-deluxe);
    letter-spacing: 1px;
    margin-left: 8px;
    vertical-align: middle;
}

.streaming-content p {
    font-size: 0.85rem;
    color: var(--text-body);
    opacity: 0.6;
    margin-bottom: 15px;
    line-height: 1.4;
}

.btn-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-deluxe);
    font-weight: 700;
}

.label-mini {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--gold-deluxe);
    opacity: 0.5;
    display: block;
    margin-bottom: 4px;
}

/* Ajuste móvil */
@media (max-width: 600px) {
    .streaming-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .streaming-icon {
        margin-right: 0;
        margin-bottom: 20px;
        width: 60px;
        height: 60px;
    }
}

/* --- GRID 4 COLUMNAS CON TEXTO COMPLETO --- */
.cards-grid-inscripcion-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Mantiene las 4 en una fila */
    gap: 20px;
    max-width: 1300px; /* Un poco más ancho para albergar más texto */
    margin: 30px auto 60px auto;
    padding: 0 15px;
}

.card-inscripcion-detail {
    background: #161616;
    padding: 30px 20px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.card-inscripcion-detail:hover {
    border-color: var(--gold-deluxe);
    background: #1a1a1a;
}

.card-icon-mini {
    width: 40px;
    height: 40px;
    color: var(--gold-deluxe);
    margin: 0 auto 20px auto;
}

.card-inscripcion-detail h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    font-family: var(--font-serif);
}

.card-inscripcion-detail p {
    font-size: 0.85rem; /* Tamaño optimizado para lectura larga en grid */
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 10px;
}

.card-inscripcion-detail strong {
    color: var(--gold-deluxe);
    font-weight: 500;
}

/* --- RESPONSIVE --- */

/* Tablets: Bajamos a 2 columnas para que el texto no se amontone */
@media (max-width: 1100px) {
    .cards-grid-inscripcion-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móviles: 1 columna para lectura cómoda */
@media (max-width: 650px) {
    .cards-grid-inscripcion-full {
        grid-template-columns: 1fr;
    }
}