/* Landing de DorsalYa: misma identidad neobrutalista del formulario. */
.landing main { display: flex; flex-direction: column; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.menu > a:not(.btn) { text-decoration: none; font-weight: 700; padding: 4px 2px; }
.menu > a:not(.btn):hover { background: var(--lima); }
.btn.mini { min-height: 46px; padding: 0 18px; font-size: 16px; box-shadow: var(--sombra-sm); }
.btn.lima { background: var(--lima); }
.btn.lima:hover { background: var(--lima); }

.portada { max-width: 1200px; margin: 0 auto; padding: 56px 24px 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.portada-txt { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.portada .antetitulo { align-self: flex-start; margin: 0; padding: 4px 12px; transform: rotate(-2deg); background: var(--lima); border: var(--linea); border-radius: 6px; box-shadow: 3px 3px 0 var(--azul-noche); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.portada h1 { font-size: clamp(40px, 7.5vw, 76px); max-width: 14ch; }
.resalta { color: var(--naranja); -webkit-text-stroke: 2px var(--azul-noche); }
.bajada { margin: 0; font-size: 19px; max-width: 56ch; }

.dorsal-gigante { flex: 1 1 340px; max-width: 440px; aspect-ratio: 4 / 3; background: var(--blanco); border: 4px solid var(--azul-noche); border-radius: 18px; box-shadow: 10px 10px 0 var(--azul-noche); transform: rotate(3deg); display: flex; flex-direction: column; overflow: hidden; position: relative; }
.dorsal-gigante::before, .dorsal-gigante::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--hueso); border: 3px solid var(--azul-noche); top: 14px; }
.dorsal-gigante::before { left: 16px; } .dorsal-gigante::after { right: 16px; }
.dg-franja { background: var(--naranja); border-bottom: 4px solid var(--azul-noche); padding: 14px 0; text-align: center; font-family: var(--mono); font-weight: 700; letter-spacing: .12em; }
.dg-num { flex: 1; display: grid; place-items: center; font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(80px, 13vw, 140px); letter-spacing: -0.04em; line-height: 1; }
.dg-pie { display: flex; justify-content: space-between; gap: 8px; padding: 12px 18px; border-top: 4px solid var(--azul-noche); font-family: var(--mono); font-weight: 700; font-size: 14px; }
.dg-pie span:last-child { background: var(--lima); padding: 0 8px; border: 2px solid var(--azul-noche); border-radius: 4px; }

.cinta { background: var(--azul-noche); color: var(--lima); border-block: var(--linea); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 16px 24px; font-family: var(--mono); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.cinta span::before { content: "✦ "; color: var(--naranja); }

.bloque { width: 100%; max-width: 1200px; margin: 0 auto; padding: 64px 24px; display: flex; flex-direction: column; gap: 26px; }
.bloque h2 { font-size: clamp(28px, 4.5vw, 44px); }
.bloque.oscuro { max-width: none; background: var(--azul-noche); color: var(--blanco); padding-inline: max(24px, calc((100% - 1152px) / 2)); }
.bloque.oscuro h2, .bloque.oscuro h3 { color: var(--blanco); }
.bloque.oscuro .etiqueta { color: var(--lima); }
.etiqueta { margin: 0 0 8px; font-family: var(--mono); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--naranja); }
.bloque-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.filtros-cal { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.filtros-cal select { width: auto; min-width: 200px; height: 46px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 44px; padding: 0 16px; border-radius: 6px; border: 2px solid var(--azul-noche); background: var(--blanco); color: var(--azul-noche); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.chips button:hover { background: var(--lima); }
.chips button[aria-pressed="true"] { background: var(--azul-noche); color: var(--blanco); }
.meses button { font-family: var(--mono); text-transform: uppercase; }

.lista-eventos { display: flex; flex-direction: column; gap: 18px; }
.mes-titulo { margin: 14px 0 0; font-family: var(--mono); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; border-bottom: var(--linea); padding-bottom: 6px; }
.ev-card { display: flex; gap: 0; background: var(--blanco); border: var(--linea); border-radius: var(--radio); box-shadow: var(--sombra-sm); overflow: hidden; transition: transform .12s, box-shadow .12s; }
.ev-card:hover { transform: translate(-2px, -2px); box-shadow: var(--sombra); }
.ev-fecha { flex: none; width: 104px; background: var(--naranja); border-right: var(--linea); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 6px; text-align: center; }
.ev-fecha .dia { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 44px; line-height: 1; }
.ev-fecha .mes { font-family: var(--mono); font-weight: 700; text-transform: uppercase; font-size: 14px; }
.ev-fecha .sem { font-size: 12px; font-weight: 700; text-transform: capitalize; }
.ev-cuerpo { flex: 1; min-width: 0; padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.ev-info { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ev-info h3 { font-size: 22px; }
.ev-info .meta { font-size: 14px; font-weight: 700; color: var(--gris); }
.ev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ev-tags .pill { background: var(--hueso); }
.ev-tags .pill.dep { background: var(--lima); }
.ev-accion { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ev-accion .desde { font-family: var(--mono); font-weight: 700; font-size: 15px; }
.ev-accion .btn { min-height: 48px; font-size: 17px; padding: 0 22px; box-shadow: var(--sombra-sm); }
.ev-cerrado .ev-fecha { background: var(--hueso); }
.vacio { border: 3px dashed var(--azul-noche); border-radius: var(--radio); padding: 28px; background: var(--blanco); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.vacio h3 { font-size: 22px; }

.tres-pasos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.tres-pasos li { flex: 1 1 260px; background: var(--blanco); color: var(--azul-noche); border: var(--linea); border-color: var(--blanco); border-radius: var(--radio); box-shadow: 6px 6px 0 var(--naranja); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.tres-pasos li h3 { color: var(--azul-noche) !important; font-size: 24px; }
.tres-pasos li p { margin: 0; }
.tres-pasos .num { width: 44px; height: 44px; display: grid; place-items: center; background: var(--lima); border: var(--linea); border-radius: 6px; font-family: var(--mono); font-weight: 700; font-size: 20px; }
.rejilla-func { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; background: #3A4766; border: 2px solid #3A4766; border-radius: var(--radio); overflow: hidden; }
.rejilla-func article { background: var(--azul-noche); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.rejilla-func h3 { font-size: 20px; color: var(--lima) !important; }
.rejilla-func p { margin: 0; color: #D5DAE6; }

.ventas-txt { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ventas-txt p { margin: 0; font-size: 17px; }
.lista-check { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-weight: 700; }
.lista-check li::before { content: "✓"; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; background: var(--lima); border: 2px solid var(--azul-noche); border-radius: 4px; font-size: 14px; }
.form-ventas { flex: 999 1 520px; min-width: 0; }
.trampa { position: absolute; left: -9999px; }

.final { align-items: center; text-align: center; padding-block: 72px; }
.final .acciones { justify-content: center; }

@media (max-width: 640px) {
  .menu { width: 100%; gap: 10px 14px; }
  .menu .btn { width: auto; flex: 1; }
  .portada { padding: 32px 16px; }
  .dorsal-gigante { transform: rotate(2deg); box-shadow: 6px 6px 0 var(--azul-noche); }
  .bloque { padding: 44px 16px; }
  .ev-card { flex-direction: column; }
  .ev-fecha { width: auto; flex-direction: row; gap: 10px; border-right: 0; border-bottom: var(--linea); padding: 10px 16px; justify-content: flex-start; }
  .ev-fecha .dia { font-size: 30px; }
  .ev-accion { align-items: stretch; width: 100%; }
  .filtros-cal select { width: 100%; }
}
