/* ESTILOS GENERALES */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fuentes */
@import url('https://use.typekit.net/TU_KIT_ID.css'); /* Reemplaza con tu kit real de Adobe Fonts */
@import url('https://rsms.me/inter/inter.css');



h1, h2, h3, .headline, .logo, .hero-title {
    font-family: "neue-haas-grotesk-display", "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

body, p, li, input, button, .ui-text {
    font-family: "Inter", "neue-haas-grotesk-text", sans-serif;
    font-weight: 400;
}

body {
    background: #0C1E2E; /* Azul oscuro de la paleta */
    color: #F5F9FF; /* Blanco claro */
    scroll-behavior: smooth;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

h1, h2 {
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.logo img {
    height: 40px; /* Más pequeño en mobile */
    width: auto;
}

/* HEADER + NAV (Base: Mobile y Tablet con hamburguesa) */

.header {
    width: 100%;
    min-height: 60px; /* Más compacto en mobile/tablet */
    padding: 0 20px;
    background: rgba(12, 30, 46, 0.95); /* #0C1E2E con opacidad */
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: rgba(12, 30, 46, 1);
}

.logo {
    padding: 10px 0 0 10px;
}

/* Botón menú hamburguesa (visible en mobile y tablet) */
.menu-toggle {
    display: block; /* Siempre visible hasta 1199px */
    font-size: 28px;
    cursor: pointer;
    color: #F5F9FF;
    justify-self: end;
}

.nav {
    display: none; /* Oculto por defecto hasta 1200px */
    position: absolute;
    top: 60px;
    right: 20px;
    background: #0C1E2E;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.nav.active {
    display: block;
}

.nav-list {
    display: flex;
    flex-direction: column; /* Apilado en mobile/tablet */
    list-style: none;
    gap: 20px;
}

.nav-list a {
    color: #F5F9FF;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-list a:hover {
    color: #10B981; /* Verde de la paleta para hover */
    transform: translateY(-2px);
}

/* Estilo para Acceso Clientes como botón */
.nav-list .acceso-clientes {
    background: #10B981; /* Verde de la paleta */
    color: #F5F9FF; /* Blanco */
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-list .acceso-clientes:hover {
    background: #0C1E2E; /* Oscuro en hover para contraste */
    color: #10B981;
    transform: translateY(-2px);
}

/* HERO (Base: Mobile) */

.hero {
    min-height: 80vh; /* Mantiene 80vh en mobile para no achicar demasiado */
    background-color: #004C80; /* Azul medio */
    background-image: linear-gradient(to bottom, #f5f9ff, #004C80);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding-top: 120px; /* Espacio para header en mobile */
    padding-bottom: 60px;
    display: grid;
    place-items: center;
    position: relative; /* Para posicionar el scroll-indicator */
}

.hero img {
    margin-bottom: 20px;
    height: 80px; /* Más pequeño en mobile */
    transition: transform 0.5s ease;
}

.hero img:hover {
    transform: scale(1.05);
}

.hero h2 {
    font-size: 20px;
    color: #F5F9FF;
}

.marca {
    width: 90%; /* Más ancho en mobile */
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 20px;
    background-color: rgba(245, 249, 255, 0.3); /* Fondo semitransparente */
    backdrop-filter: blur(10px);
    color: #F5F9FF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2),-10px -10px 20px rgba(255, 255, 255, 0.2);

    display: grid;
    gap: 15px;
    justify-items: center;
}

/* Scroll Indicator (Base: Mobile) */
.scroll-indicator {
    position: absolute;
    bottom: 20px; /* Posición al fondo del hero */
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px; /* Tamaño del ícono */
    color: #F5F9FF; /* Blanco de tu paleta */
    animation: bounce 2s infinite; /* Animación de rebote */
    cursor: pointer; /* Para que parezca clickable */
}

.scroll-indicator:hover {
    color: #10B981; /* Verde hover para interacción */
}

/* Animación de bounce */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* SECCIONES GENERALES (Base: Mobile) */

.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.main-content article {
    padding: 60px 20px; /* Padding reducido en mobile */
    text-align: center;
}

article h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

article h3 {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 10px;
}

/* FIX: <hr> como línea simple (sin caja) */
article hr {
    border: none; /* Elimina todos los borders */
    border-top: 3px solid #10B981; /* Solo línea superior */
    height: 0; /* Altura cero para línea fina */
    width: 120px; /* Ancho fijo en mobile */
    max-width: 200px; /* Límite máximo */
    margin: 10px auto 30px auto;
}

article p {
    width: 100%; /* Full width en mobile */
    margin: 0 auto 20px;
    line-height: 1.6;
    font-size: 16px;
}

article ul {
    color: #F5F9FF;
    margin: 0 auto;
    font-size: 16px;
    list-style-type: disc;
    list-style-position: inside;
    text-align: left;
    letter-spacing: 1.5px;
    width: 80%;
}
article .iconos{
    font-size: 20px;
    color: #F5F9FF;
    padding: 0 20px;
}

/* ============================================================= */
/* LISTAS CON CHECKS VERDES – AHORA 100% ALINEADOS Y CENTRADOS   */
/* ============================================================= */

.lista-check {
    list-style: none;
    padding: 0;
    margin: 20px auto;          /* Centra la lista dentro del div */
    width: 85%;                  /* Ocupa casi todo el ancho disponible */
    max-width: 380px;            /* Evita que se estire demasiado en pantallas grandes */
}

.lista-check li {
    display: flex;
    align-items: flex-start;     /* ← Esto es lo clave: alineación al inicio */
    gap: 12px;                   /* Espacio entre check y texto */
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
    color: #F5F9FF;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInCheck 0.6s ease forwards;
}

/* Delays progresivos (igual que antes) */
.lista-check li:nth-child(1) { animation-delay: 0.1s; }
.lista-check li:nth-child(2) { animation-delay: 0.2s; }
.lista-check li:nth-child(3) { animation-delay: 0.3s; }
.lista-check li:nth-child(4) { animation-delay: 0.4s; }

/* Check verde fijo y perfectamente alineado */
.lista-check li::before {
    content: "✓";
    flex-shrink: 0;                     /* Nunca se achica */
    width: 26px;
    height: 26px;
    background: #10B981;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    opacity: 0;
    scale: 0;
    animation: popCheck 0.5s ease forwards;
    animation-delay: inherit;
}

/* Animaciones (las mismas de siempre) */
@keyframes slideInCheck {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes popCheck {
    50%  { scale: 1.25; opacity: 1; }
    100% { scale: 1; opacity: 1; }
}

/* PLANES DE INTERNET (Base: Mobile - Apilados) */

.articleservicio {
    border-top: 4px solid #CBD5E1; /* Gris claro */
    background-color: #0F283C;
}
.articleservicio i {
    font-size: 10vw;
}

.articleuno {
    background-color: #E6F4FF;
    opacity: 0.95;
    background-image: linear-gradient(135deg, #E6F4FF 0%, #CBD5E1 100%);
    min-height: auto; /* Flexible en mobile */
    display: grid;
    grid-template-columns: 1fr; /* Una columna en mobile */
    justify-items: center;
    color: #0F283C;
    padding: 40px 20px;
    gap: 20px; /* Gap vertical en mobile */
    overflow-x: hidden;
}

.articleuno::-webkit-scrollbar {
    display: none;
}

.plan {
    background: #006BA6; /* Azul principal */
    width: 100%;
    min-height: auto;
    padding: 30px 15px; /* Padding reducido en mobile */
    border-radius: 20px;
    border: 2px solid #F5F9FF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    gap: 15px;
}

/* Animación de entrada inicial del plan */
.plan {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

/* Estado visible cuando entra en viewport */
.plan.visible {
    opacity: 1;
    transform: translateY(0);
}

.plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.plan h2 {
    font-size: 50px;
    color: #F5F9FF;
    padding: 50px 0;
    font-weight: 900;
    text-transform:none;
}

.plan hr {
    border: none;
    border-top: 3px solid #10B981; /* Línea blanca en cards */
    height: 0;
    width: 100px; /* Más corto en cards */
    max-width: 120px;
    margin: 10px auto 20px auto;
}

.contrato{
    background-color: #10B981;
    color:#F5F9FF;
    width: 40%;
    border-radius: 10px;
    margin: 0 auto;
    height: 50px;
    text-align: center;
}
.contrato :hover{
    background-color: #f5f9ff;
    color: #10B981;
    border-radius: 10px;
    transform: translateY(-3px);
}
.contrato h2{
    font-size: 20px;
    margin: 0 auto;
    padding: 12px;
}
.contrato a{
    text-decoration: none;
}


/* INFO (Base: Mobile) */

.articleinfo {
    background-color: #004C80;
    min-height: auto; /* Flexible en mobile */
    display: grid;
    grid-template-columns: 1fr; /* Una columna en mobile */
    justify-items: center;
    color: #F5F9FF;
    padding: 40px 20px;
    gap: 20px; /* Gap vertical en mobile */
    overflow-x: hidden;
}

.articleinfo::-webkit-scrollbar {
    display: none;
}

.velocidad, .serviciotecnico {
    background: #006BA6; /* Azul principal */
    width: 100%;
    min-height: auto;
    padding: 30px 15px; /* Padding reducido en mobile */
    border-radius: 20px;
    border: 2px solid #F5F9FF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    gap: 15px;
    justify-items: center;
}

.velocidad:hover, .serviciotecnico:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.velocimetro, .auricular {
    font-size: 80px; /* Ajustado para mobile */
    color: #F5F9FF;
}

/* PRODUCTO - MESH (Base: Mobile) */

.articleproducto {
    width: 100%;
    background-color: #0F283C;
    border-top: 4px solid #CBD5E1;
    padding: 60px 20px;
}

.articleproducto p {
    width: 100%;
}

.articledos {
    background-color: #E6F4FF; /* Igual que articleuno */
    opacity: 0.95;
    background-image: linear-gradient(135deg, #E6F4FF 0%, #CBD5E1 100%); /* Igual que articleuno */
    min-height: auto; /* Flexible en mobile */
    display: grid;
    grid-template-columns: 1fr; /* Una columna en mobile */
    justify-items: center;
    color: #0F283C;
    padding: 40px 20px;
    gap: 20px; /* Gap vertical en mobile */
    overflow-x: hidden;
}

.articledos::-webkit-scrollbar {
    display: none;
}

.producto {
    background: #006BA6; /* Igual que .plan */
    width: 100%;
    min-height: auto;
    padding: 30px 15px; /* Igual que .plan */
    border-radius: 20px;
    border: 2px solid #F5F9FF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    gap: 15px;
    justify-items: center;
    color: #F5F9FF; /* Texto blanco como en .plan */
}

.producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.producto img {
    height: 180px; /* Más pequeño en mobile */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.producto img:hover {
    transform: scale(1.05);
}

.producto hr {
    border: none;
    border-top: 3px solid #10B981; /* Línea blanca en cards */
    height: 0;
    width: 100px;
    max-width: 120px;
    margin: 10px auto 20px auto;
}

/* CONTACTO (Base: Mobile) */

.articlecontacto {
    width: 100%;
    min-height: 250px;
    background-color: #004C80;
    border-top: 4px solid #CBD5E1;
    padding: 60px 20px;
    display: grid;
    gap: 15px;
    justify-items: center;
}

.articlecontacto a {
    color: #F5F9FF;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.articlecontacto a:hover {
    color: #10B981;
}

/* BOTONES CONTACTO - FIX: Centrado y visible siempre */
.comunicacion {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 5000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedorcomunicacion {
    background: #10B981;
    border-radius: 50%; /* Círculo para centrar mejor */
    padding: 0; /* Sin padding extra */
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contenedorcomunicacion:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.6);
}
.chat {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center; /* Centrado perfecto */
}
.chat i {
    font-size: 35px;
    color: #F5F9FF;
    object-fit: contain; /* Mantiene proporción */
}

/* FOOTER (Base: Mobile) */
footer {
    text-align: center;
    width: 100%;
    padding: 40px 20px;
    background: #0C1E2E;
    font-size: 12px;
    display: grid;
    justify-items: center;
}

footer a {
    color: #F5F9FF;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #10B981;
}

/* MEDIA QUERIES: TABLET (min-width: 768px) - Mantiene hamburguesa, ajusta otros elementos */
@media (min-width: 768px) {
    .logo img {
        height: 50px;
    }

    .header {
        min-height: 80px;
        padding: 0 40px;
    }

    /* Mantiene hamburguesa en tablet */
    .menu-toggle {
        display: block;
        font-size: 32px;
    }

    .nav {
        top: 80px; /* Ajusta posición para header más alto */
        padding: 30px;
    }

    .nav-list {
        gap: 25px;
    }

    .hero {
        min-height: 85vh; /* Acortamos a 85vh en tablet para que asome el contenido abajo */
        padding-top: 200px;
        padding-bottom: 100px;
    }

    .hero img {
        height: 120px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .marca {
        width: 80%;
        max-width: 600px;
        padding: 40px;
        gap: 20px;
        border-radius: 30px;
    }

    .scroll-indicator {
        font-size: 32px; /* Más grande en tablet */
        bottom: 30px;
    }

    .main-content article {
        padding: 80px 40px;
    }

    article h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    article h3 {
        font-size: 26px;
    }

    article hr {
        width: 180px;
        max-width: 250px;
        margin: 15px auto 40px auto;
    }

    article p {
        width: 80%;
        max-width: 800px;
        font-size: 18px;
        line-height: 1.8;
    }

    article ul {
        font-size: 16px;
        width: 80%;
    }

    .velocidad, .serviciotecnico {
        padding: 40px 20px;
        min-height: 450px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .velocidad:hover, .serviciotecnico:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }

    .velocimetro, .auricular {
        font-size: 100px; /* Más grande en tablet */
    }

    .articleproducto {
        padding: 80px 40px;
    }

    .articleproducto p {
        width: 80%;
        max-width: 900px;
    }

    .articledos {
        grid-template-columns: repeat(2, minmax(250px, 1fr)); /* Fuerza 2 columnas en tablet, igual que articleuno */
        min-height: 600px;
        padding: 60px 40px;
        gap: 10px; /* Gap más grande en tablet+ */
        overflow-x: auto; /* Scroll horizontal si no caben las 2 */
    }

    .articledos::-webkit-scrollbar {
        height: 8px;
    }

    .articledos::-webkit-scrollbar-thumb {
        background-color: #006BA6;
        border-radius: 4px;
    }

    .producto {
        padding: 40px 20px; /* Igual que .plan */
        min-height: 450px;
        max-width: 600px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

    .producto:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }

    .producto img {
        height: 220px;
        margin-bottom: 30px;
    }

    .articlecontacto {
        min-height: 300px;
        padding: 80px 40px;
        gap: 20px;
    }

    .articlecontacto a {
        font-size: 20px;
    }

    .comunicacion {
        bottom: 30px;
        right: 30px;
    }

    .contenedorcomunicacion {
        border-radius: 50%;
        padding: 0;
    }

    .chat {
        height: 70px;
        width: 70px;
        border-radius: 50%;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    footer {
        padding: 60px 0;
        font-size: 14px;
    }
}
@media (min-width: 1000px){
    .plan {
        padding: 40px 20px;
        width: 60%;
        min-height: 450px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
    .plan:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }
    article .iconos{
    font-size: 25px;
    }

    .lista-check li { font-size: 16px; }
    .lista-check li::before { width: 28px; height: 28px; line-height: 28px !important; font-size: 18px; }

    .articleinfo {
        grid-template-columns: repeat(2, minmax(250px, 1fr)); /* Fuerza 2 columnas en tablet */
        min-height: 600px;
        padding: 60px 40px;
        gap: 30px; /* Gap más grande en tablet+ */
        overflow-x: auto; /* Scroll horizontal si no caben las 2 */
    }

    .articleinfo::-webkit-scrollbar {
        height: 8px;
    }

    .articleinfo::-webkit-scrollbar-thumb {
        background-color: #006BA6;
        border-radius: 4px;
    }
}
/* MEDIA QUERIES: DESKTOP (min-width: 1200px) - Cambia a nav horizontal, oculta hamburguesa */
@media (min-width: 1100px) {
       .header {
        padding: 0 60px;
        grid-template-columns: auto 1fr auto;
    }

    .menu-toggle {
        display: none; /* Oculta hamburguesa en desktop */
    }

    .nav {
        display: flex; /* Visible y horizontal en desktop */
        position: static;
        background: none;
        padding: 0;
        box-shadow: none;
        justify-self: end;
    }

    .nav-list {
        flex-direction: row; /* Horizontal en desktop */
        gap: 30px;
    }
}
/* MEDIA QUERIES: DESKTOP (min-width: 1200px) - Cambia a nav horizontal, oculta hamburguesa */
@media (min-width: 1500px) {
  
    .hero {
        min-height: 90vh; /* 90vh en desktop: suficiente para impactar, pero deja peek */
    }

    .scroll-indicator {
        font-size: 40px; /* Aún más grande en desktop */
        bottom: 40px;
    }

    .marca {
        width: 80%;
        max-width: 600px;
    }

    article p {
        width: 70%;
        max-width: 800px;
    }

    .articleuno {
        grid-template-columns: repeat(3, minmax(300px, 1fr)); /* Fuerza 3 columnas full en desktop */
        gap: 30px; /* Gap achicado como pediste antes */
        overflow-x: hidden; /* No scroll en desktop, ya que cabe */
        background-image: linear-gradient(135deg, #E6F4FF 0%, #CBD5E1 100%), linear-gradient(to bottom, #0C1E2E 0%, #E6F4FF 100%); /* Funde el gradient con el body para evitar contraste raro */
    }
      .articleuno::-webkit-scrollbar {
        height: 8px;
    }
    
    .articleuno::-webkit-scrollbar-thumb {
        background-color: #006BA6;
        border-radius: 4px;
    }
    .plan {
        width: 100%;
        max-width: none; /* Deja que se expanda si quieres, o agrega si necesitas cap */
    }

    .articledos {
        grid-template-columns: repeat(2, minmax(300px, 1fr)); /* Fuerza 2 columnas full en desktop */
        gap: 10px; /* Gap achicado */
        overflow-x: hidden; /* No scroll en desktop */
        background-image: linear-gradient(135deg, #E6F4FF 0%, #CBD5E1 100%), linear-gradient(to bottom, #0C1E2E 0%, #E6F4FF 100%); /* Funde con body */
    }

    footer {
        padding: 60px 0;
    }

    .comunicacion {
        bottom: 40px;
        right: 40px;
    }

    .chat {
        height: 70px;
        width: 70px;
    }
}