/* ==========================================================================
   VARIABLES & SETUP
   ========================================================================== */
:root {
    /* Colors - Actualiza estos colores según el logo del cliente */
    --primary: #15803d; /* Verde técnico principal */
    --primary-dark: #14532d;
    --primary-light: #4ade80;
    --accent: #22c55e; /* Variante verde */
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --bg-body: #ffffff;
    --bg-light: #f1f5f9;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    
    --border: #e2e8f0;
    --border-dark: #334155;
    
    /* WhatsApp */
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    
    /* Variables */
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-title .highlight {
    color: var(--primary);
}

.section-title.text-white {
    color: var(--text-light);
}

.section-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(21, 128, 61, 0.1);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 24px;
}

.text-center { text-align: center; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.w-full { width: 100%; }
.mt-4 { margin-top: 1rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

.btn-primary {
    background-color: var(--whatsapp);
    color: white;
}

.btn-primary:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(21, 128, 61, 0.05);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    height: 70px;
}

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

.logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

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

.nav-item {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

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

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    border-radius: 100px;
}

.btn-nav:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        linear-gradient(var(--primary) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual - Tech Graphic animation */
.tech-graphic {
    position: relative;
    width: 100%;
    height: 500px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.tech-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(21, 128, 61, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(21, 128, 61, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.tech-line {
    position: absolute;
    background: var(--primary);
    opacity: 0.5;
}

.line-1 {
    top: 30%;
    left: 10%;
    width: 60%;
    height: 2px;
    transform: rotate(15deg);
    transform-origin: left center;
}

.line-2 {
    top: 70%;
    left: 20%;
    width: 50%;
    height: 2px;
    transform: rotate(-25deg);
    transform-origin: left center;
}

.tech-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.point-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.point-1 { top: 30%; left: 10%; }
.point-2 { top: 70%; left: 20%; }
.point-3 { top: 40%; left: 60%; }

.point-label {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-main);
    color: white;
    font-size: 0.625rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.point-coords {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.625rem;
    font-family: monospace;
    white-space: nowrap;
}

.topographic-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 1px solid rgba(21, 128, 61, 0.2);
    border-radius: 50%;
}
.topographic-circles::before {
    content: '';
    position: absolute;
    top: 10%; left: 10%; right: 10%; bottom: 10%;
    border: 1px solid rgba(21, 128, 61, 0.3);
    border-radius: 50%;
}
.topographic-circles::after {
    content: '';
    position: absolute;
    top: 25%; left: 25%; right: 25%; bottom: 25%;
    border: 1px dashed rgba(21, 128, 61, 0.4);
    border-radius: 50%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

/* ==========================================================================
   SOBRE EL PROFESIONAL
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background: var(--bg-light);
    border-radius: 24px;
    z-index: 0;
}

.about-glass {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.perfil-foto {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.glassmorphism-dark {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.stats-card i {
    font-size: 2rem;
}

.about-info p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(21, 128, 61, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.feature-item span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 48px;
}

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

.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(21, 128, 61, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary);
    color: white;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==========================================================================
   IMPORTANCIA
   ========================================================================== */
.importance {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
}

.importance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.importance-lead {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.importance-subtext {
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary-light);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 12px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.benefit-item i {
    color: var(--primary-light);
    font-size: 1.5rem;
}

.blueprint-card {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 24px;
    padding: 24px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.blueprint-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(74, 222, 128, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 222, 128, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 24px;
    opacity: 0.5;
}

.blueprint-grid {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.blueprint-svg {
    width: 100%;
    height: 100%;
    color: var(--primary-light);
}

.bp-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
}

.bp-solid { stroke-width: 1.5; }
.bp-dashed { stroke-dasharray: 2 2; opacity: 0.8; }
.bp-dotted { stroke-width: 0.5; opacity: 0.6; }

.bp-text {
    fill: currentColor;
    font-family: monospace;
    font-size: 4px;
}

.bp-text.small { font-size: 3px; }

.bp-point { fill: white; }
.bp-point-sub { fill: var(--primary-light); opacity: 0.8; }

/* ==========================================================================
   ZONA DE TRABAJO
   ========================================================================== */
.zone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.zone-list {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zone-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.125rem;
    font-weight: 500;
}

.zone-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zone-note {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 1);
    color: white;
}

.zone-note i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.map-illustration {
    width: 100%;
    aspect-ratio: 1;
    background: #f8fafc;
    border-radius: 50%;
    position: relative;
    border: 1px solid var(--border);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
    overflow: hidden;
}

.radar-scan {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent 70%, rgba(21, 128, 61, 0.1) 100%);
    transform-origin: 0 0;
    animation: radar 4s linear infinite;
}

.map-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-ring {
    position: absolute;
    border: 1px solid rgba(21, 128, 61, 0.1);
    border-radius: 50%;
}

.ring-1 { width: 30%; height: 30%; }
.ring-2 { width: 60%; height: 60%; }
.ring-3 { width: 90%; height: 90%; }

.map-ping {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.ping-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.8);
}

.ping-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-label {
    margin-top: 8px;
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.map-ping.center { top: 50%; left: 50%; }
.pin-1 { top: 30%; left: 60%; .ping-dot { background: var(--text-muted); } .ping-dot::after { display: none; } }
.pin-2 { top: 70%; left: 40%; .ping-dot { background: var(--text-muted); } .ping-dot::after { display: none; } }
.pin-3 { top: 40%; left: 30%; .ping-dot { background: var(--text-muted); } .ping-dot::after { display: none; } }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-box {
    padding: 60px;
    border-radius: 24px;
    background: white;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 48px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    text-align: left;
}

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

.contact-form-container {
    padding: 40px;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.wa-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-input {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: var(--transition);
    background-color: var(--bg-light);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.1);
    background-color: white;
}

.contact-card {
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.primary-contact {
    background: rgba(37, 211, 102, 0.05);
    border-color: rgba(37, 211, 102, 0.2);
    transform: scale(1.05);
}
.primary-contact:hover {
    border-color: var(--whatsapp);
    transform: scale(1.05) translateY(-4px);
}
.primary-contact .contact-icon {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
    font-size: 1.8rem;
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}
.contact-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--text-main);
    color: white;
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.logo-footer {
    height: 50px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: #94a3b8;
    max-width: 300px;
}

.footer h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer ul li, .footer ul a {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer ul a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.875rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
}
.social-links a:hover { color: var(--whatsapp); }

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.float-wa:hover {
    transform: scale(1.1);
    background-color: var(--whatsapp-dark);
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

@keyframes radar {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

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

.glow-effect {
    position: relative;
}
.glow-effect::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: inherit;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
    border-radius: inherit;
}

/* Reveal Classes para Scroll Animations en JS */
.reveal-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: 0.8s ease-out; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: 0.8s ease-out; }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: 0.8s ease-out; }

.active.reveal-up,
.active.reveal-left,
.active.reveal-right,
.active.reveal-scale {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.2s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content, 
    .about-grid, 
    .importance-content, 
    .zone-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title { font-size: 2.5rem; }
    
    .tech-graphic { height: 350px; }
    
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-details { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .primary-contact { transform: scale(1); }
    .primary-contact:hover { transform: translateY(-4px); }

    .footer-content { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--text-main);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.4s ease-in-out;
    }

    .nav-links.show {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero { padding-top: 120px; padding-bottom: 60px; min-height: auto; }
    
    .section { padding: 60px 0; }
    
    .contact-details { grid-template-columns: 1fr; }
    
    .contact-box { padding: 30px 20px; }
    
    .about-image-wrapper { padding: 0; }
    .about-backdrop { display: none; }

    .wa-form input,
    .wa-form textarea {
        padding: 12px 16px;
        border-radius: 8px;
        border: 1px solid var(--border-color);
        background-color: var(--bg-light);
        color: var(--text-color);
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .wa-form input:focus,
    .wa-form textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
    }

    .wa-form textarea {
        resize: vertical;
        min-height: 100px;
    }
}
