/* ==========================================================================
   VARIABLES & SETUP (SILICON VALLEY PREMIUM AI ESTHETIC)
   ========================================================================== */
:root {
    /* Paleta Refinada */
    --primary: #00D4FF;
    --secondary: #6C4CFF;
    --bg-dark: #030509;
    --bg-card: rgba(10, 15, 25, 0.4); 
    --text-light: #F9FAFB;
    --text-muted: #8B949E;
    
    /* Variables de Bordes e Iluminación */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --glow-primary: 0 8px 30px rgba(0, 212, 255, 0.25);
    
    /* Tipografía (Inter + Space Grotesk) */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; 
}

/* EFECTO DE FONDO PREMIUM */
body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.75; 
    letter-spacing: -0.01em; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Gradientes Ambientales (Halos) */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: 
        radial-gradient(circle at 15% 40%, rgba(108, 76, 255, 0.07), transparent 35%),
        radial-gradient(circle at 85% 60%, rgba(0, 212, 255, 0.05), transparent 35%);
    z-index: -2;
    pointer-events: none;
}

/* Ruido Digital Sutil (Noise) */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

ul {
    list-style: none;
}

h1, h2, h3, .logo, .price, .badge {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   UTILIDADES & COMPONENTES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

/* Glassmorphism Premium */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: 
        0 4px 24px -1px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05); 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.font-bold {
    font-weight: 700;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-light);
}

.grid-4, .grid-3 {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    box-shadow: var(--glow-primary);
}

.btn-primary {
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%), var(--bg-dark);
    color: var(--text-light);
    border: 1px solid var(--border-hover);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 10px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.btn-primary:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), var(--glow-primary);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
}

.btn-secondary:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.badge {
    background: rgba(108, 76, 255, 0.15);
    color: #C0B3FF;
    border: 1px solid rgba(108, 76, 255, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
}

/* ==========================================================================
   HEADER PREMIUM & NAVEGACIÓN
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border: none;
    border-radius: 0;
    padding: 1rem 0;
    background: transparent;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(3, 5, 9, 0.85);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-image {
    display: block;
    height: 44px;
    width: auto;
}

.nav-links {
    display: none;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative; 
}

.nav-links a:not(.btn):hover {
    color: var(--text-light);
}

.mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-light);
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   HERO SECTION 
   ========================================================================== */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 95%;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hero-illustration {
    position: relative;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cyber-container {
    position: relative;
    width: 280px;
    height: 280px;
}

.cyber-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.outer-ring {
    width: 100%; height: 100%;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid transparent;
    animation: spin 20s linear infinite;
    box-shadow: inset 0 0 40px rgba(0, 212, 255, 0.05);
}

.middle-ring {
    width: 70%; height: 70%;
    border-left: 1px solid var(--secondary);
    border-right: 1px solid transparent;
    animation: spin 15s linear infinite reverse;
}

.cyber-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 40px 10px rgba(108, 76, 255, 0.4), 0 0 80px 20px rgba(0, 212, 255, 0.2);
    animation: pulse 4s ease-in-out infinite;
}

.floating-node {
    position: absolute;
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px 2px #fff;
}

.node-1 { top: 15%; left: 15%; animation: float 5s ease-in-out infinite; }
.node-2 { bottom: 20%; right: 15%; animation: float 6s ease-in-out infinite reverse; }
.node-3 { top: 30%; right: -5%; animation: float 7s ease-in-out infinite; }

/* ==========================================================================
   BENEFICIOS SECTION
   ========================================================================== */
.card {
    padding: 2.5rem 2rem;
    text-align: left;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 12px 40px -10px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(108, 76, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-icon {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
    transform: scale(1.05);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   NUEVO: ECOSISTEMA Y CATÁLOGO ESCALABLE
   ========================================================================== */
.ecosystem-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.product-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 12px 40px -10px rgba(0, 0, 0, 0.4),
        0 0 35px rgba(0, 212, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Highlight Card (Tarjeta 2: Futures) */
.product-card-highlight {
    border-color: rgba(108, 76, 255, 0.3);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2), 0 0 30px rgba(108, 76, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-card-highlight:hover {
    border-color: rgba(108, 76, 255, 0.7);
    box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.6), 0 0 50px rgba(108, 76, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.badge-highlight {
    background: rgba(108, 76, 255, 0.25);
    border-color: rgba(108, 76, 255, 0.5);
    color: #fff;
    box-shadow: 0 0 15px rgba(108, 76, 255, 0.3);
}

.card-content h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.3;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.card-footer {
    margin-top: auto;
}

.product-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   CTA FINAL & WHATSAPP
   ========================================================================== */
.cta-final {
    position: relative;
    padding: 8rem 0;
}

.cta-box {
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    background: rgba(3, 5, 9, 0.8);
    border: 1px solid var(--border-subtle);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 70%; height: 300px;
    background: radial-gradient(ellipse at top, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.cta-text {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.cta-text:last-of-type {
    margin-bottom: 3rem;
}

.btn-whatsapp {
    background: linear-gradient(180deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0) 100%), var(--bg-dark);
    color: var(--text-light);
    border: 1px solid rgba(37, 211, 102, 0.35);
    box-shadow: inset 0 1px 0 rgba(37, 211, 102, 0.15), 0 2px 10px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.5rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.btn-whatsapp:hover {
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(37, 211, 102, 0.3), 0 8px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover::before {
    opacity: 1;
}

.btn-whatsapp:active {
    transform: translateY(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid #111;
    margin-top: 80px;
    padding: 60px 20px;
    background: rgba(3, 5, 9, 0.95);
}

.footer-container {
    max-width: 1100px;
    margin: auto;
}

.footer-brand h3 {
    margin-bottom: 12px;
}

.footer-brand p {
    color: #8B949E;
    line-height: 1.7;
    max-width: 550px;
}

.footer-links {
    margin: 35px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.footer-links a {
    color: #8B949E;
    text-decoration: none;
    transition: .25s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #F9FAFB;
}

.footer-copy {
    color: #555;
    font-size: .9rem;
}

/* ==========================================================================
   ANIMACIONES CLAVE
   ========================================================================== */
@keyframes spin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.7; box-shadow: 0 0 60px 15px rgba(108, 76, 255, 0.6); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.fade-up { transform: translateY(30px); }
.fade-in { transform: translateY(0); }
.scale-in { transform: scale(0.97); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (min-width: 768px) {
    .section-title { font-size: 2.8rem; }
    
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .hero-title { font-size: 4rem; }
}

@media (min-width: 1024px) {
    .mobile-toggle { display: none; }
    
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background: transparent;
        padding: 0;
        border: none;
        align-items: center;
        gap: 2.5rem; 
    }
    
    .nav-links a:not(.btn) {
        font-size: 0.95rem;
        font-weight: 500;
        padding: 0.5rem 0;
    }

    .nav-links a:not(.btn)::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0; width: 0%; height: 2px;
        background: var(--text-light);
        transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 0.8;
    }

    .nav-links a:not(.btn):hover::after {
        width: 100%;
    }

    .nav-links .btn {
        margin-left: auto; 
    }

    .hero-container {
        grid-template-columns: 1.15fr 0.85fr; 
        gap: 2rem; 
    }
    
    .hero-illustration {
        height: 500px;
    }
    
    .cyber-container {
        width: 380px; height: 380px; 
    }

    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
    .hero-container {
        gap: 4rem; 
    }
}
/* =========================================================
   IMPLEMENTACIÓN DIGITAL
   Estilos exclusivos para /implementacion/
   Agregado sin modificar estilos existentes
========================================================= */


/* =========================================================
   VARIABLES Y AJUSTES GENERALES
========================================================= */

.implementation-hero {
    position: relative;
    overflow: hidden;
}

.implementation-hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    right: -250px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.08);
    filter: blur(100px);
    pointer-events: none;
}

.implementation-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -300px;
    left: -200px;
    border-radius: 50%;
    background: rgba(108, 76, 255, 0.08);
    filter: blur(100px);
    pointer-events: none;
}

.implementation-hero .hero-container {
    position: relative;
    z-index: 1;
}

.implementation-badge {
    margin-bottom: 1.5rem;
}

.implementation-hero-text {
    max-width: 680px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}


/* =========================================================
   SECCIÓN SOY MIGUEL
========================================================= */

.implementation-about {
    position: relative;
}

.implementation-about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 5rem;
    align-items: center;
}

.implementation-about-image {
    position: relative;
}

.implementation-photo-frame {
    position: relative;
    padding: 10px;
    border-radius: 24px;
    overflow: hidden;
}

.implementation-photo-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.7),
        rgba(108, 76, 255, 0.3),
        transparent
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.implementation-photo-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
}

.implementation-about-content {
    max-width: 650px;
}

.implementation-about-content .section-title {
    margin-top: 0.8rem;
    margin-bottom: 1rem;
}

.implementation-about-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    line-height: 1.35;
    margin-bottom: 1.5rem;
}

.implementation-about-content p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.implementation-highlight-text {
    color: var(--text-primary) !important;
    font-size: 1.08rem;
    font-weight: 500;
    padding-left: 1.25rem;
    border-left: 2px solid var(--primary);
}


/* =========================================================
   INTRODUCCIÓN DE SECCIONES
========================================================= */

.implementation-section-intro {
    max-width: 760px;
    margin: 0 auto 4rem;
    text-align: center;
}

.implementation-section-intro .section-title {
    margin-top: 0.8rem;
    margin-bottom: 1.25rem;
}

.implementation-section-intro p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.7;
}


/* =========================================================
   TIMELINE
========================================================= */

.implementation-timeline-section {
    position: relative;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 212, 255, 0.45),
        rgba(108, 76, 255, 0.45),
        transparent
    );
}

.timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 3.5rem;
}

.timeline-item-left {
    padding-right: 3.5rem;
    text-align: right;
}

.timeline-item-right {
    margin-left: 50%;
    padding-left: 3.5rem;
}

.timeline-content {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
}

.timeline-content::after {
    content: "";
    position: absolute;
    top: 30px;
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    background: rgba(10, 15, 25, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item-left .timeline-content::after {
    right: -7px;
}

.timeline-item-right .timeline-content::after {
    left: -7px;
    transform: rotate(225deg);
}

.timeline-dot {
    position: absolute;
    top: 28px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--primary);
    box-shadow:
        0 0 0 5px rgba(0, 212, 255, 0.08),
        0 0 20px rgba(0, 212, 255, 0.35);
    z-index: 2;
}

.timeline-item-left .timeline-dot {
    right: -9px;
}

.timeline-item-right .timeline-dot {
    left: -9px;
}

.timeline-date {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--primary);
}

.timeline-content h3 {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 1.45rem;
}

.timeline-content p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.timeline-highlight {
    color: var(--text-primary) !important;
    font-weight: 500;
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}

.timeline-list li {
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.timeline-item-left .timeline-list li {
    padding-right: 1.2rem;
}

.timeline-item-left .timeline-list li::after {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--primary);
}

.timeline-item-right .timeline-list li {
    padding-left: 1.2rem;
}

.timeline-item-right .timeline-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.timeline-current {
    border: 1px solid rgba(0, 212, 255, 0.25);
}

.timeline-closing {
    max-width: 700px;
    margin: 2rem auto 0;
    padding: 3rem 2rem;
    text-align: center;
}

.timeline-closing h3 {
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.timeline-closing p {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
}


/* =========================================================
   ÁREAS DE IMPLEMENTACIÓN
========================================================= */

.implementation-grid {
    margin-top: 1rem;
}

.implementation-card-number {
    margin-bottom: 1.5rem;
}

.implementation-card-intro {
    margin-bottom: 1.25rem !important;
    color: var(--text-primary) !important;
    font-weight: 500;
}

.implementation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.implementation-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.7rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.implementation-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.implementation-card-note {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* =========================================================
   PROTOCOLO INICIAL
========================================================= */

.implementation-offer {
    position: relative;
}

.implementation-offer-box {
    max-width: 950px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem);
    text-align: center;
    border-radius: 28px;
}

.implementation-offer-heading {
    max-width: 650px;
    margin: 0 auto 2rem;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.4;
}

.implementation-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

.implementation-price span {
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.implementation-price strong {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.18);
}

.implementation-offer-text {
    max-width: 650px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.implementation-examples {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.implementation-examples span {
    padding: 0.65rem 1rem;
    border: 1px solid rgba(0, 212, 255, 0.16);
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.implementation-process {
    display: grid;
    gap: 1rem;
    max-width: 750px;
    margin: 0 auto 2rem;
    text-align: left;
}

.implementation-process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.015);
}

.implementation-process-step > span {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
}

.implementation-process-step h4 {
    margin-bottom: 0.35rem;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.implementation-process-step p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

.implementation-disclaimer {
    max-width: 650px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}


/* =========================================================
   PROYECTO A MEDIDA
========================================================= */

.implementation-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    max-width: 850px;
    margin: 2rem auto;
}

.implementation-flow span {
    position: relative;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.implementation-flow span:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    z-index: 2;
}


/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   RESPONSIVE TABLET Y MÓVIL
========================================================= */

@media (max-width: 900px) {

    .implementation-about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .implementation-about-image {
        max-width: 520px;
        margin: 0 auto;
    }

    .implementation-about-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .timeline::before {
        left: 18px;
        transform: none;
    }

    .timeline-item,
    .timeline-item-right {
        width: 100%;
        margin-left: 0;
        padding-left: 55px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item-left .timeline-dot,
    .timeline-item-right .timeline-dot {
        left: 9px;
        right: auto;
    }

    .timeline-item-left .timeline-content::after,
    .timeline-item-right .timeline-content::after {
        left: -7px;
        right: auto;
        transform: rotate(225deg);
    }

    .timeline-item-left .timeline-list li {
        padding-left: 1.2rem;
        padding-right: 0;
    }

    .timeline-item-left .timeline-list li::after {
        display: none;
    }

    .timeline-item-left .timeline-list li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: var(--primary);
    }

}


@media (max-width: 600px) {

    .implementation-hero-text {
        font-size: 1rem;
    }

    .implementation-about-grid {
        gap: 2rem;
    }

    .implementation-photo-frame {
        padding: 7px;
        border-radius: 20px;
    }

    .implementation-photo-frame img {
        border-radius: 14px;
    }

    .implementation-section-intro {
        margin-bottom: 2.5rem;
    }

    .timeline {
        padding-top: 0;
    }

    .timeline-item,
    .timeline-item-right {
        padding-left: 42px;
        margin-bottom: 2rem;
    }

    .timeline::before {
        left: 14px;
    }

    .timeline-item-left .timeline-dot,
    .timeline-item-right .timeline-dot {
        left: 5px;
        width: 18px;
        height: 18px;
    }

    .timeline-content {
        padding: 1.4rem;
        border-radius: 16px;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

    .timeline-closing {
        padding: 2rem 1rem;
    }

    .implementation-offer-box {
        padding: 2rem 1.25rem;
        border-radius: 20px;
    }

    .implementation-examples {
        gap: 0.5rem;
    }

    .implementation-examples span {
        padding: 0.55rem 0.8rem;
        font-size: 0.8rem;
    }

    .implementation-process-step {
        gap: 0.9rem;
        padding: 1rem;
    }

    .implementation-process-step > span {
        width: 34px;
        height: 34px;
    }

    .implementation-flow {
        gap: 0.9rem;
    }

    .implementation-flow span {
        font-size: 0.68rem;
    }

    .implementation-flow span::after {
        display: none;
    }

}
/* =========================================================
   AJUSTE FINAL — IMPLEMENTACIÓN DIGITAL
   HERO + EFECTO VISUAL + MÓVIL
   Agregar al FINAL de styles.css
========================================================= */


/* =========================================================
   HERO
========================================================= */

.implementation-hero .hero-content {
    max-width: 680px;
}


/* =========================================================
   EFECTO VISUAL REUTILIZADO DE LA PÁGINA PRINCIPAL
========================================================= */

.implementation-hero .implementation-hero-illustration {
    display: flex;
}


.implementation-hero
.implementation-hero-illustration
.cyber-container {
    transform: scale(1.08);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1023px) {

    .implementation-hero
    .implementation-hero-illustration {
        min-height: 320px;
        height: 320px;
        margin-top: -1rem;
    }


    .implementation-hero
    .implementation-hero-illustration
    .cyber-container {
        transform: scale(0.9);
    }

}


/* =========================================================
   HERO MÓVIL
========================================================= */

@media (max-width: 600px) {

    .implementation-hero {
        min-height: auto;
        padding-top: 8.5rem;
        padding-bottom: 4rem;
    }


    .implementation-hero .hero-container {
        gap: 1.5rem;
    }


    .implementation-hero .hero-title {
        margin-bottom: 1rem;
        line-height: 1.08;
    }


    .implementation-hero .hero-subtitle {
        margin-bottom: 1rem;
        line-height: 1.65;
    }


    .implementation-hero-text {
        margin: 0 0 1.5rem;
    }


    .implementation-hero
    .implementation-hero-illustration {
        height: 230px;
        min-height: 230px;
        margin-top: 0;
    }


    .implementation-hero
    .implementation-hero-illustration
    .cyber-container {
        transform: scale(0.72);
    }

}


/* =========================================================
   IMPLEMENTACIÓN PERSONALIZADA
   CORRECCIÓN DEL ESPACIADO EXCESIVO
========================================================= */

.implementation-custom .cta-box {
    min-height: auto !important;
    height: auto !important;

    display: block !important;

    padding:
        clamp(2.5rem, 5vw, 4rem)
        !important;
}


.implementation-custom .cta-title {
    display: block !important;

    max-width: 760px;

    margin:
        0
        auto
        1.25rem
        !important;

    line-height: 1.15 !important;
}


.implementation-custom
.cta-title
.gradient-text {
    display: inline !important;
}


.implementation-custom .cta-text {
    margin:
        1rem
        auto
        !important;

    line-height: 1.6 !important;
}


.implementation-custom
.implementation-flow {
    margin:
        1.5rem
        auto
        !important;
}


/* =========================================================
   IMPLEMENTACIÓN PERSONALIZADA — MÓVIL
========================================================= */

@media (max-width: 600px) {

    .implementation-custom .cta-box {

        min-height: auto !important;

        height: auto !important;

        padding:
            2.25rem
            1.25rem
            !important;

    }


    .implementation-custom .cta-title {

        font-size:
            clamp(
                2rem,
                9vw,
                2.7rem
            )
            !important;

        line-height:
            1.12
            !important;

        margin-bottom:
            1rem
            !important;

    }


    .implementation-custom .cta-text {

        margin:
            0.85rem
            auto
            !important;

        line-height:
            1.6
            !important;

    }


    .implementation-custom
    .implementation-flow {

        margin:
            1.25rem
            auto
            !important;

        gap:
            0.65rem
            !important;

    }

}
/* =========================================================
   CORRECCIÓN RESPONSIVE FINAL
   IMPLEMENTACIÓN DIGITAL
   PEGAR AL FINAL ABSOLUTO DE styles.css
========================================================= */


/* =========================================================
   HERO — ESTRUCTURA GENERAL
========================================================= */

.implementation-hero {
    position: relative;
    overflow: hidden;
}


.implementation-hero .hero-container {
    position: relative;
}


.implementation-hero .hero-content {
    position: relative;
    z-index: 3;
}


/* =========================================================
   DESKTOP
   SE MANTIENE LA ILUSTRACIÓN A LA DERECHA
========================================================= */

@media (min-width: 1024px) {

    .implementation-hero
    .implementation-hero-illustration {

        position: relative;

        z-index: 1;

        display: flex;

        align-items: center;

        justify-content: center;

    }


    .implementation-hero
    .implementation-hero-illustration
    .cyber-container {

        transform: scale(1.08);

    }

}


/* =========================================================
   TABLET Y MÓVIL
   LA ILUSTRACIÓN PASA AL FONDO DEL HERO
========================================================= */

@media (max-width: 1023px) {

    .implementation-hero {

        position: relative;

        overflow: hidden;

        isolation: isolate;

    }


    .implementation-hero .hero-container {

        position: relative;

        display: block;

        min-height: 680px;

    }


    /* CONTENIDO POR ENCIMA */

    .implementation-hero .hero-content {

        position: relative;

        z-index: 3;

    }


    /* ILUSTRACIÓN ABSOLUTA
       YA NO OCUPA ESPACIO EN EL DOCUMENTO */

    .implementation-hero
    .implementation-hero-illustration {

        position: absolute !important;

        top: 50% !important;

        left: 50% !important;

        width: 100% !important;

        height: 100% !important;

        min-height: 100% !important;

        margin: 0 !important;

        padding: 0 !important;

        transform:
            translate(-50%, -50%)
            !important;

        z-index: 1 !important;

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        pointer-events: none;

        opacity: 0.32;

    }


    .implementation-hero
    .implementation-hero-illustration
    .cyber-container {

        transform:
            scale(0.9)
            !important;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 601px) and (max-width: 1023px) {

    .implementation-hero {

        min-height: 760px;

    }


    .implementation-hero .hero-container {

        min-height: 680px;

        display: flex;

        align-items: center;

    }


    .implementation-hero
    .implementation-hero-illustration {

        opacity: 0.35;

    }


    .implementation-hero
    .implementation-hero-illustration
    .cyber-container {

        transform:
            scale(1)
            !important;

    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    .implementation-hero {

        min-height: auto;

        padding-top: 7.5rem;

        padding-bottom: 4.5rem;

    }


    .implementation-hero .hero-container {

        min-height: 620px;

        display: block;

    }


    /* ILUSTRACIÓN AL FONDO */

    .implementation-hero
    .implementation-hero-illustration {

        position: absolute !important;

        top: 50% !important;

        left: 50% !important;

        width: 100% !important;

        height: 100% !important;

        min-height: 100% !important;

        margin: 0 !important;

        transform:
            translate(-50%, -50%)
            !important;

        opacity: 0.25 !important;

        z-index: 1 !important;

    }


    /* ESCALA DEL EFECTO */

    .implementation-hero
    .implementation-hero-illustration
    .cyber-container {

        transform:
            scale(0.78)
            !important;

    }


    /* CONTENIDO DEL HERO */

    .implementation-hero .hero-content {

        position: relative;

        z-index: 3;

        width: 100%;

        max-width: 100%;

    }


    .implementation-hero .hero-title {

        margin-bottom: 1rem !important;

        line-height: 1.05 !important;

        letter-spacing: -0.035em;

    }


    .implementation-hero .hero-subtitle {

        margin-top: 0;

        margin-bottom: 1rem !important;

        line-height: 1.55 !important;

    }


    .implementation-hero-text {

        margin-top: 0 !important;

        margin-bottom: 1.5rem !important;

        line-height: 1.6 !important;

    }


    .implementation-hero .hero-buttons {

        position: relative;

        z-index: 4;

    }

}


/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .implementation-hero {

        padding-top: 7rem;

    }


    .implementation-hero .hero-container {

        min-height: 580px;

    }


    .implementation-hero
    .implementation-hero-illustration
    .cyber-container {

        transform:
            scale(0.68)
            !important;

    }

}


/* =========================================================
   IMPLEMENTACIÓN PERSONALIZADA
   CORRECCIÓN DEL ESPACIADO DEL TÍTULO
========================================================= */

.implementation-custom .cta-box {

    min-height: auto !important;

    height: auto !important;

    padding:
        clamp(2.5rem, 5vw, 4rem)
        !important;

}


/* =========================================================
   TÍTULO
========================================================= */

.implementation-custom .cta-title {

    display: block !important;

    width: 100% !important;

    max-width: 850px !important;

    margin:
        0
        auto
        1.25rem
        !important;

    padding: 0 !important;

    line-height: 1.08 !important;

    letter-spacing: -0.04em !important;

    word-spacing: normal !important;

}


.implementation-custom
.cta-title
.gradient-text {

    display: inline !important;

    white-space: normal !important;

}


/* =========================================================
   TEXTO CTA
========================================================= */

.implementation-custom .cta-text {

    display: block !important;

    width: 100%;

    max-width: 700px;

    margin:
        1rem
        auto
        !important;

    line-height: 1.6 !important;

}


/* =========================================================
   FLUJO DE IMPLEMENTACIÓN
========================================================= */

.implementation-custom
.implementation-flow {

    margin:
        1.5rem
        auto
        !important;

}


/* =========================================================
   CTA FINAL — MÓVIL
========================================================= */

@media (max-width: 600px) {

    .implementation-custom {

        padding-top: 3rem;

        padding-bottom: 3rem;

    }


    .implementation-custom .cta-box {

        min-height: auto !important;

        height: auto !important;

        padding:
            2.5rem
            1.25rem
            !important;

    }


    /* TÍTULO */

    .implementation-custom .cta-title {

        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        margin:
            0
            auto
            1rem
            !important;

        padding: 0 !important;

        font-size:
            clamp(
                2rem,
                9vw,
                2.7rem
            )
            !important;

        line-height:
            1.05
            !important;

        letter-spacing:
            -0.045em
            !important;

        word-spacing:
            normal
            !important;

    }


    .implementation-custom
    .cta-title
    .gradient-text {

        display: inline !important;

        white-space:
            normal
            !important;

    }


    /* TEXTO */

    .implementation-custom .cta-text {

        width: 100% !important;

        max-width: 100% !important;

        margin:
            0.85rem
            auto
            !important;

        font-size:
            1rem
            !important;

        line-height:
            1.55
            !important;

    }


    /* FLUJO */

    .implementation-custom
    .implementation-flow {

        margin:
            1.25rem
            auto
            !important;

        gap:
            0.55rem
            !important;

    }


    .implementation-custom
    .implementation-flow span {

        line-height:
            1.2
            !important;

    }

}


/* =========================================================
   CTA — MÓVILES MUY PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .implementation-custom .cta-title {

        font-size:
            1.9rem
            !important;

        line-height:
            1.05
            !important;

    }

}
/* =========================================================
   ÁREAS DE IMPLEMENTACIÓN - GRID 2x2
========================================================= */

.implementation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.implementation-grid .product-card {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   RESPONSIVE - UNA COLUMNA EN TABLET Y MÓVIL
========================================================= */

@media (max-width: 900px) {

    .implementation-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

}