/**
 * STYLES.CSS - WebNova Studio Central CSS Architecture
 * Organized into:
 * 1. Variables & Root Design System
 * 2. Reset, Base & Global Effects (Blueprint Grid, Glows, Scrollbars)
 * 3. Typography & Text Gradients
 * 4. Components & Interactive Animations
 *    - Interactive Budget Calculator
 *    - Development Web Hero & Code Lines
 *    - Paid Media Advanced Hero
 *    - SEO & SEM Strategic Hero
 *    - AI & Automation Terminal
 *    - Glassmorphism Cards & Neon Glows
 *    - Leaflet Dark Theme Map Overrides
 *    - Custom Form Controls & Utility Classes
 * 5. Keyframes Animation Registry
 */

/* ==========================================================================
   1. VARIABLES & ROOT DESIGN SYSTEM
   ========================================================================== */
:root {
    --brand-black: #000000;
    --brand-dark: #050505;
    --brand-card: #0a0a0a;
    --brand-card-border: rgba(255, 255, 255, 0.08);
    --brand-red: #f04936;
    --brand-orange: #f36c3a;
    --brand-yellow: #fbae40;
    --brand-gray: #464646;
    --brand-text-muted: #d1d5db;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-fast: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Accesibilidad y contraste optimizado para textos secundarios sobre fondos oscuros */
.text-textMuted,
.text-gray-400 {
    color: #d1d5db !important; /* WCAG AAA / AA contrast ratio > 11:1 on #000/#050505 */
}

/* ==========================================================================
   2. RESET, BASE & GLOBAL EFFECTS
   ========================================================================== */
body {
    background-color: var(--brand-dark);
    color: #ffffff;
    position: relative;
}

/* Cuadrícula Blueprint */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
}

/* Prevención de CLS en componentes dinámicos */
#header-placeholder {
    min-height: 76px;
    display: block;
}

@media (min-width: 1024px) {
    #header-placeholder {
        min-height: 96px;
    }
}

/* Luces de fondo (Glows) */
body::after {
    content: "";
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(240, 73, 54, 0.12) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

/* Personalización de la barra de desplazamiento global */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--brand-dark); 
}
::-webkit-scrollbar-thumb {
    background: #333333; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-red); 
}

/* Scrollbar específico para cards de servicio */
.service-card-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 15px;
}
.service-card-scroll::-webkit-scrollbar {
    width: 4px;
}
.service-card-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}
.service-card-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--brand-red), var(--brand-orange), var(--brand-yellow));
    border-radius: 10px;
}
.service-card-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--brand-yellow);
}

/* ==========================================================================
   3. TYPOGRAPHY & TEXT GRADIENTS
   ========================================================================== */
.text-gradient,
.text-gradient-studio {
    background: linear-gradient(to right, var(--brand-red), var(--brand-yellow)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.text-gradient-marketing {
    background: linear-gradient(90deg, #ff7f50 0%, var(--brand-yellow) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    color: transparent;
}

/* ==========================================================================
   4. COMPONENTS & INTERACTIVE ANIMATIONS
   ========================================================================== */

/* 4.1. Buttons & Action Links */
.btn-empezar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--brand-red);
    color: #ffffff;
    padding: 20px 45px;
    font-size: 16px;
    line-height: 1;
    border: none;
    border-radius: 1px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(240, 73, 54, 0.3);
    text-decoration: none;
}

.btn-empezar:hover,
.btn-empezar:focus {
    background-color: var(--brand-red);
    transform: translateX(-15px) scale(1.02);
    box-shadow: 8px 8px 25px rgba(240, 73, 54, 0.4);
    color: #ffffff;
}

.btn-secundario {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: transparent;
    color: #71717a;
    padding: 20px 45px;
    font-size: 16px;
    line-height: 1;
    border: none;
    border-radius: 1px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition-smooth);
    box-shadow: none;
    text-decoration: none;
}

.btn-secundario:hover,
.btn-secundario:focus {
    background-color: transparent;
    color: #ffffff;
    transform: translateX(15px);
}

.btn-secundario:hover .btn-icon-right {
    margin-left: 12px;
    transition: all 0.4s ease;
}

/* 4.2. Glassmorphism Cards & Neon Glows */
.glass-card {
    background: rgba(20, 20, 20, 0.6) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 30px;
    transition: var(--transition-bounce) !important;
    position: relative;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent, rgba(240, 73, 54, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    opacity: 0.5;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px) !important;
    border-color: var(--brand-orange) !important;
    background: rgba(25, 25, 25, 0.8) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.icon-glow {
    filter: drop-shadow(0 0 12px rgba(255, 92, 40, 0.6));
}

.glass-card:hover .icon-glow i, 
.glass-card:hover .icon-glow svg {
    color: var(--brand-yellow) !important;
    fill: var(--brand-yellow) !important;
    filter: drop-shadow(0 0 15px rgba(251, 174, 64, 0.5)) !important;
}

.glass-card .elementor-icon-list-icon i,
.glass-card .elementor-icon-list-icon svg {
    filter: none !important;
    color: var(--brand-orange) !important;
}

/* 4.3. Interactive Budget Calculator */
.calc-container {
    font-family: var(--font-sans);
    color: #ffffff;
}

.calc-option {
    background: rgba(25, 25, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
    cursor: pointer;
}

.calc-option:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(40, 40, 40, 0.5);
}

.calc-option.selected {
    border-color: var(--brand-orange) !important;
    background: rgba(243, 108, 58, 0.1) !important;
    box-shadow: 0 10px 30px rgba(243, 108, 58, 0.15);
}

.calc-option.selected .check-circle {
    background-color: var(--brand-orange) !important;
    border-color: var(--brand-orange) !important;
}

.calc-option.selected .dot-inner {
    display: block !important;
}

/* 4.4. Hero Animations: Desarrollo Web */
.dev-animation-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.dev-browser-frame {
    position: relative;
    width: 65%;
    height: 50%;
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 10;
    animation: responsiveCheck 8s ease-in-out infinite;
}

.dev-browser-header {
    height: 25px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.dot-red { background: var(--brand-red); }
.dot-orange { background: var(--brand-orange); }
.dot-yellow { background: var(--brand-yellow); }

.dev-browser-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.code-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.code-line.active {
    background: linear-gradient(90deg, var(--brand-red), var(--brand-yellow));
    animation: typingCode 3s steps(20) infinite;
}

.dev-tag-card {
    position: absolute;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    z-index: 20;
    animation: floatTag 5s ease-in-out infinite alternate;
}

.tag-js { top: 15%; right: 5%; animation-delay: -1s; }
.tag-html { bottom: 15%; left: 5%; animation-delay: -2.5s; }
.tag-css { top: 20%; left: 0%; animation-delay: -4s; }

.tag-icon {
    font-size: 10px;
    font-weight: 900;
    color: var(--brand-yellow);
    font-family: var(--font-mono);
}

.tag-text {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
}

.dev-core-pulse {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 73, 54, 0.1) 0%, transparent 70%);
    animation: pulseCore 4s ease-in-out infinite;
}

/* 4.5. Hero Animations: Paid Media */
.pm-animation-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.pm-target-outer {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 2px dashed rgba(243, 108, 58, 0.3);
    animation: rotacionTarget 10s linear infinite;
}

.pm-crosshair-v,
.pm-crosshair-h {
    position: absolute;
    background: rgba(251, 174, 64, 0.4);
}
.pm-crosshair-v { width: 1px; height: 100%; top: 0; left: 50%; }
.pm-crosshair-h { width: 100%; height: 1px; top: 50%; left: 0; }

.pm-lock-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--brand-yellow);
    width: 60%;
    height: 60%;
    opacity: 0;
    animation: lockOnTarget 3s cubic-bezier(0.2, 0.8, 0.3, 1) infinite;
}

.pm-lock-ring.delay {
    animation-delay: 1.5s;
    border-color: var(--brand-red);
}

.pm-conversion-core {
    position: relative;
    width: 24px;
    height: 24px;
    background: var(--brand-red);
    border-radius: 50%;
    box-shadow: 0 0 20px 5px rgba(240, 73, 54, 0.6);
    z-index: 5;
    animation: pulsoConversion 1.5s ease-in-out infinite alternate;
}

.pm-core-wave {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--brand-yellow);
    transform: translate(-50%, -50%);
    animation: emitirRetorno 1.5s ease-out infinite;
}

.pm-glass-card {
    position: absolute;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    z-index: 20;
    animation: flotarLigero 5s ease-in-out infinite alternate;
}

.card-budget { top: 20%; left: -5%; }
.card-conversion { bottom: 25%; right: -5%; display: flex; align-items: center; gap: 12px; animation-delay: -2s; }

.ui-text-mini { width: 30px; height: 4px; background: rgba(255, 255, 255, 0.3); border-radius: 2px; margin-bottom: 8px; }
.ui-bar-bg { width: 80px; height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; overflow: hidden; }
.ui-bar-fill { height: 100%; background: linear-gradient(90deg, var(--brand-red), var(--brand-yellow)); width: 0%; animation: cargarPresupuesto 3s ease-out infinite; }

.ui-badge-green { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-yellow); box-shadow: 0 0 10px var(--brand-yellow); animation: parpadeoActivo 1s infinite alternate; }
.ui-lines-wrap { display: flex; flex-direction: column; gap: 5px; }
.ui-line-long { width: 50px; height: 4px; background: rgba(255, 255, 255, 0.4); border-radius: 2px; }
.ui-line-short { width: 25px; height: 4px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; }

/* 4.6. Hero Animations: SEO & SEM */
.seo-animation-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.seo-crawler-track {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    animation: rotacionLenta 15s linear infinite;
}

.seo-crawler-dot {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--brand-yellow);
    border-radius: 50%;
    box-shadow: 0 0 15px 5px rgba(251, 174, 64, 0.6);
}

.seo-radar {
    position: absolute;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    border: 1px solid rgba(243, 108, 58, 0.5);
    animation: pulsoRadar 4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}
.seo-radar.delay { animation-delay: 2s; }

.seo-chart-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 90px;
    z-index: 10;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
    width: 120px;
    justify-content: center;
}

.seo-bar {
    width: 14px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, rgba(243, 108, 58, 0.1), var(--brand-orange));
    box-shadow: 0 0 20px rgba(243, 108, 58, 0.3);
}

.seo-bar-1 { height: 30%; animation: crecerBarra1 4s ease-in-out infinite alternate; }
.seo-bar-2 { height: 60%; animation: crecerBarra2 4s ease-in-out infinite alternate 0.5s; }
.seo-bar-3 {
    height: 100%;
    background: linear-gradient(to top, rgba(251, 174, 64, 0.2), var(--brand-yellow));
    box-shadow: 0 0 25px rgba(251, 174, 64, 0.6);
    animation: crecerBarra3 4s ease-in-out infinite alternate 1s;
}

.seo-glass-card {
    position: absolute;
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: flotarCard 6s ease-in-out infinite alternate;
    z-index: 20;
}

.card-top-left { top: 25%; left: -5%; }
.card-bottom-right { bottom: 25%; right: -5%; animation-delay: -3s; }

.ui-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-yellow); }
.ui-dot.red { background: var(--brand-red); }
.ui-line { width: 40px; height: 4px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; }
.ui-line.short { width: 20px; }

/* 4.7. Hero Animations: Automatización + IA */
.terminal-window {
    font-family: var(--font-mono);
    background-color: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 500px;
    padding: 30px;
    position: relative;
}

.node-box {
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: var(--transition-fast);
}

.node-box:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.glass-node {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.glass-node:hover {
    border-color: var(--brand-orange);
    background: rgba(25, 25, 25, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.data-particle {
    position: absolute;
    width: 2px;
    height: 20px;
    background: var(--brand-orange);
    animation: data-flow 2s infinite linear;
}

.animate-node {
    animation: subtle-pulse 3s infinite ease-in-out;
}

/* 4.8. Leaflet Dark Theme Overrides */
.leaflet-popup-content-wrapper, 
.leaflet-popup-tip {
    background: #0a0a0a !important;
    color: #ffffff !important;
    border: 1px solid rgba(243, 108, 58, 0.4) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8) !important;
    border-radius: 12px !important;
}

.leaflet-popup-content {
    margin: 10px 14px !important;
    font-family: var(--font-heading) !important;
}

.leaflet-container {
    background-color: var(--brand-dark) !important;
}

.leaflet-control-attribution {
    display: none !important;
}

/* 4.9. Form Controls & Custom Checkboxes */
#terms:checked::before {
    content: '✓';
    color: white;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    transform: translate(1px, -1px);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%239ca3af%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right .2rem top 50%;
    background-size: .65rem auto;
}

/* Utilitarios reutilizables para inline styles */
.w-p-30 { width: 30%; }
.w-p-40 { width: 40%; }
.w-p-50 { width: 50%; }
.w-p-60 { width: 60%; }
.anim-delay-1s { animation-delay: 1s; }
.anim-delay-1-5s { animation-delay: 1.5s; }
.svg-diagram-line {
    stroke: rgba(255,255,255,0.15);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 4 4;
}

.node-top-center { top: 15%; left: 50%; }
.node-center { top: 50%; left: 50%; }
.node-bottom-left { top: 85%; left: 20%; border-color: rgba(243, 108, 58, 0.4); }
.node-bottom-right { top: 85%; left: 80%; border-color: rgba(251, 174, 64, 0.4); }

.calendly-inline-widget {
    min-width: 320px;
    height: 700px;
}

/* Estilos para páginas de contenido legal */
.legal-content h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--brand-orange);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-content p {
    color: var(--brand-text-muted);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legal-content strong {
    color: #d1d5db;
    font-weight: 600;
}

.legal-content a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.legal-content a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.legal-content ul {
    color: var(--brand-text-muted);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    list-style-type: none;
    padding-left: 0;
}

.legal-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content ul li::before {
    content: "•";
    color: var(--brand-orange);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Estilos para tablas en el contenido legal */
.legal-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
    min-width: 650px;
}

.legal-table th {
    background: linear-gradient(90deg, rgba(243, 108, 58, 0.2) 0%, rgba(251, 174, 64, 0.1) 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.legal-table td {
    padding: 1rem 1.25rem;
    color: var(--brand-text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 300;
    line-height: 1.6;
    vertical-align: top;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.cookie-code {
    font-family: var(--font-mono);
    color: var(--brand-yellow);
    background: rgba(251, 174, 64, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    border: 1px solid rgba(251, 174, 64, 0.2);
    white-space: nowrap;
}

.cookie-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(240, 73, 54, 0.15);
    color: var(--brand-red);
    border: 1px solid rgba(240, 73, 54, 0.3);
    white-space: nowrap;
}


/* Utilitarios de Reveal & Zoom */
.img-zoom {
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.group:hover .img-zoom {
    transform: scale(1.05);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* ==========================================================================
   5. KEYFRAMES ANIMATION REGISTRY
   ========================================================================== */
@keyframes responsiveCheck {
    0%, 100% { width: 65%; }
    50% { width: 45%; }
}

@keyframes typingCode {
    0% { width: 0%; opacity: 0; }
    50% { width: 80%; opacity: 1; }
    100% { width: 0%; opacity: 0; }
}

@keyframes floatTag {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(10px, -15px) rotate(3deg); }
}

@keyframes pulseCore {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

@keyframes rotacionTarget {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes lockOnTarget {
    0% { transform: scale(1.8); opacity: 0; border-width: 1px; }
    30% { opacity: 1; }
    100% { transform: scale(0.2); opacity: 0; border-width: 3px; }
}

@keyframes pulsoConversion {
    0% { transform: scale(0.8); box-shadow: 0 0 15px rgba(240, 73, 54, 0.4); }
    100% { transform: scale(1.2); box-shadow: 0 0 40px 10px rgba(240, 73, 54, 0.8); }
}

@keyframes emitirRetorno {
    0% { width: 100%; height: 100%; opacity: 1; }
    100% { width: 400%; height: 400%; opacity: 0; border-width: 0px; }
}

@keyframes flotarLigero {
    0% { transform: translateY(8px); }
    100% { transform: translateY(-8px); }
}

@keyframes cargarPresupuesto {
    0% { width: 10%; }
    70%, 100% { width: 90%; }
}

@keyframes parpadeoActivo {
    0% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

@keyframes rotacionLenta {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulsoRadar {
    0% { transform: scale(0.5); opacity: 1; border-width: 2px; }
    100% { transform: scale(1.5); opacity: 0; border-width: 1px; }
}

@keyframes flotarCard {
    0% { transform: translateY(12px); }
    100% { transform: translateY(-12px); }
}

@keyframes crecerBarra1 {
    0%, 20% { height: 15%; }
    80%, 100% { height: 40%; }
}

@keyframes crecerBarra2 {
    0%, 20% { height: 30%; }
    80%, 100% { height: 75%; }
}

@keyframes crecerBarra3 {
    0%, 20% { height: 50%; }
    80%, 100% { height: 100%; }
}

@keyframes data-flow {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100px); opacity: 0; }
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); }
}
