/* ConexiónMax ISP - Estilos 2025 */

:root {
    /* 🎨 Colores principales */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --primary-dark: #5a6fd8;
    --secondary-color: #764ba2;
    --accent-color: #00d4ff;
    --success-color: #00c851;
    --warning-color: #ffb400;
    --danger-color: #ff4444;

    /* ⚙️ Colores neutros */
    --dark: #0a0e27;
    --dark-secondary: #1a1f3a;
    --dark-tertiary: #252a4a;
    --light: #ffffff;
    --light-secondary: #f8fafc;
    --light-tertiary: #e2e8f0;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-dark: #334155;

    /* 🔤 Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Poppins', sans-serif;

    /* 📏 Espaciado y diseño */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
    --card-padding: 2rem;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 24px;

    /* ☁️ Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);

    /* ⏱️ Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* 🌫️ Efecto glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --backdrop-blur: blur(20px);
}


/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

/* Elementos base */
img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Botones base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.2;
    user-select: none;
}

/* Efecto brillo al hacer hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: all var(--transition-slow);
    z-index: 1;
    pointer-events: none;
}

.btn:hover::before {
    left: 200%;
}

/* Para que el contenido esté encima del brillo */
.btn > * {
    position: relative;
    z-index: 2;
}

/* Primario: gradiente moderno */
.btn-primary {
    background: var(--primary-gradient);
    color: var(--light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Secundario: efecto glassmorphism */
.btn-secondary {
    background: var(--glass-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: var(--backdrop-blur);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Outline: estilo limpio */
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


/* HEADER BASE */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;background: rgba(20, 40, 70, 0.98);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(200, 200, 200, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* HEADER AL ESCROLLEAR */
.header.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* CONTENIDO DEL HEADER */
.header-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* LOGO */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.logo:hover {
    color: var(--secondary-color);
}

.logo i {
    font-size: 2.25rem;
    background: linear-gradient(45deg, var(--secondary-color), #f093fb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform var(--transition-fast);
}

.logo:hover i {
    transform: scale(1.1) rotate(8deg);
}

/* MENÚ DE NAVEGACIÓN */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    font-size: 1rem;
    color: white;  /* ← Cambiado de var(--gray-dark) a white */
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
    transition: width var(--transition-normal);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* BOTÓN PARA MÓVILES */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.menu-toggle:hover {
    transform: scale(1.1);
}


.hero {
    position: relative;
    height: 770px; /* Añade esto */
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    
}

/* Swiper Slide Base */
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Imagen de fondo con zoom animado */
.swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1);
    animation: zoomIn 15s ease-in-out infinite alternate;
}

/* Overlay oscuro por encima */
.swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Contenido encima */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* Inicial: texto y stats invisibles y desplazados */
.hero-text h1,
.hero-text p,
.hero-stats {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animaciones en cascada al activar slide */
.swiper-slide-active .hero-text h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s; /* Título primero */
}

.swiper-slide-active .hero-text p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s; /* Luego párrafo */
}

.swiper-slide-active .hero-stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s; /* Finalmente stats */
}

/* 🎞️ Zoom animation para fondo */
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Fondos con zoom animado */
.swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1);
    animation: zoomIn 15s ease-in-out infinite alternate;
}

/* Fondos de cada slide */
.slide-internet::before {
    background-image: url('../img/pigtail.png');
}

.slide-customers::before {
    background-image: url('../img/antena.png');
}

.slide-support::before {
    background-image: url('../img/cctv.png');
}

/* Texto styling */
.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--light);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease, transform 0.5s ease;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 2rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Stats styling */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}


.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-family: inherit; /* Hereda la misma fuente del título */
    font-size: 1.6rem; /* Más pequeño que el título pero conservando el estilo */
    font-weight: 900; /* Mismo peso que el título (ajusta según el título) */
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9); /* Mismo color o ligeramente transparente */
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature, .channel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--light);
}

.feature i, .channel i {
    width: 20px;
    color: var(--accent-color);
}

.support-channels {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.speed-indicator {
    position: relative;
}

.speed-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--backdrop-blur);
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.speed-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--light);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.speed-unit {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navegación del slider */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--light);
    transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--light);
    border-radius:30px;
    transition: var(--transition-normal);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Secciones */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 40%;
    height: 200%;
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.08) 0%, rgba(59, 130, 246, 0.04) 50%, transparent 100%);
    transform: rotate(-15deg);
    animation: float 6s ease-in-out infinite;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 30%;
    height: 150%;
    background: linear-gradient(-45deg, rgba(30, 58, 138, 0.06) 0%, transparent 70%);
    transform: rotate(15deg);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: rotate(-15deg) translateY(0px); }
    50% { transform: rotate(-15deg) translateY(-20px); }
}

.services-container {
    position: relative;
    z-index: 2;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 138, 0.1);
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(30, 58, 138, 0.05), 
        transparent
    );
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.2);
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.95);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4);
}

.service-icon i {
    font-size: 2.2rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #3b82f6;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    font-size: 1rem;
}

.service-features {
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-card:hover .service-features li {
    color: #334155;
    transform: translateX(5px);
}

.service-features i {
    color: #10b981;
    font-size: 1rem;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-price {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(30, 58, 138, 0.1);
}

.service-price .price-text {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.service-price .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
}

.service-cta {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.service-cta .btn {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.service-cta .btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .services-header h2 {
        font-size: 2rem;
    }
}

/* Animación de entrada */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Plans Section - Elegant Modern Design */
.plans {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    color: white;
}

.plans::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        background: 
            radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    }
    50% { 
        background: 
            radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    }
}

.plans-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.plans-header {
    text-align: center;
    margin-bottom: 80px;
}

.plans-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.plans-header p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    align-items: stretch;
}

.plan-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem 1.8rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    text-align: center;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(59, 130, 246, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card:hover {
    transform: translateY(-15px);
    border-color: #00d4ff;
    box-shadow: 
        0 0 40px #00d4ff,
        0 0 80px rgba(0, 212, 255, 0.4),
        0 0 120px rgba(0, 212, 255, 0.2),
        inset 0 0 30px rgba(0, 212, 255, 0.1),
        0 25px 50px rgba(0, 0, 0, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.plan-card.featured {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        rgba(139, 92, 246, 0.08) 50%,
        rgba(16, 185, 129, 0.08) 100%
    );
    border: 2px solid rgba(0, 212, 255, 0.3);
    transform: scale(1.02);
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.3),
        0 0 60px rgba(0, 212, 255, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.2);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-18px);
    border-color: #00ffff;
    box-shadow: 
        0 0 50px #00ffff,
        0 0 100px rgba(0, 255, 255, 0.5),
        0 0 150px rgba(0, 255, 255, 0.3),
        inset 0 0 40px rgba(0, 255, 255, 0.1),
        0 30px 60px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1) 0%, 
        rgba(139, 92, 246, 0.08) 50%,
        rgba(16, 185, 129, 0.08) 100%
    );
}

.plan-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
    z-index: 3;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4); }
    to { box-shadow: 0 20px 40px rgba(59, 130, 246, 0.6); }
}

.plan-type {
    font-size: 1.1rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.plan-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.plan-price {
    margin-bottom: 3rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.plan-price .currency {
    font-size: 2rem;
    color: #3b82f6;
    font-weight: 700;
}

.plan-price .amount {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.plan-price .period {
    font-size: 1.2rem;
    color: #94a3b8;
    font-weight: 500;
}

.plan-description {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.plan-features {
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.plan-features li:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateX(8px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.plan-features .feature-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #10b981 0%, #00d4ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.plan-features .feature-icon i {
    font-size: 0.8rem;
    color: white;
}

.plan-cta {
    margin-top: auto;
}

.plan-cta .btn {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.plan-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    transition: left 0.6s ease;
}

.plan-cta .btn:hover::before {
    left: 100%;
}

.plan-cta .btn:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #00ffff 100%);
    border-color: #00ffff;
    transform: translateY(-3px);
    box-shadow: 
        0 0 25px #00d4ff,
        0 0 50px rgba(0, 212, 255, 0.4),
        0 15px 30px rgba(0, 0, 0, 0.3);
    color: #000;
    text-shadow: none;
}

.plan-card.featured .plan-cta .btn {
    background: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.plan-card.featured .plan-cta .btn:hover {
    background: linear-gradient(135deg, #00ffff 0%, #7c3aed 100%);
    box-shadow: 
        0 0 30px #00ffff,
        0 0 60px rgba(0, 255, 255, 0.5),
        0 20px 40px rgba(0, 0, 0, 0.3);
    color: #000;
}

/* Floating elements decoration */
.plan-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.plan-card:hover::after {
    opacity: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .plans {
        padding: 80px 0;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plan-card {
        padding: 2.5rem 2rem;
        min-height: auto;
    }
    
    .plan-card.featured {
        transform: scale(1.02);
    }
    
    .plans-header h2 {
        font-size: 2.5rem;
    }
    
    .plan-price .amount {
        font-size: 4rem;
    }
}

/* Entry animations */
.plan-card {
    opacity: 0;
    transform: translateY(60px);
    animation: slideInUp 1s ease forwards;
}

.plan-card:nth-child(1) { animation-delay: 0.2s; }
.plan-card:nth-child(2) { animation-delay: 0.4s; }
.plan-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interactive grid effect */
.plans-grid:hover .plan-card:not(:hover) {
    opacity: 0.6;
    transform: scale(0.95);
}

.plans-grid:hover .plan-card.featured:not(:hover) {
    transform: scale(1.02);
    opacity: 0.8;
}
/* Coverage Section */
.coverage {
    background: var(--light-secondary);
    position: relative;
}

.coverage-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.coverage-cities h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 2rem;
}

.cities-grid {
    display: grid;
    gap: 1.5rem;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-left: 4px solid var(--primary-color);
}

.city-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.city-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.city-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.city-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

.coverage-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--border-radius);
    color: var(--primary-color);
}

.coverage-map {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Variables CSS (agregar al inicio de tu archivo CSS) */
:root {
    --light: #f8fafc;
    --light-tertiary: #e2e8f0;
    --primary-color: #3b82f6;
    --dark: #1e293b;
    --gray: #64748b;
    --border-radius-xl: 1rem;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* MAP CONTAINER (RESPONSIVO Y ESTÉTICO) */
.map-container {
    box-sizing: border-box;
    text-align: center;
    padding: 1rem;
    background: var(--light);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-tertiary);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden; /* Evita desbordamiento */
}

/* Para iframes de Google Maps - SOLUCIÓN RESPONSIVE */
.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 8px;
    display: block; /* Elimina espacios en blanco */
}

/* Para imágenes dentro del mapa */
.map-container img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    display: block;
}

/* Contenedor con aspect ratio responsive */
.map-container.aspect-ratio {
    position: relative;
    padding-bottom: 60%; /* Ajustado para mejor visualización */
    height: 0;
    overflow: hidden;
    padding-top: 0; /* Importante para el cálculo correcto */
}

.map-container.aspect-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Icono del contenedor */
.map-container i {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* Título */
.map-container h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

/* Párrafo */
.map-container p {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    padding: 0 1rem;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .map-container {
        padding: 0.5rem;
        margin: 0 0.5rem;
        border-radius: 8px;
    }
    
    .map-container iframe {
        height: 300px; /* Altura más apropiada para móviles */
        min-height: 250px;
    }
    
    /* Ajuste específico para aspect-ratio en móviles */
    .map-container.aspect-ratio {
        padding-bottom: 75%; /* Proporción mejor para móviles */
    }
}

@media (max-width: 480px) {
    .map-container {
        padding: 0.25rem;
        margin: 0 0.25rem;
    }
    
    .map-container iframe {
        height: 250px;
        border-radius: 4px;
    }
    
    .map-container.aspect-ratio {
        padding-bottom: 80%; /* Más altura para pantallas muy pequeñas */
    }
}

/* SECCIÓN DE TESTIMONIOS (COMPLEMENTARIA) */
.testimonials {
    background: var(--light);
    padding: 3rem 1rem;
}

/* RESPONSIVE BREAKPOINTS (Opcional, mejora en móviles) */
@media (max-width: 768px) {
    .map-container {
        padding: 1.5rem 1rem;
    }

    .map-container h3 {
        font-size: 1.25rem;
    }

    .map-container i {
        font-size: 3.5rem;
    }
}


.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-tertiary);
    transition: var(--transition-normal);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar i {
    color: var(--light);
    font-size: 1.25rem;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: var(--warning-color);
    font-size: 0.9rem;
}

.testimonial-card p {
    color: var(--gray-dark);
    line-height: 1.6;
    font-style: italic;
}

/* Support Section */
.support {
    background: var(--light-secondary);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.support-card {
    background: var(--light);
    padding: var(--card-padding);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-tertiary);
    transition: var(--transition-normal);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.support-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.support-icon i {
    font-size: 2rem;
    color: var(--light);
}

.support-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.support-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.support-info {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    margin-top: 4rem;
}

.faq-section h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-tertiary);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background: var(--light-secondary);
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--gray-dark);
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact {
    background: var(--light);
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-secondary);
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: #ffffff; /* ✅ ÍCONOS BLANCOS */
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-dark);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: var(--light);
    padding: 2.5rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-tertiary);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-tertiary);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
    background: var(--light);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    color: var(--gray-light);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--light);
    transform: translateX(5px);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    display: flex;  /* ← Agregar esta línea */
    flex-direction: column;  /* ← Agregar esta línea */
    transform: translateY(100vh);
    opacity: 0;
    right: 2rem;
    width: 350px;
    max-height: 500px;
    background: var(--light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transform: translateY(100vh);
    opacity: 0;
    transition: all var(--transition-normal);
    border: 1px solid var(--light-tertiary);
}

.chat-widget.active {
    transform: translateY(0);
    opacity: 1;
}

.chat-header {
    background: var(--primary-gradient);
    color: var(--light);
    padding: 1rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-close {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.25rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-body {
    height: 300px;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-message.bot .chat-avatar {
    background: var(--primary-gradient);
    color: var(--light);
}

.chat-message.user .chat-avatar {
    background: var(--gray-300);
    color: var(--gray-dark);
}

.chat-content {
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    position: relative;
}

.chat-message.bot .chat-content {
    background: var(--light-secondary);
    color: var(--dark);
}

.chat-message.user .chat-content {
    background: var(--primary-gradient);
    color: var(--light);
}

.chat-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--light-tertiary);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--light-tertiary);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    outline: none;
}

.chat-input input:focus {
    border-color: var(--primary-color);
}

.chat-input button {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: var(--light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chat-input button:hover {
    transform: scale(1.1);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-right {
    animation: fadeInRight 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-content,
    .coverage-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --card-padding: 1.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.98);
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 0 0 10px 10px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: 
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease,
        visibility 0.4s ease;
    z-index: 999; /* para que esté por encima de otros elementos */
}

.nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .support-channels {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .chat-widget {
        width: calc(100vw - 2rem);
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    
    .chat-button {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .plan-card:hover,
    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Estados de loading */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}
.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: scale(1.05);
    text-decoration: none;
    color: white !important;
}

.whatsapp-link i {
    font-size: 1rem;
}

/* Payment Section Styles */
/* General container for consistent page width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add some padding on smaller screens */
}

/* ============================================
   PAYMENT SECTION - MODERN DESIGN
   ============================================ */

.payment-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.payment-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,100 1000,100 0,100"/></svg>');
  pointer-events: none;
}

.payment-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ============================================
   SECTION HEADER
   ============================================ */

.payment-section .section-header {
  text-align: center;
  margin-bottom: 60px;
  color: white;
}

.payment-section .section-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-section .section-header h2 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(45deg, #ffffff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.payment-section .section-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.9;
}

/* ============================================
   PAYMENT METHODS GRID
   ============================================ */

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.payment-method-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
}

.payment-method-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.payment-method-card.featured {
  border: 2px solid #ffd700;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 255, 255, 0.95));
}

.payment-method-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
}

/* Card Icon */
.payment-method-icon {
  text-align: center;
  padding: 30px 30px 0;
  font-size: 4rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}

.payment-method-card.featured .payment-method-icon {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card Content */
.payment-method-content {
  padding: 0 30px 30px;
}

.payment-method-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 15px;
  text-align: center;
}

.payment-description {
  font-size: 1rem;
  color: #718096;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 25px;
}

/* ============================================
   PAYMENT DETAILS STYLES
   ============================================ */

.payment-details {
  margin-bottom: 20px;
}

/* Office Details */
.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: #f7fafc;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.detail-item i {
  color: #667eea;
  font-size: 1.2rem;
  margin-top: 2px;
}

.detail-item strong {
  color: #2d3748;
}

/* Bank Info */
.bank-info {
  background: #f7fafc;
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid #667eea;
}

.bank-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

.bank-detail:last-child {
  border-bottom: none;
}

.bank-detail .label {
  font-weight: 600;
  color: #4a5568;
}

.bank-detail .value {
  font-weight: 700;
  color: #2d3748;
  font-family: 'Courier New', monospace;
}

/* Authorized Points */
.authorized-points {
  background: #f7fafc;
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid #667eea;
}

.point-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.point-item:last-child {
  margin-bottom: 0;
}

.point-item i {
  color: #48bb78;
  font-size: 1.1rem;
}

.point-item strong {
  color: #2d3748;
  display: block;
}

.point-item span {
  color: #718096;
  font-size: 0.9rem;
}

/* ============================================
   BADGES AND CONTACT INFO
   ============================================ */

.payment-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ffd700;
  color: #744210;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.availability-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #e6fffa;
  color: #319795;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-info {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.contact-info i {
  color: #ffffff;
  margin-bottom: 5px;
}

.contact-info span {
  color: #4a5568;
  font-size: 0.9rem;
}

.contact-info a {
  color: #667eea;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: #764ba2;
  text-decoration: underline;
}

/* ============================================
   PAYMENT FOOTER
   ============================================ */

.payment-footer {
  text-align: center;
  margin-top: 50px;
}

.payment-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 30px;
  border-radius: 15px;
  color: white;
}

.payment-guarantee i {
  font-size: 2.5rem;
  color: #ffd700;
}

.payment-guarantee h4 {
  margin: 0 0 5px 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.payment-guarantee p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

  @media (max-width: 768px) {
    .payment-section {
      padding: 80px 0;
    }

    .payment-section .section-header h2 {
      font-size: 2.5rem;
    }

    .payment-section .payment-methods-grid {
      grid-template-columns: 1fr;
      gap: 25px;
    }

    .payment-section .payment-method-card {
      margin: 0 10px;
    }

    .payment-section .payment-method-icon {
      font-size: 3.5rem;
      padding: 25px 25px 0;
    }

    .payment-section .payment-method-content {
      padding: 0 25px 25px;
    }

    .payment-section .payment-guarantee {
      flex-direction: column;
      text-align: center;
      gap: 15px;
    }

    .payment-section .payment-guarantee i {
      font-size: 2rem;
    }
  }

  @media (max-width: 480px) {
    .payment-section .container {
      padding: 0 15px;
    }

    .payment-section .section-header h2 {
      font-size: 2rem;
    }

    .payment-section .section-header p {
      font-size: 1rem;
    }

    .payment-section .payment-method-card {
      margin: 0 5px;
    }

    .payment-section .payment-method-icon {
      font-size: 3rem;
      padding: 20px 20px 0;
    }

    .payment-section .payment-method-content {
      padding: 0 20px 20px;
    }

    .payment-section .payment-method-content h3 {
      font-size: 1.5rem;
    }

    .payment-section .detail-item {
      flex-direction: column;
      gap: 10px;
    }

    .payment-section .bank-detail {
      flex-direction: column;
      align-items: flex-start;
      gap: 5px;
    }
  }


/* Utilidades adicionales */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }
.rounded-xl { border-radius: var(--border-radius-xl); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

