/* Layout: familiar "social app" feel for a US audience — light gray page,
   white cards, one blue for actions, WhatsApp/Messenger in their own colors. */
:root {
  --blue: #1d64f2;
  --blue-dark: #154fc4;
  --blue-soft: #e8f0fe;
  --whatsapp: #1faa53;
  --whatsapp-dark: #188c44;
  --messenger: #0a7cff;
  --coral: #ff8a5b;

  --bg: #f0f2f5;
  --surface: #ffffff;
  --text: #1c1e21;
  --muted: #5f6670;
  --line: #e3e6ea;

  --radius: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 16px rgba(16,32,64,.06);
  --shadow-lg: 0 12px 40px rgba(16,32,64,.14);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%; max-width: 1140px; margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 10px; border: 0;
  font: 600 16px/1.2 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: scale(.98); }
.btn--sm { padding: 10px 16px; font-size: 15px; }
.btn--lg { padding: 16px 26px; font-size: 17px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--light { background: #e4e6eb; color: var(--text); }
.btn--light:hover { background: #d8dadf; }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--whatsapp-dark); }
.btn--messenger { background: var(--messenger); color: #fff; }
.btn--messenger:hover { background: var(--blue-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 2px 8px rgba(0,0,0,.04);
  padding-top: env(safe-area-inset-top, 0px);
}
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 36px; height: 36px; }
.logo__text { font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: var(--blue); }

.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: 16px; color: var(--muted); transition: background .15s, color .15s; }
.nav a:hover { background: var(--bg); color: var(--text); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; background: var(--bg); border-radius: 10px; padding: 3px; }
.lang__btn { border: 0; background: transparent; color: var(--muted); font: 600 13px/1 var(--font); padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active { background: var(--surface); color: var(--blue); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

.burger { display: none; width: 42px; height: 42px; border: 0; background: var(--bg); border-radius: 10px; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 60%, var(--bg) 100%); padding-block: 64px 72px; }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__content { min-width: 0; }
.hero__place { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; background: var(--blue-soft); border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--blue-dark); }
.hero__place svg { width: 18px; height: 18px; }
.hero__say { font-weight: 400; color: var(--muted); font-style: italic; }
.hero__title { margin-top: 20px; font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; }
.hero__lead { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 34em; }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.checks { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.checks li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--whatsapp) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* Example chat */
.chat { min-width: 0; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; max-width: 420px; width: 100%; justify-self: center; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat__avatar { width: 40px; height: 40px; flex: none; }
.chat__head div { display: flex; flex-direction: column; line-height: 1.25; }
.chat__head strong { font-size: 16px; }
.chat__head small { font-size: 13px; color: var(--muted); }
.chat__tag { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg); padding: 4px 10px; border-radius: 999px; }
.chat__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.bubble--me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bubble--them { align-self: flex-start; background: #e9ebef; color: var(--text); border-bottom-left-radius: 6px; }
.chat__input { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 10px 14px; background: var(--bg); border-radius: 999px; color: var(--muted); font-size: 15px; }
.chat__input svg { width: 20px; height: 20px; color: var(--blue); }

/* ===== Sections ===== */
.section { padding-block: 80px; }
.section--white { background: var(--surface); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section__title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.section__lead { margin-top: 12px; color: var(--muted); font-size: 18px; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.card--wide, .card--soon { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; }
.card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.card__icon svg { width: 28px; height: 28px; }
.card__icon--sand { background: #fff1e0; color: #c96a12; }
.card__icon--blue { background: var(--blue-soft); color: var(--blue); }
.card__icon--green { background: #e3f6ea; color: #17844a; }
.card__icon--coral { background: #ffeae2; color: #d9542a; }
.card__icon--violet { background: #efeafd; color: #6a4fc4; }
.card__title { font-size: 21px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.card__text { color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; background: var(--bg); border-radius: 999px; font-size: 14px; font-weight: 500; }
.card__btn { margin-top: auto; align-self: flex-start; }
.card--soon { background: transparent; box-shadow: none; border: 2px dashed #cfd4dc; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #efeafd; color: #6a4fc4; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px 24px; background: var(--bg); border-radius: var(--radius); }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 16px; }
.step h3 { font-size: 20px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.about__text p { color: var(--muted); font-size: 18px; }
.pillars { display: grid; gap: 14px; }
.pillar { display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.pillar__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 17px; }
.pillar p { margin-top: 2px; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--bg); border-radius: 12px; }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 600; font-size: 18px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 20px; font-weight: 500; color: var(--blue); }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding: 0 20px 20px; color: var(--muted); font-size: 16px; }

/* Contact */
.contact { text-align: center; padding: 56px 24px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); }
.contact__title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.contact__lead { margin: 12px auto 0; color: var(--muted); font-size: 18px; max-width: 32em; }
.contact__buttons { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.contact__buttons .btn { min-width: 200px; }
.contact__more { margin-top: 20px; color: var(--muted); font-size: 15px; }
.contact__more a { color: var(--blue); font-weight: 600; }
.contact__more a:hover { text-decoration: underline; }

/* Floating button */
.fab {
  position: fixed; z-index: 60;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px 14px 16px; border-radius: 999px;
  background: var(--whatsapp); color: #fff; font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 24px rgba(31,170,83,.4);
  transition: transform .15s, background .15s;
}
.fab:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }
.fab svg { width: 22px; height: 22px; }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 36px 96px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__tagline { margin-top: 8px; font-size: 15px; color: var(--muted); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; color: var(--muted); }
.footer__nav a:hover { color: var(--text); }
.footer__copy { font-size: 14px; color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .header__cta { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards > .card:nth-child(4) { grid-column: 1 / -1; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }

  .burger { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    background: var(--surface); box-shadow: 0 12px 24px rgba(0,0,0,.08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 17px; color: var(--text); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .hero { padding-block: 32px 48px; }
  .hero__lead { font-size: 17px; }
  .hero__cta .btn { width: 100%; }
  .section { padding-block: 56px; }
  .cards { grid-template-columns: 1fr; }
  .card--wide, .card--soon { flex-direction: column; }
  .card__btn { align-self: stretch; }
  .contact { padding: 40px 20px; }
  .contact__buttons .btn { width: 100%; }
  .lang__btn { padding: 8px 8px; }
  .logo__text { font-size: 22px; }
  .fab span { display: none; }
  .fab { padding: 16px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

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

/* ================= Subpages ================= */
.card__title a:hover { color: var(--blue); }
.section--tight { padding-block: 8px 80px; }

.page-hero { background: var(--surface); padding-block: 28px 40px; margin-bottom: 40px; box-shadow: 0 1px 0 var(--line); }
.crumb { display: inline-block; font-size: 15px; font-weight: 600; color: var(--blue); margin-bottom: 20px; }
.crumb:hover { text-decoration: underline; }
.page-hero__row { display: flex; align-items: flex-start; gap: 20px; }
.page-hero__icon { width: 64px; height: 64px; border-radius: 18px; }
.page-hero__icon svg { width: 34px; height: 34px; }
.page-hero__text { min-width: 0; }
.page-hero__title { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -.025em; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.page-hero__title .badge { font-size: 14px; letter-spacing: 0; }
.page-hero__lead { margin-top: 12px; font-size: 19px; color: var(--muted); max-width: 40em; }

/* Visa stub */
.stub { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.stub__card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); border: 2px dashed #c9d6f5; min-width: 0; }
.stub__title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.stub__text { color: var(--muted); font-size: 17px; }
.stub__card .btn { margin-top: 8px; }

/* Exchange */
.exchange { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.calc { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); min-width: 0; }
.calc__sample { padding: 10px 14px; border-radius: 10px; background: #fff6e0; color: #8a5a00; font-size: 14px; font-weight: 500; }
.calc__block { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--bg); border-radius: 14px; }
.calc__label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.calc__row { display: flex; gap: 10px; }
.calc__input { flex: 1; min-width: 0; font: 700 32px/1.2 var(--font); color: var(--text); padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); font-variant-numeric: tabular-nums; }
.calc__input:focus, .calc__select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.calc__select { flex: none; max-width: 48%; font: 600 16px/1.2 var(--font); color: var(--text); padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.calc__quick { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 14px/1 var(--font); padding: 9px 14px; border-radius: 999px; cursor: pointer; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.calc__arrow { display: grid; place-items: center; width: 40px; height: 40px; margin: -4px auto; border-radius: 50%; background: var(--blue); color: #fff; position: relative; z-index: 1; }
.calc__arrow svg { width: 20px; height: 20px; }
.calc__block--result { background: #e3f6ea; }
.calc__result { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -.02em; color: #12703c; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc__rate { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.calc__cta { margin-top: 8px; }

.rates { padding: 28px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); min-width: 0; }
.rates__title { font-size: 20px; font-weight: 800; }
.rates__title--gap { margin-top: 28px; }
.rates__table { width: 100%; margin-top: 12px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rates__table th, .rates__table td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.rates__table th { text-align: left; font-weight: 400; }
.rates__table th strong { display: block; font-size: 17px; }
.rates__table th small { color: var(--muted); font-size: 13px; }
.rates__table td { text-align: right; font-weight: 700; font-size: 18px; }
.rates__note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.mini-steps { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.mini-steps li { display: flex; align-items: center; gap: 12px; }
.mini-steps span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 14px; }
.mini-steps p { font-size: 16px; }

/* Food menu */
.menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dish { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.dish__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; max-width: 100%; }
.dish__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.dish__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish__name { font-size: 19px; font-weight: 700; }
.dish__price { flex: none; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.dish__desc { color: var(--muted); font-size: 15px; flex: 1; }
.dish__btn { align-self: flex-start; margin-top: 4px; }
.food-how { margin-top: 32px; padding: 24px 28px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.food-how__title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.food-how p { color: var(--muted); }

@media (max-width: 960px) {
  .stub, .exchange { grid-template-columns: 1fr; }
  .menu { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .page-hero { padding-block: 20px 28px; margin-bottom: 24px; }
  .page-hero__row { flex-direction: column; gap: 14px; }
  .page-hero__icon { width: 52px; height: 52px; }
  .page-hero__lead { font-size: 17px; }
  .stub__card, .calc, .rates { padding: 20px; }
  .stub__card .btn, .calc__cta { width: 100%; }
  .calc__block { padding: 16px; }
  .calc__input { font-size: 26px; }
  .menu { grid-template-columns: 1fr; }
  .dish__btn { align-self: stretch; }
}

/* ================= Interactivity ================= */
/* Hover lift on cards */
.card, .pillar, .step, .dish { transition: transform .2s ease, box-shadow .2s ease; }
.card:not(.card--soon):hover, .dish:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar:hover { transform: translateX(4px); }
.card__icon { transition: transform .3s ease; }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }

/* Chat animation */
.chat__replay { border: 0; background: var(--bg); color: var(--muted); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat__replay:hover { color: var(--blue); }
.chat__replay svg { width: 16px; height: 16px; }
.chat__tag { margin-left: auto; }
.chat__body { min-height: 236px; }
.bubble { transition: opacity .35s ease, transform .35s ease; }
.bubble.is-hidden { display: none; }
.bubble:not(.is-hidden) { animation: pop .35s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.bubble--typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.bubble--typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa1aa; animation: blink 1s infinite ease-in-out; }
.bubble--typing span:nth-child(2) { animation-delay: .15s; }
.bubble--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* Live clock */
.clock { margin-top: 20px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 16px; border-radius: 12px; background: var(--bg); font-size: 15px; }
.clock svg { width: 18px; height: 18px; color: var(--blue); }
.clock__time { font-weight: 700; font-variant-numeric: tabular-nums; }
.clock__rel { color: var(--muted); }
.clock__rel::before { content: "· "; }
.clock__time:empty, .clock__time:empty ~ .clock__rel { display: none; }

/* Tour place picker */
.picks__hint { font-size: 14px; font-weight: 600; color: var(--muted); }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick {
  display: inline-flex; align-items: center; gap: 6px;
  border: 2px solid var(--line); background: var(--surface); color: var(--text);
  font: 600 14px/1 var(--font); padding: 9px 14px; border-radius: 999px; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.pick::before { content: "+"; font-weight: 700; color: var(--blue); }
.pick:hover { border-color: var(--blue); }
.pick:active { transform: scale(.96); }
.pick[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pick[aria-pressed="true"]::before { content: "✓"; color: #fff; }

/* Food: stepper + order bar */
.dish__media { overflow: hidden; }
.dish__img { transition: transform .4s ease; }
.dish:hover .dish__img { transform: scale(1.05); }
.dish.is-picked { box-shadow: 0 0 0 3px var(--blue), var(--shadow); }
.dish__ctrl { margin-top: 4px; min-height: 46px; display: flex; }
.dish__add { padding-inline: 18px; }
.stepper { display: inline-flex; align-items: center; background: var(--blue-soft); border-radius: 10px; padding: 4px; gap: 4px; }
.stepper__btn { width: 38px; height: 38px; border: 0; border-radius: 8px; background: var(--surface); color: var(--blue); font: 700 20px/1 var(--font); cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.stepper__btn:hover { background: var(--blue); color: #fff; }
.stepper__val { min-width: 36px; text-align: center; font-weight: 800; font-size: 18px; color: var(--blue-dark); font-variant-numeric: tabular-nums; }

.order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--surface); box-shadow: 0 -6px 24px rgba(16,32,64,.12);
  padding-block: 12px calc(12px + env(safe-area-inset-bottom, 0px));
  animation: slideUp .3s ease both;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
.order-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.order-bar__info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.order-bar__count { flex: none; display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.order-bar__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.order-bar__label { font-size: 16px; white-space: nowrap; }
.order-bar__list { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-bar__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.order-bar__clear { border: 0; background: transparent; color: var(--muted); font: 600 15px/1 var(--font); padding: 10px; cursor: pointer; border-radius: 8px; }
.order-bar__clear:hover { color: var(--text); background: var(--bg); }
.has-order .fab { display: none; }
.has-order .footer { padding-bottom: 120px; }

@media (max-width: 600px) {
  .chat__body { min-height: 0; }
  .order-bar__clear { display: none; }
  .order-bar__send { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bubble:not(.is-hidden), .order-bar, .bubble--typing span { animation: none; }
  .card:hover, .dish:hover, .pillar:hover { transform: none; }
}

/* ================= Telegram + channel buttons ================= */
:root { --telegram: #229ed9; --telegram-dark: #1b86b9; }
.btn--telegram { background: var(--telegram); color: #fff; }
.btn--telegram:hover { background: var(--telegram-dark); }
.btn--channel { background: var(--whatsapp); color: #fff; }
.btn--channel:hover { background: var(--whatsapp-dark); }
.channel-telegram .btn--channel { background: var(--telegram); }
.channel-telegram .btn--channel:hover { background: var(--telegram-dark); }
.channel-telegram .fab { background: var(--telegram); box-shadow: 0 8px 24px rgba(34,158,217,.4); }
.channel-telegram .fab:hover { background: var(--telegram-dark); }
.ico-tg { display: none; }
.channel-telegram .ico-tg { display: block; }
.channel-telegram .ico-wa { display: none; }
.nav__refer { color: var(--blue) !important; font-weight: 600 !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ================= Referral banner ================= */
.ref-banner { background: #fff6e0; border-bottom: 1px solid #f3e0b0; }
.ref-banner__inner { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.ref-banner__icon { font-size: 22px; flex: none; }
.ref-banner__text { flex: 1; min-width: 0; font-size: 15px; color: #6b4a00; }
.ref-banner__text strong { color: #4d3500; }
.ref-banner__close { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #6b4a00; font-size: 22px; line-height: 1; cursor: pointer; }
.ref-banner__close:hover { background: rgba(0,0,0,.06); }

/* ================= Home teaser ================= */
.refer-teaser { display: flex; align-items: center; gap: 20px; padding: 28px 32px; border-radius: 20px; background: linear-gradient(135deg, #fff6e0, #ffe9dc); border: 1px solid #f6dcc0; }
.refer-teaser__icon { font-size: 44px; flex: none; }
.refer-teaser__text { flex: 1; min-width: 0; }
.refer-teaser__title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.refer-teaser__text p { margin-top: 6px; color: var(--muted); }
#refer + #contact, .section--tight + #contact { padding-top: 24px; }

/* ================= Refer page ================= */
.page-hero__emoji { font-size: 34px; line-height: 1; }
.refer { display: flex; flex-direction: column; gap: 24px; }
.rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reward { display: flex; align-items: center; gap: 18px; padding: 22px 26px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.reward__amount { font-size: 44px; font-weight: 800; letter-spacing: -.03em; color: var(--whatsapp-dark); font-variant-numeric: tabular-nums; flex: none; }
.reward--you .reward__amount { color: var(--blue); }
.reward__label { font-size: 17px; font-weight: 600; }
.refer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.panel { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); min-width: 0; }
.panel--friend { background: #fffaf0; box-shadow: none; border: 2px dashed #f0d9a8; }
.panel__step { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.panel__step--friend { background: #ffe9b8; font-size: 18px; }
.panel__title { font-size: 21px; font-weight: 800; }
.panel__text { color: var(--muted); font-size: 15px; }
.panel__buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.code-form { display: flex; gap: 8px; }
.code-input { flex: 1; min-width: 0; font: 700 18px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); }
.code-input::placeholder { color: #b4bac3; }
.code-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form-error { color: #c62828; font-size: 14px; font-weight: 500; }
.share { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: var(--bg); }
.share__link { font-size: 14px; font-weight: 600; color: var(--blue-dark); overflow-wrap: anywhere; user-select: all; }
.share__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share__status { font-size: 14px; color: var(--whatsapp-dark); font-weight: 600; }
.share__status:empty { display: none; }
.applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #e3f6ea; color: #12703c; font-weight: 600; font-size: 15px; }
.applied[hidden] { display: none; }
.applied__remove { border: 0; background: transparent; color: #12703c; text-decoration: underline; font: 600 14px/1 var(--font); cursor: pointer; flex: none; }
.rules { padding: 24px 28px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
.rules__title { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.rules__list { display: flex; flex-direction: column; gap: 8px; }
.rules__list li { position: relative; padding-left: 26px; color: var(--muted); }
.rules__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--whatsapp); font-weight: 800; }

@media (max-width: 960px) {
  .refer__grid { grid-template-columns: 1fr; }
  .refer-teaser { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .rewards { grid-template-columns: 1fr; }
  .reward { padding: 18px 20px; }
  .reward__amount { font-size: 36px; }
  .refer-teaser { padding: 22px 20px; }
  .refer-teaser .btn { width: 100%; }
  .code-form { flex-direction: column; }
  .panel { padding: 20px; }
}

/* ================= Visa run page ================= */
.vr-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.vr-cta .btn--light svg { width: 20px; height: 20px; }
.vr-note { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 46em; }
.vr-note:empty { display: none; }
.vr-ref { margin-top: 12px; display: inline-block; padding: 8px 12px; border-radius: 10px; background: #fff6e0; color: #6b4a00; font-size: 14px; font-weight: 500; }
.vr-ref[hidden] { display: none; }
.vr { display: flex; flex-direction: column; gap: 40px; }
.vr-block { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.vr-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vr-h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.vr-sub { color: var(--muted); margin-top: -8px; }

.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.route { display: flex; gap: 16px; padding: 22px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.route__flag { font-size: 40px; line-height: 1; flex: none; }
.route__name { font-size: 20px; font-weight: 800; }
.route__meta { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--blue); }
.route__text { margin-top: 8px; color: var(--muted); font-size: 15px; }
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding: 18px 22px; background: var(--surface); border-radius: var(--radius); }
.included li { position: relative; padding-left: 28px; font-size: 15px; }
.included li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #e3f6ea; color: #17844a; font-size: 12px; font-weight: 800; display: grid; place-items: center; }

.live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #e3f6ea; color: #17844a; font-size: 13px; font-weight: 700; }
.live[hidden] { display: none; }
.live__dot { width: 8px; height: 8px; border-radius: 50%; background: #1faa53; animation: blink 1.6s infinite; }
.sched { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.sched__state { padding: 22px; color: var(--muted); }
.sched__empty { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px; }
.sched__empty p { flex: 1 1 280px; color: var(--muted); }
.sched__list { display: flex; flex-direction: column; }
.dep { display: grid; grid-template-columns: 110px 1fr 70px 220px 150px; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.dep:last-child { border-bottom: 0; }
.dep__date { font-weight: 700; }
.dep__route { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-width: 0; }
.dep__flag { font-size: 18px; }
.dep__name { font-weight: 600; }
.dep__border { color: var(--muted); font-size: 13px; }
.dep__time { color: var(--muted); }
.dep__price { font-weight: 600; }
.pill { justify-self: end; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill--ok { background: #e3f6ea; color: #17844a; }
.pill--warn { background: #fff1e0; color: #b35a00; }
.pill--info { background: var(--blue-soft); color: var(--blue-dark); }
.sched__hint { font-size: 15px; color: var(--muted); }

.visas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.visa-opt { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.visa-opt strong { font-size: 17px; }
.visa-opt__fee { font-size: 24px; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; }
.visa-opt small { color: var(--muted); font-size: 14px; }

.flow { display: flex; flex-direction: column; gap: 0; counter-reset: none; }
.flow__step { position: relative; display: flex; gap: 18px; padding-bottom: 22px; }
.flow__step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.flow__num { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 2px solid var(--blue); color: var(--blue); font-weight: 800; font-size: 18px; }
.flow__body { padding-top: 8px; min-width: 0; }
.flow__body h3 { font-size: 19px; }
.flow__body p { margin-top: 4px; color: var(--muted); font-size: 16px; max-width: 46em; }
.flow__step--key .flow__num { background: var(--telegram); border-color: var(--telegram); color: #fff; }
.flow__step--key .flow__body h3 { color: var(--telegram-dark); }
.tip { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; background: #fff6e0; border: 1px solid #f3e0b0; }
.tip__icon { font-size: 20px; flex: none; }
.tip p { color: #4d3500; font-size: 15px; }

.club { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; border-radius: 20px; background: linear-gradient(135deg, #e8f4fb, #eef0ff); border: 1px solid #d6e6f5; }
.club__text { flex: 1 1 420px; min-width: 0; }
.club__title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.club__list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.club__list li { position: relative; padding-left: 24px; }
.club__list li::before { content: "★"; position: absolute; left: 0; color: #f0a800; }
.club__note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.faq__list--left { margin: 0; max-width: 820px; }
.vr-help { font-size: 15px; color: var(--muted); }
.vr-help a { color: var(--telegram-dark); font-weight: 700; }

@media (max-width: 960px) {
  .dep { grid-template-columns: 100px 1fr auto; grid-template-areas: "date route pill" "date time price"; row-gap: 2px; }
  .dep__date { grid-area: date; }
  .dep__route { grid-area: route; }
  .dep__time { grid-area: time; }
  .dep__price { grid-area: price; justify-self: end; }
  .pill { grid-area: pill; }
  .visas { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .vr-cta .btn { width: 100%; }
  .routes, .included { grid-template-columns: 1fr; }
  .dep { grid-template-columns: 1fr auto; grid-template-areas: "date pill" "route route" "time price"; padding: 14px 16px; }
  .club { padding: 22px 20px; }
  .club .btn { width: 100%; }
}

/* ================= Visa run: tabs ================= */
.page-hero:has(+ .tabs-bar) { margin-bottom: 0; box-shadow: none; padding-bottom: 24px; }
.tabs-bar { background: var(--surface); box-shadow: 0 1px 0 var(--line); margin-bottom: 32px; position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 40; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tab { position: relative; border: 0; background: transparent; padding: 14px 18px; font: 600 16px/1.2 var(--font); color: var(--muted); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--blue); }
.tab[aria-selected="true"]::after { background: var(--blue); }
.tab__badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); }
[role="tabpanel"][hidden] { display: none; }

/* ================= Booking ================= */
.booking { max-width: 860px; display: flex; flex-direction: column; gap: 20px; }

/* Road trip progress */
.trip { --p: 0; padding: 18px 20px 14px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 70px); }
.trip__ends { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; }
.trip__end--to { text-align: right; color: var(--blue-dark); }
.trip__road { position: relative; height: 84px; margin-top: 8px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #dff0ff 0%, #eaf6ff 46%, #c9ead2 46%, #bfe3c8 100%); }
.trip__scenery { position: absolute; inset: 0 0 auto 0; height: 46%;
  background:
    radial-gradient(circle at 88% 34%, #ffd96a 0 9px, transparent 10px),
    linear-gradient(150deg, transparent 54%, #9dc7b0 55%) 0 100% / 90px 30px repeat-x,
    linear-gradient(210deg, transparent 54%, #9dc7b0 55%) 45px 100% / 90px 30px repeat-x,
    linear-gradient(150deg, transparent 60%, #7fb596 61%) 20px 100% / 140px 22px repeat-x,
    linear-gradient(210deg, transparent 60%, #7fb596 61%) 90px 100% / 140px 22px repeat-x; }
.trip__lane { position: absolute; left: 0; right: 0; bottom: 14px; height: 26px; background: #59616b; }
.trip__lane::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px;
  background: repeating-linear-gradient(90deg, #f2f2f2 0 16px, transparent 16px 30px); }
.trip.is-moving .trip__lane::after { animation: lane .5s linear infinite; }
@keyframes lane { to { background-position: -30px 0; } }
.trip__done { position: absolute; left: 0; bottom: 14px; height: 26px; width: calc(var(--p) * 100%); background: rgba(29,100,242,.22); transition: width 1s cubic-bezier(.3,.7,.3,1); }
.trip__car { position: absolute; bottom: 20px; left: calc(var(--p) * (100% - 120px) + 4px); width: 96px; transition: left 1s cubic-bezier(.3,.7,.3,1); }
.trip__car svg { width: 100%; height: auto; display: block; }
.trip.is-moving .trip__car svg { animation: bump .25s ease-in-out infinite alternate; }
.trip.is-moving .trip__wheel { animation: spin .4s linear infinite; }
.trip__wheel { transform-box: fill-box; transform-origin: center; }
@keyframes bump { to { transform: translateY(-1.5px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.trip__flagpole { position: absolute; right: 8px; bottom: 30px; font-size: 26px; line-height: 1; transition: transform .4s; }
.trip.is-arrived .trip__flagpole { transform: scale(1.25) rotate(-8deg); }
.trip__status { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--blue-dark); min-height: 1.6em; }

/* Steps indicator */
.steps-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.steps-nav li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); text-align: center; }
.steps-nav span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); font-weight: 800; font-size: 14px; }
.steps-nav em { font-style: normal; font-weight: 600; }
.steps-nav li.is-current { color: var(--blue); }
.steps-nav li.is-current span { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.steps-nav li.is-done span { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Wizard */
.wizard { display: flex; flex-direction: column; gap: 20px; padding: 28px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); }
.wstep { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.wstep[hidden] { display: none; }
.wstep__title { padding: 0; font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.02em; outline: none; }
.wstep__help { color: var(--muted); margin-top: -6px; }
.wstep__note { padding: 12px 14px; border-radius: 12px; background: var(--bg); color: var(--muted); font-size: 15px; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border: 2px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .15s, box-shadow .15s, background .15s; }
.choice__box--row { flex-direction: row; align-items: center; gap: 14px; }
.choice__box strong { font-size: 17px; }
.choice__box small { color: var(--blue); font-weight: 600; font-size: 14px; }
.choice__text { color: var(--muted); font-size: 14px; margin-top: 4px; }
.choice__flag { font-size: 30px; line-height: 1; }
.choice:hover .choice__box { border-color: #a9c4f9; }
.choice input:checked + .choice__box { border-color: var(--blue); background: #f5f8ff; box-shadow: 0 0 0 4px var(--blue-soft); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice--wide .choice__box { padding: 14px 16px; }
.dep-choices { display: flex; flex-direction: column; gap: 10px; }
.dep-date { display: flex; flex-direction: column; align-items: center; width: 56px; flex: none; padding: 6px 0; border-radius: 10px; background: var(--blue-soft); color: var(--blue-dark); line-height: 1.1; }
.dep-date b { font-size: 22px; }
.dep-date small { font-size: 11px; text-transform: uppercase; color: var(--blue-dark) !important; }
.dep-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.dep-info small { color: var(--muted) !important; font-weight: 500 !important; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field[hidden] { display: none; }
.field__label { font-weight: 700; font-size: 15px; }
.field__opt { font-weight: 500; color: var(--muted); font-size: 13px; }
.field__hint { font-size: 13px; color: var(--muted); }
.field__warn { font-size: 14px; font-weight: 600; color: #b35a00; background: #fff1e0; padding: 8px 12px; border-radius: 10px; }
.field__warn[hidden] { display: none; }
.field-error { font-size: 14px; font-weight: 600; color: #c62828; }
.field-error::before { content: "⚠ "; }
.field-error[hidden] { display: none; }
.input { width: 100%; font: 500 17px/1.3 var(--font); color: var(--text); padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); }
textarea.input { resize: vertical; min-height: 84px; }
select.input { cursor: pointer; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.input[aria-invalid="true"], .visa-pick[aria-invalid="true"] { border-color: #e04848; }
.input--code { text-transform: uppercase; letter-spacing: .04em; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span { display: grid; place-items: center; padding: 0 12px; border: 2px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; background: var(--bg); font-weight: 700; color: var(--muted); }
.input-prefix .input { border-radius: 0 12px 12px 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg); gap: 4px; align-self: flex-start; }
.seg__opt { position: relative; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; }
.seg__opt span { display: block; padding: 10px 18px; border-radius: 9px; font-weight: 700; color: var(--muted); }
.seg__opt input:checked + span { background: var(--surface); color: var(--blue); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--blue); }

.pax-count { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.stepper--lg .stepper__btn { width: 44px; height: 44px; font-size: 22px; }
.stepper--lg .stepper__val { min-width: 44px; font-size: 20px; }
.stepper__btn:disabled { opacity: .4; cursor: not-allowed; }
.pax-list { display: flex; flex-direction: column; gap: 16px; }
.pax { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 16px; border: 2px solid var(--line); }
.pax__title { font-size: 18px; font-weight: 800; color: var(--blue-dark); }
.visa-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-radius: 12px; }
.vchoice { position: relative; cursor: pointer; }
.vchoice input { position: absolute; opacity: 0; }
.vchoice span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px; border: 2px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s; }
.vchoice strong { font-size: 15px; }
.vchoice em { font-style: normal; font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; }
.vchoice small { font-size: 12px; color: var(--muted); }
.vchoice:hover span { border-color: #a9c4f9; }
.vchoice input:checked + span { border-color: var(--blue); background: #f5f8ff; }
.vchoice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.review { display: flex; flex-direction: column; gap: 12px; }
.review__sec { padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review__head h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.review__edit { border: 0; background: transparent; color: var(--blue); font: 700 14px/1 var(--font); cursor: pointer; padding: 6px; border-radius: 6px; }
.review__edit:hover { background: var(--blue-soft); }
.review__sec ul { margin-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.review__sec li { overflow-wrap: anywhere; }
.total { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; border: 2px solid var(--blue-soft); font-variant-numeric: tabular-nums; }
.total__row { display: flex; justify-content: space-between; gap: 12px; }
.total__row span:last-child { font-weight: 700; text-align: right; }
.total__row--sum { padding-top: 8px; border-top: 1px solid var(--line); font-size: 19px; }
.total__row--sum span:last-child { color: var(--blue); font-weight: 800; }
.nopay { font-size: 15px; font-weight: 600; color: #17844a; }

.wnav { display: flex; justify-content: space-between; gap: 12px; padding-top: 4px; border-top: 1px solid var(--line); padding-top: 20px; }
.wnav[hidden] { display: none; }
.wnav #nextBtn { margin-left: auto; min-width: 180px; }
.wnav #backBtn[hidden] { display: none; }

.wdone { align-items: center; text-align: center; outline: none; }
.wdone__icon { font-size: 56px; animation: pop .5s ease both; }
.wdone__text { color: var(--muted); max-width: 36em; }
.wdone__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.wdone__actions .btn[hidden] { display: none; }
.wdone__msg { width: 100%; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; font: 500 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 16px; border-radius: 14px; background: var(--bg); max-height: 320px; overflow: auto; }
.wdone__next { text-align: left; display: flex; flex-direction: column; gap: 8px; counter-reset: n; align-self: stretch; }
.wdone__next li { position: relative; padding-left: 36px; counter-increment: n; }
.wdone__next li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 13px; display: grid; place-items: center; }

@media (max-width: 700px) {
  .choice-grid, .visa-pick { grid-template-columns: 1fr; }
  .steps-nav em { display: none; }
  .wizard { padding: 20px 16px; }
  .trip { padding: 14px 14px 10px; }
  .trip__road { height: 72px; }
  .trip__car { width: 80px; left: calc(var(--p) * (100% - 104px) + 4px); }
  .wnav .btn { flex: 1; min-width: 0 !important; }
  .wdone__actions .btn { width: 100%; }
  .pax { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .trip__car, .trip__done { transition: none; }
  .trip.is-moving .trip__lane::after, .trip.is-moving .trip__car svg, .trip.is-moving .trip__wheel { animation: none; }
}
.choice__box--row > span:not(.choice__flag):not(.pill):not(.dep-date):not(.dep-info) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

/* ================= Vietnam road scene (overrides) ================= */
.trip__road { height: 132px; background: none; isolation: isolate; }
.trip__scenery { display: none; }
.trip__sky { position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(180deg, #5d6fb3 0%, #c98fb0 38%, #f6b48a 62%, #ffd9a6 78%); }
.trip__sky--day { background: linear-gradient(180deg, #8ecdf7 0%, #c4e6fb 55%, #e9f7ff 78%);
  opacity: var(--p); transition: opacity 1s ease; }
.trip__sun { position: absolute; z-index: -2; width: 22px; height: 22px; border-radius: 50%;
  background: #ffd75e; box-shadow: 0 0 0 6px rgba(255,215,94,.3), 0 0 24px 8px rgba(255,200,80,.35);
  left: calc(18% + var(--p) * 50%); bottom: calc(52px + var(--p) * 48px);
  transition: left 1s cubic-bezier(.3,.7,.3,1), bottom 1s cubic-bezier(.3,.7,.3,1); }
/* hills get taller towards the highlands and the border */
.trip__hills { position: absolute; z-index: -1; left: 0; right: 0; bottom: 40px; height: 64px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64V56l40-6 40 4 50-14 40 6 40-22 30 12 40-26 30 14 40-20 30 16 V64z' fill='%2389b9a0'/%3E%3Cpath d='M0 64V60l60-4 60 2 60-10 50 4 50-16 40 8 50-18 30 8 V64z' fill='%236fa588'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.trip__sea { position: absolute; z-index: -1; left: 0; width: 17%; bottom: 40px; height: 14px;
  background: repeating-linear-gradient(90deg, #3aa6d9 0 10px, #5cc0ea 10px 18px); border-radius: 0 8px 0 0; }
.trip__ground { position: absolute; z-index: -1; left: 0; right: 0; bottom: 8px; height: 34px; background: #9ccf7a; }
.trip__paddy { position: absolute; z-index: -1; left: 22%; width: 30%; bottom: 40px; height: 9px;
  background: repeating-linear-gradient(90deg, #7fc35f 0 6px, #a9dd7f 6px 9px, #8fd0e0 9px 11px); border-radius: 3px 3px 0 0; }
.prop { position: absolute; left: var(--x); bottom: 40px; height: var(--h); width: auto; z-index: 0; }
.prop--gate { z-index: 0; }
.trip__lane { bottom: 6px; height: 36px; background: #5b6370; z-index: 1; }
.trip__lane::after { top: 17px; }
.trip__done { bottom: 6px; height: 36px; z-index: 1; background: rgba(29,100,242,.18); }
.trip__moto { position: absolute; z-index: 2; bottom: 26px; height: 18px; width: auto; left: 100%;
  animation: moto 12s linear infinite; }
@keyframes moto { from { left: 102%; } to { left: -12%; } }
.trip__car { z-index: 3; bottom: 6px; width: 140px; left: calc(var(--p) * (100% - 176px) + 6px); }
.trip__beam { opacity: 0; }
.trip.is-moving .trip__beam { opacity: 1; }
.trip__flagpole { z-index: 2; right: auto; left: calc(89% + 18px); bottom: 84px; font-size: 22px; }
.trip.is-arrived .trip__sky--day { opacity: 1; }

@media (max-width: 700px) {
  .trip__road { height: 116px; }
  .trip__car { width: 112px; left: calc(var(--p) * (100% - 146px) + 4px); }
  .prop { transform: scale(.82); transform-origin: bottom left; }
  .trip__flagpole { left: calc(89% + 14px); bottom: 74px; }
  .trip__sea { width: 14%; }
}
@media (prefers-reduced-motion: reduce) {
  .trip__moto { animation: none; left: 46%; }
  .trip__sky--day, .trip__sun { transition: none; }
}
.trip__ground { bottom: 0; height: 42px; }
@media (max-width: 700px) {
  .prop--gate { left: auto; right: -4px; transform-origin: bottom right; }
  .trip__flagpole { left: auto; right: 14px; }
}
@media (max-width: 700px) { .trip__status { padding-right: 64px; } }

/* ================= Oncoming traffic ================= */
.trip__moto { position: absolute; z-index: 2; bottom: 20px; width: auto; left: 102%;
  animation: moto 22s linear infinite; }
.trip__moto--1 { height: 44px; animation-delay: 0s; }
.trip__moto--2 { height: 46px; animation-delay: -5.5s; }
.trip__moto--3 { height: 54px; animation-delay: -11s; }
.trip__moto--4 { height: 66px; animation-delay: -16.5s; }
@keyframes moto { from { left: 102%; } to { left: -22%; } }
.trip__moto .bk-wheel { transform-box: fill-box; transform-origin: center; animation: spin .5s linear infinite reverse; }
.trip__moto { animation-timing-function: linear; }
.trip__moto--2 { animation-name: moto, wobble; animation-duration: 22s, .6s; animation-iteration-count: infinite, infinite; animation-direction: normal, alternate; animation-timing-function: linear, ease-in-out; }
@keyframes wobble { from { translate: 0 0; } to { translate: 0 -1px; } }
@media (max-width: 700px) {
  .trip__moto { animation-duration: 16s; }
  .trip__moto--2 { animation-duration: 16s, .6s; }
  .trip__moto--1 { height: 36px; animation-delay: 0s; }
  .trip__moto--2 { height: 38px; animation-delay: -4s, 0s; }
  .trip__moto--3 { height: 44px; animation-delay: -8s; }
  .trip__moto--4 { height: 54px; animation-delay: -12s; }
}
@media (prefers-reduced-motion: reduce) {
  .trip__moto, .trip__moto .bk-wheel { animation: none !important; }
  .trip__moto--1 { left: 20%; } .trip__moto--2 { left: 42%; } .trip__moto--3 { left: 62%; } .trip__moto--4 { left: 80%; }
}
.trip__moto--1 { height: 56px; } .trip__moto--2 { height: 58px; } .trip__moto--3 { height: 68px; } .trip__moto--4 { height: 82px; }
.trip__moto { bottom: 18px; }
@media (max-width: 700px) {
  .trip__moto--1 { height: 44px; } .trip__moto--2 { height: 46px; } .trip__moto--3 { height: 54px; } .trip__moto--4 { height: 66px; }
}
/* five bikes, evenly spaced */
.trip__moto--1 { animation-delay: 0s; }
.trip__moto--2 { animation-delay: -4.4s, 0s; }
.trip__moto--3 { animation-delay: -8.8s; }
.trip__moto--5 { height: 66px; animation-delay: -13.2s; }
.trip__moto--4 { animation-delay: -17.6s; }
@media (max-width: 700px) {
  .trip__moto--1 { animation-delay: 0s; }
  .trip__moto--2 { animation-delay: -3.2s, 0s; }
  .trip__moto--3 { animation-delay: -6.4s; }
  .trip__moto--5 { height: 52px; animation-delay: -9.6s; }
  .trip__moto--4 { animation-delay: -12.8s; }
}
@media (prefers-reduced-motion: reduce) {
  .trip__moto--1 { left: 18%; } .trip__moto--2 { left: 36%; } .trip__moto--3 { left: 54%; } .trip__moto--5 { left: 70%; } .trip__moto--4 { left: 84%; }
}

/* ================= Stay calculator ================= */
.seg--wrap { flex-wrap: wrap; }
.visa-pick--3 { grid-template-columns: repeat(3, 1fr); }
.vchoice span strong { line-height: 1.3; }
.input--short { max-width: 160px; }
.wc-result { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line);
  --tone: #17844a; --tone-soft: #e3f6ea; }
.wc-result[hidden] { display: none; }
.wc-result[data-tone="soon"] { --tone: #b35a00; --tone-soft: #fff1e0; }
.wc-result[data-tone="urgent"], .wc-result[data-tone="over"] { --tone: #c62828; --tone-soft: #fde8e8; }
.wc-big { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--tone-soft); }
.wc-big__label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.wc-big__date { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.wc-big__left { font-size: 20px; font-weight: 800; color: var(--tone); font-variant-numeric: tabular-nums; }
.wc-bar { --f: 0; position: relative; height: 14px; border-radius: 999px; background: var(--bg); overflow: visible; margin: 10px 0 4px; }
.wc-bar__fill { height: 100%; width: calc(var(--f) * 100%); border-radius: 999px;
  background: var(--tone); transition: width .6s ease, background .3s; }
.wc-bar__bus { position: absolute; top: 50%; left: calc(var(--f) * 100%); transform: translate(-50%, -58%) scaleX(-1); font-size: 24px; transition: left .6s ease; }
.wc-msg { font-weight: 700; color: var(--tone); }
.wc-h3 { font-size: 18px; font-weight: 800; }
.wc-trips, .wc-remind { display: flex; flex-direction: column; gap: 10px; }
.wc-trip-list { display: flex; flex-direction: column; gap: 8px; }
.wc-trip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); }
.wc-trip__flag { font-size: 26px; flex: none; }
.wc-trip__main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.wc-trip__main small { color: var(--muted); }
.wc-other { align-self: flex-start; }
.wc-remind__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.wc-remind__buttons [hidden] { display: none; }
.btn--disabled { opacity: .6; cursor: default; }
.btn--disabled:hover { transform: none; }

/* ================= Packing list ================= */
.ck-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ck-progress { display: flex; align-items: center; gap: 12px; flex: 1 1 260px; min-width: 0; }
.ck-progress__icon { font-size: 32px; }
.ck-progress__body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ck-progress__bar { height: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.ck-progress__bar div { height: 100%; width: 0; border-radius: 999px; background: var(--blue); transition: width .4s ease; }
.ck-progress.is-complete strong { color: #17844a; }
.ck-progress.is-complete .ck-progress__bar div { background: #1faa53; }
.ck-list { display: flex; flex-direction: column; gap: 18px; }
.ck-group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ck-group__title { padding: 0; margin-bottom: 4px; font-size: 16px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ck-group__title b { color: var(--text); }
.ck-item { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg); cursor: pointer; transition: background .15s; }
.ck-item:hover { background: #e7eaf0; }
.ck-item input { position: absolute; opacity: 0; }
.ck-item__box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #b8c0cc; background: var(--surface); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.ck-item input:checked + .ck-item__box { background: var(--blue); border-color: var(--blue); }
.ck-item input:checked + .ck-item__box::after { content: "✓"; color: #fff; font-weight: 800; font-size: 15px; }
.ck-item input:focus-visible + .ck-item__box { outline: 3px solid var(--blue); outline-offset: 2px; }
.ck-item__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ck-item__text small { color: var(--muted); font-size: 14px; }
.ck-item input:checked ~ .ck-item__text strong { text-decoration: line-through; color: var(--muted); }
.ck-item__tag { align-self: flex-start; margin-top: 4px; font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface); }
.ck-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }

@media (max-width: 700px) {
  .visa-pick--3 { grid-template-columns: 1fr; }
  .wc-trip { flex-wrap: wrap; }
  .wc-trip .btn { width: 100%; }
  .wc-remind__buttons .btn, .ck-foot .btn { width: 100%; }
  .tab { padding: 14px 12px; font-size: 15px; }
}
.ck-top .seg { max-width: 100%; flex-wrap: wrap; }
@media (max-width: 700px) {
  .ck-top .seg { width: 100%; }
  .ck-top .seg__opt { flex: 1; }
  .ck-top .seg__opt span { padding: 10px 8px; text-align: center; white-space: nowrap; }
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Booking done: get the trip confirmation from our Telegram bot */
.wdone__bot { margin: 18px auto 0; max-width: 520px; padding: 16px 18px; border-radius: 16px; background: var(--blue-soft); text-align: center; }
.wdone__bot p { margin: 0 0 12px; }
/* Phone app hint: "Add QUY to your Home Screen" */
.install { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; max-width: 480px; margin: 0 auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 40px 14px 14px; background: #fff; border-radius: 18px; box-shadow: 0 12px 40px rgba(16, 32, 64, .22); animation: install-in .35s ease-out; }
.install__icon { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.install__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.install__title { font-size: 16px; }
.install__text { margin: 0; font-size: 14px; color: var(--muted, #5f6670); line-height: 1.45; }
.install__btn { align-self: flex-start; margin-top: 6px; }
.install[hidden], .install__btn[hidden] { display: none; }
.install__close { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f0f2f5; font-size: 20px; line-height: 1; cursor: pointer; color: #1c1e21; }
@keyframes install-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .install { animation: none; } }
/* Booking: border switched (Laos → Cambodia) */
.border-note { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; background: #fff1e0; color: #6b3a00; font-weight: 600; font-size: 15px; line-height: 1.45; }
.border-note[hidden] { display: none; }
/* Services: visa run (wide), tours and food side by side */
@media (min-width: 901px) { .cards { grid-template-columns: repeat(2, 1fr); } }
/* Transfers page */
.tform, .tform__done { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.tform[hidden], .tform__done[hidden], .tform [hidden] { display: none !important; }
.tform__block { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tform .choice-grid { grid-template-columns: 1fr 1fr; }
.tform__submit { align-self: flex-start; }
@media (max-width: 600px) { .tform__row, .tform .choice-grid { grid-template-columns: 1fr; } .tform__submit { align-self: stretch; } }
/* Home: visa run (wide), then transfers, tours and food in one row */
@media (min-width: 901px) { .cards { grid-template-columns: repeat(3, 1fr); } }
/* Referral points */
.rewards__rate { margin: 12px 0 0; text-align: center; color: var(--muted); font-weight: 600; }
.panel__buttons .btn[hidden] { display: none; }/* "+10 points" is longer than "$5": amount above the label */
.reward { flex-direction: column; align-items: flex-start; gap: 4px; }
.reward__amount { font-size: 38px; }
@media (max-width: 720px) { .reward__amount { font-size: 32px; } .reward__label { font-size: 16px; } }