/* ============================================================
   CPSEL EVOLUCIÓN — home.css
   Estilos exclusivos de la página de inicio (index.html)
   Requiere: main.css cargado primero
   ============================================================ */

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  color: #fff;
  padding: 5rem 0 0;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0,119,182,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: #fff;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.2rem;
}

.hero-highlight {
  color: #fff;
  background: rgba(255,255,255,0.15);
  border-radius: 0.3em;
  padding: 0 0.2em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn-primary {
  background: #fff;
  color: #0b2641;
  border-color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.hero-actions .btn-primary:hover {
  background: #f0f6fa;
  color: #0077b6;
  border-color: #f0f6fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

/* Stats flotantes */
.hero-stats {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hero-stats {
    flex-direction: column;
    gap: 0.8rem;
  }
}

.hero-stat {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  text-align: center;
  backdrop-filter: blur(8px);
  min-width: 100px;
  flex: 1;
}

@media (min-width: 768px) {
  .hero-stat {
    min-width: 130px;
    flex: unset;
  }
}

.stat-number {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  color: #fff;
}

.stat-unit {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.2rem;
}

/* Wave bottom */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-deeper);
  color: #ffffff;
  border-color: var(--primary-deeper);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .btn-primary {
  background: var(--primary);
  color: #041222;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(74, 204, 236, 0.15);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .btn-primary:hover {
  background: #ffffff;
  color: #041222;
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-ghost:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost-white:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Botón ghost en header (sobre fondo coloreado) */
header .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

header .btn-ghost:hover {
  background: rgba(255,255,255,0.15);
}

header .btn-primary {
  background: #fff;
  color: var(--primary-deeper);
  border-color: #fff;
}

header .btn-primary:hover {
  background: rgba(255,255,255,0.9);
}

/* ===== PROPUESTA DE VALOR ===== */
.value-props {
  padding: 5rem 0 4rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.6rem;
  color: var(--text);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-light);
  color: var(--primary-deeper);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

/* ===== COBERTURA ===== */
.cobertura-section {
  background: var(--primary-light);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cobertura-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cobertura-inner {
    grid-template-columns: 1fr 220px;
  }
}

.cobertura-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.7rem;
  color: var(--text);
}

.cobertura-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.cobertura-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cobertura-inputs {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cobertura-inputs input {
  flex: 1;
  min-width: 140px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

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

.cobertura-result {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
  padding: 0.8rem 1rem;
  background: var(--green-light);
  color: var(--green);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
}

.cobertura-illustration svg {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  display: block;
}

/* ===== PLANES HOME ===== */
.planes-home {
  padding: 5rem 0 4rem;
}

.planes-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .planes-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .planes-home-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-home-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.plan-home-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.plan-home-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(74,204,236,0.15);
}

.plan-featured-label {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-deeper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.plan-home-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.plan-home-speed {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.plan-home-mbps {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary-deeper);
}

[data-theme="dark"] .plan-home-mbps {
  color: var(--primary);
}

.plan-home-mbps-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-home-symmetric {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: -0.4rem;
}

.plan-home-price {
  font-family: 'Inter', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
}

.plan-home-price-period {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-home-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.plan-home-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-home-features li i {
  color: var(--green);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.plan-home-cta {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Plan recomendado por el quiz */
.plan-home-card.recommended {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74,204,236,0.28), var(--shadow-lg);
}
.plan-home-card.recommended::after {
  content: '⭐ Recomendado';
  position: absolute;
  top: 13px;
  right: 13px;
  background: var(--primary);
  color: #07101d;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
}

.plans-home-footer {
  text-align: center;
}

/* ===== VIDEOCABLE ===== */
.vc-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}

[data-theme="dark"] .vc-section {
  background: var(--card-bg);
}

.vc-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .vc-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.vc-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0.8rem 0 1rem;
}

.vc-text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.65;
}

.vc-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.vc-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.vc-benefits li i {
  color: var(--green);
}

.vc-price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.2rem;
  margin-bottom: 1.5rem;
}

.vc-price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.vc-price-value {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-deeper);
}

[data-theme="dark"] .vc-price-value {
  color: var(--primary);
}

.vc-price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.vc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.vc-channels h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  font-weight: 700;
}

.channels-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), border-color var(--transition);
}

.channel-chip:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.channel-chip i {
  color: var(--primary);
  font-size: 0.75rem;
}

.more-chip {
  background: var(--primary);
  color: var(--primary-deeper);
  border-color: var(--primary);
  font-weight: 700;
}

.vc-pdf-btn {
  margin-top: 0.5rem;
}

/* ===== NOVEDADES ===== */
.novedades-section {
  padding: 5rem 0;
  background: var(--bg);
}

.novedades-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .novedades-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .novedades-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.novedad-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.novedad-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.novedad-badge--info    { background: #dbeafe; color: #1d4ed8; }
.novedad-badge--success { background: var(--green-light); color: #166534; }
.novedad-badge--warn    { background: #fef9c3; color: #854d0e; }

[data-theme="dark"] .novedad-badge--info    { background: #1e3a5f; color: #93c5fd; }
[data-theme="dark"] .novedad-badge--success { background: var(--green-light); color: var(--green); }
[data-theme="dark"] .novedad-badge--warn    { background: #3f2f02; color: #fde68a; }

.novedad-card h3 {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.3;
}

.novedad-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.55;
}

.novedad-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ===== COOPERATIVA ===== */
.coop-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-deeper) 0%, var(--primary-dark) 100%);
  color: #fff;
}

.coop-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .coop-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.coop-text .section-badge {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.coop-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin: 0.8rem 0 1rem;
}

.coop-text p {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.coop-stats-list {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.coop-stats-list li {
  display: flex;
  flex-direction: column;
}

.coop-stats-list strong {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.coop-stats-list span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

.coop-image-block {
  display: flex;
  justify-content: center;
}

.coop-image-placeholder {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.08);
  border: 2px dashed rgba(255,255,255,0.25);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.coop-image-placeholder i {
  font-size: 3rem;
  color: rgba(255,255,255,0.5);
}

.coop-image-placeholder p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

/* ===== FOOTER GRID ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-logo {
  max-width: 150px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--primary-deeper);
  transform: translateY(-2px);
}

.footer-links h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links ul li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary);
}

.footer-links ul li i {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  width: 14px;
}

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 0;
}

.footer-legal .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-legal p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--primary);
}

/* ===== WIZARD MODAL ===== */
.wizard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.wizard-overlay[hidden] {
  display: none;
}

.wizard-modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.wizard-modal--sm {
  max-width: 400px;
}

.wizard-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.wizard-close:hover {
  background: var(--border);
  color: var(--text);
}

/* Progreso */
.wizard-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.wizard-progress-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.wizard-progress-step.active .wps-dot {
  background: var(--primary);
  color: var(--primary-deeper);
}

.wizard-progress-step.done .wps-dot {
  background: var(--green);
  color: #fff;
}

.wps-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.wizard-progress-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}

/* Pasos */
.wizard-plan-badge {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary-deeper);
  font-size: 0.9rem;
}

[data-theme="dark"] .wizard-plan-badge {
  color: var(--primary);
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-step h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.wizard-step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  line-height: 1.55;
}

/* Formulario */
.wizard-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
}

.form-group input.error {
  border-color: #ef4444;
}

/* Acciones wizard */
.wizard-actions {
  display: flex;
  gap: 0.8rem;
}

.wizard-actions .btn {
  flex: 1;
  justify-content: center;
}

.wizard-actions--split {
  justify-content: space-between;
}

.wizard-actions--split .btn-ghost {
  flex: 0;
}

/* Resumen paso 3 */
.wizard-summary {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1rem;
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

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

.summary-label {
  color: var(--text-muted);
}

.summary-value {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.wizard-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Popup ops (reutilizado de main.css) */
.popup-op1,
.popup-op2,
.popup-op3 {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-top: 0.5rem;
}

.popup-op1 h3,
.popup-op2 h3,
.popup-op3 h3 {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.popup-op1 p,
.popup-op2 p,
.popup-op3 p {
  font-size: 0.95rem;
  color: var(--primary-deeper);
  font-weight: 600;
}

[data-theme="dark"] .popup-op1 p,
[data-theme="dark"] .popup-op2 p,
[data-theme="dark"] .popup-op3 p {
  color: var(--primary);
}
