:root{
  --green:#059669;
  --orange:#ea580c;
  --dark:#0f172a;
  --light:#f9fafb;
  --max-width:1200px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
  font-family:-apple-system,BlinkMacSystemFont,"Inter","Segoe UI",sans-serif;
  color:var(--dark);
  background:var(--light);
  scroll-behavior:smooth;
}


html {
  font-size: 100%;   /* Reduce todo un 10% */
}

body{
  line-height:1.6;
}

/* Language splash (si algún día lo volvés a usar) */
.splash{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  color:#fff;
}

.splash::before{
  content:"";
  position:absolute;
  inset:0;
  background:url('assets/img/plane-side-lowpass.jpg') center/cover no-repeat;
  transform:scale(1.05);
  filter:brightness(0.65);
  z-index:-2;
}

.splash::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at top, rgba(148,163,184,.4),transparent 60%);
  z-index:-1;
}

.splash-inner{
  text-align:center;
  padding:2rem;
  backdrop-filter:blur(8px);
  background:rgba(15,23,42,.55);
  border-radius:1.5rem;
  max-width:540px;
  box-shadow:0 25px 50px -12px rgba(15,23,42,.7);
}

.splash-logo{
  font-size:1.2rem;
  letter-spacing:.25em;
  text-transform:uppercase;
  font-weight:600;
  margin-bottom:.75rem;
  color:var(--orange);
}

.splash-title{
  font-size:2.4rem;
  font-weight:800;
  margin:0 0 .5rem;
}

.splash-sub{
  margin-bottom:1.75rem;
  font-size:.98rem;
  color:#e5e7eb;
}

.splash-buttons{
  display:flex;
  gap:1rem;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.85rem 1.8rem;
  border-radius:999px;
  border:none;
  cursor:pointer;
  font-weight:600;
  font-size:.96rem;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}

.btn-primary{
  background:linear-gradient(135deg,var(--green),#16a34a);
  color:#ecfeff;
  box-shadow:0 20px 35px -18px rgba(22,163,74,.9);
}

.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 25px 45px -18px rgba(22,163,74,.95);
}

.btn-outline{
  background:transparent;
  color:#e5e7eb;
  border:1px solid rgba(226,232,240,.7);
}

.btn-outline:hover{
  background:#e5e7eb;
  color:var(--dark);
}

/* Main layout */
.site{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* NAV estilo Valdez */
.navbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:40;
  background:#000;
  color:#fff;
}

.nav-inner{
  max-width:var(--max-width);
  margin:0 auto;
  padding:.6rem 1.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
}

.nav-logo{
  display:inline-flex;
  align-items:center;
  gap:.75rem;
  text-decoration:none;
  color:#fff;
}

.nav-logo img{
  height:42px;
  width:auto;
}

.nav-logo-text{
  font-size:.8rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:700;
}

.nav-links{
  display:flex;
  gap:1.5rem;
  font-size:.8rem;
}

.nav-links a{
  text-decoration:none;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:500;
}

.nav-links a:hover{
  color:var(--orange);
}

/* HERO con video */
.hero{
  position:relative;
  min-height:100vh;
  color:#f9fafb;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:4rem;
  text-align:center;
  overflow:hidden;
}

.hero-video{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
}

.hero-video iframe{
  position:absolute;
  top:50%;
  left:50%;
  width:120%;
  height:120%;
  transform:translate(-50%, -50%);
  object-fit:cover;
  border:0;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,.45),rgba(0,0,0,.75));
  z-index:1;
}

.hero-center{
  max-width:900px;
  padding:3rem 1.5rem 4rem;
  position:relative;
  z-index:2;
}

.hero-dates{
  font-size:1.1rem;
  letter-spacing:.32em;
  text-transform:uppercase;
  margin:0 0 1rem;
  font-weight:600;
}

.hero-main{
  font-size:3.4rem;
  line-height:1.05;
  margin:0 0 .75rem;
  font-weight:800;
}

.hero-sub{
  font-size:1rem;
  max-width:640px;
  margin:0 auto 1.8rem;
  color:#f9fafb;
  text-shadow:0 2px 8px rgba(0,0,0,.6);
}

.hero-actions{
  margin-top:1.8rem;
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}

.hero-actions-center{
  justify-content:center;
}

/* Sections generales */
section{
  padding:4.5rem 1.25rem;
}

.section-inner{
  max-width:var(--max-width);
  margin:0 auto;
}

.section-label{
  font-size:.78rem;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--orange);
  margin-bottom:.4rem;
}

.section-title{
  font-size:2rem;
  margin:0 0 .75rem;
}

.section-lead{
  max-width:46rem;
  color:#4b5563;
  margin-bottom:2.25rem;
}

.grid-2{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:2.25rem;
  align-items:flex-start;
}

.card{
  background:#fff;
  border-radius:1.2rem;
  padding:1.5rem 1.5rem 1.6rem;
  box-shadow:0 15px 35px -22px rgba(15,23,42,.35);
  border:1px solid #e5e7eb;
}

.card h3{
  margin-top:0;
}

/* Cronograma */
.schedule-grid{
  display:grid;
  gap:1.6rem;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  margin-top:1.8rem;
}

.schedule-day{
  background:#fff;
  border-radius:1rem;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 12px 30px rgba(15,23,42,.06);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.schedule-day-header{
  padding:1rem 1.2rem;
  background:linear-gradient(135deg,#4b5563,#f6b37a);
  color:#fff;
}

.schedule-day-label{
  margin:0 0 .15rem;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  opacity:.9;
}

.schedule-day-header h3{
  margin:0;
  font-size:1.05rem;
  font-weight:600;
}

.schedule-day-body{
  padding:1.15rem 1.25rem 1.25rem;
}

.schedule-block + .schedule-block{
  margin-top:.9rem;
  padding-top:.8rem;
  border-top:1px dashed rgba(148,163,184,.6);
}

.schedule-block-title{
  font-weight:600;
  font-size:.9rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#f6b37a;
  margin-bottom:.3rem;
}

.schedule-day ul{
  margin:0;
  padding-left:1.1rem;
  font-size:.9rem;
}

.schedule-day li + li{
  margin-top:.2rem;
}

.schedule-day a{
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}

.schedule-note{
  margin-top:1.6rem;
  font-size:.85rem;
  color:#64748b;
  font-style:italic;
}

/* Video */
.video-thumb{
  position:relative;
  width:100%;
  padding-top:56.25%;
  border-radius:.8rem;
  overflow:hidden;
  box-shadow:0 10px 25px -10px rgba(15,23,42,.25);
  margin:.3rem 0 .4rem;
}

.video-thumb iframe{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  border:0;
}

/* Timeline */
.timeline{
  border-left:2px solid rgba(148,163,184,.5);
  margin:0;
  padding-left:1.25rem;
  list-style:none;
}

.timeline li{
  margin-bottom:1.4rem;
  position:relative;
}

.timeline li::before{
  content:"";
  position:absolute;
  left:-1.38rem;
  top:.25rem;
  width:.6rem;
  height:.6rem;
  border-radius:999px;
  background:var(--green);
  box-shadow:0 0 0 4px rgba(34,197,94,.22);
}

/* FAQ */
.faq-item{
  margin-bottom:1.5rem;
}

#faq .faq-item p{
  text-align:justify;
}

/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1rem;
}

.gallery-grid img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:1.1rem;
  box-shadow:0 15px 30px -20px rgba(15,23,42,.65);
}

/* Form (base) */
.form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1rem 1.3rem;
}

label{
  display:block;
  font-size:.82rem;
  font-weight:500;
  margin-bottom:.18rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea{
  width:100%;
  border-radius:.75rem;
  border:1px solid #d1d5db;
  padding:.65rem .7rem;
  font-family:inherit;
  font-size:.9rem;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
  background:#f9fafb;
}

input:focus,
select:focus,
textarea:focus{
  border-color:var(--green);
  box-shadow:0 0 0 1px rgba(34,197,94,.35);
  background:#fff;
}

textarea{
  min-height:120px;
  resize:vertical;
}

.form-note{
  font-size:.8rem;
  color:#6b7280;
  margin-top:.75rem;
}

#register .btn-primary{
  display:block;
  margin:1.3rem auto 0;
}

/* ====================== FORMULARIO INSCRIPCIÓN ====================== */

#register .section-inner{
  max-width:1100px;
  margin:0 auto;
}

#register .card{
  background:#ffffff;
  border-radius:1rem;
  padding:1.75rem 1.75rem 2rem;
  box-shadow:0 10px 25px rgba(15,23,42,0.12);
}

#register .form-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem 1.5rem;
}

.form-full{
  grid-column:1 / -1;
}

.short-comments textarea{
  height:120px !important;
}

.short-comments{
  grid-column:1 / -1;
}

.inscripcion-wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  margin-top:1.5rem;
}

.inscripcion-box,
.pago-box{
  padding:20px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fafafa;
}

#register .btn.btn-primary.hero-es-btn{
  margin-top:.75rem;
  padding:.75rem 1.8rem;
  font-size:.95rem;
  border-radius:999px;
}

/* Contacto */
.contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:2.25rem;
  align-items:flex-start;
}

#contact .section-inner{
  max-width:1100px;
  margin:0 auto;
}

#contact .section-lead{
  max-width:650px;
  margin-bottom:1rem;
}

#contact .card{
  background:#ffffff;
  border-radius:1rem;
  padding:1.5rem 1.75rem;
  box-shadow:0 10px 25px rgba(15, 23, 42, 0.12);
  font-size:0.95rem;
}

#contact p{
  margin:0 0 .6rem;
}

#contact a{
  color:#0f172a;
  font-weight:500;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}

/* Footer */
.footer{
  padding:2.5rem 1.25rem 2.75rem;
  background:#020617;
  color:#9ca3af;
}

.footer-inner{
  max-width:var(--max-width);
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:1.8rem;
  font-size:.8rem;
}

.footer-brand{
  max-width:260px;
}

.footer-brand h3{
  margin:0 0 .4rem;
  font-size:.95rem;
  color:#e5e7eb;
}

.footer-meta{
  display:flex;
  flex-wrap:wrap;
  gap:1.5rem;
}

.footer-meta a{
  color:#9ca3af;
  text-decoration:none;
}

.footer-meta a:hover{
  color:#e5e7eb;
}

.section-plane-wrapper{
  height:20px;
  margin:.2rem 0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.section-plane{
  width:50px;
  height:auto;
  opacity:0.9;
}

#event,
#schedule,
#rules,
#lodging,
#register,
#faq,
#sponsors,
#contact{
  padding-top:2.5rem;
  padding-bottom:2.5rem;
}

/* ========================== RESPONSIVE ========================== */

@media (max-width:900px){
  .nav-links{
    display:none;
  }
  .hero-main{
    font-size:2.6rem;
  }

  #register .card{
    padding:1.5rem 1.35rem 1.75rem;
  }

  #register .form-grid{
    grid-template-columns:1fr;
  }

  .form-full,
  .short-comments{
    grid-column:1 / 2;
  }

  .inscripcion-wrap{
    grid-template-columns:1fr;
  }

  #register .btn.btn-primary.hero-es-btn{
    width:100%;
  }

  .contact-grid{
    grid-template-columns:1fr;
  }

  #contact .card{
    padding:1.35rem 1.25rem;
  }
}

@media (max-width:720px){
  section{
    padding:3.25rem 1.05rem;
  }
  .gallery-grid img{
    height:200px;
  }
  .columns-2{
    columns:1;
  }
  #faq .faq-list{
    columns:1;
  }
}

@media (max-width:480px){
  .hero-main{
    font-size:2.1rem;
  }
  .hero-dates{
    font-size:.9rem;
  }
  .splash-title{
    font-size:2rem;
  }

  #contact .section-title{
    text-align:center;
    font-size:1.5rem;
  }

  #contact .section-lead{
    font-size:0.9rem;
  }

  #contact .card{
    border-radius:0.85rem;
    font-size:0.9rem;
  }
}

@media (max-width:768px){
  #event .section-inner{
    padding:0 1.25rem;
  }
  .grid-2{
    grid-template-columns:1fr;
    gap:1.5rem;
  }
  .grid-2 .card{
    padding:1.25rem 1.3rem;
  }
  .timeline li{
    font-size:.95rem;
  }
}

/* ========================================================= */
/*              MODAL VOLUNTARIADO (SCROLL OK)               */
/* ========================================================= */

/* Bloquear scroll del fondo cuando el modal está abierto */
body.modal-open{
  overflow:hidden;
}

/* Overlay que tapa la pantalla */
.volunteer-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  display:none;
  justify-content:center;
  align-items:flex-start;      /* pega el modal arriba */
  padding:3vh 1rem;            /* margen arriba + laterales */
  overflow-y:auto;             /* si es muy alto, se scrollea el overlay */
  z-index:999;
}

.volunteer-modal-overlay.open{
  display:flex;
}

/* Caja blanca del modal */
.volunteer-modal-content{
  background:#ffffff;
  border-radius:1.2rem;
  box-shadow:0 25px 50px -20px rgba(15,23,42,.45);
  border:1px solid #e5e7eb;
  max-width:720px;
  width:100%;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  overflow:hidden; /* el cuerpo interno es el que scrollea */
}

/* Header */
.volunteer-modal-header{
  padding:1rem 1.75rem .5rem;
  border-bottom:1px solid #e5e7eb;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.volunteer-modal-title{
  margin:0;
  font-size:1.25rem;
  font-weight:700;
}

.volunteer-modal-close{
  border:none;
  background:transparent;
  font-size:1.7rem;
  cursor:pointer;
  color:#6b7280;
}

/* Contenido scrolleable */
.volunteer-modal-body{
  padding:1.3rem 1.75rem 1.75rem;
  overflow-y:auto;
  max-height:60vh; /* alto máximo del cuerpo, aparece scroll interno */
}

/* Botones */
.volunteer-modal-actions{
  padding:0 1.75rem 1.5rem;
  display:flex;
  justify-content:flex-end;
}

.volunteer-modal-actions .btn{
  min-width:150px;
}

/* Estilos internos del form */
.volunteer-modal-body .form-grid{
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1rem 1.3rem;
}

.volunteer-modal-body .form-full{
  grid-column:1 / -1;
}

/* Responsive modal */
@media (max-width:768px){
  .volunteer-modal-content{
    margin:0 auto;
  }
  .volunteer-modal-body{
    padding:1rem 1.25rem 1.25rem;
    max-height:65vh;
  }
}



.footer {
  text-align: center;
}

.footer-inner {
  display: block !important;   /* fuerza bloque */
  text-align: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 auto;
}

#register .btn.btn-primary.hero-es-btn{
  width: auto;
  padding: .85rem 1.8rem;
  font-size: .96rem;
  margin: 1.2rem auto 0;
  display: block;
}
#volunteerBtn{
  padding: .85rem 1.8rem;
  font-size: .96rem;
  border-radius: 999px;
  width: auto;
  display: block;
  margin: .75rem auto 0;
}

@media (max-width: 768px){
  #sponsors .section-inner{
    display: flex;
    flex-direction: column;
  }