/* ============================================================
   DANTEL S.A.S — Estilos Globales v2
   Fuentes cargadas directamente en cada HTML
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Nueva paleta principal */
  --indigo:    #1a1a6e;          /* Índigo profundo (reemplaza azul oscuro) */
  --blue:      #2563eb;          /* Azul eléctrico vibrante */
  --cyan:      #06b6d4;          /* Cian brillante (acento fresco) */
  --coral:     #f97316;          /* Coral/naranja cálido (CTA principal) */
  --violet:    #7c3aed;          /* Violeta para gradientes */

  /* Neutros */
  --dark:      #0f172a;          /* Casi negro azulado */
  --mid:       #334155;          /* Gris medio */
  --gray:      #64748b;          /* Gris texto */
  --light:     #f0f9ff;          /* Azul muy claro de fondo */
  --pale:      #f8fafc;          /* Blanco ligeramente azulado */
  --white:     #ffffff;
  --border:    #e2e8f0;

  /* Gradientes */
  --gradient-hero:   linear-gradient(135deg, #1a1a6e 0%, #2563eb 50%, #06b6d4 100%);
  --gradient-cta:    linear-gradient(135deg, #7c3aed 0%, #2563eb 60%, #06b6d4 100%);
  --gradient-card:   linear-gradient(135deg, #1a1a6e 0%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);

  /* Efectos */
  --radius:    50px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15,23,42,0.06);
  --shadow:    0 4px 24px rgba(15,23,42,0.10);
  --shadow-lg: 0 16px 48px rgba(15,23,42,0.16);
  --shadow-blue: 0 8px 32px rgba(37,99,235,0.25);
  --shadow-coral: 0 8px 24px rgba(249,115,22,0.35);
}

html { font-size: 18px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--cyan); }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Chip / Etiqueta de sección ───────────────────────────── */
.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  border: 1px solid rgba(37,99,235,0.2);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

/* ── Botones ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 38px;
  border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(.4,0,.2,1);
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-coral);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(249,115,22,0.45);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-light {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-light:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
  transform: translateY(-2px);
}

/* ── HEADER / NAV ─────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--gradient-hero);
  height: 96px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 32px rgba(15,23,42,0.25);
}

/* Línea inferior brillante */
#header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
  opacity: 0.6;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo img { height: 68px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); transition: transform 0.2s; }
.nav-logo:hover img { transform: scale(1.05); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  color: rgba(255,255,255,0.88);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50px;
  transition: color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-menu > li > a .nav-emoji {
  font-size: 1rem;
  line-height: 1;
}

.nav-menu > li > a:hover {
  color: #fff;
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-menu > li.active > a {
  color: #fff;
  background: rgba(6,182,212,0.25);
  border: 1px solid rgba(6,182,212,0.5);
  box-shadow: 0 0 12px rgba(6,182,212,0.3);
}

/* Submenú */
.nav-menu .submenu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 12px 12px;
  min-width: 320px;
  list-style: none;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  overflow: hidden;
}

.nav-menu li:hover .submenu { display: block; }

.nav-menu .submenu li a {
  display: block;
  padding: 11px 20px;
  color: var(--mid);
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.18s, color 0.18s, padding-left 0.18s;
}
.nav-menu .submenu li:last-child a { border-bottom: none; }
.nav-menu .submenu li a:hover {
  background: var(--light);
  color: var(--blue);
  padding-left: 28px;
}

/* Redes sociales header */
.nav-social { display: flex; align-items: center; gap: 14px; }
.nav-social a {
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.nav-social a:hover { color: #fff; background: rgba(255,255,255,0.14); }
.nav-social svg { width: 16px; height: 16px; fill: currentColor; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding-top: 96px;
  position: relative;
  overflow: hidden;
}

/* Orbes decorativos */
#hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -8%;
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(6,182,212,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 100px;
  position: relative;
  z-index: 1;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6,182,212,0.18);
  border: 1px solid rgba(6,182,212,0.4);
  color: #67e8f9;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}
.hero-chip::before { content: '●'; font-size: 0.5rem; }

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-text h1 span {
  background: linear-gradient(90deg, #67e8f9, #a5f3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 38px;
  max-width: 480px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-img { display: flex; justify-content: center; position: relative; }

.hero-img-wrap {
  position: relative;
  display: inline-block;
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: radial-gradient(circle, rgba(6,182,212,0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-img img {
  max-height: 460px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}

/* Badges flotantes en el hero */
.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: floatBadge 4s ease-in-out infinite;
}
.hero-badge:nth-child(2) { top: 12%; right: -18px; animation-delay: 0s; }
.hero-badge:nth-child(3) { bottom: 18%; left: -18px; animation-delay: 2s; }

.hero-badge-icon { font-size: 1.4rem; }
.hero-badge-text { font-size: 0.72rem; font-weight: 700; color: var(--dark); line-height: 1.2; }
.hero-badge-text span { color: var(--gray); font-weight: 400; font-size: 0.65rem; display: block; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Stats bar en el hero */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-num span { color: var(--cyan); }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* Ola */
.hero-wave {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  line-height: 0;
  z-index: 2;
}

/* ── SLIDER CRC ───────────────────────────────────────────── */
#crc {
  background: var(--pale);
  padding: 40px 0 52px;
  position: relative;
}

.crc-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray);
  margin-bottom: 20px;
}

.crc-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 1000px;
  margin: 0 auto;
  background: #000;
}

.crc-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.crc-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.crc-slide a { display: block; }

.crc-slide img {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  transition: opacity 0.3s;
}

/* Flechas */
.crc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.crc-arrow:hover { background: var(--blue); transform: translateY(-50%) scale(1.1); }
.crc-prev { left: 14px; }
.crc-next { right: 14px; }

/* Dots */
.crc-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.crc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, width 0.25s;
  padding: 0;
}
.crc-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* ── PLANES HOME ──────────────────────────────────────────── */
#planes-home {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

#planes-home::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.home-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
  align-items: start;
}

.home-plan-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1.5px solid var(--border);
  position: relative;
  overflow: hidden;
}

.home-plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.3s;
}

.home-plan-card:hover::before { opacity: 1; }

.home-plan-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-blue);
  border-color: rgba(37,99,235,0.2);
}

/* Card destacada */
.home-plan-card.featured {
  background: var(--gradient-card);
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: var(--shadow-blue);
}
.home-plan-card.featured::before { display: none; }
.home-plan-card.featured:hover { transform: scale(1.06) translateY(-8px); }

.hplan-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--light);
  color: var(--blue);
  margin-bottom: 22px;
  border: 1px solid rgba(37,99,235,0.15);
}

.home-plan-card.featured .hplan-badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.hplan-speed {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 2px;
  letter-spacing: -2px;
}
.home-plan-card.featured .hplan-speed { color: #fff; }

.hplan-speed span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0;
}
.home-plan-card.featured .hplan-speed span { color: rgba(255,255,255,0.7); }

.hplan-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin: 16px 0 28px;
}
.home-plan-card.featured .hplan-price { color: #fff; }

.hplan-price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray);
}
.home-plan-card.featured .hplan-price span { color: rgba(255,255,255,0.65); }

.hplan-divider {
  width: 40px; height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 22px;
}
.home-plan-card.featured .hplan-divider { background: rgba(255,255,255,0.3); }

.hplan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
}

.hplan-features li {
  font-size: 0.84rem;
  color: var(--gray);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hplan-features li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: rgba(37,99,235,0.1);
  color: var(--blue);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}
.home-plan-card.featured .hplan-features li {
  color: rgba(255,255,255,0.8);
  border-bottom-color: rgba(255,255,255,0.12);
}
.home-plan-card.featured .hplan-features li::before {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.hplan-features li:last-child { border-bottom: none; }

.hplan-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.88rem;
  margin-top: auto;
}
.home-plan-card.featured .hplan-btn {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.home-plan-card.featured .hplan-btn:hover {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-coral);
}

.hplans-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.83rem;
  color: var(--gray);
  background: var(--pale);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: 100%;
}

@media (max-width: 900px) {
  .home-plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .home-plan-card.featured { transform: scale(1); }
  .home-plan-card.featured:hover { transform: translateY(-8px); }
}

/* ── SECCIONES GENERALES ──────────────────────────────────── */
.section { padding: 100px 0; }

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 56px;
  max-width: 560px;
  line-height: 1.7;
}

/* ── SERVICIOS ────────────────────────────────────────────── */
#servicios { background: var(--pale); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-blue);
  border-color: rgba(37,99,235,0.2);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover img { transform: scale(1.04); }

.service-card-body { padding: 24px 22px; }

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.service-card p {
  color: var(--gray);
  font-size: 0.87rem;
  line-height: 1.65;
}

/* Línea de color arriba */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-card);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card { position: relative; }
.service-card:hover::after { transform: scaleX(1); }

/* ── NEGOCIOS ─────────────────────────────────────────────── */
#negocios {
  background: var(--white);
  padding-top: 0;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.biz-card {
  padding: 28px 22px;
  border-radius: var(--radius-md);
  background: var(--pale);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s, background 0.3s;
}
.biz-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
  border-color: rgba(37,99,235,0.2);
  background: var(--white);
}

.biz-icon { width: 52px; height: 52px; margin-bottom: 16px; }

.biz-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.biz-card p, .biz-card ul {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.7;
}
.biz-card ul { list-style: none; padding: 0; }
.biz-card ul li::before { content: '✓ '; color: var(--blue); font-weight: 700; }

/* ── NOSOTROS ─────────────────────────────────────────────── */
#nosotros {
  background: var(--pale);
  position: relative;
  overflow: hidden;
}

#nosotros::before {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 { margin-bottom: 18px; }
.about-text p { color: var(--gray); margin-bottom: 16px; line-height: 1.8; }

.about-img { position: relative; }
.about-img img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.about-img::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 100%; height: 100%;
  border: 3px solid var(--cyan);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.4;
}

/* ── POR QUÉ ELEGIRNOS ────────────────────────────────────── */
#porque {
  background: var(--gradient-card);
  position: relative;
  overflow: hidden;
}

#porque::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

#porque .section-title { color: #fff; }
#porque .section-subtitle { color: rgba(255,255,255,0.65); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.3s;
}
.why-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-6px);
}

.why-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 12px;
}

.why-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: #fff; }
.why-card p { color: rgba(255,255,255,0.68); font-size: 0.87rem; line-height: 1.7; }

/* ── CTA FINAL ────────────────────────────────────────────── */
#cta {
  background: var(--dark);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#cta::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

#cta h2 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 14px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

#cta p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 44px;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

#cta .btn { position: relative; z-index: 1; }

/* ── FOOTER ───────────────────────────────────────────────── */
#footer {
  background: #0a0f1e;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

/* ── WHATSAPP FLOTANTE ────────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }

/* ── SCROLL TO TOP ────────────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 100px; right: 30px;
  width: 40px; height: 40px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 999;
  transition: background 0.2s, transform 0.2s;
}
#scrollTop:hover { background: var(--cyan); transform: translateY(-3px); }
#scrollTop.visible { display: flex; }

/* ================================================================
   PÁGINAS INTERNAS
   ================================================================ */

.page-hero {
  background: var(--gradient-hero);
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 { color: #fff; font-size: 2.6rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.72); font-size: 1rem; }

.page-content { padding: 60px 0 80px; }

/* ── TABLAS DE PRECIOS ────────────────────────────────────── */
.price-section { margin-bottom: 60px; }
.price-section h2 { font-size: 1.7rem; margin-bottom: 8px; color: var(--dark); }
.price-note { font-size: 0.83rem; color: var(--gray); margin-bottom: 18px; font-style: italic; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table thead tr { background: var(--gradient-card); color: #fff; }
.price-table thead th { padding: 14px 20px; text-align: left; font-size: 0.88rem; }
.price-table tbody tr:nth-child(odd)  { background: var(--pale); }
.price-table tbody tr:nth-child(even) { background: var(--white); }
.price-table tbody tr:hover { background: #e0f2fe; }
.price-table tbody td { padding: 14px 20px; font-size: 0.92rem; color: var(--dark); border-bottom: 1px solid var(--border); }
.price-table tfoot tr { background: #f1f5f9; }
.price-table tfoot td { padding: 12px 20px; font-size: 0.8rem; color: var(--gray); font-style: italic; }
.price-extra { margin-top: 10px; font-size: 0.85rem; color: var(--gray); }

.price-highlight {
  background: var(--gradient-cta);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 32px 36px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-blue);
}
.price-highlight h2 { color: #fff; margin-bottom: 10px; font-size: 1.6rem; }
.price-highlight p  { color: rgba(255,255,255,0.85); margin-bottom: 6px; }

.price-warning {
  background: #eff6ff;
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
}

/* ── PQRS FORMULARIO ──────────────────────────────────────── */
.pqrs-form {
  max-width: 740px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--dark); }
.form-group span.req { color: var(--coral); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--dark);
  background: var(--pale);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.82rem;
  color: var(--gray);
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--blue);
}
.form-check a { color: var(--blue); text-decoration: underline; }

/* ── DENUNCIA PI ──────────────────────────────────────────── */
.denuncia-hero-img { text-align: center; margin: 30px 0; }
.denuncia-hero-img img {
  max-width: 220px;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.denuncia-entity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px;
  background: var(--pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.denuncia-entity:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.denuncia-entity img { width: 80px; height: 80px; object-fit: contain; border-radius: 8px; }
.denuncia-entity h3 { font-size: 0.92rem; color: var(--blue); }
.denuncia-entity p  { font-size: 0.8rem; color: var(--gray); line-height: 1.6; }
.denuncia-entity a  { display: inline-block; margin-top: 8px; font-size: 0.8rem; color: var(--blue); text-decoration: underline; }

.entities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* ── SPEEDTEST ────────────────────────────────────────────── */
.speedtest-note {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 16px 20px;
  border-radius: 4px;
  margin-bottom: 32px;
  font-size: 0.88rem;
  color: var(--dark);
}
.speedtest-embed {
  border-radius: var(--radius-md);
  overflow: visible;       /* no cortar el iframe responsive */
  box-shadow: var(--shadow-lg);
  background: #000;
  border-radius: var(--radius-md);
}
.speedtest-embed > div {
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ── LEGAL / TYC ──────────────────────────────────────────── */
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.legal-nav a {
  padding: 9px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  color: var(--mid);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s;
}
.legal-nav a:hover, .legal-nav a.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.legal-doc {
  display: none;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  line-height: 1.8;
  color: var(--gray);
  font-size: 0.88rem;
}
.legal-doc.active { display: block; }
.legal-doc h2 { color: var(--blue); font-size: 1.5rem; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--border); }
.legal-doc h3 { color: var(--dark); font-size: 0.96rem; margin: 24px 0 8px; }
.legal-doc p  { margin-bottom: 12px; }
.legal-doc ul { margin: 10px 0 16px 20px; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile First
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet grande 1024px ─────────────────────────────────── */
@media (max-width: 1024px) {
  .biz-grid        { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .why-grid        { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-text h1    { font-size: 2.6rem; }
  .hero-stats      { gap: 24px; }
  .home-plans-grid { gap: 20px; }
  .crc-slider      { max-width: 100%; }
}

/* ── Tablet 768px ─────────────────────────────────────────── */
@media (max-width: 768px) {
  html { font-size: 15px; }

  /* Header */
  #header { height: 72px; }
  .nav-logo img { height: 52px; }

  .nav-menu, .nav-social {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--indigo);
    padding: 16px 20px 20px;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    z-index: 999;
    /* Animación deslizante */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding-top: 0; padding-bottom: 0;
  }
  .nav-menu.open {
    display: flex;
    max-height: 600px;
    padding: 16px 20px 20px;
  }
  .nav-social {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    border-top: none;
    padding: 0 20px 16px !important;
  }
  .nav-social.open {
    display: flex;
    max-height: 60px;
  }
  .nav-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
  }

  .nav-menu > li > a {
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
    color: rgba(255,255,255,0.9);
  }
  .nav-menu > li > a:hover { background: rgba(255,255,255,0.12); }

  /* Submenú mobile */
  .nav-menu .submenu {
    position: static;
    background: rgba(0,0,0,0.25);
    border-top: none;
    box-shadow: none;
    min-width: unset;
    border-radius: 8px;
    margin: 4px 0 4px 12px;
  }
  .nav-menu .submenu li a {
    color: rgba(255,255,255,0.72);
    padding: 10px 16px;
    font-size: 0.8rem;
  }
  .nav-menu .submenu li a:hover { background: rgba(255,255,255,0.08); padding-left: 16px; }
  .nav-menu li:hover .submenu { display: none; }
  .nav-menu li.submenu-open .submenu { display: block !important; }

  .nav-toggle { display: flex; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 0 72px;
    gap: 36px;
  }
  .hero-chip { font-size: 0.68rem; }
  .hero-text h1 { font-size: 2rem; margin-bottom: 16px; }
  .hero-text p  { margin: 0 auto 28px; font-size: 0.95rem; }
  .hero-btns    { justify-content: center; gap: 10px; flex-wrap: wrap; }
  .hero-btns .btn { flex: 1 1 auto; min-width: 140px; max-width: 200px; padding: 14px 20px; }
  .hero-img     { order: -1; }
  .hero-img img { max-height: 240px; margin: 0 auto; border-radius: 16px; }
  .hero-img-wrap::before { display: none; }
  .hero-badge   { display: none; }
  .hero-stats   { justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 32px; padding-top: 28px; }
  .hero-stat-num { font-size: 1.5rem; }

  /* Planes home */
  .home-plans-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto; margin-right: auto;
    gap: 16px;
  }
  .home-plan-card.featured { transform: scale(1); }
  .home-plan-card.featured:hover { transform: translateY(-8px); }
  .hplan-speed { font-size: 2.8rem; }

  /* Secciones */
  .section { padding: 56px 0; }
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 0.92rem; margin-bottom: 36px; }

  /* Servicios */
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card img { height: 180px; }

  /* Negocios */
  .biz-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .biz-card { padding: 20px 16px; }

  /* Nosotros */
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-img   { order: -1; }
  .about-img::after { display: none; }

  /* Por qué */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 24px 20px; }

  /* CTA */
  #cta { padding: 64px 0; }
  #cta h2 { font-size: 1.8rem; }
  #cta p  { font-size: 0.9rem; }

  /* Slider CRC */
  .crc-slide img { height: 200px; }
  .crc-arrow { width: 34px; height: 34px; font-size: 1.2rem; }

  /* Páginas internas */
  .page-hero { padding: 100px 0 36px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero p  { font-size: 0.88rem; }
  .page-content { padding: 40px 0 60px; }

  /* Entidades */
  .entities-grid { grid-template-columns: 1fr; gap: 16px; }

  /* PQRS */
  .pqrs-form { padding: 24px 18px; border-radius: 12px; }
  .form-row  { grid-template-columns: 1fr; gap: 0; }

  /* Legal */
  .legal-nav { gap: 8px; }
  .legal-nav a { font-size: 0.76rem; padding: 7px 12px; }
  .legal-doc { padding: 24px 18px; }

  /* Footer */
  #footer { font-size: 0.78rem; padding: 20px 0; }
}

/* ── Mobile 480px ─────────────────────────────────────────── */
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 16px; }

  /* Header */
  #header { height: 68px; }
  .nav-logo img { height: 44px; }
  .nav-menu, .nav-social { top: 68px; }

  /* Hero */
  .hero-text h1  { font-size: 1.75rem; letter-spacing: -0.3px; }
  .hero-img img  { max-height: 200px; border-radius: 12px; }
  .hero-stats    { gap: 14px; }
  .hero-stat-num { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.68rem; }
  .hero-btns .btn { font-size: 0.85rem; padding: 12px 18px; }

  /* Planes */
  .home-plans-grid { max-width: 100%; }
  .home-plan-card  { padding: 24px 18px; }
  .hplan-speed     { font-size: 2.4rem; }
  .hplan-price     { font-size: 1.3rem; }
  .hplan-features li { font-size: 0.8rem; }

  /* Secciones */
  .section { padding: 44px 0; }
  .section-title { font-size: 1.6rem; }
  .section-chip  { font-size: 0.65rem; }

  /* Negocios */
  .biz-grid { grid-template-columns: 1fr; }

  /* Botones */
  .btn { padding: 13px 22px; font-size: 0.88rem; }

  /* Tablas de precios en páginas internas */
  .price-table thead th,
  .price-table tbody td { padding: 10px 12px; font-size: 0.82rem; }
  .price-highlight { padding: 22px 18px; }
  .price-section h2 { font-size: 1.4rem; }

  /* Formulario PQRS */
  .pqrs-form { padding: 20px 14px; }

  /* Legal */
  .legal-nav { gap: 6px; }
  .legal-nav a { font-size: 0.72rem; padding: 6px 10px; }
  .legal-doc { padding: 18px 14px; }
  .legal-doc h2 { font-size: 1.2rem; }

  /* Slider */
  .crc-slide img { height: 160px; }
  .crc-dots { bottom: 8px; }

  /* WhatsApp y scroll-top */
  .whatsapp-btn { width: 50px; height: 50px; bottom: 18px; right: 18px; }
  .whatsapp-btn svg { width: 24px; height: 24px; }
  #scrollTop { bottom: 80px; right: 18px; width: 36px; height: 36px; font-size: 1rem; }
}

/* ── Mobile pequeño 360px ─────────────────────────────────── */
@media (max-width: 360px) {
  html { font-size: 13px; }
  .hero-text h1 { font-size: 1.55rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { max-width: 100%; width: 100%; }
  .home-plan-card { padding: 20px 14px; }
  .hplan-speed { font-size: 2.2rem; }
}

/* ── Touch / hover mejorado en móvil ─────────────────────── */
@media (hover: none) {
  .service-card:hover,
  .home-plan-card:hover,
  .biz-card:hover,
  .why-card:hover,
  .denuncia-entity:hover { transform: none; }
  .service-card:hover img { transform: none; }
  .home-plan-card.featured { transform: none; }
  /* Mantener sombras para feedback táctil */
  .service-card:active  { box-shadow: var(--shadow-blue); }
  .home-plan-card:active { box-shadow: var(--shadow-blue); }
}