/* === FUENTE PRINCIPAL === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

/* === ESTILOS GENERALES === */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.8;
  font-size: 18px;
  scroll-behavior: smooth;

  /* Evita zoom o autoajustes en móviles */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;

  /* === SCROLL PERSONALIZADO === */
scrollbar-width: thin;              /* Firefox */
scrollbar-color: #ff416c #222;      /* thumb color, track color */
}



/* Chrome, Edge, Safari */
body::-webkit-scrollbar {
  width: 10px;
  background: #222;
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff416c 0%, #b3002d 100%);
  border-radius: 8px;
  border: 2px solid #222;
}
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ff4b2b 0%, #ff416c 100%);
}
body::-webkit-scrollbar-track {
  background: #222;
  border-radius: 8px;
}

/* === UTILIDADES === */
.hidden {
  display: none !important;
}

.toggle-btn {
  background: none;
  background-color: transparent;
  font-size: 100%;
  border: none;
  color: white;
  cursor: pointer;
  margin-top: 10px;
  font-weight: bold;
}



/* ========================================================================= */
/* ============================== NAVEGACIÓN =============================== */
/* ========================================================================= */

#side-nav {
  position: fixed;
  font-size: 30px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.043);
  padding: 20px;
  border-radius: 0 8px 8px 0;
  transition: 0.3s;
  z-index: 1000;
}

#side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#side-nav a {
  text-decoration: none;
  color: #ffffff;
  display: block;
  padding: 8px;
  transition: color 0.3s;
}

#side-nav a:hover {
  color: crimson;
}

@media (max-width: 1550px) {

    body {
    padding-bottom: 10vw; /* Espacio para el nav fijo */
  }

  #side-nav {
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100vw;
    height: auto;
    transform: none;
    background: rgba(0, 0, 0, 0.662);;
    border-radius: 0;
    padding: 2vw 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3vw;
  }

  #side-nav ul {
    display: flex;
    flex-direction: row;
    gap: 7vw;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
  }
  #side-nav a {
    color: #fff;
    padding: 2vw 4vw;
    font-size: 1.1em;
    border-radius: 1vw;
    transition: background 0.2s, color 0.2s;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #side-nav a:hover {
    color: crimson;
  }
  #side-nav a i {
    margin-right: 1vw;
  }

}


/* ========================================================================= */
/* =============================== CABECERA ================================ */
/* ========================================================================= */

.main-header > * {
  position: relative;
  z-index: 1;
}

.main-header {
  position: relative;
  overflow: hidden;
  height: 100vh;
  background: linear-gradient(120deg, #000000 0%, #000000 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.main-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.main-header h1,
.main-header p {
  background: linear-gradient(120deg, #fff 0%, #fff 50%, #1ffd01 50%, #1ffd01 100%);
  background-size: 300% 250%;
  animation: bgMove 8s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background 0.7s;
  position: relative;
  z-index: 1;
}
@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#cta-button {
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(90deg, #ff416c 0%, #ff4b2b 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 16px #ff416c44;
  transition: background 0.3s, transform 0.2s;
  z-index: 1;
}

#cta-button:hover {
  background: linear-gradient(90deg, #ff4b2b 0%, #ff416c 100%);
  transform: scale(1.15);
}

/* === Flecha animada hacia abajo === */
.arrow-down {
  position: absolute;
  bottom: 10px;
  font-size: 3rem;
  animation: bounce 2s infinite;
  color: green;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: -5px;
}

.arrow-down::before {
  content: "\25BD";
  font-size: 7.5rem;
  line-height: 1;
}

.arrow-down::after {
  content: "\25BD";
  font-size: 4.5rem;
  margin-top: -10px;
}

/* Ajustes de móvil */

@media (max-width: 1550px) {
  .arrow-down {
    position: static;
    font-size: 2.5rem;
    margin: 4vw 0 0 0;
    color: #1ffd01;
    gap: 0;
  }
  .arrow-down::before {
    font-size: 4.5rem;
  }
  .arrow-down::after {
    font-size: 2.5rem;
    margin-top: -6px;
  }
}


/* === ANIMACIONES === */
@keyframes bounce {
  0%, 100% { transform: translateY(10px); }
  50% { transform: translateY(30px); }
}
/* ========================================================================= */
/* ============================== PLANES ================================= */
/* ========================================================================= */

.planes {
  color: #fff;
  text-align: center;
  margin-top: 400px;
  width: 100%;
  padding: 6vw 4vw;
  margin-top: 18vw;
  box-sizing: border-box;
  /* No uses height fija */
  /* El contenido interno hará crecer la sección automáticamente */
}

.planes.visible {
  opacity: 1;
  transform: none;
}

.planes h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: crimson;
}


/* ========================================================================= */
/* ============================== CARRUSEL ================================= */
/* ========================================================================= */

.carousel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* ==================== CARDS UNIFICADAS ==================== */
.card {
  background: #1a1a1a;
  position: relative;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  width: 90vw;
  max-width: 340px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid transparent;
  margin: 0.7vw 0.7vw auto 0.5vw;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5em;
  letter-spacing: 1px;
}

.card p {
  margin-bottom: 1rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  width: 100%;
}

.card ul li {
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 1em;
  color: #fff;
  opacity: 0.92;
  letter-spacing: 0.5px;
}

.card ul li::before {
  content: "✓";
  color: mediumseagreen;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.card .discount-badge {
  display: inline-block;
  background: #ff4d4d;
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 12px;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  letter-spacing: 1px;
}

/* Colores de acento por tipo de card */
.card.simple {
  border-top-color: crimson;
}
.card.simple h3 { color: crimson; }
.card.simple .discount-badge { background: crimson; }

.card.premium {
  border-top-color: rgb(0, 252, 0);
}
.card.premium h3 { color: mediumseagreen; }
.card.premium .discount-badge { background: crimson;}

.card.proximamente {
  border-top-color: #fff;
}
.card.proximamente h3,
.card.proximamente h2 { color: #fff; }
.card.proximamente .discount-badge { background: #fff; color: #222; }

.card.gratis {
  border-top-color: #0798ec;
}
.card.gratis h3 { color: #07afe7; }
.card.gratis .discount-badge { background: #07afe7; color: #fff; }

/* Botón Ver ejemplo y otros botones */
.card .preview-btn,
.card .toggle-btn {
  background: crimson;
  border: none;
  padding: 0.75rem 0.5rem;
  font-size: 1em;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 0.5em;
}

.card .preview-btn:hover,
.card .toggle-btn:hover {
  background: #b3002d;
}

.card.gratis .preview-btn {
  background: #07afe7;
}

/* Hover general para cards */
.card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 0 15px #ff416c;
}
.card.premium:hover {
  box-shadow: 0 0 15px mediumseagreen;
}
.card.proximamente:hover {
  box-shadow: 0 0 15px #fff;
}
.card.gratis:hover {
  box-shadow: 0 0 15px #2000ed;
}


.card.gratis .discount-badge,
.card.gratis p span {
  position: absolute;
  font-weight: bold;
  margin: auto 0.5vw auto 0.5vw;
  letter-spacing: 1px;
  color: #fff;
  border-radius: 8px;
  padding: 0.2rem 0.8rem;
  display: inline-block;
  background: linear-gradient(90deg, #061a40 0%, #057de0 100%);
  box-shadow: 0 0 12px #061a4088, 0 0 4px #06069f55;
  overflow: hidden;
  transition: background 0.5s, box-shadow 0.5s;
  /* Animación de fondo sutil */
  animation: gratisBgPulse 8s ease-in-out infinite;
}

.card.gratis .discount-badge::after,
.card.gratis p span::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.45) 60%, rgba(255,255,255,0.12) 100%);
  transform: skewX(-20deg);
  animation: gratisSheen 2.8s linear infinite;
  pointer-events: none;
}

@keyframes gratisBgPulse {
  0%,100% { background: linear-gradient(90deg, #061a40 0%, #057de0 100%); }
}

@keyframes gratisSheen {
  0% { left: -75%; }
  80% { left: 110%; }
  100% { left: 110%; }
}


.opcional-info {
  display: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.425);
  border-radius: 6px;
  padding: 6px 10px;
  margin-left: 10px;
  font-size: 0.98em;
  transition: all 0.2s;
}
.opcional-info.visible {
  display: inline-block;
}
.info-btn {
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95em;
  padding: 2px 10px;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.info-btn:hover {
  background: #388e3c;
}




/* Responsive para la tarjeta "Próximamente" */
@media (max-width: 1024px) {
  #proximamente.card.proximamente {
    width: 90vw;
    max-width: 340px;
    min-height: 120px;
    margin: 6vw auto 0 auto;
    padding: 6vw 4vw;
    color: #fff;
    border-radius: 2vw;
    box-shadow: 0 2vw 4vw rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Inter', Arial, sans-serif;
    gap: 2vw;
    font-size: 1.1em;
  }
  #proximamente.card.proximamente h2 {
    font-size: 1.5em;
    margin-bottom: 2vw;
    color: #ff416c;
    letter-spacing: 1px;
  }
  #proximamente.card.proximamente ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }
  #proximamente.card.proximamente li {
    font-size: 1em;
    color: #fff;
    opacity: 0.85;
    margin-bottom: 1vw;
    letter-spacing: 0.5px;
  }

  #proximamente.card.proximamente:hover {
  transform: translateY(-16px) scale(1.03);
  box-shadow: 0 0 15px white;
}
}

/* Botón Ver ejemplo */
.preview-btn {
  background: crimson;
  border: none;
  padding: 0.75rem 0.5rem;
  font-size: 100%;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
.preview-btn:active {
  transform: scale(0.96) translateY(10px);
  box-shadow: 0 1px 4px rgb(0, 0, 0) inset;
}

.preview-btn:hover {
  background: #b3002d82;
}

.preview-link {
  display: inline-block; /* Hace que el botón sea un bloque en línea */
  margin-top: 10px; /* Espaciado superior */
  padding: 10px 20px; /* Espaciado interno (arriba/abajo, izquierda/derecha) */
  background: #ce0c0c; /* Color de fondo */
  color: #fff; /* Color del texto */
  text-decoration: none; /* Sin subrayado */
  border-radius: 6px; /* Bordes redondeados */
  font-size: 1rem; /* Tamaño del texto */
  font-weight: bold; /* Texto en negrita */
  transition: background 0.3s ease, transform 0.2s ease; /* Transiciones suaves */
}

.preview-link:hover {
  color: rgb(68, 220, 13); /* Cambia el color del texto a un tono oscuro */
  background: #000000; /* Oscurece el fondo al pasar el ratón */
  transform: scale(1.05); /* Aumenta ligeramente el tamaño del botón */
  transition: background 0.3s ease, transform 0.2s ease; /* Transiciones suaves */
}

/* ========================================================================= */
/* =============================== MODAL ================================== */
/* ========================================================================= */

.preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.preview-modal.active {
  display: flex;
}

/* Contenido del modal */
.preview-content {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  color: #fff;
}

/* Cerrar modal */
.close-preview {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

#preview-simple p {
  font-size: 1rem;               /* Tamaño base legible */
  color: #ffffff;                 /* Color de texto */
  margin-top: 12px;              /* Espacio entre el video y el texto */
  line-height: 1.5;              /* Mejora la legibilidad */
  text-align: center;            /* Centrado debajo del video */
  padding: 0 10px;               /* Pequeño padding lateral para pantallas pequeñas */
}



/* Ejemplos ocultos inicialmente */
.preview-example {
  display: none;
}
.preview-example.active {
  display: block;
}
.preview-example h2 {
  margin-bottom: 1rem;
  color: crimson;
}
.preview-example p {
  margin-top: 1rem;
}

/* ========================================================================= */
/* ============================= QUIENES SOMOS ============================= */
/* ========================================================================= */

.quienes {
  padding: 4rem 2rem;
  text-align: center;
  color: #f5f5f5;
  background: none;
  margin-top: 100px;
  margin-bottom: 100px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.quienes h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #ff416c 0%, #ff4b2b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: text-shadow 0.4s;
}

.quienes h2:hover {
  text-shadow: 0 0 16px crimson, 0 0 4px #fff;
}

.quienes p {
  font-size: 1.18rem;
  color: #ccc;
  margin-bottom: 1.2rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  /* Animación de aparición */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(-100);
  }
}

.quienes strong {
  color: #ff416c;
  font-weight: 700;
  /* Animación de color entre crimson y blanco */
  animation: colorSwap 2s ease-in-out infinite alternate;
  transition: color 0.4s;
}

@keyframes colorSwap {
  0%   { color: #ff416c; }
  55% { color: #038af8; }
  100% { color: #fff; }
}


/* ========================================================================= */
/* ============================== Contacto ============================== */
/* ========================================================================= */
.contacto h2 {
  font-size: 2.2rem;
  color: #ff416c;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  background: linear-gradient(90deg, #ff416c 0%, #ff4b2b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========================================================================= */
/* ============================== FORMULARIO ============================== */
/* ========================================================================= */

/* ============================== FORMULARIO DE CONTACTO ============================== */

.contacto {
  text-align: center;
  margin-top: 70px;
  margin-bottom: 30px;
}

.contacto h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #ff416c 0%, #ff4b2b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: text-shadow 0.4s;
}

.contacto h2:hover {
  text-shadow: 0 0 16px #ff416c88, 0 0 4px #fff;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto 30px auto;
  background-color: #111;
  padding: 32px 18px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,65,108,0.08);
  max-width: 480px;
  font-size: 1.08rem;
}

#contact-form input,
#contact-form textarea,
#contact-form button {
  padding: 12px;
  border-radius: 5px;
  border: none;
  font-size: 1.08rem;
  background-color: #222;
  color: #fff;
  transition: background 0.2s, box-shadow 0.2s;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: 2px solid #ff416c;
  background-color: #181818;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #888;
}

#contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

#contact-form button {
  background: linear-gradient(90deg, #ff416c 0%, #ff4b2b 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  margin-top: 10px;
  box-shadow: 0 2px 16px #ff416c44;
  transition: background 0.3s, transform 0.2s;
}

#contact-form button:hover {
  background: linear-gradient(90deg, #ff4b2b 0%, #ff416c 100%);
  transform: scale(1.04);
}

.g-recaptcha {
  margin: 0 auto 8px auto;
  display: flex;
  justify-content: center;
}

#captcha-error {
  color: #ff416c;
  text-align: center;
  display: none;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* WhatsApp button next to the contact form */
.contact-extra {
  display: flex;
  align-items: center;
  margin: 12px 0 0 0;
  gap: 0.5em;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1.08em;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px #25d36633;
}
.whatsapp-btn:hover {
  background: #128c7e;  
  color: #fff;
}
.whatsapp-btn .fa-whatsapp {
  font-size: 1.3em;
}

/* Quitar flechas de input type="number" */
#contact-form input[type="number"]::-webkit-outer-spin-button,
#contact-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#contact-form input[type="number"] {
  -moz-appearance: textfield;
}


/* ========================================================================= */
/* ============================== COOKIES ============================== */
/* ========================================================================= */

/* Banner de cookies */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 30, 30, 0.97);
  color: #fff;
  padding: 18px 16px 14px 16px;
  z-index: 9999;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 16px #0005;
  gap: 10px;
  transition: opacity 0.4s ease;
}

.cookie-banner p {
  margin: 0;
  text-align: center;
}

/* Oculto por defecto */
.cookie-banner.hidden {
  display: none;
}

/* Agrupa los botones en fila */
.cookie-btn-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
}

/* Botones base */
.cookie-btn {
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  padding: 8px 24px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 6px;
  transition: background 0.2s;
}

/* Botón Aceptar */
#accept-cookies {
  background: #4caf50;
}
#accept-cookies:hover {
  background: #388e3c;
}

/* Botón Rechazar */
#reject-cookies {
  background: #d70c0cc1;
}
#reject-cookies:hover {
  background: #d70c0c97;
}

/* Ocultación con animación (opcional si lo usas con JS) */
.cookie-banner.oculto {
  opacity: 0;
  pointer-events: none;
}



/* ========================================================================= */
/* ============================== FOOTER ============================== */
/* ========================================================================= */

.main-footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 2.5rem 1rem 2rem 1rem;
  font-size: 1.08rem;
  margin-top: 60px;
  border-top: 3px solid #ff416c;
  letter-spacing: 0.5px;
  box-shadow: 0 -2px 16px rgba(220,20,60,0.10);
  font-family: 'Inter', sans-serif;
}

.main-footer p {
  margin: 0.5em 0;
  opacity: 0.85;
  transition: color 0.2s;
}

.main-footer p:last-child {
  font-size: 1rem;
  color: #ff416c;
  opacity: 1;
  font-weight: 700;
  letter-spacing: 1px;
}

.main-footer p:hover {
  color: #ff4b2b;
  text-decoration: none;
}