/* ==========================================================================
   SISTEMA DE DISEÑO DE LUJO CONSCIENTE: UNIVERSO CJ PURA ESENCIA
   ========================================================================== */

/* VARIABLES DE DISEÑO SYSTEM TOKENS */
:root {
    /* Paleta cromática noble */
    --bg-obsidian: #05070a;                /* Fondo base oscuro profundo */
    --bg-coal: #0a0e14;                    /* Fondo de secciones secundarias */
    --bg-card: rgba(18, 24, 35, 0.6);      /* Fondo satinado para tarjetas */
    --bg-card-hover: rgba(28, 36, 51, 0.85);
    --border-gold: rgba(212, 175, 55, 0.25);
    --border-light: rgba(255, 255, 255, 0.06);
    
    /* Gradientes dorados de autor */
    --gold-primary: #d4af37;               /* Oro clásico */
    --gold-grad: linear-gradient(135deg, #FFE082 0%, #FFB300 50%, #FF6F00 100%);
    --gold-grad-light: linear-gradient(135deg, rgba(255, 224, 130, 0.15) 0%, rgba(255, 111, 0, 0.05) 100%);
    --gold-glow: 0 0 20px rgba(255, 179, 0, 0.15);
    
    /* Tipografía */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-elegant: 'Cinzel', serif;
    --font-serif: 'Cormorant Garamond', serif;
    
    /* Colores de texto */
    --txt-primary: #f3f4f6;               /* Blanco lino */
    --txt-secondary: #a3a8b2;             /* Gris llovizna */
    --txt-muted: #6b7280;                 /* Gris piedra */
    
    /* Bordes y espaciados */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass-blur: blur(16px);
}

/* ==========================================================================
   RESET Y BÁSICOS
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

html {
    background: #080303 url('Definitivo/red_velvet_bg.png') no-repeat center center fixed;
    background-size: cover;
}

body {
    background-color: transparent;
    color: var(--txt-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--txt-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: var(--transition);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.max-width-md {
    max-width: 760px;
}

.section-padding {
    padding: 100px 0;
}

/* ==========================================================================
   ELEMENTOS DE DISEÑO COMUNES
   ========================================================================== */

/* Títulos de sección */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #ffffff 40%, var(--txt-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-lead-text {
    font-size: 16px;
    color: var(--txt-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-grad);
    margin: 24px auto 0 auto;
    border-radius: var(--radius-full);
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-gold {
    background: var(--gold-grad);
    color: #05070a;
    box-shadow: 0 4px 20px rgba(255, 179, 0, 0.15);
    font-weight: 700;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 179, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--txt-primary);
}

.btn-outline:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background-color: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.btn-outline-sm {
    padding: 8px 16px;
    font-size: 11px;
    border: 1px solid var(--border-gold);
    background-color: transparent;
    color: var(--gold-primary);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-sm:hover {
    background: var(--gold-grad);
    color: #05070a;
    border-color: transparent;
}

.btn-secondary-sm {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--txt-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary-sm:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--txt-primary);
    border-color: var(--gold-primary);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Glass Panels */
.glass-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN (NAVBAR)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(5, 7, 10, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(5, 7, 10, 0.96);
    padding: 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    height: 152px;
    margin: 0 auto;
    padding: 0 32px;
    max-width: 1440px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(212,175,55,0.25));
    transition: var(--transition);
}

.logo-container:hover .logo-img {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-elegant);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--txt-primary);
    background: linear-gradient(135deg, #fff 40%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-tagline {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--txt-muted);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    margin-left: 0;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 26px;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    text-decoration: none;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--txt-primary);
}

.nav-bottle-wrapper {
    position: relative;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.nav-bottle-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transition: filter 0.3s ease;
}

.nav-bottle-text {
    position: absolute;
    top: 100%;
    left: -60%;
    width: 220%;
    font-family: var(--font-elegant);
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-primary);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.25;
    letter-spacing: 0.08em;
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 10;
    margin-top: 5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.95);
}

.nav-link:hover .nav-bottle-wrapper {
    transform: translateY(-2px) scale(1.04);
}

.nav-link:hover .nav-bottle-img {
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.45)) brightness(1.15);
}

.nav-link:hover .nav-bottle-text {
    color: #FFE082;
    margin-top: 4px;
}

.nav-link.active .nav-bottle-text {
    color: var(--gold-primary);
}

.nav-btn-cta .nav-bottle-text {
    color: var(--gold-primary);
    font-weight: 600;
}

.nav-btn-cta .nav-bottle-img {
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    transition: filter 0.3s ease;
}

.nav-btn-cta:hover .nav-bottle-img {
    filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.8)) drop-shadow(0 0 18px rgba(212, 175, 55, 0.5)) brightness(1.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--txt-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   HÉROE (HERO SECTION)
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--txt-primary);
    padding: 0 24px;
    overflow: hidden;
    background: 
        radial-gradient(circle, rgba(5,7,10,0.2) 0%, rgba(5,7,10,0.75) 100%),
        url('Definitivo/red_velvet_bg.png') no-repeat center center;
    background-size: cover;
}

.hero-slider-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 1250px;
    height: 78vh;
    max-height: 660px;
    z-index: 1; /* Delante del terciopelo, detrás del texto */
    overflow: hidden;
    border-radius: 4px;
    background-color: #000; /* Fondo negro como passe-partout para imágenes contenidas */
    
    /* Marco ornamentado de cuadro antiguo lujoso dorado (más grueso y detallado) */
    border: 26px solid #d4af37;
    border-image: linear-gradient(
        135deg, 
        #8a640f 0%, 
        #ffe082 15%, 
        #a67c1e 30%, 
        #fcf6ba 45%, 
        #d4af37 60%, 
        #5c4008 75%, 
        #ffe082 90%, 
        #8a640f 100%
    ) 26;
    
    /* Relieve esculpido con hendiduras oscuras y molduras doradas concéntricas */
    box-shadow: 
        0 25px 55px rgba(0, 0, 0, 0.95), /* Sombra sobre la pared de terciopelo */
        0 0 0 4px #4a3206, /* Filete exterior antiguo */
        0 0 0 6px #ffe082, /* Filete dorado externo */
        0 0 0 9px rgba(0, 0, 0, 0.6), /* Sombra externa extra */
        inset 0 0 0 3px #5c4008, /* Hendidura oscura exterior */
        inset 0 0 0 6px #ffd54f, /* Relieve dorado exterior */
        inset 0 0 0 9px #3e2704, /* Hendidura profunda central */
        inset 0 0 0 13px #ffe082, /* Moldura dorada brillante */
        inset 0 0 0 15px #2d1e03, /* Hendidura interior oscura */
        inset 0 0 0 17px #d4af37, /* Filete dorado interno */
        inset 0 0 25px rgba(0, 0, 0, 0.95); /* Sombra interna proyectada sobre la foto */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Para que la imagen se vea completa y no se corte */
    opacity: 0;
    z-index: 1;
    transform: scale(1.03); /* Zoom sutil para evitar cortes apreciables */
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(5,7,10,0.55) 0%, rgba(5,7,10,0.95) 100%);
    z-index: 3; /* Por encima de las imágenes activas */
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    margin-top: 50px;
}

.hero-badge {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    border: 1px solid var(--border-gold);
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    background-color: rgba(212, 175, 55, 0.05);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.9)); /* Resalta sobre el fondo dinámico */
}

.hero-subtitle {
    font-size: 18px;
    color: var(--txt-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95); /* Resalta el texto secundario */
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    z-index: 10;
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid var(--txt-secondary);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--gold-primary);
    border-radius: var(--radius-full);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

.scroll-text {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--txt-muted);
}

@keyframes scroll-wheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 16px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

/* ==========================================================================
   NUESTRA FILOSOFÍA
   ========================================================================== */
.philosophy-section {
    background-color: transparent;
}

.philosophy-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 80px;
}

.story-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-light);
}

.story-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 10s ease;
}

.story-image-card:hover .story-img {
    transform: scale(1.05);
}

.story-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(0deg, rgba(5,7,10,0.95) 0%, rgba(5,7,10,0) 100%);
    display: flex;
    align-items: flex-end;
}

.story-quote {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    font-weight: 500;
    color: var(--gold-primary);
    border-left: 3px solid var(--gold-primary);
    padding-left: 20px;
    line-height: 1.4;
}

.story-text-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-text-card h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.paragraph-lead {
    font-size: 16px;
    color: var(--txt-primary);
    font-weight: 500;
}

.story-text-card p {
    color: var(--txt-secondary);
    line-height: 1.7;
}

/* Ficha Robin Hood */
.robin-hood-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--gold-glow);
    backdrop-filter: var(--glass-blur);
    margin-top: 40px;
}

.robin-hood-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.robin-hood-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: rgba(212, 175, 55, 0.08);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.robin-hood-header h3 {
    font-size: 20px;
}

.badge-gold {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    border: 1px solid var(--border-gold);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-top: 4px;
}

.robin-hood-body > p {
    color: var(--txt-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.circular-flow-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.flow-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.flow-item:hover {
    border-color: rgba(212,175,55,0.3);
    background-color: rgba(255, 255, 255, 0.04);
}

.flow-item h4 {
    font-size: 16px;
    color: var(--txt-primary);
    margin-bottom: 8px;
}

.flow-item.destination-leaders h4 {
    color: var(--gold-primary);
}

.flow-item.destination-social h4 {
    color: #60a5fa; /* Azul social */
}

.flow-item p {
    font-size: 12px;
    color: var(--txt-secondary);
    line-height: 1.6;
}

.flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.flow-connector span {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-primary);
    letter-spacing: 0.05em;
}

.arrow-glow {
    position: relative;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), #60a5fa);
    box-shadow: 0 0 8px var(--gold-primary);
}

.arrow-glow::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #60a5fa;
    border-right: 2px solid #60a5fa;
    transform: rotate(45deg);
}

.robin-hood-footer-note {
    font-size: 13px;
    color: var(--txt-muted);
    text-align: center;
    font-style: italic;
}

/* ==========================================================================
   LAS GOTAS DE ESENCIA (VALORES)
   ========================================================================== */
.esencias-section {
    background-color: rgba(10, 14, 20, 0.45);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.gotas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 24px;
    margin-top: 40px;
}

.gota-card {
    position: relative;
    height: 200px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.gota-shape {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(255,224,130,0.08) 0%, rgba(255,111,0,0.03) 100%);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(212,175,55,0.08);
}

.gota-inner {
    transform: rotate(-45deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.gota-icon {
    font-size: 28px;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.gota-inner h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--txt-primary);
    letter-spacing: 0.05em;
}

.gota-action {
    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    margin-top: 6px;
    opacity: 0;
    transform: translateY(4px);
    transition: var(--transition);
}

.gota-card:hover .gota-shape {
    transform: rotate(45deg) scale(1.05);
    border-color: var(--gold-primary);
    background: linear-gradient(135deg, rgba(255,224,130,0.14) 0%, rgba(255,111,0,0.06) 100%);
    box-shadow: 0 12px 30px rgba(255, 179, 0, 0.15), inset 0 0 20px rgba(212,175,55,0.15);
}

.gota-card:hover .gota-action {
    opacity: 1;
    transform: translateY(0);
}

/* Detalle de Gota (Overlay) */
.gota-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 270px;
    max-width: 90vw;
    height: auto;
    min-height: 230px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7), var(--gold-glow);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    backdrop-filter: var(--glass-blur);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gota-content h3 {
    font-size: 18px;
    color: var(--gold-primary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.gota-sub {
    font-size: 13px;
    color: var(--txt-secondary);
    line-height: 1.45;
    margin-bottom: 10px;
}

.huella-box {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(212, 175, 87, 0.25);
    width: 100%;
}

.huella-text {
    font-size: 13px;
    font-style: italic;
    color: var(--txt-primary);
    line-height: 1.45;
    margin: 0;
}

/* Estado Activo */
.gota-card.active .gota-shape {
    opacity: 0;
    transform: rotate(45deg) scale(0.8);
    pointer-events: none;
}

.gota-card.active .gota-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

/* Close indicator */
.gota-content::before {
    content: '×';
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 18px;
    color: var(--txt-muted);
    cursor: pointer;
    font-weight: 300;
}

/* ==========================================================================
   PROGRAMAS Y SERVICIOS
   ========================================================================== */
.servicios-section {
    background-color: transparent;
}

.servicios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.servicio-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition);
    height: 100%;
}

.servicio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* Tarjeta Insignia Premium */
.premium-card {
    border-color: var(--border-gold);
    box-shadow: var(--gold-glow);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-grad);
}

.servicio-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--gold-grad);
    color: #05070a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.servicio-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.servicio-location {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.servicio-content h3 {
    font-size: 32px;
    margin-bottom: 4px;
}

.servicio-lead {
    font-size: 15px;
    color: var(--txt-primary);
    line-height: 1.6;
}

.servicio-details-row {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item strong {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--txt-muted);
    letter-spacing: 0.05em;
}

.detail-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--txt-primary);
}

.servicio-methodology {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 10px;
}

.servicio-methodology h5 {
    font-size: 13px;
    color: var(--gold-primary);
    margin-bottom: 6px;
}

.servicio-methodology p {
    font-size: 12px;
    color: var(--txt-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.quote-secret {
    font-family: var(--font-heading);
    font-size: 12px;
    font-style: italic;
    color: var(--txt-primary);
    border-left: 2px solid var(--gold-primary);
    padding-left: 10px;
}

/* Sub-grid lateral */
.servicios-subgrid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 992px) {
    .servicios-subgrid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* Tarjetas de Próximamente (Teasers) */
.proximamente-card {
    border-style: dashed;
    border-color: rgba(212, 175, 87, 0.25);
    background-color: rgba(10, 15, 24, 0.4);
    opacity: 0.85;
}

.proximamente-card:hover {
    border-color: var(--gold-primary);
    opacity: 1;
}

.placeholder-text {
    font-style: italic;
    color: var(--txt-muted);
}

.proximamente-badge {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--txt-muted) !important;
}

.servicios-subgrid .servicio-content {
    padding: 36px;
    gap: 12px;
}

.servicio-duration {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-primary);
}

.servicios-subgrid h3 {
    font-size: 22px;
}

.servicios-subgrid p {
    font-size: 13px;
    color: var(--txt-secondary);
    line-height: 1.6;
}

.servicio-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.servicio-space {
    font-size: 10px;
    color: var(--txt-muted);
    font-weight: 500;
}

/* ==========================================================================
   EL EQUIPO
   ========================================================================== */
.equipo-section {
    background-color: rgba(10, 14, 20, 0.45);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.equipo-niveles {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.equipo-nivel {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.equipo-nivel .equipo-card {
    width: 270px;
    flex-shrink: 0;
}

.equipo-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.equipo-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: 0 10px 25px rgba(255, 179, 0, 0.1);
}

.member-img-container {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background-color: #0c1017;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Las tarjetas se mantienen limpias en hover (el texto se abre en el modal al hacer clic) */
.equipo-card:hover .member-img {
    transform: scale(1.05);
    filter: brightness(1.08);
}

.member-overlay {
    display: none !important;
}

.member-details {
    text-align: center;
    color: var(--txt-primary);
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) transparent;
}

.member-details p {
    font-size: 12.5px;
    line-height: 1.6;
    color: #e2e8f0;
}

.member-details p.gota-title strong,
.member-details p strong {
    color: var(--gold-primary);
    display: block;
    margin-bottom: 8px;
    font-size: 13.5px;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.member-details p.gota-desc {
    font-size: 12px;
    line-height: 1.55;
    color: #cbd5e1;
    text-align: left;
}

.member-info {
    padding: 16px;
    text-align: center;
}

.member-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.member-role {
    font-size: 10px;
    color: var(--gold-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   TEST DE CONEXIÓN EMOCIONAL (DIAGNÓSTICO)
   ========================================================================== */
.test-section {
    background-color: transparent;
}

.test-card {
    padding: 48px;
    margin-top: 30px;
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
}

.quiz-step {
    display: none;
    width: 100%;
    animation: fade-in-quiz 0.4s ease forwards;
}

.quiz-step.active {
    display: block;
}



.quiz-progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    overflow: hidden;
}

.quiz-progress-bar .progress {
    height: 100%;
    background: var(--gold-grad);
    box-shadow: 0 0 8px var(--gold-primary);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.quiz-step-indicator {
    font-size: 10px;
    font-weight: 700;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
}

.quiz-step h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
    background: rgba(15, 20, 30, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    color: var(--txt-primary);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    backdrop-filter: blur(10px);
}

.option-btn:hover {
    background: rgba(255, 224, 130, 0.08);
    border-color: var(--gold-primary);
    transform: translateX(6px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.option-letter-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(180, 130, 20, 0.3));
    border: 1.5px solid var(--gold-primary);
    color: #fcf6ba;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.option-btn:hover .option-letter-badge {
    background: linear-gradient(135deg, #bf953f, #aa771c);
    color: #0b0f19;
    transform: scale(1.1);
}

.option-txt {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.option-txt span {
    font-size: 13.5px;
    line-height: 1.45;
    color: #e2e8f0;
}

/* Pantalla de Carga */
.quiz-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    gap: 20px;
}

.alquimia-loader {
    position: relative;
    width: 60px;
    height: 60px;
}

.alquimia-drop {
    width: 20px;
    height: 20px;
    background: var(--gold-grad);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    position: absolute;
    top: 15px;
    left: 20px;
    animation: drop-bounce 1.5s infinite ease-in-out;
}

.alquimia-glow {
    width: 40px;
    height: 6px;
    background-color: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
    left: 10px;
    filter: blur(2px);
    animation: drop-shadow-pulse 1.5s infinite ease-in-out;
}

@keyframes drop-bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-15px); }
}

@keyframes drop-shadow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(0.6); opacity: 0.2; }
}

.quiz-loading p {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Resultado */
.quiz-result {
    display: none;
    width: 100%;
    text-align: center;
    animation: fade-in-quiz 0.6s ease forwards;
}

.result-badge {
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
    border: 1px solid var(--border-gold);
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.quiz-result h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.quiz-result > p {
    font-size: 13px;
    color: var(--txt-secondary);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 24px auto;
}

.recommendation-box {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--gold-glow);
    text-align: left;
}

.rec-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 6px;
}

.recommendation-content h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--txt-primary);
}

.recommendation-content p {
    font-size: 12px;
    color: var(--txt-secondary);
    line-height: 1.5;
}

.result-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

@keyframes fade-in-quiz {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ZONA MULTIMEDIA (SCREENING ROOM)
   ========================================================================== */
.multimedia-section {
    background-color: rgba(10, 14, 20, 0.45);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.video-screening-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
}

.video-container-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
}

.screening-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-info-content {
    padding: 32px 40px;
}

.video-info-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--gold-primary);
}

.video-info-content p {
    font-size: 13px;
    color: var(--txt-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   CONTACTO Y RESERVAS
   ========================================================================== */
.contacto-section {
    background-color: transparent;
}

.contacto-card {
    padding: 40px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--txt-secondary);
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--txt-primary);
    font-family: var(--font-body);
    font-size: 13px;
    padding: 12px 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: none;
}

/* Custom select styling for standard HTML select */
.form-group select option {
    background-color: #0c1017;
    color: var(--txt-primary);
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.footer {
    background-color: #030508;
    border-top: 1px solid var(--border-light);
    padding: 60px 0 30px 0;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 52px;
    width: auto;
    align-self: flex-start;
    filter: drop-shadow(0 2px 6px rgba(212,175,55,0.15));
}

.footer-brand p {
    font-size: 12px;
    color: var(--txt-secondary);
    line-height: 1.6;
}

.footer-links h4,
.footer-spaces h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    margin-bottom: 16px;
}

.footer-links ul,
.footer-spaces ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 12px;
    color: var(--txt-secondary);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 4px;
}

.footer-spaces li {
    font-size: 11px;
    color: var(--txt-secondary);
    line-height: 1.5;
}

.footer-spaces li strong {
    color: var(--txt-primary);
    display: block;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--txt-muted);
}

.portal-link {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    color: var(--txt-muted);
}

.portal-link:hover {
    border-color: var(--border-gold);
    color: var(--gold-primary);
    background-color: rgba(212,175,55,0.02);
}

/* ==========================================================================
   ANIMACIONES GENERALES
   ========================================================================== */
.animate-fade {
    animation: key-fade 1s ease forwards;
}

.animate-fade-delay {
    opacity: 0;
    animation: key-fade 1s ease 0.6s forwards;
}

.animate-slide-up {
    animation: key-slide-up 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.animate-slide-up-delay {
    opacity: 0;
    animation: key-slide-up 1s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s forwards;
}

@keyframes key-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes key-slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toast de notificación estético */
.toast-success {
    position: fixed;
    top: 24px;
    right: 24px;
    background-color: #032014;
    border: 1px solid #10b981;
    color: #a7f3d0;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10000;
    animation: toast-in 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes toast-in {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-success.toast-out {
    animation: toast-out 0.3s ease forwards;
}

@keyframes toast-out {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVO (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .gotas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .equipo-nivel .equipo-card {
        width: 250px;
    }
    .equipo-nivel {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .hero-content {
        margin-top: 0;
        padding: 10px 14px;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-badge {
        font-size: 8.5px;
        letter-spacing: 0.16em;
        padding: 4px 12px;
        margin-bottom: 12px;
        white-space: normal;
        max-width: 90%;
    }

    .hero-title {
        font-size: clamp(21px, 6vw, 28px);
        line-height: 1.15;
        margin-bottom: 10px;
        max-width: 92%;
    }

    .hero-subtitle {
        font-size: 12.5px;
        line-height: 1.45;
        margin-bottom: 16px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 270px;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 10px 16px;
        font-size: 12.5px;
    }

    .hero-slider-container {
        width: 94%;
        height: 72vh;
        max-height: 560px;
        border-width: 12px; /* Marco más refinado y proporcionado en móvil */
        box-shadow: 
            0 15px 30px rgba(0, 0, 0, 0.9),
            inset 0 0 15px rgba(0, 0, 0, 0.8),
            0 0 0 2px #4a3206,
            0 0 0 3px #ffe082,
            inset 0 0 0 2px #5c4008,
            inset 0 0 0 4px #ffd54f;
    }

    /* Menu móvil */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 100px;
        right: 0;
        transform: translateX(100%);
        width: 280px;
        height: calc(100vh - 100px);
        background-color: #07090e;
        border-left: 1px solid var(--border-light);
        padding: 30px 40px;
        transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        backdrop-filter: var(--glass-blur);
        overflow-y: auto;
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateX(0);
        pointer-events: auto;
    }

    .navbar.scrolled .nav-menu {
        top: 80px;
        height: calc(100vh - 80px);
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        width: 100%;
    }

    .nav-toggle.open .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .nav-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Grid filosofía */
    .philosophy-story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story-img {
        height: 300px;
    }

    .circular-flow-grid {
        grid-template-columns: 1fr;
    }

    .arrow-glow {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--gold-primary), #60a5fa);
    }

    .arrow-glow::after {
        right: -4px;
        bottom: -2px;
        top: auto;
        transform: rotate(135deg);
    }

    /* Gotas */
    .gotas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 16px;
    }

    /* Servicios */
    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .servicio-content {
        padding: 30px;
    }

    /* Equipo */
    .equipo-nivel .equipo-card {
        width: calc(50% - 10px);
        min-width: 230px;
        max-width: 320px;
    }

    /* Formulario */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contacto-card {
        padding: 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .gotas-grid {
        grid-template-columns: 1fr;
    }
    .equipo-nivel .equipo-card {
        width: 100%;
        max-width: 290px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .test-card {
        padding: 24px;
    }
    
    .option-btn {
        padding: 12px 16px;
        gap: 12px;
    }
}

/* ==========================================================================
   FONDO ANIMADO: EMISOR Y PARTÍCULAS
   ========================================================================== */
#bg-perfume-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1005; /* Se dibuja por encima del contenido y navbar */
    pointer-events: none;
    background-color: transparent;
}

.perfume-emitter {
    position: fixed;
    left: 20px;
    bottom: 30px;
    width: 180px;
    height: 180px;
    z-index: 1040; /* Siempre en primer plano, justo por debajo del contador (1050) */
    opacity: 0.95;
    pointer-events: none;
    transform: rotate(15deg);
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.6)) drop-shadow(0 0 15px rgba(212,175,55,0.4));
    animation: float-emitter 6s ease-in-out infinite;
}

.emitter-bottle {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes float-emitter {
    0%, 100% { transform: rotate(15deg) translateY(0); }
    50% { transform: rotate(10deg) translateY(-8px); }
}

@media (max-width: 768px) {
    .perfume-emitter {
        display: none; /* En móviles se oculta el frasco estático fijo para liberar espacio de lectura; el canvas de partículas doradas sigue activo */
    }
}

/* ==========================================================================
   NUEVA SECCIÓN: GALERÍA DEL EVENTO INSIGNIA & ACCIONES
   ========================================================================== */
.servicio-actions {
    display: flex;
    gap: 16px;
    width: 100%;
    margin-top: 10px;
}

.servicio-actions .btn {
    flex: 1;
}

@media (max-width: 576px) {
    .servicio-actions {
        flex-direction: column;
        gap: 12px;
    }
}

.galeria-section {
    background-color: rgba(5, 7, 10, 0.4);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* Controles de la Galería */
.galeria-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
}

#btn-play-slideshow {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 179, 0, 0.2);
}

#btn-play-slideshow:hover {
    box-shadow: 0 8px 30px rgba(255, 179, 0, 0.4);
    transform: translateY(-2px);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.galeria-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border-light);
    background-color: var(--bg-card);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s, box-shadow 0.3s;
}

.galeria-item.hidden-thumb {
    display: none;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 7, 10, 0.9) 0%, rgba(5, 7, 10, 0.4) 50%, rgba(5, 7, 10, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    border-radius: var(--radius-md);
}

.galeria-overlay h4 {
    font-size: 15px;
    color: var(--txt-primary);
    margin-bottom: 4px;
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.galeria-overlay p {
    font-size: 11px;
    color: var(--txt-secondary);
    transform: translateY(10px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0.05s;
    line-height: 1.3;
}

/* Hover effects */
.galeria-item:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.galeria-item:hover img {
    transform: scale(1.08);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-item:hover .galeria-overlay h4,
.galeria-item:hover .galeria-overlay p {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 7, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-gold);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), var(--gold-glow);
    transform: scale(0.95);
    opacity: 0;
    filter: blur(8px);
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.lightbox-modal.active .lightbox-img {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
}

.lightbox-modal.active .lightbox-img.changing {
    opacity: 0;
    filter: blur(12px);
    transform: scale(0.97);
}

.lightbox-caption {
    font-family: var(--font-heading);
    color: var(--txt-primary);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.02em;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--gold-primary);
    transform: scale(1.15);
}

.lightbox-play {
    position: absolute;
    top: -42px;
    right: 50px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-play:hover {
    color: var(--gold-primary);
    transform: scale(1.15);
}

.lightbox-play.playing {
    color: var(--gold-primary);
    text-shadow: var(--gold-glow);
}

.lightbox-sound {
    position: absolute;
    top: -42px;
    right: 95px;
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-sound:hover {
    color: var(--gold-primary);
    transform: scale(1.15);
}

.lightbox-sound.muted {
    opacity: 0.4;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
    user-select: none;
}

.lightbox-arrow:hover {
    background: var(--gold-grad);
    color: #05070a;
    border-color: transparent;
    box-shadow: var(--gold-glow);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-arrow-left {
    left: -80px;
}

.lightbox-arrow-right {
    right: -80px;
}

/* Ajustes Responsive */
@media (max-width: 1024px) {
    .galeria-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .lightbox-arrow-left {
        left: -60px;
    }
    .lightbox-arrow-right {
        right: -60px;
    }
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    .lightbox-arrow-left {
        left: -15px;
        background: rgba(5, 7, 10, 0.85);
        border-color: var(--border-gold);
    }
    .lightbox-arrow-right {
        right: -15px;
        background: rgba(5, 7, 10, 0.85);
        border-color: var(--border-gold);
    }
    .lightbox-close {
        top: -50px;
        right: 5px;
    }
}

@media (max-width: 480px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    .galeria-item {
        aspect-ratio: 16 / 10;
    }
}

/* ==========================================================================
   PORTAL DE ADMINISTRACIÓN: PANEL DE AUTOR
   ========================================================================== */
.admin-body {
    display: block;
    min-height: 100vh;
    padding: 20px;
    background: #080303 url('Definitivo/red_velvet_bg.png') no-repeat center center fixed;
    background-size: cover;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 80vh;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    text-align: center;
}

.login-card .logo-img {
    height: 60px;
    margin: 0 auto 20px auto;
}

.login-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #fff 40%, var(--gold-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-card p {
    font-size: 13px;
    color: var(--txt-secondary);
    margin-bottom: 30px;
}

.login-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.login-form label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--txt-secondary);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.login-form input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}

.login-form input:focus {
    outline: none;
    border-color: var(--gold-primary);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.login-error {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 15px;
    min-height: 18px;
    font-weight: 600;
}

/* Dashboard Wrapper */
.dashboard-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
    display: none; /* Revelado por JS */
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-brand .logo-img {
    height: 50px;
}

.dashboard-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-welcome {
    font-size: 13px;
    color: var(--txt-secondary);
}

.admin-welcome strong {
    color: var(--txt-primary);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.metric-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid var(--border-gold);
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--txt-muted);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--txt-primary);
}

/* Charts & Leads split grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.dashboard-panel {
    padding: 30px;
    margin-bottom: 30px;
}

.panel-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--txt-primary);
    border-left: 3px solid var(--gold-primary);
    padding-left: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Custom horizontal chart */
.chart-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chart-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: var(--txt-secondary);
}

.chart-bar-container {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    background: var(--gold-grad);
    border-radius: var(--radius-full);
    width: 0%; /* Animado por JS */
    transition: width 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Leads Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}

.dashboard-table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 9px;
    color: var(--txt-muted);
    letter-spacing: 0.05em;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
}

.dashboard-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--txt-secondary);
    vertical-align: middle;
}

.dashboard-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
}

.lead-name {
    font-weight: 600;
    color: var(--txt-primary);
}

.lead-meta {
    font-size: 11px;
    color: var(--txt-muted);
    margin-top: 2px;
}

.lead-msg-text {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    cursor: help;
}

.lead-msg-text:hover {
    white-space: normal;
    color: var(--txt-primary);
}

/* Status Badges */
.status-select {
    background-color: rgba(5, 7, 10, 0.8);
    border: 1px solid var(--border-light);
    color: var(--txt-secondary);
    font-family: var(--font-body);
    font-size: 11px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.status-select:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.status-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
}

.status-badge-pendiente {
    background-color: rgba(255, 179, 0, 0.15);
    color: #ffb300;
    border: 1px solid rgba(255, 179, 0, 0.25);
}

.status-badge-contacted {
    background-color: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.status-badge-aprobado {
    background-color: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.status-badge-archivado {
    background-color: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.25);
}

/* Delete Button */
.btn-delete {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.btn-delete:hover {
    background-color: rgba(255, 107, 107, 0.1);
    transform: scale(1.1);
}

.empty-state {
    text-align: center;
    padding: 50px 0;
    color: var(--txt-muted);
}

.empty-state-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

/* Responsive Dashboard */
@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .dashboard-header-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================================================
   EFECTO DE ZOOM Y DESCRIPCIÓN EN HOVER DE MENÚ
   ========================================================================== */
@media (min-width: 769px) {
    .nav-menu ul li {
        position: relative;
        z-index: 1;
        transition: z-index 0.3s;
    }
    
    .nav-menu ul li:hover {
        z-index: 1010 !important; /* Siempre en el primer plano o capa más alta */
    }
    
    .nav-bottle-wrapper {
        transform-origin: center 10px; /* Anclado cerca de la boquilla */
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), width 0.3s ease, height 0.3s ease;
        will-change: transform;
    }
    
    /* El frasco se hace grande para leer bien la etiqueta */
    .nav-link:hover .nav-bottle-wrapper {
        transform: scale(2.5);
    }
    
    /* Difuminar los frascos no hovered de la barra de navegación */
    .nav-menu ul:hover li:not(:hover) {
        filter: blur(3px);
        opacity: 0.5;
    }
}

/* ==========================================================================
   CAPA DE FONDO DIFUMINADA EN HOVER DE MENÚ
   ========================================================================== */
.page-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 998; /* Detrás de la cabecera (1000) y el frasco en hover (1010) */
    background-color: rgba(5, 7, 10, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.menu-hover-active .page-backdrop {
    opacity: 1;
}

body.menu-hover-active .logo-container {
    filter: blur(3px);
    opacity: 0.5;
}

/* ==========================================================================
   WIDGET CONTADOR FLOTANTE (TEAM CLICKER)
   ========================================================================== */
.contador-flotante {
    position: fixed;
    left: 35px;
    bottom: 285px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    user-select: none;
}

.clicker-button-wrapper {
    position: relative;
    width: 175px;
    height: 210px;
    cursor: pointer;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
    transition: transform 0.1s ease, filter 0.3s ease;
}

.clicker-button-wrapper:hover {
    transform: scale(1.04) translateY(-2px);
    filter: drop-shadow(0 12px 30px rgba(255, 179, 0, 0.25));
}

.clicker-button-wrapper:active,
.clicker-button-wrapper.pressed {
    transform: scale(0.96) translateY(3px);
}

.clicker-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.clicker-digits {
    position: absolute;
    left: 11.2%;
    top: 43.3%;
    width: 38.2%;
    height: 24.3%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5f5f5;
    font-family: 'Courier New', Courier, monospace;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.95);
    background-color: transparent;
    pointer-events: none;
}

/* Tarjeta de Alma Transformada con Marco de Lujo */
.clicker-tooltip-container {
    position: absolute;
    bottom: 200px;
    left: -15px;
    width: 340px;
    background: radial-gradient(circle at 50% 25%, #1f180e 0%, #0d0a06 100%);
    border: 2.5px solid #d4af37;
    border-radius: 36px;
    padding: 26px 20px 22px 20px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.95), 
        0 0 0 1px rgba(212, 175, 55, 0.35), 
        0 0 30px rgba(212, 175, 55, 0.3), 
        inset 0 0 25px rgba(212, 175, 55, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-10px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    z-index: 1200;
}

.clicker-tooltip-container::before {
    content: "✦";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #110d07;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 13px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.clicker-tooltip-container.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.tooltip-avatar-frame {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--gold-primary);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 24px rgba(212, 175, 55, 0.55);
    margin-bottom: 6px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d0a06;
}

.tooltip-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.tooltip-title {
    color: #fcf6ba;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    margin: 4px 0 2px 0;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 18px rgba(212, 175, 55, 0.45);
}

.tooltip-subtitle {
    display: none;
}

.tooltip-desc {
    display: none;
}

.tooltip-meta {
    font-family: var(--font-heading);
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(130, 95, 20, 0.65));
    border: 1.5px solid var(--gold-primary);
    padding: 8px 24px;
    border-radius: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.35);
    margin-top: 4px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .contador-flotante {
        left: auto;
        right: 12px;
        bottom: 12px;
        top: auto;
        align-items: flex-end;
    }
    
    .clicker-button-wrapper {
        width: 86px;
        height: 104px;
    }

    .clicker-digits {
        font-size: 13.5px;
    }

    .clicker-tooltip-container {
        bottom: 110px;
        right: 0px;
        left: auto;
        width: 270px;
        padding: 16px 14px 14px 14px;
        border-radius: 20px;
    }
    
    .clicker-tooltip-container.show {
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   EXPERIENCIAS TABS (PORTAFOLIO DE AUTOR)
   ========================================================================== */
.experiencias-tabs {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 30px;
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}

/* Lista de pestañas (Izquierda) */
.tabs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-left: 4px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-sizing: border-box;
    text-align: left;
}

.tab-item:hover {
    border-color: rgba(212, 175, 87, 0.3);
    border-left-color: var(--gold-primary);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tab-item.active {
    background-color: rgba(212, 175, 87, 0.03);
    border-color: var(--border-gold);
    border-left-color: var(--gold-primary);
    box-shadow: var(--gold-glow);
}

.tab-badge {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--txt-muted);
    text-transform: uppercase;
    transition: var(--transition);
}

.tab-item.active .tab-badge,
.tab-item:hover .tab-badge {
    color: var(--gold-primary);
}

.tab-item h4 {
    font-size: 16px;
    color: var(--txt-primary);
    transition: var(--transition);
    margin: 0;
    font-family: var(--font-heading);
}

.tab-item.active h4 {
    color: #ffffff;
    font-weight: 700;
}

/* Contenedor de contenido (Derecha) */
.tabs-content-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    width: 100%;
    box-sizing: border-box;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

/* Ajustes responsivos para pestañas */
@media (max-width: 992px) {
    .experiencias-tabs {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .tabs-list {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        gap: 12px;
        scrollbar-width: none; /* Firefox */
    }
    
    .tabs-list::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }
    
    .tab-item {
        flex: 0 0 auto;
        border-left: 1px solid var(--border-light);
        border-top: 4px solid rgba(255, 255, 255, 0.05);
        padding: 12px 18px;
    }
    
    .tab-item:hover {
        transform: none;
    }
    
    .tab-item.active {
        border-top-color: var(--gold-primary);
        border-left-color: var(--border-gold);
    }
    
    .tabs-content-container {
        min-height: auto;
    }
}

/* ==========================================================================
   GALERÍA DE EVENTOS (3 TARJETAS EXCLUSIVAS)
   ========================================================================== */
.galeria-eventos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.evento-galeria-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.evento-galeria-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--gold-glow);
}

.evento-galeria-cover {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.evento-galeria-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.evento-galeria-card:hover .evento-galeria-cover img {
    transform: scale(1.08);
}

.evento-galeria-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.badge-proximamente {
    border-color: var(--border-light);
    color: var(--txt-secondary);
}

.proximamente-evento-card .evento-galeria-badge {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.proximamente-evento-card:hover .evento-galeria-badge {
    opacity: 1;
}

.evento-galeria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(3px);
    z-index: 3;
}

.evento-galeria-card:hover .evento-galeria-overlay {
    opacity: 1;
}

.play-btn-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--gold-primary);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.overlay-action {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.evento-galeria-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.evento-galeria-info h3 {
    font-size: 19px;
    color: var(--txt-primary);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.evento-location-tag {
    font-size: 12px;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.evento-desc-short {
    font-size: 13px;
    color: var(--txt-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.w-100 {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.proximamente-evento-card {
    opacity: 0.85;
    cursor: default;
}
.proximamente-evento-card:hover {
    transform: none;
    border-color: var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

@media (max-width: 992px) {
    .galeria-eventos-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================
   MODAL DE LOGOTIPO AMPLIADO AL CENTRO DE LA PANTALLA
   ========================================== */
.logo-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3500;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(5, 8, 14, 0.93);
}

.logo-zoom-modal.active {
    display: flex;
    opacity: 1;
}

.logo-zoom-overlay {
    position: absolute;
    inset: 0;
}

.logo-zoom-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: scale(0.3) translateY(-40px);
    opacity: 0;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.logo-zoom-modal.active .logo-zoom-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.logo-zoom-img {
    width: 480px;
    max-width: 88vw;
    max-height: 65vh;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.75));
    animation: logoGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes logoGlowPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
    }
    100% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 45px rgba(212, 175, 55, 0.85));
    }
}

.logo-zoom-text {
    margin-top: 24px;
}

.logo-zoom-text h3 {
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--txt-primary);
    letter-spacing: 0.14em;
    margin-bottom: 6px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

.logo-zoom-text p {
    font-size: 13px;
    color: var(--gold-primary);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 700;
}

.logo-zoom-close {
    position: absolute;
    top: -55px;
    right: -30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.logo-zoom-close:hover {
    color: var(--gold-primary);
    transform: scale(1.2);
}

/* ==========================================================================
   MODAL DE INTEGRANTE DEL EQUIPO AL CENTRO (GOTA DE ESENCIA EN DETALLE)
   ========================================================================== */
.equipo-card {
    cursor: pointer;
}

.equipo-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3800;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.equipo-zoom-modal.active {
    display: flex;
    opacity: 1;
}

.equipo-zoom-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    filter: blur(18px) brightness(0.35);
    transform: scale(1.12);
    transition: background-image 0.4s ease;
}

.equipo-zoom-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(12, 18, 30, 0.75) 0%, rgba(5, 8, 14, 0.94) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.equipo-zoom-card {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 680px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 42px 36px;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    background: rgba(10, 14, 24, 0.88);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.7) translateY(40px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) transparent;
}

.equipo-zoom-modal.active .equipo-zoom-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.equipo-zoom-avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5), 0 8px 25px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.equipo-zoom-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.equipo-zoom-name {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--txt-primary);
    margin-bottom: 4px;
    letter-spacing: 0.06em;
}

.equipo-zoom-role {
    font-size: 13px;
    color: var(--gold-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
}

.equipo-zoom-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 20px 0;
}

.equipo-zoom-gota {
    width: 100%;
    text-align: center;
}

.equipo-zoom-title {
    font-family: var(--font-heading);
    font-size: 21px;
    color: #fcf6ba;
    margin: 12px 0 16px 0;
    letter-spacing: 0.04em;
}

.equipo-zoom-desc {
    font-size: 15.5px;
    line-height: 1.75;
    color: #e2e8f0;
    max-width: 580px;
    margin: 0 auto;
    text-align: justify;
    text-align-last: center;
}

.equipo-zoom-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.equipo-zoom-close:hover {
    color: var(--gold-primary);
    transform: scale(1.2);
}

/* ==========================================================================
   ADECUACIÓN LEGAL, RGPD Y COOKIES
   ========================================================================== */

/* Barra de Contacto Directo en la Sección de Contacto */
.direct-contact-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    margin-bottom: 24px;
    font-size: 13.5px;
    color: #cbd5e1;
}

.direct-contact-bar strong {
    color: var(--gold-light);
    font-weight: 600;
}

.direct-contact-bar a {
    color: var(--gold-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: var(--transition);
}

.direct-contact-bar a:hover {
    color: #ffffff;
}

.btn-copy-email {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-left: 8px;
    vertical-align: middle;
}

.btn-copy-email:hover {
    background: rgba(212, 175, 55, 0.25);
    color: #ffffff;
    border-color: var(--gold-primary);
    transform: translateY(-1px);
}

.btn-copy-email.copied {
    background: rgba(74, 222, 128, 0.2);
    border-color: #4ade80;
    color: #4ade80;
}

/* Checkbox de Privacidad en Formulario */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    text-align: left;
}

.form-checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin-top: 2px;
    accent-color: var(--gold-primary);
    cursor: pointer;
}

.form-checkbox-group label {
    font-family: var(--font-body) !important;
    font-size: 12.5px !important;
    color: var(--txt-secondary) !important;
    line-height: 1.5 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    cursor: pointer;
}

.form-checkbox-group label a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-checkbox-group label a:hover {
    color: #ffffff;
}

/* Cláusula Informativa de Primera Capa RGPD */
.rgpd-layer-one {
    margin-top: 12px;
    margin-bottom: 8px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: rgba(5, 8, 14, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.6;
    text-align: left;
}

.rgpd-layer-one-title {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rgpd-layer-one ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rgpd-layer-one li strong {
    color: #e2e8f0;
}

.rgpd-layer-one a {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Footer Grid con 4 Columnas (Incluye Legal) */
.footer-grid.footer-grid-4 {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer-legal h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-primary);
    margin-bottom: 16px;
}

.footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-legal a {
    font-size: 12px;
    color: var(--txt-secondary);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--gold-primary);
    padding-left: 4px;
}

.footer-brand-contact {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-brand-contact a {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Banner de Cookies Técnicas */
.cookie-banner {
    position: fixed;
    bottom: -250px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 960px;
    background: rgba(10, 14, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.cookie-banner.visible {
    bottom: 20px;
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #fcf6ba;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-banner-desc {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-desc a {
    color: var(--gold-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-desc a:hover {
    color: #ffffff;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, #d4af37, #aa8420);
    color: #06080d;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, #fcf6ba, #d4af37);
}

/* ==========================================================================
   ESTILOS DE PÁGINAS LEGALES (Aviso Legal, Privacidad, Cookies)
   ========================================================================== */
.legal-page-body {
    background-color: var(--bg-dark);
    color: var(--txt-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-navbar {
    background: rgba(5, 8, 14, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.legal-navbar-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: var(--transition);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(212, 175, 55, 0.05);
}

.legal-back-link:hover {
    color: #ffffff;
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.15);
}

.legal-container {
    max-width: 920px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
    flex: 1;
}

.legal-card {
    background: rgba(12, 17, 27, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-lg);
    padding: 45px 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.legal-header {
    text-align: center;
    margin-bottom: 35px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 25px;
}

.legal-badge {
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--gold-primary);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.legal-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.legal-meta {
    font-size: 13px;
    color: #94a3b8;
    font-style: italic;
}

.legal-content {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.8;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fcf6ba;
    letter-spacing: 0.05em;
    margin: 32px 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--gold-light);
    margin: 20px 0 8px 0;
}

.legal-content p {
    margin-bottom: 16px;
    text-align: justify;
}

.legal-content ul, .legal-content ol {
    margin: 12px 0 18px 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
    background: rgba(6, 9, 15, 0.6);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.legal-data-table th,
.legal-data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.legal-data-table th {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-data-table td {
    color: #cbd5e1;
}

.legal-box-highlight {
    background: rgba(212, 175, 55, 0.06);
    border-left: 3px solid var(--gold-primary);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 20px 0;
    font-size: 13px;
    color: #e2e8f0;
}

.legal-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    flex-wrap: wrap;
}

.legal-tab-btn {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--txt-secondary);
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.04);
    text-decoration: none;
    transition: var(--transition);
}

.legal-tab-btn:hover, .legal-tab-btn.active {
    color: #ffffff;
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.18);
}

@media (max-width: 900px) {
    .footer-grid.footer-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .legal-card {
        padding: 30px 20px;
    }
    .legal-title {
        font-size: 24px;
    }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ==========================================================================
   PROTECCIÓN DE ACTIVOS MULTIMEDIA Y DERECHOS DE AUTOR (ANTI-CLONACIÓN)
   ========================================================================== */
img, canvas, video, audio {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.evento-galeria-cover img,
.lightbox-img,
.equipo-card-avatar img,
.emitter-bottle {
    -webkit-user-drag: none;
}

/* Marca de agua de autor sobre la visualización ampliada */
.lightbox-watermark {
    position: absolute;
    bottom: 22px;
    right: 25px;
    background: rgba(10, 14, 23, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #e6c66e;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    pointer-events: none;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    z-index: 25;
}

.lightbox-watermark svg {
    width: 12px;
    height: 12px;
    fill: #e6c66e;
}

/* Notificación de protección de derechos de autor */
.toast-protection {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(18, 22, 34, 0.95);
    border: 1px solid var(--border-gold);
    color: #f3e5ab;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-protection.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
