:root {
  --night: #0b1f3a;
  --night-2: #12305a;
  --glacier: #f4f8fc;
  --ice: #e3edf7;
  --ink: #14202e;
  --muted: #5a6b7d;
  --orange: #f26722;
  --orange-dark: #d4520f;
  --wa: #1fa855;
  --radius: 14px;
  --display: "Archivo", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
/* Typesetting: balanced headings, no lonely last word in paragraphs (non-breaking spaces come from scripts/typo.py) */
h1, h2, h3, .hero__when, .badge { text-wrap: balance; }
p, li, summary, small { text-wrap: pretty; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section--tint { background: var(--glacier); }
.section--dark { background: var(--night); color: #fff; }
.section--dark a:not(.btn) { color: #ffb48a; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.section--dark .lead { color: #c4d3e6; }
.muted { color: var(--muted); }
.nb { white-space: nowrap; }
.mt { margin-top: 56px; }
.center { text-align: center; margin-top: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 700 1rem var(--display); text-decoration: none; letter-spacing: .01em;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { color: #fff; border: 2px solid rgba(255,255,255,.8); }
.btn--ghost-dark { color: var(--night); border: 2px solid var(--night); }
.btn--wa { background: var(--wa); color: #fff; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--night) url(assets/hero.jpg) center/cover;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,.25) 0%, rgba(11,31,58,.35) 40%, rgba(11,31,58,.92) 100%);
}
.hero__content { position: relative; max-width: 1040px; width: 100%; margin: 0 auto; padding: 96px 16px 56px; }
.hero h1 { font-size: clamp(2.8rem, 11vw, 6rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.hero__when { font: 700 1.15rem var(--display); margin-bottom: .8em; }
.hero__lead { font-size: 1.15rem; max-width: 560px; color: #e6eef8; }
.hero__price { font-size: 1.1rem; margin-bottom: 1.4em; }
.hero__price strong { font: 900 1.6rem var(--display); display: block; }
.hero__price span { color: #c4d3e6; }
.hero__price small { display: block; margin-top: 4px; font-size: .85rem; color: #aebfd4; max-width: 420px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1em; }
.badge {
  display: inline-block; background: var(--orange); color: #fff; border-radius: 999px;
  padding: 6px 14px; font: 700 .9rem var(--display);
}
.badge--spots { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.badge[hidden], .spots-line[hidden] { display: none; }
.spots-line { display: inline-block; font: 700 1rem var(--display); color: #ffb48a; margin: -4px 0 0; }

/* Cards */
.cards { display: grid; gap: 16px; margin-top: 24px; }
.card { background: var(--glacier); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: .8rem; display: grid; place-items: center;
}

/* Price */
.total { font: 900 clamp(2.4rem, 9vw, 3.6rem) var(--display); margin: 0 0 .2em; color: var(--night); }
.total strong { color: var(--orange); }
.breakdown { background: #fff; border-radius: var(--radius); margin: 24px 0; box-shadow: 0 1px 0 var(--ice); }
.row {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--ice);
}
.row:last-child { border-bottom: 0; }
.row .what { font-weight: 600; }
.row .much { font: 700 1.1rem var(--display); text-align: right; }
.row .how { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }
.row--opt { color: var(--muted); }
.row--opt em { font-style: normal; font-weight: 400; }
.note { background: #fff4ec; padding: 16px 20px; border-radius: var(--radius); }

/* Food & transport */
.two { display: grid; gap: 40px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  background: var(--night-2); border-radius: var(--radius); padding: 22px;
}
.step p { color: #d6e2f0; }
.step__n {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--night);
  display: grid; place-items: center; font: 900 1.3rem var(--display);
}
.step--warn { outline: 2px solid var(--orange); }
.step--warn .step__n { background: var(--orange); color: #fff; }
.help { text-align: center; padding-top: 8px; }
.help p { font: 700 1.1rem var(--display); }

/* Map */
.map { height: 420px; border-radius: var(--radius); margin: 24px 0 16px; z-index: 0; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); }
.legend li { cursor: pointer; padding: 4px 0; }
.legend li:hover { color: var(--ink); }
.small { font-size: .92rem; margin-top: 12px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--night); margin-right: 10px; }
.dot--home { background: var(--orange); }
.pin {
  width: 22px; height: 22px; border-radius: 50%; background: var(--night);
  border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.pin--home { background: var(--orange); width: 28px; height: 28px; }
.pin-label {
  background: #fff; border: 0; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.25);
  font: 700 12px/1 var(--text); color: var(--night); padding: 4px 6px;
}
.pin-label::before { display: none; }
.leaflet-bar a.map-recenter { display: grid; place-items: center; color: var(--night); }
.leaflet-bar a.map-recenter:hover { color: var(--orange-dark); }
.leaflet-popup-content { font: 15px/1.45 var(--text); }
.leaflet-popup-content strong { font-family: var(--display); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 10px; margin-top: 24px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.gallery .wide, .gallery .wide-sm, .gallery .full { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery .tall-sm { grid-row: span 2; aspect-ratio: auto; }

/* FAQ */
details { border-bottom: 1px solid var(--ice); }
summary { cursor: pointer; font: 700 1.08rem var(--display); list-style: none; padding: 16px 40px 16px 0; position: relative; transition: color .2s; }
summary:hover { color: var(--orange-dark); }
/* Tapping a question on a phone must not select its text or flash a highlight */
summary, .btn, .legend li {
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px;
  border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange);
  transform: translateY(-75%) rotate(45deg); transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
html:not(.js) details[open] summary::after, details.is-open summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-a { overflow: hidden; }
details p { margin: 0; padding: 0 0 18px; color: var(--muted); }

/* Footer */
.footer { background: var(--night); color: #c4d3e6; padding: 48px 0; }
.footer a { color: #fff; }
.footer__title { font: 900 1.3rem var(--display); color: #fff; }
.footer .muted { color: #8ea3bd; font-size: .9rem; }

@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .two { grid-template-columns: 1fr 1fr; gap: 56px; }
  .row { grid-template-columns: 1.4fr auto 1.2fr; align-items: center; }
  .row .how { grid-column: auto; text-align: right; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery .wide, .gallery .wide-lg { grid-column: span 2; aspect-ratio: auto; }
  .gallery .wide-sm { grid-column: auto; aspect-ratio: 4 / 3; }
  .gallery .tall-sm { grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery .full { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
}
