:root {
  --bg-white: #ffffff;
  --bg-light: #f4f4f4;
  --bg-gray: #eaeaea;
  --bg-dark: #111111;
  --bg-dark-gray: #222222;
  --color-brand: #108a54;       /* Verde Oficial (según referencia del usuario) */
  --color-brand-hover: #0c6b3e; /* Verde Hover */
  --color-brand-light: #ebfcf2; /* Verde Claro */
  --color-green: #008a00;       /* Verde Llamativo */
  --color-green-hover: #006b00;
  --color-blue: #0055AA;        /* Azul NEO Planet */
  --text-main: #333333;
  --text-dark: #000000;
  --text-muted: #666666;
  --text-light: #999999;
  --border-color: #e6e6e6;
  --radius: 20px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-white);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

/* ─── BUTTONS ─── */
.btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
}

.btn-brand {
  background: var(--color-brand);
  color: var(--bg-white);
}
.btn-brand:hover {
  background: var(--color-brand-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--text-dark);
}
.btn-outline:hover {
  background: var(--bg-light);
}

/* ─── HEADER / DUAL NAVIGATION ─── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

/* Top black bar */
.top-header {
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.72rem;
  height: 36px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.top-segment-links {
  display: flex;
  gap: 16px;
}

.top-segment-links a {
  color: #999999;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.top-segment-links a.active {
  color: var(--bg-white);
  border-bottom: 2px solid var(--color-brand);
  padding-bottom: 9px;
}
.top-segment-links a:hover {
  color: var(--bg-white);
}

.top-action-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-action-links a {
  color: #999999;
  text-decoration: none;
  transition: var(--transition);
}
.top-action-links a:hover {
  color: var(--bg-white);
}

.top-phone-highlight {
  color: var(--bg-white);
  font-weight: 700;
  text-decoration: underline;
}

/* Main white sticky bar */
.main-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  height: 70px;
  display: flex;
  align-items: center;
}

header.scrolled .main-header {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

/* Brand Logo circle */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-circle {
  width: 32px;
  height: 32px;
  background: var(--color-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-circle::after {
  content: '';
  width: 12px;
  height: 12px;
  border: 3px solid var(--bg-white);
  border-radius: 50%;
  border-top-color: transparent;
  transform: rotate(-45deg);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}
.logo-text span {
  color: var(--color-brand);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}

.nav-links {
  display: flex;
  align-items: stretch;
  gap: 8px;
  list-style: none;
  height: 70px;
}

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

.nav-links a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  transition: var(--transition);
  padding: 0 18px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links a:hover {
  color: var(--color-brand);
}
.nav-links a.active {
  color: var(--text-main);
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--color-brand);
  border-radius: 2px;
}
.nav-links a.active:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-icon-btn:hover {
  color: var(--color-brand);
}

.btn-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
}
.btn-account:hover {
  border-color: var(--text-dark);
}

.btn-green {
  background: var(--color-green);
  color: var(--bg-white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.btn-green:hover {
  background: var(--color-green-hover);
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--text-dark);
  position: absolute;
  left: 6px;
  transition: var(--transition);
}
.hamburger-line-1 { top: 11px; }
.hamburger-line-2 { top: 15px; }
.hamburger-line-3 { top: 19px; }

.nav-mobile-container {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-white);
  border-left: 1px solid var(--border-color);
  padding: 100px 28px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-mobile-container.active {
  right: 0;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.nav-mobile-links a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 6px;
}
.nav-mobile-links a:hover {
  color: var(--color-brand);
}
.nav-mobile-links a.active {
  background: var(--color-brand);
  color: var(--bg-white);
}
.nav-mobile-links a.active:hover {
  color: var(--bg-white);
}

/* ─── HERO SLIDER SECTION ─── */
#hero {
  padding: 150px 0 60px;
  background: var(--bg-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: stretch;
  gap: 24px;
}

/* Left banner image */
.hero-banner-card {
  background: linear-gradient(135deg, #0e111d 0%, #171d34 100%);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.hero-banner-card .slider-pill-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  left: auto;
  z-index: 20;
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  mix-blend-mode: overlay;
}

.hero-banner-content {
  position: relative;
  z-index: 10;
  max-width: 500px;
}

.hero-badge-blue {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  color: var(--bg-white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-banner-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bg-white);
  line-height: 1.15;
  margin-bottom: 40px;
}

.slider-pill-controls {
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.slider-dot-dots {
  display: flex;
  gap: 6px;
}

.slider-dot-item {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
}
.slider-dot-item.active {
  background: var(--bg-white);
  width: 16px;
  border-radius: 4px;
}

.slider-pause-btn {
  color: var(--bg-white);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Hero Carousel Styles */
.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: flex-end;
  padding: 40px 48px 100px 48px;
}

.hero-slide.active {
  opacity: 1;
  z-index: 5;
}

.hero-slide .hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  mix-blend-mode: overlay;
}

.hero-slide .hero-banner-content {
  position: relative;
  z-index: 10;
  max-width: 500px;
}

.hero-banner-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.btn.btn-white {
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* Right side product card */
.hero-product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.spec-pastilles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.spec-pastille {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spec-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.spec-value {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-brand);
}

.spec-logos-flex {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-logo-box {
  width: 24px;
  height: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: bold;
}

.hero-price-box {
  margin-top: auto;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero-price-val {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.hero-price-unit {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.2;
}

.hero-card-buttons {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
}

/* ─── CONFIGURADOR PILL BAR ─── */
#configurador-bar {
  padding: 20px 0;
  background: var(--bg-white);
}

.config-pill-bar {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 16px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.config-pill-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.config-pill-icon {
  color: var(--color-brand);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.config-pill-text h3 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.config-pill-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-black-pill {
  background: var(--bg-dark);
  color: var(--bg-white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-black-pill:hover {
  background: var(--bg-dark-gray);
}

/* ─── GRID DESTACADOS (4 CARDS) ─── */
#destacados {
  padding: 60px 0 100px;
  background: var(--bg-white);
}

.destacados-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tariff-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.tariff-card:hover {
  transform: translateY(-4px);
}

.tariff-card.highlighted {
  background: var(--bg-white);
  border: 1.5px solid var(--color-brand);
  box-shadow: 0 10px 30px rgba(16, 138, 84, 0.06);
}

.card-la-mas-vendida-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-brand);
  color: var(--bg-white);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(16, 138, 84, 0.2);
  z-index: 5;
}

.card-top-section {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.tariff-card.highlighted .card-top-section {
  background: var(--bg-dark);
  color: var(--bg-white);
}

.card-blue-badge {
  background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
  color: var(--bg-white);
  font-size: 0.58rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  position: absolute;
  top: 12px;
  right: 12px;
  text-transform: uppercase;
}

.card-tag-red {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.card-price-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.tariff-card.highlighted .card-price-val {
  color: var(--bg-white);
}

.card-price-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}
.tariff-card.highlighted .card-price-lbl {
  color: #999999;
}

.card-plan-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.card-plan-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.card-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-specs-list li {
  font-size: 0.78rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-specs-list li strong {
  color: var(--text-dark);
}

.card-specs-list li span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.card-logos-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.card-btn-red {
  background: var(--color-brand);
  color: var(--bg-white);
  width: 100%;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.card-btn-red:hover {
  background: var(--color-brand-hover);
}

/* ─── ECOSISTEMA SECTOR ─── */
#ecosistema {
  padding: 100px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.section-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.eco-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.eco-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eco-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
}

.eco-item:hover {
  border-color: var(--color-brand);
  transform: translateX(4px);
}

.eco-icon-container {
  width: 44px;
  height: 44px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--color-brand);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eco-info h3 {
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.eco-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.smart-control-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.smart-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

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

.smart-btn {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.smart-btn:hover {
  background: var(--color-brand-light);
  border-color: var(--color-brand);
  color: var(--color-brand);
}

/* ─── STATS SECTOR ─── */
#stats {
  padding: 80px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

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

.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--color-brand);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.stat-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── TESTIMONIOS ─── */
#testimonios {
  padding: 100px 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.testi-slider {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 56px;
  position: relative;
}

.testi-slider::before {
  content: '“';
  position: absolute;
  top: 16px;
  left: 36px;
  font-size: 5rem;
  color: var(--color-brand-light);
  font-family: serif;
  line-height: 1;
}

.testi-container {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.testi-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testi-slide.active {
  opacity: 1;
  visibility: visible;
}

.testi-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.6;
}

.testi-author h4 {
  font-size: 0.85rem;
  color: var(--text-dark);
}

.testi-author p {
  font-size: 0.72rem;
  color: var(--color-brand);
  font-weight: 700;
}

.testi-arrows {
  display: flex;
  gap: 8px;
  position: absolute;
  bottom: 56px;
  right: 56px;
}

.arrow-btn {
  width: 32px;
  height: 32px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.arrow-btn:hover {
  background: var(--color-brand);
  color: var(--bg-white);
  border-color: var(--color-brand);
}

/* ─── FOOTER ─── */
footer {
  background: #1a1a1a;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
  font-size: 0.8rem;
  color: #cccccc;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  line-height: 1.5;
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--color-brand);
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  line-height: 1.4;
}

.footer-contact li span.icon {
  color: var(--color-brand);
}

.footer-contact li strong {
  color: #ffffff;
}

.footer-contact a {
  color: #e0e0e0;
  text-decoration: none;
  transition: var(--transition);
}
.footer-contact a:hover {
  color: var(--color-brand);
}

.footer-bottom {
  background: #1a1a1a;
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  color: #999999 !important;
  font-size: 0.75rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #999999 !important;
  text-decoration: none;
  font-size: 0.75rem;
  transition: var(--transition);
}
.footer-legal-links a:hover {
  color: var(--color-brand);
}

/* ─── OPERADORES DE COBERTURA ─── */
.operators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
  gap: 30px;
  margin: 60px 0;
}

.operator-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid #e0e0e0;
}

.operator-card:nth-child(1) {
  border-top-color: #E60000;
}

.operator-card:nth-child(1):hover {
  border-color: #E60000;
  box-shadow: 0 4px 12px rgba(230, 0, 0, 0.15);
}

.operator-card:nth-child(2) {
  border-top-color: #019DF4;
}

.operator-card:nth-child(2):hover {
  border-color: #019DF4;
  box-shadow: 0 4px 12px rgba(1, 157, 244, 0.15);
}

.operator-card:nth-child(3) {
  border-top-color: #019DF4;
}

.operator-card:nth-child(3):hover {
  border-color: #019DF4;
  box-shadow: 0 4px 12px rgba(1, 157, 244, 0.15);
}

.operator-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.operator-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.operator-card:nth-child(1) .operator-img {
  width: 142px;
  height: 142px;
}

.operator-card:nth-child(2) .operator-img {
  width: 136px;
  height: 136px;
}

.operator-card:nth-child(3) .operator-img {
  width: 136px;
  height: 136px;
}



.operator-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.operator-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.coverage-info {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  margin-top: 40px;
  text-align: center;
  border-left: 5px solid var(--color-brand);
}

.coverage-info p {
  margin: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* ─── MODAL DE CONTACTO LOPD ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  width: 100%;
  max-width: 480px;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-sm);
  padding: 40px;
  position: relative;
  transform: scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover {
  background: var(--color-brand);
  color: var(--bg-white);
  border-color: var(--color-brand);
}

.modal-title {
  font-size: 1.35rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.modal-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-brand);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(16, 138, 84, 0.08);
}

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

.form-checkbox input {
  margin-top: 4px;
  accent-color: var(--color-brand);
}

.form-checkbox label {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-checkbox label a {
  color: var(--color-brand);
  text-decoration: none;
}

.success-alert {
  display: none;
  background: var(--color-brand-light);
  border: 1px solid rgba(16, 138, 84, 0.15);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.success-alert h3 {
  font-size: 1.05rem;
  color: var(--color-brand);
  margin-bottom: 6px;
}

.success-alert p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .destacados-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger-btn { display: block; }
  .nav-actions .btn-login, .nav-actions .nav-separator { display: none; }
  /* Podcast y Medios ya están dentro del menú hamburguesa */
  .top-action-links a:not(.top-phone-highlight), .top-action-links span { display: none; }
  .top-action-links { gap: 0; }
  
  .hero-banner-title {
    font-size: 1.8rem;
  }
  .hero-card-buttons {
    grid-template-columns: 1fr;
  }
  .config-pill-bar {
    flex-direction: column;
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
  }
  .config-pill-left {
    flex-direction: column;
  }
  .destacados-grid {
    grid-template-columns: 1fr;
  }
  .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  /* Barra superior: solo el teléfono, centrado */
  .top-header { font-size: 0.68rem; }
  .top-segment-links { display: none; }
  .top-header-container { justify-content: center; }

  /* Hero principal */
  #hero { padding: 110px 0 44px; }
  .hero-banner-card { min-height: 360px; }
  .hero-banner-title {
    font-size: 1.55rem;
    margin-bottom: 32px;
  }

  /* Foto del banner entera, sin recorte (enmarcada sobre el fondo oscuro) */
  .hero-banner-image, .hero-slide .hero-banner-image {
    object-fit: contain;
    object-position: center;
    opacity: 0.75;
  }
  .hero-slide {
    align-items: flex-start;
    padding: 24px 24px 72px;
  }
  .hero-banner-content { max-width: 260px; }
  .hero-banner-price { font-size: 1.4rem; margin-bottom: 14px; }
  .hero-badge-blue {
    margin-bottom: 10px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding: 5px 12px;
  }

  /* Modal de contacto */
  .modal-overlay { padding: 12px; }
  .modal-container { padding: 28px 20px; max-height: 92vh; overflow-y: auto; }

  /* Menú hamburguesa no más ancho que la pantalla */
  .nav-mobile-container { width: min(300px, 85vw); }
}

/* ─── PRELOADER GLOBAL HOLOGRÁFICO ─── */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0b0d13; /* Fondo oscuro espacial profundo */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999; /* Siempre por encima de todo */
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
  opacity: 1;
  visibility: visible;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bg-white);
  border-radius: 50%;
  background-color: transparent;
  user-select: none;
}

.loader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; /* Tamaño optimizado para lucirse solo en el centro */
  height: auto;
  opacity: 0.95; /* Brillo y opacidad a tope para que resalte */
  filter: invert(1) brightness(1.8) drop-shadow(0 0 15px rgba(22, 199, 123, 0.85)); /* Silueta blanca súper nítida con resplandor neón */
  z-index: 1;
  pointer-events: none;
}

.loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: transparent;
  animation: loader-rotate 2.2s linear infinite;
  z-index: 0;
}

@keyframes loader-rotate {
  0% {
    transform: rotate(90deg);
    box-shadow:
      0 10px 20px 0 #ffffff inset,
      0 20px 30px 0 var(--color-brand) inset,
      0 60px 60px 0 #0a3d24 inset;
  }
  50% {
    transform: rotate(270deg);
    box-shadow:
      0 10px 20px 0 #ffffff inset,
      0 20px 10px 0 #16c77b inset,
      0 40px 60px 0 #071f13 inset;
  }
  100% {
    transform: rotate(450deg);
    box-shadow:
      0 10px 20px 0 #ffffff inset,
      0 20px 30px 0 var(--color-brand) inset,
      0 60px 60px 0 #0a3d24 inset;
  }
}
