/* =======================
   ESTILOS GENERALES
======================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f5f7fb;
    color: #1c1c1c;
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1120px, 100% - 2rem);
    margin: 0 auto;
}

/* =======================
   HEADER / NAVBAR
======================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    backdrop-filter: blur(6px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
}

.nav a {
    position: relative;
    padding-bottom: 2px;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #246BFD, #00C2FF);
    transition: width 0.2s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Botón Mi Cuenta */
.btn-whatsapp {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid #246BFD;
    background: #246BFD;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.btn-whatsapp:hover {
    background: #fff;
    color: #246BFD;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =======================
   HERO
======================= */
.hero {
    padding: 4rem 0 3.5rem;
    background: linear-gradient(135deg, #e9f1ff 0%, #f7fbff 50%, #e8f7ff 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.hero-text h1 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    margin-bottom: 1rem;
    color: #1c274c;
}

.hero-text p {
    font-size: 0.97rem;
    color: #4c5672;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-primary,
.btn-outline {
    padding: 0.7rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #246BFD, #00C2FF);
    color: #fff;
    box-shadow: 0 12px 25px rgba(36, 107, 253, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(36, 107, 253, 0.4);
}

.btn-outline {
    border-color: #c5d2f2;
    background: #fff;
    color: #1c274c;
}

.btn-outline:hover {
    border-color: #246BFD;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #4a5680;
}

.hero-benefits span {
    background: #fff;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* =======================
   SECCIONES GENERALES
======================= */
.section {
    padding: 3rem 0;
}

.section-gray {
    background-color: #eef2f9;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    text-align: center;
    color: #1c274c;
}

.section-subtitle {
    text-align: center;
    color: #5d6685;
    font-size: 0.95rem;
    max-width: 640px;
    margin: 0 auto 2rem;
}

/* =======================
   SERVICIOS
======================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.service-card img {
    height: 180px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.1rem;
    margin: 1rem 1.25rem 0.3rem;
    color: #1c274c;
}

.service-card p {
    font-size: 0.9rem;
    color: #5d6685;
    margin: 0 1.25rem 0.75rem;
}

.service-card ul {
    list-style: none;
    padding: 0 1.25rem 0.75rem;
    font-size: 0.85rem;
    color: #5d6685;
}

.service-card ul li::before {
    content: "• ";
    color: #246BFD;
}

.card-link {
    margin: 0.5rem 1.25rem 1.25rem;
    font-size: 0.9rem;
    color: #246BFD;
}

/* =======================
   PLANES
======================= */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.plan-card {
    background: #fff;
    border-radius: 1.1rem;
    padding: 1.5rem 1.3rem;
    box-shadow: 0 14px 30px rgba(15,23,42,0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.plan-card.destacado {
    border: 2px solid #246BFD;
    transform: translateY(-4px);
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ffb020;
    color: #1c1c1c;
    padding: 0.25rem 0.7rem;
    font-size: 0.7rem;
    border-radius: 999px;
}

.plan-card h3 {
    font-size: 1.1rem;
    color: #1c274c;
    margin-bottom: 0.2rem;
}

.plan-description {
    font-size: 0.9rem;
    color: #5d6685;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1c274c;
}

.plan-price span {
    font-size: 0.8rem;
    color: #7a82a0;
    font-weight: 400;
}

.plan-promo {
    font-size: 0.8rem;
    color: #246BFD;
}

.plan-card ul {
    list-style: none;
    font-size: 0.85rem;
    color: #5d6685;
    margin-top: 0.4rem;
}

.plan-card ul li::before {
    content: "✓ ";
    color: #22c55e;
}

.btn-primary-block,
.btn-outline-block {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.7rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn-primary-block {
    background: linear-gradient(90deg, #246BFD, #00C2FF);
    color: #fff;
    box-shadow: 0 10px 22px rgba(36, 107, 253, 0.3);
}

.btn-primary-block:hover {
    transform: translateY(-1px);
}

.btn-outline-block {
    background: #fff;
    border-color: #cbd5f5;
    color: #1c274c;
}

.btn-outline-block:hover {
    border-color: #246BFD;
}

.plans-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    text-align: center;
    color: #7a82a0;
}

/* =======================
   POR QUÉ ELEGIRNOS
======================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.why-card {
    background: #fff;
    border-radius: 0.9rem;
    padding: 1rem;
    font-size: 0.88rem;
    color: #4b567a;
    box-shadow: 0 10px 24px rgba(15,23,42,0.06);
}

.why-card h3 {
    font-size: 0.98rem;
    color: #1c274c;
    margin-bottom: 0.4rem;
}

/* =======================
   TV DETALLE
======================= */
.tv-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.tv-list {
    list-style: none;
    margin: 1rem 0 1.5rem;
    color: #4b567a;
    font-size: 0.9rem;
}

.tv-list li::before {
    content: "▶ ";
    color: #246BFD;
}

/* =======================
   COBERTURA
======================= */
.cobertura-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: center;
}

.cities-list {
    list-style: none;
    margin: 1rem 0;
    color: #4b567a;
}

.cities-list li::before {
    content: "• ";
    color: #246BFD;
}

.coverage-note {
    font-size: 0.85rem;
    color: #7a82a0;
}

/* =======================
   NOSOTROS
======================= */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    color: #4b567a;
    font-size: 0.95rem;
}

/* =======================
   FAQ
======================= */
.faq {
    max-width: 720px;
    margin: 1.5rem auto 0;
}

.faq-item {
    border-radius: 0.8rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15,23,42,0.05);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.1rem;
    color: #246BFD;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    transition: max-height 0.25s ease, padding-bottom 0.25s ease;
    font-size: 0.85rem;
    color: #4b567a;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 0.9rem;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

/* =======================
   CONTACTO
======================= */
.section-contact {
    background: linear-gradient(135deg, #e9f1ff 0%, #eef2f9 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: flex-start;
}

.contact-info {
    list-style: none;
    margin-top: 1rem;
    color: #4b567a;
    font-size: 0.9rem;
}

.contact-info li + li {
    margin-top: 0.3rem;
}

.contact-form {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 12px 24px rgba(15,23,42,0.08);
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    color: #4b567a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid #cbd5f5;
    font-size: 0.85rem;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #246BFD;
    box-shadow: 0 0 0 1px rgba(36,107,253,0.15);
}

.form-note {
    font-size: 0.75rem;
    color: #7a82a0;
    margin-top: 0.5rem;
}

/* =======================
   FOOTER
======================= */
.footer {
    background: #0b1220;
    color: #e5e7eb;
    padding-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 1.5rem;
}

.footer-logo {
    height: 32px;
    margin-bottom: 0.7rem;
}

.footer-text {
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-links li + li {
    margin-top: 0.25rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1f2933;
    padding: 0.8rem 0;
    font-size: 0.78rem;
    color: #9ca3af;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 960px) {
    .hero-inner,
    .services-grid,
    .plans-grid,
    .why-grid,
    .tv-grid,
    .cobertura-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3.25rem;
    }

    .plan-card.destacado {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        inset: 60px 0 auto 0;
        background: #fff;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        gap: 0.8rem;
        box-shadow: 0 10px 25px rgba(15,23,42,0.12);
        transform: translateY(-120%);
        transition: transform 0.2s ease;
    }

    .nav-open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: block;
    }

    .btn-whatsapp {
        display: none;
    }

    .hero-inner {
        text-align: left;
    }

    .section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.7rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
/* =======================
   HERO (MEJORA VISUAL)
   - overlay suave
   - mejor contraste y foco en texto
======================= */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

/* Caja visual de la imagen del hero */
.hero-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* La imagen ocupa mejor el contenedor */
.hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transform: scale(1.03);
}

/* Overlay para darle look pro y mejorar lectura */
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 18, 33, 0.35) 0%,
    rgba(12, 18, 33, 0.05) 55%,
    rgba(12, 18, 33, 0.00) 100%
  );
}

/* Mejora de tipografía del hero */
.hero-text h1 {
  letter-spacing: -0.02em;
}

.hero-text p {
  max-width: 56ch;
}

/* Chips (beneficios) un poquito más elegantes */
.hero-benefits span {
  border: 1px solid rgba(15, 23, 42, 0.06);
}
/* Ajustes Hero en móvil */
@media (max-width: 768px) {
  .hero-image img {
    height: 260px;
  }

  .hero-image::after {
    background: linear-gradient(
      180deg,
      rgba(12, 18, 33, 0.25) 0%,
      rgba(12, 18, 33, 0.05) 60%,
      rgba(12, 18, 33, 0.00) 100%
    );
  }
}

