/* ============================================
   RESET Y CONFIGURACIÓN BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
    background-color: #0f172a;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #f8fafc;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --primary: #3b82f6;
    --accent: #22d3ee;
    --whatsapp: #25D366;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --warning: #f59e0b;
    --border: #334155;
}

/* ============================================
   CONTENEDORES GLOBALES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ============================================
   HERO SECTION - ANIMACIÓN AURORA
   ============================================ */
.hero-animated-bg {
    position: relative;
    padding: 140px 20px 100px;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #020617, #1e1b4b, #172554, #0f172a);
    background-size: 400% 400%;
    animation: techFlow 12s ease infinite;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-animated-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
                radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
    background-size: 50% 50%;
    animation: pulseLight 8s linear infinite;
    z-index: 1;
    pointer-events: none;
}

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

@keyframes pulseLight {
    0% { transform: rotate(0deg) translate(0, 0); }
    50% { transform: rotate(180deg) translate(50px, 50px); }
    100% { transform: rotate(360deg) translate(0, 0); }
}

/* Partículas flotantes */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 2s; }
.particle:nth-child(3) { left: 50%; animation-delay: 4s; }
.particle:nth-child(4) { left: 70%; animation-delay: 6s; }
.particle:nth-child(5) { left: 90%; animation-delay: 8s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    50% { transform: translateY(-80vh) translateX(50px); opacity: 0.5; }
    90% { opacity: 0.3; }
}

/* ============================================
   TIPOGRAFÍA HERO
   ============================================ */
.brand {
    color: var(--accent);
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    display: inline-block;
    margin-bottom: 20px;
    background: rgba(15, 23, 42, 0.6);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(34, 211, 238, 0.3);
    backdrop-filter: blur(10px);
}

.hero-animated-bg h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    font-weight: 800;
}

.hero-animated-bg p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

/* ============================================
   ANIMACIONES DE ENTRADA
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-main {
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.btn-sec {
    border: 2px solid var(--text-muted);
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.btn-sec:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
}

/* ============================================
   SECCIONES
   ============================================ */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* ============================================
   SERVICIOS
   ============================================ */
.services-v13 {
    padding: 100px 0;
    background: #0b1120;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card-service {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card-service:hover::before {
    transform: scaleX(1);
}

.card-service:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card-service .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.card-service:hover .icon {
    filter: grayscale(0);
    transform: scale(1.1) rotate(5deg);
}

.card-service h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin: 15px 0 12px;
    font-weight: 700;
}

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

/* ============================================
   INFRAESTRUCTURA CRÍTICA
   ============================================ */
.infra-list {
    margin-top: 80px;
}

.infra-title {
    text-align: center;
    margin: 60px 0 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.wide-card {
    background: var(--bg-card);
    border-left: 4px solid var(--warning);
    padding: 35px;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    border-left-width: 4px;
    margin-bottom: 20px;
}

.wide-card.accent-border {
    border-left-color: var(--accent);
}

.wide-card:hover {
    background: #263345;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wide-card h3 {
    margin-top: 0;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.wide-card p {
    margin-bottom: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   STACK TECNOLÓGICO
   ============================================ */
.tech-stack {
    padding: 80px 0;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 50px;
    color: var(--text-main);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    background: var(--bg-card);
    padding: 25px 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: default;
}

.tech-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.2);
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tech-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================
   FORMULARIO DE CONTACTO
   ============================================ */
.contact-section {
    background: linear-gradient(to bottom, var(--bg-dark), #111827);
    padding: 100px 20px;
}

.form-box {
    max-width: 650px;
    margin: 40px auto 0;
    background: rgba(30, 41, 59, 0.5);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.input-group {
    margin-bottom: 25px;
    text-align: left;
}

.input-group label {
    display: block;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.input-field {
    width: 100%;
    padding: 15px 18px;
    background: #0f172a;
    border: 1px solid #475569;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-field::placeholder {
    color: #64748b;
}

textarea.input-field {
    resize: vertical;
    min-height: 120px;
}

/* Spinner de carga */
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Mensaje de éxito */
#success-message {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

#success-message h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

#success-message p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================
   FOOTER / WHATSAPP
   ============================================ */
.wa-footer {
    background: #000;
    border-top: 1px solid var(--border);
    padding: 60px 20px;
    text-align: center;
}

.wa-badge {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.footer-title {
    margin: 0 0 15px 0;
    font-size: 2.2rem;
    color: var(--text-main);
}

.footer-text {
    color: var(--text-muted);
    margin: 0 auto 35px;
    max-width: 600px;
    line-height: 1.8;
}

.btn-wa {
    background-color: var(--whatsapp);
    color: #000;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
    background-color: #2bf170;
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.5);
}

.copyright {
    margin-top: 40px;
    color: #64748b;
    font-size: 0.85rem;
}

/* ============================================
   BOTÓN VOLVER ARRIBA
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #2563eb;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

/* ============================================
   SCROLL REVEAL (AOS-like)
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   NUEVAS SECCIONES - CONVERSIÓN
   ============================================ */

/* Trust Badges en Hero */
.trust-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.badge {
    padding: 8px 18px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.highlight {
    color: var(--accent);
    font-weight: 900;
}

/* Casos de Éxito */
.success-cases {
    padding: 100px 0;
    background: linear-gradient(to bottom, #0b1120, var(--bg-dark));
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-card {
    padding: 35px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.case-card:hover::before {
    transform: scaleX(1);
}

.case-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(34, 211, 238, 0.2);
}

.case-number {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--warning), #f97316);
    color: #000;
    font-weight: 900;
    font-size: 1.3rem;
    border-radius: 30px;
    margin-bottom: 15px;
}

.case-card h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.case-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.case-tech {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* Estadísticas */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding: 50px 30px;
    background: rgba(34, 211, 238, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

/* Testimonios */
.testimonials {
    padding: 100px 0;
    background: var(--bg-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    padding: 35px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.testimonial-author strong {
    display: block;
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 5px;
}

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

/* Form Guarantee */
.form-guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(34, 211, 238, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #000;
    font-weight: 900;
    border-radius: 50%;
    flex-shrink: 0;
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: float-pulse 3s infinite;
}

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

.whatsapp-icon {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-text {
    display: none;
}

@keyframes float-pulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Exit Popup */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.exit-popup-content {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    position: relative;
    border: 2px solid var(--accent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.exit-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.exit-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.exit-popup-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.exit-popup-content > p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.exit-benefits {
    margin: 25px 0;
    text-align: left;
}

.exit-benefit {
    padding: 12px 15px;
    margin-bottom: 10px;
    background: rgba(34, 211, 238, 0.05);
    border-left: 3px solid var(--accent);
    border-radius: 5px;
    color: var(--text-main);
}

.exit-footer {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-animated-bg h1 {
        font-size: 2.5rem;
    }
    
    .hero-animated-bg p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-services {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .form-box {
        padding: 30px 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
    
    .wide-card:hover {
        transform: translateX(5px);
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
    
    .exit-popup-content {
        padding: 40px 25px;
    }
    
    .exit-popup-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-animated-bg {
        padding: 100px 20px 80px;
    }
    
    .hero-animated-bg h1 {
        font-size: 2rem;
    }
    
    .brand {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .card-service {
        padding: 30px 25px;
    }
    
    .wide-card {
        padding: 25px 20px;
    }
}

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

/* Mejora de contraste para accesibilidad */
@media (prefers-contrast: high) {
    .card-service,
    .wide-card,
    .tech-item {
        border-width: 2px;
    }
}
