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

:root {
  --primary-color: #3b82f6;
  --primary-light: #93c5fd;
  --white: #ffffff;
  --header-gray: #1e293b;
  --light-gray: #f8fafc;
  --promo-color: #10b981;
  --accent-color: #06b6d4;
  --success-color: #22c55e;
  --warm-gray: #64748b;
  --exclusive-orange: #f59e0b;
  --exclusive-black: #1f2937;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: #334155;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== HEADER COMPACTO Y HORIZONTAL ========== */
header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  color: white;
  padding: 0.8rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(30, 41, 59, 0.3);
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  animation: headerGlow 6s ease-in-out infinite;
}

@keyframes headerGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 0;
  margin: 0;
}

.logo-img {
  height: 35px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)) brightness(1.1);
  transition: all 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 3px 6px rgba(59, 130, 246, 0.4)) brightness(1.2);
}

nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
  padding: 0;
  margin: 0;
}

nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
  transition: left 0.4s ease;
}

nav a:hover::before {
  left: 100%;
}

nav a:hover {
  color: white;
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* ========== MAIN CONTENT (SIN CAMBIOS) ========== */
main {
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ARREGLO DEFINITIVO: Franja promocional sin superposiciones */
.breadcrumb {
  background: linear-gradient(135deg, white 0%, #f8fafc 50%, #f1f5f9 100%);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  overflow: hidden;
  position: relative;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(59, 130, 246, 0.1);
  /* CRÃTICO: Eliminar cualquier z-index que cause problemas */
}

/* ELIMINADO: El ::before que causaba la superposiciÃ³n */

.promo-text-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* CRÃTICO: Sin z-index problemÃ¡tico */
}

.promo-text-scroll {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1px;
  white-space: nowrap;
  text-shadow: 2px 2px 4px rgba(59, 130, 246, 0.15);
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(45deg, var(--primary-color), var(--promo-color), var(--primary-color));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 6s ease-in-out infinite;
  font-family: 'Poppins', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  /* CRÃTICO: Sin z-index, solo position relative */
  position: relative;
}

@keyframes gradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.service-card {
  background: linear-gradient(135deg, white 0%, #f8fafc 50%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.02;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
  border-color: var(--primary-color);
}

/* ========== TARJETAS EXCLUSIVAS MEJORADAS ========== */
.exclusive-card {
  background: linear-gradient(135deg, var(--exclusive-black) 0%, #374151 50%, #4b5563 100%);
  border: 2px solid var(--exclusive-orange);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
  position: relative;
  overflow: hidden;
}

.exclusive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--exclusive-orange), #fbbf24);
  opacity: 0.05;
  z-index: 0;
}

.exclusive-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(245, 158, 11, 0.3);
  border-color: #fbbf24;
}

.exclusive-card:hover::before {
  opacity: 0.08;
}

.exclusive-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--exclusive-orange) 0%, #fbbf24 100%);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 0 0 12px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.exclusive-badge span {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.exclusive-card h3 {
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  font-weight: 600;
}

/* MEJORADO: Logo container para Netflix y Disney */
.exclusive-card .logo-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem; /* Aumentado de 1rem a 1.5rem */
  margin-bottom: 1.5rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
  height: 80px; /* Altura fija mÃ¡s grande */
  display: flex;
  align-items: center;
  justify-content: center;
}

.exclusive-card .logo-container img {
  filter: brightness(1.2) contrast(1.1);
  border-radius: 8px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* MEJORADO: Logos mÃ¡s grandes y mejor posicionados */
  width: auto;
  height: 60px; /* Altura especÃ­fica mÃ¡s grande */
}

.logo-container {
  height: 60px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
  transition: transform 0.3s ease;
}

.service-card:hover .logo-container img {
  transform: scale(1.05);
}

.service-card h3 {
  color: var(--warm-gray);
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* ========== FOOTER COMPACTO Y MODERNO ========== */
footer {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  color: white;
  padding: 1.5rem 0;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  border-top: 2px solid rgba(59, 130, 246, 0.3);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  animation: footerGlow 8s ease-in-out infinite;
}

@keyframes footerGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.footer-content > div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-content > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.4s ease;
}

.footer-content > div:hover::before {
  left: 100%;
}

.footer-content > div:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.footer-content h3 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: white;
  font-weight: 600;
  position: relative;
  z-index: 1;
  background: linear-gradient(45deg, var(--primary-light), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-content p {
  margin: 0.4rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.footer-content > div:hover p {
  color: rgba(255, 255, 255, 0.95);
}

.footer-content a {
  color: var(--accent-color);
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.footer-content a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
}

.footer-content a:hover::after {
  width: 100%;
}

.footer-content a:hover {
  color: white;
}

.payment-methods {
  text-align: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.payment-methods h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s ease;
  filter: brightness(1.1);
  border-radius: 4px;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.05);
}

.payment-logo:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: brightness(1.3);
  background: rgba(255, 255, 255, 0.1);
}

.copyright {
  text-align: center;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== RESPONSIVE MÃ“VIL PERFECTO ========== */
@media (max-width: 768px) {
  /* HEADER MÃ“VIL COMPACTO - LOGO Y NAV EN LA MISMA LÃNEA */
  header {
    flex-direction: row; /* âœ¨ CAMBIO CLAVE: Mantener horizontal */
    padding: 0.6rem 1rem;
    gap: 0.6rem;
    min-height: auto;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    justify-content: space-between; /* âœ¨ Logo izquierda, nav derecha */
  }

  .logo {
    flex-shrink: 0; /* âœ¨ Evita que el logo se comprima */
  }

  .logo-img {
    height: 28px;
  }

  /* NAVEGACIÃ“N MÃ“VIL EN LA MISMA LÃNEA A LA DERECHA */
  nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap; /* âœ¨ CAMBIO CLAVE: No permitir wrap */
    gap: 0.3rem;
    flex-shrink: 1; /* âœ¨ Permite que se comprima si es necesario */
  }

  nav a {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap; /* âœ¨ Evita que el texto se rompa */
  }

  nav a:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
  }

  /* MAIN CONTENT MÃ“VIL */
  main {
    padding: 1rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  /* TARJETAS EXCLUSIVAS MÃ“VIL MEJORADAS */
  .exclusive-badge {
    font-size: 0.6rem;
    padding: 0.3rem 0.8rem;
    top: -6px;
  }

  .exclusive-card .logo-container {
    margin-bottom: 1rem;
    padding: 1rem; /* Reducido en mÃ³vil */
    height: 70px; /* Altura reducida en mÃ³vil */
  }

  .exclusive-card .logo-container img {
    height: 50px; /* Altura reducida en mÃ³vil */
  }

  /* TEXTO PROMOCIONAL MÃ“VIL MEJORADO */
  .promo-text-scroll {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 1.2;
  }

  .breadcrumb {
    height: 50px;
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  /* FOOTER MÃ“VIL COMPACTO */
  footer {
    padding: 1rem 0;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
    padding: 0 1rem;
  }

  .footer-content > div {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .footer-content h3 {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  .footer-content p {
    font-size: 0.75rem;
    margin: 0.3rem 0;
  }

  /* PAYMENT METHODS MÃ“VIL */
  .payment-methods {
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.25);
  }

  .payment-methods h4 {
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
  }

  .payment-logos {
    gap: 0.4rem;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
  }

  .payment-logo {
    height: 22px;
    padding: 0.15rem;
  }

  /* COPYRIGHT MÃ“VIL */
  .copyright {
    padding: 0.6rem;
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.35);
  }
}

/* ========== RESPONSIVE DESKTOP MEJORADO ========== */
@media (min-width: 768px) {
  header {
    padding: 1rem 2rem;
  }
  
  .logo-img {
    height: 40px;
  }
  
  nav a {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  main {
    padding: 2rem;
  }

  /* TEXTO PROMOCIONAL PC PERFECTO */
  .promo-text-scroll {
    font-size: 1.4rem;
    letter-spacing: 1.2px;
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(59, 130, 246, 0.2);
  }

  .breadcrumb {
    height: 80px;
    padding: 2rem;
  }
  
  footer {
    padding: 2rem 0;
  }

  .footer-content {
    padding: 0 2rem;
  }

  .footer-content > div {
    padding: 1.5rem;
  }

  .footer-content h3 {
    font-size: 1.1rem;
  }

  .footer-content p {
    font-size: 0.9rem;
  }

  .payment-methods {
    padding: 1.5rem 2rem;
  }

  .payment-methods h4 {
    font-size: 1rem;
  }

  .payment-logos {
    gap: 1.5rem;
  }

  .payment-logo {
    height: 32px;
  }
}

/* Estilos para tÃ©rminos y condiciones */
.terms-container {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, white 0%, #f8fafc 50%, #f1f5f9 100%);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.terms-container h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
}

.terms-container section {
  margin-bottom: 2rem;
}

.terms-container h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.terms-container p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--warm-gray);
}

.terms-container ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.terms-container li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--warm-gray);
}