/* ==========================================================================
   CSI SOFTWARE — Estilo Visual Revolucionario 2026
   Proyecto: CSI Software Portfolio
   Paleta: Deep Navy + Warm Gold + Clean Accents
   Última actualización: 2026
   ========================================================================== */

/* --- VARIABLES GLOBALES --- */
:root {
    /* Paleta Navy Ultra-Premium */
    --navy-950: #040814;
    --navy-900: #060d1f;
    --navy-850: #0a152e;
    --navy-800: #0c1b3a;
    --navy-700: #112240;
    --navy-600: #1a3158;
    --navy-500: #233d6b;
    
    --gold: #d4a853;
    --gold-light: #f3dfaa;
    --gold-dark: #a87e2b;
    
    --blue-accent: #3b82f6;
    --blue-light: #60a5fa;
    --green-accent: #10b981;
    --pink-accent: #ec4899;
    
    --text-white: #f8fafc;
    --text-light: #cbd5e1;
    --text-muted: #8492a6;
    
    --surface: rgba(255, 255, 255, 0.04);
    --surface-elevated: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 168, 83, 0.35);
    --border-focus: rgba(59, 130, 246, 0.5);
    
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-deep: 0 25px 70px rgba(0, 0, 0, 0.45);
    --shadow-glow-blue: 0 0 50px rgba(59, 130, 246, 0.15);
    --shadow-glow-gold: 0 0 50px rgba(212, 168, 83, 0.15);
    
    --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; max-width: 100vw; overflow-x: hidden; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--navy-900);
    color: var(--text-white);
    line-height: 1.6;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6.5rem 0; }
.w-100 { width: 100%; }

/* Tipografía de Alto Impacto */
.text-gradient {
    background: linear-gradient(135deg, #60a5fa, var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; font-style: normal;
}
.text-gold { color: var(--gold); font-style: normal; }

/* --- 1. BARRA DE NOVEDADES (OBSIDIAN & GOLD) --- */
.announcement-bar {
    background: rgba(4, 8, 20, 0.96);
    border-bottom: 1px solid rgba(212, 168, 83, 0.22);
    color: var(--text-light);
    padding: 0.55rem 0;
    position: relative; z-index: 200;
    font-size: 0.84rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.announcement-container {
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1.8rem;
    display: flex; justify-content: center; align-items: center; position: relative;
}
.announcement-content {
    display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; justify-content: center;
}
.announcement-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.6px;
    color: var(--gold-light); background: rgba(212, 168, 83, 0.12);
    border: 1px solid var(--border-gold); padding: 2px 8px; border-radius: 20px;
}
.announcement-text {
    color: #e2e8f0; font-weight: 500;
}
.announcement-cta {
    color: var(--gold) !important; font-weight: 700;
    display: inline-flex; align-items: center; gap: 4px;
    transition: all 0.2s ease;
}
.announcement-cta:hover {
    color: var(--gold-light) !important;
    transform: translateX(3px);
}
.announcement-close {
    position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: #64748b; font-size: 1.3rem; cursor: pointer;
    padding: 2px 6px; transition: color 0.2s; line-height: 1;
}
.announcement-close:hover { color: #f1f5f9; }
.announcement-bar.hidden { display: none; }

/* --- NAVBAR LUXURY --- */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(6, 13, 31, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 0;
    transition: background var(--transition);
}
.nav-container {
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1.8rem;
    display: flex; justify-content: space-between; align-items: center;
}
/* ==========================================================================
   LOGO CORPORATIVO PREMIUM — CSI Software (Cubo Isométrico Quantum)
   ========================================================================== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    transition: transform var(--transition);
}
.logo:hover {
    transform: translateY(-1px);
}
.logo-mark {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.logo-svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(59, 130, 246, 0.35));
    transition: filter 0.3s ease, transform 0.3s ease;
}
.logo:hover .logo-svg {
    filter: drop-shadow(0 6px 20px rgba(56, 189, 248, 0.6)) drop-shadow(0 0 10px rgba(212, 168, 83, 0.4));
    transform: scale(1.06) rotate(2deg);
}
.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.logo-name {
    display: flex;
    align-items: baseline;
    gap: 0.32rem;
    line-height: 1;
}
.logo-name-csi {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.6px;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 40%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-name-soft {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #38bdf8;
    transition: color 0.3s ease;
}
.logo:hover .logo-name-soft {
    color: #60a5fa;
}
.logo-name-dot {
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(212, 168, 83, 0.8);
    margin-left: 1px;
    margin-bottom: 2px;
}
.logo-sub {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 3px;
    line-height: 1;
    transition: color 0.3s ease;
}
.logo:hover .logo-sub {
    color: #d4a853;
}
.nav-links { display: flex; gap: 1rem; align-items: center; }
.nav-link {
    font-weight: 500; font-size: 0.92rem; color: #94a3b8;
    padding: 0.45rem 0.85rem; border-radius: 8px;
    transition: all 0.25s ease;
}
.nav-link:hover {
    color: #ffffff; background: rgba(255, 255, 255, 0.06);
}

/* WhatsApp Luxury Emerald Glass Pill */
.nav-cta {
    display: inline-flex; align-items: center; gap: 0.55rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399 !important;
    padding: 0.52rem 1.25rem;
    border-radius: 50px; font-weight: 600; font-size: 0.88rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.12);
}
.nav-cta:hover {
    background: #10b981;
    color: #ffffff !important;
    border-color: #10b981;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.45);
    transform: translateY(-2px);
}

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-white); margin: 6px 0; transition: all 0.3s; border-radius: 2px; }

/* --- BOTONES PRINCIPALES --- */
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    background: linear-gradient(135deg, #25d366, #128c50);
    color: white; padding: 0.9rem 1.8rem; border-radius: 50px;
    font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
    transition: all 0.3s; box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 30px rgba(37,211,102,0.45); }

.btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: rgba(255,255,255,0.03); color: var(--text-white); padding: 0.9rem 1.8rem;
    border-radius: 50px; font-weight: 600; font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.2); transition: all 0.3s; cursor: pointer;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,168,83,0.08); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-xl { padding: 1.2rem 2.6rem; font-size: 1.15rem; }

/* Micro-puntos de pulso */
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%; display: inline-block;
    position: relative;
}
.pulse-dot.green { background: #10b981; box-shadow: 0 0 10px #10b981; }
.pulse-dot.blue { background: #3b82f6; box-shadow: 0 0 10px #3b82f6; }
.pulse-dot.pink { background: #ec4899; box-shadow: 0 0 10px #ec4899; }
.pulse-dot.gold { background: #d4a853; box-shadow: 0 0 10px #d4a853; }
.pulse-dot::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 1.5px solid currentColor; opacity: 0.6;
    animation: pulseRing 2s infinite ease-out;
}
@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* --- 2. HERO SECTION OPTIMIZADA PARA LAPTOPS Y MONITORES --- */
.hero {
    position: relative;
    padding: clamp(2.5rem, 5vh, 4rem) 0 clamp(2rem, 4vh, 3.5rem);
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at 15% 45%, rgba(59, 130, 246, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 25%, rgba(212, 168, 83, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(99, 102, 241, 0.1) 0%, transparent 60%),
        linear-gradient(to bottom, var(--navy-850), var(--navy-900));
}
.hero-bg::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-container {
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1.8rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 1.25fr;
    gap: clamp(2rem, 4vw, 3.8rem);
    align-items: center;
    width: 100%;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.38rem 1.1rem;
    background: rgba(212, 168, 83, 0.1); border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 50px; font-size: 0.82rem; font-weight: 600; color: var(--gold-light);
    margin-bottom: 1.2rem; letter-spacing: 0.3px;
}
.hero h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-weight: 800;
    line-height: 1.12; margin-bottom: 1.1rem; letter-spacing: -1px;
}
.hero-italic { font-family: 'Playfair Display', serif; font-style: italic; color: var(--gold-light); font-weight: 700; }
.hero-sub {
    font-size: 1.05rem; color: #94a3b8; margin-bottom: 1.8rem;
    max-width: 530px; line-height: 1.65;
}
.hero-sub strong { color: var(--text-white); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }

/* Botones Hero Re-diseñados (Lujo y Fuerza) */
.btn-hero-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
    background: linear-gradient(135deg, #d4a853 0%, #f3dfaa 50%, #d4a853 100%);
    background-size: 200% auto;
    color: #040814 !important; font-weight: 800; font-size: 0.96rem;
    padding: 0.85rem 1.8rem; border-radius: 50px; border: none; cursor: pointer;
    box-shadow: 0 6px 25px rgba(212, 168, 83, 0.35);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.btn-hero-primary::after,
.panel-actions .btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 42%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: rotate(25deg);
    pointer-events: none;
    animation: btnGoldShimmer 4.8s ease-in-out infinite;
}
@keyframes btnGoldShimmer {
    0%, 72%, 100% { left: -60%; opacity: 0; }
    12% { opacity: 1; }
    34% { left: 135%; opacity: 0; }
}
.btn-hero-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(212, 168, 83, 0.5);
}

.btn-hero-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05); color: #ffffff !important;
    padding: 0.85rem 1.8rem; border-radius: 50px; font-weight: 600; font-size: 0.96rem;
    border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(10px);
    transition: all 0.3s ease; cursor: pointer;
}
.btn-hero-secondary:hover {
    border-color: var(--gold); color: var(--gold-light) !important;
    background: rgba(212, 168, 83, 0.1); transform: translateY(-2px);
}

.hero-live-pills { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.live-pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.08);
    padding: 0.3rem 0.85rem; border-radius: 30px;
    font-size: 0.78rem; color: #94a3b8; font-weight: 500;
}

/* ==========================================================================
   DISPOSITIVOS REALES (MARCOS HD PARA SOFTWARE REAL)
   ========================================================================== */

/* Device Window (Laptop / Desktop Browser) */
.device-window {
    background: var(--navy-850);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-deep), var(--shadow-glow-blue);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}
.device-window:hover {
    box-shadow: 0 35px 85px rgba(0,0,0,0.55), 0 0 60px rgba(59,130,246,0.25);
}
.window-header {
    background: rgba(10, 21, 46, 0.96);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 9px 14px;
    display: flex; align-items: center; gap: 12px;
}
.window-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-address {
    flex: 1; background: rgba(255,255,255,0.05);
    border-radius: 6px; padding: 4px 12px;
    font-size: 0.74rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 6px;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.window-badge {
    font-size: 0.7rem; font-weight: 700; color: #10b981;
    background: rgba(16,185,129,0.12); padding: 2px 8px; border-radius: 20px;
    letter-spacing: 0.5px; text-transform: uppercase;
}

.device-screen {
    position: relative; overflow: hidden; cursor: zoom-in;
    background: #000;
}
.device-screen img,
.device-screen picture,
.tablet-screen picture,
.phone-screen picture,
.dual-desktop-stage picture,
.dual-phone-floating picture {
    display: block;
    width: 100%;
}
.device-screen img {
    width: 100%; height: auto; display: block;
    transition: transform 0.5s ease;
}
.device-screen:hover img {
    transform: scale(1.02);
}

.zoom-overlay {
    position: absolute; inset: 0;
    background: rgba(6, 13, 31, 0.55);
    display: flex; align-items: center; justify-content: center;
    gap: 8px; color: white; font-size: 0.88rem; font-weight: 600;
    opacity: 0; transition: opacity 0.3s;
    backdrop-filter: blur(3px);
}
.device-screen:hover .zoom-overlay { opacity: 1; }

/* Device Tablet Frame */
.device-tablet {
    background: #1e293b;
    border: 3.5px solid #334155;
    border-radius: 18px;
    padding: 7px;
    box-shadow: 0 25px 65px rgba(0,0,0,0.55), 0 0 35px rgba(59,130,246,0.2);
    position: relative; overflow: hidden;
}
.tablet-bar {
    display: flex; justify-content: center; padding: 2px 0 5px;
}
.tablet-camera { width: 6px; height: 6px; background: #475569; border-radius: 50%; }
.tablet-screen {
    border-radius: 10px; overflow: hidden; cursor: zoom-in; position: relative;
    background: #000;
}
.tablet-screen img { width: 100%; height: auto; display: block; transition: transform 0.4s; }
.tablet-screen:hover img { transform: scale(1.02); }
.tablet-screen:hover .zoom-overlay { opacity: 1; }

/* Device Phone Frame */
.device-phone {
    background: #0f172a;
    border: 3.5px solid #334155;
    border-radius: 34px;
    padding: 8px 8px 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.65), 0 0 30px rgba(236, 72, 153, 0.25);
    position: relative; max-width: 230px;
}
.phone-notch {
    width: 60px; height: 12px; background: #000;
    border-radius: 20px; margin: 2px auto 6px;
}
.phone-screen {
    border-radius: 24px; overflow: hidden; cursor: zoom-in; position: relative;
    background: #000;
}
.phone-screen img { width: 100%; height: auto; display: block; transition: transform 0.4s; }
.phone-screen:hover img { transform: scale(1.02); }
.phone-screen:hover .zoom-overlay { opacity: 1; }

.device-tag {
    position: absolute; bottom: 14px; left: 14px; z-index: 10;
    background: rgba(6, 13, 31, 0.9);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px; padding: 4px 10px;
    font-size: 0.72rem; color: white; display: flex; align-items: center; gap: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.tag-pos { border-color: rgba(16,185,129,0.4); }
.tag-pwa { border-color: rgba(236,72,153,0.4); }

/* Panel Visual para Apps Móviles Propias */
.panel-visual-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 1.5rem 0;
}
.panel-visual-phone .device-phone {
    max-width: 290px;
    width: 100%;
    box-shadow: 0 25px 65px rgba(0,0,0,0.65), 0 0 45px rgba(124, 58, 237, 0.3);
    border-color: #6366f1;
}
.app-floating-badge {
    position: absolute;
    bottom: 25px;
    right: 5%;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border-radius: 16px;
    padding: 0.6rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10;
    backdrop-filter: blur(8px);
}
.app-icon-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}
.app-floating-badge strong {
    display: block;
    font-size: 0.92rem;
    color: #fff;
    font-weight: 700;
}
.app-floating-badge span {
    display: block;
    font-size: 0.76rem;
    color: #a3e635;
    font-weight: 600;
}

/* --- HERO STAGE (COMPOSICIÓN 3D MULTI-DISPOSITIVO) --- */
/* --- HERO STAGE EXPANDIDO & VESTIDO --- */
.hero-stage {
    position: relative; width: 100%; max-width: 740px;
    perspective: 1200px; margin-left: auto;
    transform-style: preserve-3d;
    transform: perspective(1200px) rotateX(var(--stage-rx, 0deg)) rotateY(var(--stage-ry, 0deg));
    will-change: transform;
}
.hero-stage::before {
    content: ''; position: absolute;
    inset: -5% 5% 5% 5%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22), rgba(212, 168, 83, 0.1), transparent 70%);
    filter: blur(50px);
    z-index: 0; pointer-events: none;
    animation: heroAuraBreath 6s ease-in-out infinite;
}
@keyframes heroAuraBreath {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

/* Lienzo SVG de Sincronización en Vivo (POS + PWA -> ERP -> SUNAT) */
.hero-sync-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    pointer-events: none;
    overflow: visible;
}
.hero-sync-path {
    opacity: 0.82;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.22));
    transition: opacity 0.35s ease;
}
.hero-stage:hover .hero-sync-path {
    opacity: 1;
}
.hero-sync-pulse {
    opacity: 0.95;
}

.hero-device-laptop {
    width: 95%; margin-left: auto;
    position: relative; z-index: 2;
}
.hero-device-laptop .device-screen {
    aspect-ratio: 16 / 10;
    max-height: 420px;
}
.hero-device-laptop .device-screen picture,
.hero-device-laptop .device-screen picture img,
.hero-device-laptop .device-screen img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.panel-visual .device-window .device-screen {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    background: #060d1f;
    position: relative;
    overflow: hidden;
    display: block;
}
.panel-visual .device-window .device-screen picture,
.panel-visual .device-window .device-screen picture img,
.panel-visual .device-window .device-screen img,
.panel-visual .device-window .device-screen .panel-img {
    width: 100%;
    height: auto;
    max-height: 540px;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}
.hero-device-tablet {
    position: absolute; bottom: -24px; left: -16px; width: 50%;
    z-index: 4; transform: rotate(-1.5deg);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: heroFloatTablet 4.8s ease-in-out infinite;
    will-change: transform, translate;
}
.hero-device-tablet:hover {
    animation-play-state: paused;
    transform: rotate(0deg) translateY(-8px) scale(1.03);
    z-index: 10;
}
.hero-device-phone {
    position: absolute; bottom: -30px; right: -6px; width: 28%;
    z-index: 5; transform: rotate(2deg);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: heroFloatPhone 5.6s ease-in-out 1.2s infinite;
    will-change: transform, translate;
}
.hero-device-phone:hover {
    animation-play-state: paused;
    transform: rotate(0deg) translateY(-8px) scale(1.04);
    z-index: 10;
}

@keyframes heroFloatTablet {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}
@keyframes heroFloatPhone {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
}
@keyframes heroFloatBadgeLeft {
    0%, 100% { translate: 0 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 0 rgba(16, 185, 129, 0); }
    50% { translate: 0 -4px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 0 18px rgba(16, 185, 129, 0.22); }
}
@keyframes heroFloatBadgeRight {
    0%, 100% { translate: 0 0; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 0 rgba(59, 130, 246, 0); }
    50% { translate: 0 -4px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 0 18px rgba(59, 130, 246, 0.22); }
}

/* Badges Flotantes de Métrica y Autoridad */
.stage-metrics-row {
    display: contents;
}
.stage-metric-badge {
    position: absolute; z-index: 15;
    background: rgba(6, 13, 31, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.5rem 0.85rem;
    display: flex; align-items: center; gap: 0.65rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.stage-metric-badge strong {
    display: block; font-size: 0.84rem; font-weight: 800; color: #fff; line-height: 1.15;
}
.stage-metric-badge span {
    display: block; font-size: 0.68rem; color: #94a3b8; font-weight: 500;
}
.badge-top-left {
    top: -12px; left: 4%;
    border-color: rgba(16, 185, 129, 0.35);
    animation: heroFloatBadgeLeft 4.4s ease-in-out 0.3s infinite;
}
.badge-top-right {
    top: 20px; right: -12px;
    border-color: rgba(59, 130, 246, 0.35);
    animation: heroFloatBadgeRight 5.2s ease-in-out 1.6s infinite;
}
.hero-stage:hover .stage-metric-badge {
    transform: translateY(-3px);
}

/* --- 3. TRUST BAR --- */
.trust-bar {
    background: var(--navy-800);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 2.8rem 0; position: relative; z-index: 10;
}
.trust-grid { display: flex; justify-content: space-around; align-items: center; gap: 2rem; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-number { display: block; font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; letter-spacing: -0.5px; }
.trust-icon { display: block; font-size: 2.2rem; line-height: 1; }
.trust-label { display: block; font-size: 0.88rem; color: var(--text-muted); margin-top: 0.4rem; font-weight: 500; }
.trust-divider { width: 1px; height: 45px; background: var(--border); }

/* --- 4. SISTEMAS (SHOWCASE DECK EJECUTIVO 2026) --- */
.sistemas.section {
    padding: clamp(2.4rem, 4vh, 3.8rem) 0;
    position: relative;
    overflow: hidden;
}
.sistemas-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.5vw, 2.2rem);
}

.sistemas .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.sistemas .section-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}
.sistemas .section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.6rem;
}
.sistemas .section-sub {
    color: var(--text-light);
    font-size: 0.98rem;
    max-width: 740px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Dock de Navegación de Sistemas (Glassmorphism Unificado) */
.tabs-dock-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
    position: relative;
}
.tabs-dock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(10, 21, 46, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.4rem 0.65rem;
    flex-wrap: nowrap; /* 1 sola fila continua */
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    max-width: 100%;
    scroll-behavior: smooth;
    position: relative;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.tabs-dock::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.62rem 1.2rem 0.72rem;
    border-radius: 40px;
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.tab-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}
.tab-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transform: translateY(-1px);
}
.tab-btn:hover svg {
    transform: scale(1.15);
}
.tab-btn.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 168, 83, 0.35);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transform: translateY(-1px);
}
.tab-btn.active svg {
    color: var(--gold);
    transform: scale(1.1);
}

/* Micro-Barra de Progreso Animada en la base del botón activo */
.tab-progress-track {
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.tab-btn.active .tab-progress-track {
    opacity: 1;
}
.tab-progress-bar {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #d4a853, #f3dfaa);
    box-shadow: 0 0 6px rgba(212, 168, 83, 0.6);
}

/* Transición Suave de Paneles */
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: panelDeckIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes panelDeckIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Showcase Libre (Sin Caja Encerrada, Respira Libremente) */
.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(2rem, 3.5vw, 3.8rem);
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0.5rem 0 1rem;
    position: relative;
}

.panel-text {
    position: relative;
    z-index: 2;
}
.system-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(212, 168, 83, 0.12);
    border: 1px solid var(--border-gold);
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}
.panel-text h3 {
    font-size: clamp(1.5rem, 2.2vw, 1.95rem);
    margin-bottom: 0.45rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.4px;
}
.panel-text > p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
    line-height: 1.55;
}

/* Características en GRID COMPACTO 2x2 */
.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    margin-bottom: 1.4rem;
    list-style: none;
}
.feature-list li {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 0.75rem 0.95rem;
    display: flex;
    gap: 0.95rem;
    align-items: center;
    transition: all 0.25s ease;
}
.feature-list li:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(212, 168, 83, 0.45);
    transform: translateY(-2px);
}
.feature-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(212, 168, 83, 0.04) 50%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.95rem !important;
    line-height: 1 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}
.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.2;
}
.feature-list li:hover .feature-icon {
    transform: scale(1.12) rotate(2deg);
    border-color: rgba(212, 168, 83, 0.65);
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.22) 0%, rgba(212, 168, 83, 0.08) 100%);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.feature-list strong,
.feature-list li > div > strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 3px;
}
.feature-list li > div > span,
.feature-list li span:not(.feature-icon) {
    display: block;
    font-size: 0.76rem;
    color: #94a3b8;
    line-height: 1.35;
}

.panel-actions {
    display: flex;
    gap: 0.85rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    align-items: center;
}
.panel-actions .btn-primary {
    background: linear-gradient(135deg, #d4a853 0%, #f3dfaa 50%, #d4a853 100%);
    background-size: 200% auto;
    color: #060d1f;
    font-weight: 800;
    border: none;
    box-shadow: 0 6px 20px rgba(212, 168, 83, 0.35);
    padding: 0.65rem 1.4rem;
    font-size: 0.88rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.panel-actions .btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 168, 83, 0.5);
}
.panel-actions .btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    padding: 0.65rem 1.4rem;
    font-size: 0.88rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.panel-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.panel-visual {
    position: relative;
    z-index: 2;
    padding-bottom: 14px;
}
.panel-img {
    border-radius: var(--radius);
    width: 100%;
    transition: transform 0.4s ease;
}
.panel-visual:hover .panel-img {
    transform: scale(1.015);
}

/* Badge Flotante de Telemetría y Confianza en Sistemas */
.panel-telemetry-badge {
    position: absolute;
    bottom: -8px;
    right: 18px;
    z-index: 12;
    background: rgba(6, 13, 31, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 0.45rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}
.panel-telemetry-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 168, 83, 0.4);
}
.panel-telemetry-badge strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
}
.panel-telemetry-badge span {
    display: block;
    font-size: 0.66rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Dual Device Wrap (Desktop + Phone Overlap) */
.dual-device-wrap {
    position: relative;
    width: 100%;
}
.dual-desktop {
    width: 90%;
}
.dual-phone {
    position: absolute;
    bottom: -20px;
    right: -5px;
    width: 34%;
    z-index: 5;
    transform: rotate(1deg);
    transition: transform var(--transition);
}
.dual-phone:hover {
    transform: rotate(0) translateY(-6px) scale(1.04);
}

/* --- 4.5. CONSULTORÍA & DIAGNÓSTICO TÉCNICO (FILTRO PROFESIONAL) --- */
.consultoria {
    background: linear-gradient(to bottom, var(--navy-900), var(--navy-950));
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.consultoria::before {
    content: ''; position: absolute;
    top: 20%; left: -10%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.08), transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.consultoria-grid {
    display: grid; grid-template-columns: 1fr 1.35fr;
    gap: 4rem; align-items: flex-start;
}

.consultoria-intro h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800;
    line-height: 1.1; margin-bottom: 1.2rem; letter-spacing: -1px;
}
.consultoria-sub {
    color: var(--text-light); font-size: 1.08rem; line-height: 1.7; margin-bottom: 2rem;
}
.consultoria-badge-direct {
    display: inline-flex; align-items: center; gap: 0.8rem;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1.2rem; border-radius: var(--radius-sm);
    font-size: 0.88rem; color: #cbd5e1; font-weight: 500;
    margin-bottom: 1.4rem;
}
.code-symbol {
    font-family: monospace; font-size: 1.1rem; font-weight: 800; color: #a3e635;
}
.consultoria-cashback-note {
    display: flex; gap: 0.8rem; align-items: flex-start;
    background: rgba(16, 185, 129, 0.08); border-left: 3px solid var(--green-accent);
    padding: 0.9rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.cashback-icon { font-size: 1.2rem; line-height: 1; flex-shrink: 0; }
.consultoria-cashback-note p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }
.consultoria-cashback-note strong { color: var(--green-accent); }

/* Tarjetas de Precios */
.consultoria-cards {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; align-items: stretch;
}
.price-card {
    background: linear-gradient(135deg, rgba(12, 27, 58, 0.65), rgba(6, 13, 31, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.price-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(380px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(163, 230, 53, 0.11), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}
.price-card-featured::before {
    background: radial-gradient(380px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(212, 168, 83, 0.14), transparent 65%);
}
.price-card:hover::before {
    opacity: 1;
}
.price-card > div {
    position: relative;
    z-index: 1;
}
.price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(163, 230, 53, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(163, 230, 53, 0.1);
}
.price-card-featured {
    border-color: rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(15, 34, 73, 0.7), rgba(6, 13, 31, 0.98));
}
.price-card-featured:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 35px rgba(255, 255, 255, 0.1);
}

.price-card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.2rem;
}
.card-kicker { font-size: 0.76rem; color: #94a3b8; font-weight: 500; letter-spacing: 0.5px; }
.card-num { font-size: 0.8rem; color: #64748b; font-family: monospace; font-weight: 700; }

.price-card h3 {
    font-size: 1.45rem; font-weight: 800; color: #ffffff; margin-bottom: 0.8rem; letter-spacing: -0.3px;
}
.card-price {
    display: flex; align-items: baseline; gap: 4px; margin-bottom: 1rem;
}
.card-price .currency {
    font-size: 1.4rem; font-weight: 700; color: #a3e635;
}
.card-price .amount {
    font-size: 3.4rem; font-weight: 900; line-height: 1; color: #a3e635; letter-spacing: -1.5px;
}
.card-desc {
    font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.5rem;
}

/* Acordeón "Qué incluye" */
.card-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1rem;
}
.accordion-toggle {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    background: transparent; border: none; padding: 0.9rem 0;
    color: #cbd5e1; font-size: 0.88rem; font-weight: 600; cursor: pointer;
    transition: color 0.2s;
}
.accordion-toggle:hover { color: #ffffff; }
.accordion-icon {
    font-size: 1.15rem; font-weight: 300; color: #94a3b8;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
}
.accordion-toggle.open .accordion-icon {
    transform: rotate(45deg);
    color: #84cc16;
}

.accordion-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}
.accordion-content.open {
    max-height: 250px; opacity: 1; margin-bottom: 1rem;
}
.accordion-content ul {
    list-style: none; padding: 0.2rem 0;
}
.accordion-content li {
    font-size: 0.88rem; color: #cbd5e1; line-height: 1.5; margin-bottom: 0.6rem;
    padding-left: 1.5rem; position: relative;
}
.accordion-content li::before {
    content: '✓'; position: absolute; left: 0; color: #84cc16; font-size: 0.95rem; font-weight: 800; line-height: 1.4;
}

/* Botones de Tarjetas */
.btn-card-action {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    width: 100%; padding: 0.85rem 1rem;
    border-radius: 12px; font-weight: 800; font-size: 0.92rem;
    text-align: center; text-decoration: none; cursor: pointer;
    white-space: nowrap; letter-spacing: -0.2px;
    transition: all 0.25s ease;
}
.btn-card-lime {
    background: #84cc16; color: #040814;
    box-shadow: 0 4px 18px rgba(132, 204, 22, 0.3);
}
.btn-card-lime:hover {
    background: #9ee82b; transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(132, 204, 22, 0.45);
}
.btn-card-white {
    background: #ffffff; color: #040814;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
}
.btn-card-white:hover {
    background: #f8fafc; transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.35);
}

/* --- 5. METODOLOGÍA (INGENIERÍA MODULAR & PIPELINE DINÁMICO) --- */
.metodologia {
    background:
        radial-gradient(ellipse at 12% 25%, rgba(0, 210, 255, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse at 88% 30%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(168, 85, 247, 0.06) 0%, transparent 50%),
        var(--navy-800);
    position: relative;
    overflow: hidden;
}

.metodologia::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    opacity: 0.6;
}

.section-sub-desc {
    max-width: 680px;
    margin: 0.9rem auto 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Pipeline Stepper (Línea Conectora con Flujo Láser Continuo) */
.metodologia-pipeline {
    max-width: 1040px;
    margin: 2.8rem auto 3.2rem;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.pipeline-track {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.pipeline-laser {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 45%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #00d2ff 25%, 
        #a855f7 50%, 
        #f59e0b 75%, 
        #10b981 100%, 
        transparent 100%
    );
    border-radius: 4px;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.8));
    animation: pipelineLaserFlow 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes pipelineLaserFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

.pipeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: -16px;
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
    cursor: default;
}

.step-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #060d1f;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.35s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.step-num {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.step-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    opacity: 0;
    animation: stepPulseWave 2.8s infinite ease-out;
}

@keyframes stepPulseWave {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.step-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    white-space: nowrap;
    transition: color 0.3s ease;
}

/* Colores cromáticos por paso en el Pipeline */
.pipeline-step.step-1 .step-marker { border-color: #00d2ff; color: #00d2ff; }
.pipeline-step.step-1 .step-pulse { border-color: #00d2ff; animation-delay: 0s; }
.pipeline-step.step-1:hover .step-name { color: #00d2ff; }

.pipeline-step.step-2 .step-marker { border-color: #a855f7; color: #c084fc; }
.pipeline-step.step-2 .step-pulse { border-color: #a855f7; animation-delay: 0.7s; }
.pipeline-step.step-2:hover .step-name { color: #c084fc; }

.pipeline-step.step-3 .step-marker { border-color: #f59e0b; color: #fbbf24; }
.pipeline-step.step-3 .step-pulse { border-color: #f59e0b; animation-delay: 1.4s; }
.pipeline-step.step-3:hover .step-name { color: #fbbf24; }

.pipeline-step.step-4 .step-marker { border-color: #10b981; color: #34d399; }
.pipeline-step.step-4 .step-pulse { border-color: #10b981; animation-delay: 2.1s; }
.pipeline-step.step-4:hover .step-name { color: #34d399; }

/* Grid de Tarjetas de Metodología */
.metodologia-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    position: relative;
    z-index: 2;
}

/* Tarjeta Base de Fase */
.metodologia-card {
    background: linear-gradient(150deg, rgba(13, 24, 50, 0.85) 0%, rgba(6, 12, 28, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.9rem 1.45rem 1.6rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

/* Línea de brillo superior cromática */
.metodologia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.85;
    transition: all 0.35s ease;
}

/* Halo de luz ambiental interior reactivo */
.metodologia-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.metodologia-card:hover {
    transform: translateY(-8px);
}

.metodologia-card:hover::before {
    height: 4px;
    opacity: 1;
}

.metodologia-card:hover::after {
    opacity: 1;
}

/* Marca de Agua Numérica en Fondo */
.fase-watermark {
    position: absolute;
    top: 0.6rem;
    right: 0.9rem;
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.04);
    pointer-events: none;
    user-select: none;
    transition: all 0.4s ease;
    font-family: 'Inter', sans-serif;
}

.metodologia-card:hover .fase-watermark {
    transform: scale(1.06);
}

/* Cabecera de Fase (Badge + Timing) */
.fase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.fase-badge {
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0.32rem 0.72rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.fase-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    display: inline-block;
    animation: faseDotPulse 2s infinite ease-in-out;
}

@keyframes faseDotPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.35); opacity: 1; filter: drop-shadow(0 0 4px currentColor); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.fase-timing {
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.035);
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contenedor de Icono con Flotación y Glow */
.fase-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.metodologia-card:hover .fase-icon-wrap {
    transform: translateY(-5px) rotate(4deg) scale(1.08);
}

.metodologia-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.65rem;
    line-height: 1.32;
    position: relative;
    z-index: 2;
    letter-spacing: -0.2px;
}

.metodologia-card p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

/* Entregables con Badges de Check SVG */
.fase-deliverables {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 2;
}

.deliverable-tag {
    font-size: 0.77rem;
    font-weight: 600;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.deliverable-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.metodologia-card:hover .deliverable-tag {
    color: #ffffff;
    transform: translateX(3px);
}

/* Píldora de Garantía en el Pie de la Tarjeta */
.fase-footer {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.fase-pill {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   PALETAS CROMÁTICAS INDIVIDUALES POR FASE
   ========================================================================== */

/* --- FASE 1: CIAN ELÉCTRICO (BLUEPRINT & ARQUITECTURA) --- */
.metodologia-card.fase-1::before {
    background: linear-gradient(90deg, #00d2ff, #0284c7);
}
.metodologia-card.fase-1::after {
    background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.12) 0%, transparent 70%);
}
.metodologia-card.fase-1:hover {
    border-color: rgba(0, 210, 255, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 35px rgba(0, 210, 255, 0.22);
}
.metodologia-card.fase-1:hover .fase-watermark {
    -webkit-text-stroke-color: rgba(0, 210, 255, 0.22);
}
.metodologia-card.fase-1 .fase-badge {
    background: rgba(0, 210, 255, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(0, 210, 255, 0.35);
}
.metodologia-card.fase-1 .fase-dot {
    background: #00d2ff;
    color: #00d2ff;
}
.metodologia-card.fase-1 .fase-icon-wrap {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.18) 0%, rgba(2, 132, 199, 0.08) 100%);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: #38bdf8;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.18);
}
.metodologia-card.fase-1:hover .fase-icon-wrap {
    background: #00d2ff;
    color: #060d1f;
    border-color: #00d2ff;
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.55);
}
.metodologia-card.fase-1 .deliverable-check {
    background: rgba(0, 210, 255, 0.15);
    color: #38bdf8;
}
.metodologia-card.fase-1 .fase-pill {
    background: rgba(0, 210, 255, 0.08);
    color: #7dd3fc;
    border: 1px solid rgba(0, 210, 255, 0.2);
}
.metodologia-card.fase-1:hover .fase-pill {
    background: rgba(0, 210, 255, 0.18);
    border-color: rgba(0, 210, 255, 0.4);
    color: #ffffff;
}

/* --- FASE 2: PÚRPURA CYBER (CÓDIGO & STAGING) --- */
.metodologia-card.fase-2::before {
    background: linear-gradient(90deg, #c084fc, #6366f1);
}
.metodologia-card.fase-2::after {
    background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.14) 0%, transparent 70%);
}
.metodologia-card.fase-2:hover {
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 35px rgba(168, 85, 247, 0.25);
}
.metodologia-card.fase-2:hover .fase-watermark {
    -webkit-text-stroke-color: rgba(168, 85, 247, 0.24);
}
.metodologia-card.fase-2 .fase-badge {
    background: rgba(168, 85, 247, 0.14);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.35);
}
.metodologia-card.fase-2 .fase-dot {
    background: #a855f7;
    color: #a855f7;
}
.metodologia-card.fase-2 .fase-icon-wrap {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.2);
}
.metodologia-card.fase-2:hover .fase-icon-wrap {
    background: #a855f7;
    color: #ffffff;
    border-color: #a855f7;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.6);
}
.metodologia-card.fase-2 .deliverable-check {
    background: rgba(168, 85, 247, 0.16);
    color: #c084fc;
}
.metodologia-card.fase-2 .fase-pill {
    background: rgba(168, 85, 247, 0.09);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.22);
}
.metodologia-card.fase-2:hover .fase-pill {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.45);
    color: #ffffff;
}

/* --- FASE 3: ÁMBAR ORO (DESPLIEGUE & HARDWARE) --- */
.metodologia-card.fase-3::before {
    background: linear-gradient(90deg, #fbbf24, #ea580c);
}
.metodologia-card.fase-3::after {
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.14) 0%, transparent 70%);
}
.metodologia-card.fase-3:hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 35px rgba(245, 158, 11, 0.25);
}
.metodologia-card.fase-3:hover .fase-watermark {
    -webkit-text-stroke-color: rgba(245, 158, 11, 0.24);
}
.metodologia-card.fase-3 .fase-badge {
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.metodologia-card.fase-3 .fase-dot {
    background: #f59e0b;
    color: #f59e0b;
}
.metodologia-card.fase-3 .fase-icon-wrap {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(234, 88, 12, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.2);
}
.metodologia-card.fase-3:hover .fase-icon-wrap {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}
.metodologia-card.fase-3 .deliverable-check {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
}
.metodologia-card.fase-3 .fase-pill {
    background: rgba(245, 158, 11, 0.09);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.22);
}
.metodologia-card.fase-3:hover .fase-pill {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.45);
    color: #ffffff;
}

/* --- FASE 4: ESMERALDA NEÓN (SLA 99.9% & SUNAT 24/7) --- */
.metodologia-card.fase-4::before {
    background: linear-gradient(90deg, #34d399, #059669);
}
.metodologia-card.fase-4::after {
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.16) 0%, transparent 70%);
}
.metodologia-card.fase-4:hover {
    border-color: rgba(16, 185, 129, 0.48);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 35px rgba(16, 185, 129, 0.28);
}
.metodologia-card.fase-4:hover .fase-watermark {
    -webkit-text-stroke-color: rgba(16, 185, 129, 0.26);
}
.metodologia-card.fase-4 .fase-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.metodologia-card.fase-4 .fase-dot {
    background: #10b981;
    color: #10b981;
}
.metodologia-card.fase-4 .fase-icon-wrap {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.38);
    color: #34d399;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
}
.metodologia-card.fase-4:hover .fase-icon-wrap {
    background: #10b981;
    color: #060d1f;
    border-color: #10b981;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.65);
}
.metodologia-card.fase-4 .deliverable-check {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
}
.metodologia-card.fase-4 .fase-pill {
    background: rgba(16, 185, 129, 0.1);
    color: #a7f3d0;
    border: 1px solid rgba(16, 185, 129, 0.25);
}
.metodologia-card.fase-4:hover .fase-pill {
    background: rgba(16, 185, 129, 0.22);
    border-color: rgba(16, 185, 129, 0.5);
    color: #ffffff;
}

/* Sincronización Secuencial del Láser con Pasos (01..04) y Tarjetas de Fase */
.pipeline-step.is-laser-active .step-marker {
    transform: scale(1.16);
}
.pipeline-step.step-1.is-laser-active .step-marker {
    background: rgba(0, 210, 255, 0.2);
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.65);
}
.pipeline-step.step-1.is-laser-active .step-name { color: #00d2ff; }

.pipeline-step.step-2.is-laser-active .step-marker {
    background: rgba(168, 85, 247, 0.22);
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.65);
}
.pipeline-step.step-2.is-laser-active .step-name { color: #c084fc; }

.pipeline-step.step-3.is-laser-active .step-marker {
    background: rgba(245, 158, 11, 0.22);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.65);
}
.pipeline-step.step-3.is-laser-active .step-name { color: #fbbf24; }

.pipeline-step.step-4.is-laser-active .step-marker {
    background: rgba(16, 185, 129, 0.22);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.65);
}
.pipeline-step.step-4.is-laser-active .step-name { color: #34d399; }

.metodologia-card.is-laser-active {
    transform: translateY(-5px);
}
.metodologia-card.is-laser-active::before {
    height: 4px;
    opacity: 1;
}
.metodologia-card.is-laser-active::after {
    opacity: 0.85;
}
.metodologia-card.is-laser-active .fase-icon-wrap {
    transform: translateY(-3px) scale(1.05);
}
.metodologia-card.fase-1.is-laser-active {
    border-color: rgba(0, 210, 255, 0.38);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), 0 0 28px rgba(0, 210, 255, 0.18);
}
.metodologia-card.fase-1.is-laser-active .fase-watermark {
    -webkit-text-stroke-color: rgba(0, 210, 255, 0.18);
}
.metodologia-card.fase-2.is-laser-active {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), 0 0 28px rgba(168, 85, 247, 0.2);
}
.metodologia-card.fase-2.is-laser-active .fase-watermark {
    -webkit-text-stroke-color: rgba(168, 85, 247, 0.2);
}
.metodologia-card.fase-3.is-laser-active {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), 0 0 28px rgba(245, 158, 11, 0.2);
}
.metodologia-card.fase-3.is-laser-active .fase-watermark {
    -webkit-text-stroke-color: rgba(245, 158, 11, 0.2);
}
.metodologia-card.fase-4.is-laser-active {
    border-color: rgba(16, 185, 129, 0.42);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), 0 0 28px rgba(16, 185, 129, 0.22);
}
.metodologia-card.fase-4.is-laser-active .fase-watermark {
    -webkit-text-stroke-color: rgba(16, 185, 129, 0.22);
}

/* --- 6. GARANTÍA --- */
.garantia {
    background:
        radial-gradient(ellipse at 75% 50%, rgba(212,168,83,0.08) 0%, transparent 60%),
        var(--navy-900);
}
.garantia-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.garantia-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1.4rem; line-height: 1.2; font-weight: 800; }
.garantia-sub { color: var(--text-light); font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.7; }
.garantia-list li {
    position: relative; padding-left: 2.2rem; margin-bottom: 1rem; color: var(--text-light); font-size: 1.02rem;
}
.garantia-list li::before {
    content: "✓"; position: absolute; left: 0; top: 2px;
    color: var(--navy-950); background: var(--green-accent);
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
}

.garantia-card {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-850));
    border: 1px solid var(--border-gold); border-radius: var(--radius-lg);
    padding: 3.2rem 2.5rem; text-align: center;
    box-shadow: var(--shadow-deep), var(--shadow-glow-gold);
    position: relative;
    overflow: hidden;
}
.sla-label {
    display: inline-block; padding: 0.4rem 1.1rem; background: rgba(16,185,129,0.12);
    color: var(--green-accent); border-radius: 50px; font-size: 0.82rem; font-weight: 800; margin-bottom: 1.5rem;
    letter-spacing: 1px;
}
.sla-value { font-size: 5.2rem; font-weight: 900; color: var(--text-white); line-height: 1; letter-spacing: -2px; }
.sla-desc { font-size: 0.92rem; color: var(--text-muted); margin-top: 0.6rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
.sla-bar { width: 100%; height: 7px; background: rgba(255,255,255,0.08); border-radius: 4px; margin-top: 2rem; overflow: hidden; position: relative; }
.sla-bar-fill { width: 0; height: 100%; background: linear-gradient(90deg, var(--green-accent), var(--gold)); border-radius: 4px; transition: width 2s ease; position: relative; overflow: hidden; }
.sla-bar-fill.animated { width: 99.9%; }
.sla-bar-fill.animated::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: slaBarShimmer 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes slaBarShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(220%); }
}

.sla-live-telemetry {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.42rem 0.95rem;
    border-radius: 30px;
    background: rgba(6, 13, 31, 0.65);
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-size: 0.78rem;
    color: #94a3b8;
}
.sla-ecg-svg {
    flex-shrink: 0;
    overflow: visible;
}
.sla-ecg-line {
    stroke-dasharray: 64;
    stroke-dashoffset: 64;
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.65));
    animation: slaEcgPulse 2.4s ease-in-out infinite;
}
@keyframes slaEcgPulse {
    0% { stroke-dashoffset: 64; opacity: 0.35; }
    45% { stroke-dashoffset: 0; opacity: 1; }
    85% { stroke-dashoffset: 0; opacity: 0.85; }
    100% { stroke-dashoffset: -64; opacity: 0.25; }
}
.sla-telemetry-text strong {
    color: #34d399;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* --- 7. PRE-FOOTER BANNER & TARJETA EJECUTIVA DE CONVERSIÓN --- */
.prefooter-section {
    padding: 3rem 0 5rem;
    position: relative;
    z-index: 10;
}

.prefooter-card {
    background: 
        radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.16), transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(212, 168, 83, 0.08), transparent 45%),
        linear-gradient(135deg, rgba(12, 27, 58, 0.95), rgba(6, 13, 31, 0.98));
    border: 1px solid rgba(212, 168, 83, 0.28);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3.2rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 50px rgba(212, 168, 83, 0.08);
    position: relative;
    overflow: hidden;
}

.prefooter-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.prefooter-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 1.2rem;
}

.prefooter-main h2 {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.prefooter-lead {
    font-size: 1.02rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 580px;
}

.prefooter-trust-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #cbd5e1;
}

.trust-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

.prefooter-action-box {
    background: rgba(6, 13, 31, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

.action-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.action-box-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
}

.action-box-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(212, 168, 83, 0.12);
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    border: 1px solid var(--border-gold);
}

.action-box-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.action-box-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    display: inline-flex;
    align-items: center;
}

.action-box-footer {
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.direct-contact-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
}

.direct-label {
    color: var(--text-muted);
}

.direct-value {
    color: var(--text-white);
    font-weight: 600;
}

a.direct-value:hover {
    color: var(--gold);
}

.bonus-notice {
    font-size: 0.74rem;
    color: var(--gold-light);
    margin-top: 0.6rem;
    line-height: 1.4;
    opacity: 0.92;
}

/* ==========================================================================
   FOOTER EJECUTIVO DE ALTA AUTORIDAD (CON TELEMETRÍA Y HUB TÁCTIL)
   ========================================================================== */
.footer {
    background: 
        radial-gradient(ellipse at 15% 20%, rgba(0, 210, 255, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 30%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(212, 168, 83, 0.04) 0%, transparent 50%),
        #040814;
    position: relative;
    padding: 5rem 0 2.5rem;
    color: #94a3b8;
    overflow: hidden;
}
.footer .container {
    max-width: 1320px;
}

/* Haz de luz continuo en el borde superior del footer */
.footer-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(56, 189, 248, 0.8) 25%, 
        rgba(212, 168, 83, 0.9) 50%, 
        rgba(16, 185, 129, 0.8) 75%, 
        transparent 100%
    );
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.1fr 1.3fr 1.3fr 1.7fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
}

/* Columna 1: Marca y Telemetría */
.footer-logo {
    margin-bottom: 1.2rem;
    display: inline-flex;
    transition: transform 0.3s ease;
}
.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-desc {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.65;
    max-width: 360px;
    margin-bottom: 1.3rem;
}

/* Tarjeta de Telemetría Activa */
.footer-telemetry-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 15, 36, 0.6) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    max-width: 360px;
}
.footer-telemetry-card:hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
    transform: translateY(-2px);
}
.telemetry-live-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #34d399;
    margin-bottom: 0.5rem;
}
.telemetry-specs {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
}
.telemetry-specs span {
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Insignia Fiscal */
.footer-tax-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-tax-badge svg {
    color: var(--gold);
}

/* Encabezados y Acordeón */
.footer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 1.4rem;
    text-align: left;
}
.footer-heading .heading-content {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-heading svg {
    color: var(--gold);
}
.col-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 83, 0.15);
    color: var(--gold-light);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    margin-left: 4px;
}
.accordion-chevron {
    display: none; /* En desktop oculto */
    transition: transform 0.3s ease;
    color: var(--gold);
}

/* Lista de navegación */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    list-style: none;
}
.footer-nav a {
    font-size: 0.86rem;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav-arrow {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.sector-icon {
    font-size: 0.9rem;
}
.footer-nav a:hover {
    color: #ffffff;
    transform: translateX(4px);
}
.footer-nav a:hover .nav-arrow {
    color: var(--gold);
    transform: translateX(2px);
}
.highlight-link {
    color: var(--gold) !important;
    font-weight: 600;
}

/* Tarjetas de Acción Rápida (Contacto) */
.footer-action-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-action-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-action-card:hover {
    transform: translateY(-2px);
}
.card-whatsapp {
    border-color: rgba(37, 211, 102, 0.3);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(6, 15, 36, 0.4) 100%);
}
.card-whatsapp:hover {
    border-color: #25d366;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.16) 0%, rgba(6, 15, 36, 0.6) 100%);
}
.card-whatsapp .action-card-icon {
    color: #25d366;
    background: rgba(37, 211, 102, 0.15);
}
.card-email {
    border-color: rgba(56, 189, 248, 0.25);
}
.card-email:hover {
    border-color: #38bdf8;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.2);
    background: rgba(56, 189, 248, 0.08);
}
.card-email .action-card-icon {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
}
.action-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.action-card-text {
    display: flex;
    flex-direction: column;
}
.action-badge-online {
    font-size: 0.68rem;
    font-weight: 700;
    color: #25d366;
    letter-spacing: 0.3px;
}
.action-label-small {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}
.action-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}
.action-sub {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* Tarjeta Horario de Guardia */
.footer-schedule-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(212, 168, 83, 0.05);
    border: 1px solid rgba(212, 168, 83, 0.18);
}
.schedule-icon {
    color: var(--gold);
    flex-shrink: 0;
}
.schedule-text {
    display: flex;
    flex-direction: column;
}
.schedule-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.schedule-hours {
    font-size: 0.76rem;
    color: #cbd5e1;
    font-weight: 500;
}
.schedule-badge {
    font-size: 0.68rem;
    color: var(--gold-light);
    font-weight: 600;
}

/* Línea divisoria */
.footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin-bottom: 2rem;
}

/* Barra inferior refinada (ESTRICTAMENTE 1 FILA HORIZONTAL EN DESKTOP) */
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: #64748b;
    position: relative;
    z-index: 2;
    white-space: nowrap;
}
.footer-bottom-left {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex-shrink: 0;
}
.corp-name {
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.3px;
    font-size: 0.78rem;
}
.corp-tax, .corp-location {
    color: #94a3b8;
    font-size: 0.78rem;
}
.sep-dot {
    color: rgba(255, 255, 255, 0.18);
    font-size: 0.75rem;
}

.footer-bottom-right {
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    flex-shrink: 0;
}
.legal-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.76rem;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
}
.legal-link:hover {
    color: #f1f5f9;
}

/* Botón Sello Dorado Libro de Reclamaciones INDECOPI */
.btn-libro-gold {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.12) 0%, rgba(212, 168, 83, 0.04) 100%);
    border: 1px solid var(--border-gold);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}
.btn-libro-gold svg {
    color: var(--gold);
}
.btn-libro-gold:hover {
    background: rgba(212, 168, 83, 0.22);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(212, 168, 83, 0.3);
}
.libro-seal-tag {
    font-size: 0.62rem;
    font-weight: 800;
    color: var(--gold);
    background: rgba(212, 168, 83, 0.2);
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   MODAL LIBRO DE RECLAMACIONES OFICIAL INDECOPI (D.S. 011-2011-PCM)
   ========================================================================== */
.modal-libro-card {
    max-width: 840px;
    width: 95%;
    padding: 2.2rem 2.5rem;
    background: linear-gradient(180deg, #071026 0%, #050a18 100%);
    border: 1px solid rgba(212, 168, 83, 0.28);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 90px rgba(0, 0, 0, 0.85), 0 0 50px rgba(212, 168, 83, 0.12);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

/* Scrollbar personalizado para el modal */
.modal-libro-card::-webkit-scrollbar {
    width: 6px;
}
.modal-libro-card::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}
.modal-libro-card::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 83, 0.35);
    border-radius: 4px;
}
.modal-libro-card::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Cabecera del Libro */
.libro-modal-header {
    margin-bottom: 2rem;
    text-align: left;
}
.libro-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}
.libro-badge-group {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.libro-badge-legal {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cyan);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.4px;
}
.libro-badge-seal {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--gold);
    background: rgba(212, 168, 83, 0.12);
    border: 1px solid var(--border-gold);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.libro-correlative-pill {
    font-size: 0.72rem;
    font-family: monospace;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    letter-spacing: 0.6px;
}
.libro-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.1rem;
    letter-spacing: -0.5px;
}

/* Tarjeta del Proveedor Fiscal */
.libro-provider-box {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.provider-main-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.provider-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(212, 168, 83, 0.1);
    border: 1px solid rgba(212, 168, 83, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}
.provider-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.provider-name {
    font-size: 0.96rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.provider-meta {
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.provider-meta strong {
    color: #cbd5e1;
}

/* Aviso Legal Marco Normativo */
.libro-legal-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.06) 0%, rgba(6, 15, 36, 0.4) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    margin-bottom: 0.5rem;
}
.libro-legal-notice .notice-icon {
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 2px;
}
.libro-legal-notice p {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
}
.libro-legal-notice strong {
    color: #38bdf8;
}

/* Secciones del Formulario */
.libro-form-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.4rem;
}
.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, #b45309 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.2px;
}

/* Grillas de Formulario */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.1rem;
}
.libro-form .form-group {
    margin-bottom: 1.1rem;
    display: flex;
    flex-direction: column;
}
.libro-form .form-group:last-child {
    margin-bottom: 0;
}
.libro-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.45rem;
    display: block;
}
.libro-label .req {
    color: #f87171;
    font-weight: 700;
}
.libro-label .opt {
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 400;
}

/* Inputs de Alta Gama (Dark Mode Glassmorphism) */
.libro-input,
.libro-select,
.libro-textarea,
.libro-textarea-sm {
    width: 100%;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    box-sizing: border-box;
}
.libro-input:hover,
.libro-select:hover,
.libro-textarea:hover,
.libro-textarea-sm:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
}
.libro-input:focus,
.libro-select:focus,
.libro-textarea:focus,
.libro-textarea-sm:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.2);
    outline: none;
}
.libro-input::placeholder,
.libro-textarea::placeholder,
.libro-textarea-sm::placeholder {
    color: #475569;
    font-size: 0.84rem;
}

/* Input con Icono Frontal */
.input-icon-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}
.input-icon-wrap svg {
    position: absolute;
    left: 14px;
    color: #64748b;
    pointer-events: none;
    transition: color 0.2s ease;
}
.input-icon-wrap .libro-input {
    padding-left: 2.6rem;
}
.input-icon-wrap .libro-input:focus + svg,
.input-icon-wrap:focus-within svg {
    color: var(--gold);
}

/* Split Documento (Tipo Select + N° Input) */
.input-split-doc {
    display: flex;
    gap: 0.6rem;
}
.doc-select {
    flex: 0 0 100px;
    cursor: pointer;
    background-color: #0b152d;
}
.input-split-doc .libro-input {
    flex: 1;
}

/* Select Styling */
.libro-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4a853' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 2rem;
}
.libro-select option {
    background: #060e22;
    color: #ffffff;
    padding: 8px;
}

/* Input de Moneda S/. */
.input-currency-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.currency-tag {
    position: absolute;
    left: 14px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--gold);
    pointer-events: none;
}
.currency-input {
    padding-left: 2.6rem;
}

/* Radio Cards: Identificación del Bien */
.bien-tipo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.bien-radio-card {
    position: relative;
    cursor: pointer;
}
.bien-radio-native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.bien-card-inner {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    transition: all 0.25s ease;
}
.bien-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}
.bien-texts {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}
.bien-heading {
    font-size: 0.88rem;
    font-weight: 700;
    color: #e2e8f0;
}
.bien-desc {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.3;
}
.bien-check-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 0.7rem;
    font-weight: 900;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.bien-radio-card:hover .bien-card-inner {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}
.bien-radio-card.active .bien-card-inner {
    border-color: var(--cyan);
    background: rgba(56, 189, 248, 0.08);
    box-shadow: 0 4px 18px rgba(56, 189, 248, 0.12);
}
.bien-radio-card.active .bien-heading {
    color: #ffffff;
}
.bien-radio-card.active .bien-check-badge {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #040814;
}

/* Radio Cards: RECLAMO vs QUEJA */
.req-type-container {
    margin-bottom: 1.1rem;
}
.req-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.45rem;
}
.req-card {
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
    position: relative;
}
.req-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}
.req-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}
.req-radio-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.req-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}
.req-badge-law {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(212, 168, 83, 0.12);
    border: 1px solid var(--border-gold);
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: auto;
}
.req-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0;
}
.req-card.active {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.12) 0%, rgba(6, 15, 36, 0.6) 100%);
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.18);
}
.req-card.active .req-radio-dot {
    border-color: var(--gold);
    background: var(--gold);
    box-shadow: 0 0 10px rgba(212, 168, 83, 0.6);
}

/* Contador de Caracteres */
.label-with-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}
.label-with-counter .libro-label {
    margin-bottom: 0;
}
.char-counter {
    font-size: 0.72rem;
    color: #64748b;
    font-family: monospace;
}

/* Textareas */
.libro-textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}
.libro-textarea-sm {
    min-height: 65px;
    resize: vertical;
    line-height: 1.45;
}

/* Declaración Jurada y Mandato INDECOPI */
.legal-consent-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-top: 1.1rem;
}
.custom-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    cursor: pointer;
}
.custom-check-input {
    display: none;
}
.custom-check-box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}
.custom-check-input:checked + .custom-check-box {
    background: var(--gold);
    border-color: var(--gold);
}
.custom-check-input:checked + .custom-check-box::after {
    content: "✓";
    font-size: 0.72rem;
    font-weight: 900;
    color: #040814;
}
.check-text {
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.4;
}
.indecopi-mandate-text {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0.6rem 0 0 2rem;
    font-style: italic;
}

/* Botones de Acción (Regla UX: Cancelar a la izquierda, Acción a la derecha) */
.libro-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-libro-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}
.btn-libro-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}
.btn-libro-submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #ffffff;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
    transition: all 0.25s ease;
}
.btn-libro-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(16, 185, 129, 0.5);
    filter: brightness(1.08);
}
.btn-libro-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Pantalla de Éxito Digital (Hoja de Reclamación Generada) */
.libro-success-view {
    animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.success-ticket-card {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 15, 36, 0.8) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 16px;
    padding: 2.2rem 2.4rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.ticket-seal-gold {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34d399;
    margin: 0 auto 1.2rem;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}
.ticket-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.3rem;
}
.ticket-sub {
    font-size: 0.8rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 1.6rem;
}
.ticket-code-banner {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed var(--gold);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.ticket-code-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1.5px;
}
.ticket-code-number {
    font-size: 1.8rem;
    font-family: monospace;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
}
.ticket-code-date {
    font-size: 0.76rem;
    color: #94a3b8;
}
.ticket-summary-grid {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.4rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.ticket-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.tk-label {
    color: #94a3b8;
    font-weight: 500;
}
.tk-val {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
}
.tk-val.highlight-green {
    color: #34d399;
}
.ticket-notice-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.8rem;
}
.ticket-notice-box p {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
}
.ticket-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-libro-print {
    background: rgba(212, 168, 83, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}
.btn-libro-print:hover {
    background: rgba(212, 168, 83, 0.22);
    border-color: var(--gold);
    color: #ffffff;
    transform: translateY(-2px);
}
.btn-libro-done {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    padding: 0.75rem 1.6rem;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-libro-done:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .modal-libro-card {
        padding: 1.8rem 1.2rem;
        max-width: 100%;
        max-height: 92vh;
    }
    .form-grid-2,
    .bien-tipo-grid,
    .req-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    .libro-header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .libro-title {
        font-size: 1.35rem;
    }
    .provider-main-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .provider-icon {
        display: none;
    }
    .libro-actions {
        flex-direction: column-reverse;
        gap: 0.8rem;
    }
    .btn-libro-cancel,
    .btn-libro-submit {
        width: 100%;
        justify-content: center;
    }
    .ticket-code-number {
        font-size: 1.4rem;
    }
    .ticket-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    .tk-val {
        text-align: left;
    }
}

/* --- WHATSAPP FLOTANTE --- */
.whatsapp-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 90;
    width: 58px; height: 58px; background: #25d366;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 25px rgba(37,211,102,0.45);
    transition: all 0.3s; animation: pulse 2.2s infinite;
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 35px rgba(37,211,102,0.6); }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ==========================================================================
   MODALES (LIGHTBOX HD Y RECLAMACIONES)
   ========================================================================== */
.modal-backdrop {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(4, 8, 20, 0.85);
    backdrop-filter: blur(14px);
    display: none; align-items: center; justify-content: center;
    padding: 1.5rem;
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-backdrop.open {
    display: flex; opacity: 1;
}

.modal-card {
    background: var(--navy-850);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 90px rgba(0,0,0,0.7), var(--shadow-glow-blue);
    position: relative; max-width: 900px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalPop {
    from { transform: scale(0.92) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute; top: 18px; right: 18px; z-index: 10;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-white); width: 36px; height: 36px; border-radius: 50%;
    font-size: 1.4rem; line-height: 1; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.08); }

/* Lightbox Modal */
.modal-lightbox-card {
    padding: 1.5rem; max-width: 1080px; background: rgba(6,13,31,0.95);
}
.lightbox-img-wrap {
    width: 100%; max-height: 75vh; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius); background: #000;
}
.lightbox-img-wrap img {
    max-height: 75vh; width: auto; max-width: 100%; object-fit: contain;
}
.lightbox-caption {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 1.2rem; padding: 0 0.5rem; flex-wrap: wrap; gap: 1rem;
}
.lightbox-caption h4 { font-size: 1.1rem; color: var(--text-white); font-weight: 700; }

/* ==========================================================================
   MODAL DE CALIFICACIÓN PREVIA A WHATSAPP (FILTRO ANTI-CURIOSOS & BONIFICABLE)
   ========================================================================== */
.modal-calificacion-card {
    max-width: 740px;
    width: 100%;
    background: linear-gradient(175deg, #0d1b38 0%, #060d1f 100%);
    border: 1px solid rgba(212, 168, 83, 0.35);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75), 0 0 50px rgba(212, 168, 83, 0.15);
    border-radius: 24px;
    padding: 2.2rem 2.2rem 2rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.calificacion-header {
    text-align: left;
    margin-bottom: 1.2rem;
}

.calificacion-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 168, 83, 0.12);
    border: 1px solid rgba(212, 168, 83, 0.35);
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #f3dfaa;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.pulse-indicator-gold {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4a853;
    box-shadow: 0 0 10px #d4a853;
    animation: pulseGold 2s infinite ease-in-out;
}

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

.calificacion-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.3;
    margin: 0.75rem 0 0.5rem;
    letter-spacing: -0.3px;
}

.calificacion-title .highlight-gold {
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 168, 83, 0.3);
}

.calificacion-desc {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.55;
}

.calificacion-desc strong {
    color: #ffffff;
}

/* Escudo Psicológico: Garantía 100% Bonificable */
.calificacion-guarantee {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 13, 31, 0.6) 100%);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 14px;
    padding: 0.95rem 1.1rem;
    margin-bottom: 1.25rem;
}

.guarantee-icon-wrap {
    color: #34d399;
    background: rgba(16, 185, 129, 0.2);
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-text strong {
    display: block;
    color: #34d399;
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
    letter-spacing: -0.1px;
}

.guarantee-text p {
    font-size: 0.83rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0;
}

.guarantee-text p strong {
    display: inline;
    color: #ffffff;
}

.calificacion-selector-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #f3dfaa;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Selector Interactivo de las 2 Alternativas */
.calificacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.calificacion-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.15rem 1.1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    user-select: none;
}

.calificacion-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 168, 83, 0.4);
    transform: translateY(-2px);
}

.calificacion-card.active {
    background: linear-gradient(175deg, rgba(132, 204, 22, 0.09) 0%, rgba(10, 21, 46, 0.85) 100%);
    border-color: #84cc16;
    box-shadow: 0 8px 30px rgba(132, 204, 22, 0.22);
}

.calificacion-card[data-option="149"].active {
    background: linear-gradient(175deg, rgba(56, 189, 248, 0.1) 0%, rgba(10, 21, 46, 0.85) 100%);
    border-color: #38bdf8;
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.25);
}

.calificacion-card-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.calificacion-card-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.calificacion-card-top h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.calificacion-price {
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.calificacion-price .curr {
    font-size: 1rem;
    font-weight: 800;
    color: #84cc16;
}

.calificacion-price .val {
    font-size: 2.1rem;
    font-weight: 900;
    color: #84cc16;
    line-height: 1;
}

.calificacion-card[data-option="149"] .calificacion-price .curr,
.calificacion-card[data-option="149"] .calificacion-price .val {
    color: #ffffff;
}

.calificacion-card[data-option="149"].active .calificacion-price .curr,
.calificacion-card[data-option="149"].active .calificacion-price .val {
    color: #38bdf8;
}

.calificacion-card-desc {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin-bottom: 0.85rem;
}

.calificacion-check-indicator {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #94a3b8;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.check-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
    transition: all 0.2s;
}

.calificacion-card.active .calificacion-check-indicator {
    color: #84cc16;
}

.calificacion-card.active .check-icon {
    background: #84cc16;
    color: #040814;
    box-shadow: 0 0 10px rgba(132, 204, 22, 0.5);
}

.calificacion-card[data-option="149"].active .calificacion-check-indicator {
    color: #38bdf8;
}

.calificacion-card[data-option="149"].active .check-icon {
    background: #38bdf8;
    color: #040814;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* Bloque Bancario Oficial */
.calificacion-bank-section {
    background: rgba(4, 8, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.1rem 1.15rem;
    margin-bottom: 1.25rem;
}

.bank-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.bank-title-left {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.83rem;
    font-weight: 700;
    color: #cbd5e1;
}

.bank-titular {
    font-size: 0.78rem;
    color: #f3dfaa;
    background: rgba(212, 168, 83, 0.15);
    border: 1px solid rgba(212, 168, 83, 0.3);
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
}

.bank-accounts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.bank-account-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    transition: all 0.2s;
}

.bank-account-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.account-name {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.account-number {
    font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
    font-size: 0.88rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.3px;
    word-break: break-all;
}

.account-number.account-cci {
    font-size: 0.78rem;
}

.btn-copy-account {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy-account:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-copy-account.copied {
    background: rgba(16, 185, 129, 0.25) !important;
    border-color: #10b981 !important;
    color: #34d399 !important;
}

/* Botón de Acción a WhatsApp */
.calificacion-actions {
    margin-bottom: 1rem;
}

.btn-calificacion-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 1.05rem 1.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 800;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: -0.2px;
}

.btn-calificacion-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    filter: brightness(1.06);
}

.btn-calificacion-primary svg {
    flex-shrink: 0;
}

/* Vía de Escape: Demo Estándar */
.calificacion-footer-escape {
    text-align: center;
    font-size: 0.8rem;
    color: #8492a6;
    line-height: 1.5;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.calificacion-footer-escape a {
    color: var(--blue-light);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-top: 0.25rem;
    transition: color 0.2s;
}

.calificacion-footer-escape a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Responsive para el Modal */
@media (max-width: 680px) {
    .modal-calificacion-card {
        padding: 1.6rem 1.15rem 1.4rem;
        border-radius: 18px;
    }
    .calificacion-title {
        font-size: 1.25rem;
    }
    .calificacion-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .bank-accounts-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .bank-section-title {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-calificacion-primary {
        font-size: 0.94rem;
        padding: 0.95rem 1rem;
    }
}

/* ==========================================================================
   MODAL DE MARCO LEGAL (POLÍTICAS DE PRIVACIDAD & TÉRMINOS DEL SERVICIO)
   ========================================================================== */
.modal-legal-card {
    max-width: 840px;
    width: 100%;
    background: linear-gradient(175deg, #0d1b38 0%, #060d1f 100%);
    border: 1px solid rgba(212, 168, 83, 0.35);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 50px rgba(212, 168, 83, 0.12);
    border-radius: 24px;
    padding: 2.2rem 2.2rem 1.8rem;
    position: relative;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.legal-modal-header {
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.legal-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.3rem 0.85rem;
    background: rgba(212, 168, 83, 0.12);
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-light, #f5d77f);
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.legal-modal-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

.legal-modal-meta {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0 0 1.25rem;
}

.legal-modal-meta strong {
    color: #e2e8f0;
}

/* Pestañas Segmentadas */
.legal-tabs-nav {
    display: flex;
    background: rgba(4, 8, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    gap: 6px;
}

.legal-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
}

.legal-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.legal-tab-btn.active {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.22) 0%, rgba(212, 168, 83, 0.08) 100%);
    border-color: rgba(212, 168, 83, 0.45);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 16px rgba(212, 168, 83, 0.15);
}

.legal-tab-btn.active svg {
    stroke: var(--gold-light, #f5d77f);
}

/* Cuerpo con Scroll Elegante */
.legal-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 0.6rem;
    margin-right: -0.4rem;
    margin-bottom: 1.25rem;
    max-height: 52vh;
}

.legal-modal-body::-webkit-scrollbar {
    width: 6px;
}
.legal-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
}
.legal-modal-body::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 83, 0.3);
    border-radius: 4px;
}
.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 83, 0.5);
}

.legal-tab-panel {
    display: none;
}

.legal-tab-panel.active {
    display: block;
    animation: fadeInTab 0.25s ease-out;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.legal-section-callout {
    background: rgba(30, 58, 138, 0.2);
    border-left: 3px solid var(--border-gold, #d4a853);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    margin-bottom: 1.4rem;
}

.legal-section-callout p {
    margin: 0;
    font-size: 0.86rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.legal-tab-panel h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-light, #f5d77f);
    margin: 1.35rem 0 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legal-tab-panel h4:first-of-type {
    margin-top: 0;
}

.legal-tab-panel p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0 0 0.85rem;
}

.legal-tab-panel p strong {
    color: #e2e8f0;
}

.legal-tab-panel ul {
    margin: 0 0 1rem;
    padding-left: 1.3rem;
}

.legal-tab-panel li {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 0.4rem;
}

.legal-tab-panel li strong {
    color: #e2e8f0;
}

.legal-tab-panel code {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    color: #f5d77f;
    font-size: 0.84rem;
    font-family: 'JetBrains Mono', Consolas, monospace;
}

.legal-update-date {
    margin-top: 1.5rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    color: #64748b;
}

/* Footer del Modal Legal */
.legal-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.btn-legal-reclamaciones {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.6rem 0.95rem;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-legal-reclamaciones:hover {
    background: rgba(212, 168, 83, 0.15);
    border-color: rgba(212, 168, 83, 0.35);
    color: #ffffff;
}

.btn-legal-accept {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d4a853 0%, #b8862d 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.65rem 1.4rem;
    color: #040814;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(212, 168, 83, 0.25);
}

.btn-legal-accept:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 168, 83, 0.4);
}

@media (max-width: 680px) {
    .modal-legal-card {
        padding: 1.6rem 1.15rem 1.25rem;
        border-radius: 18px;
    }
    .legal-modal-title {
        font-size: 1.25rem;
    }
    .legal-tabs-nav {
        flex-direction: column;
        gap: 4px;
    }
    .legal-tab-btn {
        padding: 0.55rem 0.75rem;
        font-size: 0.82rem;
    }
    .legal-modal-footer {
        flex-direction: column-reverse;
        gap: 0.65rem;
    }
    .btn-legal-accept,
    .btn-legal-reclamaciones {
        width: 100%;
        justify-content: center;
    }
}

/* --- REVELACIÓN --- */
.reveal {
    opacity: 0; transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE-FIRST STANDARD)
   ========================================================================== */
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3.5rem; }
    .hero { min-height: auto; padding: 4.5rem 0 3.5rem; }
    .hero-stage { margin: 0 auto; max-width: 620px; }
    .panel-grid, .panel-grid.reverse { grid-template-columns: 1fr; gap: 2.2rem; }
    .panel-grid.reverse .panel-text { order: 1; }
    .dual-desktop { width: 100%; }
    .dual-phone { width: 30%; right: 10px; }

    .prefooter-grid { grid-template-columns: 1fr; gap: 2rem; }
    .prefooter-actions { align-items: stretch; }
    .prefooter-actions a, .prefooter-actions button { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

    .consultoria-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    /* Global & Layout Sanitization */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    .container,
    .hero-container,
    .sistemas-container,
    .nav-container,
    .announcement-container {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    /* 1. Announcement Bar */
    .announcement-bar {
        padding: 0.45rem 0;
        font-size: 0.78rem;
    }
    .announcement-container {
        padding-right: 2.4rem;
    }
    .announcement-content {
        gap: 0.4rem;
        justify-content: center;
        text-align: center;
        line-height: 1.35;
    }
    .announcement-badge {
        font-size: 0.68rem;
        padding: 1px 6px;
    }
    .announcement-text {
        font-size: 0.74rem;
    }
    .announcement-close {
        right: 0.75rem;
        font-size: 1.15rem;
    }

    /* Navbar Mobile Drawer */
    .navbar {
        padding: 0.65rem 0;
    }
    .nav-links { 
        display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--navy-950); flex-direction: column; justify-content: center;
        align-items: center; gap: 1.8rem; z-index: 150;
    }
    .nav-links.open { display: flex; }
    .hamburger { display: block; z-index: 200; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    /* 2. Hero Section */
    .hero {
        padding: 2.8rem 0 2rem;
    }
    .hero-badge {
        font-size: 0.76rem;
        padding: 0.35rem 0.85rem;
        max-width: 100%;
        white-space: normal;
        text-align: center;
        margin-bottom: 0.75rem;
        line-height: 1.35;
    }
    .hero h1 {
        font-size: clamp(1.85rem, 6.8vw, 2.3rem);
        line-height: 1.18;
        margin-bottom: 0.75rem;
        letter-spacing: -0.5px;
    }
    .hero-sub {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.1rem;
        max-width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
        margin-bottom: 0.65rem;
    }
    .hero-actions a,
    .hero-actions button {
        width: 100%;
        justify-content: center;
        padding: 0.78rem 1.3rem;
        font-size: 0.9rem;
        border-radius: 14px;
        min-height: 46px;
    }
    /* Ocultar pills repetidas en móvil para eliminar espacio muerto y redundancia */
    .hero-live-pills {
        display: none !important;
    }

    /* 3. Hero Stage 3D: Conexión inmediata con las métricas y la pantalla real */
    .hero-stage {
        max-width: 100%;
        margin: 0.35rem auto 2.6rem;
        perspective: none;
        transform: none !important;
    }
    .hero-sync-svg {
        inset: 36px 0 -10px 0;
        height: calc(100% - 26px);
        overflow: hidden;
        opacity: 0.75;
    }
    .stage-metrics-row {
        display: flex;
        gap: 0.5rem;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 0.65rem;
        position: relative;
        z-index: 10;
    }
    .stage-metric-badge {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.38rem 0.55rem;
        border-radius: 10px;
        gap: 0.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }
    .stage-metric-badge strong {
        font-size: 0.78rem;
        line-height: 1.1;
    }
    .stage-metric-badge span {
        font-size: 0.62rem;
        line-height: 1.1;
    }
    .badge-top-left,
    .badge-top-right {
        margin: 0;
        animation: none;
        translate: none;
    }

    /* Laptop Frame */
    .hero-device-laptop {
        width: 100%;
        margin: 0 auto;
        position: relative;
        z-index: 2;
        border-radius: 12px;
    }
    .hero-device-laptop .window-header {
        padding: 6px 10px;
        gap: 8px;
    }
    .hero-device-laptop .window-dots {
        gap: 4px;
    }
    .hero-device-laptop .dot {
        width: 7px;
        height: 7px;
    }
    .hero-device-laptop .window-address {
        font-size: 0.66rem;
        padding: 2px 8px;
        max-width: calc(100% - 70px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .hero-device-laptop .window-badge {
        font-size: 0.62rem;
        padding: 1px 6px;
    }
    .hero-device-laptop .device-screen {
        aspect-ratio: 16 / 10;
        max-height: 230px;
    }

    /* Tablet POS Frame */
    .hero-device-tablet {
        width: 52%;
        bottom: -18px;
        left: 0;
        transform: rotate(-1deg);
        z-index: 4;
        border-width: 2.5px;
        border-radius: 14px;
        padding: 4px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    }
    .hero-device-tablet .tablet-screen {
        border-radius: 8px;
    }
    .hero-device-tablet .device-tag.tag-pos {
        bottom: 6px;
        left: 6px;
        padding: 2px 6px;
        font-size: 0.62rem;
        gap: 3px;
        border-radius: 12px;
        white-space: nowrap;
        max-width: 90%;
    }
    .hero-device-tablet .device-tag.tag-pos strong {
        font-size: 0.62rem;
    }

    /* Phone PWA Frame */
    .hero-device-phone {
        width: 32%;
        bottom: -22px;
        right: 0;
        transform: rotate(1deg);
        z-index: 5;
        border-width: 2.5px;
        border-radius: 20px;
        padding: 4px 4px 8px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
        max-width: 130px;
    }
    .hero-device-phone .phone-notch {
        width: 36px;
        height: 7px;
        margin: 1px auto 4px;
    }
    .hero-device-phone .phone-screen {
        border-radius: 14px;
    }
    .hero-device-phone .device-tag.tag-pwa {
        bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        padding: 2px 6px;
        font-size: 0.6rem;
        gap: 3px;
        border-radius: 12px;
        max-width: 92%;
        white-space: nowrap;
    }
    .hero-device-phone .device-tag.tag-pwa strong {
        font-size: 0.6rem;
    }

    /* 4. Trust Bar Compact 2x2 Matrix */
    .trust-bar {
        padding: 1.4rem 0;
    }
    .trust-grid { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 0.75rem 0.6rem; 
        padding: 0;
    }
    .trust-divider { display: none; }
    .trust-item {
        background: rgba(255, 255, 255, 0.025);
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 12px;
        padding: 0.85rem 0.55rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .trust-number { font-size: 1.75rem; letter-spacing: -0.5px; line-height: 1.1; }
    .trust-icon { font-size: 1.5rem; line-height: 1.1; }
    .trust-label { font-size: 0.74rem; margin-top: 0.3rem; line-height: 1.25; color: #94a3b8; }

    /* 5. Sistemas (#sistemas) */
    .sistemas.section {
        padding: 2.8rem 0 3.2rem;
    }
    .sistemas .section-header {
        margin-bottom: 1.2rem;
    }
    .sistemas .section-tag {
        font-size: 0.74rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.35rem;
    }
    .sistemas .section-header h2 {
        font-size: clamp(1.6rem, 5.5vw, 2.1rem);
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    .sistemas .section-sub {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    /* Tabs Dock: Touch scroll con snap suave */
    .tabs-dock-wrapper {
        margin-bottom: 1.4rem;
        padding: 0;
    }
    .tabs-dock {
        padding: 0.35rem 0.5rem;
        gap: 0.4rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .tab-btn {
        padding: 0.55rem 0.95rem 0.65rem;
        font-size: 0.8rem;
        border-radius: 30px;
        gap: 0.45rem;
        scroll-snap-align: start;
    }
    .tab-btn svg {
        width: 17px;
        height: 17px;
    }

    /* Panel Content */
    .panel-grid {
        gap: 1.6rem;
        padding: 0;
    }
    .system-badge {
        font-size: 0.72rem;
        padding: 0.25rem 0.7rem;
        margin-bottom: 0.5rem;
    }
    .panel-text h3 {
        font-size: clamp(1.35rem, 5vw, 1.7rem);
        margin-bottom: 0.4rem;
        line-height: 1.22;
    }
    .panel-text > p {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    /* Feature Cards: 1 Columna bien alineada */
    .feature-list {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-bottom: 1.2rem;
    }
    .feature-list li {
        padding: 0.65rem 0.85rem;
        gap: 0.75rem;
        border-radius: 12px;
        align-items: center;
    }
    .feature-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.6rem !important;
        border-radius: 11px;
        flex-shrink: 0;
    }
    .feature-icon svg {
        width: 22px;
        height: 22px;
    }
    .feature-list strong,
    .feature-list li > div > strong {
        font-size: 0.84rem;
        line-height: 1.25;
        margin-bottom: 2px;
    }
    .feature-list li > div > span,
    .feature-list li span:not(.feature-icon) {
        font-size: 0.75rem;
        line-height: 1.35;
        color: #94a3b8;
    }

    /* Action Buttons: Full width con 48px min-height */
    .panel-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
        margin-top: 0.8rem;
        margin-bottom: 1.4rem;
    }
    .panel-actions .btn-primary,
    .panel-actions .btn-outline {
        width: 100%;
        min-height: 48px;
        border-radius: 12px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        text-align: center;
        justify-content: center;
    }

    /* Panel Visual: Device Window en Mobile */
    .panel-visual {
        padding-bottom: 0;
        margin-top: 0.5rem;
    }
    .panel-visual .device-window {
        border-radius: 14px;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
    }
    .panel-visual .device-window .window-header {
        padding: 6px 10px;
        gap: 8px;
    }
    .panel-visual .device-window .window-dots {
        gap: 4px;
    }
    .panel-visual .device-window .dot {
        width: 7px;
        height: 7px;
    }
    .panel-visual .device-window .window-address {
        font-size: 0.66rem;
        padding: 3px 8px;
        max-width: calc(100% - 75px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .panel-visual .device-window .window-badge {
        font-size: 0.6rem;
        padding: 1px 6px;
        letter-spacing: 0.3px;
    }

    /* Device Screen: Proporción balanceada para ver la interfaz sin recortes */
    .panel-visual .device-window .device-screen {
        max-height: 320px !important;
    }
    .panel-visual .device-window .device-screen img,
    .panel-visual .device-window .device-screen picture img,
    .panel-visual .device-window .device-screen .panel-img {
        max-height: 320px !important;
        object-fit: cover !important;
        object-position: top center !important;
    }

    /* Telemetry Badge en Sistemas: RE-UBICADO LIMPIAMENTE DEBAJO DEL DISPOSITIVO */
    /* CERO colisión con WhatsApp y CERO cortes a la derecha */
    .panel-telemetry-badge {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 0.85rem auto 0 !important;
        width: fit-content;
        max-width: 95%;
        padding: 0.42rem 0.85rem;
        border-radius: 10px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .panel-telemetry-badge strong {
        font-size: 0.78rem;
    }
    .panel-telemetry-badge span {
        font-size: 0.66rem;
    }

    /* Dual Device Wrap (E-Commerce Tab) */
    .dual-desktop {
        width: 100%;
    }
    .dual-phone {
        width: 32%;
        bottom: -15px;
        right: 0;
        max-width: 120px;
        border-width: 2.5px;
        border-radius: 20px;
        padding: 4px 4px 8px;
    }

    /* App Phone (Hub de Impresión Android) */
    .panel-visual-phone {
        padding: 0.5rem 0 1rem;
        flex-direction: column;
    }
    .panel-visual-phone .device-phone {
        max-width: 240px;
    }
    .app-floating-badge {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 1rem auto 0 !important;
        width: fit-content;
        max-width: 95%;
        padding: 0.5rem 0.9rem;
    }
    .app-icon-img {
        width: 38px;
        height: 38px;
    }
    .app-floating-badge strong {
        font-size: 0.84rem;
    }
    .app-floating-badge span {
        font-size: 0.72rem;
    }

    /* 6. Consultoría & Diagnóstico Técnico */
    .consultoria-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
    .consultoria-cards {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }
    .consultoria-intro h2 {
        font-size: 1.85rem;
        line-height: 1.2;
    }
    .consultoria-sub {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 1.4rem;
    }
    .consultoria-badge-direct {
        font-size: 0.82rem;
        padding: 0.65rem 1rem;
    }
    .consultoria-cashback-note {
        padding: 0.75rem 1rem;
    }
    .price-card {
        padding: 1.6rem 1.3rem;
        border-radius: 16px;
    }
    .price-card h3 {
        font-size: 1.35rem;
    }
    .card-price .amount {
        font-size: 2.7rem;
    }
    .btn-card-action {
        min-height: 48px;
        border-radius: 12px;
    }

    /* 7. Metodología Pipeline */
    .metodologia-pipeline {
        margin: 1.8rem auto 2.2rem;
    }
    .step-name {
        display: none;
    }
    .pipeline-steps {
        margin-top: -14px;
    }
    .step-marker {
        width: 28px;
        height: 28px;
    }
    .step-num {
        font-size: 0.65rem;
    }
    .metodologia-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }
    .metodologia-card {
        padding: 1.5rem 1.2rem;
        border-radius: 16px;
    }

    /* 8. Garantía y SLA 99.9% */
    .garantia.section {
        padding: 3.2rem 0;
    }
    .garantia-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .garantia-text h2 {
        font-size: clamp(1.55rem, 5vw, 2rem);
        line-height: 1.25;
        margin-bottom: 0.85rem;
    }
    .garantia-sub {
        font-size: 0.9rem;
        line-height: 1.55;
        margin-bottom: 1.2rem;
    }
    .garantia-list li {
        font-size: 0.86rem;
        padding-left: 1.8rem;
        margin-bottom: 0.7rem;
        line-height: 1.45;
    }
    .garantia-list li::before {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: 1px;
    }
    .garantia-card {
        padding: 1.6rem 1.4rem;
        border-radius: 16px;
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }
    .sla-label {
        font-size: 0.72rem;
        padding: 0.25rem 0.8rem;
        margin-bottom: 0.8rem;
        letter-spacing: 0.8px;
    }
    .sla-value {
        font-size: clamp(2.8rem, 10vw, 3.6rem);
        line-height: 1;
        letter-spacing: -1px;
    }
    .sla-desc {
        font-size: 0.76rem;
        letter-spacing: 1.3px;
        margin-top: 0.35rem;
    }
    .sla-bar {
        margin-top: 1.1rem;
        height: 5px;
    }

    /* 9. Prefooter Banner */
    .prefooter-card {
        padding: 2rem 1.4rem;
        border-radius: 20px;
    }
    .prefooter-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .prefooter-trust-matrix {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .prefooter-action-box {
        padding: 1.4rem 1.1rem;
        border-radius: 16px;
    }
    .btn-whatsapp-prefooter {
        min-height: 50px;
        font-size: 0.96rem;
        border-radius: 14px;
    }

    /* 10. Footer Mobile Accordion */
    .footer {
        padding: 2.8rem 0 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 2.2rem;
    }
    .footer-desc {
        font-size: 0.84rem;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    .footer-telemetry-card {
        max-width: 100%;
    }

    .footer-accordion-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.85rem 1.1rem;
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        margin-bottom: 0.4rem;
        cursor: pointer;
        transition: all 0.25s ease;
    }
    .footer-accordion-btn:active,
    .footer-accordion-btn.active {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(212, 168, 83, 0.4);
    }
    .accordion-chevron {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }
    .footer-accordion-btn.active .accordion-chevron {
        transform: rotate(180deg);
    }

    .footer-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        opacity: 0;
    }
    .footer-accordion-btn.active + .footer-accordion-content {
        opacity: 1;
        margin-bottom: 0.8rem;
        padding: 0.4rem 0.5rem 0.6rem 0.8rem;
    }

    .footer-action-cards {
        gap: 0.65rem;
    }
    .footer-action-card {
        padding: 0.85rem 1rem;
        min-height: 48px;
        border-radius: 12px;
    }
    .footer-schedule-card {
        padding: 0.85rem 1rem;
        border-radius: 12px;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 1.1rem;
        white-space: normal;
        text-align: center;
    }
    .footer-bottom-left {
        flex-wrap: wrap;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
    .footer-bottom-right {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.9rem;
        justify-content: center;
        align-items: center;
        white-space: normal;
    }

    /* 11. WhatsApp Flotante: Tamaño ágil y seguro */
    .whatsapp-float {
        bottom: 16px;
        right: 14px;
        width: 48px;
        height: 48px;
        z-index: 95;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    /* 12. Modales Adaptativos */
    .modal-backdrop {
        padding: 0.75rem;
    }
    .modal-card {
        max-height: 92vh;
        border-radius: 18px;
    }
    .modal-lightbox-card {
        padding: 1rem 0.85rem;
        border-radius: 16px;
    }
    .lightbox-img-wrap {
        max-height: 65vh;
        border-radius: 10px;
    }
    .lightbox-img-wrap img {
        max-height: 65vh;
    }
    .lightbox-caption {
        margin-top: 0.85rem;
        gap: 0.6rem;
    }
    .lightbox-caption h4 {
        font-size: 0.92rem;
    }
    .modal-libro-card {
        padding: 1.8rem 1.15rem;
    }
    .libro-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .container,
    .hero-container,
    .sistemas-container,
    .nav-container,
    .announcement-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .logo-name-csi, .logo-name-soft { font-size: 1.15rem; }
    .logo-sub { font-size: 0.52rem; letter-spacing: 1.5px; }
    .logo-mark { width: 34px; height: 34px; }
    .hero h1 { font-size: 1.85rem; line-height: 1.22; }
    .hero-device-phone .tag-sub { display: none; }
    .panel-visual .device-window .window-badge { display: none; }
    .section { padding: 3rem 0; }
    .price-card { padding: 1.4rem 1.15rem; }
    .card-price .amount { font-size: 2.3rem; }
    .prefooter-card { padding: 1.8rem 1.2rem; }
    .prefooter-action-box { padding: 1.4rem 1rem; }

    /* Trust Bar micro 2x2 para smartphones */
    .trust-bar { padding: 1.1rem 0; }
    .trust-number { font-size: 1.5rem; }
    .trust-icon { font-size: 1.35rem; }
    .trust-label { font-size: 0.7rem; }
    .trust-item { padding: 0.7rem 0.4rem; }

    /* Garantía y SLA compactos */
    .garantia.section { padding: 2.6rem 0; }
    .garantia-card { padding: 1.3rem 1rem; }
    .sla-value { font-size: 2.6rem; }
    .sla-label { font-size: 0.68rem; margin-bottom: 0.6rem; padding: 0.2rem 0.7rem; }
    .sla-desc { font-size: 0.72rem; }
    .sla-bar { margin-top: 0.9rem; height: 4px; }
    .garantia-list li { font-size: 0.82rem; padding-left: 1.6rem; margin-bottom: 0.6rem; }
    
    .sistemas .section-header h2 { font-size: 1.6rem; }
    .sistemas .section-sub { font-size: 0.84rem; }

    .whatsapp-float {
        bottom: 14px;
        right: 12px;
        width: 46px;
        height: 46px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 380px) {
    /* Pantallas ultracompactas (iPhone SE 375px y Galaxy S 360px) */
    .container,
    .hero-container,
    .sistemas-container,
    .nav-container,
    .announcement-container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    .hero h1 {
        font-size: 1.75rem;
    }
    .stage-metric-badge {
        padding: 0.35rem 0.5rem;
    }
    .stage-metric-badge strong {
        font-size: 0.74rem;
    }
    .stage-metric-badge span {
        font-size: 0.6rem;
    }
    .hero-device-tablet {
        width: 54%;
        bottom: -15px;
    }
    .hero-device-phone {
        width: 34%;
        bottom: -18px;
    }
    .panel-visual .device-window .device-screen {
        max-height: 280px !important;
    }
    .panel-visual .device-window .device-screen img,
    .panel-visual .device-window .device-screen picture img,
    .panel-visual .device-window .device-screen .panel-img {
        max-height: 280px !important;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.45rem !important;
    }
}

/* Utilidades y Animaciones del Modal Libro */
.spin-icon {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    100% { transform: rotate(360deg); }
}

@media print {
    body * {
        visibility: hidden;
    }
    #modalLibro,
    #modalLibro .modal-card,
    #modalLibro .success-ticket-card,
    #modalLibro .success-ticket-card * {
        visibility: visible;
    }
    #modalLibro {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: #ffffff !important;
        color: #000000 !important;
        padding: 0;
    }
    .modal-close,
    .ticket-actions {
        display: none !important;
    }
    .success-ticket-card {
        background: #ffffff !important;
        color: #000000 !important;
        border: 2px solid #000000 !important;
        box-shadow: none !important;
    }
    .ticket-title,
    .ticket-code-number,
    .tk-val {
        color: #000000 !important;
    }
    .ticket-code-banner {
        background: #f8f9fa !important;
        border: 2px dashed #000000 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-device-tablet,
    .hero-device-phone,
    .badge-top-left,
    .badge-top-right,
    .hero-stage::before {
        animation: none !important;
        translate: none !important;
    }
}

