/*
 * IPTV ESPAÑA BESPOKE — OFFICIAL THEME STYLESHEET
 * ==========================================================================
 * Paleta Oficial de Colores (España):
 * --esp-red: #AA0000 (Rojo principal: Pasión, deporte, energía)
 * --esp-yellow: #FFD600 (Amarillo principal: Éxito, España, confianza)
 * --esp-dark: #0F172A (Fondo oscuro: Modernidad, elegancia)
 * --esp-light: #F8FAFC (Fondo claro: Equilibrio, limpieza)
 * --esp-text-secondary: #687280 (Claridad, legibilidad)
 * ==========================================================================
 */

:root {
  --esp-red: #AA0000;
  --esp-red-hover: #8E0000;
  --esp-red-glow: rgba(170, 0, 0, 0.4);
  
  --esp-yellow: #FFD600;
  --esp-yellow-hover: #E6C200;
  --esp-yellow-glow: rgba(255, 214, 0, 0.35);

  --esp-dark: #0F172A;
  --esp-dark-card: #1E293B;
  --esp-dark-border: rgba(255, 255, 255, 0.08);

  --esp-light: #F8FAFC;
  --esp-light-card: #FFFFFF;
  --esp-light-border: #E2E8F0;

  --esp-text-dark: #0F172A;
  --esp-text-light: #FFFFFF;
  --esp-text-secondary: #687280;
  --esp-text-muted: #94A3B8;

  --esp-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --esp-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --esp-font-script: 'Caveat', 'Dancing Script', cursive, sans-serif;

  --esp-radius-sm: 8px;
  --esp-radius-md: 14px;
  --esp-radius-lg: 18px;
  --esp-radius-full: 9999px;
  
  --esp-container-max: 1220px;
  --esp-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--esp-font-body);
  font-size: 1rem;
  background-color: var(--esp-dark);
  color: var(--esp-text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

#planes {
  scroll-margin-top: 80px;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--esp-font-heading);
  letter-spacing: -0.02em;
  font-weight: 800;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--esp-transition);
}

/* Container */
.esp-container {
  width: 100%;
  max-width: var(--esp-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   CABECERA PRINCIPAL (HEADER)
   ========================================================================== */
.esp-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 76px;
  display: flex;
  align-items: center;
  transition: height 0.25s ease, background-color 0.25s ease;
}

.esp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

/* Brand Logo */
.esp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.esp-brand-play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.esp-brand-name {
  font-family: var(--esp-font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.esp-brand-white {
  color: #FFFFFF;
}

.esp-brand-yellow {
  color: var(--esp-yellow);
}

/* Nav Menu */
.esp-nav {
  display: flex;
  align-items: center;
}

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

.esp-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #CBD5E1;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.esp-nav-link:hover {
  color: #FFFFFF;
}

.esp-nav-link.active {
  color: #FFFFFF;
  font-weight: 700;
}

.esp-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--esp-yellow);
  border-radius: 2px;
}

/* Header Actions & CTA */
.esp-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Botón Comprar ahora (Red Pill) */
.esp-btn-pill-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--esp-red);
  color: #FFFFFF;
  font-family: var(--esp-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: var(--esp-radius-full);
  box-shadow: 0 4px 14px var(--esp-red-glow);
  transition: var(--esp-transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.esp-btn-pill-red:hover {
  background-color: var(--esp-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(170, 0, 0, 0.5);
  color: #FFFFFF;
}

.esp-btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* Botón Hamburguesa Móvil - 44x44px touch target */
.esp-burger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--esp-radius-sm);
  cursor: pointer;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: var(--esp-transition);
  position: relative;
}

.esp-burger-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.esp-burger-btn:focus-visible {
  outline: 2px solid var(--esp-yellow);
  outline-offset: 2px;
}

.esp-burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.esp-burger-btn.is-active .esp-burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.esp-burger-btn.is-active .esp-burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.esp-burger-btn.is-active .esp-burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   1. HERO SECTION (Dark #0F172A with Spain flag glow)
   ========================================================================== */
.esp-hero {
  position: relative;
  background-color: #080C14;
  background-image: radial-gradient(circle at 50% 0%, #131E35 0%, #080C14 100%);
  padding: 48px 0 60px;
  overflow: hidden;
}

.esp-hero-bg-flourish {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(170, 0, 0, 0.22) 0%, rgba(255, 214, 0, 0.10) 45%, rgba(8, 12, 20, 0) 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 1;
}

.esp-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

/* Badge Hero */
.esp-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--esp-red);
  color: #FFFFFF;
  font-family: var(--esp-font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--esp-radius-full);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px var(--esp-red-glow);
}

.esp-crown-emoji {
  font-size: 1rem;
}

/* Título Hero */
.esp-hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.12;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.esp-text-yellow {
  color: var(--esp-yellow);
}

.esp-brush-accent {
  position: relative;
  display: inline-block;
}

.esp-brush-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 214, 0, 0.4);
  border-radius: 4px;
  z-index: -1;
}

.esp-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #E2E8F0;
  max-width: 540px;
  margin-bottom: 20px;
}

/* Píldoras de Características Hero */
.esp-hero-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.esp-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--esp-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
}

.esp-pill-dot-red {
  width: 8px;
  height: 8px;
  background-color: var(--esp-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--esp-red);
}

.esp-pill-svg {
  color: #CBD5E1;
  display: inline-block;
  vertical-align: middle;
}

.esp-hero-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.esp-btn-pill-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--esp-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: var(--esp-radius-full);
  transition: var(--esp-transition);
}

.esp-btn-pill-demo:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* Visual Fan + Smart TV */
.esp-hero-media-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.esp-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   2. CANALES DESTACADOS (White #FFFFFF)
   ========================================================================== */
.esp-section-light {
  background-color: #FFFFFF;
  color: var(--esp-text-dark);
  padding: 52px 0;
}

.esp-channels-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.esp-section-title-dark {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--esp-text-dark);
}

.esp-link-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--esp-text-secondary);
}

.esp-link-view-all:hover {
  color: var(--esp-red);
}

.esp-channels-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.esp-channel-card {
  background-color: #FFFFFF;
  border: 1px solid var(--esp-light-border);
  border-radius: var(--esp-radius-md);
  padding: 16px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--esp-transition);
}

.esp-channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
  border-color: #CBD5E1;
}

.esp-channel-logo {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.esp-channel-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--esp-text-dark);
}

.esp-channel-group {
  font-size: 0.72rem;
  color: var(--esp-text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   3. ¿POR QUÉ ELEGIR IPTV ESPAÑA? (Light Gray #F8FAFC)
   ========================================================================== */
.esp-section-ice {
  background-color: #F8FAFC;
  color: var(--esp-text-dark);
  padding: 56px 0;
}

.esp-section-center-head {
  text-align: center;
  margin-bottom: 32px;
}

.esp-red-bar {
  width: 48px;
  height: 4px;
  background-color: var(--esp-red);
  margin: 12px auto 0;
  border-radius: 2px;
}

.esp-why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.esp-why-card {
  background-color: #FFFFFF;
  border: 1px solid var(--esp-light-border);
  border-radius: var(--esp-radius-md);
  padding: 30px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: var(--esp-transition);
}

.esp-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  border-color: #CBD5E1;
}

.esp-why-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FEF2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.esp-icon-red {
  color: var(--esp-red);
}

.esp-why-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--esp-text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.esp-why-desc {
  font-size: 0.8rem;
  color: var(--esp-text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   4. NUESTROS PLANES (Dark #0F172A)
   ========================================================================== */
.esp-section-dark {
  background-color: #0F172A;
  color: var(--esp-text-light);
  padding: 56px 0;
}

.esp-section-head-left {
  margin-bottom: 32px;
}

.esp-section-title-white {
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
}

.esp-section-sub-gray {
  font-size: 1.05rem;
  color: var(--esp-text-muted);
  margin-top: 6px;
}

.esp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: stretch;
}

.esp-plan-card {
  background-color: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--esp-radius-lg);
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--esp-transition);
}

.esp-plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.esp-plan-featured {
  border: 2px solid var(--esp-red);
  background: linear-gradient(180deg, #22141F 0%, #1E293B 100%);
  box-shadow: 0 0 35px rgba(170, 0, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}

.esp-plan-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 45px rgba(170, 0, 0, 0.45), 0 14px 36px rgba(0, 0, 0, 0.55);
}

.esp-plan-vip {
  border: 1px solid rgba(255, 214, 0, 0.28);
  background: linear-gradient(180deg, #1C273D 0%, #172033 100%);
  position: relative;
}

.esp-plan-vip:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 214, 0, 0.55);
  box-shadow: 0 0 32px rgba(255, 214, 0, 0.16), 0 10px 28px rgba(0, 0, 0, 0.45);
}

.esp-plan-vip-pill {
  background: rgba(255, 214, 0, 0.14) !important;
  border-color: rgba(255, 214, 0, 0.55) !important;
  color: var(--esp-yellow) !important;
}

.esp-plan-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--esp-red);
  color: #FFFFFF;
  font-family: var(--esp-font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: var(--esp-radius-full);
  box-shadow: 0 4px 14px var(--esp-red-glow);
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.esp-plan-value-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: rgba(255, 214, 0, 0.12);
  border: 1px solid rgba(255, 214, 0, 0.4);
  color: var(--esp-yellow);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--esp-radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.esp-plan-basic-pill {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #E2E8F0 !important;
}

.esp-plan-header {
  margin-bottom: 14px;
}

.esp-plan-name {
  font-size: 1.42rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.esp-plan-headline {
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
}

.esp-plan-desc {
  color: #94A3B8;
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0;
}

.esp-plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.esp-plan-symbol {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
}

.esp-plan-amount {
  font-size: 2.35rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.esp-plan-period {
  font-size: 0.9rem;
  font-weight: 600;
  color: #94A3B8;
  margin-left: 6px;
  align-self: baseline;
}

.esp-plan-monthly-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: var(--esp-radius-md);
  font-size: 0.84rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 22px;
  align-self: flex-start;
}

.esp-plan-monthly-featured {
  background: rgba(170, 0, 0, 0.16);
  border-color: rgba(170, 0, 0, 0.45);
  color: #FFFFFF;
}

.esp-plan-effective-rate {
  color: #FFFFFF;
  font-weight: 700;
}

.esp-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  flex-grow: 1;
  padding: 0;
}

.esp-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.esp-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.esp-feature-text strong {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}

.esp-feature-text span {
  color: #94A3B8;
  font-size: 0.83rem;
  line-height: 1.35;
}

.esp-feature-highlight .esp-feature-text strong {
  color: #FFFFFF;
}

.esp-feature-vip-highlight .esp-feature-text strong {
  color: #FFF4B8;
}

.esp-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  color: var(--esp-yellow);
}

.esp-check-svg {
  stroke-width: 2.5;
}

.esp-btn-plan-outline,
.esp-btn-plan-red,
.esp-btn-plan-vip {
  margin-top: auto;
}

.esp-btn-plan-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-family: var(--esp-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 20px;
  min-height: 48px;
  border-radius: var(--esp-radius-full);
  transition: var(--esp-transition);
  text-decoration: none;
}

.esp-btn-plan-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.esp-btn-plan-red {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background-color: var(--esp-red);
  color: #FFFFFF;
  font-family: var(--esp-font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 13px 20px;
  min-height: 48px;
  border-radius: var(--esp-radius-full);
  box-shadow: 0 4px 14px var(--esp-red-glow);
  transition: var(--esp-transition);
  text-decoration: none;
}

.esp-btn-plan-red:hover {
  background-color: var(--esp-red-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(170, 0, 0, 0.5);
}

.esp-btn-plan-heroic {
  background: linear-gradient(135deg, #C40000 0%, #8E0000 100%);
  font-size: 1.02rem;
  font-weight: 800;
  min-height: 52px;
  box-shadow: 0 6px 22px rgba(170, 0, 0, 0.55);
}

.esp-btn-plan-heroic:hover {
  background: linear-gradient(135deg, #D40000 0%, #A00000 100%);
  box-shadow: 0 8px 26px rgba(170, 0, 0, 0.65);
}

.esp-btn-plan-vip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.15) 0%, rgba(255, 214, 0, 0.05) 100%);
  border: 1.5px solid var(--esp-yellow);
  color: #FFFFFF;
  font-family: var(--esp-font-heading);
  font-weight: 800;
  font-size: 0.98rem;
  padding: 13px 20px;
  min-height: 48px;
  border-radius: var(--esp-radius-full);
  transition: var(--esp-transition);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 214, 0, 0.12);
}

.esp-btn-plan-vip:hover {
  background: var(--esp-yellow);
  color: #0F172A;
  box-shadow: 0 6px 20px var(--esp-yellow-glow);
  transform: translateY(-2px);
}

/* ==========================================================================
   5. MIRA IPTV ESPAÑA EN CUALQUIER LUGAR (White #FFFFFF)
   ========================================================================== */
.esp-anywhere-section {
  padding: 56px 0;
}

.esp-anywhere-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.esp-badge-pill-red {
  display: inline-block;
  background-color: var(--esp-red);
  color: #FFFFFF;
  font-family: var(--esp-font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--esp-radius-full);
  margin-bottom: 18px;
}

.esp-anywhere-desc {
  font-size: 1.05rem;
  color: var(--esp-text-secondary);
  margin-top: 10px;
  margin-bottom: 36px;
}

.esp-devices-mini-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.esp-device-mini-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.esp-device-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--esp-radius-sm);
  background-color: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.esp-icon-gray {
  color: #475569;
}

.esp-device-mini-item span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--esp-text-secondary);
}

.esp-multi-devices-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   6. CANALES DE ESPAÑA (Dark #0F172A with Spain flag wave)
   ========================================================================== */
.esp-channels-category-section {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
}

.esp-channels-bg-flag {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 214, 0, 0.18) 0%, rgba(170, 0, 0, 0.22) 50%, rgba(15, 23, 42, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.esp-channels-cat-inner {
  position: relative;
  z-index: 2;
}

.esp-channels-cat-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.esp-btn-pill-yellow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--esp-yellow);
  color: #0F172A;
  font-family: var(--esp-font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--esp-radius-full);
  box-shadow: 0 4px 14px var(--esp-yellow-glow);
  transition: var(--esp-transition);
}

.esp-btn-pill-yellow:hover {
  background-color: var(--esp-yellow-hover);
  color: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 214, 0, 0.5);
}

.esp-channels-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.esp-cat-card {
  background-color: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--esp-radius-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--esp-transition);
}

.esp-cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.esp-cat-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--esp-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px var(--esp-red-glow);
}

.esp-cat-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.esp-cat-channels {
  font-size: 0.85rem;
  color: var(--esp-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   7. LO MEJOR DE ESPAÑA EN UN SOLO LUGAR (Photographic Landmark Banner)
   ========================================================================== */
.esp-landmark-banner {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 56px 0;
}

.esp-landmark-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.esp-landmark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(15, 23, 42, 0.75) 100%);
  z-index: 2;
}

.esp-landmark-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.esp-landmark-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 16px;
}

.esp-landmark-desc {
  font-size: 1.1rem;
  color: #E2E8F0;
  line-height: 1.65;
  max-width: 520px;
}

.esp-landmark-features-box {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--esp-radius-lg);
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.esp-landmark-check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
}

/* ==========================================================================
   8. COMPATIBLE CON TODOS TUS DISPOSITIVOS (White #FFFFFF)
   ========================================================================== */
.esp-compatibility-section {
  padding: 32px 0 28px;
}

.esp-compat-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.esp-compat-head {
  margin-bottom: 14px;
}

.esp-compat-sub {
  font-size: 0.92rem;
  color: var(--esp-text-secondary);
  margin-top: 3px;
}

.esp-compat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.esp-compat-card {
  background-color: #FFFFFF;
  border: 1px solid var(--esp-light-border);
  border-radius: var(--esp-radius-md);
  padding: 8px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: var(--esp-transition);
}

.esp-compat-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.esp-compat-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background-color: #FEF2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.esp-compat-icon svg {
  width: 16px;
  height: 16px;
}

.esp-compat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--esp-text-dark);
  white-space: nowrap;
}

.esp-compat-media-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  max-width: 380px;
  margin-left: auto;
}

.esp-compat-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   9. LO QUE DICEN NUESTROS CLIENTES (Dark #0F172A)
   ========================================================================== */
.esp-reviews-section {
  padding: 38px 0 32px;
}

.esp-reviews-section .esp-section-head-left {
  margin-bottom: 20px;
}

.esp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.esp-review-card {
  background-color: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--esp-radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: var(--esp-transition);
}

.esp-review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.esp-review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 10px;
}

.esp-review-stars svg {
  width: 15px;
  height: 15px;
}

.esp-review-quote {
  font-size: 0.92rem;
  color: #E2E8F0;
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.esp-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.esp-review-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #334155;
  color: var(--esp-yellow);
  font-family: var(--esp-font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--esp-yellow);
}

.esp-review-meta {
  display: flex;
  flex-direction: column;
}

.esp-author-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.esp-author-location {
  font-size: 0.76rem;
  color: var(--esp-text-muted);
}

/* ==========================================================================
   10. PRE-FOOTER CTA BANNER (White with Spain Ribbon)
   ========================================================================== */
.esp-prefooter-banner-wrapper {
  background-color: #0F172A;
  padding: 0 0 36px;
}

.esp-prefooter-card {
  background-color: #FFFFFF;
  border-radius: var(--esp-radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.esp-ribbon-es {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  display: flex;
  flex-direction: column;
}

.esp-ribbon-red-top {
  flex: 1;
  background-color: var(--esp-red);
}

.esp-ribbon-yellow-mid {
  flex: 2;
  background-color: var(--esp-yellow);
}

.esp-ribbon-red-bot {
  flex: 1;
  background-color: var(--esp-red);
}

.esp-prefooter-text {
  padding-left: 12px;
}

.esp-prefooter-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--esp-text-dark);
}

.esp-prefooter-sub {
  font-size: 1rem;
  color: var(--esp-text-secondary);
  margin-top: 6px;
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.esp-footer {
  background-color: #0B1120;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 0 20px;
  color: var(--esp-text-light);
}

.esp-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 24px;
}

.esp-footer-tagline {
  font-size: 0.88rem;
  color: var(--esp-text-muted);
  margin-top: 10px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.esp-footer-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.esp-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.esp-footer-links a {
  font-size: 0.85rem;
  color: #94A3B8;
}

.esp-footer-links a:hover {
  color: #FFFFFF;
}

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

.esp-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--esp-transition);
}

.esp-social-btn:hover {
  background-color: var(--esp-red);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.esp-social-flag {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
}

.esp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
}

.esp-footer-copy {
  font-size: 0.85rem;
  color: #64748B;
}

.esp-footer-slogan {
  font-size: 1.25rem;
  font-family: var(--esp-font-script);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-style: italic;
}

.esp-crown-icon {
  font-size: 1.1rem;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP (Sustituido por el dock integrado para eliminar solapamientos)
   ========================================================================== */
.esp-wa-float-container {
  display: none !important;
}

/* ==========================================================================
   BARRA FIJA DE ACCIÓN INFERIOR (WHATSAPP, FREE TEST & BUY NOW)
   ========================================================================== */
.esp-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.esp-bottom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

/* Botón 1: WhatsApp Directo Integrado */
.esp-bottom-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: var(--esp-transition);
  flex-shrink: 0;
  text-decoration: none;
  overflow: visible;
}

.esp-bottom-btn-wa:hover {
  background-color: #20BA5A;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.65);
  color: #FFFFFF;
}

.esp-bottom-btn-wa:active {
  transform: scale(0.95);
}

.esp-bottom-btn-wa svg {
  width: 26px;
  height: 26px;
  fill: #FFFFFF;
  display: block;
}

/* Badge Notificación +1 Atractivo */
.esp-bottom-wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #FF1744 0%, #D50000 100%);
  color: #FFFFFF;
  font-family: var(--esp-font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: var(--esp-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0F172A;
  box-shadow: 0 2px 8px rgba(213, 0, 0, 0.6);
  animation: espBadgePulse 2.4s infinite ease-in-out;
  pointer-events: none;
  letter-spacing: -0.02em;
}

@keyframes espBadgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

.esp-bottom-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  min-height: 48px;
  border-radius: var(--esp-radius-full);
  font-family: var(--esp-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--esp-transition);
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  padding: 0 16px;
  cursor: pointer;
}

.esp-bottom-btn:active {
  transform: scale(0.97);
}

/* Botón 1: Prueba Gratis (Dark Glass / Gold Accent) */
.esp-bottom-btn-trial {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.esp-bottom-btn-trial:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.esp-bottom-btn-trial .esp-bottom-btn-icon {
  color: var(--esp-yellow);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.esp-bottom-btn-tag {
  display: inline-block;
  background: rgba(255, 214, 0, 0.2);
  color: var(--esp-yellow);
  border: 1px solid rgba(255, 214, 0, 0.35);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-left: 2px;
}

/* Botón 2: Comprar Ahora (Spanish Red Pill) */
.esp-bottom-btn-buy {
  background: linear-gradient(135deg, var(--esp-red) 0%, #C40000 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px var(--esp-red-glow);
}

.esp-bottom-btn-buy:hover {
  background: linear-gradient(135deg, var(--esp-red-hover) 0%, #D40000 100%);
  box-shadow: 0 6px 20px rgba(170, 0, 0, 0.55);
  color: #FFFFFF;
}

.esp-bottom-btn-buy .esp-bottom-btn-icon {
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* Floating Dock en Pantallas Grandes (>= 1025px) */
@media (min-width: 1025px) {
  body {
    padding-bottom: 0;
  }

  .esp-bottom-bar {
    bottom: 22px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    min-width: 480px;
    max-width: 520px;
    border-radius: var(--esp-radius-full);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(170, 0, 0, 0.15);
    padding: 8px 12px;
  }

  .esp-bottom-bar-inner {
    max-width: 100%;
    gap: 10px;
  }

  .esp-bottom-btn-wa {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .esp-bottom-btn {
    height: 44px;
    min-height: 44px;
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   RESPONSIVIDAD Y OPTIMIZACIÓN MULTI-DISPOSITIVO (MEDIA QUERIES)
   Puntos de ruptura probados y calibrados:
   320px, 360px, 375px, 390px, 414px, 430px, 768px, 1024px, 1440px
   ========================================================================== */

/* Tablet en horizontal y portátiles compactos (<= 1024px) */
@media (max-width: 1024px) {
  .esp-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .esp-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .esp-hero-title {
    font-size: clamp(2.3rem, 5vw, 3.4rem);
  }

  .esp-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .esp-hero-pills {
    justify-content: center;
  }

  .esp-hero-buttons {
    justify-content: center;
  }

  .esp-hero-media {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }

  .esp-channels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .esp-why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .esp-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .esp-anywhere-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .esp-anywhere-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .esp-devices-mini-row {
    justify-content: center;
  }

  .esp-anywhere-media {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .esp-channels-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .esp-landmark-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .esp-landmark-content {
    text-align: center;
  }

  .esp-landmark-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .esp-landmark-features-box {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .esp-compat-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .esp-compat-head {
    margin-bottom: 14px;
  }

  .esp-compat-grid {
    max-width: 480px;
    margin: 0 auto;
    gap: 10px;
  }

  .esp-compat-media-card {
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
  }

  .esp-reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 500px;
    margin: 0 auto;
  }

  .esp-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* Tablets en vertical y móviles grandes (<= 768px) */
@media (max-width: 768px) {
  /* Cabecera compacta */
  .esp-header {
    height: 64px;
  }

  .esp-header-inner {
    gap: 12px;
  }

  .esp-brand-name {
    font-size: 1.3rem;
  }

  .esp-brand-play {
    width: 28px;
    height: 28px;
  }

  .esp-nav {
    display: none;
  }

  .esp-burger-btn {
    display: flex;
  }

  .esp-header-actions {
    gap: 10px;
  }

  .esp-header-cta {
    padding: 8px 16px;
    font-size: 0.88rem;
    gap: 6px;
  }

  /* Sección Hero */
  .esp-hero {
    padding: 24px 0 32px;
  }

  .esp-hero-bg-flourish {
    top: -40px;
    right: -40px;
    width: 280px;
    height: 280px;
    opacity: 0.5;
    filter: blur(40px);
  }

  .esp-hero-title {
    font-size: clamp(2.15rem, 6.8vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .esp-hero-subtitle {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #E2E8F0;
    margin-bottom: 18px;
  }

  .esp-hero-pills {
    gap: 8px;
    margin-bottom: 20px;
  }

  .esp-pill-item {
    font-size: 0.82rem;
    padding: 5px 12px;
  }

  /* Canales destacados */
  .esp-section-light {
    padding: 28px 0;
  }

  .esp-channels-header {
    margin-bottom: 16px;
  }

  .esp-section-title-dark {
    font-size: 1.6rem;
  }

  .esp-channels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .esp-channel-card {
    padding: 12px 6px;
    gap: 4px;
  }

  .esp-channel-logo {
    height: 32px;
    margin-bottom: 2px;
  }

  /* Por qué elegir */
  .esp-section-ice {
    padding: 32px 0;
  }

  .esp-section-center-head {
    margin-bottom: 20px;
  }

  .esp-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Planes y Precios */
  .esp-section-dark {
    padding: 36px 0;
  }

  .esp-section-head-left {
    margin-bottom: 20px;
    text-align: center;
  }

  .esp-section-title-white {
    font-size: 1.85rem;
  }

  .esp-pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 440px;
    margin: 0 auto;
  }

  /* Ordering: Premium first (MÁS POPULAR), then VIP, then Basic */
  .esp-plan-premium {
    order: 1;
    margin-top: 14px;
  }

  .esp-plan-vip {
    order: 2;
  }

  .esp-plan-basic {
    order: 3;
  }

  .esp-plan-popular-badge {
    top: -13px;
  }

  .esp-plan-card {
    padding: 24px 20px;
  }

  .esp-plan-features {
    margin-bottom: 22px;
    gap: 10px;
  }

  .esp-btn-plan-outline,
  .esp-btn-plan-red,
  .esp-btn-plan-vip {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Anywhere (En todos tus dispositivos) compacto */
  .esp-anywhere-section {
    padding: 22px 0 18px;
  }

  .esp-anywhere-section .esp-badge-pill-red {
    margin-bottom: 8px;
  }

  .esp-anywhere-content .esp-section-title-dark {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .esp-anywhere-desc {
    font-size: 0.86rem;
    margin-top: 4px;
    margin-bottom: 14px;
  }

  .esp-anywhere-inner {
    gap: 16px;
  }

  .esp-devices-mini-row {
    gap: 10px;
  }

  .esp-device-icon-box {
    width: 34px;
    height: 34px;
  }

  .esp-device-icon-box svg {
    width: 17px;
    height: 17px;
  }

  .esp-device-mini-item span {
    font-size: 0.7rem;
  }

  .esp-anywhere-media {
    max-width: 340px;
  }

  .esp-multi-devices-img {
    max-height: 180px;
    object-fit: cover;
    border-radius: 12px;
  }

  /* Canales de España Categorías */
  .esp-channels-category-section {
    padding: 32px 0;
  }

  .esp-channels-cat-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    margin-bottom: 20px;
  }

  .esp-channels-cat-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 14px;
  }

  /* Landmark Banner */
  .esp-landmark-banner {
    padding: 36px 0;
    min-height: auto;
  }

  .esp-landmark-title {
    font-size: 2.1rem;
    line-height: 1.18;
  }

  .esp-landmark-features-box {
    padding: 22px 20px;
  }

  /* Compatibilidad ultra compacta en móvil */
  .esp-compatibility-section {
    padding: 20px 0 16px;
  }

  .esp-compat-right {
    display: none;
  }

  .esp-compat-head {
    margin-bottom: 10px;
    text-align: center;
  }

  .esp-compat-head .esp-section-title-dark {
    font-size: 1.35rem;
  }

  .esp-compat-sub {
    font-size: 0.84rem;
    margin-top: 2px;
  }

  .esp-compat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 440px;
    margin: 0 auto;
  }

  .esp-compat-card {
    padding: 6px 4px;
    gap: 5px;
    justify-content: center;
    border-radius: 8px;
  }

  .esp-compat-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }

  .esp-compat-icon svg {
    width: 13px;
    height: 13px;
  }

  .esp-compat-label {
    font-size: 0.74rem;
  }

  /* Reviews */
  .esp-reviews-section {
    padding: 24px 0 20px;
  }

  .esp-reviews-section .esp-section-head-left {
    margin-bottom: 14px;
  }

  .esp-review-card {
    padding: 16px 14px;
  }

  /* FAQ */
  .esp-faq-section {
    padding: 22px 0 24px;
  }

  .esp-faq-head {
    margin-bottom: 14px;
  }

  .esp-faq-accordion {
    gap: 7px;
  }

  .esp-faq-trigger {
    padding: 11px 14px;
    font-size: 0.88rem;
  }

  .esp-faq-body {
    padding: 0 14px 11px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  /* Prefooter Banner */
  .esp-prefooter-banner-wrapper {
    padding: 0 0 20px;
  }

  .esp-prefooter-card {
    flex-direction: column;
    text-align: center;
    padding: 26px 20px 22px;
    gap: 16px;
  }

  .esp-ribbon-es {
    left: 0;
    top: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 6px;
    flex-direction: row;
  }

  .esp-prefooter-text {
    padding-left: 0;
  }

  .esp-prefooter-title {
    font-size: 1.45rem;
  }

  .esp-prefooter-cta {
    width: 100%;
  }

  .esp-prefooter-cta .esp-btn-pill-red {
    width: 100%;
    max-width: 360px;
    min-height: 48px;
  }

  /* Footer Compacto */
  .esp-footer {
    padding: 24px 0 16px;
  }

  .esp-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    margin-bottom: 16px;
  }

  .esp-footer-brand-col {
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4px;
  }

  .esp-footer-brand-col .esp-footer-tagline {
    max-width: 360px;
    margin: 6px auto 10px;
    font-size: 0.82rem;
  }

  .esp-footer-socials {
    justify-content: center;
    gap: 8px;
  }

  .esp-social-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }

  .esp-footer-nav-col, .esp-footer-legal-col {
    text-align: left;
  }

  .esp-footer-title {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .esp-footer-links {
    gap: 5px;
  }

  .esp-footer-links a {
    min-height: auto;
    display: inline-block;
    padding: 2px 0;
    font-size: 0.82rem;
  }

  .esp-footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding-top: 14px;
    font-size: 0.78rem;
  }
}

/* Pantallas móviles intermedias (<= 640px) */
@media (max-width: 640px) {
  .esp-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Grid mini dispositivos en Anywhere */
  .esp-devices-mini-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* Móviles estándar (<= 480px, ej. 430px, 414px, 390px, 375px) */
@media (max-width: 480px) {
  .esp-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Cabecera compacta */
  .esp-brand-name {
    font-size: 1.25rem;
  }

  .esp-header-cta {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  /* Hero con botones apilados para máxima usabilidad táctil */
  .esp-hero {
    padding: 20px 0 28px;
  }

  .esp-badge-hero {
    font-size: 0.8rem;
    padding: 5px 14px;
    margin-bottom: 12px;
  }

  .esp-hero-title {
    font-size: clamp(2.1rem, 7.5vw, 2.65rem);
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .esp-hero-subtitle {
    font-size: 1.02rem;
    line-height: 1.55;
    color: #E2E8F0;
    margin-bottom: 14px;
  }

  .esp-hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .esp-hero-buttons .esp-btn-pill-red,
  .esp-hero-buttons .esp-btn-pill-demo {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 1rem;
    padding: 12px 18px;
  }

  .esp-hero-media-wrapper {
    border-radius: 14px;
  }

  .esp-hero-img {
    aspect-ratio: 700 / 520;
  }

  /* Canales destacados: 4 columnas compactas */
  .esp-channels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .esp-channel-card {
    padding: 10px 4px;
    min-width: 0;
    gap: 3px;
  }

  .esp-channel-logo {
    height: 30px;
    margin-bottom: 0;
  }

  .esp-channel-name {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .esp-channel-group {
    font-size: 0.65rem;
  }

  /* ¿Por qué elegir?: 1 columna con espaciado óptimo */
  .esp-why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .esp-why-card {
    padding: 20px 16px;
  }

  /* Planes y Precios */
  .esp-plan-card {
    padding: 20px 16px;
  }

  .esp-plan-amount {
    font-size: 2.15rem;
  }

  .esp-plan-monthly-tag {
    margin-bottom: 16px;
  }

  .esp-plan-features {
    margin-bottom: 18px;
    gap: 8px;
  }

  .esp-plan-features li {
    font-size: 0.92rem;
    color: #CBD5E1;
  }

  /* Canales categoría */
  .esp-cat-card {
    padding: 20px 16px;
  }

  .esp-btn-pill-yellow {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
  }

  /* Landmark Banner */
  .esp-landmark-title {
    font-size: 1.85rem;
  }

  .esp-landmark-features-box {
    padding: 18px 14px;
    gap: 12px;
  }

  .esp-landmark-check-item {
    font-size: 1rem;
    gap: 10px;
  }

  /* Dispositivos: 3 columnas compactas (2 filas limpias) */
  .esp-compat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 360px;
    margin: 0 auto;
  }

  .esp-compat-card {
    padding: 8px 4px;
    gap: 4px;
    border-radius: 8px;
  }

  .esp-compat-icon {
    width: 28px;
    height: 28px;
  }

  .esp-compat-icon svg {
    width: 16px;
    height: 16px;
  }

  .esp-compat-label {
    font-size: 0.72rem;
  }

  .esp-compat-media-card {
    max-width: 230px;
    border-radius: 8px;
  }

  /* Testimonios */
  .esp-review-card {
    padding: 15px 14px;
  }

  .esp-review-quote {
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  /* Páginas internas y componentes comunes en móvil */
  .esp-channels-explorer {
    padding: 22px 14px;
  }

  .esp-channels-grid#espChannelsGrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .esp-channel-pill {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .esp-channels-search {
    max-width: 100%;
  }

  .esp-card {
    padding: 22px 16px;
  }

  .esp-guides-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .esp-faq-trigger {
    padding: 10px 14px;
    font-size: 0.86rem;
  }

  .esp-faq-body {
    padding: 0 14px 10px;
    font-size: 0.82rem;
    line-height: 1.4;
  }
}

/* Pantallas móviles muy estrechas (<= 360px, ej. 320px Galaxy Fold / iPhone SE) */
@media (max-width: 360px) {
  .esp-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .esp-brand-name {
    font-size: 1.15rem;
  }

  .esp-header-cta {
    padding: 8px 12px;
    font-size: 0.8rem;
    min-height: 40px;
  }

  /* En 320px, ocultar texto de CTA en header para evitar colisiones */
  .esp-header-cta-text {
    display: none;
  }

  .esp-burger-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .esp-hero-title {
    font-size: 1.85rem;
    line-height: 1.18;
  }

  .esp-badge-hero {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .esp-hero-pills {
    gap: 6px;
  }

  .esp-pill-item {
    font-size: 0.74rem;
    padding: 4px 8px;
    gap: 6px;
  }

  /* Canales en pantallas ultra estrechas */
  .esp-channels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }

  .esp-channel-card {
    padding: 8px 2px;
  }

  .esp-channel-logo {
    height: 26px;
  }

  .esp-channel-name {
    font-size: 0.72rem;
  }

  .esp-plan-card {
    padding: 18px 12px;
  }

  .esp-plan-amount {
    font-size: 1.85rem;
  }

  .esp-plan-symbol {
    font-size: 1.2rem;
  }

  .esp-btn-plan-outline,
  .esp-btn-plan-red,
  .esp-btn-plan-vip {
    padding: 10px;
    font-size: 0.9rem;
  }

  /* Barra Fija en Pantallas Móviles Pequeñas */
  .esp-bottom-bar {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  }

  .esp-bottom-btn-wa {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .esp-bottom-btn-wa svg {
    width: 24px;
    height: 24px;
  }

  .esp-bottom-wa-badge {
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    font-size: 0.62rem;
    padding: 0 3px;
    border-width: 1.5px;
  }

  .esp-bottom-btn {
    height: 44px;
    min-height: 44px;
    font-size: 0.88rem;
    gap: 6px;
    padding: 0 10px;
  }

  .esp-bottom-btn-icon svg {
    width: 16px;
    height: 16px;
  }

  .esp-bottom-btn-tag {
    font-size: 0.62rem;
    padding: 1px 5px;
  }
}

/* Pantallas Extra Estrechas (<= 360px, ej. 320px) */
@media (max-width: 360px) {
  .esp-bottom-bar {
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  }

  .esp-bottom-btn-wa {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .esp-bottom-btn-wa svg {
    width: 19px;
    height: 19px;
  }

  .esp-bottom-wa-badge {
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    font-size: 0.58rem;
    padding: 0 2px;
    border-width: 1px;
  }

  .esp-bottom-btn {
    font-size: 0.8rem;
    padding: 0 6px;
    gap: 4px;
    height: 40px;
    min-height: 40px;
  }

  .esp-bottom-btn-tag {
    display: none;
  }
}

/* ==========================================================================
   COMPONENTES DE PÁGINAS INTERNAS & UTILIDADES GENERALES
   ========================================================================== */
.esp-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--esp-red);
  color: #FFFFFF;
  font-family: var(--esp-font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--esp-radius-full);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px var(--esp-red-glow);
}

.esp-highlight {
  color: var(--esp-yellow);
}

/* Botones estándar */
.esp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--esp-font-heading);
  font-weight: 700;
  border-radius: var(--esp-radius-full);
  padding: 12px 26px;
  cursor: pointer;
  border: none;
  transition: var(--esp-transition);
}

.esp-btn-primary {
  background-color: var(--esp-red);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--esp-red-glow);
}

.esp-btn-primary:hover {
  background-color: var(--esp-red-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.esp-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.esp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.esp-btn-emerald {
  background-color: #10B981;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.esp-btn-emerald:hover {
  background-color: #059669;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.esp-btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.esp-btn-block {
  width: 100%;
}

.esp-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
  animation: espPulse 2s infinite;
}

@keyframes espPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Explorador de Canales (/lista-canales/) */
.esp-channels-explorer {
  background-color: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--esp-radius-lg);
  padding: 36px 30px;
}

.esp-channels-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.esp-channels-search {
  position: relative;
  max-width: 460px;
}

.esp-channels-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
}

.esp-channels-search input {
  width: 100%;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--esp-radius-full);
  padding: 12px 20px 12px 48px;
  color: #FFFFFF;
  font-size: 0.95rem;
}

.esp-channels-search input:focus {
  outline: none;
  border-color: var(--esp-yellow);
}

.esp-channels-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.esp-tab-pill {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  padding: 8px 18px;
  border-radius: var(--esp-radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--esp-transition);
}

.esp-tab-pill:hover,
.esp-tab-pill.active {
  background-color: var(--esp-red);
  color: #FFFFFF;
  border-color: var(--esp-red);
}

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

.esp-channel-pill {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--esp-radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: #E2E8F0;
  transition: var(--esp-transition);
}

.esp-channel-pill:hover {
  border-color: var(--esp-yellow);
  transform: translateX(4px);
}

.esp-channel-badge-4k {
  background: rgba(255, 214, 0, 0.15);
  color: var(--esp-yellow);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--esp-radius-full);
  border: 1px solid rgba(255, 214, 0, 0.3);
}

/* FAQ Accordion (/preguntas-frecuentes/ y portada) */
.esp-faq-section {
  padding: 32px 0 36px;
}

.esp-faq-head {
  margin-bottom: 18px;
}

.esp-faq-head .esp-red-bar {
  margin: 8px auto 0;
  width: 40px;
  height: 3px;
}

.esp-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 820px;
  margin: 0 auto;
}

.esp-faq-item {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--esp-radius-md);
  overflow: hidden;
  transition: var(--esp-transition);
}

.esp-faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.esp-faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  font-family: var(--esp-font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.esp-faq-trigger span {
  flex-grow: 1;
}

.esp-faq-icon {
  color: var(--esp-yellow);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.esp-faq-item.is-open .esp-faq-icon {
  transform: rotate(180deg);
}

.esp-faq-body {
  display: none;
  padding: 0 18px 14px;
  color: #CBD5E1;
  font-size: 0.88rem;
  line-height: 1.5;
}

.esp-faq-body p {
  margin: 0;
}

.esp-faq-item.is-open .esp-faq-body {
  display: block;
}

.esp-faq-body a {
  color: var(--esp-yellow);
  text-decoration: underline;
}

/* Tarjetas y Guías */
.esp-card {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--esp-radius-lg);
  padding: 32px 26px;
}

.esp-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.esp-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.esp-guide-card {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--esp-radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: var(--esp-transition);
}

.esp-guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   MENÚ MÓVIL DESPLEGABLE (MOBILE DRAWER NAVIGATION)
   ========================================================================== */
.esp-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.esp-drawer-backdrop.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.esp-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background-color: #0F172A;
  z-index: 2000;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.esp-mobile-drawer.is-open {
  transform: translateX(0);
}

.esp-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.esp-drawer-brand {
  gap: 8px;
}

.esp-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--esp-radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  cursor: pointer;
  transition: var(--esp-transition);
}

.esp-drawer-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--esp-yellow);
}

.esp-drawer-close:focus-visible {
  outline: 2px solid var(--esp-yellow);
  outline-offset: 2px;
}

.esp-drawer-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  margin-bottom: 16px;
}

.esp-drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.esp-drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--esp-radius-md);
  color: #CBD5E1;
  font-family: var(--esp-font-heading);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--esp-transition);
  text-decoration: none;
}

.esp-drawer-nav-link:hover,
.esp-drawer-nav-link.active {
  background-color: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border-left: 3px solid var(--esp-yellow);
}

.esp-drawer-nav-link svg {
  color: var(--esp-yellow);
  flex-shrink: 0;
}

.esp-drawer-footer {
  flex-shrink: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.esp-drawer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #E2E8F0;
  margin-bottom: 2px;
}

.esp-drawer-cta {
  width: 100%;
  min-height: 48px;
  text-decoration: none;
}

.esp-btn-drawer-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25D366;
  color: #FFFFFF;
  font-family: var(--esp-font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 48px;
  border-radius: var(--esp-radius-full);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: var(--esp-transition);
  text-decoration: none;
}

.esp-btn-drawer-wa:hover {
  background-color: #20BA5A;
  color: #FFFFFF;
}

/* Badges de Métodos de Pago */
.esp-pay-badge {
  display: inline-block;
  vertical-align: middle;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.esp-pay-badge:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.esp-pricing-payments {
  margin-top: 48px;
  padding: 28px 24px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-align: center;
}

.esp-pricing-pay-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.esp-pay-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.esp-pricing-pay-sub {
  color: #64748B;
  font-size: 0.82rem;
  margin-top: 14px;
  margin-bottom: 0;
}

.esp-footer-payments {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin: 32px 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.esp-footer-pay-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #94A3B8;
  font-weight: 600;
}

/* Logos de Pago y Garantía dentro de las Tarjetas de Precios */
.esp-plan-payment-trust {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
}

.esp-plan-pay-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.esp-plan-pay-icons .esp-pay-badge {
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.esp-plan-pay-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 500;
  color: #94A3B8;
  letter-spacing: -0.01em;
}

.esp-plan-pay-guarantee .esp-pay-check {
  color: #10B981;
  font-weight: 800;
  font-size: 0.82rem;
}

/* Reducción de animaciones según preferencia del usuario */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

