    @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');




    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #f0f0f0;
      height: 100vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      font-family: "Roboto", sans-serif;
   
    }
    
    body.no-scroll {
      overflow: hidden;
    }

    .logo-wrapper {
        position: absolute;
        top: 30px;
        right: 30px;
        width: 200px;
        height: auto;
    }

    .logo {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    z-index: 9999;
    transition: opacity 0.4s ease;
    }

    .logo.visible {
        opacity: 1;
    }

    h1 {
      margin: 0;
      font-size: 20px;
    }













.form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000 !important;
  animation: fadeIn 0.4s ease-out forwards;
  overflow: visible !important;
}

.form-overlay.hidden {
  display: none;
}

.form-container {
  background: #f3f3f3;
  padding: 40px 30px;
  border-radius: 20px;
  max-width: 420px;
  width: 90%;
  animation: slideUp 0.5s ease-out;
  position: relative;
  text-align: center;
  font-family: 'Roboto', sans-serif;
}

.form-container h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.form-container p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.form-container input {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  height:45px;
  border: 1px solid #ddd;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
  text-align: left;
  line-height: 1.4;
}


.checkbox input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: black;
}

.send-button {
  background: black;
  color: white;
  padding: 14px;
  width: 100%;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.send-button:hover {
  background: #222;
}

.close-form {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


.send-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.btn-loader.hidden {
  display: none;
}











.overlay-exito {
  position: fixed;
  inset: 0;
  background: #DC9131;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  animation: fadeIn 0.5s ease forwards;
  flex-direction: column;
}

.overlay-exito.hidden {
  display: none;
}

.mensaje-exito {
  color: white;
  text-align: center;
  animation: scaleUp 0.5s ease-out;
  font-family: 'Roboto', sans-serif;
}

.mensaje-exito h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.mensaje-exito p {
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto;
}





@keyframes scaleUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}




.form-error {
  background-color: #ffe6e6;
  color: #b10000;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 15px;
  text-align: center;
  animation: fadeError 0.3s ease;
}

@keyframes fadeError {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-error.hidden {
  display: none;
}


.continue_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* o gris claro si lo prefieres */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease-out;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #DC9131;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#preloader.oculto {
  opacity: 0;
  pointer-events: none;
}





.success-content h2 {
  font-size: 28px;
  font-weight: bold;
  margin-top: 20px;
}

.success-content p {
  font-size: 18px;
  margin-top: 10px;
}

.carta-animada {
  font-size: 150px;
  animation: flotar 2.5s ease-in-out infinite;
}

@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  
}
  
  

.iti {
  width: 100%;
  position: relative;
}


.iti--container {
  z-index: 99999999999999999999 !important;
  position: fixed !important;
}


.iti-mobile .iti--container {
    position: fixed;
    z-index: 99999999999999999999 !important;
}

.iti input {
  width: 100% !important;
  height: 48px;
  padding-left: 70px !important;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background-color: #fff;
  color: #000;
  box-sizing: border-box;
  outline: none;
  margin-bottom:20px !important;
  padding-left: 100px !important;
}


.iti__flag-container {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-right: 1px solid #ccc;
  background-color: #fff;
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95px !important;
}


.iti__selected-flag {
  padding: 0 12px;
  height: 100%;
  width: 100%;
}


.floating-modal {
  position: fixed;
  bottom: 90px;
  left: 30px;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.floating-modal.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.floating-modal.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-content {
  background: white;
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  width: 320px; /* ancho máximo en escritorio */
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
  font-size: 15px;
  box-sizing: border-box;
}


.color-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 0px;
}

.color-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: red; /* prueba visual */
  margin: 5px;
  cursor: pointer;
  display: inline-block;
  border: 2px solid white;
}

.color-btn:hover {
  transform: scale(1.1);
}

.close {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-size: 18px;
}



/* CONTADOR DE PISTAS */

.field-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
}

.field-group label {
  font-weight: bold;
  font-size: 15px;
}

.quantity-selector {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  width: fit-content;
  font-size: 16px;
  font-weight: bold;
  background-color: white;
}

.quantity-selector button {
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-selector .btn-decrease {
  border-right: 1px solid #ccc;
}

.quantity-selector .btn-increase {
  border-left: 1px solid #ccc;
}

.quantity-selector .quantity-value {
  width: 50px;
  text-align: center;
  line-height: 50px;
}


/* GRUPO DE RADIOS HORIZONTAL */
.radios-row {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}


.radio-label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.radio-options {
  display: flex;
  gap: 20px;
  align-items: center;
}

.radio-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
}

.radio-options input[type="radio"] {
  transform: scale(1.2); /* Tamaño más grande opcional */
  accent-color: #000;
  vertical-align: middle;
  margin-bottom:3px !important;
}

.floating-content input[type="radio"] {
  transform: scale(1.2); /* Tamaño más grande opcional */
  accent-color: #000;
  vertical-align: middle;
  margin-bottom:6px !important;
}

.floating-content label {

  margin-bottom:20px !important;
}

/* Estilos móviles */
@media screen and (max-width: 480px) {
    
  .floating-modal{
      bottom:190px !important;
  }
  .floating-content{
    width: calc(100vw - 60px);
  }
    
  .radio-options input[type="radio"],
  .form-overlay input[type="radio"] {
    transform: scale(.5); /* Vuelve al tamaño normal */
    margin-bottom: 2px !important;

  }

  .radio-options label{
    gap: 0px;
  }
  
  .form-container {
    background: #f3f3f3;
    padding: 40px 30px;
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    animation: slideUp 0.5s ease-out;
    position: fixed;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    overflow-y: auto;
    top: 0;
    height: 100vh;
    
   }

  .send-button { margin-bottom:100px; }
  
  .radios-row {
    gap: 0px;
    margin-bottom: 10px;
  }
  
  .checkbox {
    font-size: 14px;
}
  
}










.overlay-exito {
  position: fixed;
  inset: 0;
  background: #DC9131;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  animation: fadeIn 0.5s ease forwards;
  flex-direction: column;
}

.overlay-exito.hidden {
  display: none;
}

.mensaje-exito {
  color: white;
  text-align: center;
  animation: scaleUp 0.5s ease-out;
  font-family: 'Roboto', sans-serif;
}

.mensaje-exito h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.mensaje-exito p {
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto;
}





@keyframes scaleUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}




.form-error {
  background-color: #ffe6e6;
  color: #b10000;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 15px;
  text-align: center;
  animation: fadeError 0.3s ease;
}

@keyframes fadeError {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-error.hidden {
  display: none;
}


.continue_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* o gris claro si lo prefieres */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease-out;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #DC9131;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#preloader.oculto {
  opacity: 0;
  pointer-events: none;
}





.success-content h2 {
  font-size: 28px;
  font-weight: bold;
  margin-top: 20px;
}

.success-content p {
  font-size: 18px;
  margin-top: 10px;
}

.carta-animada {
  font-size: 150px;
  animation: flotar 2.5s ease-in-out infinite;
}

@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  
}
  
  













    .step-info {
      position: absolute;
      top: 30px;
      left: 30px;
    }

    .centered {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .options {
      display: flex;
      gap: 40px;
    }

    .option {
      background: white;
      padding: 15px;
      border-radius: 15px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      cursor: pointer;
      text-align: center;
      width: 150px;
      transition: transform 0.2s;
      width: 320px;
    }

    .option:hover {
      transform: scale(1.05);
    }

    .option img {
      width: 100%;
      border-radius: 10px;
      margin-bottom: 10px;
    }

    .slide-panel {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: #dd8929;
      z-index: 999;
      padding: 40px;
      box-sizing: border-box;
    
      opacity: 0;
      transform: scale(0.95);
      pointer-events: none;
      transition: opacity 0.4s ease, transform 0.4s ease;
    }
    
    .slide-panel.visible {
      opacity: 1;
      transform: scale(1);
      pointer-events: auto;
    }


    .slide-panel h2 {
      margin-top: 0px;
    }


    .info-pista {
      text-align: left; /* centra texto e imagen internamente */
      max-width: 50%;
      padding: 20px;
    }


    .btn-black {
        display: block;
      background: #000;
      color: #fff;
      border: none;
      padding: 12px 24px;
      margin-top: 30px;
      cursor: pointer;
      transition: 0.3s ease;
      line-height: 0px;
      font-weight: normal;
    }

    .border-10{
        border-radius: 10px;
    }
    
    .border-100{
        border-radius: 100px;
    }

    .btn-black:hover{
        background-color: #fff;
        color:#000;
    }

    .bt-s{
        padding:8px 18px 8px 18px ;
    }

    .bt-m{
        padding:15px 25px 15px 25px ;
    }

    .bt-xl{
        padding:20px 30px 20px 30px ;
    }

    .bt-xxl{
        padding:28px 38px 28px 38px ;
    }



    .btn-empty{
        background-color: transparent;
        line-height: 0px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-empty:hover{
        background-color: white;
        color:black;
    }

    .bc-white{
        border: solid 2px white;
    }
    
    .tc-white{ color: white; }

    .mb-30{ margin-bottom:30px; }


    .back {
      cursor: pointer;
      color: white;
      font-size: 14px;
      margin-bottom: 30px;
      display: inline-block;
    }


.flag.active {
  outline: 2px solid white;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0,0,0,0.4);
}



    @keyframes slideUpFadeIn {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .modelo-card {
        opacity: 0;
        animation: slideUpFadeIn 0.6s ease forwards;
    }

    /* Delays para efecto en cadena */
    .modelo-card:nth-child(1) {
    animation-delay: 0.1s;
    }
    .modelo-card:nth-child(2) {
    animation-delay: 0.3s;
    }
    .modelo-card:nth-child(3) {
    animation-delay: 0.5s;
    }

    .detalle-pista {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        height: 100vh;
        background: #df8720;
        transition: right 0.5s ease;
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .detalle-pista.activa {
        right: 0;
    }

    .detalle-contenido {
        max-width: 600px;
        color: #000;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .center-center{
        display:flex;
        align-items:center;
        justify-content: center;
        height: 100vh; 
    }


    .flags-wrapper {
      position: absolute;
      bottom: 20px;
      right: 20px;
      display: flex;
      gap: 10px;
    }

    .flag {
      width: 36px;
      height: 36px;
      cursor: pointer;
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 0.5s ease forwards;
    }

    .flag:nth-child(1) {
      animation-delay: 0.7s;
    }
    .flag:nth-child(2) {
      animation-delay: 0.8s;
    }

    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }


.galeria-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 640px;
  box-sizing: border-box;
  padding: 20px;
}

.imagen-principal {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Mantiene el contenedor cuadrado */
  border-radius: 10px;
  overflow: hidden;
  cursor:pointer;
  background-color: #fff;
}

.imagen-principal img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* o cover si prefieres recorte */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.icono-expandir {
    position: absolute;
    top: 10px;
    width: 20px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 6px;
    border-radius: 100%;
    text-align: center;
}
.miniaturas {
  display: flex;
  gap: 10px;
}
.miniaturas img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s;
}
.miniaturas img:hover {
  border-color: #df8720;
}
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999999; /* Asegúrate que esté por encima de los paneles */
}

.lightbox.visible {
  display: flex;
  animation: lightboxIn 0.3s ease forwards;
}

.lightbox.cerrando {
  animation: lightboxOut 0.25s ease forwards;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
}



/* Animación al mostrar */
@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animación al ocultar */
@keyframes lightboxOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

.lightbox {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
}

.lightbox.visible {
  display: flex;
  animation: lightboxIn 0.3s ease forwards;
}

.lightbox.cerrando {
  animation: lightboxOut 0.25s ease forwards;
}


.custom-alert {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: white;
  border: 1px solid #ddd;
  border-left: 4px solid #ffa500;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  max-width: 300px;
  z-index: 99;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease-out forwards;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive para móviles */
@media (max-width: 576px) {
  .custom-alert {
    left: 10px;
    right: 10px;
    max-width: unset;
    font-size: 13px;
    padding: 12px 15px;
    bottom: 70px;
  }
}



@media (max-width: 480px) {

    .info-pista{
        max-width:100% !important;
    }

  .slide-panel {
    top: -100%;
    background: #dd8929;
    padding:0px !important;
  }

  .slide-panel.visible {
    top: 0;
  }


  .center-center {
    height: auto;
    padding: 20px;
  }

  .galeria-wrapper {
    max-width: 100%;
  }

  body {
    overflow: hidden; /* evita scroll detrás de los paneles */
  }

  .options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
  }

  .option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 12px;
    width: 90% !important;
    max-width: 500px;
  }

  .option img {
    width: 100px;
    height: auto;
    flex-shrink: 0;
    margin-bottom: 0 !important;
  }

  .option strong {
    text-align: left;
    font-size: 16px;
    line-height: 1.3;
  }
  
  
  .logo-wrapper {
    width: 140px !important;
  }

.btn-black {
  position: fixed;
  bottom: 130px;
  left: 20px;
  right: 20px;
  width: auto;
  padding: 16px;
  padding-top:20px;
  padding-bottom:20px;
  margin-left:10px;
  margin-right:10px;
  font-size: 16px;
  background: black;
  color: white;
  text-align: center;
  border-radius: 999px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

}


@media (min-width: 481px) and (max-width: 940px) {
  .slide-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* usa viewport completo */
    overflow-y: auto; /* ✅ permite scroll interno */
    background: #dd8929;
    z-index: 999;
    box-sizing: border-box;
    padding: 20px;
    
    /* Animación fade + zoom */
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

    .info-pista{
        max-width:100% !important;
    }

  .slide-panel {
    top: -100%;
    background: #dd8929;
  }

  .slide-panel img{
    mix-blend-mode: multiply !important;
  }

  .slide-panel.visible {
    top: 0;
  }


  .center-center {
    height: auto;
    padding: 20px;
  }

  .galeria-wrapper {
    max-width: 100%;
  }

  body {
    overflow: hidden; /* evita scroll detrás de los paneles */
  }

.options {
  display: flex;
  gap: 40px;
}

.option{
    margin-top:20px;
    width:115px !important;
}

    .logo {
    right: 0 !important;
    width: 70%;
    }

}





@media (min-width: 1024px) {


  .slide-panel.visible {
    right: 0;
  }

  .slide-panel h2 {
    margin-top: 0px;
  }

  .center-center {
    height: auto;
    padding: 20px;
  }

  .info-pista {
    text-align: left;
    max-width: 50%;
  }

  .options {
    gap: 40px;
  }

  .option {
    margin-top: 20px;
    width: 115px !important;
  }

}

/* ESCRITORIO >= 1024px */
@media (min-width: 1024px) {
  .options {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px;
  }

  .option {
    width: 250px !important;
    max-width: 100%;
    margin: 20px 0;
  }

  .center-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 0px;
  }

  .info-pista {
    max-width: 50%;
    margin: auto;
    padding: 20px;
    text-align: left;
  }

  .slide-panel {
    padding: 0px;
  }

  .logo-wrapper {
    width: 220px;
  }
  
  .options {
      display: flex;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }
  
}