/* Variables CSS */
:root {
    /* Colores */
    --primary-dark: #061d33;
    --primary-dark-hover: #030f1c;
    --primary-light: #0082c8;
    --primary-light-hover: #006fa8;
    --accent-blue: #eef6fc;
    --accent-blue-dark: #0b3459;
    --whatsapp-color: #25d366;
    --whatsapp-color-hover: #1ebd58;
    --text-color-dark: #1e2d3d;
    --text-color-light: #ffffff;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
    --white: #ffffff;
    
    /* Sombras y Bordes */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 130, 200, 0.25);
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Tipografias */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* Reset y Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color-dark);
    background-color: var(--white);
    line-height: 1.6;
}

.page-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Tipografia */
h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.25;
}

/* Botones base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header & Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background-color: var(--accent-blue);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.logo-icon i {
    width: 24px;
    height: 24px;
}

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

.logo-brand {
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-secondary);
    color: var(--primary-dark);
    letter-spacing: 0.5px;
    line-height: 1;
}

.logo-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 2px;
    margin-top: 2px;
    line-height: 1;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-color-dark);
    padding: 8px 4px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--primary-light);
}

.btn-secondary-nav {
    background-color: var(--accent-blue);
    color: var(--primary-light);
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--border-radius-sm);
}

.btn-secondary-nav:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.btn-call-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-call-header:hover {
    background-color: var(--primary-light-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.phone-ring {
    animation: ringPulse 2s infinite;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 8px;
}

@keyframes ringPulse {
    0% { transform: scale(1); }
    10% { transform: scale(0.9) rotate(-3deg); }
    20% { transform: scale(1.1) rotate(3deg); }
    30% { transform: scale(0.9) rotate(-3deg); }
    40% { transform: scale(1.1) rotate(3deg); }
    50% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    background-color: var(--primary-dark);
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 30%, var(--accent-blue-dark) 0%, transparent 50%);
    opacity: 0.5;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.badge-urgencia {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ff3838;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.7);
    animation: pulseRed 1.8s infinite;
}

@keyframes pulseRed {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 56, 56, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0);
    }
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.location-highlight {
    color: var(--primary-light);
    border-bottom: 3px double var(--primary-light);
    display: inline-block;
    padding-bottom: 2px;
    transition: var(--transition-smooth);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    font-weight: 400;
    max-width: 580px;
}

/* Buscador de Cobertura */
.coverage-search-card {
    background-color: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: var(--border-radius-md);
    margin-bottom: 32px;
    max-width: 600px;
    box-shadow: var(--shadow-sm);
}

.search-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.pin-active {
    color: var(--primary-light);
    animation: bouncePin 2s infinite;
}

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

.search-input-wrapper {
    position: relative;
    display: flex;
}

.search-input-wrapper input {
    width: 100%;
    background-color: var(--white);
    border: 2px solid transparent;
    padding: 14px 44px 14px 18px;
    border-radius: var(--border-radius-sm);
    color: var(--text-color-dark);
    font-size: 15px;
    font-weight: 500;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
    transition: var(--transition-fast);
}

.search-input-wrapper input:focus {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.clear-search-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: none;
    padding: 4px;
}

.clear-search-btn:hover {
    color: var(--primary-dark);
}

.autocomplete-list {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 50;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    display: none;
}

.autocomplete-item {
    padding: 12px 18px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-fast);
}

.autocomplete-item:hover {
    background-color: var(--accent-blue);
    color: var(--primary-light);
}

.autocomplete-item span.zone-tag {
    font-size: 11px;
    background-color: var(--border-color);
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.coverage-badge {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.4;
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
}

.coverage-badge.confirmed {
    background-color: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #8ceca9;
}

.coverage-badge.confirmed i {
    color: var(--whatsapp-color);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Botones del Hero */
.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-primary-hero {
    background-color: var(--whatsapp-color);
    color: var(--white);
    font-size: 16px;
    padding: 16px 32px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.btn-primary-hero:hover {
    background-color: var(--whatsapp-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35);
}

.btn-secondary-hero {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    padding: 16px 32px;
}

.btn-secondary-hero:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-2px);
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.trust-item i {
    color: var(--primary-light);
    width: 18px;
    height: 18px;
}

.trust-item .divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 480px;
}

.hero-image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1;
    border-radius: calc(var(--border-radius-lg) - 4px);
}

.badge-floating {
    position: absolute;
    bottom: -20px;
    left: 24px;
    background-color: var(--primary-light);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    z-index: 10;
    animation: softFloat 3s ease-in-out infinite;
}

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

.badge-floating .number {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-secondary);
}

.badge-floating .lbl {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Live Status Bar */
.live-status-bar {
    background-color: var(--accent-blue);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.status-container {
    display: flex;
    justify-content: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--primary-dark);
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.status-dot-blink {
    width: 10px;
    height: 10px;
    background-color: #ff3838;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.5);
    animation: statusBlink 1.5s infinite;
    flex-shrink: 0;
}

@keyframes statusBlink {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 56, 56, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 56, 56, 0);
    }
}

/* Secciones generales */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    background-color: var(--accent-blue);
    padding: 6px 14px;
    border-radius: 50px;
}

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

.section-title {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
}

.section-subtitle.text-light-gray {
    color: rgba(255, 255, 255, 0.8);
}

/* Servicios Section */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 130, 200, 0.2);
}

.service-icon-bg {
    width: 60px;
    height: 60px;
    background-color: var(--accent-blue);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

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

.service-icon-bg i {
    width: 30px;
    height: 30px;
}

.service-card-title {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--primary-dark);
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-card-list {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card-list li {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-color-dark);
}

.service-card-list li i {
    width: 16px;
    height: 16px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-light);
    margin-top: auto;
}

.service-card-link i {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.service-card:hover .service-card-link i {
    transform: translateX(4px);
}

/* Tecnologia Section */
.tech-section {
    padding: 100px 0;
    background-color: var(--primary-dark);
    color: var(--white);
}

.tech-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.tech-info {
    text-align: left;
}

.tech-info .section-title {
    text-align: left;
}

.tech-info .section-subtitle {
    text-align: left;
    margin-bottom: 40px;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tech-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tech-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(0, 130, 200, 0.15);
    border: 1px solid rgba(0, 130, 200, 0.25);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.tech-icon i {
    width: 24px;
    height: 24px;
}

.tech-text h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 8px;
}

.tech-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Slider de Equipamiento */
.equipment-slider {
    position: relative;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slides-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1.1;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide-info {
    position: relative;
    z-index: 3;
    background: linear-gradient(to top, rgba(5, 25, 46, 0.95) 0%, rgba(5, 25, 46, 0.6) 60%, transparent 100%);
    padding: 30px;
    color: var(--white);
}

.slide-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    background-color: var(--primary-light);
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.slide-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.slide-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
    position: relative;
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-btn:hover {
    background-color: var(--primary-light);
}

.slider-btn i {
    width: 20px;
    height: 20px;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dots .dot.active {
    background-color: var(--primary-light);
    width: 20px;
    border-radius: 4px;
}

/* Seccion Sobre Nosotros / Historia */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.about-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card-stat {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary-light);
    padding: 24px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.about-card-stat:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-light);
    font-family: var(--font-secondary);
    display: block;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color-dark);
}

.about-content {
    text-align: left;
}

.about-lead {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color-dark);
    margin-bottom: 20px;
    line-height: 1.5;
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.about-values {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.value-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-blue);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
}

.value-badge i {
    width: 16px;
    height: 16px;
}

/* Zonas de Cobertura Section */
.coverage-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.coverage-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-family: var(--font-secondary);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-color-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

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

.tab-btn.active {
    background-color: var(--primary-light);
    color: var(--white);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-intro {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 48px;
}

.neighborhood-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: center;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.neighborhood-card:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.neighborhood-card.active-location {
    border-color: var(--primary-light);
    color: var(--white);
    background-color: var(--primary-light);
    font-weight: 600;
    box-shadow: var(--shadow-glow);
}

/* Banner de Cobertura */
.coverage-footer-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.banner-icon-bg {
    width: 56px;
    height: 56px;
    background-color: var(--accent-blue);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-icon-bg i {
    width: 24px;
    height: 24px;
}

.banner-content h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.banner-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Testimonios */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--white);
}

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

.testimonial-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars-row {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-fill {
    color: #ffb800;
    fill: #ffb800;
    width: 18px;
    height: 18px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-color-dark);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-secondary);
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 14px;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* FAQs Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.faq-accordion-wrapper {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.faq-item.active {
    border-color: var(--primary-light);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-content p {
    padding: 0 24px 20px 24px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contacto Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: stretch;
}

.contact-details-box {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 48px;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-box-title {
    font-size: 32px;
    color: var(--white);
    margin-top: 12px;
    margin-bottom: 16px;
}

.contact-box-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: auto;
}

.info-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.info-icon.icon-wa {
    color: var(--whatsapp-color);
}

.info-icon i {
    width: 20px;
    height: 20px;
}

.info-texts {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.info-texts span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.info-texts strong {
    font-size: 18px;
    font-family: var(--font-secondary);
    word-break: break-all;
    overflow-wrap: anywhere;
}

.phone-link:hover {
    color: var(--primary-light);
}

.working-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    margin-top: 32px;
    font-size: 13px;
}

.working-badge i {
    color: var(--primary-light);
    flex-shrink: 0;
}

/* Caja de Formulario */
.contact-form-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 48px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color-dark);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select,
.lead-form textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    background-color: var(--white);
    color: var(--text-color-dark);
    transition: var(--transition-fast);
}

.input-wrapper select {
    appearance: none;
    cursor: pointer;
}

.lead-form textarea {
    padding-left: 14px;
    resize: vertical;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.lead-form textarea:focus {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.btn-submit-form {
    background-color: var(--primary-light);
    color: var(--white);
    margin-top: 10px;
}

.btn-submit-form:hover {
    background-color: var(--primary-light-hover);
    box-shadow: var(--shadow-glow);
}

.form-status {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius-sm);
}

.form-status.success {
    padding: 12px;
    background-color: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #1a7f3f;
}

.form-status.error {
    padding: 12px;
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #b91c1c;
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary-light);
}

.footer-brand-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-socials a:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.footer-links-col h4,
.footer-contact-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col ul a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links-col ul a:hover {
    color: var(--primary-light);
}

.footer-contact-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-tel-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
}

.footer-tel-badge i {
    color: var(--primary-light);
}

.footer-tel-badge div {
    display: flex;
    flex-direction: column;
}

.footer-tel-badge span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-tel-badge strong {
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Botones Flotantes */
.float-btn {
    position: fixed;
    z-index: 999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.float-whatsapp {
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    box-shadow: none;
}

.wa-float-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    transition: var(--transition-smooth);
}

.float-whatsapp:hover {
    background-color: transparent;
    transform: none;
    box-shadow: none;
}

.float-whatsapp:hover .wa-float-icon {
    transform: translateY(-4px) scale(1.05);
    filter: drop-shadow(0 12px 28px rgba(37, 211, 102, 0.3));
}

.tooltip-wa {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.tooltip-wa::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-dark);
}

.float-whatsapp:hover .tooltip-wa {
    opacity: 1;
}

/* Boton de llamada flotante (oculto en desktop) */
.float-phone {
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    color: var(--white);
    display: none;
}

.float-phone i {
    width: 28px;
    height: 28px;
}

.float-phone:hover {
    background-color: var(--primary-light-hover);
    transform: translateY(-4px) scale(1.05);
}

.tooltip-phone {
    position: absolute;
    left: 76px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.tooltip-phone::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent var(--primary-dark) transparent transparent;
}

.float-phone:hover .tooltip-phone {
    opacity: 1;
}


/* --- RESPONSIVE MEDIA QUERIES --- */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 38px;
    }
    
    .tech-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 20px;
    }
    
    .about-card-stat {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Menu movil */
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        height: calc(100vh - 80px);
        height: calc(100dvh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 0 0 0;
        gap: 24px;
        box-shadow: var(--shadow-md);
        box-sizing: border-box;
        margin: 0;
        overflow-y: auto;
        z-index: 9999;
    }
    
    .nav-menu.nav-open {
        display: flex;
    }
    
    .nav-link {
        font-size: 18px;
        width: 80%;
        text-align: center;
        padding: 12px 0;
    }
    
    .btn-secondary-nav {
        width: 80%;
        text-align: center;
        padding: 12px 0;
        margin-top: 12px;
    }
    
    .btn-call-header .call-text {
        display: none;
    }
    
    .btn-call-header {
        padding: 12px;
        border-radius: 50%;
    }
    
    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .badge-urgencia {
        align-self: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
    }
    
    .coverage-search-card {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-primary-hero,
    .btn-secondary-hero {
        font-size: 14px;
        padding: 14px 20px;
    }
    
    .hero-trust-badges {
        justify-content: center;
        gap: 12px;
    }
    
    .trust-item .divider {
        display: none;
    }
    
    .hero-visual {
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Cobertura */
    .coverage-tabs {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .coverage-footer-banner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        padding: 24px 20px;
    }
    
    /* Contacto */
    .contact-details-box {
        padding: 24px;
    }
    
    .contact-form-box {
        padding: 24px;
    }

    .info-texts strong {
        font-size: 16px;
    }
    
    /* Footer */
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
    
    /* Boton de llamada flotante en moviles */
    .float-phone {
        display: flex;
    }

    /* About */
    .about-visual {
        flex-direction: column;
        gap: 16px;
    }
    
    .about-card-stat {
        width: 100%;
    }

    /* Secciones generales */
    .services-section,
    .tech-section,
    .about-section,
    .coverage-section,
    .testimonials-section,
    .faq-section,
    .contact-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-brand {
        font-size: 18px;
    }
    
    .logo-sub {
        font-size: 10px;
        letter-spacing: 1px;
    }
    
    .contact-box-title {
        font-size: 24px;
    }

    .hero-title {
        font-size: 24px;
    }

    .container {
        padding: 0 16px;
    }

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

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

/* Nuevos estilos de logo y loader spinner */
.logo-img {
    height: 48px;
    width: 48px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    border: 2px solid rgba(0, 130, 200, 0.1);
}

.footer-logo-img {
    height: 38px;
    width: 38px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

/* Fix para visualización de iconos de redes sociales y link de Instagram en footer */
.footer-socials a i,
.footer-socials a svg {
    width: 18px;
    height: 18px;
}

.footer-instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
    width: fit-content;
}

.footer-instagram-link:hover {
    background-color: #e1306c; /* Color de Instagram */
    border-color: #e1306c;
    box-shadow: 0 0 15px rgba(225, 48, 108, 0.4);
    transform: translateY(-2px);
}

.footer-instagram-link i,
.footer-instagram-link svg {
    width: 20px;
    height: 20px;
    color: var(--primary-light);
    transition: var(--transition-smooth);
}

.footer-instagram-link:hover i,
.footer-instagram-link:hover svg {
    color: var(--white);
}

/* Botón de Reseñas de Google Maps */
.testimonials-action {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.btn-google-reviews {
    background-color: var(--white);
    color: var(--primary-dark);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

.btn-google-reviews:hover {
    background-color: var(--accent-blue);
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-google-reviews svg {
    color: #ffb800;
    fill: #ffb800;
    width: 20px;
    height: 20px;
}
