/* ═══════════════════════════════════════════════════════════════
   AuraLink by Rey Connect — Design System v6 (consolidado)
   Rey Connect, SRL · RNC 132-00740-9 · INDOTEL DE-147-2022
   AS273836 · Provincia Sánchez Ramírez, República Dominicana

   Reescrito desde cero: una sola definición por componente.
   Cada media query vive junto al componente al que pertenece.
   Todo grid de una columna usa minmax(0, 1fr).

   ÍNDICE
   01 · Fuentes, reset y tokens      08 · Prueba de velocidad
   02 · Base                          09 · Cobertura y mapas
   03 · Utilidades                    10 · Pruebas verificables
   04 · Navegación                    11 · Contacto y formularios
   05 · Botones                       12 · Páginas legales
   06 · Layout y secciones            13 · Cookies
   07 · Hero, features, beneficios    14 · CTA, footer, WhatsApp
   ═══════════════════════════════════════════════════════════════ */


/* ═══ 01 · FUENTES, RESET Y TOKENS ══════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;1,9..40,400&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Marca */
  --rc-blue: #1565d8;
  --rc-blue-dim: rgba(21, 101, 216, .12);
  --rc-red: #E5181B;
  --al-violet: #6B21E8;
  --al-violet-mid: #8B5CF6;
  --al-violet-dim: rgba(107, 33, 232, .10);
  --al-violet-glow: rgba(107, 33, 232, .35);
  --al-cyan: #06B6D4;
  --al-gold: #FBBF24;
  --al-gold-deep: #D97706;
  --al-gold-text: #B45309;

  /* Superficies claras */
  --bg: #f4f5f7;
  --bg-alt: #eceef3;
  --surface: #fff;
  --surface2: #f8f9fb;
  --surface3: #eef0f5;
  --border: #e0e3ed;
  --border-soft: #eaecf3;

  /* Texto claro */
  --text: #0a0a0f;
  --text-dim: #3a3d52;
  --text-muted: #8b8fa8;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .07);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, .10);
  --shadow-soft: 0 6px 28px rgba(0, 0, 0, .06);
  --shadow-violet: 0 4px 32px rgba(107, 33, 232, .25);

  /* Radios */
  --r: 16px;
  --r-sm: 10px;
  --r-xs: 8px;
  --r-pill: 999px;

  /* Transiciones */
  --t: .25s cubic-bezier(.22, 1, .36, 1);
  --t-fast: .15s ease;

  /* Navegación */
  --nav-pill-bg: rgba(107, 33, 232, .10);
  --nav-pill-blur: blur(24px) saturate(200%);
  --nav-pill-border: rgba(107, 33, 232, .20);
  --nav-bg: rgba(244, 245, 247, .55);
  --nav-border: rgba(107, 33, 232, .08);
  --nav-text: #2d1a4a;
  --nav-text-muted: #5c4480;

  /* Emoji monocromático */
  --emoji-filter: grayscale(1) brightness(0);
}

[data-theme="dark"] {
  --bg: #08080d;
  --bg-alt: #0e0e15;
  --surface: #111118;
  --surface2: #18181f;
  --surface3: #20202a;
  --border: #252530;
  --border-soft: #1e1e28;

  --text: #f0f0f8;
  --text-dim: #a0a0bb;
  --text-muted: #55556a;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .5);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .6);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, .7);
  --shadow-soft: 0 6px 28px rgba(0, 0, 0, .45);

  --nav-pill-bg: rgba(15, 8, 35, .75);
  --nav-pill-border: rgba(139, 92, 246, .18);
  --nav-bg: rgba(8, 8, 13, .60);
  --nav-border: rgba(139, 92, 246, .10);
  --nav-text: #ffffff;
  --nav-text-muted: rgba(255, 255, 255, .55);

  --emoji-filter: grayscale(1) brightness(10);
}


/* ═══ 02 · BASE ═════════════════════════════════════════════════ */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background var(--t), color var(--t);
  overflow-x: hidden;
}

a {
  color: var(--al-violet);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover { color: var(--al-violet-mid); }

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

table { border-collapse: collapse; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

/* Foco visible — accesibilidad por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--al-violet);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Boxicons: normalización única para todo el sitio */
.bx {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* ═══ 03 · UTILIDADES ═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

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

.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .20s; }
.reveal-delay-3 { transition-delay: .30s; }
.reveal-delay-4 { transition-delay: .40s; }

.emoji-mono {
  display: inline-block;
  filter: var(--emoji-filter);
  transition: filter var(--t);
}

.star-gold {
  filter: none !important;
  color: var(--al-gold) !important;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1;  transform: scale(1);  }
  50%      { opacity: .4; transform: scale(.5); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* ═══ 04 · NAVEGACIÓN ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--nav-border);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0);
  transition: filter var(--t);
}

[data-theme="dark"] .nav-logo-img {
  filter: brightness(0) invert(1);
}

.nav-byline {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--nav-text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
  padding: 5px 6px;
  border-radius: var(--r-pill);
  background: var(--nav-pill-bg);
  backdrop-filter: var(--nav-pill-blur);
  -webkit-backdrop-filter: var(--nav-pill-blur);
  border: 1px solid var(--nav-pill-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .15),
    0 8px 32px rgba(107, 33, 232, .08),
    0 2px 8px rgba(0, 0, 0, .06);
}

.nav-links li { display: flex; align-items: center; }

.nav-links a {
  display: block;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--nav-text);
  transition: background var(--t-fast), color var(--t-fast);
}

.nav-links a:hover {
  background: rgba(107, 33, 232, .12);
  color: var(--al-violet);
}

.nav-links a.active {
  background: var(--al-violet);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(107, 33, 232, .35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--nav-pill-bg);
  backdrop-filter: var(--nav-pill-blur);
  -webkit-backdrop-filter: var(--nav-pill-blur);
  border: 1px solid var(--nav-pill-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 2px 8px rgba(0, 0, 0, .06);
  color: var(--nav-text);
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--t-fast), color var(--t-fast);
}

.theme-toggle:hover {
  border-color: rgba(107, 33, 232, .4);
  color: var(--al-violet);
}

.theme-toggle svg,
.theme-toggle .bx {
  width: 15px;
  height: 15px;
  font-size: 16px;
  flex-shrink: 0;
  color: inherit;
}

.theme-toggle-label { font-size: 12px; font-weight: 500; }

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

.btn-nav-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  background: var(--al-violet);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(107, 33, 232, .3);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.btn-nav-portal:hover {
  background: #7c3aed;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-violet);
}

.btn-nav-portal .bx { font-size: 18px; color: #fff; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-xs);
  background: var(--nav-pill-bg);
  backdrop-filter: var(--nav-pill-blur);
  -webkit-backdrop-filter: var(--nav-pill-blur);
  border: 1px solid var(--nav-pill-border);
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--nav-text);
  transition: transform .2s, opacity .2s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 12px;
  right: 12px;
  z-index: 999;
  padding: 16px;
  border-radius: var(--r);
  background: var(--nav-pill-bg);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid var(--nav-pill-border);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .12);
  animation: navDrop .2s ease;
}

.nav-mobile.open { display: block; }

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.nav-mobile ul a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--nav-text);
  transition: background var(--t-fast), color var(--t-fast);
}

.nav-mobile ul a:hover {
  background: rgba(107, 33, 232, .1);
  color: var(--al-violet);
}

.nav-mobile ul a.active {
  background: var(--al-violet-dim);
  color: var(--al-violet);
}

.nav-mobile-cta {
  display: block;
  text-align: center;
  margin-top: 8px;
}

.nav-mobile .btn-nav-portal {
  width: 100%;
  justify-content: center;
  padding: 12px;
}

@media (max-width: 768px) {
  .nav {
    height: 64px;
    padding: 0 16px;
  }

  .nav-links,
  .nav > .nav-actions > .btn-nav-portal { display: none; }

  .nav-actions { margin-left: auto; gap: 8px; }

  .nav-hamburger { display: flex; margin-left: 8px; }
}


/* ═══ 05 · BOTONES ══════════════════════════════════════════════ */

.btn-primary,
.btn-secondary,
.btn-cta-white,
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast),
              color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.btn-primary  { padding: 14px 28px; font-weight: 600; background: var(--al-violet); color: #fff; border: none; }
.btn-secondary{ padding: 13px 26px; font-weight: 600; background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.btn-cta-white{ padding: 14px 30px; font-weight: 700; background: #fff; color: var(--al-violet); }
.btn-cta-ghost{ padding: 14px 30px; font-weight: 600; background: transparent; color: rgba(255,255,255,.9); border: 1.5px solid rgba(255,255,255,.35); }

.btn-primary:hover {
  background: #7c3aed;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--al-violet-glow);
}

.btn-secondary:hover {
  border-color: var(--al-violet);
  color: var(--al-violet);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-cta-white:hover {
  color: var(--al-violet);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
}

.btn-cta-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}

.btn-primary svg,
.btn-secondary svg { width: 18px; height: 18px; }

.btn-primary .bx,
.btn-secondary .bx,
.btn-cta-white .bx,
.btn-cta-ghost .bx { font-size: 18px; color: currentColor; }

/* Botones de plan */
.btn-plan {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast),
              color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.btn-plan-primary {
  background: var(--al-violet);
  color: #fff;
  border: none;
}

.btn-plan-primary:hover {
  background: #7c3aed;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-violet);
}

.btn-plan-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-plan-outline:hover {
  border-color: var(--al-violet);
  background: var(--al-violet-dim);
  color: var(--al-violet);
}


/* ═══ 06 · LAYOUT Y SECCIONES ═══════════════════════════════════ */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}

.section {
  padding: 96px 0;
  min-width: 0;
  max-width: 100%;
}

.section-alt { background: var(--bg-alt); }

.section-header { margin-bottom: 52px; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--al-violet);
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--al-violet);
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 520px;
}

/* Hero secundario compartido por Cobertura, Nosotros y Servicios */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 40px 80px;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, var(--al-violet-dim), transparent);
}

.page-hero-inner { position: relative; z-index: 1; }

.page-hero .section-eyebrow,
.coverage-eyebrow,
.about-eyebrow,
.services-eyebrow { justify-content: center; }

.page-hero .section-sub {
  margin-inline: auto;
  text-align: center;
}

/* Degradado de titular — una sola definición */
.hero-title .gradient,
.plans-hero-title .gradient,
.about-hero-title .gradient,
.services-hero-title .gradient,
.coverage-hero .gradient {
  background: linear-gradient(135deg, var(--al-violet) 0%, var(--al-violet-mid) 45%, var(--al-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (max-width: 900px) {
  .page-hero { padding: 110px 20px 60px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
}


/* ═══ 07a · HERO ════════════════════════════════════════════════ */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .5;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 20%, transparent 100%);
}

[data-theme="dark"] .hero-grid { opacity: .18; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .09;
  animation: floatOrb 9s ease-in-out infinite;
}

[data-theme="dark"] .hero-orb { opacity: .18; }

.hero-orb-1 { width: 700px; height: 700px; background: var(--al-violet); top: -200px; left: -150px; }
.hero-orb-2 { width: 500px; height: 500px; background: var(--rc-blue); bottom: -100px; right: -100px; animation-delay: -4.5s; }
.hero-orb-3 { width: 350px; height: 350px; background: var(--al-cyan); top: 40%; left: 55%; opacity: .05; animation-delay: -2s; }

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-40px) scale(1.06); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 6px 18px 6px 10px;
  border-radius: var(--r-pill);
  background: var(--al-violet-dim);
  border: 1px solid rgba(107, 33, 232, .2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--al-violet-mid);
  animation: fadeUp .5s .1s both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--al-violet-mid);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(38px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
  color: var(--text);
  margin-bottom: 22px;
  animation: fadeUp .5s .2s both;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 44px;
  animation: fadeUp .5s .3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .5s .4s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-width: 680px;
  margin: 72px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  animation: fadeUp .5s .5s both;
}

.hero-stat {
  flex: 1;
  min-width: 0;
  padding: 24px 20px;
  text-align: center;
}

.hero-stat-value {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--text);
}

.hero-stat-value span { color: var(--al-violet); }

.hero-stat-label {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  flex-shrink: 0;
  background: var(--border);
}

/* Ajustes del hero de cobertura */
.coverage-hero { padding-bottom: 40px; }

@media (max-width: 768px) {
  .hero { padding: 96px 16px 56px; }

  .hero-stats { flex-direction: column; }
  .hero-stat  { padding: 16px 20px; }

  .stat-divider { width: 100%; height: 1px; }

  .coverage-hero { padding-bottom: 18px; }
  .coverage-hero .section-sub { margin-bottom: 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(34px, 9vw, 54px); }
}


/* ═══ 07b · FEATURES ════════════════════════════════════════════ */

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

.features-grid > * { min-width: 0; }

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, var(--al-violet), var(--al-cyan));
  transition: opacity var(--t);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 33, 232, .25);
}

.feature-card:hover::after { opacity: 1; }

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: var(--r-sm);
  background: var(--al-violet-dim);
  color: var(--al-violet);
  transition: background var(--t), color var(--t);
}

.feature-card:hover .feature-icon {
  background: var(--al-violet);
  color: #fff;
}

.feature-icon svg { width: 24px; height: 24px; }
.feature-icon .bx { font-size: 24px; color: currentColor; }

.feature-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: minmax(0, 1fr); }
}


/* ═══ 07c · BENEFICIOS: AURABOOST ═══════════════════════════════ */

.benefits-section { position: relative; }

.benefits-wrap {
  padding: 80px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.home-benefit-block { margin-bottom: 72px; }
.home-benefit-sub   { margin-bottom: 0; }

.benefit-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--al-violet), #7c3aed);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 3px 14px rgba(107, 33, 232, .3);
}

.benefit-badge .bx { font-size: 14px; color: currentColor; }

.benefit-badge-gold {
  background: linear-gradient(135deg, var(--al-gold-text), var(--al-gold-deep));
}

.benefit-badge-gold .bx { color: var(--al-gold); }

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

.boost-grid > * { min-width: 0; }

.boost-card {
  position: relative;
  overflow: hidden;
  padding: 28px 22px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform var(--t), box-shadow var(--t);
}

.boost-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--al-violet), var(--al-cyan));
}

.boost-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.boost-card.featured {
  border-color: var(--al-violet);
  box-shadow: 0 0 0 1px var(--al-violet), var(--shadow-violet);
}

.boost-plan-name {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--al-violet);
}

.boost-speeds {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.boost-from {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text-muted);
}

.boost-arrow {
  font-size: 16px;
  font-weight: 800;
  color: var(--al-violet);
}

.boost-to {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--al-violet);
}

.boost-from-small { font-size: 18px; }
.boost-to-small   { font-size: 22px; }

.boost-days {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--al-violet-dim);
  font-size: 11px;
  font-weight: 700;
  color: var(--al-violet);
}

.boost-days .bx { font-size: 14px; color: var(--al-violet); }

.boost-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Reglas de AuraBoost */
.boost-rules {
  margin-top: 28px;
  padding: 26px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.boost-rules-title {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--al-violet);
}

.boost-rules-list {
  list-style: none;
  display: grid;
  gap: 11px;
}

.boost-rules-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.boost-rules-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--al-violet);
  opacity: .55;
}

.boost-rules-list strong { color: var(--text); font-weight: 650; }

@media (max-width: 1024px) {
  .boost-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 400px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .boost-rules { padding: 22px 20px; }
}


/* ═══ 07d · BENEFICIOS: ESTRELLAS ═══════════════════════════════ */

.stars-earn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.stars-earn-grid > * { min-width: 0; }

.stars-earn-card {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.stars-earn-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(251, 191, 36, .35);
}

.stars-earn-card.stars-earn-hero {
  border-color: rgba(217, 119, 6, .38);
  background:
    linear-gradient(160deg, rgba(251, 191, 36, .07), transparent 62%),
    var(--surface);
}

.stars-earn-amt {
  margin-bottom: 12px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  background: linear-gradient(135deg, var(--al-gold-deep), #F59E0B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stars-earn-label {
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text);
}

.stars-earn-sub {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.stars-legal {
  margin-top: 20px;
  padding: 18px 22px;
  border-left: 3px solid rgba(217, 119, 6, .45);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(251, 191, 36, .05);
}

.stars-legal p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-dim);
}

.stars-legal strong { color: var(--text); font-weight: 700; }

.stars-info-card {
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: rgba(251, 191, 36, .06);
  border: 1px solid rgba(251, 191, 36, .2);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dim);
}

.stars-info-card strong { color: var(--text); }

@media (max-width: 600px) {
  .stars-earn-amt { font-size: 34px; }
}


/* ═══ 07e · CATÁLOGO DE CANJE ═══════════════════════════════════ */

.stars-catalog { margin-top: 34px; }
.stars-catalog-head { margin-bottom: 20px; }

.stars-catalog-title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.02em;
  color: var(--text);
}

.stars-catalog-sub {
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.stars-catalog-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 19px;
  border-left: 3px solid rgba(217, 119, 6, .45);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(251, 191, 36, .05);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.stars-catalog-note .bx {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 18px;
  color: var(--al-gold-deep);
}

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

.catalog-grid > * { min-width: 0; }

.catalog-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.catalog-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 119, 6, .32);
}

.catalog-item-hero {
  border-color: rgba(217, 119, 6, .42);
  background:
    linear-gradient(120deg, rgba(251, 191, 36, .09), transparent 65%),
    var(--surface);
}

.catalog-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface3);
  border: 1px solid var(--border-soft);
}

.catalog-icon .bx { font-size: 21px; color: var(--text-dim); }

.catalog-icon-boost {
  background: var(--al-violet-dim);
  border-color: rgba(107, 33, 232, .22);
}

.catalog-icon-boost .bx { color: var(--al-violet); }

.catalog-icon-gift {
  background: rgba(251, 191, 36, .13);
  border-color: rgba(217, 119, 6, .28);
}

.catalog-icon-gift .bx { color: var(--al-gold-deep); }

.catalog-body { flex: 1; min-width: 0; }

.catalog-item-name {
  margin-bottom: 3px;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text);
}

.catalog-item-path {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text-muted);
}

.catalog-item-cost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: rgba(251, 191, 36, .11);
  border: 1px solid rgba(217, 119, 6, .24);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--al-gold-text);
}

.catalog-item-cost .bx { font-size: 13px; color: var(--al-gold-deep); }

[data-theme="dark"] .catalog-item-cost { color: var(--al-gold); }

@media (max-width: 600px) {
  .catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-item { padding: 15px 16px; gap: 13px; }
  .catalog-icon { width: 38px; height: 38px; }
  .catalog-icon .bx { font-size: 18px; }
}


/* ═══ 07f · PLANES ══════════════════════════════════════════════ */

.plans-section { padding: 0 0 80px; }
.plans-section .container { padding-top: 0; }

.plans-section .section-header {
  max-width: 860px;
  margin-inline: auto;
}

.plans-page-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 24px 64px;
  text-align: center;
  background: var(--bg);
}

.plans-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 65% 65% at 50% 0%, var(--al-violet-dim), transparent);
}

.plans-page-hero .container { position: relative; z-index: 1; }

.plans-value-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.plans-value-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.plans-value-chip-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--al-violet);
}

.plans-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 44px;
}

.plans-benefits > * { min-width: 0; }

.plans-benefit-card {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
}

.plans-benefit-kicker {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--al-violet);
}

.plans-benefit-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
  color: var(--text);
}

.plans-benefit-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* Tarjeta de facturación */
.billing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 48px 0 40px;
  padding: 22px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.billing-title {
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.billing-card p { font-size: 13px; color: var(--text-muted); }

.toggle-billing {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--surface2);
  border: 1px solid var(--border);
}

.toggle-billing button {
  padding: 9px 22px;
  border: none;
  border-radius: var(--r-pill);
  background: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}

.toggle-billing button.active {
  background: var(--al-violet);
  color: #fff;
  box-shadow: 0 2px 10px rgba(107, 33, 232, .3);
}

/* Título de grupo */
.plans-group-title {
  display: block;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.plans-group-title span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--al-violet);
}

.plans-group-title p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.plan-section-title,
.plans-subtitle {
  grid-column: 1 / -1;
  margin: 12px 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--al-violet);
}

/* Cuadrícula de planes */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.plans-grid > * { min-width: 0; }

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform var(--t), box-shadow var(--t);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.plan-card.featured {
  border-color: var(--al-violet);
  box-shadow: 0 0 0 1px var(--al-violet), var(--shadow-violet);
  transform: scale(1.04);
}

.plan-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: var(--r-pill);
  background: var(--al-violet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}

.plan-name {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--al-violet);
}

.plan-speed {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--text);
}

.plan-speed-dual {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
  line-height: 1;
}

.plan-speed-dual span {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.05em;
  color: var(--text);
}

.plan-speed-dual small {
  font-size: 18px;
  font-weight: 700;
  color: var(--al-violet);
}

.plan-speed-custom {
  margin-bottom: 4px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--text);
}

.plan-speed-unit {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-price {
  margin-bottom: 4px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-billing {
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--text-muted);
}

.plan-divider {
  height: 1px;
  margin-bottom: 20px;
  background: var(--border);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 9px;
  margin-bottom: 24px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.plan-check {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--al-violet);
}

.plan-check-soon { color: var(--text-muted) !important; }

.plan-soon {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--surface3);
  border: 1px solid var(--border);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  vertical-align: middle;
}

/* Expandir / colapsar planes */
.plan-extra { display: none; }

.plans-expandable.expanded .plan-extra,
.plans-expandable.show-all .plan-extra { display: flex; }

.plans-expandable.expanded .plan-extra.plans-group-title,
.plans-expandable.expanded .plan-extra.plan-enterprise,
.plans-expandable.show-all .plans-subtitle { display: block; }

.plans-toggle-wrap {
  text-align: center;
  margin-top: 40px;
}

.plans-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast);
}

.plans-toggle:hover {
  border-color: var(--al-violet);
  color: var(--al-violet);
}

.plans-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  transition: transform var(--t);
}

.plans-toggle-icon svg { width: 10px; height: 10px; transition: transform var(--t); }
.plans-toggle-icon .bx { font-size: 22px; color: inherit; }

.plans-toggle[aria-expanded="true"] .plans-toggle-icon svg { transform: rotate(180deg); }

.plans-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.plans-disclaimer span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.plans-disclaimer span::before {
  content: '✓';
  font-size: 10px;
  font-weight: 800;
  color: var(--al-violet);
}

/* Bloque empresarial */
.plan-enterprise {
  grid-column: 1 / -1;
  padding: 32px 28px;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--al-violet-dim), rgba(107, 33, 232, .04));
  border: 1px solid rgba(107, 33, 232, .2);
}

.enterprise-kicker {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--al-violet);
}

.plan-enterprise h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--text);
  max-width: 760px;
}

.plan-enterprise p {
  color: var(--text-dim);
  max-width: 760px;
}

.plan-enterprise > div > p {
  margin-bottom: 24px;
  font-size: 15px;
}

.enterprise-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.enterprise-grid span {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}

.enterprise-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(107, 33, 232, .15);
}

.enterprise-footer p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 520px;
}

/* Por qué Business cuesta lo mismo que Home */
.business-why {
  margin: 40px 0 48px;
  padding: 32px 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.business-why-title {
  margin-bottom: 6px;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.02em;
  color: var(--text);
}

.business-why-lead {
  margin-bottom: 26px;
  font-size: 15.5px;
  color: var(--text-dim);
}

.business-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.business-why-grid > * { min-width: 0; }

.business-why-item {
  padding: 20px 22px;
  border-radius: var(--r-sm);
  background: var(--surface2);
  border: 1px solid var(--border-soft);
}

.business-why-item.business-why-hero {
  grid-column: 1 / -1;
  background: linear-gradient(150deg, var(--al-violet-dim), transparent 70%), var(--surface2);
  border-color: rgba(107, 33, 232, .28);
}

.business-why-k {
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--al-violet);
}

.business-why-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* Franja del portal */
.portal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.portal-strip-label {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--al-violet);
}

.portal-strip h3 {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.portal-strip p { font-size: 14px; color: var(--text-muted); }

.home-more-plans { text-align: center; margin-top: 36px; }
.home-more-plans .btn-secondary { display: inline-flex; }

@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 400px;
    margin-inline: auto;
  }

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

  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .plans-page-hero { padding: 110px 16px 48px; }

  .plan-speed-dual span { font-size: 38px; }

  .billing-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .plans-value-strip { gap: 8px; }
  .plans-value-chip  { padding: 7px 13px; font-size: 12px; }

  .plan-enterprise { padding: 22px 18px; }

  .enterprise-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .plans-disclaimer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 0 8px;
  }

  .portal-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .business-why { padding: 24px 20px; }
}


/* ═══ 08 · PRUEBA DE VELOCIDAD ══════════════════════════════════
   Una sola definición. La tabla usa el atributo data-l en cada
   celda para las etiquetas en móvil:
     <td data-l="Plan">Lite</td>
     <td data-l="Descarga">23 &ndash; 26 Mbps</td>
   ═══════════════════════════════════════════════════════════════ */

@property --speed-ang {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.section-speed {
  background: var(--bg-alt);
  min-width: 0;
  max-width: 100%;
}

/* Una sola columna, siempre. El 0 de minmax permite encoger. */
.speed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 26px;
  margin-top: 44px;
}

.speed-layout > * { min-width: 0; }

.speed-test-card,
.speed-ref-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

/* ── Consejos de medición ──
   Soporta los dos marcados: strong/span y -title/-desc */
.speed-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.speed-tips > * { min-width: 0; }

.speed-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: var(--al-violet-dim);
  border: 1px solid rgba(107, 33, 232, .14);
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.speed-tip:hover {
  border-color: rgba(107, 33, 232, .30);
  transform: translateY(-2px);
}

.speed-tip > div { min-width: 0; }

.speed-tip i,
.speed-tip .bx {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1.2;
  color: var(--al-violet);
}

.speed-tip strong,
.speed-tip-title {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 650;
  color: var(--text);
}

.speed-tip span,
.speed-tip-desc {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ── Marco del iframe (efecto vidrio) ── */
.speed-frame {
  --gl-bg: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.14));
  --gl-edge: linear-gradient(135deg,
      rgba(255,255,255,.95) 0%,
      rgba(107,33,232,.55) 30%,
      rgba(255,255,255,.20) 52%,
      rgba(107,33,232,.75) 100%);
  --gl-inner: inset 0 1px 0 rgba(255,255,255,.90),
              inset 0 -1px 0 rgba(255,255,255,.35),
              inset 0 0 40px rgba(107,33,232,.12);
  --gl-drop: 0 30px 70px -28px rgba(59,7,100,.45);

  position: relative;
  z-index: 0;
  max-width: 100%;
  padding: 5px;
  border-radius: 28px;
  border: .5px solid transparent;
  background: var(--gl-bg) padding-box, var(--gl-edge) border-box;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--gl-inner), var(--gl-drop);
}

[data-theme="dark"] .speed-frame {
  --gl-bg: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  --gl-edge: linear-gradient(135deg,
      rgba(255,255,255,.45) 0%,
      rgba(139,92,246,.60) 40%,
      rgba(255,255,255,.08) 60%,
      rgba(167,139,250,.50) 100%);
  --gl-inner: inset 0 1px 0 rgba(255,255,255,.28),
              inset 0 0 50px rgba(139,92,246,.18);
  --gl-drop: 0 30px 70px -28px rgba(0,0,0,.70);
}

.speed-frame::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  padding: 1.5px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--speed-ang),
    transparent 0deg,
    rgba(255,255,255,.95) 35deg,
    rgba(167,139,250,.85) 75deg,
    transparent 130deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: speedSweep 9s linear infinite;
}

.speed-frame::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -30px 10% -10px;
  pointer-events: none;
  filter: blur(64px);
  background:
    radial-gradient(60% 60% at 28% 30%, rgba(107,33,232,.42), transparent 70%),
    radial-gradient(50% 50% at 78% 68%, rgba(6,182,212,.28), transparent 70%);
}

[data-theme="dark"] .speed-frame::after {
  background:
    radial-gradient(60% 60% at 28% 30%, rgba(139,92,246,.50), transparent 70%),
    radial-gradient(50% 50% at 78% 68%, rgba(6,182,212,.32), transparent 70%);
}

@keyframes speedSweep { to { --speed-ang: 360deg; } }

.speed-iframe,
.speed-embed {
  display: block;
  width: 100%;
  height: 650px;
  border: 0;
  border-radius: 16px;
}

/* Marco alterno, sin efecto vidrio */
.speed-embed-wrap {
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto 44px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.speed-embed-fallback {
  padding: 40px 20px;
  text-align: center;
  font-size: 15px;
}

.speed-embed-fallback a { color: var(--al-violet); font-weight: 650; }

/* ── Tabla de referencia ── */
.speed-expect { margin-top: 40px; }

.speed-expect-title,
.speed-ref-title {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
}

.speed-expect-sub,
.speed-ref-sub {
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.speed-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.speed-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.speed-table thead th {
  padding: 0 14px 11px 0;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.speed-table tbody td {
  padding: 14px 14px 14px 0;
  white-space: nowrap;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-soft);
}

.speed-table tbody td:first-child {
  font-weight: 650;
  color: var(--text);
}

.speed-table tbody td:nth-child(2) {
  font-weight: 600;
  color: var(--al-violet);
}

.speed-table tbody tr:last-child td { border-bottom: none; }

.speed-row-extra td { background: rgba(107, 33, 232, .035); }

/* [hidden] tiene que ganarle a cualquier display que venga después */
.speed-table tr[hidden],
.speed-table td[hidden] { display: none; }

/* ── Botón expandir / colapsar ── */
.speed-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--surface2);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--al-violet);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.speed-toggle:hover {
  background: var(--al-violet-dim);
  border-color: rgba(107, 33, 232, .3);
}

.speed-toggle-ico {
  font-size: 18px;
  transition: transform var(--t);
}

.speed-toggle.is-open .speed-toggle-ico { transform: rotate(180deg); }

.speed-disclaimer {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.speed-help {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--text-dim);
}

.speed-help strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 650;
  color: var(--text);
}

.speed-help a {
  font-weight: 600;
  color: var(--al-violet);
}

.speed-help a:hover { text-decoration: underline; }

/* ── CTA de la sección ── */
.speed-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  padding: 22px 26px;
  border-radius: var(--r);
  background: var(--al-violet);
  box-shadow: var(--shadow-violet);
}

[data-theme="dark"] .speed-cta {
  background: linear-gradient(135deg, #3b0764 0%, #1e1b4b 100%);
}

.speed-cta-title {
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.speed-cta-sub {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
}

.speed-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--al-violet);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.speed-cta-btn:hover {
  color: var(--al-violet);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .20);
}

.speed-cta-btn i { font-size: 20px; }

/* ── Responsive de la sección ── */
@media (max-width: 900px) {
  .speed-tips { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  .speed-iframe,
  .speed-embed { height: 560px; }
}

@media (max-width: 640px) {
  .speed-test-card,
  .speed-ref-card { padding: 24px 18px; }

  .speed-iframe,
  .speed-embed { height: 800px; border-radius: 14px; }

  .speed-frame {
    padding: 8px;
    border-radius: 22px;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
  }

  .speed-frame::before { animation: none; }
  .speed-frame::after  { inset: -16px 6% -6px; filter: blur(46px); }

  .speed-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .speed-cta-btn { width: 100%; justify-content: center; }

  /* La tabla deja de ser tabla: lista limpia, sin cajas anidadas */
  .speed-table-wrap { overflow-x: visible; }

  .speed-table thead { display: none; }

  .speed-table,
  .speed-table tbody,
  .speed-table tr,
  .speed-table td {
    display: block;
    width: 100%;
  }

  .speed-table tbody tr {
    padding: 16px 0 14px;
    margin: 0;
    border: none;
    border-top: 1px solid var(--border-soft);
    border-radius: 0;
    background: transparent;
  }

  .speed-table tbody tr:first-child { border-top: none; }

  .speed-row-extra { background: rgba(107, 33, 232, .04); }
  .speed-row-extra td { background: transparent; }

  /* Nombre del plan: encabezado a la izquierda con barra de color */
  .speed-table tbody td:first-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    padding: 0 0 11px;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -.01em;
    color: var(--text);
  }

  .speed-table tbody td:first-child::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 3px;
    height: 15px;
    border-radius: 2px;
    background: var(--al-violet);
  }

  .speed-row-extra td:first-child::before { background: var(--al-cyan); }

  /* Métricas: etiqueta izquierda, valor derecha */
  .speed-table tbody td + td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
    border: none;
    white-space: normal;
    font-size: 14.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text);
  }

  .speed-table tbody td + td::before {
    content: attr(data-l);
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
    color: var(--text-muted);
  }

  .speed-table tbody td:nth-child(2) { color: var(--al-violet); }

  /* Repetido dentro del media query: gana a los display:block de arriba */
  .speed-table tr[hidden],
  .speed-table td[hidden] { display: none; }

  .speed-toggle {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }
}


/* ═══ 09 · COBERTURA Y MAPAS ════════════════════════════════════ */

.coverage-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.coverage-wrap > * { min-width: 0; }

.coverage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.coverage-list li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  row-gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.coverage-list li:hover {
  border-color: rgba(107, 33, 232, .3);
  background: var(--al-violet-dim);
}

.loc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--r-xs);
  background: var(--al-violet-dim);
  color: var(--al-violet);
}

.loc-icon svg { width: 16px; height: 16px; }
.loc-icon .bx { font-size: 18px; color: var(--al-violet); }

.loc-info {
  flex: 1 1 auto;
  min-width: 0;
}

.loc-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}

.loc-sub {
  font-size: 12px;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.loc-status {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--al-violet-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--al-violet);
}

.coverage-map-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}

.map-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  background: var(--surface2);
}

@media (max-width: 1024px) {
  .coverage-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .coverage-list li { padding: 14px 16px; }
  .coverage-list li .loc-status { order: 3; margin-left: 48px; }
  .loc-info { flex: 1 1 100%; }
}

/* ── Municipios (página de cobertura) ── */
.coverage-check-section { padding: 60px 40px; }
.coverage-muni-section  { padding-top: 0; }

.muni-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.muni-grid > * { min-width: 0; }

.muni-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.muni-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  opacity: 0;
  background: linear-gradient(90deg, var(--al-violet), var(--al-cyan));
  transition: opacity var(--t);
}

.muni-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 33, 232, .2);
}

.muni-card:hover::after { opacity: 1; }

.muni-name {
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

.muni-type {
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--al-violet);
}

.muni-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--al-violet-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--al-violet);
}

.muni-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseDot 2s ease-in-out infinite;
}

.muni-desc {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.muni-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.muni-zone-tag {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--surface2);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Verificador de cobertura */
.check-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
}

.check-form > * { min-width: 0; }

.check-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.check-form select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-xs);
  background: var(--surface2);
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  outline: none;
  transition: border-color var(--t-fast);
}

.check-form select:focus { border-color: var(--al-violet); }

.check-submit { padding: 14px 28px; border-radius: var(--r-xs); }

.check-result {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  background: var(--al-violet-dim);
  border: 1px solid rgba(107, 33, 232, .2);
  font-size: 14px;
  font-weight: 600;
  color: var(--al-violet);
}

.check-result.show { display: block; }

/* Enlaces geográficos */
.geo-links-section { padding-top: 0; padding-bottom: 48px; }
.geo-links-title   { font-size: 24px; }

.geo-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.geo-links-grid > * { min-width: 0; }

.geo-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.geo-link-card:hover {
  border-color: var(--al-violet);
  transform: translateY(-2px);
}

.geo-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--r-xs);
  background: var(--al-violet);
  color: #fff;
}

.geo-link-icon .bx { font-size: 20px; color: #fff; }

.geo-link-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.geo-link-sub {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .muni-grid,
  .geo-links-grid { grid-template-columns: minmax(0, 1fr); }

  .check-form { grid-template-columns: minmax(0, 1fr); }
}

/* ── Mapa de la provincia ── */
.province-coverage-section {
  overflow: hidden;
  padding-top: 0;
}

.province-coverage-bleed {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding-inline: 24px;
}

.province-coverage-card {
  width: 100%;
  overflow: hidden;
  padding: clamp(22px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.province-coverage-title,
.home-map-title,
.local-map-title {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.province-coverage-sub,
.home-map-sub,
.local-map-sub {
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.province-coverage-art {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1024 / 780;
  border-radius: 24px;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.province-coverage-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.province-coverage-legend,
.home-map-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.province-coverage-dot,
.home-legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--al-violet-mid);
  vertical-align: middle;
}

.province-coverage-dot-main,
.home-legend-dot-main {
  width: 10px;
  height: 10px;
  background: var(--al-violet);
}

.province-coverage-note,
.home-map-note {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* SVG del mapa */
.province-fill {
  fill: rgba(107, 33, 232, .10);
  stroke: var(--al-violet);
  stroke-width: 2;
}

.muni-region {
  fill: rgba(107, 33, 232, .06);
  stroke: rgba(107, 33, 232, .35);
  stroke-width: 1.2;
  cursor: pointer;
  transition: fill var(--t-fast), filter var(--t-fast);
}

.muni-region:hover {
  fill: rgba(107, 33, 232, .18);
  filter: drop-shadow(0 8px 18px rgba(107, 33, 232, .25));
}

.t-main {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 25px;
  font-weight: 800;
  fill: var(--text);
}

.t-cap {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .1em;
  fill: var(--al-violet);
}

.t-muni {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 23px;
  font-weight: 700;
  fill: var(--text-dim);
}

[data-theme="dark"] .province-fill {
  fill: rgba(107, 33, 232, .18);
  stroke: var(--al-violet-mid);
}

[data-theme="dark"] .muni-region {
  fill: rgba(107, 33, 232, .10);
  stroke: rgba(139, 92, 246, .45);
}

[data-theme="dark"] .muni-region:hover { fill: rgba(139, 92, 246, .22); }

[data-theme="dark"] .t-main { fill: #e9d5ff; }
[data-theme="dark"] .t-cap  { fill: #a78bfa; }
[data-theme="dark"] .t-muni { fill: #c4b5fd; }

/* Mapa con imagen y puntos */
.home-map-art,
.local-map-art {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  background: var(--surface2);
}

.mapa-provincia {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1) opacity(.15);
  transition: filter var(--t);
}

[data-theme="dark"] .mapa-provincia {
  filter: brightness(0) saturate(100%) invert(75%) sepia(30%)
          saturate(400%) hue-rotate(220deg) brightness(1.3) opacity(.75);
}

.home-map-point {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%);
}

a.home-map-point { cursor: pointer; text-decoration: none; }

a.home-map-point:hover .home-map-dot {
  transform: scale(1.3);
  box-shadow: 0 0 16px rgba(107, 33, 232, 1), 0 0 32px rgba(107, 33, 232, .7);
  transition: all .2s ease;
}

a.home-map-point:hover .home-map-label { color: #7c3aed; }

.home-map-dot {
  position: relative;
  z-index: 3;
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--al-violet);
  box-shadow: 0 0 8px rgba(107, 33, 232, .8), 0 0 16px rgba(107, 33, 232, .4);
}

.home-map-dot-main {
  width: 14px;
  height: 14px;
  box-shadow: 0 0 12px rgba(107, 33, 232, 1),
              0 0 28px rgba(107, 33, 232, .6),
              0 0 48px rgba(107, 33, 232, .3);
}

.home-map-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid var(--al-violet);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 8px rgba(107, 33, 232, .9);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: mapPulse 2s ease-out infinite;
}

.home-map-pulse-2 { animation-delay: 1.2s; }
.home-map-dot-main ~ .home-map-pulse { width: 14px; height: 14px; }

@keyframes mapPulse {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: .7; }
  100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0;  }
}

.home-map-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  color: var(--al-violet);
  text-shadow: 0 1px 3px var(--bg);
}

.local-coverage-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dim);
}

.local-other-header { text-align: center; }
.local-other-header .section-eyebrow { justify-content: center; }
.local-other-header .section-title,
.local-other-header .section-sub { margin-inline: auto; }
.local-other-header .section-sub { text-align: center; }
.local-other-list { max-width: 680px; margin-inline: auto; }

@media (max-width: 768px) {
  .province-coverage-bleed { width: 100%; padding-inline: 16px; }
  .province-coverage-card  { padding: 18px; border-radius: 22px; }
  .province-coverage-art   { border-radius: 20px; }
  .province-coverage-note,
  .home-map-note { width: 100%; margin-left: 0; }
  .home-map-art,
  .local-map-art { min-height: 280px; }
}


/* ═══ 10 · PRUEBAS VERIFICABLES ═════════════════════════════════ */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.proof-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 30px;
}

.proof-grid > * { min-width: 0; }

.proof-card {
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform var(--t), box-shadow var(--t);
}

.proof-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.proof-value {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  color: var(--al-violet);
}

.proof-unit {
  margin-left: 1px;
  font-size: .55em;
  font-weight: 700;
  color: var(--al-violet-mid);
}

.proof-label {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.proof-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

.proof-desc a,
.proof-link {
  color: var(--al-violet);
  text-decoration: none;
}

.proof-desc a { font-weight: 600; }

.proof-desc a:hover,
.proof-link:hover { text-decoration: underline; }

.proof-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 650;
}

.proof-link .bx { font-size: 16px; }

.proof-foot {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .proof-card { padding: 22px 20px; }
}


/* ═══ 11 · CONTACTO Y FORMULARIOS ═══════════════════════════════ */

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 40px 64px;
  text-align: center;
}

.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, var(--al-violet-dim), transparent);
}

.contact-hero-inner { position: relative; z-index: 1; }
.contact-hero .section-eyebrow { justify-content: center; }

.contact-hero .section-title {
  max-width: 540px;
  margin: 0 auto 14px;
  font-size: clamp(32px, 5vw, 56px);
}

.contact-hero .section-sub { margin-inline: auto; text-align: center; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.contact-grid > * { min-width: 0; }

.contact-info-card,
.form-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
}

.form-card {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}

.contact-method:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.contact-method > div:last-child { min-width: 0; }

.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--al-violet-dim);
  color: var(--al-violet);
}

.contact-method-icon svg { width: 18px; height: 18px; }

.contact-method-label {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-method-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}

.contact-method-sub {
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-note {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: var(--r-sm);
  background: var(--al-violet-dim);
  border: 1px solid rgba(107, 33, 232, .2);
}

.contact-note-title {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--al-violet);
}

.contact-note-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-xs);
  background: var(--surface2);
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-control:focus {
  border-color: var(--al-violet);
  box-shadow: 0 0 0 3px var(--al-violet-dim);
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control { cursor: pointer; }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--r-sm);
  background: var(--al-violet);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.form-submit:hover {
  background: #7c3aed;
  transform: translateY(-1px);
  box-shadow: var(--shadow-violet);
}

.form-error {
  display: none;
  margin: 4px 0 14px;
  padding: 13px 18px;
  border-radius: var(--r-sm);
  background: rgba(229, 24, 27, .07);
  border: 1px solid rgba(229, 24, 27, .28);
  font-size: 14px;
  font-weight: 550;
  color: #b3161a;
}

.form-error.show { display: block; }

[data-theme="dark"] .form-error { color: #ff8a8d; }

.form-alt {
  margin-top: 12px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

.form-alt a { font-weight: 600; color: var(--al-violet); }
.form-alt a:hover { text-decoration: underline; }

.success-msg {
  display: none;
  margin-top: 20px;
  padding: 24px;
  border-radius: var(--r-sm);
  background: rgba(13, 158, 120, .08);
  border: 1px solid rgba(13, 158, 120, .2);
  text-align: center;
}

.success-msg.show { display: block; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card    { grid-column: auto; max-width: 100%; }
  .form-row     { grid-template-columns: minmax(0, 1fr); }
  .contact-hero { padding: 110px 20px 48px; }
}


/* ═══ 07g · SERVICIOS Y NOSOTROS ════════════════════════════════ */

.services-main-section,
.about-main-section { padding-top: 0; }

.services-hero-title,
.about-hero-title {
  margin: 0 auto 14px;
  font-size: clamp(34px, 5vw, 58px);
}

.services-hero-title { max-width: 720px; }
.about-hero-title    { max-width: 640px; }

.services-hero-sub,
.about-hero-sub {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.services-detail,
.about-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-detail { gap: 48px; margin-top: 56px; }
.about-split     { gap: 64px; align-items: center; }

.services-detail > *,
.about-split > * { min-width: 0; }

.service-block {
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.service-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(107, 33, 232, .2);
}

.service-block-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: var(--r-sm);
  background: var(--al-violet-dim);
  color: var(--al-violet);
  transition: background var(--t), color var(--t);
}

.service-block-icon .bx { font-size: 28px; color: var(--al-violet); }

.service-block:hover .service-block-icon { background: var(--al-violet); color: #fff; }
.service-block:hover .service-block-icon .bx { color: #fff; }

.service-block h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
}

.service-block p {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.service-features li .bx {
  flex-shrink: 0;
  font-size: 16px;
  color: var(--al-violet);
}

.service-action { margin-top: 24px; }

.service-action .btn-plan {
  display: inline-flex;
  width: auto;
  padding: 12px 24px;
}

.specs-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin-top: 36px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}

.specs-table td {
  padding: 14px 16px;
  vertical-align: top;
  font-size: 14px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-soft);
}

.specs-table td:first-child {
  width: 35%;
  font-weight: 600;
  color: var(--text);
}

.specs-table tr:hover td { background: var(--surface2); }

/* Nosotros */
.about-text {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim);
}

.about-text + .btn-primary { margin-top: 8px; }

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  border-radius: var(--r);
  background: linear-gradient(135deg, var(--al-violet-dim), rgba(6, 182, 212, .1));
  border: 1px solid var(--border);
}

.about-visual-inner { text-align: center; }

.about-visual-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--al-violet);
  color: #fff;
  box-shadow: 0 0 0 14px rgba(107, 33, 232, .10);
}

.about-visual-icon .bx { font-size: 40px; color: #fff; }

.about-visual-title {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

.about-visual-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.about-visual-note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.about-stat-grid > * { min-width: 0; }

.about-stat-item {
  padding: 20px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

.about-stat-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--al-violet);
}

.about-stat-num span { font-size: .6em; color: var(--al-violet); }

.about-stat-label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.values-grid > * { min-width: 0; }

.value-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform var(--t), box-shadow var(--t);
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: var(--r-sm);
  background: var(--al-violet-dim);
  color: var(--al-violet);
}

.value-icon .bx { font-size: 22px; color: var(--al-violet); }

.value-title {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.value-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
}

.legal-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.legal-info-grid > * { min-width: 0; }

.legal-info-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

.legal-info-label {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal-info-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}

.legal-info-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .services-detail,
  .about-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  .values-grid     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-info-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .values-grid  { grid-template-columns: minmax(0, 1fr); }
  .about-visual { padding: 36px 24px; }
}


/* ═══ 12 · PÁGINAS LEGALES ══════════════════════════════════════ */

.legal-page { padding: 140px 40px 80px; }

.legal-content {
  max-width: 780px;
  margin-inline: auto;
}

.legal-content h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--text);
}

.legal-content h2 {
  margin: 42px 0 12px;
  padding-top: 38px;
  border-top: 1px solid var(--border);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

.legal-content h2:first-of-type {
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.legal-content p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 14px;
  padding-left: 0;
  list-style: none;
}

.legal-content li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
}

.legal-content ul li::before {
  content: '';
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 10px;
  border-radius: 50%;
  background: currentColor;
  color: var(--text-muted);
}

.legal-content ol { counter-reset: legal-step; }

.legal-content ol li { counter-increment: legal-step; }

.legal-content ol li::before {
  content: counter(legal-step) '.';
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--al-violet);
}

.legal-content a { font-weight: 600; color: var(--al-violet); }

.legal-intro {
  max-width: 680px;
  margin-bottom: 32px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dim);
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
  font-size: 13px;
  color: var(--text-muted);
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
}

.legal-page .bx {
  font-size: 17px;
  line-height: 1;
  color: var(--text-dim);
}

.legal-review-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 22px 0 8px;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  background: rgba(229, 24, 27, .05);
  border: 1px dashed rgba(229, 24, 27, .35);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.legal-review-note .bx {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 20px;
  color: var(--rc-red);
}

.legal-review-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.legal-formal-notice {
  margin-top: 14px;
  padding: 13px 18px;
  border-left: 3px solid var(--border);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--surface2);
  font-size: 13.5px;
  color: var(--text-muted);
}

.highlight-box {
  margin: 26px 0 34px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.highlight-box p {
  margin: 0;
  font-weight: 500;
  color: var(--text-dim);
}

.highlight-box strong { color: var(--text); }

.legal-action { margin-top: 28px; }

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.category-badge .bx { font-size: 15px; color: var(--text-dim); }

/* Tablas legales: cookies y SLA */
.cookie-table,
.sla-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.cookie-table { font-size: 13px; }
.sla-table    { font-size: 14.5px; }

.cookie-table {
  overflow: hidden;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

.sla-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

.cookie-table th,
.sla-table thead th {
  padding: 12px 16px;
  text-align: left;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-muted);
}

.cookie-table td,
.sla-table tbody td {
  padding: 13px 16px;
  vertical-align: top;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-soft);
}

.cookie-table td:first-child {
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.sla-table tbody td:first-child {
  font-weight: 650;
  white-space: nowrap;
  color: var(--text);
}

.cookie-table tr:last-child td,
.sla-table tbody tr:last-child td { border-bottom: none; }

.sla-formula {
  margin: 16px 0 22px;
  padding: 18px 22px;
  border-left: 3px solid var(--al-violet);
  border-radius: var(--r-sm);
  background: var(--surface2);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -.01em;
  color: var(--text);
}

.btn-manage-cookies {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 13px 24px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--al-violet);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.btn-manage-cookies .bx { font-size: 18px; color: #fff; }

.btn-manage-cookies:hover {
  background: #7c3aed;
  transform: translateY(-1px);
  box-shadow: var(--shadow-violet);
}

@media (max-width: 768px) {
  .legal-page { padding: 110px 20px 60px; }
  .legal-meta { gap: 8px; }
  .cookie-table { display: block; overflow-x: auto; }
}

@media (max-width: 600px) {
  .sla-table thead { display: none; }

  .sla-table,
  .sla-table tbody,
  .sla-table tr,
  .sla-table td { display: block; width: 100%; }

  .sla-table tr {
    padding: 6px 16px;
    border-bottom: 1px solid var(--border);
  }

  .sla-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
    white-space: normal;
    border-bottom: 1px solid var(--border-soft);
  }

  .sla-table tbody td::before {
    content: attr(data-l);
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .sla-table tbody td:first-child::before { display: none; }

  .sla-formula { padding: 15px 16px; font-size: 13.5px; }
}


/* ═══ 13 · BANNER DE COOKIES ════════════════════════════════════ */

.ck-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  padding: 12px 16px;
}

.ck-banner-inner {
  pointer-events: all;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 860px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 8px 48px rgba(0, 0, 0, .18);
  animation: cookieUp .4s cubic-bezier(.22, 1, .36, 1);
}

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

.ck-banner.hiding .ck-banner-inner { animation: cookieDn .3s ease forwards; }

@keyframes cookieDn {
  to { opacity: 0; transform: translateY(20px); }
}

.ck-banner-icon {
  flex-shrink: 0;
  font-size: 26px;
  filter: var(--emoji-filter);
  transition: filter var(--t);
}

.ck-banner-text { flex: 1; min-width: 0; }

.ck-banner-title {
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.ck-banner-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.ck-banner-desc a { color: var(--al-violet); }

.ck-banner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 8px;
}

.btn-ck-accept,
.btn-ck-reject {
  border-radius: var(--r-pill);
  font-size: 13px;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.btn-ck-accept {
  padding: 10px 20px;
  border: none;
  background: var(--al-violet);
  font-weight: 600;
  color: #fff;
}

.btn-ck-accept:hover { background: #7c3aed; }

.btn-ck-reject {
  padding: 10px 16px;
  background: transparent;
  border: 1.5px solid var(--border);
  font-weight: 500;
  color: var(--text-muted);
}

.btn-ck-reject:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-ck-settings {
  padding: 10px 12px;
  border: none;
  background: transparent;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}

.btn-ck-settings:hover { color: var(--al-violet); }

.ck-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 80px;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(4px);
  animation: fadeIn .25s ease;
}

.ck-modal {
  width: calc(100% - 32px);
  max-width: 520px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
  animation: modalUp .35s cubic-bezier(.22, 1, .36, 1);
}

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

.ck-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ck-modal-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
}

.ck-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-xs);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--t-fast);
}

.ck-modal-close:hover { color: var(--text); }

.ck-cat {
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

.ck-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
}

.ck-cat-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.ck-cat-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

.ck-toggle {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 22px;
}

.ck-toggle input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.ck-track {
  position: absolute;
  inset: 0;
  border-radius: 11px;
  background: var(--border);
  cursor: pointer;
  transition: background var(--t-fast);
}

.ck-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  transition: transform var(--t-fast);
}

.ck-toggle input:checked + .ck-track { background: var(--al-violet); }
.ck-toggle input:checked + .ck-track::after { transform: translateX(18px); }

.ck-toggle input:disabled + .ck-track {
  opacity: .5;
  cursor: not-allowed;
}

.ck-modal-foot {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-ck-save,
.btn-ck-all {
  flex: 1;
  padding: 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.btn-ck-save {
  border: none;
  background: var(--al-violet);
  color: #fff;
}

.btn-ck-save:hover { background: #7c3aed; }

.btn-ck-all {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-ck-all:hover {
  border-color: var(--al-violet);
  color: var(--al-violet);
}

@media (max-width: 768px) {
  .ck-banner { padding: 8px; }

  .ck-banner-inner {
    padding: 14px;
    border-radius: var(--r-sm);
  }

  .ck-banner-actions button {
    flex: 1;
    min-width: 120px;
    text-align: center;
  }
}


/* ═══ 14a · CTA ═════════════════════════════════════════════════ */

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--al-violet);
  max-width: 100%;
}

[data-theme="dark"] .cta-section {
  background: linear-gradient(135deg, #3b0764 0%, #1e1b4b 100%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.cta-bg-orb-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: rgba(255, 255, 255, .07);
}

.cta-bg-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -120px;
  left: -80px;
  background: rgba(6, 182, 212, .12);
}

.cta-title {
  margin-bottom: 14px;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
}

.cta-sub {
  max-width: 480px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: rgba(255, 255, 255, .75);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 768px) {
  .cta-section { padding: 64px 0; }
}


/* ═══ 14b · FOOTER ══════════════════════════════════════════════
   Todo con variables: funciona en claro y en oscuro.
   ═══════════════════════════════════════════════════════════════ */

.footer {
  position: relative;
  max-width: 100%;
  padding: 5rem 0 2rem;
  background: var(--surface);
  border-top: 6px solid var(--al-violet);
}

.footer-inner {
  width: min(1280px, calc(100% - 3rem));
  min-width: 0;
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-grid > * { min-width: 0; }

.footer-logo-img {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0);
  transition: filter var(--t);
}

[data-theme="dark"] .footer-logo-img {
  filter: brightness(0) invert(1);
}

.footer-brand-desc {
  max-width: 340px;
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.footer-brand-operator {
  max-width: 340px;
  margin: 0 0 1.5rem;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.footer-brand-operator strong { color: var(--text); }

.footer-contact-wrap {
  display: grid;
  gap: .9rem;
  margin-top: 16px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-contact i,
.footer-contact .bx {
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--al-violet);
}

.footer-contact svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--al-violet);
}

.footer-contact a,
.footer-contact span {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-contact a:hover { color: var(--al-violet); }

.footer-col-title {
  margin-bottom: 1.35rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-col ul {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a,
.cookie-preferences-link {
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-col a:hover,
.cookie-preferences-link:hover { color: var(--al-violet); }

.cookie-preferences-link {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.footer-institutional {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
}

.footer-institutional-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--al-violet-dim);
  font-size: 1.15rem;
  color: var(--al-violet);
}

.footer-institutional-content { min-width: 0; }

.footer-institutional-label {
  display: block;
  margin-bottom: .35rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-institutional-content p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-dim);
}

.footer-institutional-content strong { color: var(--text); }

/* Bloque legal alterno */
.footer-legal {
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
}

.footer-legal-box {
  margin-bottom: 20px;
  padding: 20px 22px;
  border-radius: var(--r-sm);
  background: var(--surface2);
  border: 1px solid var(--border);
}

.footer-legal-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-legal-title .bx {
  font-size: 15px;
  color: var(--text-muted);
}

.footer-legal-text {
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--text-muted);
}

.footer-legal-text strong { font-weight: 600; color: var(--text-dim); }
.footer-legal-text a { color: var(--al-violet); }

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-copy {
  margin: 0;
  font-size: .88rem;
  color: var(--text-muted);
}

.footer-regulatory {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
  color: var(--text-muted);
}

.footer-regulatory a,
.footer-regulatory span {
  padding: .45rem .75rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--t-fast), color var(--t-fast);
}

.footer-regulatory a:hover {
  border-color: var(--al-violet);
  color: var(--al-violet);
}

.footer-links-bottom {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links-bottom a,
.footer-links-bottom button {
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: .85rem;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--t-fast);
}

.footer-links-bottom a:hover,
.footer-links-bottom button:hover { color: var(--al-violet); }

.footer-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }

  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .footer-regulatory,
  .footer-links-bottom { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .footer { padding: 3.5rem 0 2rem; }

  .footer-inner { width: min(100% - 2rem, 1280px); }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .footer-logo-img { width: 160px; margin-bottom: 1rem; }

  .footer-institutional { padding: 1.15rem; }

  .footer-regulatory {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links-bottom { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .footer-logo-img { width: 135px; }
}


/* ═══ 14c · WHATSAPP FLOTANTE ═══════════════════════════════════ */

.wa-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45), 0 2px 8px rgba(0, 0, 0, .15);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  animation: waFloat 3s ease-in-out infinite;
}

.wa-float:hover {
  background: #20b957;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, .55);
}

.wa-float .bx { font-size: 34px; color: #fff; }

@keyframes waFloat {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, .45), 0 2px 8px rgba(0, 0, 0, .15); }
  50%      { box-shadow: 0 4px 28px rgba(37, 211, 102, .65), 0 2px 12px rgba(0, 0, 0, .12); }
}

.wa-tooltip {
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}

.wa-float:hover .wa-tooltip { opacity: 1; }

@media (max-width: 768px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }

  .wa-float .bx { font-size: 30px; }
}


/* ═══ 15 · PÁGINA 404 ═══════════════════════════════════════════ */

.error-page {
  display: flex;
  align-items: center;
  min-height: 68vh;
  padding: 80px 0;
}

.error-inner {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.error-code {
  margin-bottom: 10px;
  font-size: clamp(80px, 16vw, 150px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  background: linear-gradient(135deg, var(--al-violet), var(--al-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-title {
  margin-bottom: 14px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
}

.error-sub {
  margin-bottom: 32px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.error-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 26px;
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
}

.error-links span {
  width: 100%;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.error-links a {
  font-weight: 600;
  color: var(--al-violet);
}

.error-links a:hover { text-decoration: underline; }


/* ═══ 16 · TESTIMONIOS (heredado) ═══════════════════════════════
   Se conserva por compatibilidad si alguna página aún los usa.
   El sitio los sustituyó por .proof-card.
   ═══════════════════════════════════════════════════════════════ */

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

.testimonials-grid > * { min-width: 0; }

.testimonial-card {
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform var(--t), box-shadow var(--t);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--al-gold);
  color: var(--al-gold);
}

.testimonial-stars .bx { font-size: 14px; color: var(--al-gold); }

.testimonial-text {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--al-violet), var(--rc-blue));
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-loc {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: minmax(0, 1fr); }
}