/* Patrimonio Café · "Encendido"
   La esquina tratada como el afiche de su propia fiesta de barrio.
   Color: verde noche y crema del logo + los banderines de sus posts (rojo, azul, amarillo).
   Regla: papel = información, noche = cierre y carta, rojo = la fiesta, amarillo = acción sobre oscuro. */

:root {
  --night: #0B2824;
  --night-2: #08201C;
  --leaf: #1A572E;
  --paper: #E9DFC5;
  --paper-2: #DCCFB0;
  --cream: #F1EFDE;
  --red: #E1251B;
  --red-ink: #B81D14;
  --red-bg: #B91F17;
  --blue: #2557BE;
  --sun: #F3B229;

  --f-d: 'Fredoka', ui-rounded, system-ui, sans-serif;
  --f-b: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --g: clamp(16px, 4vw, 56px);
  --nav: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.04 0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav); -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  background: var(--paper);
  color: var(--night);
  font: 400 1.0625rem/1.55 var(--f-b);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--f-d); font-weight: 700; line-height: .92; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--red-ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--night); color: var(--cream); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Llama: encendida solo si está abierto */
.flame { width: 1em; height: 1.33em; overflow: visible; }
.flame { --fo: var(--red); --fi: var(--sun); }
html:not(.is-open) [data-flame] { --fo: none; --fs: currentColor; --fi: none; }
html.is-open [data-flame] { animation: flicker 1.6s ease-in-out infinite alternate; transform-origin: 50% 100%; }
@keyframes flicker { 0% { transform: scale(1, 1) skewX(0); } 40% { transform: scale(.96, 1.06) skewX(-3deg); } 100% { transform: scale(1.03, .97) skewX(2deg); } }

/* Tags */
.tag {
  display: inline-block;
  font: 600 .78rem/1 var(--f-b);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .55em .9em;
  border: 1.5px solid currentColor;
  border-radius: 6px;
  margin-bottom: 28px;
}
.tag--sun { color: var(--sun); }

/* Botones: sticker de afiche, no pill */
.btn {
  --bg: var(--night); --fg: var(--cream); --sh: var(--night);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 1.3em;
  font: 600 1rem/1 var(--f-b);
  text-decoration: none;
  color: var(--fg); background: var(--bg);
  border: 2px solid var(--sh);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--sh);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sh); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--sh); }
.btn--night { --sh: var(--red-ink); border-color: var(--night); }
.btn--line { --bg: transparent; --fg: var(--night); }
.btn--paper { --bg: var(--paper); --fg: var(--night); --sh: var(--sun); border-color: var(--paper); }
.btn--sun { --bg: var(--sun); --fg: var(--night); --sh: var(--night-2); border-color: var(--sun); }
.btn--line-light { --bg: transparent; --fg: var(--cream); --sh: rgba(241, 239, 222, .35); border-color: rgba(241, 239, 222, .7); }
.btn--sm { min-height: 42px; font-size: .92rem; padding: 0 1em; box-shadow: 3px 3px 0 var(--red-ink); }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--g);
  transition: background .3s, box-shadow .3s;
}
.nav.is-solid { background: rgba(233, 223, 197, .94); box-shadow: 0 1px 0 rgba(11, 40, 36, .15); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.15rem/1 var(--f-d); letter-spacing: -.01em; }
.nav__brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav__brand b { font-weight: 500; color: var(--red-ink); }
.nav__links { display: flex; gap: 28px; font-weight: 500; font-size: .95rem; }
.nav__links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); padding: 4px 0; }
.nav__links a:hover { background-size: 100% 2px; }

/* HERO · afiche */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav) + 64px) var(--g) 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  background: var(--grain), var(--paper);
  overflow: hidden;
}
.bunting { position: absolute; left: 0; right: 0; top: calc(var(--nav) - 6px); height: 110px; pointer-events: none; --sag: 34px; }
.bunting__rope { position: absolute; inset: 0 0 auto 0; width: 100%; height: var(--sag); overflow: visible; }
.bunting__rope path { fill: none; stroke: var(--night); stroke-width: 1.5; }
.bunting__flags i {
  position: absolute;
  left: calc(var(--t) * 92% + 4%);
  top: calc(var(--sag) * 4 * (var(--t) * .92 + .04) * (1 - (var(--t) * .92 + .04)) - 2px);
  width: clamp(26px, 2.6vw, 42px);
  height: clamp(34px, 3.4vw, 54px);
  margin-left: calc(clamp(26px, 2.6vw, 42px) / -2);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: var(--red);
  transform-origin: 50% 0;
  animation: sway 2.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--t) * -5s);
}
.bunting__flags i:nth-child(4n+2) { background: var(--blue); }
.bunting__flags i:nth-child(4n+3) { background: var(--sun); }
.bunting__flags i:nth-child(4n) { background: var(--leaf); }
@keyframes sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }

.hero__meta {
  display: flex; justify-content: space-between; gap: 16px;
  font: 600 .78rem/1 var(--f-b); letter-spacing: .16em; text-transform: uppercase;
  border-top: 3px solid var(--night); padding-top: 12px;
  position: relative; z-index: 1;
}

.hero__poster {
  position: relative;
  display: grid;
  grid-template-columns: 1fr clamp(260px, 27vw, 400px);
  align-items: center;
  gap: 2vw;
}
.wm {
  font-size: clamp(92px, 19.5vw, 312px);
  line-height: .74;
  letter-spacing: -.045em;
  color: var(--night);
  font-variation-settings: 'wdth' 100;
}
.wm__line { display: block; overflow: hidden; padding: .2em .05em .24em; margin: -.2em -.05em -.24em; }
.wm__line > span { display: inline-block; }
.wm__line--b { padding-left: .62em; }
.wm__i { position: relative; display: inline-block; }
.wm__flame { position: absolute; left: 50%; bottom: .41em; width: .36em; height: .48em; margin-left: -.18em; color: var(--night); }

.snap {
  position: relative;
  justify-self: end;
  width: 100%;
  background: #FBF8EE;
  padding: 12px 12px 0;
  transform: rotate(3deg);
  box-shadow: 0 30px 50px -28px rgba(11, 40, 36, .55), 0 2px 0 rgba(11, 40, 36, .08);
}
.snap img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 35%; }
.snap figcaption { font: 500 1.05rem/1 var(--f-d); padding: 14px 4px 16px; text-align: center; }
.snap::before, .snap::after {
  content: ""; position: absolute; width: 110px; height: 30px; top: -14px;
  background: rgba(243, 178, 41, .72);
  mix-blend-mode: multiply;
}
.snap::before { left: -24px; transform: rotate(-28deg); }
.snap::after { right: -24px; transform: rotate(24deg); background: rgba(37, 87, 190, .5); }

.sticker {
  position: absolute;
  right: calc(clamp(260px, 27vw, 400px) - 70px);
  bottom: -2%;
  width: clamp(110px, 10.5vw, 160px);
  z-index: 2;
  overflow: visible;
}
.sticker circle { fill: var(--sun); }
.sticker text { font: 600 15.5px/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase; fill: var(--night); transform-origin: 100px 100px; animation: spin 22s linear infinite; }
.sticker use { --fo: var(--red-ink); --fi: var(--cream); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto auto;
  align-items: center;
  gap: 20px 32px;
  border-top: 3px solid var(--night);
  padding-top: 18px;
}
.hero__lead { font: 500 clamp(1.15rem, 1.7vw, 1.6rem)/1.2 var(--f-d); max-width: 30ch; letter-spacing: -.01em; }
.hero__lead em { font-style: normal; color: var(--red-ink); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.status {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  padding: 10px 16px 10px 12px;
  border: 2px dashed var(--night);
  border-radius: 14px;
  font-size: .92rem; line-height: 1.25;
  max-width: 300px;
}
.status .flame { font-size: 26px; flex: none; }
.status b { display: block; font: 700 1.05rem/1.1 var(--f-d); }

/* CASA */
.casa {
  position: relative;
  background: var(--leaf);
  color: var(--cream);
  padding: clamp(80px, 16vh, 180px) var(--g) clamp(60px, 10vh, 120px);
  overflow: hidden;
}
.casa .tag { color: var(--sun); }
.statement {
  font: 500 clamp(2rem, 5.3vw, 5.4rem)/1.03 var(--f-d);
  letter-spacing: -.025em;
  max-width: 17em;
}
.statement .hl { color: var(--sun); }
.runner { height: clamp(200px, 22vw, 320px); margin: 2vh calc(var(--g) * -1) calc(clamp(60px, 10vh, 120px) * -1); position: relative; border-bottom: 2px dashed rgba(241, 239, 222, .35); }
.runner img { position: absolute; left: 0; top: 0; height: 100%; width: auto; }
.quote { margin: 6vh 0 0 auto; max-width: 30ch; border-top: 2px solid rgba(241, 239, 222, .35); padding-top: 22px; }
.quote p { font: 500 clamp(1.3rem, 2.2vw, 2rem)/1.2 var(--f-d); }
.quote footer { margin-top: 12px; color: #CFE0C6; font-size: .95rem; }

/* TERRAZA */
.terraza { position: relative; height: clamp(440px, 86vh, 820px); overflow: hidden; background: var(--night); }
.terraza__img { position: absolute; inset: 0; }
.terraza__img img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 50% 60%; }
.terraza__txt {
  position: absolute; left: var(--g); bottom: var(--g);
  max-width: 420px;
  background: var(--paper); color: var(--night);
  padding: 22px 26px 24px;
  border-radius: 4px;
  transform: rotate(-1.5deg);
  box-shadow: 8px 8px 0 var(--night);
}
.terraza__txt h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 8px; }

/* TURNOS · cards apiladas */
.turnos { background: var(--night); color: var(--cream); padding: clamp(90px, 16vh, 170px) var(--g) clamp(80px, 12vh, 140px); }
.turnos__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px 6vw; align-items: end; margin-bottom: clamp(48px, 9vh, 96px); }
.turnos__head .tag { grid-column: 1 / -1; justify-self: start; color: var(--sun); margin-bottom: 0; }
.turnos__head h2 { font-size: clamp(3rem, 8vw, 8.4rem); line-height: .86; }
.turnos__head p:not(.tag) { color: #C9D3C6; max-width: 38ch; font-size: 1.1rem; }

.stack { display: grid; gap: 4vh; }
.card {
  --top: calc(var(--nav) + 18px);
  position: sticky;
  top: var(--top);
  min-height: min(62vh, 560px);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto auto;
  column-gap: 32px;
  transform-origin: 50% 0;
  box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, .6);
}
.card:nth-child(2) { --top: calc(var(--nav) + 34px); }
.card:nth-child(3) { --top: calc(var(--nav) + 50px); }
.card:nth-child(4) { --top: calc(var(--nav) + 66px); }
.card--red { background: var(--red-bg); color: var(--cream); }
.card--blue { background: var(--blue); color: var(--cream); }
.card--sun { background: var(--sun); color: var(--night); }
.card--paper { background: var(--grain), var(--paper); color: var(--night); }
.card__n { font: 600 1.4rem/1 var(--f-d); }
.card__doodle { grid-column: 2; grid-row: 1 / 3; width: clamp(90px, 12vw, 170px); fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { grid-column: 1 / -1; align-self: end; font-size: clamp(3.6rem, 12vw, 12rem); line-height: .8; letter-spacing: -.045em; margin: 24px 0 .3em; }
.card p { font-size: clamp(1.05rem, 1.5vw, 1.35rem); max-width: 36ch; line-height: 1.4; }
.card__cta { grid-column: 2; grid-row: 4; align-self: end; font: 600 1.05rem/1 var(--f-d); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 4px; white-space: nowrap; }
.card__cta:hover { padding-bottom: 8px; }
.turnos__foot { margin-top: 8vh; display: flex; justify-content: center; }

/* CORDÓN ENCENDIDO */
.enc { background: var(--red-bg); color: var(--cream); }
.enc__pin { height: 100svh; min-height: 620px; display: flex; flex-direction: column; padding: calc(var(--nav) + 28px) 0 32px; }
.enc__head { padding: 0 var(--g); display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 8px 4vw; margin-bottom: 28px; }
.enc__head .tag { grid-column: 1 / -1; justify-self: start; margin-bottom: 4px; }
.enc__head h2 { font-size: clamp(3.2rem, 9vw, 9.6rem); line-height: .82; letter-spacing: -.04em; }
.enc__head h2 > span { color: var(--sun); white-space: nowrap; }
.enc__flame { display: inline-block; width: .5em; height: .68em; vertical-align: -.02em; margin-left: .06em; }
.enc__flame { --fo: var(--sun); --fi: var(--cream); }
.enc__lead { font: 500 clamp(1.15rem, 1.6vw, 1.5rem)/1.25 var(--f-d); max-width: 24ch; padding-bottom: .4em; }

.enc__rail { flex: 1; min-height: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.enc__rail::-webkit-scrollbar { display: none; }
.enc__rail.is-pinned { overflow: hidden; scroll-snap-type: none; }
.enc__track { display: flex; gap: 18px; height: 100%; min-height: 360px; padding: 0 var(--g); width: max-content; }
.shot { position: relative; height: 100%; flex: none; scroll-snap-align: center; }
.shot img { height: 100%; width: auto; max-width: none; object-fit: cover; border-radius: 6px; }
.shot--wide img { aspect-ratio: 3 / 2; }
.shot:nth-child(odd) { transform: rotate(-1.2deg); }
.shot:nth-child(3n) { transform: rotate(1.4deg) translateY(10px); }
.cap {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--sun); color: var(--night);
  font: 600 1rem/1 var(--f-d);
  padding: 9px 12px 10px;
  border-radius: 6px;
  transform: rotate(-2deg);
}
.shot--intro, .shot--end { width: min(420px, 82vw); display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 0 8px; transform: none !important; }
.shot--intro p { font: 500 clamp(1.3rem, 2vw, 1.9rem)/1.22 var(--f-d); }
.shot--intro b { color: var(--sun); font-weight: 600; }
.shot--end { align-items: flex-start; }
.shot__big { font: 700 clamp(2.4rem, 4vw, 3.8rem)/.92 var(--f-d); letter-spacing: -.03em; }
.shot--end p:not(.shot__big) { font-size: 1.1rem; }

/* VISITANOS */
.visit {
  background: var(--grain), var(--paper);
  padding: clamp(90px, 15vh, 160px) var(--g);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.live { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); margin-bottom: 40px; }
.live__flame { font-size: clamp(72px, 9vw, 130px); flex: none; color: var(--night); }
.live__title { font: 700 clamp(3.4rem, 7.6vw, 7.6rem)/.85 var(--f-d); letter-spacing: -.045em; }
.live__sub { font-size: clamp(1.05rem, 1.4vw, 1.25rem); margin-top: 12px; max-width: 30ch; }

.week { display: grid; gap: 8px; max-width: 620px; }
.week__axis { margin-left: 56px; position: relative; height: 18px; font-size: .78rem; font-weight: 600; color: #4D5C55; }
.week__axis span { position: absolute; transform: translateX(-50%); }
.week__axis span:nth-child(1) { left: 0%; }
.week__axis span:nth-child(2) { left: 28.57%; }
.week__axis span:nth-child(3) { left: 57.14%; }
.week__axis span:nth-child(4) { left: 85.71%; }
.week__row { display: grid; grid-template-columns: 48px 1fr; gap: 8px; align-items: center; font-weight: 600; font-size: .95rem; }
.week__track { position: relative; height: 34px; background: rgba(11, 40, 36, .08); border-radius: 8px; }
.week__bar {
  position: absolute; top: 0; bottom: 0;
  left: calc((var(--o) - 8) / 14 * 100%);
  width: calc((var(--c) - var(--o)) / 14 * 100%);
  background: var(--night); color: var(--cream);
  border-radius: 8px;
  display: flex; align-items: center; padding: 0 12px;
  font-size: .85rem; font-weight: 600;
}
.week__row.is-today { font-weight: 700; }
.week__row.is-today .week__bar { background: var(--red-bg); }
.week__row.is-today span[role="rowheader"]::after { content: " · hoy"; display: block; font-size: .7rem; color: var(--red-ink); text-transform: uppercase; letter-spacing: .08em; }
.week__row.has-now .week__track::after {
  content: ""; position: absolute; top: -5px; bottom: -5px; width: 3px; border-radius: 2px;
  left: calc((var(--now) - 8) / 14 * 100%);
  background: var(--sun); box-shadow: 0 0 0 2px var(--night);
}

.visit__info h2 { font-size: clamp(2.8rem, 5.4vw, 5.6rem); line-height: .88; letter-spacing: -.035em; margin-bottom: 30px; }
.facts { border-top: 3px solid var(--night); margin-bottom: 28px; }
.facts li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(11, 40, 36, .2); }
.facts span { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.facts a { font-weight: 600; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.visit__ctas--live { margin: 40px 0 0; }
.map { border: 3px solid var(--night); border-radius: 18px; overflow: hidden; box-shadow: 8px 8px 0 var(--night); aspect-ratio: 16 / 10; background: var(--paper-2); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* CIERRE */
.final { background: var(--night); color: var(--cream); padding: clamp(100px, 20vh, 220px) var(--g) clamp(80px, 14vh, 140px); text-align: center; }
.final__title { font-size: clamp(3.4rem, 12vw, 12.5rem); line-height: .82; letter-spacing: -.05em; }
.final__title span { display: block; }
.final__title span + span { color: var(--sun); }
.final__sub { max-width: 40ch; margin: 34px auto 34px; font-size: 1.15rem; color: #C9D3C6; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.footer {
  background: var(--night-2); color: #C9D3C6;
  padding: 40px var(--g) 48px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center;
  font-size: .95rem;
}
.footer img { border-radius: 50%; }
.footer ul { display: grid; gap: 4px; }
.footer a { color: var(--cream); }
.footer__demo { font-size: .8rem; opacity: .75; }

/* Dock mobile */
.dock { display: none; }

/* Estado inicial de las animaciones (solo con JS y sin failsafe) */
.js:not(.failsafe) [data-reveal] { opacity: 0; transform: translateY(28px); }
.js:not(.failsafe) .wm__line > span { transform: translateY(110%); }
.js:not(.failsafe) .snap, .js:not(.failsafe) .sticker, .js:not(.failsafe) .hero__foot > *, .js:not(.failsafe) .hero__meta { opacity: 0; }
.js:not(.failsafe) .bunting { transform: translateY(-120%); }
.js:not(.failsafe) [data-words] .w { opacity: .2; }
.failsafe [data-reveal], .failsafe .snap, .failsafe .sticker, .failsafe .hero__foot > *, .failsafe .hero__meta, .failsafe [data-words] .w { opacity: 1 !important; }
.failsafe .wm__line > span, .failsafe .bunting { transform: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .hero__foot { grid-template-columns: 1fr 1fr; }
  .hero__lead { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  :root { --nav: 58px; }
  .nav .btn { display: none; }
  .hero { padding-top: calc(var(--nav) + 56px); min-height: auto; gap: 16px; }
  .bunting { --sag: 22px; }
  .bunting__flags i { width: 19px; height: 26px; margin-left: -9.5px; }
  .hero__meta { font-size: .68rem; letter-spacing: .1em; }
  .hero__meta span + span { display: none; }
  .hero__poster { grid-template-columns: 1fr; gap: 26px; }
  .wm { font-size: 27.5vw; }
  .wm__line--b { padding-left: .35em; }
  .snap { width: 78%; justify-self: center; transform: rotate(2.5deg); }
  .snap img { aspect-ratio: 4 / 3.6; }
  .sticker { right: auto; left: 0; bottom: 18%; width: 104px; }
  .hero__foot { grid-template-columns: 1fr; gap: 18px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .status { max-width: none; }

  .runner { margin: 3vh 0; }
  .turnos__head { grid-template-columns: 1fr; }
  .card { grid-template-columns: 1fr auto; min-height: 440px; border-radius: 22px; }
  .card h3 { font-size: clamp(3.2rem, 17vw, 6rem); }
  .card__cta { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-top: 22px; white-space: normal; }

  .enc__pin { height: auto; min-height: 0; padding: 80px 0 48px; }
  .enc__head { grid-template-columns: 1fr; }
  .enc__track { height: min(62svh, 480px); }
  .shot--intro, .shot--end { width: 78vw; }

  .visit { grid-template-columns: 1fr; }
  .week__axis { margin-left: 56px; }
  .facts li { grid-template-columns: 92px 1fr; }

  .footer { grid-template-columns: 1fr; padding-bottom: 110px; }

  .dock {
    display: grid; grid-template-columns: 1fr auto auto; gap: 8px;
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
    padding: 8px; border-radius: 18px;
    background: var(--night);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .dock.is-shown { transform: none; }
  .dock a {
    min-height: 48px; min-width: 52px; padding: 0 16px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; text-decoration: none; font-weight: 600;
    color: var(--cream); border: 1.5px solid rgba(241, 239, 222, .4);
  }
  .dock .dock__main { background: var(--sun); color: var(--night); border-color: var(--sun); }
  .dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
  .dock a:focus-visible { outline-color: var(--sun); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.shot-mode .dock { display: none !important; }
