/* ==========================================================================
   VARIABLES Y RESET GLOBALES
   ========================================================================== */
:root {
    --primary-blue: #0b224c;      /* Azul muy oscuro (elegante) */
    --secondary-blue: #1e40af;    /* Azul brillante */
    --primary-green: #059669;     /* Verde NetLine */
    --hover-green: #047857;       /* Verde oscuro para hovers */
    --bg-light: #60c0a0;          /* Fondo gris muy claro */
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 30px -5px rgba(0, 0, 0, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85); /* Para efecto cristal */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    /* Nuevo degradado: Verde pastel muy suave hacia Azul claro */
    background: linear-gradient(135deg, #dcfce7 0%, #e0f2fe 100%);
    background-attachment: fixed; /* Esto hace que el fondo se quede quieto al hacer scroll, dando un efecto premium */
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* ==========================================================================
   ANIMACIONES GLOBALES
   ========================================================================== */
@keyframes floatIcon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 15px rgba(30, 64, 175, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(30, 64, 175, 0); }
}

/* ==========================================================================
   TOP BAR (Barra de info superior)
   ========================================================================== */
.top-info-bar {
    background: linear-gradient(90deg, var(--primary-blue) 0%, #113366 100%);
    color: #e5e7eb;
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 5%;
    font-size: 0.85rem;
    font-weight: 500;
}

.info-group {
    display: flex;
    gap: 1.5rem;
}

.info-group span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.info-group ion-icon {
    color: #38bdf8;
    font-size: 1.1rem;
}

/* ==========================================================================
   NAVBAR (Con Textura Degradada Premium)
   ========================================================================== */
.navbar {
    /* Degradado elegante: Blanco puro hacia Azul claro suave */
    background: linear-gradient(135deg, rgba(162, 213, 236, 0.699) 0%, rgba(226, 231, 231, 0.95) 100%);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    
    /* Sombra con un tono ligeramente azulado para armonizar con el diseño */
    box-shadow: 0 4px 25px rgba(11, 34, 76, 0.08); 
    
    position: sticky;
    top: 0;
    z-index: 1000; 
    
    /* Borde inferior sutil para darle volumen */
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%; 
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
}

.logo-img {
    height: 115px; 
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); 
}

.nav-links {
    display: flex;
    gap: 2.5rem; 
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

.nav-links a {
    color: var(--primary-blue);
    font-weight: 500; 
    font-size: 1.45rem; 
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding: 0.5rem 0; 
}

/* Efecto Hover: Línea que crece desde el centro */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px; 
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-blue);
    transition: all 0.3s ease-out; 
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--secondary-blue);
    transform: translateY(-1px); 
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, #10b981 50%, var(--primary-green) 100%);
    background-size: 200% auto;
    color: #fff;
    border: none;
    padding: 0.7rem 1.8rem; 
    border-radius: 50px;
    font-weight: 600; 
    font-size: 1rem; 
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2); 
}

.btn-login ion-icon {
    font-size: 1.2rem;
}

.btn-login:hover {
    background-position: right center;
    transform: translateY(-2px); 
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
}

/* ==========================================================================
   HERO SECTION (Banner Principal con Imagen de Fondo)
   ========================================================================== */
.hero-section {
    position: relative;
    background-image: url('../img/Netline_Fondo.png');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-color: var(--primary-blue); 
    padding: 4rem 5% 14rem 5%; 
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(11, 34, 76, 0.4); 
    background-image: radial-gradient(rgba(255,255,255,0.08) 2px, transparent 2px);
    background-size: 30px 30px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #047857 100%);
    background-size: 200% auto;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background-position: right center; 
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.5);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    color: white;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* ==========================================================================
   ANIMACIONES AL HACER SCROLL (REVEAL)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   QUICK ACCESS CARDS (Tarjetas más compactas y elegantes)
   ========================================================================== */
.quick-access-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1150px; /* ANTES: 1500px. Esto evita que se estiren demasiado a lo ancho */
    margin: -70px auto 4rem auto; /* Ajustamos cuánto se montan sobre la franja azul */
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.quick-card {
    padding: 1.5rem 1rem; /* Proporciones más estilizadas */
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    position: relative; 
    overflow: hidden;
}

/* Efecto de "Luz" barriendo la tarjeta (Shine effect) */
.quick-card::before {
    content: '';
    position: absolute;
    top: 0; 
    left: -100%; 
    width: 50%; 
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: luzReflejo 4s infinite; 
    z-index: 1;
}

@keyframes luzReflejo {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.quick-card > div, 
.quick-card > h3, 
.quick-card > p, 
.quick-card > a {
    position: relative;
    z-index: 2;
}

.quick-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* REDUCIMOS LOS TAMAÑOS INTERNOS PARA MAYOR ELEGANCIA */
.icon-wrapper {
    font-size: 2.8rem; /* ANTES: 3.5rem. Ícono proporcionado */
    margin-bottom: 0.6rem;
}

.icon-wrapper ion-icon {
    animation: floatIcon 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.quick-card h3 {
    font-size: 1.2rem; /* ANTES: 1.4rem */
    margin-bottom: 0.4rem;
    font-weight: 800;
}

.quick-card p {
    font-size: 0.9rem; /* ANTES: 1.05rem. Texto más sutil */
    margin-bottom: 1.2rem;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.4;
}

.quick-link {
    font-size: 0.95rem; /* ANTES: 1.15rem */
    font-weight: 800;
    margin-top: auto;
    display: inline-block;
    transition: opacity 0.3s, transform 0.3s;
}

.quick-link:hover {
    opacity: 1;
    transform: scale(1.05);
}
/* ==========================================================================
   PLANES Y CARRUSEL (SLIDER)
   ========================================================================== */
.pricing-section {
    padding: 5rem 5%;
    max-width: 1500px; 
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.pricing-wrapper {
    position: relative;
    width: 100%;
    max-width: 1500px; 
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 60px; 
}

.pricing-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 1rem; 
    width: 100%; 
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.pricing-grid::-webkit-scrollbar {
    display: none; 
}

.price-card {
    flex: 0 0 350px; 
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
    position: relative;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background 0.3s, transform 0.3s;
}

.slider-arrow:hover {
    background: var(--secondary-blue);
    transform: translateY(-50%) scale(1.1);
}

.left-arrow { left: 0px; }
.right-arrow { right: 0px; }

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-blue);
}

.price-card.popular {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid var(--secondary-blue);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #3b82f6 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.plan-header {
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.plan-speed {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.plan-speed span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 1rem 0 2rem 0;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.plan-features li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #4b5563;
    font-weight: 500;
}

.plan-features ion-icon {
    color: var(--primary-green);
    font-size: 1.4rem;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-plan.outline {
    background: transparent;
    border: 2px solid var(--secondary-blue);
    color: var(--secondary-blue);
}

.btn-plan.outline:hover {
    background: var(--secondary-blue);
    color: white;
}

.btn-plan.solid {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #3b82f6 100%);
    color: white;
    border: none;
}

.btn-plan.solid:hover {
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
    transform: translateY(-2px);
}

.text-blue-link {
    color: var(--secondary-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.text-blue-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   CARACTERÍSTICAS
   ========================================================================== */
.features-section {
    background: transparent; 
    padding: 6rem 5%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1500px; 
    margin: 0 auto;
}

.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.feature-box:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feat-icon {
    width: 90px;
    height: 90px;
    background: #eff6ff;
    color: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem auto;
    transition: all 0.4s ease;
}

.feature-box:hover .feat-icon {
    animation: pulseGlow 1.5s infinite;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: white;
}

.feature-box h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.feature-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-section {
    padding: 6rem 5%;
    max-width: 1500px; 
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 4rem;
}

.contact-info h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #bfdbfe;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-item ion-icon {
    font-size: 2.5rem;
    color: #34d399; 
    background: rgba(255,255,255,0.1);
    padding: 0.8rem;
    border-radius: 50%;
}

.info-item strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.info-item p {
    margin: 0;
    color: white;
    font-size: 1rem;
}

.contact-form-container {
    padding: 4rem;
    background: #ffffff;
}

.contact-form h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: #f9fafb;
    transition: all 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 5% 2rem 5%;
    text-align: center;
}

.footer-logo {
    height: 65px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-content p {
    max-width: 500px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-links a {
    color: white;
    font-size: 2rem;
    transition: all 0.3s;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    font-size: 0.95rem;
}

/* ==========================================================================
   BOTÓN WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    font-size: 38px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    animation: floatIcon 4s ease-in-out infinite; 
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    background-color: #20b958;
}

/* ==========================================================================
   RESPONSIVE (MÓVILES Y TABLETS) - ADAPTACIÓN AUTOMÁTICA
   ========================================================================== */

/* 1. PARA TABLETS Y PANTALLAS MEDIANAS (hasta 1024px) */
@media (max-width: 1024px) {
    .nav-links {
        position: static;
        transform: none;
    }
    
    /* === AJUSTES DE LA SECCIÓN CONTACTO / PQR PARA MÓVILES === */
    
    /* Reducimos el espacio exterior de la sección completa */
    .contact-section {
        padding: 3rem 5%;
    }

    /* Ajustamos el padding de la caja azul */
    .contact-info {
        padding: 2.5rem 1.5rem !important;
        text-align: center; /* Centramos el texto en celular para más elegancia */
    }

    .contact-info h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .contact-info p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Alineamos los íconos e información al centro */
    .info-list {
        gap: 1.5rem;
        align-items: center; /* Centra los bloques */
    }

    .info-item {
        flex-direction: column; /* Apila el ícono arriba y el texto abajo */
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .info-item ion-icon {
        font-size: 2rem;
        padding: 0.6rem;
    }

    /* Ajustamos la caja blanca del formulario */
    .support-form-container {
        padding: 2.5rem 1.5rem !important;
    }

    .support-form-container h3 {
        font-size: 1.8rem;
    }

    .support-form-container .subtitle {
        font-size: 0.95rem;
        padding: 0;
        margin-bottom: 1.5rem;
    }

    /* Ajustamos la tarjetita donde se ingresa el ID */
    .validation-step, .support-form {
        padding: 1.5rem 1rem;
        margin-top: 1rem;
    }

    /* El botón de validar para que no se vea desproporcionado */
    .btn-validate {
        width: 100%;
        padding: 14px 18px;
        margin-top: 5px; /* Separación del input */
    }
    /* Las 4 tarjetas animadas pasan a estar 2 arriba y 2 abajo */
    .quick-access-container {
        grid-template-columns: repeat(2, 1fr);
        margin-top: -60px;
    }
    
    .pricing-wrapper { 
        padding: 0 40px; 
    }
    .price-card { 
        flex: 0 0 300px; 
    }
    .price-card.popular {
        transform: scale(1);
    }
    .price-card.popular:hover {
        transform: translateY(-10px);
    }
    
    /* Sección nosotros a 1 columna */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Sección contacto: Información arriba, formulario abajo */
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-info, .contact-form-container, .support-form-container {
        padding: 3rem 2rem;
    }
}

/* 2. PARA CELULARES Y PANTALLAS PEQUEÑAS (hasta 768px) */
@media (max-width: 768px) {
    /* --- NUEVO: Evitar el desbordamiento horizontal (la franja blanca) --- */
    html, body {
        overflow-x: hidden !important;
        width: 100%;
        max-width: 100vw;
    }

    /* Ocultamos elementos que no caben en celular */
    .hidden-mobile {
        display: none !important;
    }
    
    /* --- NUEVO: Ajuste de la barra superior (Contacto) --- */
    .top-info-bar {
        flex-direction: column; /* Apila los elementos en vez de ponerlos lado a lado */
        align-items: center;
        gap: 4px;
        padding: 0.6rem;
        text-align: center;
    }
    .info-group {
        justify-content: center;
    }
    .info-group span {
        font-size: 0.8rem; /* Letra ligeramente más pequeña para que el número quepa en 1 sola línea */
    }

    /* --- NUEVO: Ajuste del Logo y Botón Login --- */
    .nav-container {
        padding: 0.6rem 4%;
    }
    .logo-img {
        height: 70px; /* Reducimos el logo de 115px a 70px para que ambos respiren */
    }
    .btn-login {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Achicamos el título principal para que no se salga de la pantalla */
    .hero-section {
        padding: 3rem 5% 7rem 5%;
    }
    .hero-content h1 {
        font-size: 2.1rem; /* Un poco más pequeño para evitar que la palabra "INTERNET" rompa el ancho */
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    
    /* Las tarjetas animadas pasan a ser 1 sola columna vertical (una debajo de otra) */
    .quick-access-container {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }
    
    /* El carrusel de planes se adapta para deslizar con el dedo */
    .pricing-wrapper { 
        padding: 0; 
    }
    .price-card { 
        flex: 0 0 85vw; 
    } 
    .slider-arrow { 
        display: none; /* Quitamos las flechas porque en celular se arrastra con el dedo */
    }
    
    /* Ajustamos el botón flotante de WhatsApp */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 32px;
    }

    /* === AJUSTES DE FORMULARIOS Y MODALES PARA CELULAR === */
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    .support-form-container {
        padding: 1.5rem;
    }
    
    /* Hacemos que la barra de búsqueda y el botón se apilen uno sobre otro */
    .input-group, #modalConsultarTickets .input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-validate, #btnBuscarTickets {
        width: 100%;
        padding: 12px 18px;
    }
    
    .login-box {
        padding: 20px;
    }
}
/* ==========================================================================
   ESTILOS PARA LA PLANTILLA DE LOGIN (CAJA ANCHA Y ELEMENTOS CENTRADOS)
   ========================================================================== */
.login-box {
    position: relative; 
    z-index: 10; 
    background-color: rgba(255, 255, 255, 0.85); 
    padding: 40px; 
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 480px; 
    width: 90%; 
    text-align: center;
}

.login-box img {
    max-width: 60%; 
    height: auto;
    margin: 0 auto 25px auto;
    display: block;
}

.login-box h2 {
    font-size: 1.8rem; 
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 25px;
}

.login-box label {
    display: block;
    margin-top: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.login-box input {
    width: 100%;
    padding: 12px 15px;
    margin-top: 5px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f9fafb;
    box-sizing: border-box;
}

.login-box input:focus {
    outline: none;
    border-color: var(--secondary-blue);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-wrapper input {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #6c757d;
    user-select: none;
}

/* Controles de la parte inferior del Login */
.login-actions {
    display: flex;
    align-items: center;
    justify-content: center; 
    position: relative; 
    margin-top: 35px;
    width: 100%;
}

.back-arrow {
    position: absolute;
    left: 0;
    color: #f97316; 
    font-size: 32px; 
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.back-arrow:hover {
    color: #ea580c; 
    transform: translateX(-5px); 
}

.btn-ingresar {
    width: auto;
    min-width: 200px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-ingresar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
}

/* ==========================================================================
   ESTILOS PARA FORMULARIO DE SOPORTE TÉCNICO / PQR (PÚBLICO)
   ========================================================================== */
.support-form-container {
    width: 100%;
    font-family: inherit;
    padding: 3.5rem 3rem; /* Más espacio vertical */
    box-sizing: border-box;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%); /* Fondo degradado verde muy suave hacia blanco */
    text-align: center; /* Centra el texto principal (Títulos y botones) */
}

.support-form-container h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--primary-blue);
}

.support-form-container .subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
    padding: 0 1rem;
}

/* Le damos un buen margen al botón de consultar tickets */
#btnAbrirModalTickets {
    margin-bottom: 2.5rem;
    background-color: white; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

#btnAbrirModalTickets:hover {
    background-color: var(--secondary-blue);
    color: white;
}

/* Envolvemos el área de los inputs en una "tarjetita" blanca para que contraste */
.validation-step, .support-form {
    background: white;
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
    text-align: left; /* Devolvemos el texto a la izquierda para los formularios */
    margin-top: 1.5rem;
}

.support-form-container label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700; /* Letra un poco más gruesa */
    color: var(--primary-blue); /* Letra azul oscuro en lugar de gris */
    margin-bottom: 0.6rem;
    text-align: left; /* Las etiquetas de los inputs siempre a la izquierda */
}

/* Estilos de Inputs, Selects y Textareas */
.support-form-container input,
.support-form-container select,
.support-form-container textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: #f9fafb;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.support-form-container input:focus,
.support-form-container select:focus,
.support-form-container textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}





/* Grupo de validación (Input + Botón en la misma línea) */
.input-group {
    display: flex;
    gap: 10px;
    align-items: stretch; /* Asegura que el botón y el input midan lo mismo de alto */
    width: 100%;
}

.input-group input {
    flex: 1 1 100% !important; /* Obliga al input a tomar TODO el espacio disponible */
    min-width: 0 !important; /* Truco de Flexbox: evita que el input colapse a un cuadro diminuto */
    width: 100%;
}

.btn-validate {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    
    /* ESTAS TRES LÍNEAS SALVAN EL DISEÑO EN ESCRITORIO: */
    flex: 0 0 auto !important; /* Evita que el botón se estire incontrolablemente */
    white-space: nowrap; /* Evita que la palabra "Validar" se rompa en dos líneas */
    width: auto !important; /* Fuerza a que mida solo lo necesario */
}

.btn-validate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}


/* Inputs de solo lectura (Grisáceos) */
.readonly-input {
    background-color: #e5e7eb !important;
    color: #6b7280;
    cursor: not-allowed;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Botón Final Enviar */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-green) 0%, #10b981 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.error-msg {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Clase de utilidad para ocultar */
.hidden {
    display: none !important;
}

/* ==========================================================================
   ESTILOS PARA EL MODAL DE CONSULTA DE TICKETS
   ========================================================================== */
.btn-secondary-outline {
    background: transparent;
    border: 2px solid var(--secondary-blue);
    color: var(--secondary-blue);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.btn-secondary-outline:hover {
    background: var(--secondary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 34, 76, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.3s;
}

.close-btn:hover { color: #dc2626; }

/* Estilo de las tarjetas de resultados */
.tickets-list { margin-top: 1.5rem; }

.ticket-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    background: #f9fafb;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Colores según el estado */
.ticket-item.abierto { border-left: 5px solid #ef4444; }
.ticket-item.asignado { border-left: 5px solid #f59e0b; }
.ticket-item.resuelto { border-left: 5px solid #10b981; }

.ticket-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
}

.ticket-title {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.ticket-status {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.status-abierto { color: #ef4444; }
.status-asignado { color: #f59e0b; }
.status-resuelto { color: #10b981; }

.ticket-solution {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #d1d5db;
    font-size: 0.95rem;
    color: #4b5563;
    background: #f0fdf4;
    padding: 1rem;
    border-radius: 8px;
}


/* ==========================================================================
   AJUSTES DE TAMAÑO PARA LA BARRA DE BÚSQUEDA DEL MODAL
   ========================================================================== */
#modalConsultarTickets .input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

#inputBuscarTicketsId {
    width: 100%;
    padding: 14px 18px; /* <-- Esto hace la barra más gruesa */
    font-size: 1.1rem;  /* <-- Texto más grande */
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
}

#inputBuscarTicketsId:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

#btnBuscarTickets {
    padding: 14px 24px; /* <-- Alinea la altura del botón con la barra gruesa */
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

#btnBuscarTickets:hover {
    background-color: var(--secondary-blue);
}