@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* =====================================================
   JF ECOLAVADO — styles.css
   Dark Luxury / Eco Premium Theme
   ===================================================== */

:root {
    --color-bg: #0d0d0d;
    --color-bg-alt: #141414;
    --color-bg-darker: #0a0a0a;
    --color-text: #f0f0f0;
    --color-text-muted: #a0a0a0;
    --color-green: #8AC34A;
    --color-green-hover: #79af3d;
    --color-blue: #6AC1C5;
    
    --font-main: 'Roboto', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --nav-height: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
}

/* --- RESET & BASICS --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: transparent;
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 70px 0;
    position: relative;
}

.results-section {
    padding: 30px 0;
}

.bg-darker {
    background-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #FFFFFF;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.6);
}

/* --- SPARKLES EFFECT --- */
.sparkles-header {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    padding: 40px 0;
    overflow: visible;
}

.sparkles-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 140%;
    z-index: 1;
    pointer-events: none;
}

.sparkles-header .section-title {
    position: relative;
    z-index: 2;
    margin-bottom: 0 !important;
    padding: 0 20px;
}

.section-title.left-align {
    text-align: left;
}

/* --- MAGIC SPARKLE BUTTONS (NUEVO ESTILO SOLICITADO) --- */
:root {
    --btn-color: #8ac34e; /* Verde JF */
    --btn-color-blue: #6ac1c5; /* Azul Corporativo JF (Corregido) */
    --btn-color-dark: #111111;
    --btn-shadow: rgba(138, 195, 78, 0.4);
    --btn-shadow-blue: rgba(106, 193, 197, 0.4);
}

.btn, .newsletter-btn, .package-btn, .wa-reply-btn {
    position: relative;
    padding: 12px 35px !important;
    background: var(--btn-color) !important;
    border: 3px solid var(--btn-color) !important;
    border-radius: 8px !important;
    color: var(--btn-color-dark) !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    cursor: pointer;
    transition: all 0.3s ease-in-out !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    outline: none;
    overflow: visible !important;
    z-index: 1;
    gap: 8px;
    box-shadow: 0 0 0 var(--btn-shadow);
    width: auto;
}

/* Variante Azul para botones secundarios */
.btn-outline, .btn-secondary {
    background: var(--btn-color-blue) !important;
    border-color: var(--btn-color-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 var(--btn-shadow-blue);
}

.btn:hover, .btn-solid:hover, .newsletter-btn:hover, .package-btn:hover, .wa-reply-btn:hover {
    background: transparent !important;
    color: #ffffff !important; /* Texto blanco puro en hover para legibilidad */
    text-shadow: 0 0 10px var(--btn-color);
    box-shadow: 0 0 25px var(--btn-shadow);
}

.btn-outline:hover, .btn-secondary:hover {
    background: transparent !important;
    color: #ffffff !important;
    text-shadow: 0 0 10px var(--btn-color-blue);
    box-shadow: 0 0 25px var(--btn-shadow-blue);
}

.btn:active, .newsletter-btn:active {
    transform: scale(0.95);
}

/* Contenedores de estrellas (inyectados por JS) */
.btn-star {
    position: absolute;
    pointer-events: none;
    z-index: -1;
    fill: var(--btn-color);
    transition: all 1s cubic-bezier(0.05, 0.83, 0.43, 0.96);
    filter: drop-shadow(0 0 0 var(--btn-color));
}

/* Animaciones de explosión de estrellas */
.btn:hover .star-1, .btn-solid:hover .star-1 { top: -80% !important; left: -30% !important; filter: drop-shadow(0 0 10px var(--btn-color)); z-index: 10; }
.btn:hover .star-2, .btn-solid:hover .star-2 { top: -25% !important; left: 10% !important; filter: drop-shadow(0 0 10px var(--btn-color)); z-index: 10; }
.btn:hover .star-3, .btn-solid:hover .star-3 { top: 55% !important; left: 25% !important; filter: drop-shadow(0 0 10px var(--btn-color)); z-index: 10; }
.btn:hover .star-4, .btn-solid:hover .star-4 { top: 30% !important; left: 80% !important; filter: drop-shadow(0 0 10px var(--btn-color)); z-index: 10; }
.btn:hover .star-5, .btn-solid:hover .star-5 { top: 25% !important; left: 115% !important; filter: drop-shadow(0 0 10px var(--btn-color)); z-index: 10; }
.btn:hover .star-6, .btn-solid:hover .star-6 { top: 5% !important; left: 60% !important; filter: drop-shadow(0 0 10px var(--btn-color)); z-index: 10; }

/* Estrellas Azules para botones azules */
.btn-outline:hover .btn-star, .btn-secondary:hover .btn-star { fill: var(--btn-color-blue) !important; filter: drop-shadow(0 0 10px var(--btn-color-blue)) !important; }
.btn-outline:hover .star-1, .btn-secondary:hover .star-1 { top: -80% !important; left: -30% !important; }
.btn-outline:hover .star-2, .btn-secondary:hover .star-2 { top: -25% !important; left: 10% !important; }
.btn-outline:hover .star-3, .btn-secondary:hover .star-3 { top: 55% !important; left: 25% !important; }
.btn-outline:hover .star-4, .btn-secondary:hover .star-4 { top: 30% !important; left: 80% !important; }
.btn-outline:hover .star-5, .btn-secondary:hover .star-5 { top: 25% !important; left: 115% !important; }
.btn-outline:hover .star-6, .btn-secondary:hover .star-6 { top: 5% !important; left: 60% !important; }

/* Posiciones iniciales */
.star-1 { top: 20%; left: 20%; width: 25px; transition-duration: 1000ms; }
.star-2 { top: 45%; left: 45%; width: 15px; transition-duration: 1000ms; }
.star-3 { top: 40%; left: 40%; width: 5px; transition-duration: 1000ms; }
.star-4 { top: 20%; left: 40%; width: 8px; transition-duration: 800ms; }
.star-5 { top: 25%; left: 45%; width: 15px; transition-duration: 600ms; }
.star-6 { top: 5%; left: 50%; width: 5px; transition-duration: 800ms; }

/* Tamaños y Modificadores */
.btn-sm { font-size: 14px !important; padding: 8px 20px !important; }
.btn-large { font-size: 19px !important; padding: 15px 45px !important; }

/* Clases auxiliares para no romper el layout */
.btn-text-content { 
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* WhatsApp FAB */
.wa-fab {
    width: 65px;
    height: 65px;
    background: var(--btn-color) !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    overflow: hidden;
}

.wa-fab i { 
    color: #ffffff !important; /* Blanco para máxima visibilidad */
    font-size: 2.2rem;
    position: relative;
    z-index: 10 !important;
}

.wa-fab::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--btn-color);
    opacity: 1;
    z-index: 1;
}

/* --- LOADER --- */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center; /* Centrado vertical igual que el Hero */
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-wrapper.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    margin-top: var(--nav-height); /* Mismo desplazamiento que el hero-content */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo-hero {
    max-height: 280px;
    width: auto;
    display: block;
    margin-bottom: 30px; /* Mismo margen inferior que en el Hero */
    filter: drop-shadow(0 0 25px rgba(138, 195, 78, 0.4));
    mix-blend-mode: lighten;
    animation: loaderLogoPulse 3s ease-in-out infinite;
}

@keyframes loaderLogoPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

/* --- KINETIC DOTS LOADER --- */
.kinetic-dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px; /* Reducimos altura para que no empuje el layout */
    margin-top: 10px;
}

.kinetic-dots {
    display: flex;
    gap: 20px;
}

.kinetic-dot-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 40px;
    width: 20px;
}

/* 1. THE BOUNCING BALL */
.dot-ball {
    position: relative;
    width: 16px;
    height: 16px;
    z-index: 10;
    border-radius: 50%;
    background: linear-gradient(to bottom, var(--color-green), var(--color-blue));
    box-shadow: 0 0 15px rgba(138, 195, 78, 0.4);
    will-change: transform;
    animation: gravity-bounce-small 1.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: calc(var(--i) * 0.15s);
}

.dot-ball::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: rubber-morph 1.4s linear infinite;
    animation-delay: calc(var(--i) * 0.15s);
}

.dot-specular {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    filter: blur(0.5px);
    z-index: 11;
}

/* 2. FLOOR RIPPLE */
.dot-ripple {
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 8px;
    border: 1px solid rgba(106, 193, 197, 0.3);
    border-radius: 100%;
    opacity: 0;
    animation: ripple-expand 1.4s linear infinite;
    animation-delay: calc(var(--i) * 0.15s);
}

/* 3. REFLECTIVE SHADOW */
.dot-shadow {
    position: absolute;
    bottom: -2px;
    width: 16px;
    height: 4px;
    border-radius: 100%;
    background: rgba(138, 195, 78, 0.3);
    filter: blur(3px);
    animation: shadow-breathe 1.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: calc(var(--i) * 0.15s);
}

/* ANIMACIONES AJUSTADAS PARA NO MOVER EL LAYOUT */
@keyframes gravity-bounce-small {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@keyframes rubber-morph {
    0% { transform: scale(1.4, 0.6); }
    5% { transform: scale(0.9, 1.1); }
    15%, 50% { transform: scale(1, 1); }
    85% { transform: scale(0.9, 1.1); }
    100% { transform: scale(1.4, 0.6); }
}

@keyframes shadow-breathe {
    0%, 100% { transform: scale(1.4); opacity: 0.6; }
    50% { transform: scale(0.5); opacity: 0.1; }
}

@keyframes ripple-expand {
    0% { transform: scale(0.5); opacity: 0; border-width: 3px; }
    5% { opacity: 0.8; }
    30% { transform: scale(1.5); opacity: 0; border-width: 0px; }
    100% { transform: scale(1.5); opacity: 0; }
}

.loader-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 20px;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 70px;
}

.navbar-logo {
    height: 90px;
    width: auto;
    display: block;
    transition: var(--transition-fast);
    border: none !important;
    background: transparent !important;
    mix-blend-mode: lighten; /* Elimina fondos negros/oscuros y contornos de caja */
}

.navbar.scrolled .navbar-logo {
    height: 65px;
}

.nav-links ul {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Leve oscurecimiento para poder leer el texto */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    margin-top: var(--nav-height);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* WhatsApp Float (legacy, kept for other pages) */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 900;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition-normal);
}

.whatsapp-float i { font-size: 1.8rem; }
.whatsapp-float .whatsapp-text { font-weight: 600; font-size: 1rem; }
.whatsapp-float:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6); }

/* ============================
   WHATSAPP CHAT WIDGET
   ============================ */
/* ============================
   WHATSAPP CHAT WIDGET (Liquid Crystal Edition)
   ============================ */
:root {
    --metal-green-outer: #0a200a;
    --metal-green-inner: #1a4d1a;
    --metal-green-face: #25d366; /* Vibrant WhatsApp Green */
    --metal-green-text: #ffffff;
    --metal-green-shadow: rgba(0,0,0,0.5);
}

.wa-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

@keyframes wa-float-move {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Floating Action Button - Liquid Glass Style */
.wa-fab {
    width: 65px;
    height: 65px;
    border-radius: 50% !important;
    background: var(--metal-green-outer) !important;
    padding: 2px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
    border: none !important;
    animation: wa-float-move 3s ease-in-out infinite;
}

.wa-fab i {
    font-size: 2.5rem;
    color: var(--metal-green-text) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 5;
    position: relative;
}

.wa-fab::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--metal-green-inner) !important;
    border-radius: 50%;
    z-index: 1;
}

/* The actual face of the button */
.wa-fab-face {
    position: absolute;
    inset: 4px;
    background: var(--metal-green-face) !important;
    border-radius: 50%;
    z-index: 2;
    box-shadow: inset 0 2px 10px rgba(255,255,255,0.5),
                inset 0 -2px 10px rgba(0,0,0,0.3);
}

.wa-fab:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 45px rgba(37, 211, 102, 0.6);
}

/* Pulsing rings */
.wa-pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--metal-green-face);
    opacity: 0;
    animation: wa-pulse-glass 2s infinite;
    pointer-events: none;
}

@keyframes wa-pulse-glass {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}
}

/* Notification badge */
.wa-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
    z-index: 10;
}

.wa-fab-badge.hidden { display: none; }

/* Chat bubble pop-up - Liquid Crystal Design */
.wa-chat-bubble {
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    width: 340px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    overflow: hidden;
    transform-origin: bottom right;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wa-chat-bubble.visible {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Bubble header - Translucent gradient */
.wa-bubble-header {
    background: linear-gradient(135deg, rgba(138, 195, 78, 0.2), rgba(14, 165, 233, 0.2));
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--color-green);
    box-shadow: 0 0 15px rgba(138, 195, 78, 0.3);
}

.wa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa-header-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wa-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.wa-status {
    font-size: 0.85rem;
    color: var(--color-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.wa-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-green);
    box-shadow: 0 0 12px var(--color-green);
    animation: wa-blink 2s infinite;
}

@keyframes wa-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.85); }
}

.wa-close-bubble {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wa-close-bubble:hover { 
    background: rgba(239, 68, 68, 0.2); 
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

/* Message area */
.wa-bubble-body {
    padding: 25px 20px;
}

.wa-message {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px 20px 20px 20px;
    padding: 18px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.wa-message p {
    color: #eee;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.wa-message p:last-of-type { margin-bottom: 0; }

.wa-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    text-align: right;
    margin-top: 12px;
}

/* Reply button - Glowing Liquid Style */
.wa-reply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 20px 25px;
    background: rgba(138, 195, 78, 0.15);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(138, 195, 78, 0.4);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
}

.wa-reply-btn:hover {
    background: var(--color-green);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(138, 195, 78, 0.5);
}

/* --- NUEVO GRID DE SERVICIOS COMPACTO (ESTILO WORKFLOW) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--btn-color);
    background: rgba(10, 10, 10, 0.95); /* Mucho más oscuro para legibilidad */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.service-visual {
    height: 160px;
    width: 100%;
    position: relative;
    background: #000;
    overflow: hidden;
}

.service-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.5s;
}

.service-spotlight {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 195, 78, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-visual video {
    opacity: 1;
    transform: scale(1.05);
}

.service-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-card-header i {
    font-size: 1.8rem;
    color: var(--btn-color);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.service-card-title {
    font-size: 1.5rem !important; /* Más grande */
    font-weight: 800 !important; /* Más grueso */
    color: #ffffff !important;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0,0,0,0.5); /* Sombra para nitidez */
}

/* Sección que se despliega al hacer hover */
.service-card-details {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    pointer-events: none; /* No interfiere hasta que se abre */
    transition: grid-template-rows 0.4s ease 1.2s, opacity 0.4s ease 1.2s, margin 0.4s ease 1.2s;
}

.service-card:hover .service-card-details {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 15px;
    pointer-events: auto;
    transition: grid-template-rows 0.2s ease, opacity 0.2s ease, margin 0.2s ease;
}

.details-content {
    overflow: hidden;
}

.service-card-details p {
    font-size: 0.95rem;
    color: #ffffff; /* Blanco puro para máxima visibilidad */
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.s-badge {
    background: var(--btn-color);
    color: #000;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.service-card-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 1.2s;
}

.service-card:hover .service-card-footer {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.2s ease;
}

/* Ajustes Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card-details, .service-card-footer {
        grid-template-rows: 1fr;
        opacity: 1;
        margin-top: 15px;
        transform: none;
    }
}

.service-card-wide {
    grid-column: 1 / -1;
    flex-direction: row !important;
    align-items: stretch !important;
    padding: 0 !important;
    overflow: hidden;
    gap: 0;
}

.service-card-wide.reverse {
    flex-direction: row-reverse !important;
}

.service-card-wide .service-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.service-card-wide .service-anim {
    flex: 1;
    position: relative;
    background: transparent; /* Changed from #000 to transparent or match image */
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sequence-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.sequence-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
}

.sequence-img.active {
    opacity: 1;
}

/* --- GLOWING SHADOW SYSTEM (ADVANCED) --- */
@property --hue { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --rotate { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --bg-y { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --bg-x { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --glow-translate-y { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --bg-size { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --glow-opacity { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --glow-blur { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --glow-scale { syntax: "<number>"; inherits: true; initial-value: 2; }
@property --glow-radius { syntax: "<number>"; inherits: true; initial-value: 2; }
@property --white-shadow { syntax: "<number>"; inherits: true; initial-value: 0; }

.service-card {
    --card-color: rgba(13, 13, 13, 0.85);
    --card-radius: var(--radius-lg);
    --border-width: 2px;
    --bg-size: 1;
    --hue: 120; /* Brand green */
    --hue-speed: 1;
    --rotate: 0;
    --animation-speed: 4s;
    --interaction-speed: 0.3s;
    --glow-scale: 1.5;
    --scale-factor: 1;
    --glow-blur: 6;
    --glow-opacity: 0.8;
    --glow-radius: 100;
    --glow-rotate-unit: 1deg;

    position: relative;
    z-index: 2;
    border-radius: var(--card-radius);
    /* overflow: hidden; -- ELIMINADO para que funcione el ::after de seguridad */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: none;
    padding: 0; /* Layout is handled by content */
}

/* El elemento de brillo giratorio */
.service-card .glow {
    --glow-translate-y: 0;
    display: block;
    position: absolute;
    width: 25%;
    height: 25%;
    top: 37.5%;
    left: 37.5%;
    animation: rotate-glow var(--animation-speed) linear infinite;
    transform: rotateZ(calc(var(--rotate) * var(--glow-rotate-unit)));
    transform-origin: center;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.service-card .glow:after {
    content: "";
    display: block;
    z-index: -2;
    filter: blur(calc(var(--glow-blur) * 10px));
    width: 150%;
    height: 150%;
    left: -25%;
    top: -25%;
    background: hsl(calc(var(--hue) * var(--hue-speed) * 1deg) 100% 60%);
    position: relative;
    border-radius: 50%;
    animation: hue-animation var(--animation-speed) linear infinite;
    transform: scaleY(calc(var(--glow-scale) * var(--scale-factor) / 1.1))
                scaleX(calc(var(--glow-scale) * var(--scale-factor) * 1.2))
                translateY(calc(var(--glow-translate-y) * 1%));
    opacity: var(--glow-opacity);
}

/* El contenido interno de la tarjeta */
.service-card-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--card-color);
    border-radius: var(--card-radius);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: inherit; /* Mantiene el layout wide/normal */
    /* overflow: hidden; -- ELIMINADO para permitir zona de seguridad */
    z-index: 1;
}

/* El borde brillante dinámico */
.service-card-content:before {
    content: "";
    display: block;
    position: absolute;
    inset: -1px;
    border-radius: var(--card-radius);
    padding: var(--border-width);
    background: hsl(0deg 0% 16%) radial-gradient(
        40% 40% at calc(var(--bg-x) * 1%) calc(var(--bg-y) * 1%),
        hsl(calc(var(--hue) * var(--hue-speed) * 1deg) 100% 90%) calc(0% * var(--bg-size)),
        hsl(calc(var(--hue) * var(--hue-speed) * 1deg) 100% 80%) calc(20% * var(--bg-size)),
        hsl(calc(var(--hue) * var(--hue-speed) * 1deg) 100% 60%) calc(40% * var(--bg-size)),
        transparent 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: hue-animation var(--animation-speed) linear infinite,
                rotate-bg var(--animation-speed) linear infinite;
    transition: --bg-size var(--interaction-speed) ease;
    z-index: 2;
    pointer-events: none;
}

/* HOVER INTERACTIONS */
.service-card:hover {
    transform: scale(1.01); /* Quitado el translateY para evitar saltos */
}

/* Zona de seguridad para que el hover no se pierda al bajar el ratón */
.service-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 40px;
    z-index: -1;
}

.service-card:hover .service-card-content {
    box-shadow: 0 0 calc(var(--white-shadow) * 1vw) calc(var(--white-shadow) * 0.15vw) rgb(255 255 255 / 10%);
    animation: shadow-pulse calc(var(--animation-speed) * 2) linear infinite;
}

.service-card:hover .service-card-content:before {
    --bg-size: 10;
    animation-play-state: paused;
}

.service-card:hover .glow {
    --glow-blur: 2;
    --glow-opacity: 0.5;
    --glow-scale: 2;
    --rotate: 900;
    --glow-rotate-unit: 0;
    --scale-factor: 1.2;
    animation-play-state: paused;
}

/* ANIMATIONS */
@keyframes shadow-pulse {
    0%, 24%, 46%, 73%, 96% { --white-shadow: 0.5; }
    12%, 28%, 41%, 63%, 75%, 82%, 98% { --white-shadow: 2; }
    6%, 32%, 57% { --white-shadow: 1; }
}

@keyframes rotate-bg {
    0% { --bg-x: 0; --bg-y: 0; }
    25% { --bg-x: 100; --bg-y: 0; }
    50% { --bg-x: 100; --bg-y: 100; }
    75% { --bg-x: 0; --bg-y: 100; }
    100% { --bg-x: 0; --bg-y: 0; }
}

@keyframes rotate-glow {
    from { --rotate: -70; --glow-translate-y: -150; }
    to { --rotate: calc(360 - 70); --glow-translate-y: -150; }
}

@keyframes hue-animation {
    0% { --hue: 0; }
    100% { --hue: 360; }
}

/* Botones de servicio (Precios / Presupuesto) */
.btn-sm {
    padding: 12px 25px !important; /* Más grandes */
    font-size: 0.9rem !important;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-sm:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Forzar que el botón sea lo más importante */
.service-card-footer {
    position: relative;
    z-index: 50 !important;
    pointer-events: auto !important;
}

.btn-sm {
    position: relative;
    z-index: 100 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Evitar que las estrellas bloqueen el clic */
.btn-star {
    pointer-events: none !important;
}

/* --- CÓMO TRABAJAMOS --- */
.work-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.step-card {
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 25px 20px;
    border-radius: var(--radius-lg);
    position: relative;
    border-top: 3px solid transparent;
    transition: var(--transition-normal);
}

.step-card:hover {
    border-top-color: var(--btn-color);
    background-color: rgba(15, 15, 15, 0.95);
    transform: translateY(-5px);
}

.step-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: rgba(138, 195, 78, 0.1); /* Usar verde JF sutil */
    position: absolute;
    top: 15px;
    right: 20px;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    padding-right: 30px; /* Para que no pise el número */
}

.step-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

/* --- ZONAS --- */
.zones-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.zones-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: start;
    margin-top: 30px;
}

.zones-map-container {
    position: sticky;
    top: 100px;
    display: flex;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    padding: 25px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.zone-card {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zone-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
    background: rgba(25, 25, 25, 0.8);
}

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

.zone-label {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.5px;
}

.zone-price {
    font-weight: 800;
    color: var(--color-green);
    font-size: 1.2rem;
}

.zone-distance {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
}

.zone-municipalities {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.zone-municipalities li {
    font-size: 0.95rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zone-municipalities li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--color-green);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Zone Specific Colors */
.zone-0 { border-top: 4px solid #4ade80; }
.zone-1 { border-top: 4px solid #60a5fa; }
.zone-2 { border-top: 4px solid #fb923c; }
.zone-3 { border-top: 4px solid #facc15; }
.zone-4 { border-top: 4px solid #f87171; }
.zone-5 { border-top: 4px solid #a855f7; }
.zone-6 { border-top: 4px solid #555555; }

.zone-info-note {
    margin-top: 50px;
    background: rgba(138, 195, 78, 0.05);
    border: 1px solid rgba(138, 195, 78, 0.2);
    border-radius: var(--radius-md);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.zone-info-note i {
    font-size: 2rem;
    color: var(--color-green);
}

.zone-info-note p {
    font-size: 0.95rem;
    color: #bbb;
    margin: 0;
    line-height: 1.6;
}

.island-silhouette {
    width: 300px;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 20px rgba(138, 195, 78, 0.4));
    animation: float 6s ease-in-out infinite;
}

.tenerife-map {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-35px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* --- FORMULARIO --- */
/* --- FORMULARIO & CARRITO --- */
.form-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.form-main {
    background-color: rgba(5, 5, 5, 0.85); /* Más oscuro y opaco */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-sidebar {
    position: sticky;
    top: 100px;
}

.cart-card {
    background: rgba(10, 10, 10, 0.9); /* Más oscuro y opaco */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(138, 195, 78, 0.3);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
}

.cart-header {
    background: linear-gradient(135deg, var(--color-green), var(--color-blue));
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-header i {
    font-size: 1.5rem;
    color: #fff;
}

.cart-header h3 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-body {
    padding: 25px 20px;
    min-height: 100px;
    max-height: 400px;
    overflow-y: auto;
}

.empty-cart {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--btn-color);
    color: #000;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(138, 195, 78, 0.4);
    white-space: nowrap;
}

.package-prices {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.price-item i {
    font-size: 1.8rem;
    color: var(--color-text-muted);
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-item span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.price-item .amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--btn-color);
}

.package-featured .price-item .amount {
    color: var(--btn-color);
    font-size: 1.6rem;
}

/* Modal de Extras */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    overflow: auto;
}

.modal-content {
    background-color: #151515;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--btn-color);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.extras-selection {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.extra-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.extra-option:hover {
    background: rgba(255,255,255,0.1);
}

.extra-option.selected {
    border: 1px solid var(--btn-color);
    background: rgba(138, 195, 78, 0.1);
}

.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
}

#btn-continue-extras:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #eee;
}

.cart-item-detail {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-green);
}

.cart-footer {
    padding: 25px 20px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-total-row span:first-child {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.total-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-green);
}

.cart-disclaimer {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .form-layout-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-sidebar {
        position: relative;
        top: 0;
        margin-top: 20px;
    }
}

/* Extras Checkbox Grid */
.extras-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.extra-checkbox-item {
    cursor: pointer;
    position: relative;
}

.extra-checkbox-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.extra-checkbox-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.extra-checkbox-content i {
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

.extra-checkbox-content span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.extra-checkbox-item:hover .extra-checkbox-content {
    border-color: rgba(138, 195, 78, 0.3);
    background: rgba(138, 195, 78, 0.05);
}

.extra-checkbox-item input:checked + .extra-checkbox-content {
    border-color: var(--color-green);
    background: rgba(138, 195, 78, 0.1);
}

.extra-checkbox-item input:checked + .extra-checkbox-content i,
.extra-checkbox-item input:checked + .extra-checkbox-content span {
    color: var(--color-green);
}

#presupuesto-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-green);
    background-color: rgba(255, 255, 255, 0.06);
}

.form-group select option {
    background-color: #1a1a1a;
    color: #ffffff;
}

.form-row.checkbox-row {
    grid-column: 1 / -1;
    display: flex;
    gap: 30px;
    padding: 10px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--color-text-muted);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-green);
}

.file-input {
    display: none;
}

.file-upload-label {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--color-text-muted) !important;
    transition: var(--transition-fast);
}

.file-upload-label:hover {
    border-color: var(--color-green);
    color: var(--color-green) !important;
    background-color: rgba(138, 195, 78, 0.05);
}

.privacy-group {
    margin-top: 10px;
}

.privacy-label {
    font-size: 0.85rem;
}

.privacy-label a {
    color: var(--color-blue);
    text-decoration: underline;
}

/* --- PRICING CARDS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.pricing-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.pricing-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.pricing-content {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 15px 10px;
    height: 100%;
    transition: var(--transition-fast);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.pricing-card input[type="radio"]:checked + .pricing-content {
    border-color: var(--color-green);
    background-color: rgba(138, 195, 78, 0.1);
    box-shadow: 0 0 15px rgba(138, 195, 78, 0.2);
}

.pricing-content h4 {
    color: #fff;
    margin: 0;
    font-size: 0.95rem;
}

.pricing-features {
    display: none; /* User requested small cards without taking much space */
}

.pricing-card.premium .pricing-content {
    border-color: rgba(138, 195, 78, 0.4);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-green);
    color: #111;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 10px;
    border-bottom-left-radius: var(--radius-sm);
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-green);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 25px;
    color: var(--color-text-muted);
}

/* --- MODERN FOOTER --- */
.footer {
    background-color: rgba(5, 5, 5, 0.9);
    color: var(--color-text);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 40px;
    }
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(138, 195, 78, 0.3);
}

.footer-logo span {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.footer-description {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--color-green);
    transform: translateX(5px);
}

/* Newsletter Section */
.footer-newsletter {
    width: 100%;
}

.newsletter-form-container {
    position: relative;
    max-width: 400px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    width: 100%;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px 0 0 12px;
    padding: 15px 20px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--color-green);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
    background: var(--color-green);
    color: #000;
    border: none;
    border-radius: 0 12px 12px 0;
    padding: 0 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #a3d463;
    box-shadow: 0 0 20px rgba(138, 195, 78, 0.4);
}

.newsletter-status {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.newsletter-status.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.status-success { color: #a3d463; }
.status-error { color: #ff5f5f; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1023px) {
    .footer-grid > div {
        text-align: center;
    }
    .footer-brand, .footer-logo {
        align-items: center;
    }
    .footer-description {
        margin: 0 auto;
    }
    .footer-links a {
        justify-content: center;
    }
    .newsletter-form-container {
        margin: 0 auto;
    }
}

/* --- COMPACT COVERAGE BANNER --- */
.zones-coverage-banner {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 35px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
    overflow: hidden;
}

.banner-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 25px;
}

.banner-map-mini {
    width: 250px !important;
    height: 250px !important;
    flex: 0 0 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 10px !important;
    position: relative !important;
}

/* --- ZONAS (VERSION SUBTLE) --- */
.zones-subtle-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    background: rgba(5, 5, 5, 0.85); /* Más oscuro y sólido */
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.subtle-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.subtle-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.zones-minimal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.m-zone {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.m-zone span {
    color: #eee;
    font-weight: 500;
}

.m-zone small {
    color: var(--color-green);
    font-weight: 700;
}

.subtle-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.subtle-note i {
    color: var(--color-green);
}

.zones-subtle-map {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zones-subtle-map img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(138, 195, 78, 0.3));
    mix-blend-mode: screen;
    animation: floatSubtleMap 6s ease-in-out infinite; /* Animación de flotación */
}

@keyframes floatSubtleMap {
    0%, 100% { 
        transform: translateY(0) scale(1) rotate(0deg); 
        filter: drop-shadow(0 0 20px rgba(138, 195, 78, 0.2));
    }
    50% { 
        transform: translateY(-25px) scale(1.08) rotate(1deg); 
        filter: drop-shadow(0 0 65px rgba(138, 195, 78, 0.7));
    }
}

@media (max-width: 992px) {
    .zones-subtle-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }
    .zones-subtle-map {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .zones-minimal-grid {
        grid-template-columns: 1fr;
    }
    .subtle-title {
        font-size: 1.8rem;
    }
}

/* Footer Logo Original Clean */
.footer-logo {
    display: block !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 25px 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    outline: none !important;
}

.footer-logo-img {
    height: 140px !important;
    width: auto !important;
    border-radius: 0 !important;
    filter: none !important;
    display: block !important;
    border: none !important;
    mix-blend-mode: lighten; /* Elimina el recuadro negro y contornos */
}





/* --- RESULTADOS (Compact) --- */
.results-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.results-section .container {
    background: rgba(255, 255, 255, 0.03);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.results-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.comparison-card {
    background: rgba(13, 13, 13, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 12px;
    width: 100%;
    max-width: 320px; /* Reduced size */
    transition: var(--transition-normal);
}

.comparison-card:hover {
    transform: translateY(-5px);
    border-color: rgba(138, 195, 78, 0.2);
}

.comparison-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: center;
    color: #fff;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1; /* Square for compactness */
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    --position: 50%;
}

.image-container {
    width: 100%;
    height: 100%;
}

.image-before, .image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-before {
    z-index: 1;
    clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.image-after {
    z-index: 0;
}

.slider-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
    cursor: ew-resize;
}

.slider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    width: 2px;
    background: #fff;
    z-index: 5;
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: var(--position);
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    z-index: 6;
    transform: translate(-50%, -50%);
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: #111;
}

.slider-button i {
    font-size: 0.9rem;
}

.comparison-label {
    position: absolute;
    bottom: 10px;
    padding: 4px 8px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
}

.label-before { left: 10px; }
.label-after { right: 10px; z-index: 0; }

/* --- ANIMATIONS & REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.5rem; }
    .zones-container { flex-direction: column; text-align: center; }
    .section-title.left-align { text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        background-color: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(10px);
        height: calc(100vh - var(--nav-height));
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.4s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-ctas { flex-direction: column; }
    
    #presupuesto-form { grid-template-columns: 1fr; }
    .form-container { padding: 30px 20px; }
    .form-row.checkbox-row { flex-direction: column; gap: 15px; }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
        text-align: center; 
    }
    
    .footer-brand, .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-buttons { 
        flex-direction: row; 
        justify-content: center; 
        flex-wrap: wrap; 
    }
    
    .contact-links { 
        align-items: center; 
        justify-content: center;
    }
    
    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-buttons { flex-wrap: wrap; justify-content: center; }
    
    
    /* Fix service banners for mobile: Stack text above video */
    .service-card-wide, .service-card-wide.reverse {
        flex-direction: column !important;
        display: flex !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    .service-card-wide .service-info {
        padding: 40px 25px;
        order: 1;
        width: 100% !important;
        flex: none !important;
    }
    
    .service-card-wide .service-anim {
        width: 100% !important;
        height: 300px !important;
        min-height: 300px !important;
        order: 2;
        flex: none !important;
    }

    .service-card-wide .service-anim video {
        border-radius: 0 0 15px 15px !important;
    }

    /* FORZAR VISIBILIDAD DE TARJETAS EN MÓVIL */
    .section {
        z-index: 10 !important;
    }

    .service-card {
        transform: none !important;
        pointer-events: auto !important;
        background: rgba(15, 15, 15, 0.95) !important; /* Asegurar fondo visible */
    }

    .service-card-details {
        grid-template-rows: 1fr !important;
        opacity: 1 !important;
        margin-top: 15px !important;
        visibility: visible !important;
    }
    
    .service-card-footer {
        opacity: 1 !important;
        transform: translateY(0) !important;
        padding-top: 15px !important;
        display: flex !important;
        visibility: visible !important;
    }
    /* Botones específicos de servicios en móvil ya escalados arriba */


    /* Asegurar que los botones sean clickeables y grandes */
    .btn, button, a, .mobile-menu-toggle {
        position: relative;
        z-index: 10005 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation;
        min-height: 48px; /* Standard Apple/Google recommendation */
    }

    .navbar {
        z-index: 10000 !important;
    }

    .mobile-menu-toggle {
        display: block !important;
        background: transparent;
        border: none;
        padding: 10px;
    }

    .nav-links {
        z-index: 9999 !important;
    }
    
    .whatsapp-float { display: none; } /* Hide legacy */
    
    .wa-widget {
        display: none; /* Oculto por defecto en móvil */
        bottom: 20px;
        left: 20px;
        right: auto;
        z-index: 10002 !important;
    }
    
    .wa-fab {
        width: 40px; /* Reducido ~50% (original 65px / 60px) */
        height: 40px;
    }
    
    .wa-fab i {
        font-size: 1.5rem; /* Icono más pequeño */
    }

    /* Ajustar burbuja para que abra desde la izquierda */
    .wa-chat-bubble {
        left: 0;
        right: auto;
        bottom: 55px;
        transform-origin: bottom left;
        width: 280px; /* Un poco más estrecha */
    }

    /* New Zonas Responsive */
    .zones-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .zones-map-container {
        position: relative;
        top: 0;
        padding: 20px;
    }

    .zones-grid {
        grid-template-columns: 1fr;
    }

    /* Preloader fix */
    #loader.fade-out {
        pointer-events: none;
        display: none;
    }

    /* Global Responsive Tweaks */
    .section {
        padding: 60px 0 !important;
    }
    
    .container {
        padding: 0 20px !important;
    }
    
    .section-title {
        font-size: 2.2rem !important;
        margin-bottom: 30px !important;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
    
    .form-layout-wrapper {
        grid-template-columns: 1fr !important; /* Stack on mobile */
        gap: 30px !important;
    }
    
    .form-main {
        padding: 30px 20px !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .form-group {
        width: 100%;
        text-align: center;
    }

    .form-group label {
        display: block;
        text-align: center;
        margin-bottom: 10px;
    }

    .form-sidebar {
        position: static !important; /* Don't stick on mobile */
        width: 100% !important;
        display: flex;
        justify-content: center;
    }

    .cart-card {
        width: 100%;
        max-width: 400px;
    }
}

/* --- CLICK BUBBLE EFFECT --- */
@media (hover: hover) and (pointer: fine) {
    .bubble-particle {
        position: fixed;
        border-radius: 50%;
        pointer-events: none;
        z-index: 10000;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
        filter: blur(1px);
        animation: pop 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    }

    @keyframes pop {
        0% {
            transform: scale(0) translate(-50%, -50%);
            opacity: 1;
        }
        20% {
            transform: scale(1.2) translate(-50%, -50%);
        }
        100% {
            transform: scale(0) translate(calc(-50% + var(--tx)), calc(-50% + var(--ty)));
            opacity: 0;
        }
    }
}

/* --- SCROLL SEQUENCE CANVAS --- */
#scroll-sequence-canvas,
#scroll-sequence-canvas-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5; /* Más profundo aún */
    object-fit: cover;
    pointer-events: none !important; /* Forzar no-interacción */
}

/* Desktop: show desktop canvas, hide mobile canvas */
#scroll-sequence-canvas-mobile {
    display: none;
}

/* Mobile (≤768px): hide desktop canvas, show mobile canvas */
@media (max-width: 768px) {
    #scroll-sequence-canvas {
        display: none;
    }
    #scroll-sequence-canvas-mobile {
        display: block;
    }
}

/* --- PHOTO PREVIEW GRID --- */
.fotos-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.preview-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: thumb-in 0.3s ease forwards;
}

@keyframes thumb-in {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
