:root {
    /* Paleta Desaturada / Europea */
    --bg-dark: #121212;       
    --text-muted: #858585;    
    --text-light: #cccccc;    
    --accent-mute: #5c574f;   
    
    /* Tipografías sacadas de Google Fonts */
    --font-exotic: 'Manufacturing Consent', serif; 
    --font-mini: 'Inter', sans-serif;              
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-family: var(--font-mini);
    line-height: 1.5;
    text-transform: lowercase; 
    overflow-x: hidden;
}

/* ==========================================
   BURBUJA LIQUID GLASS (EFECTO FLUIDO SVG)
========================================== */
.glass-button {
    --bg-color: rgba(18, 18, 18, 0.15);
    --highlight: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.05);
    --text: var(--text-muted);
  
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 28px;
    border: 1px solid var(--border-color);
    border-radius: 50px; 
    cursor: pointer;
    overflow: hidden;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    outline: none;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.glass-button:hover {
    transform: translate(-50%, -5px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.glass-button:hover .glass-content {
    color: var(--text-light);
}

.glass-button:active {
    transform: translate(-50%, 0) scale(0.98);
}

/* Las capas se expanden (-15px) para evitar el borde duro de la distorsión SVG */
.glass-filter,
.glass-overlay,
.glass-specular {
    position: absolute;
    inset: -15px;
    border-radius: inherit;
}

.glass-filter {
    z-index: 1;
    backdrop-filter: blur(8px);
    /* Llama al nuevo filtro animado */
    filter: url(#liquid-glass) saturate(130%) brightness(1.1);
}

.glass-overlay {
    z-index: 2;
    background: var(--bg-color);
}

.glass-specular {
    z-index: 3;
    box-shadow: inset 1px 1px 3px var(--highlight), inset -1px -1px 4px rgba(0,0,0,0.6);
}

.glass-content {
    position: relative;
    z-index: 4;
    color: var(--text);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.4s ease;
}

/* Puntito de grabación latiendo de forma más orgánica */
.bubble-dot {
    width: 6px; 
    height: 6px; 
    background-color: var(--accent-mute);
    border-radius: 50%; 
    opacity: 0.6; 
    animation: pulseDot 2.5s infinite ease-in-out;
}

@keyframes pulseDot {
    0% { transform: scale(0.8); opacity: 0.2; } 
    50% { transform: scale(1.2); opacity: 0.9; } 
    100% { transform: scale(0.8); opacity: 0.2; }
}

/* ==========================================
   HEADER Y NAVEGACIÓN
========================================== */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 30px 50px; background: transparent; z-index: 1000;
}

.signature-logo {
    height: 25px;
    filter: invert(60%) sepia(10%) saturate(200%) hue-rotate(30deg) brightness(90%) contrast(80%); 
    opacity: 0.7; transition: opacity 0.4s ease;
}

.signature-logo:hover { opacity: 1; }

nav.social-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-text-link {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: color 0.4s;
    margin-right: 5px;
}

.nav-text-link:hover {
    color: var(--text-light);
}

nav.social-nav a svg {
    fill: var(--text-muted); 
    transition: fill 0.4s, transform 0.4s;
}

nav.social-nav a:hover svg {
    fill: var(--text-light); 
    transform: scale(1.15); 
}

/* ==========================================
   HERO / VIDEO FONDO
========================================== */
.hero-video-bg {
    position: relative; height: 100vh; display: flex;
    align-items: center; justify-content: center; text-align: center;
    overflow: hidden;
}

.video-background-wrapper {
    position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; 
    min-height: 100vh; min-width: 177.77vh; transform: translate(-50%, -50%);
    pointer-events: none; z-index: 1;
    opacity: 0.45; 
}

.video-background-wrapper iframe { width: 100%; height: 100%; }

.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(18,18,18,0.1), var(--bg-dark));
    z-index: 2;
}

.hero-content { position: relative; z-index: 3; }

.tiny-proverb {
    font-size: 0.6rem; letter-spacing: 3px; color: var(--accent-mute);
    margin-bottom: 20px;
}

.exotic-title {
    font-family: var(--font-exotic);
    font-size: clamp(3.5rem, 9vw, 8rem); 
    color: var(--text-light);
    line-height: 0.9;
    letter-spacing: -1px;
}

.exotic-title-small {
    font-family: var(--font-exotic);
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ==========================================
   PLAYLIST (FORMATO CINE / PANTALLA COMPLETA)
========================================== */
.playlist-section {
    padding: 120px 3vw 60px; /* Reducimos el margen lateral usando 'vw' (viewport width) para que se pegue más a los bordes */
    max-width: 1600px; /* Aumentamos brutalmente el ancho máximo (antes era 1200) */
    margin: 0 auto;
}

.playlist-header {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.playlist-header h2 { font-weight: 300; font-size: 1rem; letter-spacing: 2px; }
.playlist-counter { font-size: 0.75rem; letter-spacing: 2px; color: var(--accent-mute); }

.playlist-wrapper { 
    display: grid; 
    grid-template-columns: 1fr 280px; /* El video toma todo el espacio (1fr) y la playlist se reduce de 350px a 280px */
    gap: 30px; /* Menos espacio muerto entre el video y la lista */
}

.main-player-container { background: transparent; }

.video-container {
    position: relative; padding-bottom: 56.25%; background: #080808; margin-bottom: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); /* Sombra elegante para que el video resalte */
}

/* Videos a todo color (sin filtros) */
.video-container iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

.active-video-info h3 {
    font-family: var(--font-exotic);
    font-size: 3rem; /* Título más grande para compensar el tamaño masivo del video */
    color: var(--text-light);
    margin-bottom: 5px;
    line-height: 1;
}

.active-video-info p { font-size: 0.7rem; letter-spacing: 1px; }
.mapu-role { color: var(--accent-mute); }

/* Sidebar (Más compacta) */
.playlist-sidebar { display: flex; flex-direction: column; gap: 8px; }

.playlist-item {
    display: flex; gap: 12px; align-items: center; padding: 10px; cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02); transition: opacity 0.4s; opacity: 0.5; 
}

.playlist-item:hover, .playlist-item.active { opacity: 1; }

.playlist-thumb {
    width: 75px; height: 42px; background: #000; transition: opacity 0.4s; flex-shrink: 0;
}

.playlist-thumb img { width: 100%; height: 100%; object-fit: cover; }

.playlist-details h4 {
    font-weight: 400; font-size: 0.65rem; color: var(--text-light); margin-bottom: 3px;
}
.playlist-details p { font-size: 0.55rem; color: var(--text-muted); }

/* ==========================================
   SERVICIOS / TARJETAS DE PRECIOS
========================================== */
.services-section {
    padding: 50px 50px 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-family: var(--font-exotic);
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.services-header p {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Tarjeta destacada ("El más pedido") */
.highlight-card {
    border-color: rgba(255, 255, 255, 0.2);
    background: #111111;
}

.highlight-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-light);
    color: var(--bg-dark);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 20px;
}

.service-card h3 {
    font-family: var(--font-exotic);
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1;
}

.price-subtitle {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.price {
    font-family: var(--font-exotic);
    font-size: 2.8rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.features-list li {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list svg {
    width: 14px;
    height: 14px;
    fill: var(--text-light);
    flex-shrink: 0;
}

.btn-cotizar {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 15px 0;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: background 0.3s, border-color 0.3s;
}

.btn-cotizar span {
    display: block;
    font-size: 0.55rem;
    color: var(--text-muted);
    margin-top: 3px;
    letter-spacing: 1px;
}

.btn-cotizar:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.highlight-btn {
    background: var(--text-light);
    color: var(--bg-dark);
}

.highlight-btn span {
    color: rgba(0, 0, 0, 0.6);
}

.highlight-btn:hover {
    background: #ffffff;
}

/* ==========================================
   FOOTER
========================================== */
footer { 
    padding: 60px 50px 120px; /* Espacio extra abajo para que no choque con la burbuja liquid glass */
    text-align: center; 
}

.footer-email {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-email:hover {
    color: var(--text-light);
    border-bottom-color: var(--text-light);
}

@media (max-width: 900px) {
    .playlist-wrapper { grid-template-columns: 1fr; }
    .exotic-title { font-size: 4rem; }
    .services-grid { grid-template-columns: 1fr; }
}
/* ==========================================
   ETIQUETA DE HOST (FCFM)
========================================== */
.fcfm-host {
    margin-top: 60px;
    font-size: 0.5rem;
    letter-spacing: 2px;
    color: rgba(133, 133, 133, 0.35); /* Gris muy transparente para que casi no se vea */
    text-align: center;
}
/* ==========================================
   DOCUMENTACIÓN OPERATIVA (PDFs)
========================================== */
.documents-section {
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
}

.documents-title {
    font-family: var(--font-mini);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.documents-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.doc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 1px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(18, 18, 18, 0.4);
    transition: all 0.3s ease;
}

.doc-link svg {
    fill: var(--text-muted);
    transition: fill 0.3s ease;
}

.doc-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.doc-link:hover svg {
    fill: var(--text-light);
}

.doc-link.disabled {
    opacity: 0.3;
    pointer-events: none; /* Esto desactiva el clic */
    border-color: rgba(255, 255, 255, 0.02);
}