/* FlightCrumbs — "baggage tag" direction.
   Tokens: terminal floor, tag paper, ink, wayfinding yellow on sign graphite,
   visa bands borrowed from tag colour coding (green / amber / red). */
:root {
  --terminal: #E6EBEF;
  --tag: #FFFFFF;
  --ink: #14171C;
  --ink-soft: #5B6470;
  --sign: #262A30;
  --yellow: #FFC20E;
  --free: #1E9E5A;
  --evisa: #E39B12;
  --required: #D9432E;
  --neutral: #8A939E;

  --display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --body: "Golos Text", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --radius: 14px;
  --shadow: 0 1px 0 rgba(20, 23, 28, .06), 0 12px 28px -14px rgba(20, 23, 28, .35);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; } /* .btn / .barcode set display, which would otherwise override [hidden] */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--terminal);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
h1, h2, p { margin: 0; }

/* ---------- Sign header (airport wayfinding) ---------- */
.sign { position: sticky; top: 0; z-index: 10; background: var(--sign); color: #fff; }
.sign__inner {
  max-width: 1240px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 28px;
}
.sign__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 18px var(--display); letter-spacing: .02em; }
.sign__brand b { color: var(--yellow); font-weight: 600; }
.sign__mark { width: 34px; height: 34px; display: block; border-radius: 8px; }
.sign__nav { display: flex; gap: 20px; margin-left: auto; font: 500 14px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.sign__nav a { text-decoration: none; opacity: .8; white-space: nowrap; }
.sign__nav a:hover { opacity: 1; color: var(--yellow); }
.sign__cta { white-space: nowrap; }
.sign__nav .sign__nav-cta { display: none; } /* the CTA lives in the burger panel only */

/* Language switcher: three small flap-like toggles */
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: rgba(255, 255, 255, .08); }
.langs button {
  border: 0; background: transparent; color: #C9D0D8; cursor: pointer;
  font: 700 12px var(--mono); letter-spacing: .06em; padding: 6px 8px; border-radius: 6px;
}
.langs button:hover { color: #fff; }
.langs button[aria-pressed="true"] { background: var(--yellow); color: var(--sign); }

/* Burger (mobile only) */
.burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .08); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 10px; border: 2px solid transparent;
  font: 600 16px var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sign { background: var(--yellow); color: var(--sign); padding: 9px 16px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  max-width: 1240px; margin: 0 auto; padding: 72px 24px 56px;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center;
}
.eyebrow { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.hero__title { margin-top: 18px; font: 800 clamp(34px, 4.6vw, 62px)/1.06 var(--display); letter-spacing: -.02em; }
.hero__lead { margin-top: 22px; max-width: 34em; font-size: 19px; color: #2C323A; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { margin-top: 22px; font: 500 13px var(--mono); color: var(--ink-soft); }
.hero__tag { position: relative; display: flex; justify-content: center; min-height: 520px; padding-top: 70px; }
.hero__tag::before { /* the string the tag hangs from; the tag swings around its hole */
  content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 86px; z-index: 2;
  background: linear-gradient(transparent, var(--ink)); transform: translateX(-1px);
}
.hero__tag .tag { width: min(340px, 100%); align-self: flex-start; transform-origin: 50% 23px; animation: swing 1.6s cubic-bezier(.3, .7, .3, 1) .2s both; }
@keyframes swing {
  0% { transform: rotate(-9deg); }
  35% { transform: rotate(6deg); }
  60% { transform: rotate(-3deg); }
  80% { transform: rotate(1.5deg); }
  100% { transform: rotate(0); }
}

/* ---------- Giveaway announcement (departures-board style strip) ---------- */
.announce { max-width: 1240px; margin: 0 auto 8px; padding: 0 24px; }
.announce__inner {
  display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--sign); color: #fff; box-shadow: var(--shadow);
}
.announce__flap { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 10px; background: var(--yellow); font-size: 26px; }
.announce__text { flex: 1; display: grid; gap: 4px; }
.announce__label { font: 700 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); }
.announce__prize { font: 600 20px var(--display); }
.announce__meta { font-size: 14px; color: #C9D0D8; }
@media (max-width: 720px) {
  .announce__inner { flex-wrap: wrap; }
  .announce__cta { width: 100%; }
}

/* ---------- Board ---------- */
.board { max-width: 1240px; margin: 0 auto; padding: 32px 24px 80px; }
.board__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-title { font: 600 clamp(26px, 3vw, 38px)/1.15 var(--display); letter-spacing: -.01em; }
.board__updated { font: 500 13px var(--mono); color: var(--ink-soft); }
.board__count { margin: 26px 0 0; font: 500 15px var(--mono); }
.board__hint { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.board__hint b { color: var(--ink); }
.board__more { display: flex; justify-content: center; margin-top: 36px; overflow-anchor: none; }
.tags > .tag { scroll-margin-top: 90px; } /* clear the sticky header when scrolled into view */
.tags > .tag:focus { outline: none; }

/* Check-in desk: the filter bar */
.desk {
  margin-top: 22px; padding: 18px; border-radius: var(--radius);
  background: var(--sign); color: #fff;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 2fr; gap: 14px; align-items: end;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); padding: 0; }
.field__control {
  appearance: none; width: 100%; padding: 11px 36px 11px 12px; border-radius: 8px; border: 0;
  font: 500 15px var(--body); color: var(--ink); background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314171C' stroke-width='2'/%3E%3C/svg%3E")
    no-repeat right 12px center;
}
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips legend { float: left; width: 100%; margin-bottom: 6px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .35); font: 500 14px var(--body); user-select: none;
}
.chip input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--sign); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- The baggage tag ---------- */
.tags {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 22px;
}
.tag {
  position: relative; display: flex; flex-direction: column;
  background: var(--tag); border-radius: 18px 18px var(--radius) var(--radius);
  padding: 46px 20px 18px; box-shadow: var(--shadow);
  clip-path: polygon(22% 0, 78% 0, 100% 9%, 100% 100%, 0 100%, 0 9%); /* tag shoulders */
}
.tag__hole {
  position: absolute; top: 12px; left: 50%; width: 22px; height: 22px; transform: translateX(-50%);
  border-radius: 50%; background: var(--terminal); box-shadow: inset 0 0 0 4px #D5DBE1;
}
.tag__band {
  margin: 0 -20px; padding: 7px 20px; color: #fff;
  font: 700 12px var(--mono); text-transform: uppercase; letter-spacing: .08em;
  background: var(--neutral);
}
.tag[data-visa="free"] .tag__band { background: var(--free); }
.tag[data-visa="arrival"] .tag__band { background: var(--free); }
.tag[data-visa="evisa"] .tag__band { background: var(--evisa); }
.tag[data-visa="required"] .tag__band { background: var(--required); }
.tag__codes { margin-top: 16px; display: flex; align-items: center; gap: 10px; font: 700 40px/1 var(--mono); letter-spacing: -.02em; }
.tag__arrow { flex: 1; height: 2px; background: var(--ink); position: relative; min-width: 18px; }
.tag__arrow::after {
  content: ""; position: absolute; right: -1px; top: -5px; border: 6px solid transparent; border-left: 9px solid var(--ink); border-right: 0;
}
.tag[data-round="1"] .tag__arrow::before {
  content: ""; position: absolute; left: -1px; top: -5px; border: 6px solid transparent; border-right: 9px solid var(--ink); border-left: 0;
}
.tag__cities { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.tag__price { margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.tag__amount { font: 800 44px/1 var(--display); letter-spacing: -.03em; }
.tag__off { padding: 4px 8px; border-radius: 6px; background: var(--yellow); font: 700 14px var(--mono); }
.tag__hot { display: none; margin-top: 10px; padding: 7px 10px; border-radius: 8px; background: #FFE8E3; color: #A3301C; font: 600 13px/1.35 var(--body); }
.tag[data-hot="1"] .tag__hot { display: block; }
.tag[data-hot="1"] .tag__off { background: var(--required); color: #fff; }
.tag__usual { margin-top: 6px; font: 500 13px var(--mono); color: var(--ink-soft); }
.tag__usual s { color: var(--ink); }
.tag__facts { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.tag__stub { margin-top: auto; padding-top: 16px; border-top: 2px dashed #CBD2D9; display: grid; gap: 12px; }
.btn--ticket { background: var(--ink); color: #fff; padding: 11px 14px; font-size: 15px; }
.btn--ticket:hover { background: #000; }

/* Barcode = the route's price on each day of the month; our day is yellow */
.barcode { display: flex; align-items: flex-end; gap: 2px; height: 46px; }
.barcode i { flex: 1; min-width: 2px; background: var(--ink); border-radius: 1px 1px 0 0; }
.barcode i.hit { background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink); }

/* ---------- Eurotours ---------- */
.tours { max-width: 1240px; margin: 0 auto; padding: 0 24px 80px; }
.tours__lead { margin-top: 10px; color: var(--ink-soft); max-width: 44em; }
.tours__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.tour { background: var(--sign); color: #fff; border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.tour__codes { font: 700 22px var(--mono); letter-spacing: .02em; color: var(--yellow); }
.tour__price b { font: 800 36px var(--display); letter-spacing: -.02em; }
.tour__price span { color: #C9D0D8; font-size: 14px; }
.tour__dates { font: 500 13px var(--mono); color: #C9D0D8; }
.tour__legs { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1.5px dashed rgba(255, 255, 255, .25); display: grid; gap: 8px; font-size: 14px; }
.tour__legs li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.tour__legs a { color: var(--yellow); font-weight: 600; white-space: nowrap; text-underline-offset: 3px; }

/* ---------- Why ---------- */
.why { background: var(--tag); }
.why, .tg, .faq { padding: 80px 24px; }
.why > *, .tg > *, .faq > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.why__grid { margin-top: 32px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.why__chart .barcode { height: 220px; gap: 6px; }
.why__chart .barcode i { border-radius: 3px 3px 0 0; }
.why__chart .barcode i.hit { box-shadow: 0 0 0 3px var(--ink); }
.why__text { display: grid; gap: 16px; font-size: 18px; }
.why__text mark { background: var(--yellow); padding: 0 4px; border-radius: 3px; }

/* ---------- Telegram ---------- */
.tg__grid { margin-top: 32px; margin-bottom: 32px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.tg__chat { background: #9DB3C6; border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; justify-items: start; }
.bubble { background: #fff; border-radius: 16px 16px 16px 4px; padding: 14px 16px; font-size: 15px; line-height: 1.5; max-width: 360px; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.bubble u { color: #2A73C8; text-decoration-thickness: 1px; }
.bubble__buttons { margin: 12px -6px -6px; }
.bubble__buttons span { display: block; text-align: center; padding: 9px; border-radius: 10px; background: #EEF3F8; color: #2A73C8; font-weight: 500; }
.bubble--edit { background: #E9F7EE; }
.tg__points { margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; font-size: 18px; }
.tg__points li { padding-left: 22px; position: relative; }
.tg__points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--yellow); box-shadow: 0 0 0 2px var(--ink); border-radius: 2px; }

/* ---------- Partner ---------- */
.partner { padding: 80px 24px; }
.partner__card {
  max-width: 1240px; margin: 0 auto; padding: 36px; border-radius: var(--radius);
  background: var(--tag); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 160px 1fr; gap: 36px; align-items: center;
}
.partner__logo { width: 160px; height: 160px; border-radius: 50%; }
.partner__text { display: grid; gap: 14px; }
.partner__text p:not(.eyebrow) { font-size: 18px; max-width: 44em; color: #2C323A; }
.partner__band { background: var(--required); color: #fff; padding: 2px 8px; border-radius: 4px; font: 700 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.partner__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.tag__visa-help { margin: -6px 0 18px; font-weight: 600; font-size: 14px; color: var(--required); text-underline-offset: 3px; }
.tag__visa-help:hover { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { background: var(--tag); }
.faq details { border-top: 1.5px solid #D5DBE1; padding: 18px 0; }
.faq details:last-of-type { border-bottom: 1.5px solid #D5DBE1; }
.faq h2 { margin-bottom: 24px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font: 700 22px var(--mono); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; max-width: 46em; color: #2C323A; }

/* ---------- Footer ---------- */
.foot { background: var(--sign); color: #C9D0D8; padding: 32px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.foot b { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 64px; }
  .hero__tag { min-height: 0; }
  .desk { grid-template-columns: 1fr 1fr; }
  .chips { grid-column: 1 / -1; }
  .why__grid, .tg__grid { grid-template-columns: 1fr; }
  .partner__card { grid-template-columns: 1fr; padding: 26px; gap: 20px; }
  .partner__logo { width: 112px; height: 112px; }
}
/* The header switches to the burger earlier than the page grid: Spanish nav labels are long */
@media (max-width: 1240px) {
  .sign__inner { gap: 12px; }
  .burger { display: flex; }
  .langs { margin-left: auto; }
  .sign__nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 20px;
    background: var(--sign); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .45);
    font-size: 15px;
  }
  .sign__nav.is-open { display: flex; }
  .sign__nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 1; }
  .sign__nav .sign__nav-cta { display: flex; margin-top: 16px; padding: 13px 16px; border: 0; text-transform: none; letter-spacing: 0; font: 600 15px var(--body); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .sign__cta { display: none; } /* it moves into the burger panel */
  .sign__brand > span { display: none; }
  .desk { grid-template-columns: 1fr; }
  .why, .tg, .faq { padding: 56px 18px; }
  .board, .hero { padding-left: 18px; padding-right: 18px; }
  .tag__codes { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__tag .tag { animation: none; }
  .btn { transition: none; }
}
