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

:root {
    /* === SISTEMA DE 3 FONDOS === */
    --fondo-a: #ffffff;
    /* Blanco */
    --fondo-b: #f8f9fa;
    /* Gris Claro */
    --fondo-c: #2c3e50;
    /* Oscuro */
    /* === COLORES DE ACENTO === */
    --primary: #3498db;
    --secondary: #2c3e50;
    --dark: #2c3e50;
    --accent: #2980b9;
    --bg: #f8f9fa;
    --white: #fff;
    --gray: #6c757d;
    /* === UTILIDADES === */
    --radius: 12px;
    --shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
    --shadow-lg: 0 8px 40px rgba(44, 62, 80, 0.15);
    --shadow-subtle: 0 2px 8px rgba(44, 62, 80, 0.04);
    --border-subtle: 1px solid rgba(44, 62, 80, 0.08);
    --transition: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    /* === ESPACIADO VERTICAL === */
    --section-padding: 120px;
    --section-padding-mobile: 64px
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--fondo-b);
    color: var(--dark);
    line-height: 1.6
}

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

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.4)
    }

    50% {
        box-shadow: 0 0 40px rgba(52, 152, 219, 0.6)
    }
}

@keyframes orb {
    0% {
        transform: translate(0, 0)
    }

    33% {
        transform: translate(10px, -10px)
    }

    66% {
        transform: translate(-10px, 5px)
    }

    100% {
        transform: translate(0, 0)
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease
}

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

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0
}

.animate-in:nth-child(1) {
    animation-delay: 0.1s
}

.animate-in:nth-child(2) {
    animation-delay: 0.2s
}

.animate-in:nth-child(3) {
    animation-delay: 0.3s
}

.animate-in:nth-child(4) {
    animation-delay: 0.4s
}

.animate-in:nth-child(5) {
    animation-delay: 0.5s
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s
}

.btn:hover::after {
    transform: translateX(100%)
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3)
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary)
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px)
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white)
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3)
}

.btn-glow {
    animation: glow 2s ease-in-out infinite
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem
}

.btn-xl {
    padding: 22px 44px;
    font-size: 1.2rem;
    width: 100%
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none
}

.logo img {
    height: 220px;
    width: auto;
    display: block
}

.logo span {
    color: var(--primary)
}

.nav {
    display: flex;
    gap: 32px
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition)
}

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

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

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

.header-cta {
    display: block
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition)
}

/* ========================================
   SECCIÓN 1: HERO 
   FONDO: B (Crema)
   ======================================== */
.hero {
    padding: 160px 0 var(--section-padding);
    background: var(--fondo-b);
    position: relative;
    overflow: hidden
}

.hero-gradient {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(52, 152, 219, 0.12) 0%, transparent 50%);
    pointer-events: none
}

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

.hero-tag {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--dark)
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.7
}

.hero-bullets {
    list-style: none;
    margin-bottom: 32px
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-weight: 500;
    color: var(--dark)
}

.bullet-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    position: relative
}

.bullet-icon::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px
}

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

.hero-visual {
    position: relative
}

.hero-visual-container {
    position: relative
}

.hero-visual img {
    width: 100%;
    max-width: 400px;
    height: auto;
    position: relative;
    z-index: 2
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    animation: orb 8s ease-in-out infinite
}

.hero-orb-1 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation-delay: 0s
}

.hero-orb-2 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: 20%;
    right: -5%;
    animation-delay: 2s
}

.hero-orb-3 {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 4s
}

/* === SECTION COMMON === */
.section-tag {
    display: inline-block;
    background: rgba(52, 152, 219, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px
}

.section-tag-light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white)
}

.section-tag-dark {
    background: var(--dark);
    color: var(--white)
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2
}

.section-title-left {
    text-align: left
}

.section-sub {
    text-align: center;
    color: var(--gray);
    margin-bottom: 56px;
    font-size: 1.15rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto
}

.highlight {
    color: var(--primary)
}

.highlight-accent {
    color: var(--primary)
}

/* ========================================
   SECCIÓN 2: SERVICIOS 
   FONDO: A (Blanco) - Cards crema
   ======================================== */
.servicios {
    padding: var(--section-padding) 0;
    background: var(--fondo-a)
}

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

.servicio-card {
    background: var(--fondo-b);
    padding: 36px;
    border-radius: 16px;
    transition: all var(--transition);
    border: var(--border-subtle);
    position: relative;
    overflow: hidden
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition)
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(52, 152, 219, 0.2)
}

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

.servicio-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px
}

.servicio-icon svg {
    width: 100%;
    height: 100%
}

.servicio-transform {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    font-size: 0.85rem
}

.transform-before {
    color: var(--gray)
}

.transform-arrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem
}

.transform-after {
    color: var(--primary);
    font-weight: 600
}

.servicio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark)
}

.servicio-card p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--gray)
}

.servicio-for {
    display: block;
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 500
}

/* ========================================
   SECCIÓN 3: GEO / IA 
   FONDO: C (Oscuro) - Único bloque oscuro
   ======================================== */
.geo {
    padding: var(--section-padding) 0;
    background: var(--fondo-c);
    color: var(--white)
}

.geo-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center
}

.geo .section-title,
.geo .section-sub {
    color: var(--white)
}

.geo .section-sub {
    opacity: 0.85
}

.geo-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9
}

.geo-points {
    display: flex;
    flex-direction: column;
    gap: 28px
}

.geo-point {
    display: flex;
    gap: 20px;
    align-items: flex-start
}

.geo-point-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--white)
}

.geo-point h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--white)
}

.geo-point p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6
}

.geo-visual {
    position: relative
}

.geo-diagram {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin: 0 auto
}

.geo-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0
}

.geo-node {
    position: absolute;
    background: var(--white);
    color: var(--dark);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: var(--shadow);
    z-index: 1
}

.geo-node-center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: var(--white);
    z-index: 2
}

.geo-node-1 {
    left: 0;
    top: 15%;
    animation: float 4s ease-in-out infinite
}

.geo-node-2 {
    right: 0;
    top: 15%;
    animation: float 4s ease-in-out infinite 1s
}

.geo-node-3 {
    left: 0;
    bottom: 15%;
    animation: float 4s ease-in-out infinite 2s
}

.geo-node-4 {
    right: 0;
    bottom: 15%;
    animation: float 4s ease-in-out infinite 3s
}

/* ========================================
   SECCIÓN 4: METODOLOGÍA / PROCESO 
   FONDO: B (Crema) - Cards blancas
   Estética de ingeniería: un solo color de acento
   ======================================== */
.proceso {
    padding: var(--section-padding) 0;
    background: var(--fondo-b);
    color: var(--dark);
    position: relative
}

.proceso .section-title,
.proceso .section-sub {
    color: var(--dark)
}

.proceso .section-sub {
    opacity: 0.8
}

.proceso-timeline {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1
}

.proceso-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--dark);
    opacity: 0.1;
    z-index: 0;
    display: none
}

.proceso-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 32px 24px;
    position: relative;
    background: var(--fondo-a);
    border-radius: 12px;
    border: var(--border-subtle);
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition)
}

.proceso-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.08);
    border-color: rgba(52, 152, 219, 0.2)
}

/* Números: UN SOLO COLOR de acento (dark, cambia a primary en hover) */
.paso-num {
    width: 52px;
    height: 52px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    transition: all var(--transition);
    color: var(--white)
}

.proceso-step:hover .paso-num {
    background: var(--primary);
    transform: scale(1.05)
}

.proceso-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
    letter-spacing: -0.01em
}

.proceso-step p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6
}

/* ========================================
   SECCIÓN 5: CASOS / RESULTADOS 
   FONDO: A (Blanco) - Cards crema
   ======================================== */
.casos {
    padding: var(--section-padding) 0;
    background: var(--fondo-a)
}

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

.caso-card {
    background: var(--fondo-b);
    padding: 36px;
    border-radius: 16px;
    position: relative;
    transition: all var(--transition);
    border: var(--border-subtle)
}

.caso-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg)
}

.caso-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600
}

.caso-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--dark)
}

.caso-card>p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6
}

.caso-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(44, 62, 80, 0.1)
}

.caso-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark)
}

.result-icon {
    width: 28px;
    height: 28px;
    background: rgba(52, 152, 219, 0.15);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem
}

/* ========================================
   SECCIÓN 6: ABOUT / SOBRE NOSOTROS 
   FONDO: B (Crema)
   ======================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--fondo-b)
}

.about-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    line-height: 1.7
}

.about-diff {
    list-style: none
}

.about-diff li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
    transition: all var(--transition)
}

.about-diff li:hover {
    padding-left: 12px;
    border-color: var(--primary)
}

.about-visual-container {
    position: relative
}

.about-animate-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(52, 152, 219, 0.2))
}

/* ========================================
   SECCIÓN 7: FAQ 
   FONDO: A (Blanco)
   ======================================== */
.faq {
    padding: var(--section-padding) 0;
    background: var(--fondo-a)
}

.faq-list {
    max-width: 800px;
    margin: 0 auto
}

.faq-item {
    border-bottom: 1px solid rgba(44, 62, 80, 0.1)
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    transition: color var(--transition)
}

.faq-q:hover {
    color: var(--primary)
}

.faq-q::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--primary);
    transition: transform var(--transition);
    font-weight: 300
}

.faq-item.active .faq-q::after {
    transform: rotate(45deg)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease
}

.faq-item.active .faq-a {
    max-height: 300px
}

.faq-a p {
    padding: 0 0 24px;
    color: var(--gray);
    line-height: 1.7
}

/* ========================================
   SECCIÓN 8: CONTACTO / CONVERSIÓN 
   FONDO: B (Crema) - CTAs muy visibles
   ======================================== */
.contacto {
    padding: var(--section-padding) 0;
    background: var(--fondo-b)
}

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

.contacto-ctas {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.contacto-info {
    margin-top: 40px
}

.contacto-info p {
    margin-bottom: 10px;
    font-size: 1.05rem
}

.contacto-info a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition)
}

.contacto-info a:hover {
    color: var(--secondary)
}

.contacto-map {
    margin-top: 12px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(44, 62, 80, 0.12);
    box-shadow: var(--shadow-subtle)
}

.contacto-map iframe {
    width: 100%;
    min-height: 280px;
    border: 0;
    display: block
}

.ref-address {
    font-size: 0.9rem;
    color: var(--gray)
}

.contacto-form {
    background: var(--fondo-a);
    padding: 44px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: var(--border-subtle)
}

.form-group {
    margin-bottom: 24px
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition);
    background: var(--white)
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1)
}

.form-feedback {
    margin-top: 20px;
    padding: 14px;
    border-radius: var(--radius);
    display: none
}

.form-feedback.success {
    display: block;
    background: #d4edda;
    color: #155724
}

.form-feedback.error {
    display: block;
    background: #f8d7da;
    color: #721c24
}

/* ========================================
   SECCIÓN 9: FOOTER 
   FONDO: C (Oscuro)
   ======================================== */
.footer {
    background: var(--fondo-c);
    color: var(--white);
    padding: 70px 0 35px
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px
}

.footer-brand .logo {
    color: var(--white);
    font-size: 1.4rem
}

.footer-brand .logo span {
    color: var(--primary)
}

.footer-brand p {
    margin-top: 14px;
    opacity: 0.7;
    font-size: 0.95rem
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: all var(--transition)
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
    transform: translateX(4px)
}

.footer-social {
    display: flex;
    gap: 16px
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition)
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px)
}

.footer-legal {
    grid-column: 1/-1;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 64px;
    height: 64px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition)
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5)
}

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

/* === MODAL === */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px
}

.modal.active {
    display: flex
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 80, 0.9);
    backdrop-filter: blur(4px)
}

.modal-content {
    position: relative;
    background: var(--white);
    padding: 52px;
    border-radius: 20px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    z-index: 1;
    animation: fadeInUp 0.3s ease
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
    transition: color var(--transition)
}

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

.modal-content h3 {
    font-size: 1.6rem;
    margin-bottom: 14px
}

.modal-content p {
    color: var(--gray);
    margin-bottom: 28px
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 14px
}

/* === RESPONSIVE === */
@media(min-width:969px) {
    .proceso-line {
        display: block
    }
}

@media(max-width:968px) {
    :root {
        --section-padding: 80px
    }

    .nav,
    .header-cta {
        display: none
    }

    .hamburger {
        display: flex
    }

    .nav.active {
        display: flex;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow)
    }

    .hero-gradient {
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 50% 30%, rgba(52, 152, 219, 0.1) 0%, transparent 60%);
        top: 0;
        right: 0;
        opacity: 1
    }

    .hero-inner,
    .about-inner,
    .contacto-grid,
    .geo-inner {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: 2.2rem
    }

    .hero-visual {
        order: -1
    }

    .geo-visual {
        margin-top: 40px
    }

    .footer-inner {
        grid-template-columns: 1fr
    }

    .proceso-timeline {
        flex-direction: column
    }

    .proceso-line {
        display: none
    }
}

@media(max-width:480px) {
    :root {
        --section-padding: 56px
    }

    .hero-ctas {
        flex-direction: column
    }

    .btn-xl {
        padding: 18px 28px
    }

    .section-title {
        font-size: 1.9rem
    }

    .servicio-transform {
        flex-direction: column;
        text-align: center
    }

    .transform-arrow {
        transform: rotate(90deg)
    }

    .contacto-map iframe {
        min-height: 240px
    }
}
