body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: url('assets/img/fondo.jpg') no-repeat center bottom fixed;
  background-size: cover;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  text-align: center;
  overflow: hidden;
}
.header-img {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  display: block;
  margin: 0 auto;
}
.header-huicha-wrapper {
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.header-huicha {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  display: block;
  margin: 0 auto;
}

.para-empezar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 10px;
  text-align: center;
}
.para-empezar-img {
  width: 100%;
  max-width: 950px;
  margin: 40px 0;
}
.opciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 32px;
}
.elige-guayabera, .elige-hamaca, .elige-palmera {
  background: rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px 10px 10px 10px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
}
.elige-guayabera img:first-child,
.elige-hamaca img:first-child,
.elige-palmera img:first-child {
  width: 90%;
  max-width: 220px;
  margin-bottom: 10px;
}
.guayaberas, .hamacas, .palmeras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin: 0 auto;
  max-width: 800px;
  padding: 0 20px;
}
.guayabera, .hamaca, .palmera {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #fff;
  cursor: pointer;
  transition: border 0.2s, transform 0.2s;
}
.guayabera.selected, .hamaca.selected, .palmera.selected {
  border: 3px solid #ffe600;
  box-shadow: 0 0 12px #ffe60099;
  transform: scale(1.08);
}

.elige-section {
  width: 95vw;
  max-width: 1400px;
  margin: 0 auto 48px auto;
  text-align: center;
  position: relative;
}
.elige-titulo {
  width: 100%;
  max-width: 600px;
  margin-bottom: 28px;
}
.guayaberas, .hamacas, .palmeras {
  justify-content: center;
  gap: 48px;
  margin-bottom: 0;
}
.guayabera, .hamaca, .palmera {
  width: 420px;
  height: 420px;
  font-size: 1.1rem;
}

/* Formulario y tucán al costado */
.formulario-tucan-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100vw;
  max-width: 1200px;
  margin: 100px auto 0 auto;
  position: relative;
  min-height: 700px;
  flex: 1;
}
.tucan-form {
  width: 700px;
  max-width: 700px;
  height: auto;
  margin-right: -40px;
  z-index: 2;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-bottom: 0;
  pointer-events: none;
}
.formulario-section {
  width: 100%;
  max-width: 600px;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-left: auto;
}
.formulario-ticket {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.titulo-form {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  max-width: 90%;
  z-index: 4;
  pointer-events: none;
}
.titulo-campos {
  position: absolute;
  top: 145px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  max-width: 80%;
  z-index: 5;
  pointer-events: none;
}
.formulario-bg {
  width: 100%;
  max-width: 520px;
  min-height: 520px;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.formulario {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.formulario-campos {
  width: 88%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: none;
  padding: 160px 0 18px 0;
  justify-content: flex-start;
  position: relative;
  z-index: 6;
}
.formulario label {
  color: #009e3c;
  font-style: italic;
  font-weight: 800;
  text-align: left;
  margin-bottom: 2px;
  font-size: 1.05rem;
  letter-spacing: 0.1px;
  margin-top: 0;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.formulario input {
  padding: 8px 8px;
  border-radius: 6px;
  border: 1.2px solid #009e3c;
  font-size: 1.05rem;
  margin-bottom: 0;
  background: #fff;
  color: #009e3c;
  box-shadow: 0 1px 2px #0001;
  width: 100%;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.formulario input:focus {
  border: 2px solid #007a2a;
  box-shadow: 0 0 0 2px #ffe60033;
}
.check-in {
  background: #009e3c;
  color: #fff;
  font-style: italic;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  padding: 10px 0;
  font-size: 1.08rem;
  margin-top: 10px;
  margin-bottom: 0;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px #009e3c22;
  width: 48%;
  max-width: 160px;
  align-self: center;
  letter-spacing: 0.5px;
  text-align: center;
  display: block;
}
.check-in:hover {
  background: #007a2a;
  box-shadow: 0 4px 16px #007a2a33;
}
.check-in:active {
  transform: scale(0.97);
}
.formulario-exito {
  width: 100%;
  max-width: 350px;
  margin: 180px auto 0 auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.tucan-footer-wrapper {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: none;
  margin: 0;
  padding: 0;
}
.tucan-footer {
  width: 120px;
  max-width: 30vw;
  margin: 0;
  display: block;
}
.footer {
  width: 100vw;
  text-align: center;
  margin-top: 0;
  background: rgb(0, 158, 60);
  padding: 16px 0 10px 0;
  min-height: 0;
  margin-top:94px
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 0;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}
.footer-links a:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 900px) {
  .opciones {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .elige-guayabera, .elige-hamaca, .elige-palmera {
    max-width: 95vw;
  }
  .guayaberas, .hamacas, .palmeras {
    gap: 24px;
    padding: 0 10px;
  }
}
@media (max-width: 600px) {
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
    padding: 0;
  }
  .header, .header-huicha-wrapper, .para-empezar, .elige-section, .formulario-tucan-flex, .formulario-section, .formulario-ticket, .formulario-bg, .footer {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    margin-top: 60px;
  }
  .header-img, .header-huicha, .para-empezar-img, .formulario-ticket, .formulario-bg, .formulario-exito, .tucan-footer {
    width: 100% !important;
    max-width: 100vw !important;
  }
  .formulario-ticket, .formulario-bg {
    max-width: 96vw;
    min-height: 0;
  }
  .formulario-campos {
    width: 92vw;
    padding-top: 140px;
    gap: 0;
    padding-bottom: 8px;
  }
  .titulo-form {
    width: 90vw;
    top: 0px;
  }
  .titulo-campos {
    width: 60vw;
    top: 165px;
  }
  .formulario label {
    font-size: 0.92rem;
  }
  .formulario input {
    font-size: 0.95rem;
    padding: 5px 0px;
  }
  .check-in {
    font-size: 0.98rem;
    padding: 8px 0;
    width: 80vw;
    max-width: 92vw;
    margin-top: 6px;
    border-radius: 8px;
  }
  .opciones {
    gap: 16px;
  }
  .guayaberas, .hamacas, .palmeras {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 5px;
    max-width: 400px;
  }
  .guayabera, .hamaca, .palmera {
    width: 120px;
    height: 120px;
    max-width: 120px;
    border-width: 2px;
  }
  .formulario-tucan-flex {
    flex-direction: column-reverse;
    align-items: center;
    gap: 0;
    width: 100vw;
    max-width: 100vw;
    min-height: auto;
    margin: 0;
    padding: 0;
  }
  .tucan-form {
    position: relative;
    width: 200px;
    max-width: 60vw;
    margin: -40px auto -20px auto;
    left: auto;
    top: auto;
    transform: none;
    display: block !important;
  }
  .mensaje-exito {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 20px 0;
  }
  .mensaje-exito img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  .footer-links a {
    font-size: 0.85rem;
  }
  .tucan-footer {
    width: 80px;
    max-width: 40vw;
  }
}
@media (max-width: 700px) {
  .elige-section {
    max-width: 98vw;
  }
}
@media (max-width: 1100px) {
  .elige-section {
    max-width: 99vw;
  }
  .guayabera, .hamaca, .palmera {
    width: 140px;
    height: 140px;
  }
  .tucan-form {
    width: 240px;
    max-width: 38vw;
    margin-right: -10px;
    bottom: -60px;
  }
}
@media (max-width: 800px) {
  .formulario-tucan-flex {
    flex-direction: column-reverse;
    align-items: center;
    margin: 40px auto 0 auto;
    min-height: auto;
    padding: 0 20px 0 20px;
  }
  .tucan-form {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: -20px auto 0 auto;
    left: auto;
    top: auto;
    transform: none;
  }
  .formulario-section {
    margin: -60px auto 0 auto;
    padding: 0;
  }
  .tucan-footer {
    width: 120px;
    max-width: 40vw;
  }
  .formulario-ticket, .formulario-bg {
    max-width: 98vw;
    min-height: 340px;
    margin-top: 50px;
    margin-bottom: 0;
  }
  .formulario-campos {
    width: 96%;
    padding: 30px 20px;
    gap: 2px;
    margin: 185px 0 0 0;
  }
  .check-in {
    font-size: 1.1rem;
    padding: 11px 0;
    bottom: 12px;
    max-width: 98vw;
    margin-bottom: 0;
  }
}
@media (max-width: 1400px) {
  .elige-section {
    max-width: 99vw;
    padding: 10px;
  }
  .guayabera, .hamaca, .palmera {
    width: 140px;
    height: 140px;
  }
}

.modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.3s;
}
@keyframes modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-contenido {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px #0003;
  padding: 32px 24px 24px 24px;
  position: relative;
  min-width: 220px;
  max-width: 95vw;
  animation: modal-scalein 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@keyframes modal-scalein {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-cerrar {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2rem;
  color: #009e3c;
  cursor: pointer;
  font-weight: bold;
  z-index: 2;
  transition: color 0.2s;
}
.modal-cerrar:hover {
  color: #e60026;
}
@media (max-width: 600px) {
  .modal-contenido {
    padding: 18px 6vw 18px 6vw;
    min-width: 0;
    max-width: 98vw;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s cubic-bezier(.23,1.01,.32,1) forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}
.guayabera.selected, .hamaca.selected, .palmera.selected {
  animation: popSelected 0.3s;
}
@keyframes popSelected {
  0% { transform: scale(1); }
  60% { transform: scale(1.12); }
  100% { transform: scale(1.08); }
}

@media (max-width: 400px) {
  .guayabera, .hamaca, .palmera {
    width: 100px;
    height: 100px;
    max-width: 100px;
  }
} 