/* ==========================================================================
   Астурия · лето 2026 — штаб семейной экспедиции
   Warm hand-drawn expedition landing. Plain static stylesheet.
   Palette: sun #F4A93B · teal #2E8B8B · terracotta #C75D3C · green #7BB661
   ========================================================================== */

:root {
  --sun: #F4A93B;
  --teal: #2E8B8B;
  --terra: #C75D3C;
  --green: #7BB661;
  --d-sun: #E08A1E;
  --d-teal: #1F6E6E;
  --d-green: #5E9E4E;

  --ink: #3E2F28;        /* primary text */
  --ink-soft: #5A4A3E;   /* secondary text */
  --ink-mute: #6A5A4E;   /* muted body text */
  --ink-faint: #9A8A7A;  /* labels / captions */

  --paper: #FBF3E2;      /* page background */
  --card: #FFFDF7;       /* card surface */
  --border: #EBDCC0;     /* warm hairline border */

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Nunito, sans-serif;
  color: var(--ink);
  background: var(--paper) url(assets/images/paper.png);
  background-size: 480px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--sun); color: var(--ink); }

/* ---- shared interaction affordances ---- */
.ax-link {
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.ax-link:hover { transform: translateY(-2px); }

.ax-card {
  transition: transform .15s ease, box-shadow .15s ease;
}
.ax-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(120, 90, 50, .18); }

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

@keyframes pop {
  0%   { transform: scale(.92); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

/* ---- layout primitives ---- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 66px 0 40px; scroll-margin-top: 72px; }
.section--sun {
  padding: 56px 0;
  background: #FCEBD0;
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
}
.section--green {
  padding: 56px 0;
  background: #EAF3E2;
  border-top: 1.5px solid #D5E5C7;
  border-bottom: 1.5px solid #D5E5C7;
}
.section--events {
  padding: 56px 0 64px;
  background: #FBEFE0;
  border-top: 1.5px solid var(--border);
}
.section--phrases {
  padding: 56px 0;
  background: #E6F2F0;
  border-top: 1.5px solid #BFE0DC;
  border-bottom: 1.5px solid #BFE0DC;
}

.eyebrow {
  font-family: Caveat, cursive;
  font-weight: 700;
  font-size: 27px;
}
.eyebrow--teal   { color: var(--teal); }
.eyebrow--dteal  { color: var(--d-teal); }
.eyebrow--dsun   { color: var(--d-sun); }
.eyebrow--dgreen { color: var(--d-green); }
.eyebrow--terra  { color: var(--terra); }

.section__title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  margin: 2px 0 8px;
  line-height: 1.02;
}
.section__lead {
  font-size: 17px;
  color: var(--ink-mute);
  line-height: 1.5;
  max-width: 660px;
  margin: 0 0 22px;
}
.section__lead--tight { max-width: 680px; margin-bottom: 12px; }

.t-green { color: var(--d-green); }
.t-sun   { color: var(--d-sun); }
.t-teal  { color: var(--teal); }
.b       { font-weight: 800; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 226, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--border);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__logo {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 19px;
  white-space: nowrap;
}
.nav__dot { color: var(--terra); }

.nav__me {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  cursor: pointer;
  font-family: inherit;
}
.nav__me-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  background: var(--ink-faint);
}
.nav__me-name {
  font-weight: 800;
  font-size: 13.5px;
  color: var(--ink-soft);
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  flex: 1;
  justify-content: flex-end;
}
.nav__link {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav__link--cta {
  color: #fff;
  background: var(--terra);
  padding: 7px 14px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid var(--border);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 32%; /* push the kids/right-side detail into view, keep sky up top */
}
/* Full-bleed glow layer: because it covers the whole hero, the gradient
   fades to full transparency on every side and NO edge/border can show.
   The bright core sits under the headline (left third); the variable
   --hero-glow-x is set by JS to track the text column on wide screens. */
.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* centre (both axes) is set by JS to the middle of the "Астурия, лето 2026"
     title, so the glow always sits under it; fades fully to 0 — no edge */
  background: radial-gradient(ellipse 44% 46% at var(--hero-glow-x, 26%) var(--hero-glow-y, 30%),
    rgba(251, 243, 226, .88) 0%,
    rgba(251, 243, 226, .66) 26%,
    rgba(251, 243, 226, .38) 46%,
    rgba(251, 243, 226, .16) 64%,
    rgba(251, 243, 226, .04) 82%,
    rgba(251, 243, 226, 0) 100%);
}
.hero__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 84px 24px 92px;
}
.hero__copy { position: relative; z-index: 1; max-width: 560px; }
.hero__kicker {
  font-family: Caveat, cursive;
  font-weight: 700;
  font-size: 30px;
  color: var(--terra);
}
.hero__title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 76px);
  line-height: .98;
  margin: 6px 0 14px;
}
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.pill {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 9px 15px;
  border-radius: 999px;
}
.pill--teal { background: var(--teal); color: #fff; font-weight: 800; }
.pill--paper { background: var(--card); border: 1.5px solid var(--border); color: var(--ink-soft); }
/* Caveat runs taller than Nunito; nudge it onto the same optical centre line */
.pill__es { font-family: Caveat, cursive; font-size: 20px; line-height: 1; color: var(--terra); margin-left: 3px; transform: translateY(1px); }

/* per-child travel dates under the hero pills — one chip per line */
.hero__dates {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 22px;
}
.hero__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 253, 247, .82);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.hero__date-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
}

.hero__lead {
  font-size: 18px;
  line-height: 1.9;          /* room so the highlight bands don't touch between lines */
  color: var(--ink);
  max-width: 520px;
  margin: 0 0 26px;
}
/* highlighter effect: translucent yellow runs behind the words on each line,
   hugging the text like a marker rather than a solid block */
.hero__lead span {
  background: rgba(244, 169, 59, .55);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 1px 4px;
  border-radius: 3px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  padding: 13px 22px;
  border-radius: 14px;
}
.btn--sun  { background: var(--sun); color: var(--ink); box-shadow: 0 8px 18px rgba(224, 138, 30, .32); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 8px 18px rgba(31, 110, 110, .30); }
.btn--ghost { background: var(--card); border: 1.5px solid var(--border); color: var(--ink); }

/* ==========================================================================
   MAP / DESTINATIONS
   ========================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}
.filter {
  font-family: inherit;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--ink-soft);
}
.filter.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.places {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.place {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 22px rgba(120, 90, 50, .10);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.place__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.place__badge {
  width: 64px;
  height: 64px;
  flex: none;
  filter: drop-shadow(0 4px 6px rgba(120, 90, 50, .18));
}
.place__meta { flex: 1; min-width: 0; }
.place__name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 2px 0 1px;
  line-height: 1.1;
}
.place__es {
  font-family: Caveat, cursive;
  font-weight: 700;
  font-size: 19px;
  color: var(--terra);
  line-height: 1;
}
.place__area {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 4px;
}
.place__text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}
.place__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.chip {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
}

/* category chip colors */
.cat--city     { background: var(--teal); }
.cat--mountain { background: var(--d-green); }
.cat--beach    { background: var(--sun); }
.cat--history  { background: var(--terra); }
.cat--dino     { background: var(--green); }
.cat--festival { background: var(--terra); }
.cat--active   { background: var(--d-sun); }
.cat--bigtrip  { background: var(--d-teal); }
.cat--rest     { background: var(--green); }

/* selected place card (border color set inline to the active child's color) */
.place.is-selected { border-width: 2px; box-shadow: 0 14px 28px rgba(120, 90, 50, .16); }

/* who else picked this place */
.place__pickers { display: flex; gap: 5px; }
.place__picker-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
}

/* card action row: select toggle + open-on-maps */
.place__actions {
  display: flex;
  gap: 9px;
  margin-top: 4px;
}
.place__select {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.place__select:hover { transform: translateY(-2px); }
.place__select.is-on { color: #fff; }
.place__select-mark { font-weight: 900; }
.place__maps {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 13px;
  border-radius: 12px;
  border: 1.5px solid #BFE0DC;
  background: #E6F2F0;
  color: var(--d-teal);
  white-space: nowrap;
  transition: transform .12s ease, background .15s ease;
}
.place__maps:hover { transform: translateY(-2px); background: #d7ebe7; }
.place__maps-pin { font-size: 14px; }

/* ==========================================================================
   QUIZ 1 — MOODS
   ========================================================================== */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 14px;
  align-items: stretch; /* every card in a row is the same height */
}
.mood {
  font-family: inherit;
  cursor: pointer;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  text-align: left;
  box-shadow: 0 8px 18px rgba(120, 90, 50, .08);
  display: flex;
  flex-direction: column;
  align-items: stretch;      /* content anchored to the top of the card */
  justify-content: flex-start;
}
.mood.is-active { /* border color set inline per-mood */ }
.mood__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;   /* dots sit on the first title line, even if it wraps */
  gap: 10px;
}
.mood__label {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 18.5px;
  text-align: left;
  line-height: 1.1;
}
.mood__dots {
  font-size: 21px;
  line-height: 1.1;          /* match the title so dots align with its first line */
  letter-spacing: 3px;
  white-space: nowrap;
  flex: none;
}
.mood__hint {
  font-size: 13.5px;
  color: var(--ink-mute);
  margin: 8px 0 0;
  text-align: left;
  line-height: 1.4;
}

.balance {
  margin-top: 24px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 22px rgba(120, 90, 50, .10);
}
.balance__title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}
.balance__verdict { font-size: 14px; color: var(--ink-mute); margin: 0 0 14px; }
.balance__bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bar-row__label {
  width: 150px;
  flex: none;
  font-weight: 700;
  font-size: 14px;
}
.bar-row__track {
  flex: 1;
  height: 14px;
  background: #F0E6CF;
  border-radius: 999px;
  overflow: hidden;
}
.bar-row__fill {
  height: 100%;
  border-radius: 999px;
  transition: width .3s ease;
}

/* ==========================================================================
   QUIZ 2 — INTERESTS
   ========================================================================== */
/* "ты отмечаешь как X" banner, shared by every quiz */
.self-hint {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--d-teal);
  background: rgba(230, 242, 240, .8);
  border: 1.5px solid #BFE0DC;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 0 18px;
}

/* coloured initials showing which children chose a card */
.who {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
}
.who__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  box-shadow: 0 1px 2px rgba(120, 90, 50, .25);
}
.who__none { color: #C3B3A2; font-size: 14px; font-weight: 700; }
.mood .who { margin-top: 10px; }
.place .who { margin-top: 2px; }
.event .who { margin: 2px 0 4px; }

/* filters live inside the interests section now */
#interests .filters { margin-bottom: 20px; }

/* the interest grid holds rich .place cards (description + maps + select) */
.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.shared {
  margin-top: 22px;
  background: #E6F2F0;
  border: 1.5px solid #BFE0DC;
  border-radius: 20px;
  padding: 20px 22px;
}
.shared__title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--d-teal);
  margin-bottom: 8px;
}
.shared__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shared__chip {
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 7px 13px;
  border-radius: 999px;
}
.shared__empty { color: #6A8A86; font-size: 14.5px; }

/* ==========================================================================
   QUIZ 3 — PACKING
   ========================================================================== */
.pack-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.count-pill {
  background: var(--card);
  border: 1.5px solid #D5E5C7;
  border-radius: 999px;
  padding: 7px 15px;
  font-weight: 800;
  font-size: 14px;
}
.dot--green { color: var(--d-green); }
.dot--sun   { color: var(--d-sun); }
.dot--teal  { color: var(--teal); }

.pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.pack-cat {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 18px 18px 8px;
  box-shadow: 0 10px 22px rgba(120, 90, 50, .08);
}
.pack-cat__title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.pack-cat__items { display: flex; flex-direction: column; }
.pack-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  background: none;
  border: none;
  border-bottom: 1px solid #F2E8D4;
  padding: 10px 2px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  text-align: left;
}
.pack-item__box {
  flex: none;
  width: 21px;
  height: 21px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  background: #fff;
  border: 2px solid #D9C9B0;
  color: transparent;
}
.pack-item__box--have { background: var(--d-green); border-color: var(--d-green); color: #fff; }
.pack-item__box--buy  { background: var(--d-sun);  border-color: var(--d-sun);  color: #fff; }
.pack-item__box--ask  { background: var(--teal);   border-color: var(--teal);   color: #fff; }
.pack-item__label { flex: 1; line-height: 1.25; }
.pack-item__tag {
  font-size: 12px;
  font-weight: 800;
  flex: none;
  color: #C3B3A2;
}
.pack-item__tag--have { color: var(--d-green); }
.pack-item__tag--buy  { color: var(--d-sun); }
.pack-item__tag--ask  { color: var(--teal); }

/* ==========================================================================
   PASSPORT
   ========================================================================== */
.passport {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: start;
}
.passport__card {
  background: var(--card);
  border: 2px solid var(--teal);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(120, 90, 50, .14);
}
.passport__head {
  background: var(--teal);
  color: #fff;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.passport__head-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .02em;
}
.passport__head-stamp { font-family: Caveat, cursive; font-size: 22px; }
.passport__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.passport__label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 7px;
}
.passport__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.passport__mood {
  background: #FCEBD0;
  border: 1.5px solid #F0D9A8;
  color: #8a5a12;
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 12px;
  border-radius: 999px;
}
.passport__empty { color: var(--ink-faint); font-size: 14px; }
.passport__children {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.passport__child { font-size: 14px; line-height: 1.4; }
.passport__child b { color: var(--terra); }
.passport__ready { font-size: 14px; line-height: 1.5; }
.passport__buy { margin-top: 8px; font-size: 13.5px; color: var(--ink-mute); }
.passport__block--phrases {
  border-top: 1.5px dashed #E0CFAE;
  padding-top: 14px;
}
/* date-window planning block inside the passport */
.windows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.window {
  background: #FCF6EA;
  border: 1.5px solid #EBDCC0;
  border-radius: 14px;
  padding: 12px 14px;
}
.window__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}
.window__title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.window__dates {
  font-size: 12px;
  font-weight: 800;
  color: var(--d-teal);
  white-space: nowrap;
}
.window__hint {
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.4;
  margin: 0 0 8px;
}
.window__items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.window__chip {
  background: #fff;
  border: 1.5px solid #E0CFAE;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 12.5px;
  padding: 4px 10px;
  border-radius: 999px;
}
.window__empty { color: var(--ink-faint); font-size: 13px; }

.passport__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 84px;
}
.passport__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-export {
  flex: 1;
  min-width: 150px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px;
  border-radius: 14px;
  cursor: pointer;
}
.btn-export--copy {
  background: var(--terra);
  color: #fff;
  border: none;
  box-shadow: 0 8px 18px rgba(168, 71, 42, .28);
}
.btn-export--download {
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--ink);
}
.passport__text {
  width: 100%;
  height: 340px;
  resize: vertical;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.passport__note {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin: 0;
  line-height: 1.45;
}

/* ==========================================================================
   EVENTS
   ========================================================================== */
.events__warn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF3D6;
  border: 1.5px solid #F0D9A8;
  color: #8a5a12;
  font-weight: 800;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.events {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  align-items: stretch; /* every event card in a row is the same height */
}
.event {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  gap: 14px;
  box-shadow: 0 10px 22px rgba(120, 90, 50, .09);
}
.event.is-selected { border-width: 2px; border-color: var(--terra); box-shadow: 0 14px 28px rgba(120, 90, 50, .16); }
.event__date {
  flex: none;
  width: 74px;
  text-align: center;
  background: var(--teal);
  color: #fff;
  border-radius: 13px;
  padding: 10px 6px;
  align-self: flex-start;
}
.event__day {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 19px;
  line-height: 1.05;
}
.event__mon {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 3px;
}
.event__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event__title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 3px;
  line-height: 1.15;
}
.event__place {
  font-family: Caveat, cursive;
  font-weight: 700;
  font-size: 18px;
  color: var(--terra);
  line-height: 1;
  margin-bottom: 6px;
}
.event__note {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.45;
  margin: 0 0 10px;
  text-wrap: pretty;
}
.event__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto; /* stick to the bottom so buttons line up across equal-height cards */
  padding-top: 4px;
}
.event__select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  color: var(--ink-soft);
  border: 1.5px solid var(--border);
  background: var(--card);
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, color .15s ease;
}
.event__select:hover { transform: translateY(-2px); }
.event__select.is-on { background: var(--terra); border-color: var(--terra); color: #fff; }
.event__select-mark { font-weight: 900; }
.event__maps {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 11.5px;
  line-height: 1;
  color: var(--d-teal);
  border: 1.5px solid #BFE0DC;
  background: #E6F2F0;
  padding: 7px 11px;
  border-radius: 999px;
  transition: transform .12s ease, background .15s ease;
}
.event__maps:hover { transform: translateY(-2px); background: #d7ebe7; }

/* passport: selected-event chips */
.passport__event {
  background: #FBEFE0;
  border: 1.5px solid #EBD3BC;
  color: #8a4a2c;
  font-weight: 700;
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 999px;
}

/* ==========================================================================
   PHRASEBOOK
   ========================================================================== */
.phrasebook {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.phrase-group {
  background: var(--card);
  border: 1.5px solid #BFE0DC;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 8px 18px rgba(31, 110, 110, .08);
}
.phrase-group__title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--d-teal);
  margin-bottom: 10px;
}
.phrase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding: 7px 0;
  border-bottom: 1px solid #EAF3F1;
}
.phrase:last-child { border-bottom: none; }
.phrase__es {
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}
.phrase__tr {
  font-family: Caveat, cursive;
  font-weight: 700;
  font-size: 17px;
  color: var(--terra);
  line-height: 1.05;
}
.phrase__ru {
  font-size: 13px;
  color: var(--ink-mute);
}

/* ==========================================================================
   DID YOU KNOW
   ========================================================================== */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  align-items: stretch;
}
.fact {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  gap: 14px;
  box-shadow: 0 10px 22px rgba(120, 90, 50, .09);
}
.fact__emoji {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #FCEBD0;
  border: 1.5px solid #F0D9A8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}
.fact__body { min-width: 0; }
.fact__title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 17px;
  margin: 2px 0 5px;
  line-height: 1.15;
}
.fact__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--ink);
  color: #E9DDCB;
  padding: 40px 0 48px;
}
.footer__cheer {
  font-family: Caveat, cursive;
  font-size: 30px;
  color: var(--sun);
}
.footer__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: #C9B9A4;
  max-width: 620px;
  margin: 8px 0 0;
}

/* ==========================================================================
   ENTRY GATE
   ========================================================================== */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(48, 36, 28, .55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gate[hidden] { display: none; }
.gate__panel {
  width: 100%;
  max-width: 460px;
  background: var(--paper) url(assets/images/paper.png);
  background-size: 380px;
  border: 2px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(40, 28, 20, .4);
  padding: 30px 28px;
  animation: pop .22s ease;
}
.gate__hello {
  font-family: Caveat, cursive;
  font-weight: 700;
  font-size: 26px;
  color: var(--terra);
  text-align: center;
}
.gate__title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 27px;
  text-align: center;
  margin: 2px 0 6px;
  line-height: 1.08;
}
.gate__lead {
  text-align: center;
  font-size: 15px;
  color: var(--ink-mute);
  margin: 0 0 22px;
  line-height: 1.45;
}
.gate__choices {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.gate__choice {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .12s, box-shadow .15s;
}
.gate__choice:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(120, 90, 50, .18); }
.gate__choice--guest {
  background: none;
  border: 1.5px dashed #D9C9B0;
  padding: 11px 16px;
  margin-top: 2px;
}
.gate__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
}
.gate__avatar--teal  { background: var(--teal); }
.gate__avatar--terra { background: var(--terra); }
.gate__avatar--sun   { background: var(--sun); }
.gate__avatar--guest {
  width: 40px;
  height: 40px;
  font-size: 19px;
  color: #7B6A5A;
  background: #EFE4CF;
}
.gate__name {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 19px;
  flex: 1;
  text-align: left;
}
.gate__arrow { color: var(--terra); font-size: 22px; }
.gate__guest-copy { flex: 1; text-align: left; }
.gate__guest-main { font-weight: 700; font-size: 16px; color: var(--ink-soft); }
.gate__guest-sub { display: block; font-size: 12.5px; color: var(--ink-faint); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 860px) {
  .passport { grid-template-columns: 1fr; }
  .passport__side { position: static; top: auto; }
}

@media (max-width: 560px) {
  .nav__inner { flex-wrap: wrap; gap: 10px; }
  .nav__links { flex: 1 0 100%; justify-content: flex-start; }
  .hero__inner { padding: 60px 24px 68px; }
  .section,
  .section--sun,
  .section--green,
  .section--events { padding-left: 0; padding-right: 0; }
}
