:root {
  --negro:#1d1d1b;
  --amarillo: #ffdc00;
  --gris:#f5f5f5;
  --naranja: #d35917;
}

.cabecera-fondo {
  background-position: 0 -6rem;
}

@media (max-width: 767px) {
  .cabecera-principal {
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
  }

  .cabecera-fondo {
    height: 100%;
    background-size: cover;
    background-position: 50% 70%;
  }
}

body {
  background-color: var(--amarillo);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* COLORS */
.tx-negro{ color: var(--negro); }
.bg-negro{ background-color: var(--negro); }
.tx-black{ color: #000; }
.bg-black{ background-color: #000; }
.tx-amarillo{ color: var(--amarillo); }
.bg-amarillo{ background-color: var(--amarillo); }
.underline{ text-decoration: underline; }

/* FORMULARIO */
.inputs {
  background: white;
  font-size: smaller;
}

div.seccion {
  margin: auto;
  width: 50%;
  text-align: center;
}

form .error {
  border: 2px solid red !important;
}
form .error:not([type="checkbox"]) {
  background-color: white;
  color:red;
}
form .error::placeholder {
  color:red ;
}

#tiempo::before{
  content: "reloj";
}

form .participar{
  cursor: pointer;
  font-size: 1.5rem;
}

/** SECCION 1 PRE */
.inicio{
  max-width: 100vw;
  height: 100dvh;
  position: relative;
}
.bg-inicio{
  background-image: url(/main/assets/img/fondo-home-movil.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100%;
}
.inicio .first{ height: 75dvh; }
.inicio .last{ height: 25dvh; }

.coctelera{
  position: absolute;
  top: 25%;
  right: 0;
  width: 20dvw;
}
.coctelera-movil{
  position: absolute;
  top: 40%;
  right: 0;
  width: 30dvw;
}
.bodegon{
  position: absolute;
  top: 40%;
  right: 5%;
  width: 50%;
}
.bodegon-movil{
  position: absolute;
  bottom: 23%;
  right: 0;
  width: 100%;
  padding: 0 7%;
}
.participa a{
  text-decoration: none;
  color: white;
  font-size: 2rem;
  background-color: var(--azul-claro) ;
  padding: 0.5rem 3rem;
  border-radius: 50px;
}

/** SECCION 2 */
.texto-pasos{ line-height: 1.2rem; }
.parte-2 .row{
  width: 50dvw;
  margin:auto;
  text-align: center;
}
.coctel{
  color: var(--amarillo);
  font-size: 1.5rem;
}
.descripcion{ color: white; }

/** SECCION 3 */
.parte-3 .row .container{
  width: 90%;
  margin:auto;
  text-align: center;
}

.input_form{
  font-size: 1.1rem;
  text-align: left;
}

#parte-3 form #uploadfoto button{
  color: white;
  border: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 60px;
}

.boton-captura{
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/main/assets/img/cam.png);
}
.boton-ok{
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/main/assets/img/cam2.png);
}

#parte-3 form #uploadfoto button label{
  color: rgba(0,0,0,0);
  width: 100%;
  cursor: pointer;
}

div.form-check {
  font-size: .6rem;
  color: white;
  cursor: pointer;
}

div#parte-3 form div.form-check input {
  height: 15px;
  width: 15px;
  margin-top: 1px;
}

div#parte-3 form select {
  color: var(--naranja);
  height: 2rem;
  background-color: var(--amarillo);
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: bolder;
  appearance: none;
  background-image: url(/main/assets/img/flecha.png);
  background-size: 1.1rem;
  background-position: center right 1rem;
  background-repeat: no-repeat;

  border: solid 1px var(--naranja);
  border-radius: 2rem;
}
option{
  color:var(--negro);
  font-family: var(--font-body);
  font-size: 1.2rem;
}

.fechayhora {
  width: 100%;
  font-size: 0.9rem;
}

/* change color of calendar icon */
::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.decoration { display: none; }

/* FOOTER */
.footer a{
  text-decoration:none;
  color: var(--negro);
  line-height: 1rem;
}
.footer a:hover{
 text-decoration: underline solid var(--negro);
}
.footer-movil{ font-size: 0.8rem; }
.footer .subtexto .gotham-book{ font-size: 0.8rem; }

.bordes-laterales{
  margin-inline:3vw;
  border-inline: 5px solid black;
}
.bordes-finales{
  margin:0 3vw;
  border-inline: 5px solid black;
  border-bottom: 5px solid black;
}

/* VIDEO PPAL */
body{ position: relative; }
.video.flotante{
  width: 100dvw;
  height: 100dvh;
  background-color: rgba(0,0,0,.8);
  position:fixed;
  top: 0;
  left: 0;
}
.video svg{
  position: absolute;
  top:8%;
  right: 8%;
  width: 5%;
  stroke: var(--amarillo);
  cursor: pointer;
}
.video video{
  max-width: 300px;
  max-height: 640px;
  margin: auto;
}

@media screen and (min-width: 768px) {
  .bg-inicio{
    background-image: url(/main/assets/img/fondo-home.png);
    background-size: 100%;
  }
  .borde-pasos{
    border-inline: 2px solid var(--amarillo);
  }
  .parte-3 .row .container{
    width: 80dvw;
    margin:auto;
    text-align: center;
  }
  .inicio{ height: unset; }
  .inicio .first{ height: unset; }
  .parte-2 .row{ width: 100dvw; }
}

@media screen and (min-width: 992px) {
  .inicio{ min-width: 60vw; }
  .parte-2 .row{
    width: 75dvw;
    margin:auto;
    text-align: center;
  }
  div#parte3 form { width: 75dvw; }
  .bodegon{ top: 30%; }
}

@media screen and (min-width: 1200px) {
  div#parte3 #subetuticket { width: 60%; }

  .parte-3 .row .container{
    width: 60dvw;
    margin:auto;
    text-align: center;
  }
  .bodegon{
    top:25%;
    right: 15%;
    width: 40%;
  }

  .video svg{
    top:5%;
    right: 5%;
    width: 2%;
    stroke: var(--amarillo);
    cursor: pointer;
  }
  .video video{
    max-width: 360px;
    margin: auto;
  }
}

@media screen and (min-width:1367px){
  .inicio{ height: 100dvh; }
  .inicio .first{ height: 75dvh; }
  .bodegon {
    top: 34%;
    right: 8%;
    width: 45%;
  }
  .parte-3 .row .container{ width: 40dvw; }
}

@media screen and (min-width: 1400px) {
  div#parte3 #subetuticket { width: 60%; }

  .main_title { font-size: xx-large; }

  .input_form{ font-size: 1.3rem; }
  div.form-check { font-size: 1rem; }

  div#parte3 form input {
    border: 1px solid white;
    height: 2.2rem;
    border-radius: 1px;
  }
}

@media screen and (min-width: 1860px) {
  div#parte3 #subetuticket { width: 50%; }
  .bodegon {
    top: 25%;
    right: 10%;
    width: 45%;
  }
}

/* Evita “raya” por overflow horizontal */
html, body { overflow-x: hidden; }

/* Asegura que hidden realmente no pinte nada en el modal */
#infomodal.hidden { display: none !important; }

/* Formulario de participación */
.participation-section {
  padding: 20px 24px 80px;
  background: var(--amarillo);
  color: #000;
}
#parte-3 .participation-form {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  font-family: var(--font-body);
  text-align: left;
}
.participation-field {
  margin-bottom: 20px;
}
.participation-field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-body);
  font-size: 14px;
}
#parte-3 .participation-field input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 2px;
  background: #fff;
  color: #000;
  font-size: 16px;
}
.participation-field input::placeholder {
  color: #757575;
}
.ticket-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 40px 0 44px;
  padding: 24px 16px 20px;
  border-radius: 6px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  border: 2px solid #fff;
}
.ticket-upload:hover{
  background: #ffdc00;
  border: 2px solid #ef7c28;
}
.ticket-upload-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3.8vw, 27px);
  line-height: 1.15;
}
.ticket-upload .boton-captura {
  display: block;
  width: 46px;
  height: 46px;
}
.ticket-upload .boton-captura:not(.boton-ok) {
  background-image: url(/main/assets/img/camera-svgrepo-com.svg);
}
.ticket-upload-hint {
  font-family: var(--font-body);
  font-size: 13px;
}
.ticket-file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.participation-consents {
  display: grid;
  gap: 10px;
}
.participation-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.participation-consent input {
  appearance: none;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.participation-consent input:checked {
  background: #ef7c28;
  box-shadow: inset 0 0 0 6px #fff;
}
.participation-consent label {
  padding-top: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}
.participation-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.participation-actions {
  margin-top: 48px;
  text-align: center;
}
.participation-submit {
  padding: 6px 28px;
  border: 0;
  border-radius: 999px;
  background: #000;
  color: var(--amarillo);
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.15;
  cursor: pointer;
}
.participation-submit:hover {
  background: #292929;
}
.participation-help {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.participation-help a {
  color: inherit;
  text-decoration: underline;
}
.participation-form input:focus-visible, .participation-submit:focus-visible, .ticket-upload:focus-within {
  outline: 2px solid #000;
  outline-offset: 4px;
}

/* Logo flotante adaptable al tamaño de la pantalla. */
.promotion-footer {
  position: relative;
  padding-inline: calc(clamp(90px, 14vw, 250px) + 24px);
  overflow: visible;
}
.promotion-floating-logo {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: clamp(240px, 14vw, 250px);
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}
@media (max-width: 767px) {
  .promotion-footer {
    padding-inline: 0;
    padding-bottom: 0;
  }
  .promotion-floating-logo {
    position: static;
    display: block;
    margin: 16px auto 0;
    object-position: center bottom;
  }
  .promotion-footer p {
    padding: 12px 24px;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
}
