/* Summer Slope — landing page styles
   Photo-led hero over a deep lake blue; the summer sun colour is the accent for actions. */

:root {
  --lake: #16324f;      /* deep Andean lake blue: main text and dark surfaces */
  --lake-2: #22476b;
  --snow: #f6f9fb;      /* page background */
  --ice: #e3edf3;       /* subtle panels, borders */
  --line: #c6d4df;      /* input and outline borders */
  --sun: #ffb238;       /* summer sun: primary actions */
  --sun-deep: #e8901a;
  --rock: #586a7c;      /* secondary text */
  --white: #ffffff;
  --wa: #1f9d55;        /* WhatsApp green, icons only */
  --open: #3ccf7e;      /* "registration is open" dot */

  --radius-s: 8px;
  --radius-l: 18px;
  --gutter: 20px;
  --measure: 760px;
  --wide: 1160px;

  --font-display: "Secular One", "Assistant", system-ui, sans-serif;
  --font-body: "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--snow);
  color: var(--lake);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.wrap, .wrap-wide { width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.wrap { max-width: var(--measure); }
.wrap-wide { max-width: var(--wide); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; }
h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
p { margin: 0 0 0.75rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sun { background: var(--sun); color: var(--lake); }
.btn-sun:hover { background: var(--sun-deep); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }

/* Secondary action on photos: light glass, thinner weight */
.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-weight: 600;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.22); }

/* Secondary action on light backgrounds */
.btn-line {
  background: var(--white);
  color: var(--lake);
  border: 1px solid var(--line);
  font-weight: 600;
}
.btn-line:hover { border-color: var(--lake); }
.btn-line [data-wa] svg, .btn-line svg { color: var(--lake); }
.alt-contact .btn-line:first-child svg { color: var(--wa); }

/* ---------- Header / toolbar ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  color: var(--white);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(22, 50, 79, 0.96);
  box-shadow: 0 2px 16px rgba(10, 25, 40, 0.18);
}
.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav { display: none; gap: 4px; }
.nav a {
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  opacity: 0.92;
}
.nav a:hover { background: rgba(255, 255, 255, 0.14); opacity: 1; }
.bar-end { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.bar-end .btn-sm { display: none; }

/* Language toggle: both options visible, current one filled, same order on both pages */
.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(22, 50, 79, 0.25);
}
.lang a {
  min-width: 40px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.lang a:hover { background: rgba(255, 255, 255, 0.14); }
.lang a[aria-current="page"] { background: var(--white); color: var(--lake); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--lake);
  color: var(--white);
  overflow: hidden;
  padding: 92px 0 0;
  display: flex;
  flex-direction: column;
}

.slides { position: absolute; inset: 0; z-index: 0; }
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.slide.is-on { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(22, 50, 79, 0.7) 0%, rgba(22, 50, 79, 0.36) 45%, rgba(22, 50, 79, 0.82) 100%);
}

.hero-inner { position: relative; z-index: 2; flex: 1; display: grid; align-items: center; gap: 32px; }
.hero-copy { text-shadow: 0 1px 12px rgba(10, 25, 40, 0.35); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 12px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: none;
}
.status .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--open);
  box-shadow: 0 0 0 4px rgba(60, 207, 126, 0.25);
}
.status-light { background: #e7f7ee; border-color: #c4ebd4; color: #136c3c; }

.hero h1 { font-size: clamp(2.6rem, 10.5vw, 4.6rem); line-height: 1.02; margin-bottom: 0.9rem; }
.hero .sub { font-size: 1.2rem; max-width: 34ch; color: #e6eef5; }
.hero .season { font-weight: 700; color: var(--sun); margin-bottom: 1.4rem; }

.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  max-width: 460px;
}
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { width: 22px; height: 22px; flex: none; color: var(--sun); }

/* Two actions, equal width */
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 460px; }
.cta-row .btn { padding: 0 12px; }

/* Price-and-dates panel: desktop only */
.hero-card {
  display: none;
  padding: 26px 28px;
  border-radius: var(--radius-l);
  background: rgba(22, 50, 79, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hc-title { font-weight: 700; color: #d7e4ee; margin-bottom: 0.5rem; }
.hc-price { font-family: var(--font-display); font-size: 2.7rem; line-height: 1.05; margin-bottom: 0.4rem; }
.hc-price .from, .hc-price .per { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: #d7e4ee; }
.hc-price .from { display: block; }
.hc-note { color: #d7e4ee; font-size: 0.98rem; }
.hc-foot { margin: 0.9rem 0 0; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.98rem; }

/* The hook line, pinned to the bottom of the hero */
.bait {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 26px var(--gutter) 18px;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-shadow: 0 1px 12px rgba(10, 25, 40, 0.4);
}
.bait svg { width: 26px; height: 26px; color: var(--sun); }

/* ---------- Sections ---------- */

section.block { padding: 56px 0; }

.cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.cards::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--ice);
}
.card .ph { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ice); }
.card .body { padding: 16px 18px 18px; }
.card p { color: var(--rock); margin: 0; }

/* ---------- Registration ---------- */

.register { background: var(--white); border-block: 1px solid var(--ice); }
.reg-grid { display: grid; gap: 32px; }

.price { font-family: var(--font-display); font-size: clamp(2.4rem, 10vw, 3.2rem); line-height: 1; margin: 0.25rem 0 0.35rem; }
.price .from, .price .per { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; color: var(--rock); }
.price .from { display: block; margin-bottom: 0.35rem; }
.price-note { color: var(--rock); margin-bottom: 1.25rem; }

.dates-title { font-weight: 700; margin-bottom: 0.5rem; }
.dates { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: 8px; }
.dates li { background: var(--ice); border-radius: var(--radius-s); padding: 6px 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dates-dark { margin: 0.9rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dates-dark li { background: rgba(255, 255, 255, 0.16); color: var(--white); padding: 6px 4px; text-align: center; white-space: nowrap; }

.incl { margin-bottom: 0.4rem; }
.incl strong { margin-inline-end: 4px; }

.next-h { font-size: 1.3rem; margin: 1.8rem 0 0.9rem; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lake);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.steps strong { display: block; }
.steps span { color: var(--rock); }

.reg-form {
  background: var(--snow);
  border: 1px solid var(--ice);
  border-radius: var(--radius-l);
  padding: 24px 20px;
}
.form-h { font-size: 1.5rem; margin-bottom: 0.25rem; }

form.lead { display: grid; gap: 14px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.98rem; }
.field .hint { font-weight: 400; color: var(--rock); }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  font: inherit;
  color: var(--lake);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--lake); box-shadow: 0 0 0 3px rgba(255, 178, 56, 0.55); }
.field input[type="tel"] { direction: ltr; text-align: start; }
[dir="rtl"] .field input[type="tel"] { text-align: right; }
fieldset.field { border: 0; padding: 0; margin: 0; }

/* Departure chips (multi-select) */
.deps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.deps label { margin: 0; font-weight: 400; position: relative; }
.deps input { position: absolute; opacity: 0; pointer-events: none; }
.deps span {
  display: block;
  text-align: center;
  padding: 11px 2px;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.deps input:checked + span { background: var(--lake); border-color: var(--lake); color: var(--white); font-weight: 700; }
.deps input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.field-error, .form-error { color: #b42318; font-weight: 600; font-size: 0.92rem; line-height: 1.45; margin: 6px 0 0; display: none; }
.field-error.show, .form-error.show { display: block; }

.field.invalid input, .field.invalid select, .field.invalid .deps span { border-color: #b42318; }
.consent.invalid { color: #b42318; }
.consent.invalid input { outline: 2px solid #b42318; outline-offset: 2px; }
#consent-error { margin-top: -6px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--rock); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--lake); }

/* Honeypot: visually hidden without pushing layout sideways (a -9999px offset breaks RTL pages) */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

form.lead .btn-sun { width: 100%; font-size: 1.15rem; }
.free { text-align: center; color: var(--rock); font-size: 0.95rem; margin: 0; }

.alt-contact { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ice); text-align: center; }
.alt-contact p { margin-bottom: 10px; color: var(--rock); }
.alt-contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.success { display: none; text-align: center; padding: 12px 4px 4px; }
.success.show { display: block; }
.success .check { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; }
.success .check svg { width: 28px; height: 28px; color: var(--lake); }
.success h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.success p { color: var(--rock); }

/* ---------- Itinerary ---------- */

.route { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-weight: 700; margin-bottom: 1rem; }
.route .leg { color: var(--rock); }

details.fold { background: var(--white); border: 1px solid var(--ice); border-radius: var(--radius-l); }
details.fold > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--rock); transition: transform 0.2s ease; }
details.fold[open] > summary::after { transform: rotate(45deg); }

.days { list-style: none; margin: 0; padding: 0 20px 20px; }
.days li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ice); }
.days .d { font-weight: 700; font-variant-numeric: tabular-nums; }
.days .ski .d { color: var(--sun-deep); }
.disclaimer { color: var(--rock); font-size: 0.92rem; margin: 0.75rem 0 0; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; }
.faq details.fold p { padding: 0 20px 18px; margin: 0; color: var(--rock); }

/* ---------- About + footer ---------- */

.about { background: var(--lake); color: var(--white); }
.about p { color: #d7e4ee; }

footer.site-footer { background: var(--lake); color: #b7c9d8; font-size: 0.95rem; padding: 8px 0 110px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
footer a { color: #e3edf3; }
footer .copy { margin-top: 14px; }

/* ---------- Sticky CTA (mobile) ---------- */

.sticky-cta { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 15; display: flex; transition: transform 0.25s ease, opacity 0.25s ease; }
.sticky-cta .btn { flex: 1; box-shadow: 0 6px 20px rgba(22, 50, 79, 0.28); }
.sticky-cta.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ---------- Cookie banner ---------- */

.cookie {
  position: fixed;
  inset-inline: 12px;
  bottom: 12px;
  z-index: 30;
  background: var(--white);
  color: var(--lake);
  border: 1px solid var(--ice);
  border-radius: var(--radius-l);
  padding: 16px 18px;
  box-shadow: 0 10px 30px rgba(22, 50, 79, 0.25);
  max-width: 560px;
  margin-inline: auto;
  display: none;
}
.cookie.show { display: block; }
.cookie p { font-size: 0.95rem; margin-bottom: 12px; }
.cookie .row { display: flex; gap: 10px; }
.cookie .btn { min-height: 44px; flex: 1; font-size: 0.98rem; }

/* The "registration is open" label above the headline shows on desktop only; on phones it's too busy.
   The same label stays next to the price in the registration section. */
.hero-copy .status { display: none; }

/* ---------- Tablet and up ---------- */

@media (min-width: 760px) {
  .bar-end .btn-sm { display: inline-flex; }
  .cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 20px; }
  .sticky-cta { display: none; }
  .reg-form { padding: 32px; }
}

/* ---------- Desktop ---------- */

@media (min-width: 960px) {
  .nav { display: flex; }
  .hero { min-height: clamp(560px, 80vh, 780px); padding-top: 96px; }
  /* Both columns share one row: the panel stretches to exactly the height of the text column,
     so its top lines up with the status label and its bottom with the buttons. */
  .hero-inner { grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr); gap: 56px; align-content: center; align-items: stretch; }
  .hero-card { display: flex; flex-direction: column; }
  .hc-foot { margin-top: auto; }
  .cta-row { margin-bottom: 0; }
  .hero-copy .status { display: inline-flex; }
  .hero .sub { font-size: 1.3rem; }
  .reg-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  section.block { padding: 72px 0; }
}

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