/* Uman148 — simplified form, desktop-aware layout (Claude Design handoff) */
:root {
  --primary: #EA580C;
  --primary-dark: #C2410C;
  --accent: #F59E0B;
  --accent-soft: #FEF3C7;
  --bg: #FDF8F1;
  --surface: #FFFFFF;
  --ink: #1B1410;
  --mute: #6B5A4D;
  --line: #EADFD0;
  --radius: 14px;
  --radius-sm: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(27,20,16,0.04), 0 2px 6px rgba(27,20,16,0.04);
  --shadow-md: 0 4px 14px rgba(27,20,16,0.06), 0 18px 32px -18px rgba(234,88,12,0.15);
  --shadow-lg: 0 10px 30px rgba(27,20,16,0.10), 0 40px 80px -30px rgba(234,88,12,0.25);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

input, textarea, select {
  font: inherit;
  font-size: 16px;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  width: 100%;
  min-width: 0; /* allow inputs to shrink inside flex/grid tracks (mobile date overflow) */
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
/* Date input on iOS Safari ignores width:100% with the native control and
   overflows the screen; appearance:none makes it honour the box. We keep the
   browser's own placeholder/value (no custom overlay) and just pin the height
   so the field matches the other inputs. The "Pickup date" label sits above. */
input[type="date"], input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
  height: 54px;
}
input[type="date"]::-webkit-date-and-time-value { text-align: start; }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; }

/* Phone field: country selector + national input */
.tel-row { display: flex; align-items: stretch; gap: 8px; }
.tel-cc-wrap { position: relative; flex: 0 0 auto; }
.tel-cc {
  display: inline-flex; align-items: center; gap: 6px;
  height: 100%; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); font-size: 16px; white-space: nowrap;
  transition: border-color .15s;
}
.tel-cc:hover { border-color: var(--primary); }
.tel-cc-flag { font-size: 18px; line-height: 1; }
.tel-cc-dial { font-weight: 600; font-variant-numeric: tabular-nums; }
.tel-cc-caret { color: var(--mute); flex-shrink: 0; }
.tel-local { flex: 1; min-width: 0; }
.tel-row.has-err .tel-cc, .tel-row.has-err .tel-local { border-color: #C2410C; }

.tel-cc-menu {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0;
  z-index: 70; width: 300px; max-width: 82vw;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 8px; display: flex; flex-direction: column; gap: 8px;
}
.tel-cc-search { position: relative; }
.tel-cc-search input { padding-inline-start: 34px; }
.tel-cc-search-ic { position: absolute; inset-inline-start: 11px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.tel-cc-list { max-height: 264px; overflow-y: auto; display: flex; flex-direction: column; }
.tel-cc-row {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: start;
  padding: 9px 10px; border-radius: var(--radius-sm); font-size: 14px;
}
.tel-cc-row:hover { background: var(--bg); }
.tel-cc-row.is-selected { background: color-mix(in oklab, var(--accent) 12%, var(--surface)); }
.tel-cc-row-flag { font-size: 18px; line-height: 1; flex: none; }
.tel-cc-row-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tel-cc-row-dial { color: var(--mute); font-variant-numeric: tabular-nums; flex: none; }
.tel-cc-empty { padding: 16px; text-align: center; color: var(--mute); font-size: 14px; }
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 18%, transparent);
}
input.has-err { border-color: #C2410C; }

[dir="rtl"] .rtl-flip { transform: scaleX(-1); }
[dir="rtl"] body { font-family: 'Rubik', 'Heebo', sans-serif; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  transition: transform .08s, background .15s;
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--primary) 75%, transparent);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-block { width: 100%; }

.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  flex-shrink: 0;
}
.icon-btn:hover { background: var(--bg); }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 60%, transparent);
}
.hdr-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-name { font-size: 17px; letter-spacing: -0.01em; display: inline-flex; gap: 1px; align-items: baseline; }
.brand-name strong { font-weight: 700; }
.brand-148 { font-weight: 700; color: var(--primary); font-feature-settings: "tnum"; }

/* Rosh Hashana / Nesia Tova pill in the brand area */
.brand-rh {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 3px 14px 3px 4px;
  margin-inline-start: 10px;
  flex-shrink: 0;
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
  color: var(--primary-dark);
  border-radius: 999px;
  white-space: nowrap;
}
.brand-rh-fish {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
}
.brand-rh-fish img { width: 36px; height: 36px; object-fit: contain; display: block; }
.brand-rh-text { display: inline-flex; flex-direction: column; line-height: 1.05; gap: 1px; }
.brand-rh-greet {
  font-family: 'Heebo', 'Rubik', sans-serif;
  font-weight: 600; font-size: 15px; letter-spacing: 0; color: var(--ink);
}
.brand-rh-sub {
  font-size: 10px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--primary-dark); opacity: 0.85;
}
/* Compact on mobile: fish + Hebrew greeting only, tighter header so it fits. */
@media (max-width: 919px) {
  .hdr-inner { gap: 10px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-rh { gap: 6px; padding: 2px 10px 2px 3px; margin-inline-start: 6px; }
  .brand-rh-fish, .brand-rh-fish img { width: 28px; height: 28px; }
  .brand-rh-greet { font-size: 13px; }
  .brand-rh-sub { display: none; }
}
@media (max-width: 400px) {
  .hdr-inner { padding-inline: 14px; gap: 8px; }
  .brand-name { font-size: 16px; }
  .brand-rh { padding: 2px 8px 2px 3px; }
  .brand-rh-fish, .brand-rh-fish img { width: 24px; height: 24px; }
  .brand-rh-greet { font-size: 12px; }
}

.hdr-nav { display: none; gap: 24px; font-size: 14.5px; color: var(--mute); }
.hdr-nav a { padding: 6px 0; transition: color .15s; }
.hdr-nav a:hover { color: var(--ink); }
@media (min-width: 760px) {
  .hdr-nav { display: flex; }
}

.hdr-right { display: flex; align-items: center; gap: 8px; }
.hdr-wa {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: var(--primary-dark);
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent);
}
.hdr-wa:hover { background: color-mix(in oklab, var(--accent) 28%, transparent); }
.hdr-wa svg { color: var(--primary); flex-shrink: 0; }
.hdr-wa-text { display: none; }
@media (min-width: 520px) { .hdr-wa-text { display: inline; } }

/* Language */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 500;
}
.lang-btn:hover { border-color: var(--ink); }
.lang-menu {
  position: absolute; top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 60;
}
.lang-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px; text-align: start;
  color: var(--ink);
}
.lang-item:hover { background: var(--bg); }
.lang-item.is-active { color: var(--primary); }
.lang-code {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; padding: 2px 6px;
  background: var(--bg);
  border-radius: 6px;
  font-size: 11px; font-weight: 600;
  color: var(--mute);
}
.lang-item.is-active .lang-code { background: var(--accent-soft); color: var(--primary-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 20px 48px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 1080px) {
  .hero { padding: 64px 32px 72px; }
  .hero-content { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

.hero-left { max-width: 540px; }

/* WhatsApp pill above hero title */
.hero-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .08s, border-color .15s, box-shadow .15s;
}
.hero-wa:hover {
  border-color: #40c351;
  box-shadow: 0 4px 14px -4px rgba(64,195,81,0.35);
}
.hero-wa:active { transform: translateY(1px); }
.hero-wa svg { flex-shrink: 0; }
.hero-wa-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
@media (max-width: 420px) {
  .hero-wa { padding: 7px 12px 7px 8px; gap: 8px; }
  .hero-wa-num { font-size: 13.5px; }
}
.hero-title {
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 600;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--mute);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.hero-trust {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.hero-trust li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.hero-trust-ic {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.hero-right { width: 100%; }

/* ---------- Form shell ---------- */
.form-shell {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
}
@media (min-width: 1080px) {
  .form-shell { padding: 28px; margin-inline-end: 0; box-shadow: var(--shadow-lg); }
}

.bf { display: flex; flex-direction: column; gap: 16px; }
.bf-head { margin-bottom: 4px; }
.bf-head h2 { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.bf-head p { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.5; }
.bf-head p strong { color: var(--ink); font-weight: 600; }

/* ---------- Contact block ---------- */
.contact-block { padding: 48px 20px; background: var(--bg); }
.contact-inner { max-width: var(--maxw); margin: 0 auto; }
.contact-head { text-align: center; margin-bottom: 24px; }
.contact-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px;
}
.contact-head p { color: var(--mute); margin: 0; font-size: 15px; }
.contact-cards {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  max-width: 760px; margin: 0 auto;
}
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; gap: 18px; } }
.contact-cards.contact-cards-single { grid-template-columns: 1fr; max-width: 520px; }
.contact-card {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.contact-card:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.contact-card-wa:hover { border-color: #40c351; }
.contact-card-ic { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-ic-call { background: var(--accent-soft); color: var(--primary); border-radius: 999px; }
.contact-card-body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.contact-card-label {
  font-size: 12.5px; font-weight: 600; color: var(--mute);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.contact-card-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em;
}
.contact-card-sub { font-size: 13px; color: var(--mute); margin-top: 2px; }
.contact-card-arrow {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--bg); color: var(--mute);
  transition: background .15s, color .15s, transform .15s; flex-shrink: 0;
}
.contact-card:hover .contact-card-arrow { background: var(--primary); color: #fff; }
.contact-card-wa:hover .contact-card-arrow { background: #40c351; }
[dir="ltr"] .contact-card:hover .contact-card-arrow { transform: translateX(2px); }
[dir="rtl"] .contact-card:hover .contact-card-arrow { transform: translateX(-2px); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.trust-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: center;
}
.trust-item {
  text-align: center;
  padding: 4px 8px;
}
.trust-v {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.trust-l {
  font-size: 12.5px;
  color: var(--mute);
  margin-top: 4px;
  letter-spacing: 0.01em;
}
@media (min-width: 720px) {
  .trust-inner { padding: 32px; gap: 24px; }
  .trust-item { border-inline-end: 1px solid var(--line); }
  .trust-item:last-child { border-inline-end: 0; }
}
@media (max-width: 480px) {
  .trust-v { font-size: 18px; }
  .trust-l { font-size: 11.5px; }
}

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label { font-size: 13.5px; font-weight: 500; color: var(--ink); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.grid-2 > * { min-width: 0; } /* let grid tracks shrink (date input on mobile) */
@media (max-width: 460px) { .grid-2 { grid-template-columns: 1fr; } }

.input-wrap { position: relative; }
.input-wrap input { padding-inline-start: 42px; }
.input-icon {
  position: absolute;
  inset-inline-start: 16px;
  top: 50%; transform: translateY(-50%);
  color: var(--mute);
  pointer-events: none;
}

/* Segmented */
.seg {
  display: inline-flex;
  padding: 4px;
  background: var(--bg);
  border-radius: 999px;
  gap: 4px;
  border: 1px solid var(--line);
  width: 100%;
}
.seg-item {
  flex: 1;
  padding: 11px 12px;
  font-size: 14px; font-weight: 500;
  border-radius: 999px;
  color: var(--mute);
  transition: background .15s, color .15s;
  min-height: 44px;
}
.seg-item:hover { color: var(--ink); }
.seg-item.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* Select button */
.select-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: start;
  font-size: 16px;
  min-height: 52px;
  transition: border-color .15s, background .15s;
}
.select-btn:hover { border-color: var(--primary); }
.select-btn.is-empty .select-val { color: var(--mute); font-weight: 400; }
.select-btn.has-err { border-color: #C2410C; }
.select-ic {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg);
  color: var(--primary);
  border-radius: 8px;
  flex-shrink: 0;
}
.select-val { flex: 1; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.select-caret { color: var(--mute); flex-shrink: 0; }

/* Counter */
.counter {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: var(--surface);
  width: fit-content;
  height: 52px;
}
.counter-btn {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.counter-btn:hover:not(:disabled) { background: var(--primary); color: #fff; }
.counter-btn:disabled { opacity: .35; cursor: not-allowed; }
.counter-val { min-width: 44px; text-align: center; font-weight: 600; font-size: 17px; }

.err { color: #C2410C; font-size: 13px; }

/* Ticket drop */
.label-opt {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--mute);
  margin-inline-start: 4px;
  text-transform: lowercase;
}
.drop {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex; align-items: center; gap: 12px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  min-height: 64px;
}
.drop:hover { border-color: var(--primary); }
.drop.is-drag { border-color: var(--primary); background: var(--accent-soft); }
.drop.has-file {
  background: color-mix(in oklab, var(--accent) 10%, var(--surface));
  border-style: solid;
  border-color: color-mix(in oklab, var(--primary) 35%, var(--line));
  cursor: default;
}
.drop.has-err { border-color: #C2410C; }
.drop-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mute);
  flex-shrink: 0;
}
.drop-icon-on { background: var(--primary); color: #fff; }
.drop-text { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.drop-text strong {
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.drop-text span { font-size: 12.5px; color: var(--mute); }
.drop .link { color: var(--primary); font-weight: 500; }
.drop-remove {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--mute);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  flex-shrink: 0;
  transition: color .15s, border-color .15s;
}
.drop-remove:hover { color: #C2410C; border-color: #C2410C; }
.form-foot {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--mute);
  text-align: center;
  line-height: 1.4;
}

/* API / network error banner */
.bf-error {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, #C2410C 10%, var(--surface));
  border: 1px solid color-mix(in oklab, #C2410C 35%, var(--line));
  color: #C2410C;
  font-size: 13.5px;
}
.bf-error svg { flex-shrink: 0; }

/* Success */
.form-success { text-align: center; padding: 8px 0; }
.check-circle {
  width: 72px; height: 72px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.form-success h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.form-success p { color: var(--mute); margin: 0 auto 20px; max-width: 360px; font-size: 14.5px; }
.ref-block {
  display: inline-flex; flex-direction: column; gap: 2px;
  padding: 12px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.ref-block span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); }
.ref-block strong { font-size: 20px; font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.04em; }

/* ---------- Location Picker ---------- */
.lp-bg {
  position: fixed; inset: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--ink) 55%, transparent);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn .2s ease;
}
.lp-sheet {
  background: var(--surface);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  display: flex; flex-direction: column;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  animation: slideUp .25s ease;
  padding: 8px 0 0;
}
.lp-grab {
  width: 36px; height: 4px;
  background: var(--line);
  border-radius: 999px;
  margin: 4px auto 8px;
}
.lp-head {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px 12px;
  border-bottom: 1px solid var(--line);
}
.lp-search { position: relative; flex: 1; }
.lp-search input { padding-inline-start: 42px; padding-inline-end: 36px; }
.lp-search-ic {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%; transform: translateY(-50%);
  color: var(--mute);
  pointer-events: none;
}
.lp-clear {
  position: absolute;
  inset-inline-end: 10px;
  top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--mute);
}
.lp-clear:hover { background: var(--bg); color: var(--ink); }

.lp-list { flex: 1; overflow-y: auto; padding: 8px 12px 24px; -webkit-overflow-scrolling: touch; }
.lp-section { margin-bottom: 12px; }
.lp-section-head {
  display: flex; align-items: center;
  padding: 12px 8px 6px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mute);
  font-weight: 600;
}
.lp-section-head span {
  margin-inline-start: auto;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--mute);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
}
.lp-row {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: center;
  gap: 12px;
  text-align: start;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  width: 100%;
  transition: background .12s;
}
.lp-row:hover { background: var(--bg); }
.lp-row.is-selected { background: color-mix(in oklab, var(--accent) 12%, var(--surface)); }
.lp-row-ic {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg);
  color: var(--primary);
  border-radius: 8px;
}
.lp-row-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-row-name { font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.lp-row-code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  padding: 1px 5px;
  background: var(--accent-soft);
  color: var(--primary-dark);
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lp-row-meta { font-size: 12.5px; color: var(--mute); }
.lp-row-arrow { display: inline-flex; color: var(--mute); justify-content: center; }
.lp-empty { padding: 28px 12px; text-align: center; color: var(--mute); font-size: 14px; }

@media (min-width: 600px) {
  .lp-bg { align-items: center; padding: 24px; }
  .lp-sheet { border-radius: 20px; max-height: 80vh; }
}

/* ---------- Sections ---------- */
.sec {
  max-width: var(--maxw); margin: 0 auto;
  padding: 64px 24px;
}
.sec-alt {
  background: var(--surface);
  max-width: none;
  border-block: 1px solid var(--line);
}
.sec-alt > * { max-width: var(--maxw); margin-inline: auto; }
.sec-alt > .sec-head { max-width: var(--maxw); }
.sec-alt > .sec-head h2,
.sec-alt > .sec-head p { max-width: 640px; }
.sec-head { max-width: 640px; margin-bottom: 28px; }
.sec-head h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.sec-head p { color: var(--mute); margin: 0; font-size: 15.5px; }

@media (max-width: 640px) {
  .sec { padding: 40px 20px; }
}

/* ---------- Popular routes ---------- */
.sec-routes { padding-bottom: 56px; }
.pop-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .pop-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .pop-grid { grid-template-columns: repeat(3, 1fr); } }

.pop-card {
  text-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; flex-direction: column;
  gap: 12px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.pop-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.pop-route {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex-wrap: wrap;
}
.pop-end {
  display: inline-flex; align-items: center; gap: 8px;
}
.pop-end-other { color: var(--primary-dark); }
.pop-flag { font-size: 18px; line-height: 1; }
.pop-code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 7px;
  background: var(--accent-soft);
  color: var(--primary-dark);
  border-radius: 5px;
  letter-spacing: 0.04em;
  margin-inline-start: 2px;
}
.pop-arrow {
  color: var(--mute);
  display: inline-flex;
}
[dir="rtl"] .pop-arrow svg { transform: scaleX(-1); }
.pop-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--mute);
}
.pop-meta-ic {
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: var(--bg);
  color: var(--primary);
}
.pop-dot { color: var(--line); }
.pop-cta {
  margin-inline-start: auto;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--bg);
  color: var(--primary);
  transition: background .15s, color .15s, transform .15s;
}
.pop-card:hover .pop-cta { background: var(--primary); color: #fff; }
[dir="ltr"] .pop-card:hover .pop-cta { transform: translateX(2px); }
[dir="rtl"] .pop-card:hover .pop-cta { transform: translateX(-2px); }

.pop-foot {
  display: flex; justify-content: center;
  margin-top: 28px;
}
/* ---------- How ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .how-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.how-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex; flex-direction: column;
  gap: 8px;
}
.how-ic {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.how-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.how-step h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.how-step p {
  margin: 0;
  color: var(--mute);
  font-size: 14.5px;
}

/* ---------- FAQ ---------- */
.sec-faq { padding-bottom: 80px; }
.faq-list {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 760px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item.is-open { border-color: color-mix(in oklab, var(--primary) 40%, var(--line)); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  width: 100%; text-align: start;
  padding: 16px 20px;
  font-size: 15.5px; font-weight: 500;
  min-height: 56px;
}
.faq-toggle {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg);
  color: var(--primary);
  border-radius: 999px;
  flex-shrink: 0;
}
.faq-a { padding: 0 20px 18px; color: var(--mute); font-size: 14.5px; line-height: 1.6; max-width: 640px; }

/* ---------- Footer ---------- */
.ftr {
  background: #1B1410;
  color: #B5A493;
  padding: 56px 24px 24px;
  margin-top: 0;
}
.ftr-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #2A1F18;
}
@media (min-width: 720px) {
  .ftr-inner { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
}
.ftr-brand .brand-mark { margin-bottom: 6px; }
.ftr-brand-row { display: flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 12px; }
.ftr-brand-row .brand-name { color: #fff; font-size: 18px; }
.ftr-brand p { color: #8E7B6B; max-width: 360px; font-size: 14px; line-height: 1.6; margin: 0; }
.ftr-col h5 {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
  font-weight: 600;
}
.ftr-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: #B5A493;
  padding: 4px 0;
  transition: color .15s;
}
.ftr-link:hover { color: #fff; }
.ftr-link svg { color: var(--accent); }
.ftr-link-em {
  color: var(--accent);
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.ftr-link-static { cursor: default; }
.ftr-link-static:hover { color: #B5A493; }
.ftr-base {
  max-width: var(--maxw); margin: 0 auto;
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: #8E7B6B;
  gap: 12px 28px; flex-wrap: wrap;
}
.ftr-base-end { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.ftr-base a { color: #B5A493; text-decoration: none; padding: 2px 0; }
.ftr-base a:hover { color: #fff; text-decoration: underline; }
.ftr-base-dot { color: #5a4a3d; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(40px); } to { transform: translateY(0); } }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--mute); }

/* App loading */
.app-loading {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  color: var(--mute); font-size: 28px; letter-spacing: 0.3em;
}
