/* =============================================
   INTERGTEL – Fibra del Ecuador
   Hoja de estilos principal
   Cumplimiento ARCOTEL – LOT Ecuador
   ============================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #0a1628;
  --blue-800: #0d1f3c;
  --blue-700: #112a52;
  --blue-600: #1565C0;
  --blue-500: #1976D2;
  --blue-400: #1E88E5;
  --blue-300: #42A5F5;
  --cyan-500: #00BCD4;
  --cyan-400: #00E5FF;
  --accent: #00c6ff;
  --accent-2: #0072ff;
  --white: #ffffff;
  --gray-100: #f0f4f8;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --green: #00e676;
  --green-dark: #00c853;
  --orange: #FF9800;
  --red: #f44336;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.2);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(0,198,255,0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--blue-900);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ARCOTEL TOPBAR ===== */
.arcotel-topbar {
  background: linear-gradient(90deg, #0d47a1, #1565C0, #0288D1);
  padding: 8px 0;
  font-size: 12px;
  text-align: center;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.arcotel-topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.arcotel-badge {
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.arcotel-link {
  color: #a5d6ff;
  font-weight: 600;
  text-decoration: underline;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 37px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-md);
  top: 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-icon svg { width: 40px; height: 40px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 10px;
  color: var(--cyan-400);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(21, 101, 192, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 198, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 114, 255, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, var(--blue-900) 0%, #081528 50%, var(--blue-800) 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 40px 40px;
}

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

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 198, 255, 0.1);
  border: 1px solid rgba(0, 198, 255, 0.3);
  color: var(--cyan-400);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 1.5s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  50% { box-shadow: 0 0 0 6px rgba(0, 230, 118, 0); }
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--white);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-primary);
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0, 198, 255, 0.35);
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 198, 255, 0.5);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-primary);
  transition: var(--transition);
  background: transparent;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 198, 255, 0.08);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 48px;
  flex-wrap: wrap;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-unit {
  font-size: 16px;
  color: var(--cyan-400);
  font-weight: 700;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-dot 1.5s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

/* ===== ANIMATIONS ===== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: rgba(0, 198, 255, 0.12);
  border: 1px solid rgba(0, 198, 255, 0.3);
  color: var(--accent);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.arcotel-badge-section {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.3);
  color: #FFD54F;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== PLANES ===== */
.planes-section {
  background: linear-gradient(180deg, var(--blue-900) 0%, var(--blue-800) 100%);
}

/* ===== PLANES (UNIFICADOS) ===== */
.planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.plan-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  z-index: 1;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--blue-400), transparent);
  opacity: 0;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-12px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 198, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

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

/* Glow styles per tier */
.plan-card.tier-basic:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 40px rgba(0, 198, 255, 0.2); border-color: rgba(0, 198, 255, 0.4); }
.plan-card.tier-premium:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 40px rgba(156, 39, 176, 0.3); border-color: rgba(156, 39, 176, 0.5); }
.plan-card.tier-ultra:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 40px rgba(255, 193, 7, 0.3); border-color: rgba(255, 193, 7, 0.5); }
.plan-card.tier-infinite:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 40px rgba(255, 64, 129, 0.3); border-color: rgba(255, 64, 129, 0.5); }

.plan-badge {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-block;
  background: transparent;
  color: #ffffff !important;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  border: none;
  white-space: nowrap;
}

.plan-banner-img {
  width: calc(100% + 60px);
  max-width: none !important;
  margin-left: -30px;
  margin-right: -30px;
  margin-top: -40px;
  height: 140px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@keyframes textGlowBasic {
  from { text-shadow: 0 0 5px rgba(0, 198, 255, 0.2), 0 2px 4px rgba(0,0,0,0.8); }
  to { text-shadow: 0 0 15px rgba(0, 198, 255, 1), 0 0 25px rgba(0, 198, 255, 0.8), 0 2px 4px rgba(0,0,0,0.8); }
}
@keyframes textGlowPremium {
  from { text-shadow: 0 0 5px rgba(156, 39, 176, 0.2), 0 2px 4px rgba(0,0,0,0.8); }
  to { text-shadow: 0 0 15px rgba(156, 39, 176, 1), 0 0 25px rgba(156, 39, 176, 0.8), 0 2px 4px rgba(0,0,0,0.8); }
}
@keyframes textGlowUltra {
  from { text-shadow: 0 0 5px rgba(255, 152, 0, 0.2), 0 2px 4px rgba(0,0,0,0.8); }
  to { text-shadow: 0 0 15px rgba(255, 152, 0, 1), 0 0 25px rgba(255, 152, 0, 0.8), 0 2px 4px rgba(0,0,0,0.8); }
}
@keyframes textGlowInfinite {
  from { text-shadow: 0 0 5px rgba(255, 64, 129, 0.2), 0 2px 4px rgba(0,0,0,0.8); }
  to { text-shadow: 0 0 15px rgba(255, 64, 129, 1), 0 0 25px rgba(255, 64, 129, 0.8), 0 2px 4px rgba(0,0,0,0.8); }
}

.tier-basic .plan-badge { animation: textGlowBasic 1.5s ease-in-out infinite alternate; }
.tier-premium .plan-badge { animation: textGlowPremium 1.5s ease-in-out infinite alternate; }
.tier-ultra .plan-badge { animation: textGlowUltra 1.5s ease-in-out infinite alternate; }
.tier-infinite .plan-badge { animation: textGlowInfinite 1.5s ease-in-out infinite alternate; }

.plan-price-large {
  font-family: var(--font-primary);
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
  display: flex;
  align-items: flex-start;
}
.plan-price-large span.cents {
  font-size: 24px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}
.plan-price-large span.currency {
  font-size: 32px;
  color: var(--accent);
  margin-top: 4px;
  margin-right: 4px;
}

.price-vat-inc {
  font-size: 13px;
  color: var(--cyan-400);
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-speed-row {
  display: flex;
  background: rgba(0,0,0,0.2);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.05);
}

.speed-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.s-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 198, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
}
.s-icon.up { background: rgba(76, 175, 80, 0.1); color: #4CAF50; }

.s-val {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}

.s-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

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

.plan-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan-features li svg {
  color: var(--cyan-400);
  width: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}

.plan-arcotel-note {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 24px;
  text-align: center;
}
.plan-arcotel-note span {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.btn-plan {
  display: block;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 16px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-plan:hover {
  background: white;
  color: var(--bg-dark);
  box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

.tier-ultra .btn-plan, .tier-infinite .btn-plan, .tier-premium .btn-plan {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
}
.tier-ultra .btn-plan:hover, .tier-infinite .btn-plan:hover, .tier-premium .btn-plan:hover {
  transform: scale(1.05);
  color: white;
  box-shadow: 0 10px 30px rgba(0, 198, 255, 0.4);
}

.planes-nota-arcotel {
  background: rgba(255, 193, 7, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.nota-icon { font-size: 24px; flex-shrink: 0; }

.nota-content {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.nota-content strong { color: #FFD54F; }

/* ===== CALIDAD ===== */
.calidad-section {
  background: linear-gradient(135deg, #0d1f3c 0%, #081528 50%, #112a52 100%);
}

.calidad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.calidad-card {
  background: #0b172a; /* Fondo oscuro sólido para que el mix-blend-mode funcione correctamente */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.calidad-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 198, 255, 0.15), transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.calidad-card:hover {
  border-color: rgba(0, 198, 255, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 198, 255, 0.2);
  background: #0f1f38; /* Opaque hover state */
}

.calidad-card:hover::before {
  opacity: 1;
}

.calidad-icon-wrapper {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ai-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  mix-blend-mode: screen;
  /* El drop-shadow iluminaba la caja cuadrada del fondo negro. Se eliminó para que el fondo desaparezca perfectamente. */
  filter: contrast(1.2) brightness(1.1); 
  animation: floatIcon 4s ease-in-out infinite;
}

.emoji-icon {
  font-size: 56px;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
  animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px) scale(1.05); }
  100% { transform: translateY(0); }
}

.calidad-icon { font-size: 36px; margin-bottom: 12px; display: none; }

.calidad-card h3 {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.calidad-valor {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 12px;
}

.calidad-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ===== SPEED TEST ===== */
.speed-section {
  background: var(--blue-900);
}

.speed-test-widget {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.speed-gauge-container { width: 220px; }

.speed-gauge { width: 100%; }

.speed-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 360px;
}

.speed-detail-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sd-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.sd-val {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}

.speed-controls { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.btn-speed-test {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0, 198, 255, 0.4);
}

.btn-speed-test:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 198, 255, 0.5);
}

.btn-speed-test:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

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

.speed-note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.speed-note a { color: var(--accent); }

.speed-status {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ===== COBERTURA ===== */
.cobertura-section {
  background: linear-gradient(135deg, #081528, #0d1f3c);
}

.cobertura-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.cobertura-map-placeholder {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.map-icon { font-size: 64px; }

.cobertura-map-placeholder h3 {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  color: white;
}

.cobertura-map-placeholder p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.cobertura-form {
  display: flex;
  gap: 8px;
  width: 100%;
}

.cobertura-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: white;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}

.cobertura-input::placeholder { color: rgba(255,255,255,0.3); }

.cobertura-input:focus { border-color: var(--accent); }

.btn-cobertura {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-cobertura:hover { transform: translateY(-2px); }

.cobertura-result {
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}

.cobertura-zonas {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cobertura-zonas h3 {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.zonas-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zona-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
}

.zona-item span:nth-child(2) { flex: 1; }

.zona-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.6);
  flex-shrink: 0;
  animation: pulse-green 1.5s ease-in-out infinite;
}

.zona-dot.coming {
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 152, 0, 0.6);
  animation: none;
}

.zona-status {
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(0, 230, 118, 0.1);
  border-radius: 20px;
}

.coming-text {
  color: var(--orange) !important;
  background: rgba(255, 152, 0, 0.1) !important;
}

.btn-outline-dark {
  display: block;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== DERECHOS DEL USUARIO ===== */
.derechos-section {
  background: var(--blue-900);
}

.derechos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.derecho-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.derecho-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--accent));
}

.derecho-card:hover {
  border-color: rgba(255, 193, 7, 0.3);
  transform: translateY(-4px);
}

.derecho-num {
  font-family: var(--font-primary);
  font-size: 36px;
  font-weight: 900;
  color: rgba(0, 198, 255, 0.2);
  line-height: 1;
  margin-bottom: 12px;
}

.derecho-card h3 {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.derecho-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.reclamos-box {
  background: linear-gradient(135deg, rgba(21, 101, 192, 0.2), rgba(0, 198, 255, 0.08));
  border: 1px solid rgba(0, 198, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 40px;
}

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

.reclamos-icon { font-size: 32px; }

.reclamos-header h3 {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 800;
  color: white;
}

.reclamos-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reclamo-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-primary);
  flex-shrink: 0;
}

.step-content {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  padding-top: 6px;
}

.step-content strong { color: white; }
.step-content a { color: var(--accent); text-decoration: underline; }

/* ===== ARCOTEL INFO ===== */
.arcotel-section {
  background: linear-gradient(135deg, #081528, #0a1628);
}

.arcotel-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.arcotel-info-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.arcotel-info-card h3 {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.info-table tr td {
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-table tr td:first-child {
  color: rgba(255,255,255,0.5);
  width: 45%;
}

.info-table tr td:last-child { color: rgba(255,255,255,0.85); }
.info-table tr:last-child td { border-bottom: none; }

.docs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.docs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-icon { font-size: 18px; }

.docs-list a {
  font-size: 14px;
  color: var(--accent);
  transition: var(--transition);
}

.docs-list a:hover { color: var(--cyan-400); text-decoration: underline; }

.arcotel-info-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

.neutralidad-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-item {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== CONTACTO ===== */
.contacto-section {
  background: linear-gradient(180deg, var(--blue-900), var(--blue-800));
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contacto-form-wrapper {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: white;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(0, 198, 255, 0.05);
}

.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--blue-800); color: white; }

.form-consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 10px;
}

.form-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 2px;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
  display: grid;
  place-content: center;
}

.form-consent input[type="checkbox"]:hover {
  border-color: var(--accent);
  background: rgba(0, 198, 255, 0.05);
  box-shadow: 0 0 12px rgba(0, 198, 255, 0.2);
}

.form-consent input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.4);
}

.form-consent input[type="checkbox"]::before {
  content: "";
  width: 12px;
  height: 12px;
  transform: scale(0);
  transition: 0.2s transform cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: inset 1em 1em white;
  background-color: white;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.form-consent input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.form-consent label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  cursor: pointer;
  user-select: none;
}

.form-consent a { 
  color: var(--accent); 
  text-decoration: none;
  border-bottom: 1px dashed var(--accent);
  transition: var(--transition);
}

.form-consent a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(0, 198, 255, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 198, 255, 0.45);
}

.form-success {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 14px;
  color: var(--green);
  text-align: center;
}

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

.contacto-canales {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.canal-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  background: rgba(255,255,255,0.04);
}

.canal-card:hover { transform: translateX(4px); }

.canal-card.whatsapp:hover { border-color: #25D366; background: rgba(37, 211, 102, 0.08); }
.canal-card.telefono:hover { border-color: var(--accent); background: rgba(0, 198, 255, 0.08); }
.canal-card.email:hover { border-color: var(--blue-400); background: rgba(30, 136, 229, 0.08); }

.canal-card.whatsapp svg { color: #25D366; }
.canal-card.telefono svg { color: var(--accent); }
.canal-card.email svg { color: var(--blue-400); }

.canal-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.canal-card strong {
  font-size: 15px;
  font-weight: 700;
  color: white;
}

.canal-card span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.contacto-horarios {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacto-horarios h3 {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.horario-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.horario-row:last-child { border-bottom: none; padding-bottom: 0; }

.horario-row.highlight {
  color: var(--green);
  font-weight: 600;
}

.arcotel-reclamo-box {
  background: rgba(255, 193, 7, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arcotel-reclamo-box h4 {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: #FFD54F;
}

.arcotel-reclamo-box p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.btn-arcotel-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
}

.arcotel-phone {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  background: #060e1d;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top { padding: 70px 0 50px; }

.footer-top-inner {
  display: grid;
  grid-template-columns: 1.6fr 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-name {
  display: block;
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 800;
  color: white;
}

.footer-logo-tag {
  display: block;
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 198, 255, 0.1);
}

.footer-links-col h4 {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
  line-height: 1.4;
}

.footer-links-col a:hover { color: var(--accent); }

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-social-bottom {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-link-sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

.social-link-sm:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 198, 255, 0.1);
}

.scroll-top-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  font-weight: 700;
  transition: var(--transition);
  text-decoration: none;
}

.scroll-top-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: bounce-in 0.6s ease 1s both;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.55);
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--gray-800);
  color: white;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

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

@keyframes bounce-in {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===================================================
   RESPONSIVE – Todos los breakpoints
   Cubre: navbar, hero, planes, calidad, speed test,
   cobertura, derechos, arcotel info, contacto, footer
   =================================================== */

/* ===== 1280px – Ajuste de grids amplios ===== */
@media (max-width: 1280px) {
  .footer-top-inner {
    grid-template-columns: 1.4fr 1.2fr 1fr 1fr 1fr;
    gap: 28px;
  }
}

/* ===== 1024px – Tablet landscape ===== */
@media (max-width: 1024px) {
  /* Footer */
  .footer-top-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }

  /* Contacto */
  .contacto-grid { grid-template-columns: 1fr; }

  /* Cobertura */
  .cobertura-content { grid-template-columns: 1fr; }

  /* Arcotel info */
  .arcotel-info-grid { grid-template-columns: 1fr 1fr; }

  /* Planes */
  .planes-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* ===== 900px – Tablet portrait ===== */
@media (max-width: 900px) {
  /* Navbar */
  .nav-link { padding: 7px 10px; font-size: 13px; }
  .btn-whatsapp { padding: 7px 14px; font-size: 13px; }

  /* Hero stats */
  .hero-stats { padding: 20px 24px; }
  .stat-item { padding: 0 20px; }
  .stat-number { font-size: 36px; }

  /* Calidad */
  .calidad-grid { grid-template-columns: repeat(3, 1fr); }

  /* Derechos */
  .derechos-grid { grid-template-columns: repeat(2, 1fr); }

  /* Secciones */
  .section { padding: 80px 0; }
}

/* ===== 768px – Mobile landscape / Tablet pequeño ===== */
@media (max-width: 768px) {
  /* ── Topbar ── */
  .arcotel-topbar { font-size: 11px; padding: 6px 0; }
  .arcotel-topbar .container {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .arcotel-link { display: none; }

  /* ── Navbar ── */
  .navbar { top: 56px; padding: 10px 0; }
  .navbar.scrolled { top: 0; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(8, 17, 34, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    z-index: 990;
  }
  .nav-links.open { 
    opacity: 1; 
    pointer-events: auto; 
    transform: translateY(0) scale(1); 
  }
  .nav-link { 
    font-size: 24px; 
    font-weight: 600;
    padding: 12px 30px; 
    width: 100%; 
    text-align: center;
    background: transparent;
  }
  .btn-whatsapp { 
    width: auto; 
    justify-content: center; 
    margin-top: 25px; 
    padding: 16px 40px;
    font-size: 18px;
  }
  .hamburger { 
    display: flex; 
    z-index: 1001; 
    position: relative; 
  }

  /* ── Hero ── */
  .hero { padding-top: 140px; padding-bottom: 60px; }
  .hero-title { font-size: clamp(28px, 7vw, 48px); letter-spacing: -1px; }
  .hero-subtitle { font-size: 16px; }
  .hero-ctas { gap: 12px; }
  .hero-stats {
    padding: 20px 16px;
    gap: 0;
  }
  .stat-item { padding: 0 12px; }
  .stat-number { font-size: 30px; }
  .stat-unit { font-size: 14px; }

  /* ── Sections ── */
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .section-subtitle { font-size: 15px; padding: 0 8px; }

  /* ── Planes ── */
  .planes-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan-card.popular { transform: none; }
  .plan-card.popular:hover { transform: translateY(-8px); }

  /* ── Calidad ── */
  .calidad-grid { grid-template-columns: 1fr 1fr; }

  /* ── Speed Test ── */
  .speed-test-widget { padding: 36px 20px; }
  .speed-details { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .btn-speed-test { padding: 14px 28px; font-size: 16px; }

  /* ── Cobertura ── */
  .cobertura-content { grid-template-columns: 1fr; gap: 28px; }
  .cobertura-map-placeholder { padding: 32px 20px; }
  .cobertura-form { flex-direction: column; }
  .btn-cobertura { width: 100%; text-align: center; }

  /* ── Derechos ── */
  .derechos-grid { grid-template-columns: 1fr; }
  .reclamos-box { padding: 24px 20px; }
  .reclamo-step { flex-direction: column; gap: 12px; }

  /* ── Arcotel Info ── */
  .arcotel-info-grid { grid-template-columns: 1fr; }

  /* ── Contacto ── */
  .contacto-grid { grid-template-columns: 1fr; gap: 32px; }
  .contacto-form-wrapper { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contacto-info { order: -1; }

  /* ── Footer ── */
  .footer-top { padding: 48px 0 36px; }
  .footer-top-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
}

/* ===== 580px – Mobile grande ===== */
@media (max-width: 580px) {
  /* ── Topbar ── */
  .arcotel-topbar { display: none; }
  .navbar { top: 0; }

  /* ── Hero ── */
  .hero { padding-top: 120px; }
  .hero-title { font-size: clamp(26px, 8vw, 40px); }
  .hero-badge { font-size: 11px; padding: 6px 14px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline { text-align: center; width: 100%; }
  .hero-stats { padding: 16px; gap: 4px; }
  .stat-item { padding: 0 8px; }
  .stat-number { font-size: 26px; }
  .stat-label { font-size: 10px; }
  .stat-divider { height: 36px; }

  /* ── Planes ── */
  .planes-grid { max-width: 100%; }
  .plan-card { padding: 28px 20px; }
  .price-amount { font-size: 48px; }

  /* ── Calidad ── */
  .calidad-grid { grid-template-columns: 1fr; }
  .calidad-card { padding: 22px 18px; }

  /* ── Speed Test ── */
  .speed-gauge-container { width: 180px; }
  .speed-details { grid-template-columns: 1fr 1fr; }

  /* ── Cobertura ── */
  .cobertura-map-placeholder { padding: 28px 16px; }
  .map-icon { font-size: 48px; }

  /* ── Derechos ── */
  .derechos-grid { grid-template-columns: 1fr; }
  .derecho-card { padding: 22px 18px; }

  /* ── Arcotel Info ── */
  .arcotel-info-card { padding: 22px 18px; }
  .info-table tr td { font-size: 12px; }

  /* ── Contacto canales ── */
  .canal-card { padding: 14px 16px; }
  .contacto-horarios { padding: 18px; }
  .arcotel-reclamo-box { padding: 18px; }

  /* ── Footer ── */
  .footer-top-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-social { flex-wrap: wrap; }
  .footer-bottom-inner { gap: 14px; }
}

/* ===== 400px – Mobile pequeño ===== */
@media (max-width: 400px) {
  /* ── Container ── */
  .container { padding: 0 14px; }

  /* ── Topbar ── */
  .arcotel-topbar { display: none; }

  /* ── Hero ── */
  .hero { padding-top: 110px; }
  .hero-title { font-size: 26px; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 14px; }
  .hero-stats { flex-direction: column; align-items: center; gap: 16px; padding: 20px 14px; }
  .stat-divider { width: 48px; height: 1px; }
  .stat-item { padding: 0; }
  .stat-number { font-size: 32px; }

  /* ── Planes ── */
  .plan-card { padding: 22px 16px; }
  .price-amount { font-size: 44px; }
  .planes-toggle { width: 100%; }
  .toggle-btn { flex: 1; text-align: center; padding: 10px 12px; }

  /* ── Sección headers ── */
  .section-title { font-size: 24px; }
  .section { padding: 52px 0; }
  .section-header { margin-bottom: 28px; }

  /* ── Speed test ── */
  .speed-details { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sd-val { font-size: 16px; }
  .btn-speed-test { padding: 12px 22px; font-size: 15px; }

  /* ── Calidad ── */
  .calidad-valor { font-size: 24px; }

  /* ── Reclamos ── */
  .reclamos-box { padding: 18px 14px; }

  /* ── Footer ── */
  .footer-top { padding: 36px 0 28px; }
  .footer-logo-name { font-size: 18px; }
  .scroll-top-btn { width: 34px; height: 34px; font-size: 16px; }
  .footer-social-bottom { gap: 8px; }
  .social-link-sm { width: 30px; height: 30px; }

  /* ── Whatsapp float ── */
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 18px; }
}

/* ===== MASCOT BANNER ===== */
.mascot-banner {
  padding: 50px 0;
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.mascot-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 198, 255, 0.2);
  border-bottom: 1px solid rgba(0, 198, 255, 0.2);
}

.mascot-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2; /* above particles */
}

.mascot-img-wrapper {
  flex: 0 0 auto;
}

.mascot-img {
  width: 600px; /* Masivo */
  max-width: none;
  height: auto;
  filter: drop-shadow(0 20px 25px rgba(0,0,0,0.6)) drop-shadow(0 0 15px rgba(0, 198, 255, 0.3));
  margin-top: -260px; /* Se eleva muchísimo más hacia arriba */
  margin-bottom: -160px; /* Evita que crezca la caja hacia abajo */
  position: relative;
  z-index: 10;
}

.mascot-content {
  flex: 1;
  text-align: left; /* Left alignment is much cleaner for a 2-column split */
  padding-left: 20px; /* Give it a bit of breathing room from the massive mascot */
}

.mascot-content h2 {
  color: #fff;
  font-size: 44px; /* Slightly larger to fill the new wide space elegantly */
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.mascot-content p {
  color: rgba(255,255,255,0.85);
  font-size: 20px; /* Slightly larger paragraph for balance */
  line-height: 1.6;
  text-shadow: 0 2px 5px rgba(0,0,0,0.8);
  margin-bottom: 35px; /* Adds space before the CTA button */
}

.mascot-action {
  margin-top: 10px;
}

.btn-mascot {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  font-weight: 900;
  font-size: 24px;
  padding: 16px 40px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 20px rgba(0, 198, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-mascot:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 198, 255, 0.5);
}

@media (max-width: 992px) {
  .mascot-banner {
    margin-top: 40px;
    padding: 30px 0;
  }
  .mascot-container {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
    gap: 20px;
    justify-content: center;
  }
  .mascot-img-wrapper {
    flex: 0 0 auto;
  }
  .mascot-content {
    flex: 1 1 250px;
    text-align: left;
  }
  .mascot-action {
    flex: 0 0 auto;
  }
  .mascot-img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    object-position: top center;
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    margin-top: -60px;
    margin-bottom: -20px;
  }
  .mascot-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .mascot-content p {
    font-size: 15px;
  }
  .btn-mascot {
    font-size: 18px;
    padding: 12px 28px;
  }
}

/* ===== WHATSAPP CHAT WIDGET ===== */
.whatsapp-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-chat-window {
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  margin-bottom: 20px;
  transform: scale(0);
  transform-origin: bottom right;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  pointer-events: none;
}

.whatsapp-chat-window.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.whatsapp-chat-header {
  background: #075e54;
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.whatsapp-avatar img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  background: white;
  padding: 5px;
}

.whatsapp-header-text h4 {
  margin: 0 0 3px 0;
  font-size: 15px;
  font-family: var(--font-primary);
  color: white;
}

.whatsapp-header-text p {
  margin: 0;
  font-size: 11px;
  opacity: 0.8;
  color: white;
}

.whatsapp-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.whatsapp-close:hover {
  opacity: 1;
}

.whatsapp-chat-body {
  background: #e5ddd5;
  padding: 20px;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  background-size: cover;
  min-height: 150px;
}

.whatsapp-message {
  background: white;
  padding: 10px 15px;
  border-radius: 0 10px 10px 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  position: relative;
  max-width: 85%;
  margin-bottom: 10px;
}

.whatsapp-msg-name {
  color: #075e54;
  font-size: 11px;
  font-weight: bold;
  margin: 0 0 5px 0;
}

.whatsapp-msg-text {
  color: #333;
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.whatsapp-msg-time {
  text-align: right;
  font-size: 10px;
  color: #999;
  margin: 5px 0 0 0;
}

.whatsapp-chat-footer {
  background: #f0f0f0;
  padding: 15px;
  text-align: center;
}

.whatsapp-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.2s;
  justify-content: center;
  width: 100%;
}

.whatsapp-start-btn:hover {
  background: #1ebe5d;
}

.whatsapp-float {
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  padding: 0;
  outline: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  bottom: 15px;
  background: white;
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.whatsapp-widget-container:hover .whatsapp-tooltip {
  opacity: 1;
  right: 80px;
}
@media (max-width: 768px) {
  .mascot-action {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .mascot-banner {
    padding: 20px 0;
    margin-top: 30px;
  }
  .mascot-container {
    gap: 15px;
    flex-wrap: wrap;
  }
  .mascot-img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    object-position: top center;
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    margin-top: -40px;
    margin-bottom: -10px;
  }
  .mascot-content {
    flex: 1 1 120px;
  }
  .mascot-content h2 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 6px;
  }
  .mascot-content p {
    font-size: 13px;
    line-height: 1.4;
  }
  .btn-mascot {
    font-size: 16px;
    padding: 12px 0;
    width: 100%;
    text-align: center;
  }
}
