/* ==================== RESET GENERAL ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

/* ==================== NAVBAR ==================== */
header {
  width: 100%;
  background: #0c0c0c;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
}

.logo img {
  height: 45px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00d4ff;
}

.nav-buttons a {
  margin-left: 10px;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-ofertas {
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.btn-ofertas:hover {
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.8);
}

.btn-seguimiento {
  border: 2px solid #00d4ff;
  color: #00d4ff;
}

.btn-seguimiento:hover {
  background: #00d4ff;
  color: #fff;
}

/* ==================== MENÚ HAMBURGUESA ==================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #00d4ff;
  border-radius: 2px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .nav-links,
  .nav-buttons {
    display: none;
    flex-direction: column;
    align-items: center;
    background: #0c0c0c;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 1rem 0;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active,
  .nav-buttons.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar {
    padding: 1rem 1.5rem;
  }

  .nav-links li a {
    font-size: 1.1rem;
  }
}


/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  height: 70vh;
  background: linear-gradient(180deg, #07141f 0%, #071018 100%); /* <-- ajustado */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  z-index: 1;
  padding-top: 80px;
}

/* Fondo dinámico del banner */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px; /* un poco más alto para un blending más suave */
  background: linear-gradient(to bottom, rgba(7, 20, 31, 0), #071018); /* <-- igualado */
  pointer-events: none;
  z-index: 2;
}

/* Texto principal */
.hero-text {
  position: relative;
  z-index: 3;
  color: #fff;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #00d4ff;
  animation: glow-text 3s ease-in-out infinite alternate;
}

.hero-text p {
  margin: 1rem 0;
  font-size: 1.2rem;
  color: #ccc;
}

.btn-hero {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 40px;
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  border-radius: 30px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
  transition: all 0.3s ease;
}

.btn-hero:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.9);
}

.seguimiento-container {
  text-align: center;
  margin: 2rem auto;
}

.seguimiento-form {
  display: none;
  margin-top: 1rem;
  animation: fadeIn 0.3s ease-in-out;
}

.seguimiento-form input {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 60%;
  max-width: 300px;
  margin-right: 0.5rem;
}

.seguimiento-resultado {
  margin-top: 1.5rem;
  text-align: left;
  max-width: 600px;
  margin-inline: auto;
  display: none;
}

.seguimiento-resultado h4 {
  color: #333;
  margin-bottom: 0.4rem;
}

.seguimiento-resultado p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #555;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* === Animaciones HERO === */
@keyframes glow-text {
  from {
    text-shadow: 0 0 10px #00d4ff, 0 0 20px #00aaff;
  }
  to {
    text-shadow: 0 0 25px #00ffff, 0 0 40px #00aaff;
  }
}

/* ==================== FALLING ICONS ==================== */
.falling-icons {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.falling-icons span {
  position: absolute;
  top: -10%;
  font-size: 1.8rem;
  user-select: none;
  cursor: grab;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.7);
  animation: fall 12s linear infinite;
  transition: transform 0.2s ease, filter 0.3s ease;
  pointer-events: auto;
}

.falling-icons span:hover {
  transform: scale(1.3);
  filter: brightness(1.5) drop-shadow(0 0 10px #00ffff);
}

.falling-icons span:active {
  cursor: grabbing;
}

/* === Animaciones FALLING ICONS === */
@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0.5;
  }
}

/* ==================== MARCAS ALIADAS ==================== */
.marcas-aliadas {
  position: relative;
  padding: 20px 0;
  text-align: center;
  background: radial-gradient(circle at center, #04121f, #000);
  color: #fff;
  overflow: hidden;
}

.marcas-aliadas h2 {
  font-size: 2.2rem;
  color: #00c3ff;
  text-shadow: 0 0 15px rgba(0, 195, 255, 0.8);
  margin-bottom: 10px;
}

.marcas-aliadas p {
  color: #ccc;
  max-width: 400px;
  margin: 0 auto 60px auto;
  font-size: 1.1rem;
}

/* === Red de marcas (nodos tipo grafo) === */
.brand-network {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 70px;
  z-index: 2;
}

.brand-node {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.15), rgba(0, 0, 0, 0.5));
  box-shadow: 0 0 25px rgba(0, 195, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  animation: floatBrand 6s ease-in-out infinite alternate;
}

.brand-node:nth-child(odd) { animation-delay: 1s; }
.brand-node:nth-child(even) { animation-delay: 2.5s; }

.brand-node img {
  width: 60%;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(0, 195, 255, 0.5));
}

.brand-node:hover {
  transform: scale(1.4);
  box-shadow: 0 0 40px rgba(0, 195, 255, 0.8);
  z-index: 5;
}

.brand-node:hover img {
  transform: scale(1.2);
}

/* === Tooltip dinámico === */
.brand-tooltip {
  position: absolute;
  background: rgba(10, 20, 30, 0.95);
  border: 1px solid #00c3ff;
  border-radius: 15px;
  padding: 20px;
  width: 260px;
  text-align: left;
  box-shadow: 0 0 25px rgba(0, 195, 255, 0.3);
  color: #fff;
  display: none;
  pointer-events: none;
  animation: fadeIn 0.3s ease forwards;
  z-index: 10;
}

.brand-tooltip h3 {
  font-size: 1.2rem;
  color: #00d4ff;
  margin-bottom: 8px;
}

.brand-tooltip p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 12px;
}

.btn-tooltip {
  display: inline-block;
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.btn-tooltip:hover {
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
  transform: scale(1.05);
}

/* === MODAL DE MARCAS === */
.brand-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 10, 20, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 50;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.brand-modal-content {
  background: linear-gradient(145deg, #021018, #031c2b);
  border: 1px solid #00c3ff;
  border-radius: 20px;
  padding: 30px;
  width: 350px;
  max-width: 90%;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 40px rgba(0, 195, 255, 0.5);
  position: relative;
  animation: modalPop 0.3s ease forwards;
}

.modal-logo {
  width: 80px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(0, 195, 255, 0.6));
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #00c3ff;
  font-size: 1.6rem;
  cursor: pointer;
  transition: 0.2s;
}

.close-modal:hover {
  color: #fff;
}

.btn-modal {
  display: inline-block;
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-modal:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
  transform: scale(1.05);
}

.marcas-section {
  background: linear-gradient(180deg, #000a14 0%, #041d33 30%, #0b2747 50%, #041d33 70%, #000a14 100%);
  color: #fff;
  text-align: center;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.marcas-scroll {
  overflow: visible;
  padding: 40px 0; /* más aire vertical */
  width: 100%;
  position: relative;
}

.marcas-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: scrollMarcas 90s linear infinite; /* antes 30s → más lento */
  will-change: transform;
}

@keyframes scrollMarcas {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.brand-node {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 195, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.brand-node img {
  width: 80%;
  transition: transform 0.3s ease;
  pointer-events: none; /* evita que la imagen bloquee el hover del contenedor */
}

.brand-node:hover {
  transform: scale(1.15);
  box-shadow: 0 0 25px rgba(0, 195, 255, 0.8);
  z-index: 5;
}

.brand-node:hover img {
  transform: scale(1.1);
}


.brand-node:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px rgba(0, 195, 255, 0.8);
  z-index: 10;
}

.brand-node:hover img {
  transform: scale(1.1);
}


@keyframes scroll-marcas {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



/* === Animaciones === */
@keyframes floatBrand {
  from { transform: translateY(0); }
  to { transform: translateY(-20px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalPop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* === Animaciones === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatBrand {
  from { transform: translateY(0); }
  to { transform: translateY(-15px); }
}


/* ===== SECCIÓN: OFERTAS EN TENDENCIA ===== */
.offers-section {
  position: relative;
  background: radial-gradient(circle at top, #071018, #000);
  padding: 100px 0 80px 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.offers-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, rgba(7, 16, 24, 0), #071018);
  z-index: 0;
  opacity: 0;
  filter: blur(6px);
}

.offers-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #00c3ff;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0, 195, 255, 0.7);
}

.offers-section p {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* CONTENEDOR DE CARDS */
.offer-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 0 40px;
}

/* CARD INDIVIDUAL */
.offer-card {
  background: linear-gradient(180deg, rgba(10, 20, 30, 0.9), rgba(0, 0, 0, 0.9));
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 195, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
  overflow: hidden;
  text-align: center;
  padding: 30px 20px;
  position: relative;
  z-index: 1;
}

.offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 30px rgba(0, 195, 255, 0.3);
}

/* IMÁGENES DENTRO DE LAS CARDS */
.offer-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.offer-card:hover img {
  transform: scale(1.05);
}

/* TEXTO DE LAS CARDS */
.offer-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.offer-card p {
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 15px;
}

/* BOTÓN / ENLACE DE VER MÁS */
.offer-card a {
  color: #00c3ff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  z-index: 2; /* Asegura que esté por encima de la imagen */
  pointer-events: auto; /* Garantiza que sea clickeable */
}

.offer-card a:hover {
  color: #fff;
  text-shadow: 0 0 10px #00c3ff;
}

/* ANIMACIONES DE ENTRADA */
.offer-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease forwards;
}

.offer-card:nth-child(1) { animation-delay: 0.2s; }
.offer-card:nth-child(2) { animation-delay: 0.4s; }
.offer-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==== TRANSICIÓN ENTRE HERO Y OFERTAS ==== */
.offers-section {
  position: relative;
  background: radial-gradient(circle at top, #071018, #000);
  padding: 100px 0 80px 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* Animación de brillo suave en la unión */
@keyframes glowFade {
  from {
    opacity: 0.4;
    filter: blur(8px);
  }
  to {
    opacity: 0.9;
    filter: blur(2px);
  }
}

/* ==================== SECCIÓN CÓMO FUNCIONA ==================== */
.how-it-works {
  background: linear-gradient(180deg, #04121f 0%, #000 100%);
  color: #fff;
  padding: 100px 5% 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.how-it-works h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #00d4ff;
  text-shadow: 0 0 15px rgba(0, 195, 255, 0.7);
  margin-bottom: 20px;
}

.how-it-works .intro {
  max-width: 600px;
  margin: 0 auto 50px auto;
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
}

.steps {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.step {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 195, 255, 0.2);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 195, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  cursor: pointer;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(90deg, rgba(0, 195, 255, 0.15), rgba(0, 195, 255, 0.05));
}

.step-header h3 {
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
}

.step .icon {
  font-size: 1.8rem;
  color: #00d4ff;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.7));
}

.step-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  color: #ccc;
  line-height: 1.6;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.step-content ul {
  margin: 10px 0 20px 20px;
}

.step-content li {
  margin-bottom: 10px;
}

.step.active {
  border-color: #00d4ff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.step.active .step-content {
  max-height: 500px;
  padding: 20px 25px 30px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== BANNER SOLIDARIO ==================== */
.banner-solidario {
  background: linear-gradient(90deg, #001622, #002d3f, #001622);
  border-top: 1px solid rgba(0, 212, 255, 0.3);
  padding: 60px 5%;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.solidario-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  animation: fadeIn 1.2s ease forwards;
}

.solidario-icon {
  font-size: 3rem;
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
  animation: pulseIcon 2.5s ease-in-out infinite;
}

.solidario-text {
  max-width: 600px;
}

.solidario-text h3 {
  font-size: 1.8rem;
  color: #00d4ff;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.solidario-text p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}

.solidario-text span {
  color: #00ffff;
  font-weight: 600;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.5);
}

/* === Animación del ícono === */
@keyframes pulseIcon {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px #00d4ff); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 25px #00ffff); }
  100% { transform: scale(1); filter: drop-shadow(0 0 10px #00d4ff); }
}


/* ==================== FOOTER ==================== */
/* ==================== FOOTER ==================== */
.footer {
  background: #001622;
  color: #ccc;
  padding: 60px 5% 30px;
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid rgba(0, 212, 255, 0.3);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1 1 280px;
  min-width: 250px;
}

.footer-section h4 {
  color: #00d4ff;
  margin-bottom: 15px;
  font-size: 1.2rem;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.footer-section a:hover {
  color: #00ffff;
  text-shadow: 0 0 6px rgba(0, 255, 255, 0.7);
}

.footer-section p {
  max-width: 400px;
}

.social-links a {
  display: inline-block;
  font-size: 1.5rem;
  margin-right: 15px;
  color: #00d4ff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
  color: #00ffff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

.social-links a i {
  text-shadow: 0 0 6px rgba(0, 212, 255, 0.8);
}

.social-links a:hover i {
  text-shadow: 0 0 15px rgba(0, 255, 255, 1);
}

/* ==================== MODAL NIVELES ==================== */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 10, 20, 0.85);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: linear-gradient(145deg, #021018, #031c2b);
  color: #fff;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #00d4ff;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
  animation: modalPop 0.3s ease;
}

.modal-content h3 {
  color: #00d4ff;
  margin-bottom: 20px;
}

.nivel {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.nivel h4 {
  color: #00d4ff;
  margin-bottom: 8px;
}

.nivel-btn {
  margin-top: 10px;
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.nivel-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.close {
  color: #00d4ff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover {
  color: #fff;
}

/* ===== FORMULARIO MODAL ===== */
#formModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

#formModal.show {
  display: flex;
}

#formModal .modal-content {
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid rgba(0, 212, 255, 0.6);
  border-radius: 15px;
  padding: 25px;
  max-width: 400px;
  width: 90%;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.5);
  animation: aparecer 0.3s ease;
}

@keyframes aparecer {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#formModal .close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #00d4ff;
}

#formModal input,
#formModal select {
  width: 100%;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

#formModal input:focus,
#formModal select:focus {
  border-color: #00d4ff;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

#formModal .buy-btn {
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

#formModal .buy-btn:hover {
  background: linear-gradient(90deg, #00ffff, #00aaff);
}

#formModal .buy-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalPop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==================== BOTÓN COMPRAR AHORA ==================== */
.buy-btn {
  display: inline-block;
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.buy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.9);
  background: linear-gradient(90deg, #00e0ff, #0090ff);
}

/* ==================== MODAL DE SEGUIMIENTO (AZUL CORPORATIVO) ==================== */
#modal-seguimiento {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 3000; /* encima del header */
  backdrop-filter: blur(3px);
}

#modal-seguimiento .contenido-seguimiento {
  background: #0e0e0e;
  color: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 15px rgba(30,144,255,0.3);
  position: relative;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

#modal-seguimiento h3 {
  color: #1e90ff;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

#modal-seguimiento input {
  width: 100%;
  padding: 10px;
  border: 1px solid #1e90ff;
  border-radius: 6px;
  background: #1a1a1a;
  color: #fff;
  margin-bottom: 12px;
  outline: none;
}

#modal-seguimiento button {
  background: #1e90ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

#modal-seguimiento button:hover {
  background: #0074e0;
}

#modal-seguimiento .close-seguimiento {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #aaa;
  transition: color 0.3s;
}

#modal-seguimiento .close-seguimiento:hover {
  color: #fff;
}

#resultadoSeguimiento {
  margin-top: 15px;
  text-align: left;
  line-height: 1.5;
}

#resultadoSeguimiento h4 {
  color: #1e90ff;
  margin-bottom: 10px;
}

#resultadoSeguimiento ul {
  list-style: none;
  padding: 0;
}

#resultadoSeguimiento li {
  margin-bottom: 6px;
  border-left: 3px solid #1e90ff;
  padding-left: 8px;
  font-size: 0.95rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
