/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
  --bg: #f0f4f8; /* Fondo claro profesional */
  --primary: #0b1c2d; /* Azul oscuro corporativo */
  --accent: #ff5e00; /* Naranja SegurAr */
  --text: #1e293b;
  --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg);
    font-family: var(--font-main);
    color: var(--text);
    overflow: hidden; /* Evitar scroll vertical por diseño */
    height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991px) {
    body {
        overflow-y: auto;
        height: auto;
        overflow-x: hidden;
    }
}

/* --- Intro Video Overlay --- */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 5000; /* Prioridad máxima absoluta */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-video {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain; /* Ajustar sin recortar ni perder resolución */
    /* border: none; Eliminar borde para pantalla completa limpia */
    /* box-shadow: none; */
}

.intro-skip-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 5003;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.intro-skip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.intro-close {
    display: none; /* Ocultar botón de cierre para bloquear hasta el final */
}

/* ... existing styles ... */

/* --- RESPONSIVE OPTIMIZATION --- */
@media (max-width: 991px) {
    body, html {
        overflow-x: hidden; /* Prevent horizontal scroll */
        width: 100%;
    }

    .main-header {
        height: 80px;
        padding: 0 15px;
    }
    
    .header-icon-container {
        width: 60px;
        height: 60px;
    }

    .hl-text {
        height: 35px;
        margin-top: 5px;
    }

    /* WhatsApp Button Round Mobile */
    .whatsapp-btn-header span {
        display: none;
    }
    .whatsapp-btn-header {
        padding: 10px;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        justify-content: center;
        align-items: center;
        gap: 0;
    }
    
    .whatsapp-btn-header svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .container-fluid {
        padding-top: 90px; /* 80px header + 10px padding */
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 0;
        height: auto;
    }

    .row.h-100 {
        min-height: auto;
        /* Reordenar: Logo (animación) primero, Contenido después */
        flex-direction: column-reverse; 
        display: flex;
    }

    .content-col {
        padding: 40px 20px 100px 20px !important; /* Padding bottom extra para footer */
        text-align: center;
        width: 100%;
    }

    .logo-col {
        height: auto; /* Altura dinámica */
        min-height: auto;
        width: 100%;
        position: relative;
        padding: 5px;
        overflow: visible;
        margin-top: 0;
    }

    /* Estructura Flex para separar Logo y Cartas */
    .logo-card-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        position: relative;
        overflow: visible;
    }

    /* 1. Logo Area (Arriba) */
    #logo-escena {
        order: -1; /* Forzar posición superior */
        position: relative;
        height: 400px;
        min-height: 400px;
        width: calc(100% - 10px);
        max-width: 95%;
        margin-bottom: 30px;
        margin-top: 10px;
        padding: 5px;
        /* Escalar más grande para que abarque el div */
        transform: scale(0.95); 
        transform-origin: center center;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 2. Tarjetas (Abajo, lista estática) */
    .service-corner-card {
        order: 1; /* Forzar posición inferior */
        position: relative !important; /* Ya no absolute/fixed en esquinas */
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 15px auto !important; /* Centrado y espaciado vertical */
        width: 95% !important;
        max-width: 100%;
        
        /* Desactivar transformaciones de física */
        transform: none !important;
        transition: none !important;
        
        /* Asegurar visibilidad y estilo */
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10;
    }
    
    /* Desactivar hover en mobile */
    .service-corner-card:hover {
        transform: none !important;
    }

    /* Footer Responsive */
    .main-footer {
        height: auto;
        min-height: 40px;
        padding: 15px 10px;
        flex-wrap: wrap;
        text-align: center;
        line-height: 1.5;
        position: relative;
        margin-top: 30px;
        width: 100%;
        order: 3;
    }
    
    .main-footer span {
        display: inline-block;
        width: 100%;
        margin: 2px 0;
        white-space: normal;
    }
    
    /* Intro Video Mobile */
    .intro-video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .intro-enter-btn {
        width: 80%;
        padding: 12px 20px;
        font-size: 1rem;
        bottom: 15%;
    }
}

@media (min-width: 992px) {
    /* PC Specific Reset/Ensure */
    .whatsapp-btn-header span {
        display: inline-block;
    }
    .main-footer span {
        width: auto;
    }
}

.intro-enter-btn {
    position: absolute;
    bottom: 20%; /* Posición estratégica */
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.5);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    cursor: pointer;
    z-index: 5002;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: blinkGlow 2s infinite ease-in-out;
    transition: all 0.3s ease;
}

.intro-enter-btn:hover {
    background: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.6);
    transform: scale(1.05);
}

@keyframes blinkGlow {
    0%, 100% { opacity: 1; box-shadow: 0 0 20px rgba(0, 243, 255, 0.2); }
    50% { opacity: 0.7; box-shadow: 0 0 10px rgba(0, 243, 255, 0.1); }
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px; 
    padding: 0 40px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* Estilo "Midnight Obsidian Glass" - Distinguido y Profesional */
    background: linear-gradient(180deg, rgba(12, 20, 35, 0.95) 0%, rgba(5, 12, 20, 0.9) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    
    /* Bordes y Glow sutil */
    border-bottom: 1px solid rgba(100, 200, 255, 0.15); /* Filo metálico azulado */
    
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.7), /* Sombra profunda para elevación 3D */
        0 1px 0 rgba(255, 255, 255, 0.08) inset, /* Brillo sutil en borde superior */
        0 -20px 40px rgba(0, 168, 255, 0.06) inset; /* Resplandor interno "tech" muy suave */
        
    z-index: 1000;
}

/* Botón WhatsApp Header - Estilo "Neon Glass" */
.whatsapp-btn-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(37, 211, 102, 0.1); /* Verde muy sutil */
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    
    /* Borde y Glow */
    border: 1px solid rgba(37, 211, 102, 0.3);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.1);
    
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.whatsapp-btn-header:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.6);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.3), 0 0 10px rgba(37, 211, 102, 0.2) inset;
    transform: translateY(-2px);
    color: #fff;
}

.whatsapp-btn-header svg {
    filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.6));
}

/* Efecto de brillo espejo adicional */
.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%; /* Mitad superior más brillante */
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.whatsapp-btn-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(37, 211, 102, 0.9); /* Slightly transparent to blend */
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.whatsapp-btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    background: #25D366;
    color: white;
}

.header-logo {
    height: 80px; /* Increased to match taller header */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

/* --- NUEVO LOGO HEADER COMPUESTO (Rectangular) --- */
.header-logo-composite {
    display: flex;
    align-items: center;
    gap: 2px; /* Espacio solicitado exacto */
    height: 100%;
    transform: translateX(-15px); /* Ajuste óptico general */
}

.header-icon-container {
    position: relative;
    width: 110px;
    height: 110px;
    /* Sombra suave para unir al fondo */
    filter: drop-shadow(0 0 15px rgba(0, 168, 255, 0.2)); 
    z-index: 10;
}

.hl-piece {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
}

/* Ajustes finos de posición para el mini-logo del header */
.hl-escudo {
    width: 85%;
    z-index: 1;
}

.hl-llave {
    width: 65%;
    transform: translate(-80%, -60%) rotate(-45deg); 
    z-index: 2;
}

.hl-candado {
    width: 55%;
    transform: translate(10%, -60%); 
    z-index: 2;
}

.hl-cinta {
    width: 105%;
    transform: translate(-50%, 25%); 
    z-index: 3;
}

.hl-text {
    height: 65px; 
    width: auto;
    object-fit: contain;
    margin-top: 10px; /* Centrado óptico vertical */
    
    /* Iluminación acorde al fondo oscuro: Glow cián sutil */
    filter: drop-shadow(0 0 12px rgba(0, 243, 255, 0.3));
}

/* Ajuste de brillo para los iconos del header en fondo oscuro */
.header-icon-container .hl-piece {
    /* Potenciar brillo interno para que no se vea apagado en fondo oscuro */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25)) brightness(1.1);
}


/* Layout Principal */
.visual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* Fondo "Neural" lineal técnico */
    background-color: #f0f4f8;
    background-image: 
        linear-gradient(rgba(11, 28, 45, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 28, 45, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

@media (max-width: 991px) {
    .visual {
        height: auto;
        min-height: auto;
        overflow: visible;
    }
}

/* Viñetas Cine 8K (Full Vignette Dark - Sutil) */
.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    /* Viñeta suave, cine profesional */
    background: radial-gradient(circle at center, transparent 60%, rgba(11, 28, 45, 0.4) 85%, rgba(11, 28, 45, 0.8) 100%);
}

/* Ajuste de Contenido */
.visual .container-fluid {
    padding: 0; 
    height: 100%;
    position: relative;
    z-index: 10;
}

@media (max-width: 991px) {
    .visual .container-fluid {
        padding: 90px 10px 0 10px !important;
        height: auto;
    }
}

/* --- ESTILO PROFESIONAL LIMPIO (Split Screen) --- */

/* Columna Izquierda: Información (Fondo Blanco Sólido/Limpio) */
.content-col {
    background: rgba(255, 255, 255, 0.92); /* Casi sólido para máxima lectura */
    backdrop-filter: blur(10px);
    height: 100%;
    padding: 220px 60px 40px 60px; /* Padding top aumentado a 220px para evitar solapamiento con header */
    box-shadow: 10px 0 30px rgba(0,0,0,0.05); /* Sombra divisoria sutil */
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Decoración borde derecho columna izquierda */
.content-col::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1), transparent);
}

/* Columna Derecha: Animación (Espacio Abierto) */
.logo-col {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* El fondo de llaves estará en el body/visual, así que aquí es transparente */
}

/* Contenedor del Logo Animado */
.logo-card-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sombras 3D y Elevación Realista para el Logo */
.logo-piece img {
    /* Sombra de elevación realista, no "gamey" */
    filter: drop-shadow(0 25px 25px rgba(0,0,0,0.35)); 
    transform-style: preserve-3d;
}

/* Tipografía Profesional */
.services-box h1 {
    color: var(--primary);
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.services-box .subtitle {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 0.9rem; /* Estilo 'kicker' */
    letter-spacing: 2px;
}

.intro-text {
    font-size: 1.1rem;
    color: #486581;
    margin-bottom: 40px;
    max-width: 95%;
    line-height: 1.8;
    font-weight: 400;
}

/* --- Servicios: Lista Escalonada --- */
.services-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    border-left: 2px solid #00f3ff; /* Celeste Neón */
    transition: all 0.3s ease;
}

.services-list li:nth-child(1) { margin-left: 0; }
.services-list li:nth-child(2) { margin-left: 30px; } /* ~1 tab indentation */
.services-list li:nth-child(3) { margin-left: 60px; }

.services-list li:hover {
    border-left-color: var(--accent);
    transform: translateX(10px);
}

.services-list li .icon {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.1em;
}

/* --- Formulario --- */
.mini-form-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 8px; /* Radio pequeño, profesional */
    box-shadow: none;
    margin-top: 20px;
}

.mini-form-container h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 20px;
}

/* Logo Escena */
#logo-escena {
  width: 100%;
  height: 500px; 
  position: relative;
  overflow: visible; 
}

/* --- Background Flotante "Ingeniería" --- */
.bg-key-watermark {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04; /* Casi invisible, muy sutil */
    /* El JS controlará la posición y rotación */
    filter: grayscale(100%) brightness(0.8); /* Gris técnico */
}

/* Iconos FontAwesome como fondo */
.bg-icon-watermark {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03; /* Aún más sutil para iconos grandes */
    color: #0b1c2d; /* Color corporativo oscuro */
    font-size: 2rem; /* Base, JS lo escala */
}

/* Contenedor Principal */
.container-fluid {
    position: relative;
    z-index: 10; /* Sobre el fondo */
    padding-top: 150px; /* IMPORTANTE: Espacio para el header fijo */
}

.row.h-100 {
    min-height: calc(100vh - 150px); /* Ajuste de altura */
}

.logo-piece {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  filter: drop-shadow(0 15px 30px rgba(103, 183, 225, 0.15));
  opacity: 1;
  display: block;
  max-width: 100%;
  height: auto;
}

/* Z-Index lógico */
#piece-escudo  { z-index: 10; }
#piece-llave   { z-index: 20; }
#piece-candado { z-index: 20; }
#piece-cinta   { z-index: 30; }
#piece-segurar { z-index: 40; }

/* Efectos visuales */
.ghost-clone {
  position: absolute;
  pointer-events: none;
  z-index: 5; 
  opacity: 0.4;
  mix-blend-mode: multiply; /* Mejor para fondo claro */
  filter: blur(2px);
  will-change: transform, opacity;
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: gold;
  border-radius: 50%;
  box-shadow: 0 0 10px gold, 0 0 5px orange;
  pointer-events: none;
  z-index: 100;
}

.smoke-puff {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
    opacity: 0.6;
    mix-blend-mode: multiply;
    z-index: 5;
}

.magic-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #bdeaff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 0 4px #67b7e1, 0 0 8px white;
  opacity: 0.9;
}

/* --- TARJETAS DE SERVICIO FLOTANTES 3D (ESQUINAS) --- */
.service-corner-card {
    position: absolute;
    width: 240px; /* Un poco más anchas para el texto nuevo */
    padding: 20px;
    /* Fondo Negro Brillante Vidriado */
    background: rgba(5, 15, 25, 0.85); 
    backdrop-filter: blur(16px); /* Mayor blur para efecto vidrio premium */
    -webkit-backdrop-filter: blur(16px);
    
    /* Borde sutil azulado/metálico */
    border: 1px solid rgba(100, 200, 255, 0.15);
    border-top: 1px solid rgba(100, 200, 255, 0.3);
    border-left: 1px solid rgba(100, 200, 255, 0.3);
    
    border-radius: 16px;
    
    /* Sombras complejas: profundidad negra + glow azul interno */
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.6), /* Sombra profunda */
        0 0 30px rgba(0, 168, 255, 0.05) inset; /* Glow interno sutil */
        
    z-index: 50; 
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Elastic bounce */
    opacity: 0; 
    transform: scale(0.8);
}

.service-corner-card:hover {
    background: rgba(5, 15, 25, 0.95);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(0, 243, 255, 0.15) inset, /* Glow más intenso al hover */
        0 0 15px rgba(0, 243, 255, 0.2); /* Glow externo */
    border-color: rgba(0, 243, 255, 0.5);
    cursor: pointer;
}

/* Header de la tarjeta (Título) */
.card-header-accent {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    /* Gradiente Celeste a Blanco para el título */
    background: linear-gradient(90deg, #00f3ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    margin-bottom: 10px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

/* Cuerpo de la tarjeta */
.card-body-accent {
    font-size: 0.8rem;
    color: #cbd5e1; /* Gris azulado claro para lectura sobre negro */
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* Posiciones Ajustadas (Márgenes fijos para permitir animación) */
.top-left {
    top: 180px; /* Bajado para evitar solapamiento con header (150px) */
    left: 40px;
}

.top-right {
    top: 180px; /* Bajado para evitar solapamiento con header (150px) */
    right: 40px;
}

/* --- MODAL DE SERVICIO (Bloqueo de pantalla) --- */
.card-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 15, 25, 0.85); /* Fondo oscuro semitransparente */
    backdrop-filter: blur(15px); /* Blur intenso para bloquear visualmente */
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000; /* Sobre el header (1000) */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.card-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.card-modal-content {
    width: 90%;
    max-width: 600px;
    background: rgba(10, 20, 30, 0.95);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(0, 243, 255, 0.1) inset,
        0 0 20px rgba(0, 243, 255, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card-modal-overlay.active .card-modal-content {
    transform: scale(1) translateY(0);
}

.card-modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 243, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

.card-modal-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0;
    text-align: justify;
}

/* Efecto de luz de cierre */
.card-modal-close-hint {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bloqueo de scroll en body */
body.modal-open {
    overflow: hidden;
}

.bottom-left {
    bottom: 60px; /* Un poco más arriba por el footer */
    left: 40px;
}

.bottom-right {
    bottom: 60px;
    right: 40px;
}

.main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px; /* Altura mínima elegante */
    background: linear-gradient(90deg, #1685C6, #156192); /* Celeste degradado */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -5px 15px rgba(0, 243, 255, 0.3); /* Glow superior */
    z-index: 1000;
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-footer span {
    margin: 0 10px;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* --- Cookie Consent Banner --- */
.cookie-consent {
    position: fixed;
    bottom: -150px; /* Start hidden */
    left: 0;
    width: 100%;
    background: rgba(11, 28, 45, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    z-index: 6000; /* Above everything */
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: bottom 0.5s ease-in-out;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    justify-content: space-between;
}

.cookie-content p {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 400;
}

.cookie-btn {
    background: linear-gradient(90deg, #1685C6, #156192);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(22, 133, 198, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(22, 133, 198, 0.6);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
