@font-face { font-family: 'Bowlby One'; src: url(/bowlby-one-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Overpass; font-weight: 700; src: url(/overpass-latin-700-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Overpass; font-weight: 900; src: url(/overpass-latin-900-normal.woff2) format('woff2'); font-display: swap; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 700 17px/1.55 Overpass, sans-serif; color: #241f20; background: #f6f2e6; }
a { color: #1d4f94; }
footer { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; padding: 26px 20px 30px; background: #2b2e34; }
footer a { color: #f6f2e6; font-size: 15px; }
.hoja header { padding: 20px; background: #1fb7c6; border-bottom: 4px solid #241f20; }
.hoja header a { display: block; max-width: 760px; margin: auto; }
.hoja header img { display: block; height: auto; }
.hoja main { max-width: 800px; margin: auto; padding: 26px 20px 60px; }
h1, h2 { font-family: 'Bowlby One', sans-serif; font-weight: 400; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(28px, 6vw, 42px); margin: 10px 0 6px; }
h2 { font-size: 22px; margin: 34px 0 6px; }
.hoja p, .hoja ul { margin: 8px 0; }
.hoja li { margin: 5px 0; }
.fecha { color: #6f6751; font-size: 15px; }
hr { margin: 54px 0; border: 0; border-top: 3px dashed #cfc5a8; }
form { display: grid; gap: 12px; max-width: 420px; margin: 18px 0; }
label { display: grid; gap: 4px; font-size: 15px; }
input { height: 50px; padding: 6px 14px 2px; border: 3px solid #241f20; border-radius: 8px; background: #fff; font: 900 19px Overpass, sans-serif; color: inherit; }
button { height: 52px; padding: 5px 24px 0; border: 3px solid #241f20; border-radius: 9px; background: #0c7040; color: #fff; font: 900 19px Overpass, sans-serif; cursor: pointer; box-shadow: 0 5px 0 #07472a; }
button.rojo { background: #d93a2b; box-shadow: 0 5px 0 #7d1a11; }
button:active { transform: translateY(4px); box-shadow: none; }
button:disabled { opacity: .55; }
output { min-height: 26px; color: #b3291c; }
output.bien { color: #0c7040; }
/* portada */
.portada h1, .portada p { margin: 0; }
.portada h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; }
.portada section > p, .dicho p { max-width: 34em; font-size: 18px; line-height: 1.45; text-wrap: pretty; }
.portada button { height: auto; border-radius: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: inherit; font: inherit; }
.portada button:active { transform: none; }
.portada :focus-visible { outline: 4px solid #1e5fb0; outline-offset: 3px; }
.foto { display: block; width: 100%; height: auto; }
.dicho { min-width: 0; }

.salida { --carro: clamp(190px, 27vw, 380px); --calle: clamp(112px, 13vw, 176px); min-height: clamp(600px, 94svh, 860px); display: flex; flex-direction: column; align-items: center; padding-top: 32px; overflow: hidden; text-align: center; background: #1fb7c6 url(/cielo.svg) 50% calc(100% - var(--calle)) / auto calc(100% - var(--calle)) no-repeat; background-size: max(100%, 1180px) auto; }
.salida .logo { display: block; width: clamp(250px, 30vw, 400px); height: auto; }
.salida .lema { max-width: 17em; margin: 20px 16px 4px; font: 400 clamp(24px, 3.1vw, 40px)/1.14 'Bowlby One', sans-serif; text-wrap: balance; }
.salida .clase { padding: 0 20px; font-size: 18px; }
.letrero { flex: 1; min-height: calc(var(--carro) * .46 + 64px); margin-top: 16px; display: flex; flex-direction: column; align-items: center; }
.letrero::after { content: ''; flex: 1; width: 132px; margin-top: -2px; border: solid #6d727b; border-width: 0 12px; outline: 0; }
.letrero > * { position: relative; z-index: 1; padding: 14px 26px 9px; background: #0c7040; color: #fff; font: 900 21px/1.2 Overpass, sans-serif; text-decoration: none; border-radius: 10px; box-shadow: inset 0 0 0 4px #0c7040, inset 0 0 0 6px #fff, 0 0 0 3px #241f20; }
.calle { position: relative; z-index: 2; align-self: stretch; height: var(--calle); background: linear-gradient(#e6dfd0 0 13px, #241f20 13px 16px) 0 0 / 100% 16px no-repeat, repeating-linear-gradient(100deg, #f6f2e6 0 70px, #0000 70px 140px) 0 78% / auto 9px repeat-x, #8f877c; border-block: 4px solid #241f20; }
.fila { position: absolute; inset: auto 0 34%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.fila::-webkit-scrollbar { display: none; }
.fila > div { display: flex; width: max-content; padding-inline: calc(50vw - var(--carro) / 2); }
.fila img { display: block; width: var(--carro); height: auto; user-select: none; -webkit-user-drag: none; }
@media (prefers-reduced-motion: no-preference) {
  .fila > div { animation: llegan 1.1s cubic-bezier(.16, .8, .3, 1) both; }
  @keyframes llegan { from { transform: translateX(-60vw); } }
}

.lugares { background: #f6f2e6; }
.lugares > .dicho { padding: 64px max(20px, calc(50vw - 590px)) 32px; }
.fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #241f20; border-block: 4px solid #241f20; }
.fotos figure { position: relative; margin: 0; }
.fotos figcaption { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; padding: 8px 14px 5px; background: #0c7040; color: #fff; border-radius: 7px; box-shadow: inset 0 0 0 2px #0c7040, inset 0 0 0 3.5px #fff, 0 0 0 2.5px #241f20; font-weight: 900; font-size: 16px; line-height: 1.2; white-space: nowrap; }

.taller > .dicho { padding: 72px max(20px, calc(50vw - 590px)) 32px; }
.taller { padding-bottom: 80px; }
.puesto { max-width: 1180px; margin: 0 auto; border: 4px solid #241f20; border-radius: 16px; overflow: hidden; background: #2b2e34; }
.rampa { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: end; gap: 16px; min-height: 430px; padding: 24px; background-position: 50% 100%; background-size: cover; }
.rampa > img { display: block; width: min(100%, 620px); height: auto; margin: 0 auto -4px; }
.ficha { align-self: center; padding: 20px 22px 16px; background: #f6f2e6; box-shadow: 0 2px 0 #241f2040; rotate: .8deg; }
.ficha h3 { margin: 0 0 8px; font: 400 25px/1.1 'Bowlby One', sans-serif; }
.ficha dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 15px; line-height: 1.3; }
.ficha dt { color: #6f6751; }
.ficha dd { margin: 0; }
.estado { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 14px; padding: 4px; background: #ded5bb; border-radius: 9px; }
.portada .estado button { padding: 11px 4px 7px; border-radius: 6px; font-size: 15px; line-height: 1.2; }
.portada .estado [aria-pressed=true] { background: #241f20; color: #fff; }
.llaves { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 4px solid #241f20; }
.portada .llaves button { min-width: 0; padding: 10px 6px 8px; color: #fff; font-size: 14px; line-height: 1.2; }
.llaves button + button { border-left: 3px solid #f6f2e6; }
.llaves img { display: block; width: 100%; height: auto; margin-bottom: 2px; }
.portada .llaves [aria-pressed=true] { background: #ffc72e; color: #241f20; }

.poderes, .online { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 56px; padding: 72px max(20px, calc(50vw - 590px)); }
.poderes { background: #ffc72e; border-top: 4px solid #241f20; }
.poderes .foto { border: 4px solid #241f20; border-radius: 14px; }
.poderes ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 8px; margin: 28px 0 0; padding: 0; list-style: none; text-align: center; font-size: 14px; line-height: 1.2; }
.poderes li img { display: block; width: 72px; height: 72px; margin: 0 auto 4px; }
.online { color: #fff; background: #2b2e34; border-top: 4px solid #241f20; }
.online .foto { order: -1; }
.online { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.bajar { display: inline-block; margin-top: 24px; padding: 14px 26px 9px; background: #0c7040; color: #fff; font: 900 21px/1.2 Overpass, sans-serif; text-decoration: none; border-radius: 10px; box-shadow: inset 0 0 0 4px #0c7040, inset 0 0 0 6px #fff, 0 0 0 3px #241f20; }
.portada footer { border-top: 24px solid; border-image: repeating-linear-gradient(90deg, #f6f2e6 0 24px, #241f20 24px 48px) 24; }

@media (max-width: 860px) {
  .salida { --carro: clamp(250px, 72vw, 400px); }
  .fila.lista { scroll-snap-type: x mandatory; }
  .fila img { scroll-snap-align: center; }
  .salida .clase { text-wrap: balance; line-height: 1.3; margin-top: 6px; }
  .lugares > .dicho, .taller > .dicho { padding-block: 48px 24px; }
  .fotos { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .fotos figure { scroll-snap-align: center; }
  .fotos figcaption { bottom: 10px; padding: 6px 12px 3px; font-size: 14px; }
  .poderes, .online { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 48px; }
  .online .foto { order: 0; }
  .taller { padding: 0 12px 48px; }
  .taller > .dicho { padding-inline: 8px; }
  .rampa { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 16px; background-size: auto 340px; background-position: 50% 0; background-color: #b5aea2; background-repeat: no-repeat; }
  .rampa > img { width: min(100%, 440px); margin-block: 24px 8px; }
  .llaves { grid-template-columns: repeat(4, 1fr); }
  .llaves button:nth-child(5) { border-left: 0; }
  .llaves button:nth-child(n + 5) { border-top: 3px solid #f6f2e6; }
}
