/* Campamento Evermonth · Home
   Built from Figma frame "★ Home · Final (preview)" (88:2).
   Desktop is drawn on a 1440px canvas. Under 1100px the layout stacks. */

@font-face {
  font-family: "Cralter Sans Rough";
  src: url("../fuentes/Cralter_Sans_Rough.otf") format("opentype");
  font-display: swap;
}

:root {
  --tinta: #16130c;
  --pergamino: #e6dab4;
  --crema: #f1e7cc;
  --papel: #fbf7ec;
  --navy: #0d2a38;
  --navy-deep: #0a2230;
  --amber: #e8a720;
  --red: #8a100a;
  --green: #3d553a;

  --f-display: "Cralter Sans Rough", "Alfa Slab One", Georgia, serif;
  --f-label: "Josefin Sans", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;

  /* Set by main.js: page width / 1440, never below .5 */
  --s: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--tinta);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Helpers ---------- */

/* A 1440px canvas, centered. Figma x/y values work inside it. */
.stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 100%;
  margin-left: -720px;
}

/* Place by center point (x, y in px) with a rotation in deg. */
.pin {
  position: absolute;
  left: calc(var(--x) * 1px);
  top: calc(var(--y) * 1px);
  transform: translate(-50%, -50%) rotate(calc(var(--r, 0) * 1deg));
}

.deco { position: absolute; pointer-events: none; height: auto; }

.trim { text-box: trim-both cap alphabetic; }

.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1;
  text-box: trim-both cap alphabetic;
}

.eyebrow {
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  line-height: 1;
  text-box: trim-both cap alphabetic;
}
.eyebrow--crema { color: var(--pergamino); font-size: 12px; }
.eyebrow--amber { color: var(--amber); }
.eyebrow--red { color: var(--red); }

.body-lg { font-size: 18px; line-height: 1.55; }

/* Torn paper edges between sections */
.torn { position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 5; }
.torn--bottom { bottom: -2px; height: 41px; }
.torn--top { top: 0; height: 41px; transform: scaleY(-1); }

/* Polaroids and tape */
.polaroid {
  background: var(--papel);
  overflow: hidden;
  box-shadow: 0 12px 18px rgba(0, 0, 0, .38);
}
.polaroid__img { position: absolute; object-fit: cover; }
.polaroid figcaption {
  position: absolute;
  font-family: var(--f-label);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tinta);
  white-space: nowrap;
  line-height: 1;
  text-box: trim-both cap alphabetic;
}
.tape {
  position: absolute;
  display: block;
  background: rgba(246, 238, 214, .8);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .15);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-label);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  line-height: 1;
  font-size: 14px;
  letter-spacing: .14em;
  padding: 20px 30px;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(2px); }
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.btn--amber { background: var(--amber); color: var(--tinta); }
.btn--crema { background: var(--pergamino); color: var(--tinta); }

/* Outlined, raised buttons (navbar, hero, cards) */
.btn--sm {
  font-size: 12px;
  letter-spacing: .14em;
  padding: 14px 22px 12px;
  border: 2px solid var(--tinta);
}
.btn--shadow3 { box-shadow: 0 3px 0 var(--tinta); }
.btn--outline {
  border-color: var(--pergamino);
  color: var(--pergamino);
  filter: drop-shadow(0 3px 0 var(--tinta));
}
.btn--lg {
  padding: 18px 30px 16px;
  border: 2px solid var(--tinta);
  box-shadow: 0 4px 0 var(--tinta);
}
.btn--flat { padding: 20px 30px; }
.btn--md { padding: 18px 26px; letter-spacing: .12em; }

/* =========================================================
   01 · Hero
   ========================================================= */
.hero {
  position: relative;
  height: 1000px;
  overflow: hidden;
  background: var(--navy);
  color: var(--pergamino);
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__vignette {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(22,19,12,.55) 0%,
    rgba(22,19,12,.05) 30%,
    rgba(22,19,12,.10) 48.6%,
    rgb(22,19,12) 100%);
}

/* Navbar: a wood sign hanging from two ropes */
.nav {
  position: absolute;
  top: 0; left: 50%;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  z-index: 20;
}
.nav__rope {
  position: absolute; top: 0;
  width: 6px; height: 40px;
  background: #8a6a3f;
}
.nav__rope--l { left: 90px; }
.nav__rope--r { right: 84px; }
.nav__bar {
  position: relative;
  margin-top: 36px;
  height: 84px;
  border-radius: 14px;
  background: #5a3d22;
  filter: drop-shadow(0 10px 9px rgba(0,0,0,.35));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}
.nav__bar::before,
.nav__bar::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.nav__bar::before {
  background: url("../img/madera.webp") top left / 352px 176px;
}
.nav__bar::after {
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 50%, rgba(0,0,0,.45));
}
.nav__links, .nav__ctas, .nav__logo, .nav__burger { position: relative; z-index: 1; }
.nav__links {
  flex: 1 0 0;
  display: flex;
  gap: 36px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pergamino);
  text-shadow: 0 1px 1px rgba(0,0,0,.5);
  white-space: nowrap;
}
.nav__links a { transition: color .15s; }
.nav__links a:hover { color: var(--amber); }
.nav__logo img { width: 124.6px; height: 124.6px; margin: -20px 0; }
.nav__ctas { flex: 1 0 0; display: flex; justify-content: flex-end; gap: 10px; }
.nav__burger { display: none; }

/* Hero title: three paper labels in a stair */
.hero__stage { z-index: 2; }
.hero__title { margin: 0; font-weight: 400; }
.tag {
  display: block;
  background: var(--pergamino);
  border-radius: 4px;
  padding: 18px 34px 14px;
  box-shadow: 0 8px 16px rgba(0,0,0,.35);
  white-space: nowrap;
}
.tag__txt {
  display: block;
  font-family: var(--f-display);
  color: var(--navy);
  line-height: 1;
  text-box: trim-both cap alphabetic;
}
.hero__arrow { width: 96px; height: 72px; overflow: visible; }

.hero__bottom {
  position: absolute;
  left: 431px; top: 717px; width: 579px;
  display: flex; flex-direction: column; align-items: center;
  gap: 28px;
}
.hero__sub {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}

/* =========================================================
   02 · Casas
   ========================================================= */
.casas {
  --bg: #a8750f;
  --pine-back: #c8921e;
  --pine-mid: #7e5508;
  position: relative;
  height: 1074px;
  overflow: hidden;
  background: var(--bg);
  transition: background-color .5s ease;
}
.casas[data-casa="silverspin"] { --bg: #3d553a; --pine-back: #557152; --pine-mid: #2a3d28; }
.casas[data-casa="jawsreef"]   { --bg: #1d4a60; --pine-back: #2d6680; --pine-mid: #123444; }
.casas[data-casa="braveroar"]  { --bg: #8a100a; --pine-back: #a83224; --pine-mid: #5e0b06; }

.casas__vignette { position: absolute; left: 0; top: 0; width: 100%; height: 1200px; pointer-events: none; }

/* Pine rows are drawn by main.js on a 1440 x 1074 canvas, scaled from the bottom. */
.casas__pines {
  position: absolute;
  left: 50%; bottom: 0;
  width: 1440px; height: 1074px;
  transform: translateX(-50%) scale(var(--s));
  transform-origin: 50% 100%;
  pointer-events: none;
}
.casas__pines svg { position: absolute; inset: 0; overflow: visible; }
.casas__pines--back  { color: var(--pine-back); }
.casas__pines--mid   { color: var(--pine-mid); z-index: 3; }
.casas__pines--front { color: var(--navy-deep); z-index: 4; }
.casas__pines path, .casas__pines use { transition: fill .5s ease, color .5s ease; }

/* No z-index on the stage: the CTA must sit above the front pines. */
.casas .stage { z-index: auto; }
.casas__head { z-index: 2; }
.casas__head {
  position: absolute;
  left: 331px; top: 90px; width: 778px;
  display: flex; flex-direction: column; align-items: center;
  gap: 42px;
  text-align: center;
}
.casas__head .eyebrow { letter-spacing: .24em; }
.casas__title { color: var(--pergamino); font-size: 60px; margin-bottom: 0; }
.casas__head > .casas__title + .tabs { margin-top: -18px; } /* 24px gap in Figma */

.tabs { display: flex; gap: 10px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(22,19,12,.35);
  color: var(--pergamino);
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  transition: background .2s, color .2s;
}
.tab img { width: 14px; height: 14px; }
.tab:hover { background: rgba(22,19,12,.55); }
.tab.is-active { background: var(--crema); color: var(--tinta); }
.tab:focus-visible { outline: 3px solid var(--crema); outline-offset: 2px; }

.board { position: absolute; left: 220px; top: 320px; width: 1000px; height: 600px; }
.board__paper { position: absolute; left: -20px; top: -6px; width: 1040px; height: 640px; }
.board__frame { position: absolute; left: 40px; top: 40px; width: 920px; height: 520px; border: 1.5px solid var(--tinta); }
.board__torn { height: auto; }
.board__crest {
  position: absolute; left: 340px; top: 52px; width: 320px; height: 384px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.35));
  transition: opacity .25s ease, transform .25s ease;
}
.board__crest.is-swapping { opacity: 0; transform: scale(.96); }
.board__pin { position: absolute; left: 639px; top: 16px; width: 32px; height: 33px; }
.board__cta { z-index: 6; position: absolute; left: 393px; top: 505px; font-size: 15px; letter-spacing: .14em; padding: 18px 32px 16px; }

/* =========================================================
   03 · Próximos campamentos
   ========================================================= */
.proximos {
  position: relative;
  height: 1080px;
  overflow: hidden;
  background: var(--navy-deep);
  text-align: center;
}
.proximos > .eyebrow { position: absolute; left: 0; right: 0; top: 120px; font-size: 12px; text-box: none; }
.proximos__title { position: absolute; left: 0; right: 0; top: 150px; color: var(--pergamino); font-size: 64px; line-height: normal; text-box: none; }
.tickets {
  position: absolute;
  left: 50%; top: 350px;
  transform: translateX(-50%);
  display: flex; gap: 40px;
}
.ticket {
  position: relative;
  width: 272px; height: 510px;
  text-align: left;
  transform: translateY(var(--dy, 0)) rotate(calc(var(--r) * 1deg));
  transition: transform .25s ease;
}
.ticket:hover { transform: translateY(calc(var(--dy, 0px) - 6px)) rotate(0deg); }
.ticket__paper { position: absolute; left: -20.7px; top: -6.8px; width: 313.3px; height: 551.3px; }
.ticket__photo { position: absolute; left: 15.5px; top: 15.5px; width: 241px; height: 211px; }
.ticket__date {
  position: absolute; left: 22px; top: 246px;
  font-family: var(--f-label); font-weight: 700; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--red);
  white-space: nowrap;
}
.ticket__name {
  position: absolute; left: 22px; top: 266px;
  font-family: var(--f-display); font-weight: 400; font-size: 28px;
  line-height: normal; color: var(--navy); white-space: nowrap;
}
.ticket__rows { position: absolute; left: 22px; top: 322px; width: 228px; }
.ticket__rows div {
  position: relative; height: 34px;
  border-top: 1px solid rgba(22,19,12,.18);
}
.ticket__rows dt {
  position: absolute; left: 0; top: 10px;
  font-family: var(--f-label); font-weight: 600; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; opacity: .6;
}
.ticket__rows dd {
  position: absolute; right: 0; top: 9px;
  font-family: var(--f-label); font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase;
}
.ticket__cta {
  position: absolute; left: 22px; top: 438px; width: 228px; height: 34px;
  padding: 0; font-size: 12px; letter-spacing: .12em;
  border: 2px solid var(--tinta); box-shadow: 0 4px 0 var(--tinta);
}
.ticket__ribbon {
  position: absolute; left: 222.6px; top: 194.4px;
  transform: translate(-50%, -50%) rotate(-8deg);
  background: var(--amber);
  padding: 9px 16px 7px;
  box-shadow: 0 4px 6px rgba(0,0,0,.3);
  font-family: var(--f-label); font-weight: 700; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; line-height: 1;
}
.proximos__stats {
  position: absolute; left: 0; right: 0; top: 940px;
  font-family: var(--f-label); font-weight: 700; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--pergamino);
}
.proximos__stats i { font-style: normal; margin: 0 .9em; }
.torn--proximos { top: 1029px; height: 61.4px; }
.proximos__sub {
  position: absolute; left: 0; right: 0; top: 262px;
  font-size: 18px; line-height: 1.55; color: var(--pergamino); opacity: .85;
}

/* Upcoming camp: raised and ringed in amber. Others: muted, "coming soon". */
.ticket--next { z-index: 1; transform: translateY(-10px) rotate(1deg) scale(1.05); }
.ticket--next:hover { transform: translateY(-16px) rotate(0deg) scale(1.05); }
.ticket--next .ticket__paper { filter: drop-shadow(0 0 0 var(--amber)) drop-shadow(0 0 22px rgba(232,167,32,.45)); }
.ticket--soon .ticket__photo { filter: grayscale(.85) brightness(.85); }
.ticket--soon .ticket__rows, .ticket--soon .ticket__name, .ticket--soon .ticket__date { opacity: .55; }
.ticket__soon {
  position: absolute; left: 22px; top: 438px; width: 228px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed rgba(22,19,12,.45); border-radius: 999px;
  font-family: var(--f-label); font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: rgba(22,19,12,.7);
  transition: background .15s, color .15s, border-color .15s;
}
.ticket__soon:hover { background: rgba(22,19,12,.08); color: var(--tinta); border-color: var(--tinta); }

/* =========================================================
   04 · Seguridad para padres
   ========================================================= */
.seguridad {
  position: relative;
  height: 900px;
  overflow: hidden;
  background: var(--pergamino);
}
.seguridad__deco { pointer-events: none; }
.seguridad__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 36px;
  padding: 150px 24px;
  text-align: center;
}
.labels { display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 400; }
.labels__row { display: flex; }
.label {
  display: block;
  background: var(--papel);
  border-radius: 4px;
  padding: 16px 26px;
  filter: drop-shadow(0 8px 8px rgba(0,0,0,.25));
  transform: rotate(calc(var(--r) * 1deg));
  font-family: var(--f-display);
  font-size: 52px;
  line-height: 1;
  color: var(--navy);
  white-space: nowrap;
  text-box: trim-both cap alphabetic;
}
.seguridad__body { width: 560px; max-width: 100%; }
.stickers { display: flex; gap: 20px; align-items: flex-start; }
.sticker {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  width: 134px;
  padding: 20px 18px;
  border-radius: 4px;
  color: var(--pergamino);
  text-align: left;
  filter: drop-shadow(0 6px 6px rgba(0,0,0,.22));
  transform: rotate(calc(var(--r) * 1deg));
  transition: transform .2s ease;
}
.sticker:hover { transform: rotate(0deg) scale(1.04); }
.sticker b {
  font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1;
  white-space: nowrap; text-box: trim-both cap alphabetic;
}
.sticker span {
  font-family: var(--f-label); font-weight: 700; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; line-height: 1.1; width: 98px;
}

/* =========================================================
   05 · Un día en Evermonth
   ========================================================= */
.dia {
  position: relative;
  min-height: 900px;
  background: var(--crema);
  display: flex; flex-direction: column; align-items: center;
  gap: 64px;
  padding: 150px 24px;
}
.dia .deco[style*="right"] { left: auto; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.section-head .display { font-size: 64px; color: var(--navy); }
.dia__cards { display: flex; gap: 30px; }
.photo-card {
  position: relative;
  width: 360px; height: 460px;
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 28px;
  color: var(--crema);
}
.photo-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.photo-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.75));
}
.photo-card:hover > img { transform: scale(1.05); }
.photo-card h3, .photo-card p { position: relative; z-index: 1; }
.photo-card h3 {
  font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1;
  text-box: trim-both cap alphabetic;
}
.photo-card p { font-size: 16px; line-height: 1.55; opacity: .9; }

/* =========================================================
   06 · Testimonios
   ========================================================= */
.testimonio {
  position: relative;
  min-height: 840px;
  background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  gap: 100px;
  padding: 150px 24px;
}
.quote { display: flex; flex-direction: column; gap: 36px; width: 600px; margin: 0; }
.quote__text {
  font-family: var(--f-display); font-size: 48px; line-height: 1.12;
  color: var(--pergamino);
  text-box: trim-both cap alphabetic;
}
.quote footer { display: flex; flex-direction: column; gap: 12px; }
.quote cite {
  font-family: var(--f-label); font-weight: 700; font-style: normal; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--pergamino); opacity: .85;
  line-height: 1; text-box: trim-both cap alphabetic;
}
.quote__stars { font-family: var(--f-label); font-weight: 700; font-size: 16px; letter-spacing: .1em; color: var(--amber); line-height: 1; }

.video {
  position: relative;
  width: 480px; height: 540px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  display: grid; place-items: center;
  background: #000;
}
.video__poster, .video__el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.2); pointer-events: none; }
.video.is-playing::after, .video.is-playing .video__poster, .video.is-playing .video__play { display: none; }
.video__play {
  position: relative; z-index: 1;
  width: 96px; height: 96px; padding: 0; border: 0; background: none;
  transition: transform .2s ease;
}
.video__play img { width: 100%; height: 100%; }
.video__play:hover { transform: scale(1.08); }

/* =========================================================
   07 · FAQ
   ========================================================= */
.faq {
  position: relative;
  min-height: 860px;
  background: var(--crema);
  display: flex; gap: 100px; align-items: flex-start;
  padding: 150px 24px 150px max(24px, calc(50% - 570px));
}
.faq__left { display: flex; flex-direction: column; gap: 36px; width: 551px; flex-shrink: 0; }
.faq__head { display: flex; flex-direction: column; gap: 22px; }
.faq__head .display { font-size: 64px; color: var(--navy); }
.note { position: relative; width: 529px; height: 360px; }
.note__card {
  width: 310px;
  background: var(--papel);
  border-radius: 4px;
  padding: 26px;
  box-shadow: 0 8px 16px rgba(0,0,0,.25);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.note__card h3 { font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1; color: var(--navy); text-box: trim-both cap alphabetic; }
.note__card p { font-size: 16px; line-height: 1.5; }

.faq__list { width: 600px; flex-shrink: 1; }
.faq__list details { border-top: 2px solid rgba(13,42,56,.2); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 30px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-label); font-weight: 700; font-size: 19px; letter-spacing: .02em;
  color: var(--navy);
  line-height: 18px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i {
  font-style: normal; font-family: var(--f-display); font-size: 26px; line-height: 18px; color: var(--red);
  transition: transform .2s ease;
}
.faq__list details[open] summary i { transform: rotate(45deg); }
.faq__list summary:hover { color: var(--red); }
.faq__list details p { padding: 0 40px 28px 0; font-size: 17px; line-height: 1.55; }

/* =========================================================
   08 · Cierre
   ========================================================= */
.cierre {
  position: relative;
  height: 809px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  gap: 44px;
  padding: 220px 24px 0;
  text-align: center;
}
.cierre__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(10,34,48,.7), rgba(10,34,48,.7)),
    url("../img/canopy_banderas.webp") 50% 73% / 100% auto no-repeat;
}
.cierre > .eyebrow, .cierre__title, .cierre__cta { position: relative; z-index: 2; }
.cierre__title { font-size: 72px; color: var(--crema); }
.cierre__cta { border-radius: 6px; padding: 20px 30px; letter-spacing: .12em; }
.cierre__pines {
  position: absolute;
  left: 50%; bottom: 0;
  width: 1440px; height: 809px;
  transform: translateX(-50%) scale(var(--s));
  transform-origin: 50% 100%;
  pointer-events: none;
  z-index: 1;
}
.cierre__pines img { position: absolute; height: auto; }

/* =========================================================
   09 · Footer
   ========================================================= */
.footer {
  min-height: 290px;
  background: var(--navy-deep);
  color: var(--pergamino);
  padding: 50px 24px 30px;
}
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 640px 210px 210px 140px;
}
.footer__brand { display: flex; gap: 30px; align-items: flex-start; }
.footer__logo { width: 168px; height: 168px; margin: -6px -14px -22px; }
.footer__name {
  margin-top: 24px;
  font-family: var(--f-display); font-size: 28px; line-height: normal;
  text-shadow: 0 2px 4px rgba(0,0,0,.6);
}
.footer__tag {
  margin-top: 8px;
  font-family: var(--f-label); font-weight: 700; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--amber);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; padding-top: 10px; white-space: nowrap; }
.footer__h {
  font-family: var(--f-label); font-weight: 700; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 10px;
}
.footer__col a, .footer__col span { font-size: 15px; line-height: 20px; opacity: .9; }
.footer__col a:hover { color: var(--amber); opacity: 1; }
.footer__line { max-width: 1200px; height: 1px; margin: 26px auto 0; background: rgba(230,218,180,.25); }
.footer__legal { max-width: 1200px; margin: 22px auto 0; font-size: 13px; opacity: .7; }

/* =========================================================
   Medium screens (1100–1300): shrink the wide grids a bit
   ========================================================= */
@media (max-width: 1300px) {
  .footer__inner { grid-template-columns: 1fr 180px 180px 220px; }
  .testimonio { gap: 60px; }
  .faq { gap: 60px; }
}

/* =========================================================
   Small screens (< 1100): stack everything
   ========================================================= */
@media (max-width: 1099px) {
  .stage { position: relative; left: auto; width: auto; height: auto; margin-left: 0; }
  .pin { position: relative; left: auto; top: auto; transform: rotate(calc(var(--r, 0) * 1deg)); }

  /* Nav */
  .nav__bar { padding: 0 16px 0 20px; height: 68px; }
  .nav__rope--l { left: 40px; } .nav__rope--r { right: 40px; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #3e2a17; border-radius: 12px; padding: 8px 0;
    display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 20px; }
  .nav__logo { order: -1; }
  .nav__logo img { width: 92px; height: 92px; margin: -14px 0; }
  .nav__ctas { flex: 0 0 auto; }
  .nav__ctas .btn--outline { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 44px; height: 44px; margin-left: 10px; padding: 10px;
    background: rgba(0,0,0,.25); border: 0; border-radius: 10px;
  }
  .nav__burger span { height: 2px; background: var(--pergamino); border-radius: 2px; }

  /* Hero */
  .hero { height: auto; min-height: min(100svh, 860px); padding: 170px 16px 90px; }
  .hero__stage { display: flex; flex-direction: column; align-items: center; gap: 40px; }
  .hero__title { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .hero__title .tag { padding: 12px 22px 9px; }
  .hero__title .tag:nth-child(1) { align-self: flex-start; margin-left: 4%; }
  .hero__title .tag:nth-child(3) { align-self: flex-end; margin-right: 4%; }
  .hero__title .tag__txt { font-size: clamp(44px, 13vw, 96px) !important; }
  .hero__arrow { display: none; }
  .hero__bottom { position: static; width: 100%; gap: 22px; }
  .hero__sub { font-size: 18px; }

  /* Casas */
  .casas { height: auto; padding: 90px 16px 230px; }
  .casas__head { position: static; width: auto; gap: 28px; }
  .casas__title { font-size: clamp(36px, 9vw, 60px); }
  .casas__head > .casas__title + .tabs { margin-top: -8px; }
  .tabs { flex-wrap: wrap; justify-content: center; }
  .board {
    position: relative; left: auto; top: auto;
    width: 100%; max-width: 560px; height: auto;
    margin: 50px auto 0;
    padding: 36px 20px 40px;
    display: flex; flex-direction: column; align-items: center; gap: 24px;
  }
  .board__paper { left: 0; top: 0; width: 100%; height: 100%; }
  .board__frame { left: 12px; top: 12px; right: 12px; bottom: 12px; width: auto; height: auto; }
  .board .polaroid, .board__torn, .board .tape, .board__pin, .board [src*="clip"] { display: none; }
  .board__crest { position: relative; left: auto; top: auto; width: min(260px, 70vw); height: auto; }
  .board__cta { position: relative; left: auto; top: auto; }

  /* Próximos */
  .proximos { height: auto; padding: 90px 16px 120px; }
  .proximos > .eyebrow, .proximos__title, .proximos__sub, .tickets, .proximos__stats { position: static; transform: none; }
  .proximos__sub { font-size: 16px; margin: -24px 0 40px; }
  .proximos__sub br { display: none; }
  .ticket--next { transform: none; }
  .proximos__title { font-size: clamp(40px, 10vw, 64px); margin: 18px 0 40px; }
  .tickets { flex-wrap: wrap; justify-content: center; gap: 40px 28px; }
  .proximos__stats { margin-top: 50px; line-height: 2; }
  .proximos__stats i { margin: 0 .4em; }
  .torn--proximos { top: auto; bottom: -10px; }

  /* Seguridad */
  .seguridad { height: auto; }
  .seguridad__deco { display: none; }
  .seguridad__content { padding: 90px 16px 120px; }
  .labels__row { padding: 0 !important; }
  .label { font-size: clamp(36px, 10vw, 52px); }
  .stickers { flex-wrap: wrap; justify-content: center; }

  /* Un día */
  .dia { padding: 90px 16px 120px; gap: 44px; }
  .dia .deco { display: none; }
  .section-head .display { font-size: clamp(36px, 9vw, 64px); }
  .dia__cards { flex-direction: column; width: 100%; max-width: 420px; }
  .photo-card { width: 100%; height: 380px; }

  /* Testimonios */
  .testimonio { flex-direction: column; gap: 50px; padding: 90px 16px 120px; }
  .testimonio .deco { display: none; }
  .quote { width: 100%; max-width: 600px; }
  .quote__text { font-size: clamp(30px, 7vw, 48px); }
  .video { width: 100%; max-width: 480px; height: auto; aspect-ratio: 8 / 9; }

  /* FAQ */
  .faq { flex-direction: column; gap: 50px; padding: 90px 16px; }
  .faq .deco { display: none; }
  .faq__left, .faq__list { width: 100%; max-width: 600px; margin: 0 auto; }
  .faq__head .display { font-size: clamp(36px, 9vw, 64px); }
  .note { width: 100%; height: auto; display: flex; justify-content: center; }
  .note .polaroid, .note .tape { display: none; }
  .faq__list summary { font-size: 17px; padding: 24px 0; }

  /* Cierre */
  .cierre { height: 680px; padding-top: 140px; }
  .cierre .deco { display: none; }
  .cierre__title { font-size: clamp(40px, 10vw, 72px); }
  .cierre__bg { background-size: cover, cover; background-position: 50% 70%; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__brand { grid-column: 1 / -1; align-items: center; gap: 16px; }
  .footer__logo { width: 110px; height: 110px; margin: 0; }
  .footer__name { margin-top: 0; font-size: 24px; }
}

@media (max-width: 520px) {
  .btn--sm { padding: 12px 16px 10px; }
  .ticket { transform: none; }
  .footer__inner { grid-template-columns: 1fr; }
}

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