/* ===================================================
   Cable del Norte - Estilos principales
   Design System: UI.md  |  Tema: Light/Dark adaptativo
   =================================================== */

/* ── Variables de tema ─────────────────────────────── */
:root {
  --primary: #009edd;
  --secondary: #fec508;
  --tertiary: #de2448;
  --night: #1a1322;
  --cloud: #f8f6fc;
  --panel: #ffffff;
  --divider: #dfd7ea;
  --text: #231a2f;
  --muted: #594b6c;
  --grad: linear-gradient(135deg, #0098db 0%, #00cced 100%);
  --deep-grad: linear-gradient(145deg, #0098db 0%, #00cced 100%);

  /* Dark Mode overridables */
  --header-bg: rgba(248, 246, 252, 0.65);
  --header-bg-scrolled: rgba(248, 246, 252, 0.95);
  --header-border: rgba(223, 215, 234, 0.5);
  --header-shadow: rgba(35, 26, 47, .08);
  --hero-overlay-base: rgba(248, 246, 252, 0.4);
  --hero-text-bg: rgba(255, 255, 255, 0.45);
  --hero-text-border: rgba(255, 255, 255, 0.6);
  --text-shadow-hero: rgba(255, 255, 255, 0.8);
  --text-shadow-hero-p: rgba(255, 255, 255, 0.9);
  --hero-overlay-left: linear-gradient(90deg, rgba(8, 12, 20, .72) 0%, rgba(8, 12, 20, .46) 34%, rgba(8, 12, 20, .2) 58%, transparent 76%);
  --hero-title-color: #ffffff;
  --hero-copy-color: rgba(255, 255, 255, 0.92);
  --hero-tag-color: rgba(255, 255, 255, 0.94);
  --hero-trust-strong: #ffffff;
  --hero-trust-small: rgba(255, 255, 255, 0.74);
  --hero-trust-divider: rgba(255, 255, 255, 0.22);
  --page-hero-overlay: linear-gradient(90deg, rgba(8, 12, 20, .68) 0%, rgba(8, 12, 20, .38) 40%, rgba(8, 12, 20, .12) 68%, transparent 86%);
  --page-hero-accent: linear-gradient(135deg, rgba(0, 158, 221, 0.12), transparent 62%);
  --page-hero-title: #ffffff;
  --page-hero-lead: rgba(255, 255, 255, 0.9);
  --nav-mobile-bg: #fff;
  --toggle-bg: #dfd7ea;
  --toggle-active-bg: #fff;
  --toggle-active-shadow: rgba(0, 0, 0, 0.1);
  --plan-bg: #fff;
  --bento-icon-bg: rgba(0, 158, 221, 0.1);
  --bento-border: rgba(223, 215, 234, 0.6);
  --bento-shadow: rgba(35, 26, 47, 0.04);
  
  /* Mobile UI */
  --tab-bar-height: 72px;
  --tab-bar-bg: rgba(255, 255, 255, 0.9);
  --tab-bar-border: rgba(223, 215, 234, 0.5);
  --tab-active: var(--primary);
  --whatsapp-color: #25D366;
}

[data-theme="dark"] {
  --cloud: #0d0b12;
  --panel: #171520;
  --divider: #2a2538;
  --text: #e8e6f0;
  --muted: #9a8fb0;
  --night: #0d0b12;

  --header-bg: rgba(13, 11, 18, 0.7);
  --header-bg-scrolled: rgba(13, 11, 18, 0.95);
  --header-border: rgba(42, 37, 56, 0.6);
  --header-shadow: rgba(0, 0, 0, .25);
  --hero-overlay-base: rgba(13, 11, 18, 0.55);
  --hero-text-bg: rgba(23, 21, 32, 0.65);
  --hero-text-border: rgba(42, 37, 56, 0.5);
  --text-shadow-hero: rgba(0, 0, 0, 0.5);
  --text-shadow-hero-p: rgba(0, 0, 0, 0.6);
  --hero-overlay-left: linear-gradient(90deg, rgba(8, 12, 20, .62) 0%, rgba(8, 12, 20, .38) 34%, rgba(8, 12, 20, .14) 58%, transparent 76%);
  --hero-title-color: #f2eef8;
  --hero-copy-color: rgba(255, 255, 255, 0.82);
  --hero-tag-color: rgba(255, 255, 255, 0.92);
  --hero-trust-strong: #f2eef8;
  --hero-trust-small: rgba(216, 210, 230, 0.72);
  --hero-trust-divider: rgba(255, 255, 255, 0.18);
  --page-hero-overlay: linear-gradient(90deg, rgba(8, 12, 20, .6) 0%, rgba(8, 12, 20, .34) 40%, rgba(8, 12, 20, .14) 68%, transparent 86%);
  --page-hero-accent: linear-gradient(135deg, rgba(0, 158, 221, 0.15), transparent 60%);
  --page-hero-title: #f2eef8;
  --page-hero-lead: rgba(232, 230, 240, 0.86);
  --nav-mobile-bg: #171520;
  --toggle-bg: #2a2538;
  --toggle-active-bg: #231e30;
  --toggle-active-shadow: rgba(0, 0, 0, 0.3);
  --plan-bg: #171520;
  --bento-icon-bg: rgba(0, 158, 221, 0.15);
  --bento-border: rgba(42, 37, 56, 0.7);
  --bento-shadow: rgba(0, 0, 0, 0.15);

  /* Mobile UI Dark */
  --tab-bar-bg: rgba(23, 21, 32, 0.9);
  --tab-bar-border: rgba(42, 37, 56, 0.8);
}

/* ── Reset ─────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body { 
  margin: 0; 
  padding: 0; 
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--cloud);
  line-height: 1.55;
  overflow-x: hidden;
  width: 100%;
  transition: background-color .3s ease, color .3s ease;
}

img { max-width: 100%; height: auto; }

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

html { scroll-behavior: smooth; }

::selection {
  background: rgba(0, 158, 221, 0.3);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

@media (max-width: 576px) {
  .container { width: calc(100% - 32px); }
}

/* ── Header (Glassmorphism) ────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--header-border);
  transition: background .25s ease, box-shadow .25s ease;
}

.header.scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: 0 10px 24px var(--header-shadow);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  transition: transform 0.3s;
}

@media (max-width: 576px) {
  .logo img { height: 32px; }
  .header-inner { height: 64px; }
}

/* Logo swap for dark mode */
.logo .logo-light { display: block; }
.logo .logo-dark  { display: none; }
[data-theme="dark"] .logo .logo-light { display: none; }
[data-theme="dark"] .logo .logo-dark  { display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav a:hover { color: var(--primary); }

.nav a.nav-account-link {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--secondary);
  color: #1a1322;
  box-shadow: 0 10px 22px rgba(254, 197, 8, 0.28);
}

.nav a.nav-account-link:hover {
  color: #1a1322;
  background: #ffd94a;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(254, 197, 8, 0.34);
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--secondary);
  color: #1a1322;
  box-shadow: 0 12px 24px rgba(254, 197, 8, .28);
}

.btn-secondary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 158, 221, .24);
}

.btn-ghost {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(26, 19, 34, .2);
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 106px;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    var(--hero-overlay-left),
    radial-gradient(circle at 80% 12%, rgba(222, 36, 72, .3), transparent 38%),
    radial-gradient(circle at 8% 88%, rgba(0, 158, 221, .3), transparent 42%),
    var(--hero-overlay-base);
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 660px) minmax(320px, 360px);
  align-items: start;
  justify-content: space-between;
  width: 100%;
  max-width: 100vw;
}

.hero-grid--single {
  grid-template-columns: minmax(0, 700px);
  justify-content: flex-start;
  padding-top: clamp(12px, 2vw, 28px);
}

.hero-grid--single .hero-panel[hidden] {
  display: none !important;
}

@media (min-width: 981px) {
  .hero-grid {
    width: min(1200px, calc(100% - 40px));
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-content: stretch;
  }

  .hero-grid--single {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

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

.hero-text-box {
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.hero-text-box--home {
  max-width: 680px;
}

.tag {
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hero-tag-color);
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 100%;
  color: var(--hero-title-color);
  text-shadow: 0 2px 10px var(--text-shadow-hero);
}

.hero p {
  margin: 14px 0 0;
  max-width: 44ch;
  color: var(--hero-copy-color);
  font-size: 1rem;
  line-height: 1.55;
  text-shadow: 0 1px 6px var(--text-shadow-hero-p);
}

@media (max-width: 576px) {
  .hero { padding-top: 90px; }
  .hero-text-box { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: none;
  }
  .hero-trust-item::after { display: none; }
  .hero p { font-size: 0.95rem; }
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust-strip {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  max-width: 100%;
}

.hero-trust-item {
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  position: relative;
  min-width: 0;
}

.hero-trust-item strong,
.hero-trust-item small {
  display: block;
}

.hero-trust-item strong {
  font-size: 1.02rem;
  line-height: 1.15;
  color: var(--hero-trust-strong);
}

.hero-trust-item small {
  margin-top: 3px;
  font-size: 0.68rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hero-trust-small);
}

.hero-trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: -11px;
  width: 1px;
  height: 32px;
  background: var(--hero-trust-divider);
}

/* ── Hero Slider Panel ─────────────────────────────── */
.hero-panel {
  background: var(--grad);
  color: #fff;
  border-radius: 16px;
  padding: clamp(18px, 3vw, 24px);
  box-shadow: 0 16px 38px rgba(0, 158, 221, .26);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-panel--home {
  max-width: 352px;
  justify-self: start;
  align-self: end;
  margin-top: 0;
  margin-left: -28px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.74), rgba(14, 22, 36, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(8, 12, 20, 0.18);
  backdrop-filter: blur(10px);
  z-index: 4;
}

.hero-promo-band { display: none; }

.hero-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-promo-card {
  background: var(--panel);
  border: 1px solid var(--divider);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.hero-promo-card h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.12;
  color: var(--text);
}

.hero-promo-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-promo-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.hero-promo-metric {
  background: rgba(0, 158, 221, 0.06);
  border: 1px solid rgba(0, 158, 221, 0.12);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.hero-promo-metric strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}

.hero-promo-metric small {
  display: block;
  margin-top: 3px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.hero-slider { position: relative; }

.hero-slide {
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: auto;
}

.hero-panel h2 {
  margin: 0;
  font-size: clamp(1.16rem, 1.95vw, 1.52rem);
  line-height: 1.1;
}

.hero-panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: .88rem;
  line-height: 1.45;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}

.dot {
  width: 8px; height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

.metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.metric {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  padding: 8px 6px;
  text-align: center;
}

.metric strong { display: block; font-size: 0.86rem; }
.metric small {
  display: block;
  margin-top: 2px;
  font-size: .59rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 480px) {
  .metric { padding: 8px 4px; }
  .metric strong { font-size: 0.85rem; }
  .metric small { font-size: 0.6rem; }
}

/* ── Sections ──────────────────────────────────────── */
.section { padding: clamp(66px, 9vw, 104px) 0; scroll-margin-top: 90px; }

.section--tight-top {
  padding-top: 80px;
  padding-bottom: 20px;
}

.section--no-bottom {
  padding-bottom: 0;
}

.section--guide {
  background: var(--cloud);
  padding-top: 40px;
}

@media (max-width: 576px) {
  .section { padding: 48px 0; }
  .section--tight-top {
    padding-top: 48px;
    padding-bottom: 16px;
  }
  .section--guide { padding-top: 24px; }
}

.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.08;
}

.section .lead {
  margin-top: 10px;
  max-width: 58ch;
  color: var(--muted);
}

.section-intro {
  text-align: center;
  margin-bottom: 50px;
}

.section-intro .lead {
  margin: 16px auto 0;
}

.section-intro--narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.section-actions,
.page-links {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.page-links {
  text-align: center;
}

.section-note {
  margin-top: 30px;
  text-align: center;
}

.inline-note,
.bento-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.inline-note {
  font-style: italic;
}

.bento-copy {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.bento-note {
  margin-top: 16px;
}

.bento-note em {
  font-style: italic;
  opacity: 0.84;
}

/* ── KPI Band ──────────────────────────────────────── */
.kpi-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  border-top: none;
  border-bottom: 1px solid var(--divider);
  padding: clamp(22px, 3vw, 32px) 0;
  position: relative;
  z-index: 5;
  box-shadow: none;
}

[data-theme="dark"] .kpi-band {
  background: linear-gradient(180deg, rgba(15, 13, 20, 0.96), rgba(15, 13, 20, 0.9));
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.kpi-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 10px;
}

.kpi-item:not(:last-child) { border-right: 1px solid var(--divider); }

.kpi-value {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.kpi-label {
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ── Bento Grid Services ───────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 24px;
  margin-top: 48px;
}

.bento-item {
  background: var(--panel);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 6px 18px var(--bento-shadow);
  border: 1px solid var(--bento-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
  text-align: left;
}

.bento-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 158, 221, 0.08);
}

.bento-item.large {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--grad);
  color: #fff;
  justify-content: center;
}

.bento-item.wide { grid-column: span 2; }

.bento-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.bento-item .bento-icon {
  width: 52px; height: 52px;
  background: var(--bento-icon-bg);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
}

.bento-item.large .bento-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.bento-item h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.bento-item.large h3 { font-size: 1.7rem; }

.bento-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.bento-item.large p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.bento-img {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 240px;
  opacity: 0.8;
}

@media (max-width: 576px) {
  .bento-item { padding: 22px; border-radius: 18px; }
  .bento-item h3 { font-size: 1.3rem; }
  .bento-item p { font-size: 0.95rem; }
  .bento-item.large h3 { font-size: 1.8rem; }
}

/* ── Pricing ───────────────────────────────────────── */
.pricing-toggle {
  display: flex;
  justify-content: center;
  margin: 28px 0 42px;
}

.pricing-section-heading {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.pricing-section-heading .lead {
  margin: 16px auto 0 !important;
  max-width: 42ch;
}

.section-pricing-home .v2-plan .price {
  font-variant-numeric: tabular-nums;
}

.toggle-bg {
  background: var(--toggle-bg);
  padding: 6px;
  border-radius: 18px;
  display: inline-flex;
  border: 1px solid var(--divider);
}

.toggle-btn {
  padding: 13px 24px;
  border-radius: 14px;
  border: none;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.3s;
  font-size: 0.94rem;
  font-family: inherit;
  min-height: 48px;
}

.toggle-btn.active {
  background: var(--toggle-active-bg);
  color: var(--text);
  box-shadow: 0 4px 12px var(--toggle-active-shadow);
}

.v2-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Better centering and dynamic columns */
  max-width: 1160px; /* Constrain width to keep 3 items looking good */
  margin: 48px auto 0; /* Center the entire grid container */
  gap: 24px;
  justify-content: center;
}

/* ── Asymmetric TV Grid ── */
.tv-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tv-bento-base {
  grid-column: span 1;
  grid-row: span 2;
  /* El plan base es alto y destacado */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tv-bento-addon {
  grid-column: span 1;
  grid-row: span 1;
  padding: 24px 20px;
}

.tv-bento-addon h3 {
  font-size: 1.1rem;
}

.tv-bento-addon .price {
  font-size: 2rem;
  margin: 10px 0;
}

.tv-bento-addon ul {
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.tv-bento-addon .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .tv-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tv-bento-base {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 576px) {
  .tv-bento-grid {
    grid-template-columns: 1fr;
  }
  .tv-bento-base, .tv-bento-addon {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.v2-plan {
  background: var(--plan-bg);
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid var(--divider);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.v2-plan.featured {
  border: 1px solid rgba(0, 158, 221, 0.34);
  box-shadow: 0 16px 32px rgba(0, 158, 221, 0.10);
  z-index: 2;
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 158, 221, 0.22);
}

.v2-plan h3 {
  margin: 0;
  font-size: 1.42rem;
  color: var(--text);
  line-height: 1.15;
}

.v2-plan .price {
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 14px 0 10px;
  letter-spacing: -0.03em;
}

.v2-plan .price small {
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: normal;
}

.v2-plan p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.v2-plan ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 auto;
}

.v2-plan li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.v2-plan li svg {
  width: 22px; height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.v2-plan .btn {
  width: 100%;
  margin-top: 24px;
  min-height: 48px;
  padding: 14px 16px;
  font-size: 0.92rem;
  border-radius: 12px;
}

@media (max-width: 480px) {
  .v2-plan { padding: 28px 18px; border-radius: 18px; }
  .v2-plan .price { font-size: 2.6rem; }
  .v2-plan h3 { font-size: 1.3rem; }
  .v2-plan li { font-size: 0.88rem; gap: 10px; margin-bottom: 12px; }
}

/* ── Big CTA ───────────────────────────────────────── */
.big-cta {
  background: var(--grad);
  border-radius: 24px;
  padding: 64px 36px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 72px;
  box-shadow: 0 20px 44px rgba(0, 158, 221, 0.18);
}

.big-cta h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 0 0 18px;
  color: #fff;
  letter-spacing: -0.02em;
}

.big-cta p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 54ch;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-actions-light {
  justify-content: center;
}

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

.btn-cta-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── Footer ────────────────────────────────────────── */
.v2-footer {
  background: #0b0811;
  color: #fff;
  padding: 100px 0 40px;
}

.v2-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.v2-footer .logo {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 24px;
}

.v2-footer p {
  color: #8a7a9e;
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.6;
}

.v2-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}

.v2-footer a {
  display: block;
  color: #8a7a9e;
  margin-bottom: 14px;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.v2-footer a:hover { color: var(--primary); }

/* ── Footer Bottom ─────────────────────────────────── */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.v2-footer .social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #8a7a9e;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.v2-footer .social-links a:hover {
  color: #fff;
  background: rgba(0, 158, 221, 0.18);
  border-color: rgba(0, 158, 221, 0.35);
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.v2-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 80px;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6c5f7d;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Footer Controls (Theme + Lang + Payments) ────── */
.footer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  width: 100%;
}

.footer-preferences {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
}

.footer-preference-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-preference-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.footer-payments {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.payment-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.payment-icons svg {
  height: 32px;
  width: auto;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.payment-icons svg:hover { opacity: 0.8; }

.payment-security-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-security-icons img {
  display: block;
  width: 176px;
  height: auto;
  object-fit: contain;
  padding: 6px;
  border-radius: 6px;
  background: #fff;
}

/* Theme Toggle Switch */
.theme-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  color: #8a7a9e;
  font-size: 0.85rem;
}

.theme-switch__track {
  width: 48px;
  height: 26px;
  background: #2a2538;
  border-radius: 13px;
  position: relative;
  transition: background 0.3s;
}

.theme-switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

[data-theme="dark"] .theme-switch__thumb {
  transform: translateX(22px);
}

.theme-switch__icon-sun,
.theme-switch__icon-moon {
  position: absolute;
  font-size: 12px;
  line-height: 1;
}

.theme-switch__icon-sun { display: block; }
.theme-switch__icon-moon { display: none; }
[data-theme="dark"] .theme-switch__icon-sun { display: none; }
[data-theme="dark"] .theme-switch__icon-moon { display: block; }

/* Language Switch */
.lang-switch {
  display: flex;
  align-items: center;
}

.lang-select {
  min-width: 78px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: #171520;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0 34px 0 12px;
  font-family: inherit;
  outline: none;
}

.lang-select:focus {
  border-color: rgba(0, 158, 221, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 158, 221, 0.16);
}

/* ── Skeleton Loaders ──────────────────────────────── */
.v2-plan.skeleton {
  pointer-events: none;
}

.skel-line {
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--divider) 25%, transparent 50%, var(--divider) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  margin-bottom: 16px;
}

.skel-short { width: 60%; height: 20px; }
.skel-long { width: 90%; }
.skel-price { width: 50%; height: 48px; margin: 24px 0; }
.skel-medium { width: 80%; }
.skel-btn { width: 100%; height: 48px; margin-top: auto; border-radius: 16px; }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── View All Plans Button ─────────────────────────── */
.view-all-plans {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 16px;
}

.view-all-btn {
  font-size: 0.95rem;
  padding: 14px 32px;
}

/* Expanded plans grid (more than 3) */
.v2-plans.expanded {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ── Animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible,
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }

  .v2-plans {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .v2-plan.featured { transform: none; }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .bento-item.large { grid-column: span 2; }

  .v2-footer-grid { grid-template-columns: 1fr 1fr; }
  .v2-footer-grid>div:first-child,
  .v2-footer-grid>div:last-child { grid-column: span 2; }

  .nav {
    position: fixed;
    top: 78px;
    left: 0; right: 0;
    background: var(--nav-mobile-bg);
    border-top: 1px solid var(--divider);
    box-shadow: 0 14px 26px rgba(35, 26, 47, .09);
    padding: 18px 20px;
    display: none;
    flex-direction: column;
    gap: 12px;
  }

  .nav a.nav-account-link {
    justify-content: center;
    margin-top: 4px;
  }

  .nav.open { display: flex; }
  .menu-btn { display: inline-block; }
}

@media (max-width: 700px) {
  .container { width: min(1200px, calc(100% - 28px)); }

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

  .bento-item.large,
  .bento-item.wide { grid-column: span 1; }

  .v2-footer-grid { grid-template-columns: 1fr; }
  .v2-footer-grid>div:first-child { grid-column: span 1; }

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

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }

  .kpi-item:not(:last-child) { border-right: none; }
  .kpi-item:nth-child(odd) { border-right: 1px solid var(--divider); }

  .v2-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-controls {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }
}

/* ── Subpage Hero ──────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.page-hero__bg img[data-theme-ready="true"] {
  opacity: 1;
}

/* Theme-aware hero: switch images via JS/data-theme */
[data-theme="dark"] .page-hero__bg img[src*="light"] {
  content: url('');  /* hide light */
}

.page-hero__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    var(--page-hero-overlay),
    var(--page-hero-accent),
    var(--hero-overlay-base);
  z-index: 2;
}

.page-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.page-hero__text {
  max-width: 800px;
}

@media (max-width: 980px) {
  .page-hero__content { text-align: center; }
}

.page-hero__content h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0;
  max-width: 20ch;
  color: var(--page-hero-title);
  text-shadow: 0 2px 10px var(--text-shadow-hero);
}

.page-hero__content .lead {
  margin-top: 12px;
  max-width: 52ch;
  color: var(--page-hero-lead);
  font-size: 1.1rem;
  text-shadow: 0 1px 6px var(--text-shadow-hero-p);
}

/* ── Content Section ───────────────────────────────── */
.content-section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.content-body {
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--text);
}

.content-body h2 {
  font-size: 1.6rem;
  margin: 48px 0 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.content-body h3 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
  color: var(--text);
}

.content-body p {
  margin: 0 0 20px;
  color: var(--muted);
}

.content-body ul,
.content-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
  color: var(--muted);
}

.content-body li {
  margin-bottom: 10px;
}

.content-body strong {
  color: var(--text);
  font-weight: 600;
}

.content-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-body a:hover {
  color: var(--secondary);
}

.content-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}

/* 404 page */
.error-page {
  min-height: calc(100vh - 420px);
  padding: clamp(130px, 14vw, 190px) 0 clamp(70px, 10vw, 120px);
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 158, 221, 0.14), transparent 30%),
    radial-gradient(circle at 14% 78%, rgba(254, 197, 8, 0.16), transparent 28%),
    var(--cloud);
}

.error-page__inner {
  max-width: 820px;
  text-align: center;
}

.error-page__eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.error-page h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.04;
}

.error-page .lead {
  max-width: 58ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
}

.error-page__actions,
.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.error-page__actions {
  gap: 12px;
  margin-top: 32px;
}

.error-page__links {
  gap: 10px;
  margin-top: 26px;
}

.error-page__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--divider);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.error-page__links a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Contact Form ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--divider);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 158, 221, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--divider);
  border-radius: 16px;
  background: var(--panel);
}

.contact-info-icon {
  width: 48px; height: 48px;
  background: var(--bento-icon-bg);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.contact-info-text h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--text);
}

.contact-info-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-inline-link {
  color: var(--primary);
}

.form-success {
  padding: 16px 20px;
  background: rgba(0, 158, 221, 0.1);
  border: 1px solid rgba(0, 158, 221, 0.3);
  border-radius: 12px;
  color: var(--primary);
  font-weight: 600;
  display: none;
}

.form-error {
  padding: 16px 20px;
  background: rgba(222, 36, 72, 0.1);
  border: 1px solid rgba(222, 36, 72, 0.28);
  border-radius: 12px;
  color: var(--tertiary);
  font-weight: 600;
  display: none;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(92px, auto) 1fr 44px;
  gap: 10px;
  align-items: center;
}

.captcha-question {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--bento-icon-bg);
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.captcha-refresh {
  width: 44px;
  height: 44px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--panel);
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.captcha-refresh:hover {
  border-color: var(--primary);
  background: var(--bento-icon-bg);
}

.contact-map {
  overflow: hidden;
  border: 1px solid var(--divider);
  border-radius: 18px;
  background: var(--panel);
  min-height: 280px;
}

.contact-map-preview {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(255, 255, 255, 0.7) 47% 49%, transparent 49% 100%),
    linear-gradient(18deg, transparent 0 58%, rgba(255, 255, 255, 0.8) 58% 60%, transparent 60% 100%),
    linear-gradient(145deg, rgba(0, 158, 221, 0.22), rgba(254, 197, 8, 0.16)),
    repeating-linear-gradient(0deg, rgba(0, 158, 221, 0.08) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(0, 158, 221, 0.08) 0 1px, transparent 1px 30px),
    var(--panel);
  color: var(--text);
  isolation: isolate;
}

.contact-map-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 55% 44%, rgba(0, 158, 221, 0.22), transparent 22%),
    radial-gradient(circle at 28% 66%, rgba(254, 197, 8, 0.2), transparent 18%);
  z-index: -1;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  background: var(--tertiary);
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 14px 28px rgba(222, 36, 72, 0.28);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #fff;
}

.map-label {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--divider);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .map-label {
  background: rgba(23, 21, 32, 0.88);
}

.map-label strong {
  color: var(--text);
  font-size: 1rem;
}

.map-label span,
.map-label em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
}

/* ── About Page ────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-card {
  background: var(--panel);
  border: 1px solid var(--divider);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.about-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: var(--primary);
}

.about-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Nav Active State ──────────────────────────────── */
.nav a.active {
  color: var(--primary);
}

/* ── Responsive Subpages ───────────────────────────── */
@media (max-width: 700px) {
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .contact-info-item {
    padding: 16px;
  }

  .section-actions,
  .page-links,
  .channel-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .channel-filters {
    width: 100%;
  }

  .channel-search,
  .channel-select,
  .channel-print-btn {
    width: 100%;
    max-width: none;
  }

  .page-hero {
    padding: 120px 0 60px;
    min-height: 260px;
  }

  .channel-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .captcha-row {
    grid-template-columns: 1fr 44px;
  }

  .captcha-question {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 240px;
    height: 240px;
  }
}

/* ── Channel Guide ─────────────────────────────────── */
.channel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
  flex: 1;
}

.channel-filter-btn {
  padding: 10px 16px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.channel-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.channel-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.channel-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.channel-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.channel-search,
.channel-select {
  min-height: 46px;
  border: 1px solid var(--divider);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  padding: 0 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.channel-search {
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 420px;
}

.channel-select {
  min-width: 190px;
  cursor: pointer;
}

.channel-search:focus,
.channel-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 158, 221, 0.15);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.channel-card {
  --channel-accent: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--divider);
  border-left: 4px solid var(--channel-accent);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.channel-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.channel-number {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--channel-accent);
  min-width: 42px;
  text-align: center;
  background: var(--bento-icon-bg);
  padding: 6px 8px;
  border-radius: 8px;
}

.channel-name {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
}

.channel-badge {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--channel-accent) 45%, transparent);
  background: color-mix(in srgb, var(--channel-accent) 12%, transparent);
  color: var(--channel-accent);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.channel-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 40px 20px;
}

.channel-hd {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(254, 197, 8, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.skeleton-card {
  height: 52px;
  background: var(--divider);
  border-radius: 12px;
}

.print-header {
  display: none;
  margin-bottom: 20px;
  border-bottom: 2px solid #000;
  padding-bottom: 20px;
}

.preloader {
  position: fixed;
  inset: 0;
  background: var(--cloud);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.preloader__logo {
  width: auto;
  height: 60px;
}

/* ── Legal Links (Footer Bottom) ───────────────────── */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.legal-links a {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .legal-links {
    justify-content: center;
  }
}

/* ── Print Styles ──────────────────────────────────────── */
@page {
  margin: 12mm 8mm;
}

@media print {
  /* Hide all interactive, navigation, and marketing elements */
  header, footer, .page-hero, .hero, .content-section, .kpi-band, .site-header, .site-footer, .theme-toggle, .lang-toggle, .btn, .channel-filters, #printBtn, .big-cta, .whatsapp-fab, .mobile-tab-bar {
    display: none !important;
  }

  /* Reset page layout to utilize full paper width */
  body, html {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  #main-content {
    margin: 0 !important;
    padding: 0 !important;
  }

  .section {
    padding: 0 !important;
    background: #fff !important;
  }

  #printHeader {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  #printHeader img {
    max-height: 80px !important;
    margin: 0 auto 15px auto !important;
    display: block !important;
  }

  #printHeader h1 {
    font-size: 24pt !important;
    margin: 0 auto !important;
    color: #000 !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    max-width: 100% !important;
    width: 100% !important;
    line-height: 1.2 !important;
    font-weight: bold !important;
    text-align: center !important;
    letter-spacing: normal !important;
  }

  /* Compact table-like channel layout for print */
  .channel-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;
    align-items: start !important;
  }

  .channel-card {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) 58px !important;
    align-items: baseline !important;
    gap: 4px !important;
    min-height: 0 !important;
    border: 0 !important;
    border-left: 0 !important;
    border-bottom: 0.5pt solid #ddd !important;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 2px 4px !important;
    break-inside: avoid;
    page-break-inside: avoid;
    color: #000 !important;
  }

  .channel-card:hover {
    transform: none !important;
    border-color: #ccc !important;
  }

  .channel-number {
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 7.5pt !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-align: right !important;
  }

  .channel-name {
    min-width: 0 !important;
    font-size: 7.5pt !important;
    line-height: 1.15 !important;
    color: #111 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .channel-card > span:last-child {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 6.5pt !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    color: #000 !important;
    text-align: right !important;
  }
  
  /* Make sure background colors print if supported by browser */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }

/* ── Mobile "App-Like" Elements ───────────────────── */
.mobile-tab-bar {
  display: none; /* Default hidden on desktop */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--tab-bar-height);
  background: var(--tab-bar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--tab-bar-border);
  z-index: 1000;
  padding: 0 8px; /* Reduced from 16px to fit 5 items */
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.mobile-tab-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px; /* Reduced from 4px */
  color: var(--muted);
  font-size: 0.7rem; /* Reduced from 0.75rem */
  font-weight: 500;
  transition: color 0.2s;
  flex: 1;
  min-width: 0; /* Prevent overflow */
}

.mobile-tab-bar a span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
}

.mobile-tab-bar a svg {
  width: 24px;
  height: 24px;
}

.mobile-tab-bar a.active {
  color: var(--tab-active);
}

.whatsapp-fab {
  position: fixed;
  bottom: calc(var(--tab-bar-height) + 16px);
  right: 20px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp-color);
  color: #fff;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s;
}

.whatsapp-fab:active { transform: scale(0.9); }
.whatsapp-fab svg { width: 30px; height: 30px; }

@media (max-width: 576px) {
  body { padding-bottom: var(--tab-bar-height); }
  .mobile-tab-bar { display: flex; }
  
  /* Pricing Cards Horizontal Scroll */
  .v2-plans {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 20px 0 40px;
    margin: 0;
    width: 100%;
    scrollbar-width: auto;
    justify-content: flex-start; /* Fix for cut-off first item on mobile */
  }
  
  .v2-plans::-webkit-scrollbar { 
    display: block; 
    height: 4px;
  }

  .v2-plans::-webkit-scrollbar-track { background: var(--divider); }
  .v2-plans::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
  
  .v2-plan {
    min-width: 85vw;
    scroll-snap-align: center;
    margin: 0;
  }

  .whatsapp-fab { bottom: calc(var(--tab-bar-height) + 20px); }
}

/* ── Mobile Refinements For PR 009 ─────────────────── */
@media (max-width: 576px) {
  :root {
    --tab-bar-height: 78px;
  }

  body {
    padding-bottom: calc(var(--tab-bar-height) + env(safe-area-inset-bottom, 0px));
    background:
      linear-gradient(180deg, rgba(0, 158, 221, 0.08) 0%, rgba(248, 246, 252, 0) 18%),
      var(--cloud);
  }

  .container {
    width: calc(100% - 24px);
  }

  .header {
    background: rgba(12, 9, 18, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  [data-theme="light"] .header {
    background: rgba(248, 246, 252, 0.88);
    border-bottom-color: rgba(223, 215, 234, 0.7);
    box-shadow: 0 10px 24px rgba(35, 26, 47, 0.08);
  }

  .header-inner {
    height: 68px;
    gap: 12px;
  }

  .logo img {
    height: 34px;
  }

  .menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  [data-theme="light"] .menu-btn {
    background: rgba(0, 158, 221, 0.1);
    color: var(--primary);
  }

  .nav {
    top: 80px;
    left: 12px;
    right: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(18, 14, 26, 0.96);
    backdrop-filter: blur(14px);
    gap: 4px;
  }

  [data-theme="light"] .nav {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(223, 215, 234, 0.75);
    box-shadow: 0 18px 36px rgba(35, 26, 47, 0.12);
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #f5f1ff;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
  }

  [data-theme="light"] .nav a {
    color: var(--text);
  }

  .nav a.active,
  .nav a:hover {
    background: rgba(0, 158, 221, 0.14);
    color: #fff;
  }

  [data-theme="light"] .nav a.active,
  [data-theme="light"] .nav a:hover {
    background: rgba(0, 158, 221, 0.1);
    color: var(--primary);
  }

  .nav a.nav-account-link,
  [data-theme="light"] .nav a.nav-account-link {
    background: var(--secondary);
    color: #1a1322;
  }

  .nav a.nav-account-link:hover,
  [data-theme="light"] .nav a.nav-account-link:hover {
    background: #ffd94a;
    color: #1a1322;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
    padding-bottom: 18px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 8, 14, 0.22) 0%, rgba(10, 8, 14, 0.34) 28%, rgba(10, 8, 14, 0.78) 100%),
      radial-gradient(circle at 84% 12%, rgba(222, 36, 72, 0.30), transparent 34%),
      radial-gradient(circle at 12% 82%, rgba(0, 158, 221, 0.24), transparent 38%);
  }

  .hero-grid {
    gap: 12px;
    align-items: end;
  }

  .hero-panel--home {
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0;
    align-self: auto;
  }

  .hero-text-box {
    background: linear-gradient(180deg, rgba(24, 19, 34, 0.72), rgba(16, 12, 24, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
    padding: 18px 24px 16px;
    border-radius: 18px;
    text-align: left;
  }

  .hero .tag {
    margin-bottom: 8px;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.68);
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7.2vw, 2.45rem);
    line-height: 1.02;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    color: #fff;
    text-align: left;
    text-shadow: none;
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero p {
    margin-top: 10px;
    max-width: none;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.5;
    text-shadow: none;
  }

  .hero-actions {
    margin-top: 14px;
    gap: 10px;
    justify-content: flex-start;
  }

  .hero-actions .btn {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    border-radius: 12px;
    flex: 1 1 0;
  }

  .hero-panel {
    border-radius: 18px;
    padding: 12px 12px 10px;
    box-shadow: 0 10px 20px rgba(8, 12, 20, 0.18);
  }

  .hero-panel h2 {
    font-size: 1.18rem;
  }

  .hero-panel p {
    margin-top: 8px;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .metrics {
    margin-top: 12px;
    gap: 6px;
  }

  .metric {
    padding: 9px 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
  }

  .metric strong {
    font-size: 0.82rem;
  }

  .metric small {
    font-size: 0.54rem;
    letter-spacing: 0.05em;
  }

  .slider-dots {
    margin-top: 14px;
  }

  .kpi-band {
    margin-top: 0;
    padding: 10px 0 4px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .kpi-grid {
    gap: 10px;
  }

  .kpi-item {
    padding: 12px 10px 10px;
    background: rgba(9, 7, 14, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
  }

  [data-theme="light"] .kpi-item {
    background: var(--panel);
    border-color: var(--divider);
    box-shadow: 0 10px 24px rgba(35, 26, 47, 0.05);
  }

  .kpi-item:nth-child(odd),
  .kpi-item:not(:last-child) {
    border-right: none;
  }

  .kpi-value {
    font-size: 1.55rem;
  }

  .kpi-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  [data-theme="light"] .kpi-label {
    color: var(--muted);
  }

  .section {
    padding: 34px 0;
    scroll-margin-top: 76px;
  }

  .section h2 {
    font-size: 1.96rem;
    line-height: 1.04;
    max-width: none;
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .section .container > div[style*="text-align: center"] h2,
  .section .container > div[style*="text-align: center"] .lead {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
  }

  .section .container > div[style*="text-align: center"] h2 {
    max-width: 16ch;
  }

  .section .container > div[style*="text-align: center"] .lead {
    max-width: 34ch;
  }

  .section .lead {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  #servicios .tag,
  #servicios h2,
  #servicios .lead {
    text-align: left;
  }

  #servicios h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  #servicios .lead {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .bento-grid {
    gap: 14px;
    margin-top: 26px;
  }

  .bento-item,
  .bento-item.large,
  .bento-item.wide {
    border-radius: 22px;
    padding: 18px 16px;
  }

  .bento-header {
    gap: 12px;
    margin-bottom: 12px;
  }

  .bento-item .bento-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .bento-item.large h3,
  .bento-item h3 {
    font-size: 1.18rem;
    line-height: 1.15;
  }

  .bento-item.large p,
  .bento-item p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .pricing-toggle {
    margin: 22px 0 16px;
  }

  .toggle-bg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    padding: 5px;
    border-radius: 16px;
    gap: 4px;
  }

  .toggle-btn {
    width: 100%;
    min-height: 52px;
    padding: 10px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
  }

  .v2-plans {
    gap: 14px;
    padding: 18px 12px 22px;
    margin: 0 -12px;
    scroll-padding-inline: 12px;
    scroll-snap-type: x mandatory;
  }

  .v2-plans::-webkit-scrollbar {
    display: none;
  }

  .v2-plan {
    min-width: min(88vw, 360px);
    padding: 28px 18px 20px;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.07);
    scroll-snap-align: center;
  }

  .v2-plan.featured {
    transform: none;
    border-width: 1px;
  }

  .plan-badge {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.62rem;
    padding: 5px 10px;
    letter-spacing: 0.08em;
  }

  .v2-plan h3 {
    margin-top: 0;
    font-size: 1.24rem;
    line-height: 1.15;
  }

  .v2-plan p {
    margin-bottom: 14px;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .v2-plan .price {
    margin: 12px 0 4px;
    font-size: 2.95rem;
    line-height: 0.95;
  }

  .v2-plan .price small {
    font-size: 0.88rem;
  }

  .v2-plan ul {
    margin: 18px 0 auto;
  }

  .v2-plan li {
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .v2-plan li svg {
    width: 18px;
    height: 18px;
    margin-top: 1px;
  }

  .v2-plan .btn {
    margin-top: 20px;
    min-height: 48px;
    padding: 14px 16px;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    border-radius: 12px;
  }

  #viewAllLink {
    margin-top: 6px !important;
  }

  #viewAllLink .btn {
    width: 100%;
    min-height: 46px;
    border-radius: 999px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .big-cta {
    border-radius: 20px;
    padding: 40px 26px 34px;
    margin-bottom: 36px;
    box-shadow: 0 24px 44px rgba(0, 158, 221, 0.18);
  }

  .big-cta h2 {
    font-size: 2.1rem;
    line-height: 1.06;
    margin-bottom: 16px;
    max-width: 15ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .big-cta p {
    font-size: 0.92rem;
    line-height: 1.58;
    margin-bottom: 28px;
    max-width: 36ch;
  }

  .big-cta .hero-actions {
    gap: 12px;
    justify-content: center;
  }

  .big-cta .hero-actions .btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
  }

  .v2-footer {
    padding: 48px 0 calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .v2-footer-grid {
    gap: 24px;
  }

  .v2-footer .logo {
    margin-bottom: 14px;
  }

  .v2-footer p {
    max-width: none;
    font-size: 0.86rem;
    line-height: 1.55;
  }

  .v2-footer h4 {
    margin-bottom: 14px;
    font-size: 0.96rem;
  }

  .v2-footer a {
    margin-bottom: 10px;
    font-size: 0.86rem;
  }

  .footer-controls {
    margin-top: 20px;
    gap: 14px;
    align-items: center;
  }

  .payment-icons {
    gap: 12px;
  }

  .payment-icons svg {
    height: 28px;
  }

  .footer-payments {
    align-items: center;
  }

  .payment-security-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .payment-security-icons img {
    width: min(176px, 100%);
    height: auto;
  }

  .footer-preferences {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-preference-group {
    justify-content: center;
  }

  .lang-select {
    min-width: 72px;
    height: 36px;
    font-size: 0.78rem;
  }

  .v2-bottom {
    margin-top: 28px;
    padding-top: 18px;
    font-size: 0.72rem;
  }

  .mobile-tab-bar {
    height: calc(var(--tab-bar-height) + env(safe-area-inset-bottom, 0px));
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(13, 11, 18, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.24);
  }

  .mobile-tab-bar a {
    gap: 3px;
    padding: 8px 4px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.62rem;
    letter-spacing: 0.02em;
  }

  .mobile-tab-bar a svg {
    width: 20px;
    height: 20px;
  }

  .mobile-tab-bar a.active {
    color: #fff;
    background: rgba(0, 158, 221, 0.18);
  }

  .mobile-tab-bar a span {
    overflow: visible;
    text-overflow: clip;
  }

  .whatsapp-fab {
    right: 14px;
    bottom: calc(var(--tab-bar-height) + env(safe-area-inset-bottom, 0px) + 14px);
    width: 52px;
    height: 52px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.34);
  }

  .whatsapp-fab svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 576px) {
  .page-hero__content h1 {
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .page-hero__content .lead {
    max-width: 34ch;
    margin-left: auto;
    margin-right: auto;
    text-wrap: pretty;
  }
}

/* ── Bento & Plan fixes for Desktop ───────────────── */
@media (max-width: 700px) {
  .hero-text-box,
  .page-hero .hero-text-box,
  .bento-item,
  .v2-plan,
  .big-cta {
    max-width: 100%;
  }

  .page-hero {
    min-height: 360px;
    padding: 96px 0 40px;
    align-items: flex-end;
  }

  .page-hero__content {
    justify-content: flex-start;
    text-align: left;
  }

  .page-hero .hero-text-box {
    width: 100%;
    padding: 26px 24px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(22, 17, 31, 0.86), rgba(13, 11, 18, 0.94));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  }

  .page-hero__content h1 {
    max-width: 100%;
    margin: 0;
    color: #fff;
    font-size: clamp(1.9rem, 7.2vw, 2.45rem);
    line-height: 1.04;
    text-align: left;
    text-shadow: none;
  }

  .page-hero__content .lead {
    max-width: 100%;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.98rem, 4.2vw, 1.1rem);
    line-height: 1.48;
    text-align: left;
    text-shadow: none;
  }

  .section .container > div[style*="text-align: center"] {
    margin-bottom: 28px !important;
  }

  .page-hero + .section[style*="padding-top: 80px"] {
    padding-top: 42px !important;
  }

  [data-i18n="page.econocombos.intro"] {
    width: 100%;
    max-width: none !important;
    text-align: left !important;
    font-size: clamp(0.98rem, 4.2vw, 1.08rem);
    line-height: 1.55;
  }

  .section h2 {
    max-width: 15ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 8.8vw, 2.45rem);
  }

  .section .lead {
    max-width: 30ch;
  }

  #servicios .tag,
  #servicios h2,
  #servicios .lead {
    text-align: left;
  }

  #servicios h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  #servicios .lead {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .bento-grid {
    gap: 14px;
    margin-top: 28px;
  }

  .bento-item,
  .bento-item.large,
  .bento-item.wide {
    border-radius: 18px;
    padding: 20px 18px;
  }

  .v2-plans {
    display: flex;
    gap: 14px;
    width: auto;
    max-width: none;
    margin: 0 -14px;
    padding: 16px 14px 22px;
    overflow-x: auto;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
  }

  .v2-plans::-webkit-scrollbar {
    display: none;
  }

  .v2-plan {
    flex: 0 0 min(88vw, 370px);
    min-width: 0;
    padding: 28px 20px 22px;
    border-radius: 18px;
    scroll-snap-align: center;
  }

  .v2-plan.featured {
    transform: none;
    border-width: 1px;
  }

  .big-cta {
    padding: 36px 22px 32px;
    border-radius: 20px;
    margin-bottom: 28px;
  }

  .big-cta h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 7.6vw, 2.3rem);
    line-height: 1.08;
  }

  .big-cta p {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .big-cta .hero-actions {
    gap: 10px;
  }

  .big-cta .hero-actions .btn {
    flex: 1 1 calc(50% - 5px);
    min-height: 50px;
    padding-inline: 12px;
  }
}

@media (min-width: 701px) {
  .whatsapp-fab {
    bottom: 30px;
    right: 30px;
  }

  /* Force grid on desktop for all bento and plan containers */
  .v2-plans {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* Fixed 3 columns for desktop */
    width: 100% !important;
    max-width: 1160px !important;
    margin: 48px auto 0 !important;
    gap: 24px !important;
    justify-content: center !important;
  }

  .v2-plan {
    min-width: 0 !important; /* Reset mobile min-width */
    width: auto !important;
  }

  .bento-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
  }

  /* Specific fix for 3 items in bento subpages (TV/Internet) */
  .bento-grid:not(.home-bento) {
    grid-template-columns: repeat(3, 1fr) !important;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center !important;
  }
}
