/* index.css - VERSIÓN CORREGIDA Y OPTIMIZADA */
/* ===== PALETA DE COLORES PROFESIONAL Y MODERNA ===== */
:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --primary-light: #4285f4;
    --secondary: #5f6368;
    --accent: #34a853;
    --success: #34a853;
    --warning: #fbbc04;
    --light: #f8f9fa;
    --dark: #202124;
    --gray: #5f6368;
    --light-gray: #e8eaed;
    --border-radius: 10px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --fancy-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-family: 'Montserrat', sans-serif;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 115, 232, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 700px;
    margin: 2.5rem auto 3rem;
    font-size: 1.2rem;
}

/* ===== HEADER Y NAVEGACIÓN PROFESIONAL ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    height: 55px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    justify-content: center;
}

.logo-img {
    height: 22px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    height: 100%;
    align-items: center;
}

.nav-item {
    margin-left: 2.5rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 44px;
}

/* CORRECIÓN CRÍTICA: Subrayado cerca del texto en PC */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark);
    transition: var(--transition);
}

/* ===== SECCIÓN HERO REDISEÑADA ===== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #bbdefb;
    font-weight: 500;
    line-height: 1.4;
}

.hero-features {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-feature i {
    font-size: 2.5rem;
    color: #4fc3f7;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-text p {
    color: #bbdefb;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 220px;
    justify-content: center;
}

/* ===== SECCIÓN SERVICIOS (REDISEÑADA) ===== */
.services {
    padding: 120px 0;
    background-color: var(--light);
}

.services-container {
    width: 100%;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 3rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.service-card.featured {
    border: 2px solid var(--primary);
    transform: none;
}

.service-card.featured:hover {
    transform: translateY(-8px);
}

/* BADGE "RECOMENDADO" CORREGIDO */
.service-badge {
    position: absolute;
    top: 16px;
    right: -40px;
    background-color: var(--primary);
    color: white;
    padding: 6px 45px;
    font-weight: 700;
    transform: rotate(45deg);
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(26, 115, 232, 0.3);
    transform-origin: center;
    text-align: center;
    width: 165px;
    line-height: 1.4;
}

.service-image {
    height: 160px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px 15px;
    text-align: center;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.service-speed {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.95);
}

/* DISTANCIA ENTRE FRASES DE PLANES OPTIMIZADA */
.service-features {
    padding: 15px 20px;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    color: var(--dark);
    font-size: 0.95rem;
    padding-left: 5px;
    min-height: 20px;
    line-height: 1.3;
    padding: 3px 0;
}

.feature-item i {
    color: var(--success);
    margin-right: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-card .btn {
    margin: 0 20px 20px;
    padding: 12px 20px;
    font-size: 1rem;
}

/* ===== INDICADORES DEL CARRUSEL DE PLANES ===== */
.plans-carousel-indicators {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding-bottom: 10px;
}

.plan-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(26, 115, 232, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.plan-indicator.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* ===== SECCIÓN COBERTURA - PERFECTAMENTE ALINEADA ===== */
.coverage {
    padding: 120px 0;
    background-color: white;
}

.coverage-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 3rem;
    align-items: flex-start;
}

.coverage-map {
    flex: 1;
    min-width: 300px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
}

.coverage-list {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    height: 537px;
}

.coverage-subtitle {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
    height: 40px;
}

.coverage-subtitle i {
    margin-right: 12px;
    font-size: 1.4rem;
}

/* Lista de zonas con altura calculada */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    height: calc(537px - 40px);
    overflow-y: auto;
    padding-right: 15px;
    padding-bottom: 15px;
    flex-grow: 1;
}

.zones-grid::-webkit-scrollbar {
    width: 8px;
}

.zones-grid::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.zones-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.zone-column ul li {
    padding: 11px 0;
    border-bottom: 1px dashed var(--light-gray);
    color: var(--dark);
    font-size: 1.05rem;
    transition: var(--transition);
    padding-left: 10px;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.zone-column ul li:hover {
    color: var(--primary);
    padding-left: 15px;
}

/* Contenedor del mapa con dimensiones exactas */
.map-container {
    height: 537px;
    width: 480px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light);
    padding: 0;
}

.coverage-image {
    width: 480px;
    height: 537px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* ===== SECCIÓN NOSOTROS ===== */
.about {
    padding: 120px 0;
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: stretch;
    gap: 60px;
    margin-top: 3rem;
}

.about-text {
    flex: 1;
    background-color: white;
    padding: 25px 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: auto;
}

.about-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.9rem;
    line-height: 1.6;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 320px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: white;
    padding: 25px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--fancy-transition);
    border-left: 4px solid var(--primary);
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.about-feature:last-child {
    margin-bottom: 0;
}

.about-feature:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-left-color: var(--primary);
}

.about-feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.about-feature-content {
    flex: 1;
}

.about-feature-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.about-feature-content p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ===== SECCIÓN APP ===== */
.app-section {
    padding: 100px 0 80px;
    background-color: white;
}

.app-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 2.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* CARRUSEL DE APP */
.carousel-container {
    position: relative;
    width: 320px;
    height: 580px;
    margin: 0 auto;
    margin-left: 40px;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    touch-action: pan-y;
}

.carousel-slide {
    display: flex;
    width: 1280px;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide img {
    width: 320px;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-height: 44px;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    min-height: 14px;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

/* CONTENIDO DE LA APP */
.app-info {
    flex: 1;
    max-width: 600px;
    margin-left: 30px;
}

.app-info h3 {
    margin-bottom: 25px;
    color: var(--dark);
    padding-left: 5px;
}

.app-features {
    margin-bottom: 35px;
}

.app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 15px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    font-size: 1rem;
    min-height: 44px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.app-features li:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.app-features i {
    color: var(--primary);
    margin-right: 12px;
    font-size: 1.2rem;
}

.app-install {
    background-color: var(--light);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    margin-left: 5px;
}

.app-install h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.install-steps {
    margin-left: 0;
    margin-bottom: 20px;
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.install-steps li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: var(--dark);
    font-size: 1rem;
    line-height: 1.5;
}

.install-steps li:before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    width: 25px;
}

/* BOTONES DE DESCARGA */
.app-download {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 20px;
    max-width: 100%;
    margin-left: 5px;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
    min-height: 44px;
}

.download-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.download-btn.google-play {
    border-left: 5px solid var(--primary);
}

.download-btn.app-store {
    border-left: 5px solid var(--primary);
}

.download-btn i {
    font-size: 2rem;
    margin-right: 15px;
}

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

.download-text span {
    font-size: 0.85rem;
    color: var(--gray);
}

.download-text strong {
    font-size: 1.1rem;
    color: var(--dark);
}

/* TEXTO AYUDA */
.app-help {
    font-style: italic;
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 15px;
    margin-left: 5px;
}

.app-help a {
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
}

.app-help a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 20px 0 15px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-left {
    flex: 1;
    min-width: auto;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer-logo-section .logo {
    display: inline-flex;
    align-items: center;
    padding: 0;
    height: auto;
    justify-content: flex-start;
}

.footer-logo-section .logo-img {
    height: 18px;
    filter: brightness(0) invert(1);
    width: auto;
    transition: var(--transition);
}

.footer-logo-section .logo-img:hover {
    transform: scale(1.05);
}

/* CONTENEDOR DERECHO PARA REDES SOCIALES */
.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: auto;
}

/* ICONOS SOCIALES */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    font-size: 1.05rem;
    color: white;
    min-height: 38px;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-2px) scale(1.1);
}

/* FOOTER BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    display: flex;
    justify-content: center;
    color: #adb5bd;
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    width: 100%;
    text-align: center;
}

/* ===== RESPONSIVIDAD PARA MÓVIL ===== */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-features {
        max-width: 600px;
        width: 100%;
    }
    
    .hero-feature {
        padding: 1.25rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .service-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .coverage-map {
        max-width: 100%;
    }
    
    .coverage-container {
        align-items: stretch;
    }
    
    .coverage-list {
        height: auto;
        max-height: 537px;
    }
    
    .zones-grid {
        height: auto;
        max-height: 400px;
    }
    
    .map-container {
        width: 100%;
        height: auto;
        min-height: 300px;
    }
    
    .coverage-image {
        width: 100%;
        height: auto;
        max-width: 480px;
        max-height: 537px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
        align-items: stretch;
    }
    
    .about-features {
        min-width: 100%;
        flex-direction: column;
        gap: 15px;
    }
    
    .about-feature {
        flex: 1;
        min-width: 100%;
        height: auto;
        margin-bottom: 0;
    }
    
    .app-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .app-info {
        max-width: 100%;
        margin-left: 0;
    }
    
    .carousel-container {
        width: 300px;
        height: 540px;
        margin: 0 auto;
        margin-left: auto;
    }
    
    .carousel-slide {
        width: 1200px;
    }
    
    .carousel-slide img {
        width: 300px;
    }
    
    .app-install,
    .app-features li,
    .app-download,
    .app-help {
        margin-left: 0;
    }
    
    .app-download {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer-logo-section {
        align-items: center;
        text-align: center;
        max-width: 100%;
        gap: 8px;
    }
    
    .footer-logo-section .logo {
        justify-content: center;
    }
    
    .footer-right {
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 0;
    }
    
    .footer-bottom {
        padding-top: 12px;
    }
}

/* ===== MEJORAS ESPECÍFICAS PARA MÓVIL (768px o menos) ===== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* MENÚ MÓVIL OPTIMIZADO */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
        width: 100%;
        height: calc(100vh - 60px);
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 40px 0 80px;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 1;
        visibility: hidden;
        box-shadow: none;
        will-change: left;
    }
    
    .nav-menu.active {
        left: 0;
        visibility: visible;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        height: auto;
        display: block;
        opacity: 0;
        transform: translateY(15px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: 0s;
        will-change: transform, opacity;
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--item-index) * 0.05s + 0.2s);
    }
    
    .nav-link {
        font-size: 1.4rem;
        font-weight: 600;
        padding: 22px 30px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.25s ease;
        position: relative;
        overflow: hidden;
        will-change: transform, background-color;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        color: #4fc3f7;
        transform: translateX(5px);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .header {
        height: 60px;
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    .logo-img {
        height: 20px;
    }
    
    /* HERO SECTION */
    .hero {
        padding: 100px 0 50px;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 1.2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 2.5rem;
        line-height: 1.4;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        min-width: auto;
        padding: 18px 25px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    
    /* CARACTERÍSTICAS DEL HERO */
    .hero-features {
        margin-top: 40px;
        gap: 15px;
    }
    
    .hero-feature {
        flex-direction: row;
        padding: 15px;
        border-radius: 12px;
        gap: 15px;
        align-items: center;
        min-height: 90px;
    }
    
    .hero-feature i {
        font-size: 1.8rem;
        margin-bottom: 0;
        margin-top: 0;
    }
    
    .feature-text h4 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .feature-text p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* CARRUSEL DE PLANES EN MÓVIL */
    .services {
        padding: 80px 0 60px;
    }
    
    .services-container {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        margin-top: 2rem;
        padding-bottom: 30px;
        scroll-behavior: smooth;
        width: 100%;
        padding-left: 7.5% !important;
        padding-right: 7.5% !important;
        scroll-padding-left: 7.5%;
        scroll-padding-right: 7.5%;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        flex: 0 0 85vw !important;
        scroll-snap-align: center !important;
        margin-right: 15px;
        max-width: 85vw;
        min-height: 500px;
        opacity: 1;
        transform: none !important;
        animation: none;
        margin-left: 0 !important;
    }

    .service-card:first-child {
        margin-left: 0 !important;
    }
    
    .service-card:last-child {
        margin-right: 0 !important;
    }

    .service-badge {
        display: none;
    }
    
    /* MOSTRAR INDICADORES DEL CARRUSEL DE PLANES EN MÓVIL */
    .plans-carousel-indicators {
        display: flex;
        margin-top: 20px;
        justify-content: center;
        width: 100%;
    }
    
    /* DISTANCIA ENTRE FRASES EN MÓVIL */
    .service-card .feature-item {
        margin-bottom: 5px !important;
        padding: 3px 0;
        font-size: 0.9rem;
        line-height: 1.2 !important;
    }
    
    /* SERVICIOS OPTIMIZADOS */
    .service-card {
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .service-card:hover {
        transform: translateY(-10px) !important;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-header {
        padding: 25px 20px;
    }
    
    .service-features {
        padding: 20px;
    }
    
    .service-card .btn {
        margin: 0 25px 25px;
        padding: 16px;
        font-size: 1.1rem;
        border-radius: 12px;
    }
    
    /* COBERTURA */
    .coverage {
        padding: 80px 0 60px;
    }
    
    .coverage-container {
        gap: 40px;
    }
    
    .map-container {
        height: 350px;
        width: 100%;
        border-radius: 20px;
    }
    
    .coverage-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .zones-grid {
        grid-template-columns: 1fr;
        max-height: 400px;
        padding-right: 10px;
    }
    
    .zone-column ul li {
        padding: 14px 0;
        font-size: 1.1rem;
        border-bottom: 2px dashed rgba(0, 0, 0, 0.1);
    }
    
    /* SOBRE NOSOTROS */
    .about {
        padding: 80px 0 60px;
    }
    
    .about-features {
        gap: 15px;
        width: 100%;
    }
    
    .about-feature {
        padding: 20px;
        border-radius: 16px;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        border-left: 4px solid var(--primary);
        border-top: none;
        min-height: 120px;
        margin-bottom: 0;
        width: 100%;
        gap: 15px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        will-change: transform, box-shadow;
    }
    
    .about-feature:hover {
        transform: scale(1.03) !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        border-left-color: var(--primary);
    }
    
    .about-feature:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease;
    }
    
    .about-feature-icon {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .about-feature-icon i {
        font-size: 1.4rem;
        color: white;
    }
    
    .about-feature-content {
        flex: 1;
    }
    
    .about-feature-content h4 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        color: var(--primary);
    }
    
    .about-feature-content p {
        color: var(--gray);
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0;
    }
    
    /* APP SECTION */
    .app-section {
        padding: 80px 0 60px;
    }
    
    .app-content {
        padding: 0 15px;
    }
    
    .carousel-container {
        width: 280px !important;
        height: 500px !important;
        margin: 0 auto 40px !important;
        border-radius: 30px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
        left: 0 !important;
        transform: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
    }
    
    .carousel-slide {
        width: 1120px;
    }
    
    .carousel-slide img {
        width: 280px !important;
    }
    
    .app-image {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .app-info {
        padding: 0 15px;
    }
    
    .app-features li {
        padding: 18px 20px;
        border-radius: 15px;
        margin-bottom: 15px;
        font-size: 1.05rem;
    }
    
    .app-install {
        padding: 30px 25px;
        border-radius: 20px;
        margin: 30px 0;
    }
    
    .install-steps li {
        padding-left: 35px;
        margin-bottom: 15px;
        font-size: 1.05rem;
    }
    
    /* BOTONES DE DESCARGA */
    .app-download {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .download-btn {
        padding: 20px 25px;
        border-radius: 16px;
        min-width: 100%;
    }
    
    .download-btn i {
        font-size: 2.5rem;
    }
    
    .download-text strong {
        font-size: 1.2rem;
    }
    
    /* FOOTER PARA MÓVIL */
    .footer {
        padding: 25px 0 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .footer-left {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .footer-logo-section {
        align-items: center;
        justify-content: center;
        gap: 0;
    }
    
    .footer-logo-section .logo-img {
        height: 16px;
    }
    
    .footer-right {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-links a {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        background-color: rgba(255, 255, 255, 0.12);
    }
    
    .footer-bottom {
        padding-top: 15px;
        margin-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        font-size: 0.8rem;
    }
    
    /* MEJORAS PARA EL CARRUSEL DE PLANES EN MÓVIL */
    .services-grid {
        cursor: grab !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
    }

    .services-grid:active {
        cursor: grabbing !important;
    }

    .service-card {
        -webkit-tap-highlight-color: transparent !important;
        tap-highlight-color: transparent !important;
        touch-action: pan-y !important;
        will-change: transform !important;
    }

    /* INDICADORES MÁS VISIBLES */
    .plans-carousel-indicators {
        margin-top: 20px !important;
        padding-bottom: 15px !important;
    }

    .plan-indicator {
        width: 12px !important;
        height: 12px !important;
        background-color: rgba(26, 115, 232, 0.3) !important;
        transition: all 0.3s ease !important;
    }

    .plan-indicator.active {
        background-color: var(--primary) !important;
        transform: scale(1.3) !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin: 1.5rem auto 2.5rem;
        padding: 0 15px;
    }
    
    .services-grid {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .carousel-container {
        width: 260px;
        height: 460px;
    }
    
    .carousel-slide {
        width: 1040px;
    }
    
    .carousel-slide img {
        width: 260px;
    }
    
    .footer-logo-section .logo-img {
        height: 14px;
    }
    
    .social-links {
        gap: 6px;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
    
    .service-badge {
        right: -32px;
        padding: 5px 38px;
        top: 12px;
        font-size: 0.8rem;
        width: 155px;
    }
}

/* TABLETS PEQUEÑAS */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .carousel-container {
        width: 320px !important;
        height: 560px !important;
    }
    
    .carousel-slide {
        width: 1280px;
    }
    
    .carousel-slide img {
        width: 320px !important;
    }
}

/* MANTENER EN PC */
@media (min-width: 769px) {
    .service-card .feature-item {
        margin-bottom: 6px !important;
    }
    
    .services-container {
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
}
