/* ===================================
   LN Solve - Styles
   Corporate Light + Warm Professional
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --primary-50: #eff6ff;
    --secondary: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --text-dark: #0f172a;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #10b981;
    --warning: #f59e0b;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 50px -12px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-nav {
    padding: 10px 22px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* --- Section Common --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-header p {
    margin-top: 16px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-img {
    height: 120px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    margin: -20px 0;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

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

.nav-links a.nav-active {
    color: var(--primary);
    position: relative;
}

.nav-links a.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   HERO
   =================================== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--bg) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-top: 20px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

/* Hero Visual - Animated SVG */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-animation {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.hero-svg {
    width: 100%;
    height: auto;
}

/* Connection lines - animated dashes */
.conn-line {
    stroke-dasharray: 8 4;
    animation: dashFlow 2s linear infinite;
}

.cl1 { animation-delay: 0s; }
.cl2 { animation-delay: 0.3s; }
.cl3 { animation-delay: 0.6s; }
.cl4 { animation-delay: 0.9s; }
.cl5 { animation-delay: 0.2s; stroke-dasharray: 4 6; }
.cl6 { animation-delay: 0.5s; stroke-dasharray: 4 6; }
.cl7 { animation-delay: 0.8s; stroke-dasharray: 4 6; }
.cl8 { animation-delay: 1.1s; stroke-dasharray: 4 6; }

@keyframes dashFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -24; }
}

/* Data pulses glow */
.data-pulse {
    opacity: 0.8;
}

.dp1 { filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.6)); }
.dp2 { filter: drop-shadow(0 0 4px rgba(124, 58, 237, 0.6)); }
.dp3 { filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.6)); }
.dp4 { filter: drop-shadow(0 0 3px rgba(37, 99, 235, 0.5)); }
.dp5 { filter: drop-shadow(0 0 3px rgba(124, 58, 237, 0.5)); }

/* Node hover & float animations */
.hero-node {
    transition: transform 0.3s ease;
}

.node-center {
    animation: nodeFloat 4s ease-in-out infinite;
}

.node-tl {
    animation: nodeFloat 5s ease-in-out infinite 0.5s;
}

.node-tr {
    animation: nodeFloat 4.5s ease-in-out infinite 1s;
}

.node-br {
    animation: nodeFloat 5.5s ease-in-out infinite 1.5s;
}

.node-bl {
    animation: nodeFloat 4.8s ease-in-out infinite 0.8s;
}

@keyframes nodeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Floating dots */
.float-dot {
    opacity: 0.6;
}

.fd1 { animation: dotFloat 6s ease-in-out infinite; }
.fd2 { animation: dotFloat 7s ease-in-out infinite 1s; }
.fd3 { animation: dotFloat 5s ease-in-out infinite 2s; }
.fd4 { animation: dotFloat 8s ease-in-out infinite 0.5s; }
.fd5 { animation: dotFloat 6.5s ease-in-out infinite 1.5s; }
.fd6 { animation: dotFloat 7.5s ease-in-out infinite 3s; }

@keyframes dotFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.4; }
    25% { transform: translate(5px, -8px); opacity: 0.7; }
    50% { transform: translate(-3px, -12px); opacity: 0.5; }
    75% { transform: translate(4px, -5px); opacity: 0.8; }
}

/* Radar scan ring animation (ciberseguridad) */
.radar-ring {
    transform-origin: center;
    animation: radarScan 4s linear infinite;
    opacity: 0.3;
}
.radar-ring:nth-child(2) { animation-delay: 1.3s; }
.radar-ring:nth-child(3) { animation-delay: 2.6s; }

@keyframes radarScan {
    0% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 0; transform: scale(1.3); }
}

/* Data flow upward animation (soporte-ti) */
.data-flow-up {
    opacity: 0.7;
}

@keyframes flowUp {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-80px); }
}

.dfu1 { animation: flowUp 3s ease-in-out infinite; }
.dfu2 { animation: flowUp 3s ease-in-out infinite 0.6s; }
.dfu3 { animation: flowUp 3s ease-in-out infinite 1.2s; }
.dfu4 { animation: flowUp 3s ease-in-out infinite 1.8s; }

/* ===================================
   SERVICES
   =================================== */
.services {
    padding: 100px 0 40px;
}

.service-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 32px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
}

.service-block:hover {
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.12), 0 8px 20px -8px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.service-block-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.service-block-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--primary-light);
    color: var(--primary);
}

.service-block-icon svg {
    width: 36px;
    height: 36px;
}

.service-block-icon.icon-shield {
    background: #dcfce7;
    color: #16a34a;
}

.service-block-icon.icon-support {
    background: #fef3c7;
    color: #d97706;
}

.service-block-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.service-block h3 {
    font-size: 1.5rem;
}

.service-block-description {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 800px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-detail {
    padding: 28px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    min-height: 160px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.service-detail h4 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.service-detail p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.7;
    flex: 1;
}

/* ===================================
   WHY US
   =================================== */
.why-us {
    padding: 30px 0 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    padding: 36px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.why-card:hover {
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.12), 0 8px 20px -8px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
    transform: translateY(-6px);
}

.why-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: var(--primary);
}

.why-icon svg {
    width: 48px;
    height: 48px;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
    transition: transform 0.4s ease;
}

.why-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 12px;
    line-height: 1;
}

.why-card:hover .why-number {
    color: var(--primary);
}

.why-card h3 {
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    flex: 1;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 36px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.testimonial-card:hover {
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.12), 0 8px 20px -8px rgba(0,0,0,0.08);
    transform: translateY(-6px);
    border-color: var(--primary-light);
}

.testimonial-stars {
    color: var(--warning);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card > p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 80px 0;
    background: var(--bg-dark);
    color: #fff;
}

.cta-container {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 16px;
}

.cta-section p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.cta-section .btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

/* ===================================
   CONTACT
   =================================== */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-top: 8px;
}

.contact-info > p {
    margin-top: 16px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-details {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    font-size: 1rem;
}

.contact-item svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Form */
.contact-form {
    background: var(--bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form required/optional indicators */
.form-required {
    color: #ef4444;
    font-weight: 600;
}

.form-optional {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.82rem;
}

/* Form input with icon */
.form-input-icon {
    position: relative;
}

.form-input-icon svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-light);
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-input-icon input,
.form-input-icon textarea {
    padding-left: 42px !important;
}

.form-input-icon-textarea svg {
    top: 16px;
    transform: none;
}

.form-input-icon:focus-within svg {
    color: var(--primary);
}

/* Urgency radio cards */
.form-urgency-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.form-radio-card {
    cursor: pointer;
}

.form-radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
    background: var(--bg);
    height: 100%;
}

.form-radio-content svg {
    width: 22px;
    height: 22px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.form-radio-card input[type="radio"]:checked + .form-radio-content {
    border-color: var(--primary);
    background: var(--primary-50);
    color: var(--primary);
}

.form-radio-card input[type="radio"]:checked + .form-radio-content svg {
    color: var(--primary);
}

.form-radio-content:hover {
    border-color: var(--primary-light);
    background: var(--primary-50);
}

/* Submit button states */
.btn-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
}

.btn-submit-loading,
.btn-submit-success {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-submit .spinner {
    width: 20px;
    height: 20px;
}

.btn-submit-success svg {
    width: 20px;
    height: 20px;
}

.btn-submit.is-loading .btn-submit-text { display: none; }
.btn-submit.is-loading .btn-submit-loading { display: flex !important; }
.btn-submit.is-loading .btn-submit-success { display: none !important; }

.btn-submit.is-success {
    background: var(--success) !important;
    border-color: var(--success) !important;
}
.btn-submit.is-success .btn-submit-text { display: none; }
.btn-submit.is-success .btn-submit-loading { display: none !important; }
.btn-submit.is-success .btn-submit-success { display: flex !important; }

.form-note {
    text-align: center;
    margin-top: 12px;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding-top: 60px;
}

.footer-brand {
    text-align: center;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #1e293b;
}

.footer-brand .logo {
    display: inline-block;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    text-align: center;
}

.footer-container {
    padding-bottom: 0;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer .logo-mark {
    background: var(--primary);
}

.footer .logo-text {
    color: #fff;
}

.footer .logo-img {
    height: auto;
    width: 200px;
    max-width: 100%;
    filter: brightness(0) invert(1);
    display: inline-block;
}

body.dark-mode .logo-img {
    filter: brightness(0) invert(1);
}

body.dark-mode .footer .logo-img {
    filter: brightness(0) invert(1);
}

.footer-links h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-links a:hover {
    color: #fff;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.85rem;
    text-align: center;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        padding: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 4px 0 4px 16px;
        min-width: auto;
    }

    .nav-dropdown-menu a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .service-block {
        padding: 32px 24px;
    }

    .service-details-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .sections, .why-us, .testimonials, .contact {
        padding: 70px 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-urgency-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        padding: 24px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: left;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .service-block {
        padding: 24px 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card, .testimonial-card {
        padding: 28px 24px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .btn-large {
        padding: 16px 24px;
        font-size: 0.95rem;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grids */
.why-card.animate-in:nth-child(2) { transition-delay: 0.1s; }
.why-card.animate-in:nth-child(3) { transition-delay: 0.2s; }
.why-card.animate-in:nth-child(4) { transition-delay: 0.3s; }
.why-card.animate-in:nth-child(5) { transition-delay: 0.4s; }
.why-card.animate-in:nth-child(6) { transition-delay: 0.5s; }

.testimonial-card.animate-in:nth-child(2) { transition-delay: 0.1s; }
.testimonial-card.animate-in:nth-child(3) { transition-delay: 0.2s; }

/* Active nav link */
.nav-links a.active {
    color: var(--primary);
}

/* Nav toggle animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   HONEYPOT (hidden from humans)
   =================================== */
.form-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

/* ===================================
   FORM CHECKBOX
   =================================== */
.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

/* ===================================
   SERVICE SUBPAGES
   =================================== */
.service-hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--bg) 100%);
}

.service-hero .hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service-hero .hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-hero .hero-animation {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.service-hero h1 {
    margin-top: 8px;
}

.service-hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin: 20px 0 32px;
    line-height: 1.8;
}

.service-hero-cyber {
    background: linear-gradient(180deg, #f0fdf4 0%, var(--bg) 100%);
}

.service-hero-support {
    background: linear-gradient(180deg, #fefce8 0%, var(--bg) 100%);
}

.badge-green {
    background: #dcfce7;
    color: #16a34a;
}

.badge-yellow {
    background: #fef3c7;
    color: #d97706;
}

.service-section {
    padding: 80px 0;
}

.service-section.bg-alt {
    background: var(--bg-alt);
}

.service-expanded-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-expanded-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
}

.service-expanded-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.service-expanded-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--primary-light);
    color: var(--primary);
    margin-bottom: 20px;
}

.service-expanded-icon svg {
    width: 26px;
    height: 26px;
}

.service-expanded-icon.icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.service-expanded-icon.icon-yellow {
    background: #fef3c7;
    color: #d97706;
}

.service-expanded-card h3 {
    margin-bottom: 12px;
}

.service-expanded-card > p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-expanded-list {
    list-style: none;
    padding: 0;
}

.service-expanded-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-expanded-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    text-align: center;
    padding: 32px 20px;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.process-step h3 {
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* Service subpages responsive */
@media (max-width: 1024px) {
    .service-hero .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-hero .hero-visual {
        padding: 0;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 120px 0 60px;
    }

    .service-hero .hero-visual {
        display: none;
    }

    .service-expanded-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

.form-checkbox a:hover {
    color: var(--primary-dark);
}

/* ===================================
   COOKIE BANNER
   =================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 20px 24px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-content p {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}

.cookie-content a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.85rem;
}

/* ===================================
   COOKIE MODAL
   =================================== */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cookie-modal.visible {
    display: flex;
}

.cookie-modal-content {
    background: var(--bg);
    border-radius: var(--radius-lg);
    max-width: 560px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}

.cookie-modal-header h3 {
    font-size: 1.15rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0 4px;
    line-height: 1;
}

.cookie-modal-close:hover {
    color: var(--text-dark);
}

.cookie-modal-body {
    padding: 24px 28px;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cookie-option-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    flex-shrink: 0;
}

.cookie-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    display: block;
    width: 48px;
    height: 26px;
    background: var(--border);
    border-radius: 26px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.cookie-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::after {
    transform: translateX(22px);
}

.cookie-toggle-slider.disabled {
    background: var(--primary);
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 16px 28px 24px;
    text-align: right;
}

/* ===================================
   ULTRA-WIDE SCREENS (1440px+)
   =================================== */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    body {
        font-size: 17px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1440px;
    }

    body {
        font-size: 18px;
    }

    .hero {
        padding: 180px 0 100px;
    }
}

/* ===================================
   COOKIE BANNER RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-actions .btn {
        width: 100%;
    }

    .cookie-modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* ===================================
   LEGAL PAGES
   =================================== */
.legal-page {
    padding: 120px 0 80px;
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 8px;
}

.legal-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.legal-page section {
    margin-bottom: 36px;
}

.legal-page section h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.legal-page section h3 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-page section p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 12px;
}

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

.legal-page a:hover {
    color: var(--primary-dark);
}

.legal-list {
    margin: 12px 0;
    padding-left: 24px;
    list-style: disc;
}

.legal-list li {
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.7;
}

.legal-table-wrapper {
    overflow-x: auto;
    margin: 16px 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border);
}

.legal-table th {
    background: var(--bg-alt);
    font-weight: 600;
    color: var(--text-dark);
}

.legal-table td {
    color: var(--text);
}

.legal-table em {
    color: var(--text-light);
}

/* ===================================
   LANGUAGE SWITCHER
   =================================== */
.lang-switcher-item {
    display: flex;
    align-items: center;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.lang-switcher:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-flag {
    display: inline-flex;
    align-items: center;
}

.flag-svg {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.lang-current {
    letter-spacing: 0.5px;
}

.lang-arrow {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.lang-switcher-item {
    position: relative;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    list-style: none;
    padding: 4px;
    margin: 0;
    min-width: 150px;
    z-index: 1000;
}

.lang-dropdown.open {
    display: block;
    animation: langDropIn 0.15s ease;
}

@keyframes langDropIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-switcher-item.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: background 0.15s ease;
}

.lang-option:hover {
    background: var(--bg);
}

.lang-option.active {
    color: var(--primary);
    font-weight: 600;
}

/* Mobile: lang switcher in hamburger menu */
@media (max-width: 768px) {
    .lang-switcher-item {
        padding-top: 8px;
        border-top: 1px solid var(--border-light);
        margin-top: 4px;
    }

    .lang-switcher {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }

    .lang-dropdown {
        position: relative;
        top: 4px;
        right: auto;
        left: auto;
        bottom: auto;
        min-width: auto;
        width: 100%;
        box-shadow: none;
        border: 1px solid var(--border-light);
    }
}

/* ===================================
   ACCESSIBILITY: Focus styles
   =================================== */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.cookie-toggle input:focus-visible + .cookie-toggle-slider {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* ===================================
   ACCESSIBILITY: Reduced motion
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .animate-in {
        opacity: 1;
        transform: none;
    }
}

/* ===================================
   FORM SUCCESS STATE
   =================================== */
.btn-form-success {
    background: var(--success) !important;
    border-color: var(--success) !important;
}

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Move up when cookie banner is visible */
.cookie-banner.visible ~ .whatsapp-float,
body:has(.cookie-banner.visible) .whatsapp-float {
    bottom: 100px;
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        transition: none;
    }
}

/* ===================================
   VISUAL ENHANCEMENTS
   =================================== */

/* Hero animated background mesh */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 600px 600px at 10% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 60%, rgba(124, 58, 237, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 40% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    z-index: 0;
    animation: heroMesh 12s ease-in-out infinite alternate;
}

@keyframes heroMesh {
    0% { opacity: 1; transform: scale(1) translate(0, 0); }
    50% { opacity: 0.8; transform: scale(1.05) translate(10px, -10px); }
    100% { opacity: 1; transform: scale(1) translate(-5px, 5px); }
}

.hero > .container {
    position: relative;
    z-index: 1;
}

/* Floating particles in hero */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(37, 99, 235, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(124, 58, 237, 0.2), transparent),
        radial-gradient(1.5px 1.5px at 60% 20%, rgba(37, 99, 235, 0.25), transparent),
        radial-gradient(2px 2px at 80% 50%, rgba(16, 185, 129, 0.2), transparent),
        radial-gradient(1.5px 1.5px at 15% 60%, rgba(124, 58, 237, 0.15), transparent),
        radial-gradient(2px 2px at 70% 80%, rgba(37, 99, 235, 0.2), transparent),
        radial-gradient(1px 1px at 90% 15%, rgba(245, 158, 11, 0.2), transparent),
        radial-gradient(1.5px 1.5px at 50% 50%, rgba(37, 99, 235, 0.15), transparent);
    background-size: 100% 100%;
    animation: particleFloat 20s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes particleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30px); }
}

/* Hero badge shimmer effect */
.hero-badge {
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Animated gradient text enhancement */
.text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 40%, #2563eb 80%, #7c3aed 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Button hover glow */
.btn-primary:hover {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4), 0 0 30px rgba(37, 99, 235, 0.15);
}

/* Service block animated border on hover */
.service-block {
    position: relative;
    background: var(--bg);
    overflow: hidden;
}

.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #7c3aed, var(--success), var(--primary));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-block:hover::before {
    transform: scaleX(1);
    animation: borderFlow 2s linear infinite;
}

@keyframes borderFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Service detail cards stagger animation */
.service-detail {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.service-detail:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--bg);
}

/* Why-card glow effect */
.why-card {
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

/* Why number counter glow */
.why-number {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.why-card:hover .why-number {
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* Testimonial cards enhanced */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-light);
    opacity: 0.5;
    line-height: 1;
    pointer-events: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 0.8;
    color: var(--primary);
}

/* CTA section animated gradient */
.cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-size: 200% 200%;
    animation: ctaGradient 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes ctaGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
    animation: ctaOrbs 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes ctaOrbs {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, -20px) rotate(10deg); }
}

/* Contact form glass effect */
.contact-form {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-form:hover {
    box-shadow: var(--shadow-lg);
}

/* Form input focus glow */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15), 0 0 20px rgba(37, 99, 235, 0.08);
}

/* Footer gradient top border */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #7c3aed, var(--success), var(--warning), var(--primary));
    background-size: 200% 100%;
    animation: borderFlow 4s linear infinite;
}

/* Logo hover effect */
.logo:hover .logo-mark {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3);
}

.logo-mark {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Scroll-triggered fade-in enhanced */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Service hero pages - same background improvements */
.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 500px 500px at 15% 30%, rgba(37, 99, 235, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 75% 60%, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.service-hero {
    position: relative;
    overflow: hidden;
}

.service-hero > .container {
    position: relative;
    z-index: 1;
}

/* Process step hover */
.process-step {
    transition: transform 0.3s ease;
    border-radius: var(--radius-lg);
}

.process-step:hover {
    transform: translateY(-4px);
    background: var(--bg-alt);
}

.process-number {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .process-number {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* Navbar link underline animation */
.nav-links > li > a:not(.btn):not(.lang-switcher) {
    position: relative;
}

.nav-links > li > a:not(.btn):not(.lang-switcher)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-links > li > a:not(.btn):not(.lang-switcher):hover::after,
.nav-links > li > a:not(.btn):not(.lang-switcher).active::after {
    width: 100%;
}

/* WhatsApp button pulse animation */
.whatsapp-float {
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* Smooth section transitions with gradient dividers */
.services::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin-bottom: 60px;
}

/* ===================================
   ENHANCED SHADOWS & SYMMETRY
   =================================== */

/* Service block icon glow on hover */
.service-block:hover .service-block-icon {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
    transform: scale(1.08);
}

.service-block:hover .service-block-icon.icon-shield {
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.2);
}

.service-block:hover .service-block-icon.icon-support {
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.2);
}

.service-block-icon {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Service detail inner glow on hover */
.service-detail:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(37, 99, 235, 0.05);
}

/* Why-us section subtle background */
.why-us {
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 800px 600px at 50% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Why-card top colored accent */
.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover::before {
    opacity: 1;
}

/* Testimonials section background enhancement */
.testimonials {
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 500px 400px at 20% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 70%),
        radial-gradient(ellipse 500px 400px at 80% 50%, rgba(124, 58, 237, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

/* Testimonial hover shadow tint */
.testimonial-card:hover .testimonial-avatar {
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
    transform: scale(1.05);
}

.testimonial-avatar {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Contact info items hover */
.contact-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--primary-50);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.contact-item:hover svg {
    transform: scale(1.15);
}

.contact-item svg {
    transition: transform 0.3s ease;
}

/* Contact form elevated shadow */
.contact-form {
    box-shadow: 0 4px 20px -4px rgba(0,0,0,0.08), 0 12px 40px -8px rgba(37, 99, 235, 0.06);
}

.contact-form:hover {
    box-shadow: 0 8px 30px -4px rgba(0,0,0,0.1), 0 20px 60px -12px rgba(37, 99, 235, 0.1);
}

/* CTA button layered shadow */
.cta-section .btn-primary {
    box-shadow: 0 4px 15px rgba(255,255,255,0.15);
    transition: all 0.4s ease;
}

.cta-section .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(255,255,255,0.2), 0 0 40px rgba(37, 99, 235, 0.15);
    transform: translateY(-3px);
}

/* Section badges with subtle shadow */
.section-badge {
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
    transition: all 0.3s ease;
}

.section-badge:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

/* Hero CTA buttons enhanced */
.hero-cta .btn-primary {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3), 0 1px 3px rgba(0,0,0,0.08);
}

.hero-cta .btn-outline {
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.4s ease;
}

.hero-cta .btn-outline:hover {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

/* Navbar elevated shadow when scrolled */
.navbar.scrolled {
    box-shadow: 0 4px 20px -4px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
}

/* Footer links hover effect */
.footer-links a {
    transition: all 0.3s ease;
    padding: 2px 0;
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

/* Equal gap consistency across all card grids */
.why-grid,
.testimonials-grid {
    gap: 24px;
}

/* Service expanded cards (subpages) symmetry */
.service-expanded-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-expanded-card:hover {
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.12), 0 8px 20px -8px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.service-expanded-card .service-expanded-list {
    flex: 1;
}

/* Service expanded icon glow */
.service-expanded-icon {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-expanded-card:hover .service-expanded-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}

.service-expanded-card:hover .service-expanded-icon.icon-green {
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.2);
}

.service-expanded-card:hover .service-expanded-icon.icon-yellow {
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.2);
}

/* Process steps symmetry */
.process-step {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    border: 1px solid transparent;
}

.process-step:hover {
    border-color: var(--border-light);
    box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.1);
}

/* Gradient divider between sections */
.why-us::after,
.testimonials::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ===================================
   ACCESSIBILITY WIDGET
   =================================== */
/* A11y toggle in navbar */
.a11y-toggle-item {
    display: flex;
    align-items: center;
    position: relative;
}

.a11y-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--primary);
    border: 1.5px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
}

.a11y-nav-toggle:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.a11y-nav-toggle svg {
    width: 18px;
    height: 18px;
    color: #fff;
    stroke: #fff;
    flex-shrink: 0;
}

.a11y-nav-toggle:hover svg {
    color: #fff;
    stroke: #fff;
}

/* A11y Drawer Overlay */
.a11y-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 10000;
    visibility: hidden;
    transition: background 0.35s ease, visibility 0.35s ease;
}

.a11y-overlay.open {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    visibility: visible;
}

/* A11y Drawer Panel (slides from right) */
.a11y-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.a11y-overlay.open .a11y-panel {
    transform: translateX(0);
}

.a11y-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-alt);
    flex-shrink: 0;
}

.a11y-panel-header h4 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
}

.a11y-panel-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 4px 8px;
    line-height: 1;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.a11y-panel-close:hover {
    color: var(--text-dark);
    background: var(--primary-50);
}

.a11y-panel-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.a11y-group {
    display: flex;
    flex-direction: column;
}

.a11y-group-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 4px;
    padding: 0;
}

/* Badge contador */
.a11y-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.a11y-badge.visible {
    display: flex;
}

.a11y-group-desc {
    font-size: 0.73rem;
    color: var(--text-light);
    margin: 0 0 12px;
    padding: 0;
    line-height: 1.4;
}

.a11y-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.a11y-option:last-child {
    border-bottom: none;
}

.a11y-option:hover {
    background: var(--primary-50);
}

.a11y-option-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}

.a11y-option-label svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.a11y-option-action {
    display: flex;
    align-items: center;
    gap: 6px;
}

.a11y-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.a11y-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.a11y-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.a11y-panel-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-alt);
    flex-shrink: 0;
}

.a11y-reset {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
    transition: all 0.2s ease;
}

.a11y-reset:hover {
    background: var(--primary-50);
    color: var(--primary);
    border-color: var(--primary-light);
}

/* Accessibility: high contrast mode */
body.a11y-high-contrast {
    --text: #000;
    --text-light: #1a1a1a;
    --text-dark: #000;
    --border: #333;
}

body.a11y-high-contrast .service-block,
body.a11y-high-contrast .why-card,
body.a11y-high-contrast .testimonial-card,
body.a11y-high-contrast .service-expanded-card {
    border-width: 2px;
    border-color: #333;
}

/* Accessibility: large text */
body.a11y-large-text {
    font-size: 20px;
}

body.a11y-large-text h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
body.a11y-large-text h2 { font-size: clamp(2.2rem, 3.5vw, 3rem); }
body.a11y-large-text h3 { font-size: 1.5rem; }

/* Accessibility: extra large text */
body.a11y-xl-text {
    font-size: 24px;
}

body.a11y-xl-text h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
body.a11y-xl-text h2 { font-size: clamp(2.5rem, 3.5vw, 3.5rem); }
body.a11y-xl-text h3 { font-size: 1.8rem; }

/* Accessibility: high-legibility font (Atkinson Hyperlegible from Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&display=swap');

body.a11y-dyslexia,
body.a11y-dyslexia * {
    font-family: 'Atkinson Hyperlegible', 'Arial', sans-serif !important;
    letter-spacing: 0.05em;
    word-spacing: 0.1em;
    line-height: 1.9;
}

/* Accessibility: increased spacing */
body.a11y-spacing p,
body.a11y-spacing li,
body.a11y-spacing span {
    line-height: 2.2;
    letter-spacing: 0.03em;
    word-spacing: 0.08em;
}

/* Accessibility: highlight links */
body.a11y-links a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px !important;
}

body.a11y-links a:hover {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Accessibility: big cursor */
body.a11y-cursor,
body.a11y-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M4 4l20 8-8 4-4 8z' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") 4 4, auto !important;
}

/* Accessibility: pause animations */
body.a11y-no-animations,
body.a11y-no-animations *,
body.a11y-no-animations *::before,
body.a11y-no-animations *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
}

/* Accessibility: grayscale */
body.a11y-grayscale > *:not(.a11y-overlay) {
    filter: grayscale(100%);
}

/* Accessibility: reading guide */
.a11y-reading-guide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(37, 99, 235, 0.25);
    border-bottom: 2px solid var(--primary);
    pointer-events: none;
    z-index: 99999;
    display: none;
    transition: none;
}

body.a11y-reading-guide-active .a11y-reading-guide {
    display: block;
}

/* Accessibility: hide images */
body.a11y-hide-images img:not(.logo-img):not(.flag-svg) {
    visibility: hidden;
}

body.a11y-hide-images svg.hero-svg,
body.a11y-hide-images .hero::before,
body.a11y-hide-images .hero::after {
    display: none !important;
}

/* Accessibility: enhanced focus indicator */
body.a11y-focus-enhanced *:focus-visible {
    outline: 4px solid #ff6600 !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 6px rgba(255, 102, 0, 0.3) !important;
}

/* Accessibility: low saturation */
body.a11y-low-saturation > *:not(.a11y-overlay) {
    filter: saturate(0.4);
}

body.a11y-low-saturation.a11y-grayscale > *:not(.a11y-overlay) {
    filter: grayscale(100%);
}

/* Accessibility: force left alignment */
body.a11y-left-align,
body.a11y-left-align * {
    text-align: left !important;
}

body.a11y-left-align .footer-brand,
body.a11y-left-align .footer-links-grid,
body.a11y-left-align .hero-content,
body.a11y-left-align .section-header {
    text-align: left !important;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100000;
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
}

/* A11y drawer responsive */
@media (max-width: 480px) {
    .a11y-panel {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after,
    .cta-section::before,
    .whatsapp-float,
    .hero-badge::after {
        animation: none !important;
    }

    .text-gradient {
        animation: none !important;
    }
}

/* ===================================
   DARK MODE TOGGLE BUTTON
   =================================== */
.dark-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dark-toggle:hover {
    border-color: var(--primary);
    background: var(--primary-50);
}

.dark-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-toggle-icon svg {
    width: 18px;
    height: 18px;
    color: var(--text);
    stroke: var(--text);
    transition: color 0.3s ease;
}

.dark-toggle:hover .dark-toggle-icon svg {
    color: var(--primary);
    stroke: var(--primary);
}

/* ===================================
   DARK/BLACK MODE
   =================================== */
body.dark-mode {
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --bg-dark: #000000;
    --text: #d4d4d8;
    --text-light: #a1a1aa;
    --text-dark: #fafafa;
    --border: #27272a;
    --border-light: #1c1c1e;
    --primary-50: rgba(37, 99, 235, 0.1);
    --primary-light: rgba(37, 99, 235, 0.2);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.3);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.5), 0 8px 10px -6px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 50px -12px rgba(0,0,0,0.6);
}

/* Navbar dark mode */
body.dark-mode .navbar {
    background: rgba(10, 10, 10, 0.92);
    border-bottom-color: var(--border);
}

body.dark-mode .navbar.scrolled {
    box-shadow: 0 4px 20px -4px rgba(0,0,0,0.4);
}

/* Hero dark mode */
body.dark-mode .hero {
    background: linear-gradient(180deg, #0d1117 0%, var(--bg) 100%);
}

body.dark-mode .hero::before {
    background:
        radial-gradient(ellipse 600px 600px at 10% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 40% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

/* Service hero pages dark */
body.dark-mode .service-hero {
    background: linear-gradient(180deg, #0d1117 0%, var(--bg) 100%);
}

body.dark-mode .service-hero-cyber {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--bg) 100%);
}

body.dark-mode .service-hero-support {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--bg) 100%);
}

/* Cards dark mode */
body.dark-mode .service-block,
body.dark-mode .why-card,
body.dark-mode .testimonial-card,
body.dark-mode .service-expanded-card,
body.dark-mode .contact-form {
    background: #111111;
    border-color: #27272a;
}

body.dark-mode .service-block:hover,
body.dark-mode .why-card:hover,
body.dark-mode .testimonial-card:hover,
body.dark-mode .service-expanded-card:hover {
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.15), 0 8px 20px -8px rgba(0,0,0,0.4);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Service detail cards dark */
body.dark-mode .service-detail {
    background: #0d0d0d;
    border-color: #1c1c1e;
}

body.dark-mode .service-detail:hover {
    background: #151515;
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.15), inset 0 1px 0 rgba(37, 99, 235, 0.08);
}

/* Icons dark mode */
body.dark-mode .service-block-icon {
    background: rgba(37, 99, 235, 0.15);
}

body.dark-mode .service-block-icon.icon-shield {
    background: rgba(22, 163, 74, 0.15);
}

body.dark-mode .service-block-icon.icon-support {
    background: rgba(217, 119, 6, 0.15);
}

body.dark-mode .service-expanded-icon {
    background: rgba(37, 99, 235, 0.15);
}

body.dark-mode .service-expanded-icon.icon-green {
    background: rgba(22, 163, 74, 0.15);
}

body.dark-mode .service-expanded-icon.icon-yellow {
    background: rgba(217, 119, 6, 0.15);
}

/* Section badge dark */
body.dark-mode .section-badge,
body.dark-mode .hero-badge {
    background: rgba(37, 99, 235, 0.15);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

body.dark-mode .badge-green {
    background: rgba(22, 163, 74, 0.15);
}

body.dark-mode .badge-yellow {
    background: rgba(217, 119, 6, 0.15);
}

/* Why number dark */
body.dark-mode .why-number {
    color: rgba(37, 99, 235, 0.3);
}

body.dark-mode .why-card:hover .why-number {
    color: var(--primary);
}

/* Testimonials section dark */
body.dark-mode .testimonials {
    background: #060606;
}

body.dark-mode .testimonial-avatar {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2));
}

body.dark-mode .testimonial-card::before {
    color: rgba(37, 99, 235, 0.15);
}

/* CTA dark */
body.dark-mode .cta-section {
    background: linear-gradient(135deg, #000000 0%, #0d1117 50%, #000000 100%);
}

/* Form dark */
body.dark-mode .contact-form {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: #0a0a0a;
    border-color: #27272a;
    color: var(--text-dark);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2), 0 0 20px rgba(37, 99, 235, 0.1);
}

body.dark-mode .form-radio-content {
    background: #0a0a0a;
    border-color: #27272a;
    color: #94a3b8;
}

body.dark-mode .form-radio-card input[type="radio"]:checked + .form-radio-content {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

body.dark-mode .form-radio-content:hover {
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(37, 99, 235, 0.05);
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: #52525b;
}

/* Footer dark */
body.dark-mode .footer {
    background: #000000;
}

/* Nav links mobile dark */
body.dark-mode .nav-links {
    background: var(--bg);
}

/* Cookie banner/modal dark */
body.dark-mode .cookie-banner {
    background: #111111;
    border-color: #27272a;
}

body.dark-mode .cookie-modal-content {
    background: #111111;
}

body.dark-mode .cookie-modal-header {
    border-color: #27272a;
}

body.dark-mode .cookie-option {
    border-color: #1c1c1e;
}

/* Dark mode toggle button in dark mode */
body.dark-mode .dark-toggle {
    background: #1c1c1e;
    border-color: #333;
}

body.dark-mode .dark-toggle:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--primary);
}

body.dark-mode .dark-toggle-icon svg {
    color: #fafafa;
    stroke: #fafafa;
}

/* Lang switcher dark */
body.dark-mode .lang-switcher {
    border-color: #333;
    color: var(--text-dark);
}

body.dark-mode .lang-dropdown {
    background: #111111;
    border-color: #27272a;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

body.dark-mode .lang-option:hover {
    background: #1c1c1e;
}

/* Process number dark */
body.dark-mode .process-number {
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

/* A11y navbar toggle dark */
body.dark-mode .a11y-nav-toggle {
    background: var(--primary);
    border-color: var(--primary);
}

body.dark-mode .a11y-nav-toggle:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

body.dark-mode .a11y-overlay.open {
    background: rgba(0, 0, 0, 0.6);
}

body.dark-mode .a11y-panel {
    background: #111111;
    border-color: #27272a;
}

body.dark-mode .a11y-panel-header,
body.dark-mode .a11y-panel-footer {
    background: #0d0d0d;
    border-color: #27272a;
}

body.dark-mode .a11y-option {
    border-color: #1c1c1e;
}

body.dark-mode .a11y-option:hover {
    background: rgba(37, 99, 235, 0.1);
}

body.dark-mode .a11y-btn {
    background: #1c1c1e;
    border-color: #333;
    color: var(--text-dark);
}

body.dark-mode .a11y-reset {
    background: #1c1c1e;
    border-color: #27272a;
}

/* Legal pages dark */
body.dark-mode .legal-updated {
    border-color: #27272a;
}

body.dark-mode .legal-table th {
    background: #0d0d0d;
}

body.dark-mode .legal-table th,
body.dark-mode .legal-table td {
    border-color: #27272a;
}

/* Contact items dark hover */
body.dark-mode .contact-item:hover {
    background: rgba(37, 99, 235, 0.08);
}

/* Scrollbar dark */
body.dark-mode::-webkit-scrollbar {
    width: 10px;
}

body.dark-mode::-webkit-scrollbar-track {
    background: #0a0a0a;
}

body.dark-mode::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 5px;
}

body.dark-mode::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* ===================================
   WHATSAPP TOOLTIP
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a1a;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #1a1a1a;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-4px);
}

/* Dark mode tooltip */
body.dark-mode .whatsapp-tooltip {
    background: #fafafa;
    color: #0a0a0a;
}

body.dark-mode .whatsapp-tooltip::after {
    border-left-color: #fafafa;
}

/* ===================================
   DARK TOGGLE IN NAVBAR
   =================================== */
.dark-toggle-item {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .dark-toggle-item {
        display: flex;
        justify-content: center;
    }

    .dark-toggle {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: transparent;
        border: none;
    }

    .a11y-toggle-item {
        display: flex;
        justify-content: center;
    }

    .a11y-nav-toggle {
        width: 100%;
        border-radius: var(--radius-sm);
        height: 42px;
        justify-content: center;
    }

    .a11y-panel {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        z-index: 10000;
    }
}

/* HIDDEN: Social profiles not yet created — remove to re-enable */
.footer-social {
    display: none !important;
}

/* ===== MyWishi Banner ===== */
/* HIDDEN: MyWishi not yet in production — remove these 2 rules to re-enable */
.mywishi-section,
.footer-mywishi {
    display: none !important;
}
.mywishi-banner {
    background: linear-gradient(135deg, #4338ca 0%, #7c3aed 50%, #a855f7 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.mywishi-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
}

.mywishi-banner a {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    text-decoration: none;
    color: #fff;
}

.mywishi-banner-img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: contain;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
}

.mywishi-banner-content {
    flex: 1;
    min-width: 0;
}

.mywishi-banner-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.mywishi-banner-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.mywishi-banner-text {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.5;
}

.mywishi-banner-arrow {
    font-size: 1.5rem;
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mywishi-banner:hover .mywishi-banner-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* MyWishi in footer */
.footer-mywishi {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-mywishi .mywishi-banner {
    max-width: 600px;
    margin: 0 auto;
}

.footer-mywishi .mywishi-banner a {
    padding: 1.25rem 1.5rem;
}

.footer-mywishi .mywishi-banner-img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.footer-mywishi .mywishi-banner-title {
    font-size: 1.05rem;
}

.footer-mywishi .mywishi-banner-text {
    font-size: 0.8rem;
}

/* MyWishi section in soporte-ti and contacto */
.mywishi-section {
    padding: 3rem 0;
}

.mywishi-section .mywishi-banner {
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .mywishi-banner a {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .mywishi-banner-arrow {
        display: none;
    }

    .footer-mywishi .mywishi-banner a {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        padding: 1rem;
    }

    .footer-mywishi .mywishi-banner-img {
        width: 44px;
        height: 44px;
    }
}

body.dark-mode .mywishi-banner {
    background: linear-gradient(135deg, #312e81 0%, #5b21b6 50%, #7e22ce 100%);
}

body.dark-mode .footer-mywishi {
    border-top-color: rgba(255, 255, 255, 0.05);
}
