/* --- 1. Variables Globales y Fuentes (OPTIMIZADO - PSBL) --- */
:root {
    /* === 🎨 PALETA DE COLORES (TEMA NEÓN/IA) === */
    
    /* Acentos Principales (Identidad de Marca) */
    --color-primary-accent: #b100e8;   /* Púrpura */
    --color-secondary-accent: #f20089; /* Rosa Magenta */
    --color-tertiary-accent: #2d00f7;  /* Azul Eléctrico */
    
    /* Fondos (Modo Oscuro Profundo) */
    --color-black: #050505;         /* Body: Negro casi puro */
    --color-dark-section: #0f0f0f;  /* Secciones */
    --color-dark-card: #18181b;     /* Tarjetas */
    
    /* Textos */
    --color-light: #ffffff;
    --color-gray: #a1a1aa;          /* Gris legible */
    --color-gray-dark: #27272a;
    --color-success-global: #10b981;

    /* === ✨ EFECTOS VISUALES (GLOW & GLASS) === */
    --shadow-neon-primary: 0 0 20px rgba(177, 0, 232, 0.4);
    --shadow-neon-secondary: 0 0 20px rgba(242, 0, 137, 0.4);
    --glass-bg: rgba(0, 0, 0, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);

    /* === ✒️ TIPOGRAFÍA === */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'JetBrains Mono', monospace;

    /* === 📐 CONSTANTES === */
    --border-radius-lg: 16px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-light);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* --- Container Global --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* --- 2. Header / Navbar (MEJORADO CON GLASSMORPHISM) --- */
.navbar {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-light);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary-accent);
}

.cta-button-nav {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-primary-accent);
    color: var(--color-primary-accent);
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(177, 0, 232, 0.1);
}

.cta-button-nav:hover {
    background-color: var(--color-primary-accent);
    color: var(--color-light);
    box-shadow: var(--shadow-neon-primary);
}

.nav-burger {
    display: none;
    cursor: pointer;
}
.nav-burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-light);
    margin: 5px 0;
}

/* === 3. HERO SECTION === */
#hero {
    height: 100vh; 
    width: 100%;
    background-color: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    overflow: hidden; 
    padding-top: 100px; 
    min-height: 100vh;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(177, 0, 232, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(177, 0, 232, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-primary-accent);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-neon-primary);
}

.hero-badge:hover {
    transform: translateY(-2px);
    background: rgba(177, 0, 232, 0.15);
}

.hero-badge i {
    color: var(--color-success-global);
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-light);
    line-height: 1.1;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.gradient-text {
    background: linear-gradient(90deg, var(--color-primary-accent), var(--color-secondary-accent), var(--color-tertiary-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-primary-accent);
    display: inline-block; 
    position: relative;
    font-weight: 700; }

.hero-subheadline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.5;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-subheadline strong {
    color: var(--color-light);
    font-weight: 700;
    background: linear-gradient(90deg, var(--color-primary-accent), var(--color-secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-cta-primary {
    background: linear-gradient(135deg, var(--color-primary-accent), var(--color-secondary-accent));
    color: var(--color-light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-neon-primary);
    position: relative;
    overflow: hidden;
    text-transform: none;
    white-space: nowrap;
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(177, 0, 232, 0.6);
    color: var(--color-light);
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-cta-primary:hover::before {
    left: 100%;
}

.hero-cta-secondary {
    background: transparent;
    color: var(--color-light);
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: none;
    white-space: nowrap;
}

.hero-cta-secondary:hover {
    border-color: var(--color-primary-accent);
    color: var(--color-primary-accent);
    background: rgba(177, 0, 232, 0.05);
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    background: rgba(177, 0, 232, 0.05);
    border-color: rgba(177, 0, 232, 0.2);
}

.trust-stat {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-accent);
    margin: 0;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    font-family: var(--font-body);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray);
    font-size: 0.8rem;
    animation: fadeInUp 0.8s ease-out 1.2s both;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    z-index: 10;
    text-decoration: none;
}

.scroll-indicator:hover {
    color: var(--color-primary-accent);
    background: rgba(177, 0, 232, 0.05);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

/* Animaciones */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

.hero-content:hover .gradient-text {
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(90deg, var(--color-primary-accent), var(--color-secondary-accent), var(--color-tertiary-accent));
        -webkit-background-clip: text;
        background-clip: text;
    }
    50% {
        background: linear-gradient(90deg, var(--color-tertiary-accent), var(--color-primary-accent), var(--color-secondary-accent));
        -webkit-background-clip: text;
        background-clip: text;
    }
}

/* === 4. SECCIÓN DE SERVICIOS === */
#services {
    --color-primary: var(--color-primary-accent);
    --color-secondary: var(--color-secondary-accent);
    --color-accent: var(--color-tertiary-accent);
    --color-dark: var(--color-dark-section);
    --border-radius-lg: 16px;
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    padding: 80px 0;
    background-color: var(--color-dark);
    color: var(--color-light);
    position: relative;
}

#services .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-light);
    letter-spacing: -0.025em;
}



.services-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--color-dark-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-xl);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.service-badge.trending-badge {
    background-color: var(--color-warning);
}

.service-icon {
    margin-bottom: 24px;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--color-primary);
    transition: all 0.2s ease-in-out;
}

.service-card:hover .service-icon i {
    color: var(--color-secondary);
    transform: scale(1.05);
}

.service-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card-content > p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.service-features {
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: #e5e7eb;
}

.feature-item i {
    color: var(--color-success-global);
    font-size: 0.75rem;
    margin-right: 12px;
    width: 12px;
    text-align: center;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--color-gray-dark);
}

.price-from {
    font-size: 0.875rem;
    color: var(--color-gray);
    font-weight: 400;
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-light);
    font-family: var(--font-heading);
}

.price-period {
    font-size: 0.875rem;
    color: var(--color-gray);
    font-weight: 400;
}

.service-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#services .cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    background: transparent;
    white-space: nowrap;
    color: var(--color-light);
}

#services .cta-button i {
    font-size: 0.875rem;
}

#services .cta-button.primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-light);
}

#services .cta-button.primary:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-neon-primary);
}

#services .cta-button.secondary {
    border-color: var(--color-gray);
    color: #e5e7eb;
    background: transparent;
}

#services .cta-button.secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(177, 0, 232, 0.05);
}

.service-card.popular {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(177, 0, 232, 0.1);
}

.service-card.trending {
    border-color: var(--color-warning);
    box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.1);
}

.services-bottom-cta {
    background-color: var(--color-dark-card);
    border: 1px solid var(--color-gray-dark);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    text-align: center;
    margin: 60px 0 40px;
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1rem;
    color: var(--color-gray);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

#services .cta-button.large {
    padding: 16px 32px;
    font-size: 0.95rem;
    min-width: 160px;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-indicators .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    min-width: 120px;
}

.trust-indicators .trust-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.trust-indicators .trust-item span {
    font-size: 0.875rem;
    color: var(--color-gray);
    font-weight: 400;
    line-height: 1.3;
}

/* --- 5. Botones CTA Globales --- */
.cta-button {
    display: inline-block;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
    background-color: transparent;
    border-color: #444; 
    color: #eee; 
}

.cta-button:hover {
    background-color: var(--color-primary-accent);
    border-color: var(--color-primary-accent);
    color: var(--color-light);
}

.cta-button.primary {
    background-color: var(--color-primary-accent);
    border-color: var(--color-primary-accent);
    color: var(--color-light);
}

.cta-button.primary:hover {
    background-color: var(--color-light);
    border-color: var(--color-light);
    color: var(--color-black);
}

/* --- 6. SECCIÓN OPHELIA PROMO (REDISEÑADO - DEMO INTERACTIVO) --- */
#ophelia-promo {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-dark-section) 100%);
    color: var(--color-light);
    position: relative;
    overflow: hidden;
    border-top: 1px solid #222;
}

#ophelia-promo .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Layout Principal */
.ophelia-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Columna Izquierda: Texto */
.ophelia-info {
    z-index: 2;
}

.ophelia-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(177, 0, 232, 0.1);
    border: 1px solid var(--color-primary-accent);
    color: var(--color-primary-accent);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-success-global);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse-green 2s infinite;
}

#ophelia-promo h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-light);
}

.ophelia-description {
    font-size: 1.1rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.ophelia-benefits-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.ophelia-benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #e5e5e5;
    font-size: 1rem;
    font-weight: 500;
}

.ophelia-benefits-list li i {
    color: var(--color-secondary-accent);
    font-size: 1.1rem;
}

/* Columna Derecha: El Dispositivo (iPhone Style) */
.ophelia-demo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px; /* Para efecto 3D sutil */
}

.demo-device {
    width: 360px;
    height: 640px; /* Altura de móvil moderno */
    background: var(--color-black);
    border-radius: 45px;
    border: 8px solid #222;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 
                0 0 0 2px rgba(255,255,255,0.1); /* Borde sutil exterior */
    z-index: 5;
}

/* Notch y Barra Superior */
.device-header {
    height: 44px;
    background: var(--color-black);
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    align-items: center;
    color: #fff;
    font-size: 12px;
    position: relative;
    z-index: 10;
}

.device-notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 30px;
    background: #222;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

/* Interfaz del Chat */
.chat-interface {
    display: flex;
    flex-direction: column;
    height: calc(100% - 44px);
    background: #111;
    font-family: var(--font-body);
}

.chat-top-bar {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(5px);
}

.avatar-circle img {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary-accent);
    padding: 2px;
}

.agent-details { display: flex; flex-direction: column; }
.agent-name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.agent-status { font-size: 0.75rem; color: var(--color-success-global); display: flex; align-items: center; gap: 4px; }

/* Cuerpo de Mensajes */
.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(180deg, #111 0%, #080808 100%);
    scroll-behavior: smooth;
}

/* Estilos de Burbujas */
.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.message.received {
    background: #222;
    color: #eee;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.message.sent {
    background: linear-gradient(135deg, var(--color-primary-accent), var(--color-secondary-accent));
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    box-shadow: 0 4px 15px rgba(177, 0, 232, 0.2);
}

.message.typing {
    background: transparent;
    color: #666;
    font-style: italic;
    font-size: 0.8rem;
    padding: 5px 15px;
    align-self: flex-start;
}

/* Acciones Rápidas (Chips) */
.quick-actions {
    padding: 12px 15px;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 8px;
    background: rgba(20,20,20,0.95);
    border-top: 1px solid rgba(255,255,255,0.05);
  
}

.quick-actions button {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-light);
    padding: 8px 12px; 
    border-radius: 16px;
    white-space: normal; /
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-body);
    transition: all 0.2s;
    flex: 1 1 auto; 
    text-align: center;
    min-width: 100px; 
}

.quick-actions button:hover {
    background: var(--color-primary-accent);
    border-color: var(--color-primary-accent);
    transform: translateY(-2px);
}

/* Input Fake */
.chat-input-fake {
    padding: 15px;
    background: #000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fake-placeholder {
    flex: 1;
    background: #1a1a1a;
    padding: 10px 15px;
    border-radius: 20px;
    color: #555;
    font-size: 0.85rem;
}

.fake-send {
    width: 36px; height: 36px;
    background: #222;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #444;
}

/* Glow de Fondo */
.demo-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 140%; height: 90%;
    background: radial-gradient(circle, rgba(177,0,232,0.25) 0%, rgba(0,0,0,0) 70%);
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Responsive */
@media (max-width: 960px) {
    .ophelia-grid-layout { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .ophelia-benefits-list li { justify-content: center; }
    .demo-device { width: 100%; max-width: 340px; height: 580px; }
}

/* --- AJUSTE SCROLLBAR DEMO OPHELIA --- */

/* Ocultar barra en Firefox */
#chat-scroll-area {
    scrollbar-width: none;  
    -ms-overflow-style: none;  /* IE y Edge */
}

/* Ocultar barra en Chrome, Safari y Opera */
#chat-scroll-area::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* --- 6.5. SECCIÓN SOCIAL PROOF (MEJORADO - GLASS CARDS) --- */
#social-proof {
    padding: 80px 0;
    background-color: #080808; /* Fondo un poco más oscuro para contraste */
    border-top: 1px solid #222;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.social-proof-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

/* Línea decorativa debajo del título */
.social-proof-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--color-primary-accent);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--color-primary-accent);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0; /* Espacio para el efecto hover y sombras */
}

/* Degradados laterales para suavizar la entrada/salida */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}
.marquee-container::before { left: 0; background: linear-gradient(to right, #080808, transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, #080808, transparent); }

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px; /* Espacio entre logos */
    animation: marquee 35s linear infinite; /* Velocidad ajustada */
    width: max-content;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused; /* Se detiene si el usuario quiere hacer clic */
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- ESTILO DE LAS TARJETAS DE LOGO (LO NUEVO) --- */
.client-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;      /* Ancho fijo para uniformidad */
    height: 100px;     /* Alto fijo */
    background: rgba(255, 255, 255, 0.03); /* Fondo sutil */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    position: relative;
}

.client-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Truco: Aumentamos brillo y contraste para logos oscuros, y los hacemos gris */
    filter: grayscale(100%) brightness(1.2) opacity(0.7); 
    transition: all 0.4s ease;
}

/* EFECTO HOVER */
.client-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.05);
    border-color: var(--color-primary-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                0 0 15px rgba(177, 0, 232, 0.3); /* Glow morado */
    z-index: 10;
}

.client-card:hover img {
    filter: grayscale(0%) brightness(1) opacity(1); /* Color original */
}

/* Responsive */
@media (max-width: 768px) {
    .client-card { width: 140px; height: 80px; }
    .marquee-content { gap: 20px; }
}

/* =========================================
   7. CONTACTO AISLADO (SPACIOUS VERSION)
   ========================================= */

#contact-isolated {
    background-color: #050505 !important;
    color: #ffffff !important;
    padding: 120px 0; /* AUMENTADO de 80px a 120px para más aire arriba/abajo */
    border-top: 1px solid #222;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.iso-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header más separado */
.iso-header { 
    text-align: center; 
    margin-bottom: 80px; /* AUMENTADO de 50px a 80px */
}

.iso-header h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem; /* Ligeramente más grande */
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.iso-header p { color: #888; font-size: 1.1rem; }

/* Grid con más separación */
.iso-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px; /* AUMENTADO de 60px a 80px entre columnas */
    align-items: start; /* Alineación superior para que no se estire */
}

/* --- Columna Izquierda (Info) --- */
.iso-info {
    padding-top: 20px; /* Para alinear visualmente con el form */
}

.iso-info h3 { 
    font-size: 1.8rem; 
    margin-bottom: 20px; 
    color: #fff; 
    font-family: var(--font-heading);
}

.iso-desc { 
    color: #aaa; 
    margin-bottom: 40px; /* Más espacio antes de los contactos */
    line-height: 1.8; 
    font-size: 1.05rem;
}

.iso-trust-box {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 30px 0; /* Más aire interno */
    margin-bottom: 40px;
}

.iso-trust-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}
.iso-trust-item:last-child { margin-bottom: 0; }

.iso-icon {
    width: 45px; height: 45px;
    background: rgba(177, 0, 232, 0.1);
    border: 1px solid #b100e8;
    color: #b100e8;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.iso-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espacio entre emails/whatsapp */
}

.iso-link-item {
    display: flex; align-items: center; gap: 15px;
    color: #fff; text-decoration: none;
    transition: 0.3s;
    font-size: 1.05rem;
    padding: 10px 0; /* Área de click más grande */
}
.iso-link-item:hover { color: #b100e8; transform: translateX(5px); }
.iso-icon-small { color: #b100e8; font-size: 1.3rem; width: 30px; text-align: center; }

/* --- Columna Derecha (Formulario) --- */
.iso-form-wrapper {
    background-color: #111; 
    padding: 50px; /* AUMENTADO de 40px a 50px */
    border-radius: 24px; /* Bordes más suaves */
    border: 1px solid #2a2a2a;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6); /* Sombra más profunda */
}

/* Barra de Progreso */
.iso-progress { margin-bottom: 35px; }
.iso-bar { width: 100%; height: 6px; background: #333; border-radius: 3px; margin-bottom: 8px; }
.iso-fill { width: 0%; height: 100%; background: linear-gradient(90deg, #b100e8, #f20089); border-radius: 3px; transition: width 0.3s; }
.iso-progress-text { font-size: 0.8rem; color: #666; display: block; text-align: right; }

/* Inputs y Labels */
.iso-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 25px; }
.iso-field { margin-bottom: 25px; }

.iso-field label {
    display: block;
    color: #aaa;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.iso-input {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    padding: 15px 20px; /* Inputs más altos */
    border-radius: 12px;
    font-size: 1rem;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
}

.iso-input:focus {
    outline: none;
    border-color: #b100e8;
    background-color: #222;
    box-shadow: 0 0 0 4px rgba(177, 0, 232, 0.15);
}

.iso-textarea { resize: vertical; min-height: 140px; }

/* Botón */
.iso-btn {
    width: 100%;
    padding: 18px; /* Botón más grande */
    background: linear-gradient(135deg, #b100e8, #f20089);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
    margin-top: 10px;
}
.iso-btn:disabled { background: #444; color: #888; cursor: not-allowed; }
.iso-btn:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(177, 0, 232, 0.4); }

/* Responsive */
@media (max-width: 900px) {
    #contact-isolated { padding: 80px 0; }
    .iso-header { margin-bottom: 50px; }
    .iso-grid { grid-template-columns: 1fr; gap: 50px; }
    .iso-info { text-align: center; padding-top: 0; }
    .iso-trust-item { justify-content: center; }
    .iso-link-item { justify-content: center; }
    .iso-form-wrapper { padding: 30px; }
}
@media (max-width: 600px) {
    .iso-row { grid-template-columns: 1fr; gap: 0; }
}

/* --- 8. ESTILOS DEL FOOTER --- */
.footer {
    background-color: var(--color-dark-section);
    color: #aaa; 
    padding: 60px 0 0 0;
    border-top: 1px solid #222; 
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1rem;
    display: block;
    background: linear-gradient(90deg, var(--color-primary-accent), var(--color-secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-contact-info {
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.footer-contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-contact-info i {
    color: var(--color-primary-accent); 
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}
.footer-contact-info a {
    color: #aaa; 
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact-info a:hover {
    color: var(--color-light);
}

.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: transparent;
    color: #25D366; 
    border: 2px solid #25D366;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}
.whatsapp-cta:hover {
    background-color: #25D366;
    color: var(--color-light); 
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}
.whatsapp-cta i { font-size: 1.2rem; }

.social-links { display: flex; gap: 0.75rem; }
.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    background-color: #222; 
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.social-link:hover {
    color: var(--color-light);
    background-color: var(--color-primary-accent); 
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-light);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333; 
    position: relative;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary-accent);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a, .footer-links p {
    font-family: var(--font-body);
    color: #aaa; 
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--color-primary-accent); 
    transform: translateX(3px);
}
.icon-links a { display: flex; align-items: center; gap: 0.75rem; }
.icon-links i {
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
    color: #777; 
}
.icon-links a:hover i { color: var(--color-primary-accent); }

.trust-badges {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #222; 
    color: #E2E8F0;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--font-body);
    padding: 0.4rem 0.75rem;
    border-radius: 5px;
    border: 1px solid #444; 
}
.trust-badge i { color: var(--color-primary-accent); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid #222; 
    padding: 2rem 0;
    margin-top: 2rem;
}
.footer-copyright { font-size: 0.85rem; color: #777; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
    font-size: 0.85rem;
    color: #777; 
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-legal a:hover { color: var(--color-light); }

/* --- SCROLL-TO-TOP --- */
.scroll-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-primary-accent); 
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 999;
    justify-content: center;
    align-items: center;
}
.scroll-to-top-btn.show { display: flex; }
.scroll-to-top-btn:hover {
    background-color: var(--color-secondary-accent); 
    transform: translateY(-3px);
}

/* --- 10. SECCIÓN EQUIPO (TEAM V3) --- */
#team-v3 {
    padding: 80px 0;
    background-color: var(--color-dark-section);
    border-top: 1px solid #222;
    text-align: center;
}

.team-v3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-v3-card {
    background-color: var(--color-dark-card);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

/* Efecto hover */
.team-v3-card.miranda-accent:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-neon-secondary);
}
.team-v3-card.charlie-accent:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-neon-primary);
}
.team-v3-card.diego-accent:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(6, 182, 212, 0.2); /* Glow Cyan */
}
.team-v3-card.sofia-accent:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(16, 185, 129, 0.2); /* Glow Verde */
}

.team-v3-gif-wrapper {
    width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
    background-color: #2a2a2a;
    border-bottom: 2px solid;
}

.team-v3-card.miranda-accent .team-v3-gif-wrapper {
    border-color: var(--color-secondary-accent);
}
.team-v3-card.charlie-accent .team-v3-gif-wrapper {
    border-color: var(--color-primary-accent);
}
.team-v3-card.diego-accent .team-v3-gif-wrapper {
    border-color: #06b6d4;
}
.team-v3-card.sofia-accent .team-v3-gif-wrapper {
    border-color: #10b981;
}

.team-v3-gif-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-v3-card:hover .team-v3-gif-wrapper img {
    transform: scale(1.05);
}

.gif-overlay-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: var(--color-light);
    font-family: var(--font-heading);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.team-v3-content {
    padding: 30px;
}

.team-v3-content h3 {
    font-size: 2rem;
    color: var(--color-light);
    margin-bottom: 0.3rem;
}

.team-v3-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: #aaa;
    margin-bottom: 1.2rem;
}

.team-v3-bio {
    color: #b0b0b0;
    line-height: 1.8;
    font-weight: 400;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

.team-v3-social-links {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.team-v3-social-links .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    background-color: #222;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.team-v3-social-links .social-link:hover {
    color: var(--color-light);
    transform: translateY(-4px);
}

.team-v3-card.miranda-accent .social-link:hover {
    background-color: var(--color-secondary-accent);
}
.team-v3-card.charlie-accent .social-link:hover {
    background-color: var(--color-primary-accent);
}
.team-v3-card.diego-accent .social-link:hover {
    background-color: #06b6d4;
}
.team-v3-card.sofia-accent .social-link:hover {
    background-color: #10b981;
}

@media (max-width: 580px) {
    .team-v3-gif-wrapper { height: 300px; }
    .team-v3-content h3 { font-size: 1.6rem; }
    .team-v3-title { font-size: 0.9rem; }
    .team-v3-bio { font-size: 0.85rem; }
}

/* --- Animación Fade In Up (General) --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Estados de focus mejorados para accesibilidad */
.hero-cta-primary:focus,
.hero-cta-secondary:focus,
#services .cta-button:focus {
    outline: 2px solid var(--color-primary-accent);
    outline-offset: 2px;
}

.hero-cta-primary:focus:not(:focus-visible),
.hero-cta-secondary:focus:not(:focus-visible),
#services .cta-button:focus:not(:focus-visible) {
    outline: none;
}

/* Mejoras de performance */
.hero-cta-primary,
.hero-cta-secondary,
.trust-item,
.service-card,
.cta-button {
    will-change: transform;
}

.hero-cta-primary:hover,
.hero-cta-secondary:hover,
.trust-item:hover,
.service-card:hover,
.cta-button:hover {
    will-change: auto;
}


/* =================================================================
   ESTILOS NUEVOS (SISTEMA GLOBAL: SERVICIOS + MARKETING + OPHELIA)
   ================================================================= */

/* --- 1. FONDO AURORA GLOBAL --- */
.global-aurora {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(circle at 50% 30%, rgba(177, 0, 232, 0.12), transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(45, 0, 247, 0.1), transparent 50%);
    filter: blur(80px); z-index: -1; pointer-events: none;
    animation: auroraPulse 10s infinite alternate;
}
@keyframes auroraPulse {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* --- 2. NUEVO HERO COMPACTO (Clase diferente a #hero del index) --- */
.services-hero {
    position: relative; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 140px 20px 60px; background: transparent;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-label {
    font-family: var(--font-heading); color: var(--color-primary-accent);
    border: 1px solid rgba(177, 0, 232, 0.3); background: rgba(177, 0, 232, 0.1);
    padding: 6px 14px; border-radius: 30px; font-size: 0.8rem;
    display: inline-block; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;
}
.hero-title {
    font-size: clamp(3rem, 7vw, 5rem); line-height: 1; font-weight: 700;
    margin-bottom: 20px; letter-spacing: -2px; color: var(--color-light);
}
.hero-subtitle {
    font-size: 1.15rem; color: #aaa; max-width: 650px; margin: 0 auto 30px; line-height: 1.6;
}

/* --- 3. SISTEMA DE TARJETAS DE CRISTAL (GLASS CARDS) --- */
.grid-section { padding: 40px 20px 80px; max-width: 1400px; margin: 0 auto; position: relative; z-index: 5; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 25px; }

.glass-card {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px; padding: 35px;
    display: flex; flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative; overflow: hidden;
    backdrop-filter: blur(12px);
}
/* Glow effect */
.glass-card::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.04), transparent 40%);
    opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.glass-card:hover::after { opacity: 1; }
.glass-card:hover {
    transform: translateY(-8px); border-color: rgba(255, 255, 255, 0.15);
    background: rgba(25, 25, 25, 0.85); box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.card-icon { font-size: 2rem; color: #fff; transition: transform 0.3s; margin-bottom: 20px; }
.glass-card:hover .card-icon { transform: scale(1.1); }
.glass-card h3 { font-size: 1.6rem; color: #fff; margin-bottom: 12px; font-weight: 700; }
.glass-card p { color: #999; font-size: 1rem; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }

/* Botones Nuevos */
.btn-neon {
    padding: 12px 30px; background: linear-gradient(135deg, var(--color-primary-accent), var(--color-secondary-accent));
    color: white; border: none; border-radius: 12px; font-weight: 700;
    text-decoration: none; font-size: 1rem; transition: 0.3s;
    box-shadow: 0 4px 20px rgba(177, 0, 232, 0.4); display: inline-flex; align-items: center; gap: 8px;
}
.btn-neon:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(177, 0, 232, 0.6); color: white; }

.btn-outline {
    padding: 12px 30px; background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; font-weight: 600;
    text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

.action-btn-ghost, .action-btn-filled, .action-btn-accent {
    flex: 1; text-align: center; padding: 10px; font-size: 0.85rem; border-radius: 8px;
    text-decoration: none; transition: 0.3s; cursor: pointer; display: inline-block;
}
.action-btn-ghost { color: #888; border: 1px solid rgba(255,255,255,0.1); }
.action-btn-ghost:hover { background: rgba(255,255,255,0.05); color: #fff; border-color: #fff; }
.action-btn-filled { background: rgba(255,255,255,0.1); color: #fff; font-weight: 600; }
.action-btn-filled:hover { background: #fff; color: #000; }
.action-btn-accent { background: linear-gradient(135deg, var(--color-primary-accent), var(--color-secondary-accent)); color: #fff; font-weight: 600; }
.action-btn-accent:hover { filter: brightness(1.2); transform: translateY(-2px); }

.card-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }

/* --- 4. ESTILOS ESPECÍFICOS MARKETING (PRICING & PORTFOLIO) --- */

/* Pricing Styles */
.pricing-header { text-align: center; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; }
.plan-name { font-family: var(--font-heading); font-size: 1.5rem; color: #fff; margin-bottom: 5px; }
.plan-price { display: flex; justify-content: center; align-items: baseline; gap: 5px; margin: 15px 0; }
.currency { font-size: 1.2rem; color: var(--color-primary-accent); }
.amount { font-size: 3rem; font-weight: 700; color: #fff; line-height: 1; }
.period { color: #888; font-size: 0.9rem; }

.pricing-features { list-style: none; margin-bottom: 30px; padding: 0; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: #ccc; font-size: 0.95rem; line-height: 1.4; }
.pricing-features li i { color: var(--color-success-global); margin-top: 4px; flex-shrink: 0; }
.pricing-features li.highlight { color: #fff; font-weight: 600; }
.pricing-features li.highlight i { color: var(--color-secondary-accent); }

/* Badge de Popular */
.popular-badge {
    position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
    background: linear-gradient(90deg, var(--color-primary-accent), var(--color-secondary-accent));
    padding: 6px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(177, 0, 232, 0.4);
    white-space: nowrap; z-index: 5; color: #fff;
}
.glass-card-featured { border: 1px solid rgba(177, 0, 232, 0.5); background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(177, 0, 232, 0.05)); overflow: visible; }

/* =========================================
   PORTFOLIO GRID (REDISEÑADO - GLOW TECH)
   ========================================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-card {
    /* Base de Cristal */
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

/* Efecto de borde brillante al hacer hover */
.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: rgba(177, 0, 232, 0.5); /* Borde morado */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 
                0 0 20px rgba(177, 0, 232, 0.2); /* Glow externo */
    background: rgba(30, 30, 30, 0.8);
}

/* Contenedor del Ícono/Imagen */
.portfolio-img-wrapper {
    height: 220px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Efecto de luz detrás del ícono */
.portfolio-img-wrapper::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--color-primary-accent);
    filter: blur(60px);
    opacity: 0.2;
    transition: opacity 0.4s;
}

.portfolio-card:hover .portfolio-img-wrapper::before {
    opacity: 0.4; /* Más brillo al hover */
}

/* El Ícono en sí */
.portfolio-img-wrapper i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.portfolio-card:hover .portfolio-img-wrapper i {
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 15px var(--color-primary-accent)); /* Neon Glow */
}

/* Contenido de Texto */
.portfolio-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-cat {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--color-secondary-accent); /* Rosa */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.9;
}

.portfolio-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
}

.portfolio-content p {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Colores específicos por tarjeta (Opcional si quieres variar) */
.portfolio-card:nth-child(2) .portfolio-img-wrapper::before { background: var(--color-secondary-accent); }
.portfolio-card:nth-child(2):hover { border-color: var(--color-secondary-accent); box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(242, 0, 137, 0.2); }
.portfolio-card:nth-child(2) .portfolio-cat { color: var(--color-primary-accent); }

.portfolio-card:nth-child(3) .portfolio-img-wrapper::before { background: #06b6d4; }
.portfolio-card:nth-child(3):hover { border-color: #06b6d4; box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(6, 182, 212, 0.2); }
.portfolio-card:nth-child(3) .portfolio-cat { color: #06b6d4; }

/* Custom Section */
.custom-section {
    background: rgba(255, 255, 255, 0.02); border: 1px dashed #333; border-radius: 20px;
    padding: 40px; margin-top: 60px; text-align: center;
}
.custom-tags { display: flex; justify-content: center; gap: 15px; margin: 20px 0 30px; flex-wrap: wrap; }
.custom-tag {
    background: #000; border: 1px solid #333; padding: 8px 16px; border-radius: 30px;
    font-size: 0.9rem; color: #aaa; display: flex; align-items: center; gap: 8px;
}
.custom-tag i { color: var(--color-secondary-accent); }

/* =========================================
   NUEVA SECCIÓN BENEFICIOS (TECH GLOW)
   ========================================= */

.benefits-grid-tech {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.benefit-card-tech {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Efecto Hover */
.benefit-card-tech:hover {
    transform: translateY(-10px);
    background: rgba(25, 25, 25, 0.8);
    border-color: var(--color-primary-accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Número de fondo gigante (01, 02...) */
.benefit-step {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-heading);
    transition: all 0.4s ease;
    z-index: 0;
}

.benefit-card-tech:hover .benefit-step {
    color: rgba(177, 0, 232, 0.1);
    transform: scale(1.2);
}

/* Icono Neón */
.benefit-icon-tech {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

/* Colores específicos por tarjeta */
.benefit-card-tech:nth-child(1):hover .benefit-icon-tech {
    color: var(--color-secondary-accent);
    border-color: var(--color-secondary-accent);
    box-shadow: 0 0 20px rgba(242, 0, 137, 0.3);
}

.benefit-card-tech:nth-child(2):hover .benefit-icon-tech {
    color: var(--color-primary-accent);
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 20px rgba(177, 0, 232, 0.3);
}

.benefit-card-tech:nth-child(3):hover .benefit-icon-tech {
    color: #06b6d4;
    border-color: #06b6d4;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.benefit-card-tech h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.benefit-card-tech p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* =================================================================
   ⬇️ PEGAR ESTO AL FINAL DE TU STYLE.CSS ⬇️
   (ESTILOS DEL NUEVO DISEÑO: BRANDING, MARKETING & SERVICIOS)
   ================================================================= */

/* --- 1. FONDO AURORA GLOBAL --- */
.global-aurora {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(circle at 50% 30%, rgba(177, 0, 232, 0.12), transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(45, 0, 247, 0.1), transparent 50%);
    filter: blur(80px); z-index: -1; pointer-events: none;
    animation: auroraPulse 10s infinite alternate;
}
@keyframes auroraPulse {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* --- 2. NUEVO HERO (Diferente al del Home) --- */
.services-hero {
    position: relative; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 140px 20px 60px; background: transparent;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-label {
    font-family: var(--font-heading); color: var(--color-primary-accent);
    border: 1px solid rgba(177, 0, 232, 0.3); background: rgba(177, 0, 232, 0.1);
    padding: 6px 14px; border-radius: 30px; font-size: 0.8rem;
    display: inline-block; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;
}
.hero-title {
    font-size: clamp(3rem, 7vw, 5rem); line-height: 1; font-weight: 700;
    margin-bottom: 20px; letter-spacing: -2px; color: var(--color-light);
}
.hero-subtitle {
    font-size: 1.15rem; color: #aaa; max-width: 650px; margin: 0 auto 30px; line-height: 1.6;
}

/* Botones Neón Estándar */
.btn-neon {
    padding: 12px 30px; background: linear-gradient(135deg, var(--color-primary-accent), var(--color-secondary-accent));
    color: white; border: none; border-radius: 12px; font-weight: 700;
    text-decoration: none; font-size: 1rem; transition: 0.3s;
    box-shadow: 0 4px 20px rgba(177, 0, 232, 0.4); display: inline-flex; align-items: center; gap: 8px;
}
.btn-neon:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(177, 0, 232, 0.6); color: white; }

.btn-outline {
    padding: 12px 30px; background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; font-weight: 600;
    text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* --- 3. GLASS CARDS (Tarjetas de Cristal) --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }

.glass-card {
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px; padding: 35px;
    display: flex; flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative; overflow: hidden;
    backdrop-filter: blur(12px);
    min-height: 400px; /* Altura mínima consistente */
}
.glass-card:hover {
    transform: translateY(-8px); border-color: rgba(255, 255, 255, 0.15);
    background: rgba(25, 25, 25, 0.85); box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.glass-card .card-icon { font-size: 2rem; color: #fff; margin-bottom: 20px; transition: 0.3s; }
.glass-card:hover .card-icon { transform: scale(1.1); }
.glass-card h3 { font-size: 1.6rem; color: #fff; margin-bottom: 12px; font-weight: 700; }
.glass-card p { color: #999; font-size: 1rem; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }

.card-actions { margin-top: auto; display: flex; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.action-btn-ghost, .action-btn-filled, .action-btn-accent {
    flex: 1; text-align: center; padding: 10px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: 0.3s; cursor: pointer;
}
.action-btn-ghost { border: 1px solid rgba(255,255,255,0.1); color: #aaa; }
.action-btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.05); }
.action-btn-accent { background: linear-gradient(135deg, var(--color-primary-accent), var(--color-secondary-accent)); color: white; }
.action-btn-accent:hover { filter: brightness(1.2); }
.action-btn-filled { background: rgba(255,255,255,0.1); color: white; }
.action-btn-filled:hover { background: white; color: black; }

/* --- 4. NUEVA SECCIÓN BENEFICIOS (TECH GLOW) --- */
.benefits-grid-tech {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
    position: relative; z-index: 2;
}
.benefit-card-tech {
    background: rgba(20, 20, 20, 0.4); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px; padding: 40px 30px; position: relative;
    transition: all 0.4s ease; overflow: hidden; backdrop-filter: blur(10px);
}
.benefit-card-tech:hover {
    transform: translateY(-10px); background: rgba(25, 25, 25, 0.8);
    border-color: var(--color-primary-accent); box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.benefit-step {
    position: absolute; top: -10px; right: 20px; font-size: 5rem; font-weight: 800;
    color: rgba(255, 255, 255, 0.03); font-family: var(--font-heading); transition: 0.4s;
}
.benefit-card-tech:hover .benefit-step { color: rgba(177, 0, 232, 0.1); transform: scale(1.2); }
.benefit-icon-tech {
    font-size: 2.5rem; color: #fff; margin-bottom: 25px; position: relative; z-index: 1;
    display: inline-block; padding: 15px; background: rgba(255,255,255,0.03);
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transition: 0.4s;
}
.benefit-card-tech:hover .benefit-icon-tech {
    color: var(--color-primary-accent); border-color: var(--color-primary-accent);
    box-shadow: 0 0 20px rgba(177, 0, 232, 0.3);
}
.benefit-card-tech h3 { font-size: 1.5rem; color: #fff; margin-bottom: 15px; position: relative; z-index: 1; }
.benefit-card-tech p { color: #aaa; font-size: 1rem; line-height: 1.6; position: relative; z-index: 1; margin-bottom: 0; }

/* --- 5. CTA HOLOGRÁFICA (Corrección de Botones) --- */
.tech-cta-section { padding: 60px 20px 100px; display: flex; justify-content: center; position: relative; z-index: 5; }
.tech-cta-card {
    width: 100%; max-width: 1000px; background: rgba(15, 15, 15, 0.8);
    border-radius: 30px; padding: 60px; position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center;
    justify-content: space-between; gap: 40px; backdrop-filter: blur(20px);
}
.tech-cta-card::before {
    content: ''; position: absolute; inset: 0; border-radius: 30px; padding: 1px;
    background: linear-gradient(90deg, #b100e8, #f20089, #06b6d4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.6; pointer-events: none;
}
.tech-cta-content h2 { font-size: 2.5rem; color: #fff; margin-bottom: 15px; line-height: 1.1; }
.tech-cta-content p { color: #aaa; font-size: 1.1rem; max-width: 450px; }
/* Fix botones */
.tech-cta-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

@media (max-width: 768px) {
    .tech-cta-card { flex-direction: column; text-align: center; padding: 40px 20px; }
    .tech-cta-buttons { width: 100%; justify-content: center; }
    .btn-neon, .btn-outline { width: 100%; justify-content: center; }
}

/* --- 6. PRICING & PORTFOLIO EXTRAS --- */
.pricing-header { text-align: center; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px; }
.plan-name { font-family: var(--font-heading); font-size: 1.5rem; color: #fff; margin-bottom: 5px; }
.plan-price { display: flex; justify-content: center; align-items: baseline; gap: 5px; margin: 15px 0; }
.currency { font-size: 1.2rem; color: var(--color-primary-accent); }
.amount { font-size: 3rem; font-weight: 700; color: #fff; line-height: 1; }
.period { color: #888; font-size: 0.9rem; }
.pricing-features { list-style: none; padding: 0; margin-bottom: 30px; }
.pricing-features li { display: flex; gap: 10px; margin-bottom: 12px; color: #ccc; font-size: 0.95rem; }
.pricing-features li i { color: var(--color-success-global); margin-top: 4px; }
.pricing-features li.highlight { color: #fff; font-weight: 600; }

/* Portfolio Fix */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.portfolio-card {
    background: rgba(20, 20, 20, 0.6); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px;
    overflow: hidden; display: flex; flex-direction: column; transition: 0.4s;
}
.portfolio-card:hover {
    transform: translateY(-8px); border-color: rgba(177, 0, 232, 0.5);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}
.portfolio-img-wrapper {
    height: 220px; background: radial-gradient(circle, rgba(255,255,255,0.03), rgba(0,0,0,0.3));
    display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.portfolio-img-wrapper i { font-size: 4rem; color: rgba(255,255,255,0.8); transition: 0.4s; }
.portfolio-card:hover .portfolio-img-wrapper i { color: #fff; transform: scale(1.1) rotate(-5deg); filter: drop-shadow(0 0 15px var(--color-primary-accent)); }
.portfolio-content { padding: 30px; flex-grow: 1; }
.portfolio-cat { font-size: 0.75rem; color: var(--color-secondary-accent); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 10px; }
.portfolio-content h3 { font-size: 1.5rem; color: #fff; margin-bottom: 12px; }
.portfolio-content p { color: #aaa; font-size: 1rem; }

/* Custom Section */
.custom-section { background: rgba(255,255,255,0.02); border: 1px dashed #333; border-radius: 20px; padding: 40px; text-align: center; margin-top: 60px; }
.custom-tags { display: flex; justify-content: center; gap: 15px; margin: 20px 0 30px; flex-wrap: wrap; }
.custom-tag { background: #000; border: 1px solid #333; padding: 8px 16px; border-radius: 30px; font-size: 0.9rem; color: #aaa; display: flex; align-items: center; gap: 8px; }


/* --- BOTONES GLOBALES (Fix de Aplastamiento) --- */
.btn-neon, .btn-outline {
    white-space: nowrap; /* Evita que el texto se parta en dos líneas */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
}

.btn-neon {
    background: linear-gradient(135deg, var(--color-primary-accent), var(--color-secondary-accent));
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(177, 0, 232, 0.4);
}
.btn-neon:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(177, 0, 232, 0.6); color: white; }

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* --- TARJETA CTA HOLOGRÁFICA (Layout Flexible) --- */
.tech-cta-section {
    padding: 80px 20px 120px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.tech-cta-card {
    width: 100%;
    max-width: 1000px;
    background: rgba(15, 15, 15, 0.8);
    border-radius: 30px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Espacio entre texto y botones */
    backdrop-filter: blur(20px);
    flex-wrap: wrap; /* PERMITE QUE LOS BOTONES BAJEN SI NO HAY ESPACIO */
}

/* Decoración Borde Neón */
.tech-cta-card::before {
    content: ''; position: absolute; inset: 0; border-radius: 30px; padding: 1px;
    background: linear-gradient(90deg, #b100e8, #f20089, #06b6d4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.6; pointer-events: none;
}

.tech-cta-content {
    flex: 1 1 400px; /* El texto toma espacio pero permite encogerse */
}
.tech-cta-content h2 { font-size: 2.5rem; color: #fff; margin-bottom: 15px; line-height: 1.1; }
.tech-cta-content p { color: #aaa; font-size: 1.1rem; max-width: 450px; }

.tech-cta-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0; /* Evita que los botones se aplasten */
}

/* Responsive CTA */
@media (max-width: 850px) {
    .tech-cta-card { text-align: center; justify-content: center; gap: 30px; }
    .tech-cta-content { flex: 1 1 100%; max-width: 100%; }
    .tech-cta-content p { margin: 0 auto; }
    .tech-cta-buttons { justify-content: center; width: 100%; }
    .btn-neon, .btn-outline { width: 100%; max-width: 300px; }
}

/* --- BENEFICIOS TECH (Tarjetas 01, 02, 03) --- */
.benefits-grid-tech {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.benefit-card-tech {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.benefit-card-tech:hover {
    transform: translateY(-10px);
    background: rgba(25, 25, 25, 0.8);
    border-color: var(--color-primary-accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.benefit-step {
    position: absolute; top: -10px; right: 20px;
    font-size: 5rem; font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-heading); transition: 0.4s;
}
.benefit-card-tech:hover .benefit-step { color: rgba(177, 0, 232, 0.1); transform: scale(1.2); }

.benefit-icon-tech {
    font-size: 2.5rem; color: #fff; margin-bottom: 25px; position: relative; z-index: 1;
    display: inline-block; padding: 15px; background: rgba(255,255,255,0.03);
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); transition: 0.4s;
}
.benefit-card-tech:hover .benefit-icon-tech {
    color: var(--color-primary-accent); border-color: var(--color-primary-accent);
    box-shadow: 0 0 20px rgba(177, 0, 232, 0.3);
}

.benefit-card-tech h3 { font-size: 1.5rem; color: #fff; margin-bottom: 15px; position: relative; z-index: 1; }
.benefit-card-tech p { color: #aaa; font-size: 1rem; line-height: 1.6; position: relative; z-index: 1; margin: 0; }

/* =========================================
   FIX: TARJETAS CON BADGES (EVITAR CORTE)
   ========================================= */

/* Permite que el badge "IA EXCLUSIVA" se salga de la tarjeta */
.glass-card.has-badge,
.glass-card-featured {
    overflow: visible !important; /* CRÍTICO: Esto evita el corte */
    z-index: 10; /* Asegura que quede por encima de otras al hacer hover */
}

/* Estilo del Badge (Por si acaso falta) */
.floating-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(90deg, #b100e8, #f20089);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(177, 0, 232, 0.4);
    z-index: 20;
    letter-spacing: 1px;
}

/* =========================================
   MEJORAS DE VENTA PARA GRID DE SERVICIOS
   ========================================= */

/* Listas de características dentro de las cards */
.glass-features {
    margin: 20px 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.glass-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 8px;
}

.glass-features li i {
    color: var(--color-success-global); /* Color verde check */
    font-size: 0.8rem;
}

/* Etiqueta de Precio */
.glass-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.glass-price span {
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
}

/* Botón Sólido "Full Width" para las cards */
.btn-full {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* --- NUEVA SECCIÓN: MARQUEE (CINTA MOVIÉNDOSE) --- */
.marquee-strip {
    background: #b100e8;
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    transform: rotate(-1deg) scale(1.05); /* Un toque "rebelde" */
    margin: 60px 0;
    box-shadow: 0 10px 30px rgba(177,0,232,0.3);
    z-index: 2;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 40px;
    letter-spacing: 2px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- NUEVA SECCIÓN: CARTA MENÚ (ESTÉTICA RESTAURANTE) --- */
.menu-section {
    padding: 40px 0 100px;
    background: url('https://www.transparenttextures.com/patterns/black-paper.png'), #080808; /* Textura sutil */
    position: relative;
}

.menu-header { text-align: center; margin-bottom: 50px; }
.chef-signature {
    font-family: 'Inter', sans-serif;
    color: #ff8c00;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    display: block; margin-bottom: 10px;
}
.menu-title { font-size: 3.5rem; margin-bottom: 10px; font-family: 'Inter', sans-serif; }

/* LAYOUT TIPO LIBRO / CARTA */
.restaurant-menu-layout {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    background: #111;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.menu-page {
    flex: 1;
    min-width: 320px;
    padding: 50px 40px;
    position: relative;
}

.left-page { border-right: 1px dashed rgba(255,255,255,0.1); }
.right-page { background: rgba(255,255,255,0.02); }

.menu-category {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.cat-desc { font-size: 0.8rem; color: #666; font-weight: 400; font-family: 'Inter', sans-serif; }

/* ITEMS DEL MENÚ */
.menu-item {
    margin-bottom: 35px;
    cursor: pointer;
    transition: transform 0.3s;
}
.menu-item:hover { transform: translateX(5px); }
.menu-item:hover .item-name { color: #b100e8; }

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px;
}
.item-name { font-weight: 700; font-size: 1.1rem; transition: color 0.3s; }
.dots {
    flex: 1;
    border-bottom: 1px dotted #555;
    margin: 0 10px 5px;
    opacity: 0.5;
}
.item-price { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: #fff; font-size: 1.1rem; }
.item-desc { color: #888; font-size: 0.9rem; line-height: 1.5; margin: 0; }

/* CAJA DESTACADA EN MENU IZQUIERDO */
.menu-highlight-box {
    background: rgba(177, 0, 232, 0.1);
    border: 1px solid rgba(177, 0, 232, 0.3);
    padding: 20px;
    border-radius: 12px;
    margin-top: 40px;
}
.menu-highlight-box h4 { margin-bottom: 5px; color: #b100e8; }
.menu-highlight-box p { font-size: 0.85rem; color: #ccc; margin-bottom: 10px; }
.highlight-price { font-family: 'JetBrains Mono', monospace; font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.link-arrow { color: #fff; font-size: 0.85rem; text-decoration: none; font-weight: 600; }

/* ITEMS DESTACADOS (PACKS) */
.featured-item {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 12px;
    position: relative;
    border: 1px solid transparent;
}
.featured-item:hover { background: rgba(255,255,255,0.06); }

.premium-border { border: 1px solid rgba(177, 0, 232, 0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

.badge-chef {
    position: absolute; top: -10px; right: 20px;
    background: #ff8c00; color: #000;
    font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
    padding: 4px 10px; border-radius: 4px;
}

.micro-list { margin-top: 15px; list-style: none; padding: 0; }
.micro-list li { font-size: 0.85rem; color: #ccc; margin-bottom: 6px; }
.micro-list i { color: #b100e8; margin-right: 8px; }

.btn-order {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: #b100e8;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.btn-order:hover { background: #d946ef; }

.menu-footer-note {
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    margin-top: 30px;
    font-style: italic;
}

/* RESPONSIVE MENU */
@media (max-width: 768px) {
    .left-page { border-right: none; border-bottom: 1px dashed #333; }
    .restaurant-menu-layout { border-radius: 0; width: 100%; margin: 0; border: none; background: transparent; }
    .menu-page { padding: 30px 20px; background: transparent !important; }
}

/* --- ARREGLO MENSAJES FORMULARIO --- */
.iso-msg {
    display: none; /* Ocultos por defecto */
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.iso-msg.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.iso-msg.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =================================================================
   🚨 FIX FINAL MAESTRO: MOBILE, FOOTER & SCROLL (PSBL) 🚨
   ================================================================= */

/* 1. BLOQUEAR DESBORDAMIENTO HORIZONTAL (Global) */
html, body {
    width: 100%;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
}

/* 2. ARREGLO DEL FOOTER (Centrado y Vertical) */
@media (max-width: 900px) {
    .footer {
        padding: 40px 0 20px 0 !important; /* Reducir padding excesivo */
    }

    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 40px !important;
        text-align: center !important;
        margin-bottom: 30px !important;
        width: 100% !important;
    }

    .footer-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Romper textos largos (emails/links) para que no ensanchen la pantalla */
    .footer-contact-info a, 
    .footer-links a {
        word-break: break-word; /* Evita que el email empuje el ancho */
        overflow-wrap: break-word;
    }

    /* Centrar elementos específicos */
    .footer-brand, 
    .footer-contact-info p,
    .social-links,
    .icon-links a,
    .trust-badges {
        justify-content: center !important;
        text-align: center !important;
    }

    /* Línea decorativa del título centrada */
    .footer-heading::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* 3. ARREGLO DE CONTENEDORES (Evitar que se salgan) */
@media (max-width: 768px) {
    .container, .iso-container {
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* Hero y Textos Gigantes */
    #hero, #hero-canvas {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }
    
    h1, h2, .hero-title {
        word-wrap: break-word !important;
        hyphens: auto;
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important; /* Reducir tamaño en mobile extremo */
    }
}

/* 4. MARQUEE & TARJETAS (Control de Ancho) */
.marquee-container {
    width: 100vw !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

@media (max-width: 600px) {
    /* Forzar tarjetas al ancho del dispositivo sin margins raros */
    .glass-card, 
    .service-card, 
    .iso-form-wrapper,
    .benefit-card-tech,
    .portfolio-card,
    .tech-cta-card {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }
    
    /* Botones CTA en mobile: uno encima del otro */
    .hero-ctas, .tech-cta-buttons, .card-actions {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .hero-cta-primary, .hero-cta-secondary, .btn-neon, .btn-outline {
        width: 100% !important;
        justify-content: center;
        box-sizing: border-box !important;
    }
}