:root {
  --bg: #0d111a;
  --bg-soft: #141a26;
  --card: #1a2231;
  --line: #2a3449;
  --text: #eef3ff;
  --muted: #a8b3c9;
  --primary: #2c82f0;
  --success: #1db954;
  --radius: 14px;
  /* Un poco mas estrecho en monitores grandes (se siente menos “vacío”) */
  --container: 1000px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #0b111c, #0d1320 55%, #0b1018);
  color: var(--text);
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
}

.section {
  padding: 3.8rem 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 22, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Escritorio: logo a la izquierda, links centrados en la franja media, WhatsApp a la derecha (menos “aire” raro) */
@media (min-width: 761px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 1rem;
  }

  .brand {
    justify-self: start;
  }

  .main-nav {
    justify-self: center;
  }

  .btn-header-wa {
    justify-self: end;
  }
}

.brand {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
}

.main-nav a {
  color: #cdd7ea;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
}

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

.btn-primary:hover {
  background: #226fd1;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: #e9efff;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* Hero (fondo imagen + overlay oscuro semitransparente) */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(460px, 72vh, 800px);
  padding-top: 5.2rem;
  padding-bottom: 3.2rem;
  background-color: #070b12;
  background-image: url("../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(5, 8, 16, 0.92) 0%,
    rgba(5, 8, 16, 0.78) 38%,
    rgba(5, 8, 16, 0.62) 65%,
    rgba(5, 8, 16, 0.88) 100%
  );
}

/* Mismo ancho que el resto de secciones (.container); NO usar width:100% aquí o el hero queda “full bleed” y desalineado abajo */
.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1rem, 2.2vw, 1.75rem);
  align-items: center;
}

.eyebrow {
  color: #9ab4e8;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.14;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}

.hero .hero-text {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-card {
  background: linear-gradient(155deg, rgba(24, 34, 52, 0.72), rgba(15, 22, 36, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.4rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-card h2 {
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
  color: #fff;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.78);
}

/* Compatibility (solo lista de dispositivos, tipografía destacada) */
.compatibility {
  padding-top: 0;
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.compatibility-bar {
  text-align: center;
  max-width: min(100%, 680px);
  margin-inline: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 1rem 1.35rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.compatibility-devices {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 600;
  font-size: clamp(0.88rem, 2.4vw, 1.05rem);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 0;
  color: #f2f6ff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.25rem 0.15rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.4);
}

.compat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.94);
}

.compat-item:not(.compat-item--fin)::after {
  content: "·";
  margin-left: 0.55rem;
  color: rgba(255, 255, 255, 0.32);
  font-weight: 500;
  text-shadow: none;
}

.compat-item--fin {
  font-weight: 700;
  color: #b8d4ff;
  letter-spacing: 0.06em;
}

/* Sections */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* Plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.plans-grid-all {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  background: linear-gradient(160deg, #182233, #141d2d);
  border: 1px solid #2b3a55;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan-top {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.plan-tag {
  font-size: 0.75rem;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}

.plan-body {
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.plan-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.plan-specs li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: #d8e2f6;
}

/* Viñetas tipo LED (solo Canales / Peliculas / Series / Pantallas) */
.plan-specs li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 32%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(140, 195, 255, 0.85) 38%,
    rgba(44, 130, 240, 0.55) 72%,
    rgba(30, 80, 160, 0.35) 100%
  );
  box-shadow:
    0 0 5px rgba(160, 210, 255, 0.85),
    0 0 10px rgba(44, 130, 240, 0.45),
    0 0 18px rgba(44, 130, 240, 0.2);
}

.plan-specs li span {
  flex: 1;
  min-width: 0;
}

.plan-specs li strong {
  flex-shrink: 0;
  font-weight: 650;
}

.plan-description {
  margin: 0;
  font-size: 0.93rem;
}

.price-grid {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
}

.price-row {
  display: flex;
  justify-content: space-between;
  color: #cfdaf1;
}

.plan-actions {
  margin-top: 0.3rem;
}

.plan-actions .btn {
  width: 100%;
}

/* Movies */
.movies-status {
  margin-bottom: 1rem;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}

.movies-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.movies-carousel {
  overflow-x: auto;
  padding-bottom: 0.3rem;
  scrollbar-width: thin;
}

.movies-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 190px);
  gap: 0.9rem;
  min-width: max-content;
}

.movie-card {
  background: #11192a;
  border: 1px solid #28344c;
  border-radius: 12px;
  overflow: hidden;
}

.movie-poster {
  aspect-ratio: 2 / 3;
  background: #1a2638;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-info {
  padding: 0.65rem;
}

.movie-title {
  margin: 0 0 0.2rem;
  color: #edf4ff;
  font-size: 0.95rem;
}

.movie-year {
  margin: 0;
  color: #9fb0d0;
  font-size: 0.84rem;
}

/* Benefits */
.benefits-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.benefit-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list details p {
  margin: 0.8rem 0 0;
}

/* CTA */
.cta-final {
  padding-top: 2.5rem;
}

.cta-box {
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(33, 47, 70, 0.55), rgba(20, 28, 41, 0.6));
  border-radius: 18px;
  padding: 2rem 1rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.2rem 0;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
}

.footer-grid nav {
  display: flex;
  gap: 0.8rem;
}

.footer-grid nav a {
  color: #cfd9ec;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: var(--success);
  color: #fff;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

/* Accent by plan */
.plan-accent-azul {
  border-top: 3px solid #2c82f0;
}

.plan-accent-gris {
  border-top: 3px solid #8d96a9;
}

.plan-accent-negro {
  border-top: 3px solid #2a2d33;
}

.plan-accent-rosa {
  border-top: 3px solid #de5ea2;
}

.plan-accent-dorado {
  border-top: 3px solid #d9a125;
}

.plan-accent-celeste {
  border-top: 3px solid #53bee8;
}

.plan-accent-verde {
  border-top: 3px solid #45b573;
}

/* Viñetas LED según color del plan */
.plan-card.plan-accent-azul .plan-specs li::before {
  background: radial-gradient(
    circle at 32% 32%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(120, 185, 255, 0.9) 40%,
    rgba(44, 130, 240, 0.65) 75%,
    rgba(30, 90, 200, 0.4) 100%
  );
  box-shadow:
    0 0 5px rgba(140, 200, 255, 0.9),
    0 0 11px rgba(44, 130, 240, 0.55),
    0 0 20px rgba(44, 130, 240, 0.25);
}

.plan-card.plan-accent-gris .plan-specs li::before {
  background: radial-gradient(
    circle at 32% 32%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(200, 208, 220, 0.85) 42%,
    rgba(141, 150, 169, 0.6) 78%,
    rgba(100, 110, 128, 0.35) 100%
  );
  box-shadow:
    0 0 5px rgba(200, 210, 230, 0.75),
    0 0 10px rgba(141, 150, 169, 0.45),
    0 0 18px rgba(141, 150, 169, 0.2);
}

/* Negro: nucleo claro para que se vea sobre fondo oscuro */
.plan-card.plan-accent-negro .plan-specs li::before {
  background: radial-gradient(
    circle at 32% 32%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(210, 215, 225, 0.75) 45%,
    rgba(120, 128, 145, 0.55) 80%,
    rgba(60, 65, 78, 0.45) 100%
  );
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.55),
    0 0 10px rgba(180, 190, 210, 0.35),
    0 0 16px rgba(100, 110, 130, 0.2);
}

.plan-card.plan-accent-rosa .plan-specs li::before {
  background: radial-gradient(
    circle at 32% 32%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(245, 160, 205, 0.88) 40%,
    rgba(222, 94, 162, 0.65) 75%,
    rgba(160, 50, 110, 0.4) 100%
  );
  box-shadow:
    0 0 5px rgba(255, 180, 220, 0.85),
    0 0 11px rgba(222, 94, 162, 0.5),
    0 0 20px rgba(222, 94, 162, 0.22);
}

.plan-card.plan-accent-dorado .plan-specs li::before {
  background: radial-gradient(
    circle at 32% 32%,
    rgba(255, 250, 220, 0.98) 0%,
    rgba(240, 200, 100, 0.88) 40%,
    rgba(217, 161, 37, 0.65) 75%,
    rgba(140, 100, 30, 0.4) 100%
  );
  box-shadow:
    0 0 5px rgba(255, 220, 140, 0.85),
    0 0 11px rgba(217, 161, 37, 0.5),
    0 0 20px rgba(217, 161, 37, 0.22);
}

.plan-card.plan-accent-celeste .plan-specs li::before {
  background: radial-gradient(
    circle at 32% 32%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(150, 225, 250, 0.9) 40%,
    rgba(83, 190, 232, 0.65) 75%,
    rgba(40, 120, 160, 0.4) 100%
  );
  box-shadow:
    0 0 5px rgba(170, 235, 255, 0.9),
    0 0 11px rgba(83, 190, 232, 0.55),
    0 0 20px rgba(83, 190, 232, 0.25);
}

.plan-card.plan-accent-verde .plan-specs li::before {
  background: radial-gradient(
    circle at 32% 32%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(130, 220, 175, 0.88) 40%,
    rgba(69, 181, 115, 0.65) 75%,
    rgba(35, 110, 70, 0.4) 100%
  );
  box-shadow:
    0 0 5px rgba(150, 240, 200, 0.85),
    0 0 11px rgba(69, 181, 115, 0.5),
    0 0 20px rgba(69, 181, 115, 0.22);
}

/* Responsive */
@media (max-width: 1024px) {
  .plans-grid,
  .plans-grid-all,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 84px;
    background: #131c2c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.5rem;
    flex-direction: column;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .btn-header-wa {
    display: none;
  }

  .plans-grid,
  .plans-grid-all,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid nav {
    flex-wrap: wrap;
  }
}

/* Cookie banner (Hostinger / política — versión en js/cookies.js) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 1rem 0 1.25rem;
  background: rgba(12, 16, 26, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-banner__actions {
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }
}
