/*
Theme Name: Tearmotec
Theme URI: https://tearmotec.cl
Author: Tearmotec
Author URI: https://tearmotec.cl
Description: Tema personalizado para Tearmotec - Soluciones Tecnológicas a tu Medida
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tearmotec
Tags: technology, business, responsive
*/

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-primary:   #0082FB;
    --blue-dark:      #004F9F;
    --blue-deeper:    #003070;
    --blue-light:     #E8F4FF;
    --blue-glow:      rgba(0, 130, 251, 0.25);
    --green-wa:       #25D366;
    --green-wa-dark:  #1DA851;
    --white:          #FFFFFF;
    --off-white:      #F7FAFF;
    --gray-100:       #F0F4FA;
    --gray-200:       #D8E3F0;
    --gray-400:       #8FA8C8;
    --gray-600:       #4A6585;
    --gray-900:       #0D1B2A;
    --text-main:      #1A2E45;
    --text-light:     #5A7A9A;

    --font-head:  'Sora', sans-serif;
    --font-body:  'DM Sans', sans-serif;

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --radius-xl:  32px;

    --shadow-sm:  0 2px 8px rgba(0,82,180,0.08);
    --shadow-md:  0 8px 32px rgba(0,82,180,0.14);
    --shadow-lg:  0 20px 60px rgba(0,82,180,0.18);
    --shadow-glow:0 0 40px rgba(0,130,251,0.3);

    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p { font-size: 1.05rem; color: var(--text-light); }

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-primary);
    background: var(--blue-light);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--blue-primary);
    border-radius: 50%;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--blue-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,130,251,0.35);
}
.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,130,251,0.45);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
}
.btn-outline:hover {
    background: var(--blue-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--green-wa);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
    background: var(--green-wa-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37,211,102,0.45);
    color: var(--white);
}

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* =========================================
   HEADER / NAV
   ========================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,82,180,0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 32px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--blue-glow);
}

.logo-icon svg { width: 22px; height: 22px; color: white; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .brand {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--blue-dark);
    letter-spacing: -0.02em;
}

.logo-text .tagline {
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-600);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--blue-primary);
    background: var(--blue-light);
}

/* Nav CTA */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-wa-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: var(--green-wa);
    padding: 9px 18px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: 0 3px 12px rgba(37,211,102,0.3);
}

.btn-wa-nav:hover {
    background: var(--green-wa-dark);
    transform: translateY(-1px);
    color: white;
}

.btn-wa-nav svg { width: 17px; height: 17px; }

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

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

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--off-white);
}

/* Animated background grid */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,130,251,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,130,251,0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Glow blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--blue-primary), transparent);
    top: -100px; right: -100px;
}

.hero-blob-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, var(--blue-dark), transparent);
    bottom: 0px; left: -80px;
    animation-delay: -4s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

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

.hero-content { max-width: 580px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--blue-primary);
    color: var(--blue-primary);
    font-family: var(--font-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    animation: fadeUp 0.6s ease both;
}

.hero-badge .dot {
    width: 7px; height: 7px;
    background: var(--blue-primary);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,130,251,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(0,130,251,0); }
}

.hero h1 {
    color: var(--blue-deeper);
    margin-bottom: 20px;
    animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 span {
    color: var(--blue-primary);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-primary), transparent);
    border-radius: 2px;
    animation: fadeUp 0.6s 0.5s ease both;
    opacity: 0;
    animation-fill-mode: both;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 36px;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-sub strong {
    color: var(--text-main);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 0.8s 0.2s ease both;
}

.hero-card-stack {
    position: relative;
    width: 340px; height: 340px;
}

.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,130,251,0.1);
    transition: var(--transition-slow);
}

.hero-card-main {
    width: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
}

.hero-card-main .card-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-glow);
}

.hero-card-main .card-icon svg {
    width: 32px; height: 32px;
    color: white;
}

.hero-card-main h4 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 6px;
}

.hero-card-main p {
    font-size: 0.82rem;
    color: var(--text-light);
}

.hero-card-2 {
    width: 180px;
    top: -20px; right: -10px;
    z-index: 2;
    transform: rotate(5deg);
    padding: 16px;
}

.hero-card-2 .mini-stat {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue-primary);
    line-height: 1;
}

.hero-card-2 p {
    font-size: 0.75rem;
    margin-top: 4px;
}

.hero-card-3 {
    width: 160px;
    bottom: -10px; left: -20px;
    z-index: 2;
    transform: rotate(-4deg);
    padding: 16px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
}

.hero-card-3 .mini-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.hero-card-3 .mini-icon svg {
    width: 20px; height: 20px;
    color: white;
}

.hero-card-3 h4 {
    color: white;
    font-size: 0.85rem;
}

.hero-card-3 p {
    color: rgba(255,255,255,0.7);
    font-size: 0.72rem;
}

/* Floating particles */
.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--blue-primary);
    opacity: 0.5;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    100% { transform: translateY(-200px) rotate(360deg); opacity: 0; }
}

/* Stats bar */
.hero-stats {
    margin-top: 48px;
    display: flex;
    gap: 40px;
    animation: fadeUp 0.6s 0.4s ease both;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* =========================================
   PARA QUIÉN TRABAJAMOS
   ========================================= */
.para-quien {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    max-width: 520px;
    margin: 12px auto 0;
    font-size: 1.05rem;
}

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

.target-card {
    position: relative;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.target-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-lg);
}

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

.target-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.target-card:hover .target-icon,
.target-card:hover h3,
.target-card:hover p {
    color: white;
}

.target-card:hover .target-icon-wrap {
    background: rgba(255,255,255,0.15);
}

.target-icon-wrap {
    width: 72px; height: 72px;
    background: var(--blue-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.target-icon {
    width: 36px; height: 36px;
    color: var(--blue-primary);
    transition: var(--transition);
}

.target-card h3 {
    position: relative; z-index: 1;
    margin-bottom: 12px;
    transition: var(--transition);
}

.target-card p {
    position: relative; z-index: 1;
    font-size: 0.95rem;
    transition: var(--transition);
}

/* =========================================
   SERVICIOS
   ========================================= */
.servicios {
    padding: 100px 0;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.servicios::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-dark), var(--blue-primary));
}

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

.servicio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.servicio-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.servicio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,130,251,0.2);
}

.servicio-icon-wrap {
    width: 56px; height: 56px;
    background: var(--blue-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
    font-size: 1.6rem;
}

.servicio-card:hover .servicio-icon-wrap {
    background: var(--blue-primary);
    transform: scale(1.05);
}

.servicio-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.servicio-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.servicio-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-primary);
    transition: var(--transition);
}

.servicio-link svg { width: 16px; height: 16px; transition: var(--transition); }

.servicio-card:hover .servicio-link { gap: 10px; }
.servicio-card:hover .servicio-link svg { transform: translateX(4px); }

/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 50%, var(--blue-primary) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent);
    top: -200px; right: -100px;
    pointer-events: none;
}

.cta-content {
    position: relative; z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.cta-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.btn-wa-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--green-wa);
    color: white;
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 18px 36px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(37,211,102,0.4);
    transition: var(--transition);
    text-decoration: none;
}

.btn-wa-large:hover {
    background: var(--green-wa-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37,211,102,0.5);
    color: white;
}

.btn-wa-large svg { width: 24px; height: 24px; }

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--gray-900);
    padding: 64px 0 32px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-dark));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-text .brand { color: white; }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,0.4); }

.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-top: 16px;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-primary);
    margin-bottom: 20px;
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact-list li svg {
    width: 16px; height: 16px;
    color: var(--blue-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-contact-list a:hover { color: var(--blue-primary); }

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: white;
    transform: translateY(-3px);
}

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

.social-wa-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.88rem;
    color: var(--green-wa);
    transition: var(--transition);
}

.social-wa-link svg { width: 16px; height: 16px; }
.social-wa-link:hover { color: var(--green-wa-dark); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom a {
    color: var(--blue-primary);
    transition: var(--transition);
}
.footer-bottom a:hover { color: white; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   MOBILE NAV OVERLAY
   ========================================= */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,30,70,0.97);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition);
}

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

.mobile-nav-close {
    position: absolute;
    top: 24px; right: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-close svg { width: 28px; height: 28px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 968px) {
    .nav-menu,
    .nav-cta { display: none; }

    .nav-toggle { display: flex; }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }

    .target-grid { grid-template-columns: 1fr; gap: 20px; }

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

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

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn { width: 100%; justify-content: center; }

    .hero-stats { gap: 24px; }

    .footer-bottom { flex-direction: column; text-align: center; }

    .cta-banner { padding: 60px 0; }
    .btn-wa-large { padding: 16px 28px; font-size: 0.95rem; }
}
