/* Hoja de estilos de la Landing Page Premium de KuraGuardian (Estilo NinjaOne) */

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

:root {
    /* Paleta de colores */
    --bg-light: #ffffff;
    --bg-light-alt: #f8fafc;
    --bg-dark: #0b0f19;
    --bg-dark-alt: #0e1320;
    
    --primary: #4361ee;
    --primary-hover: #3451db;
    --primary-light: #eef2ff;
    --accent: #00b4d8;
    
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #f8fafc;
    --text-light-muted: #cbd5e1;
    
    --border-color: #e2e8f0;
    --border-color-dark: #1e293b;
    --success: #10b981;
    --error: #ef4444;
    
    /* Fuentes */
    --font-title: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

[id] {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

/* Efecto de resalte visual al navegar a un ancla */
:target {
    animation: targetPulse 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes targetPulse {
    0% { outline: 3px solid transparent; }
    30% { outline: 3px solid var(--primary); box-shadow: 0 0 25px rgba(67, 97, 238, 0.35); }
    100% { outline: 3px solid transparent; }
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Contenedor estándar */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    width: 100%;
}

.section {
    padding: 8rem 0;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light-muted);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--text-light);
}

/* Cabeceras de Sección */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-header .badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
}

.section-dark .section-header .badge {
    background-color: rgba(0, 82, 204, 0.2);
    color: #3b82f6;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.section-dark .section-header p {
    color: var(--text-light-muted);
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    box-sizing: border-box;
    line-height: 1.25;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(67, 97, 238, 0.35);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.45);
}

.btn-secondary {
    background-color: #ffffff;
    color: #1e293b;
    border-color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.btn-outline {
    background-color: #ffffff;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(67, 97, 238, 0.08);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(67, 97, 238, 0.35);
}

/* Botones en fondos oscuros (page-hero, section-dark, contact-section) */
.page-hero .btn-secondary,
.section-dark .btn-secondary,
.contact-section .btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
}

.page-hero .btn-secondary:hover,
.section-dark .btn-secondary:hover,
.contact-section .btn-secondary:hover {
    background-color: #ffffff;
    color: #0b0f19 !important;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-hero .btn-outline,
.section-dark .btn-outline {
    background-color: transparent;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.page-hero .btn-outline:hover,
.section-dark .btn-outline:hover {
    background-color: #ffffff;
    color: #0b0f19 !important;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* 2. Header & Navbar */
.header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo img {
    height: 42px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-title);
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-link.active::after {
    width: 100%;
}

/* Acciones Navbar (Idioma + CTA) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Selector de idioma minimalista */
.lang-selector {
    position: relative;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
}

.lang-selector:hover {
    border-color: var(--text-muted);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    margin-top: 0.5rem;
    list-style: none;
    display: none;
    width: 100px;
    z-index: 1010;
}

.lang-dropdown li a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-dark);
}

.lang-dropdown li a:hover {
    background-color: var(--bg-light-alt);
    color: var(--primary);
}

.lang-selector.active .lang-dropdown {
    display: block;
}

/* 3. Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 8rem;
    background: radial-gradient(circle at 80% 20%, #f0f6ff 0%, #ffffff 70%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content .badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    font-family: var(--font-title);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Mockup visual */
.hero-visual {
    position: relative;
    width: 100%;
}


.mockup-container {
    background-color: var(--bg-dark-alt);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(11, 15, 25, 0.25);
    border: 1px solid var(--border-color-dark);
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    display: block;
    width: 100%;
    cursor: pointer;
}

.mockup-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mockup-container:hover img {
    transform: scale(1.04);
}

/* 4. Capabilities Bar Section (Reemplaza Social Proof) */
.capabilities-bar {
    padding: 5rem 0;
    background-color: var(--bg-dark-alt);
    border-top: 1px solid var(--border-color-dark);
    border-bottom: 1px solid var(--border-color-dark);
    text-align: center;
}

.capabilities-bar > .container > p {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light-muted);
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.capability-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: left;
    transition: var(--transition);
    cursor: pointer;
}

.capability-card:hover {
    background: rgba(0, 82, 204, 0.06);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.capability-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 82, 204, 0.15);
    color: #3b82f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.capability-card:hover .capability-icon {
    background: var(--primary);
    color: #ffffff;
}

.capability-text {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-light-muted);
    line-height: 1.3;
    transition: var(--transition);
}

.capability-card:hover .capability-text {
    color: #ffffff;
}

.social-logo i {
    font-size: 1.8rem;
}

/* 5. Pilares (Características Rápidas) */
.pilares {
    background-color: var(--bg-light-alt);
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pilar-card {
    background-color: var(--bg-light);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pilar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 82, 204, 0.3);
}

.pilar-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.pilar-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.pilar-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 6. Doble Sección Alternada (Beneficios y Visuales) */
.benefit-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 8rem;
}

.benefit-row:last-child {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .benefit-row {
        grid-template-columns: 1fr 1fr;
    }
    .benefit-row.reverse {
        direction: rtl; /* Invierte columnas */
    }
    .benefit-row.reverse .benefit-info {
        direction: ltr; /* Restablece dirección de lectura */
    }
}

.benefit-info .badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    font-family: var(--font-title);
}

.section-dark .benefit-info .badge {
    background-color: rgba(0, 82, 204, 0.2);
    color: #3b82f6;
}

.benefit-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.benefit-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1rem;
}

.benefit-list li i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.section-dark .benefit-list li i {
    color: #3b82f6;
}

/* Rejilla de mockups en zig-zag */
.benefit-visual .mockup-container {
    aspect-ratio: 16/10;
}

/* 7. Formulario de Captación de Leads */
.contact-section {
    background: radial-gradient(circle at 80% 80%, #002266 0%, #0b0f19 70%);
    color: var(--text-light-muted);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

.contact-info h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-light);
}

.contact-info p {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    color: var(--text-light-muted);
}

.contact-bullets {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bullet-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(0, 82, 204, 0.2);
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bullet-item span {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-light);
}

/* Tarjeta del Formulario */
.form-card {
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input, .form-group select, .form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

/* Mensajes de error */
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea {
    border-color: var(--error);
}

.error-message {
    color: var(--error);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.2rem;
    display: none;
}

.form-group.has-error .error-message {
    display: block;
}

.form-card button[type="submit"] {
    margin-top: 1rem;
    width: 100%;
}

/* Feedback de procesamiento */
.form-feedback {
    display: none;
    padding: 1.2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.form-feedback.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-feedback.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Animación de carga en envío */
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn.submitting .btn-text {
    display: none;
}

.btn.submitting .btn-loader {
    display: inline-block;
}

.btn.submitting {
    pointer-events: none;
    opacity: 0.8;
}

/* 8. Footer Section */
.footer {
    background-color: var(--bg-dark-alt);
    color: var(--text-light-muted);
    padding: 6rem 0 3rem 0;
    border-top: 1px solid var(--border-color-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand img {
    height: 42px;
    align-self: flex-start;
}

.footer-brand p {
    font-size: 0.95rem;
    max-width: 480px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links ul li a {
    font-size: 0.95rem;
    color: var(--text-light-muted);
}

.footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    font-size: 0.85rem;
}

/* 9. Mobile Responsive Menu */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background-color: var(--bg-light-alt);
}

/* Selector de idioma móvil (Pill control) */
.lang-selector-mobile {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid var(--border-color, #cbd5e1);
    border-radius: 9999px;
    padding: 3px;
    gap: 2px;
}

.lang-selector-mobile a {
    padding: 0.45rem 1rem;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted, #475569);
    border-radius: 9999px;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.lang-selector-mobile a.active {
    background-color: var(--primary, #4361ee);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(67, 97, 238, 0.35);
}

@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-light);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 1.5rem 3.5rem;
        gap: 1.25rem;
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        width: 100%;
        font-size: 1.15rem;
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }

    .nav-link:hover, .nav-link.active {
        background-color: rgba(67, 97, 238, 0.08);
    }

    .nav-link::after {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-actions-mobile-item {
        width: 100%;
        margin-top: 0.75rem;
        padding-top: 1.25rem;
        border-top: 1px solid var(--border-color);
        list-style: none;
    }

    .nav-menu .nav-actions-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        width: 100%;
        padding: 0;
    }

    .nav-menu .nav-actions-mobile .btn {
        width: 100%;
        max-width: 320px;
    }
}

@media (min-width: 992px) {
    .nav-actions-mobile-item,
    .nav-menu .nav-actions-mobile {
        display: none !important;
    }
}

/* Visor de imágenes modal (Lightbox) */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    display: flex;
    opacity: 1;
}

.modal-img-container {
    max-width: 85%;
    max-height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.modal-content {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}

.modal-caption {
    margin-top: 1.5rem;
    color: var(--text-light-muted);
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
    max-width: 80%;
}

.zoomable-image {
    cursor: zoom-in;
}

/* --- Estilos para Checkbox Legal --- */
.form-checkbox-group {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.85rem;
    color: var(--text-dark, #1e293b);
}

.checkbox-container input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-text a {
    color: var(--primary, #0052cc);
    text-decoration: underline;
    transition: var(--transition);
}

.checkbox-text a:hover {
    color: var(--primary-dark, #003d99);
}

/* --- Banner de Cookies Flotante (Glassmorphism) --- */
.cookies-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 100px);
    width: calc(100% - 3rem);
    max-width: 720px;
    background: rgba(14, 19, 32, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    z-index: 10000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.cookies-banner.show {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

.cookies-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .cookies-banner-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 1rem;
    }
}

.cookies-banner-content p {
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.cookies-banner-content p a {
    color: var(--primary-light, #3b82f6);
    text-decoration: underline;
    font-weight: 500;
}

.cookies-banner-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .cookies-banner-buttons {
        justify-content: center;
    }
}

.cookies-btn {
    padding: 0.55rem 1.2rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookies-btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
}

.cookies-btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.cookies-btn-secondary {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookies-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- Layout Páginas Legales --- */
.legal-body {
    background-color: #f8fafc; /* Fondo claro por defecto para coherencia de lectura legal */
    color: #334155;
}

.legal-section-page {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 80vh;
}

.legal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 3.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 2rem 1.5rem;
    }
}

.legal-card h1 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: #0b0f19;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.25rem;
}

.legal-card h2 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: #0b0f19;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-card p {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    color: #475569;
}

.legal-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    list-style-type: disc;
    color: #475569;
}

.legal-card ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-card a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-card a:hover {
    color: var(--primary-light);
}

/* --- Estilos para la interfaz del Captcha Gráfico --- */
.captcha-ui-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.captcha-ui-container input[type="text"] {
    flex: 1;
    min-width: 0;
}

.captcha-img-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.captcha-img-wrapper img {
    height: 42px;
    width: 130px;
    border-radius: 6px;
    border: 1px solid var(--border-color, #e2e8f0);
    background: #ffffff;
    object-fit: contain;
}

.btn-refresh-captcha {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    border: 1px solid var(--border-color, #e2e8f0);
    background: #ffffff;
    color: var(--text-dark, #1e293b);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
    padding: 0;
}

.btn-refresh-captcha:hover {
    background: #f8fafc;
    color: var(--primary, #0052cc);
    border-color: var(--primary, #0052cc);
}

/* =============================================================================
   NUEVAS SECCIONES: FOOTER COMPLETO, PRECIOS, COMPAÑÍA, CONTACTO Y KURAGUARD
   ============================================================================= */

/* --- 1. Footer Enriquecido (Multi-columna) --- */
.footer-grid-comprehensive {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-brand {
    padding-right: 1.5rem;
}

.footer-logo img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1.25rem;
}

.footer-mission-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.footer-corp-attribution {
    margin-top: 1.25rem;
}

.vilatec-corp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.vilatec-corp-link:hover {
    background: rgba(67, 97, 238, 0.15);
    border-color: var(--primary, #4361ee);
    color: #ffffff;
    transform: translateY(-2px);
}

.vilatec-footer-logo {
    height: 20px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-heading {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-list li a {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-nav-list li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-badge-gdpr {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(46, 196, 182, 0.12);
    color: #2ec4b6;
    border: 1px solid rgba(46, 196, 182, 0.25);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-soc {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
}

/* --- 2. Encabezados de Página Interna (Internal Page Hero) --- */
.page-hero {
    background: linear-gradient(180deg, #0b0f19 0%, #111827 100%);
    padding: 7rem 0 4rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.12) 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.page-hero-content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(67, 97, 238, 0.15);
    border: 1px solid rgba(67, 97, 238, 0.3);
    color: #7086fd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.page-hero h1 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.page-hero p {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* --- 3. Conmutador de Narrativa Dual (/kuraguard) --- */
.persona-switcher {
    display: flex;
    justify-content: center;
    margin: 1.5rem auto 2.5rem;
    background: #ffffff;
    padding: 0.4rem;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    max-width: 580px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.persona-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.25rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.persona-btn:hover {
    color: var(--primary, #4361ee);
}

.persona-btn i {
    font-size: 1.2rem;
}

.persona-btn.active {
    background: var(--primary, #4361ee);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

.persona-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.persona-panel.active {
    display: block;
}

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

.persona-hero-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 3.5rem;
}

.persona-headline {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 700;
    color: #0b0f19;
    margin-bottom: 1rem;
}

.persona-intro {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.persona-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.persona-feat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    transition: var(--transition);
}

.persona-feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.persona-feat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary, #4361ee);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.persona-feat-card:hover .persona-feat-icon {
    transform: scale(1.1) rotate(5deg);
}

.persona-feat-card h4 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b0f19;
    margin-bottom: 0.75rem;
}

.persona-feat-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* Arquitectura 3 Capas */
.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.arch-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.arch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.arch-step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 900;
    color: #e2e8f0;
    line-height: 1;
}

.arch-card h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0b0f19;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.arch-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
}

/* --- 4. Precios y Tarifas (/precios) --- */
.billing-switcher-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 2.5rem auto 3.5rem;
}

.billing-opt-label {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}

.billing-opt-label.active {
    color: #0b0f19;
    font-weight: 700;
}

/* Switch Toggle */
.pricing-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 34px;
}

.pricing-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .pricing-slider {
    background-color: var(--primary, #4361ee);
}

input:checked + .pricing-slider:before {
    transform: translateX(28px);
}

.annual-discount-pill {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    animation: pulse-soft 2s infinite ease-in-out;
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* Banner de inclusión total de funcionalidades */
.all-features-included-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.06) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(67, 97, 238, 0.2);
    color: #1e293b;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    max-width: 960px;
    margin: 0 auto 3rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.all-features-included-pill i {
    font-size: 1.4rem;
    color: #10b981;
    flex-shrink: 0;
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1140px;
    margin: 0 auto 3.5rem;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border: 2px solid var(--primary, #4361ee);
    box-shadow: 0 15px 35px rgba(67, 97, 238, 0.15);
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-6px);
}

.pricing-featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary, #4361ee);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 9999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-tier-name {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: #0b0f19;
    margin-bottom: 0.5rem;
}

.pricing-tier-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    min-height: 48px;
}

.pricing-price-wrap {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-amount {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 900;
    color: #0b0f19;
    line-height: 1;
}

.pricing-currency {
    font-size: 1.75rem;
    font-weight: 700;
    vertical-align: top;
    margin-right: 2px;
}

.pricing-period {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.4rem;
}

.pricing-sub-billed {
    font-size: 0.78rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 0.25rem;
    min-height: 18px;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
}

.pricing-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.45;
}

.pricing-features-list li i {
    color: #10b981;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-cta-btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 0.95rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
}

/* Bloque Excepcional Custom (+500 Agentes) */
.pricing-custom-strip {
    background: linear-gradient(135deg, #0b0f19 0%, #172554 50%, #0b0f19 100%);
    border: 1px solid rgba(67, 97, 238, 0.4);
    border-radius: 20px;
    padding: 3rem 3.5rem;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3.5rem;
    align-items: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    margin: 0 auto 5rem;
    max-width: 1140px;
}

.pricing-custom-strip::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(67, 97, 238, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-custom-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(67, 97, 238, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(147, 197, 253, 0.35);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.pricing-custom-strip-title {
    font-family: var(--font-title);
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.pricing-custom-strip-desc {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 680px;
    margin-bottom: 2rem;
}

.pricing-custom-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2.5rem;
}

.custom-feat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.custom-feat-item i {
    color: #2ec4b6;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.pricing-custom-strip-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.75rem 2.5rem;
    border-radius: 16px;
    min-width: 290px;
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.custom-price-badge {
    margin-bottom: 1.75rem;
}

.custom-price-main {
    display: block;
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}

.custom-price-sub {
    display: block;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.pricing-custom-cta-btn {
    width: 100%;
    padding: 1.05rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: var(--primary);
    color: #ffffff !important;
    border: 2px solid var(--primary);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.45);
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.pricing-custom-cta-btn:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(67, 97, 238, 0.6);
}

/* Tabla comparativa */
.pricing-matrix-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow-x: auto;
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.matrix-table th {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b0f19;
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
}

.matrix-table th:first-child {
    text-align: left;
    width: 40%;
}

.matrix-table td {
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

.matrix-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #1e293b;
}

.matrix-table tr:hover td {
    background-color: #f8fafc;
}

.matrix-check {
    color: #10b981;
    font-size: 1.3rem;
}

.matrix-cross {
    color: #cbd5e1;
    font-size: 1.3rem;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.faq-item h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b0f19;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item h4 i {
    color: var(--primary, #4361ee);
    font-size: 1.25rem;
}

.faq-item p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* --- 5. Página de Compañía (/compania) --- */
.company-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 5rem;
}

.company-lead-text {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.company-photo-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.company-photo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.company-photo-wrap:hover img {
    transform: scale(1.03);
}

.company-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 25, 0.85) 100%);
    padding: 2rem 1.5rem 1rem;
    color: #ffffff;
    font-size: 0.85rem;
}

/* Línea de Tiempo de Hitos */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 3.5rem auto 5rem;
    padding: 1rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-row:last-child {
    margin-bottom: 0;
}

.timeline-block {
    width: 45%;
}

.timeline-row:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-node {
    position: absolute;
    left: 50%;
    top: 1.25rem;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary, #4361ee);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.3);
    z-index: 2;
}

.timeline-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.timeline-year-tag {
    display: inline-block;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary, #4361ee);
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.6rem;
}

.timeline-card h4 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b0f19;
    margin-bottom: 0.5rem;
}

.timeline-card p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
}

/* Tarjeta Corporativa VilaTec */
.vilatec-heritage-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 3.5rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin-top: 4rem;
}

.vilatec-heritage-info {
    max-width: 620px;
}

.vilatec-heritage-info h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.vilatec-heritage-info p {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.vilatec-heritage-btn {
    background: #ffffff;
    color: #0f172a;
    font-family: var(--font-title);
    font-weight: 700;
    padding: 0.9rem 1.75rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.vilatec-heritage-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.vilatec-heritage-logo-col img {
    max-width: 220px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* --- 6. Testimonios estilo Atera (/contacto) --- */
.testimonials-section {
    padding: 5rem 0 3rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card-atera {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
}

.testimonial-card-atera:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
}

.testimonial-quote-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.testimonial-avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary, #4361ee);
    flex-shrink: 0;
}

.testimonial-author-name {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b0f19;
    margin-bottom: 0.2rem;
}

.testimonial-author-title {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.4;
}

.testimonial-company-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary, #4361ee);
    margin-top: 0.2rem;
}

/* Selector de Perfil en Formulario */
.profile-selector-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.profile-radio-btn {
    position: relative;
}

.profile-radio-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.profile-radio-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-title);
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: var(--transition);
}

.profile-radio-btn input[type="radio"]:checked + .profile-radio-label {
    background: rgba(67, 97, 238, 0.08);
    border-color: var(--primary, #4361ee);
    color: var(--primary, #4361ee);
}

/* Pista visual de scroll horizontal en móvil para tablas */
.matrix-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-title);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary, #4361ee);
    background: rgba(67, 97, 238, 0.08);
    border: 1px dashed rgba(67, 97, 238, 0.35);
    border-radius: 8px;
    padding: 0.65rem 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.matrix-scroll-hint i {
    font-size: 1.2rem;
    animation: scrollHintPulse 2s infinite ease-in-out;
}

@keyframes scrollHintPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* --- Media Queries Responsive Globales y Específicas --- */
@media (max-width: 1100px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }
    .pricing-custom-strip {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
    .pricing-custom-strip-right {
        width: 100%;
        min-width: auto;
    }
    .footer-grid-comprehensive {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (max-width: 868px) {
    .matrix-scroll-hint {
        display: flex;
    }
    .matrix-table {
        min-width: 620px;
    }
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-custom-features-grid {
        grid-template-columns: 1fr;
    }
    .pricing-custom-strip {
        padding: 2rem 1.5rem;
    }
    .persona-features-grid,
    .arch-grid,
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .company-intro-grid {
        grid-template-columns: 1fr;
    }
    .timeline-container::before {
        left: 20px;
    }
    .timeline-row {
        flex-direction: column !important;
        padding-left: 45px;
    }
    .timeline-block {
        width: 100%;
    }
    .timeline-node {
        left: 20px;
        top: 0;
    }
    .vilatec-heritage-box {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }
    .footer-grid-comprehensive {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    .section {
        padding: 4rem 0;
    }
    .section-header {
        margin-bottom: 2.75rem;
    }
    .section-header h2 {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }
    .section-header p {
        font-size: 1.05rem;
    }
    .hero {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 4rem;
    }
    .hero-content h1 {
        font-size: clamp(2rem, 6.5vw, 3rem);
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    .capabilities-bar {
        padding: 3rem 0;
    }
    .pilar-card {
        padding: 2rem 1.5rem;
    }
    .benefit-row {
        gap: 2.5rem;
        margin-bottom: 4rem;
    }
    .page-hero {
        padding: calc(var(--header-height) + 2rem) 0 2.5rem;
    }
    .page-hero h1 {
        font-size: clamp(1.75rem, 5.5vw, 2.25rem);
        margin-bottom: 1rem;
    }
    .page-hero p {
        font-size: 1.05rem;
    }
    .billing-switcher-container {
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
        margin: 1.5rem auto 2.5rem;
    }
    .pricing-matrix-box {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    .persona-hero-card {
        padding: 1.75rem 1.25rem;
        margin-bottom: 2rem;
        border-radius: 12px;
    }
    .persona-headline {
        font-size: 1.35rem;
    }
    .persona-intro {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }
    .persona-feat-card {
        padding: 1.25rem;
    }
    .form-card {
        padding: 2rem 1.5rem;
    }
    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid-comprehensive {
        grid-template-columns: 1fr;
    }
    .footer-col-brand {
        grid-column: span 1;
    }
    .profile-selector-wrap {
        grid-template-columns: 1fr;
    }
    .persona-switcher {
        flex-direction: column;
        border-radius: 12px;
    }
    .persona-btn {
        border-radius: 8px;
    }
    .timeline-container::before {
        left: 14px;
    }
    .timeline-node {
        left: 14px;
        width: 14px;
        height: 14px;
        box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.3);
    }
    .timeline-row {
        padding-left: 36px;
        margin-bottom: 2.5rem;
    }
    .timeline-card {
        padding: 1.25rem 1rem;
    }
    .timeline-card h4 {
        font-size: 1.05rem;
    }
    .vilatec-heritage-box {
        padding: 2rem 1.25rem;
        margin-top: 2.5rem;
    }
    .vilatec-heritage-info h3 {
        font-size: 1.45rem;
    }
    .vilatec-heritage-btn {
        width: 100%;
        justify-content: center;
    }
    .contact-info h2 {
        font-size: 2.2rem;
    }
    .contact-bullets {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .section {
        padding: 2.75rem 0;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-header h2 {
        font-size: 1.65rem;
    }
    .hero-content h1 {
        font-size: 1.85rem;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
    .page-hero h1 {
        font-size: 1.65rem;
    }
    .form-card {
        padding: 1.5rem 1.15rem;
        border-radius: 10px;
    }
    .contact-grid {
        gap: 2rem;
    }
    .contact-info h2 {
        font-size: 1.85rem;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        align-items: center;
    }
    .footer-legal-soc {
        justify-content: center;
    }
    .pricing-card {
        padding: 2rem 1.25rem;
    }
    .pricing-custom-strip {
        padding: 1.75rem 1rem;
    }
    .pricing-custom-price .price-big {
        font-size: 2.2rem;
    }
    .captcha-ui-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .captcha-img-wrapper {
        justify-content: space-between;
    }
    .captcha-img-wrapper img {
        flex-grow: 1;
        width: auto;
    }
    .modal-img-container {
        max-width: 95%;
        max-height: 85%;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    .hero-content h1,
    .page-hero h1 {
        font-size: 1.55rem;
    }
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.92rem;
    }
    .annual-discount-pill {
        font-size: 0.72rem;
        padding: 0.25rem 0.5rem;
    }
    .pricing-amount .price-val {
        font-size: 2.5rem;
    }
}

