*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  background: var(--c-cream); color: var(--c-ink);
  font-family: var(--font-ar); font-size: var(--fs-md); line-height: 1.6;
  text-wrap: pretty; -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: var(--c-forest-700); }
a:hover { color: var(--c-leather); }
input::placeholder { color: #8F867A; }
button { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ltr { direction: ltr; }
.gold { color: var(--c-gold); }
[hidden] { display: none !important; }

.wrap { max-width: 1200px; width: 100%; margin: 0 auto; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); line-height: 1.1; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes bob { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-8deg) translateY(-6px); } }

/* ---------- Buttons ---------- */
.btn {
  border: 0; border-radius: var(--r-pill); cursor: pointer;
  font-family: var(--font-ar); font-size: var(--fs-lg); font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  transition: background-color .2s, transform .2s;
}
.btn__icon {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn__icon svg { stroke-width: 2; }
.btn--hero {
  margin-top: var(--sp-2); min-height: 60px; padding: 0 var(--sp-5) 0 var(--sp-6);
  background: var(--c-terracotta); color: var(--c-cream-50); box-shadow: 0 10px 30px rgba(201, 115, 59, .35);
}
.btn--hero .btn__icon { background: rgba(251, 247, 238, .18); }
.btn--hero:hover { background: var(--c-leather); transform: translateY(-2px); }
.btn--hero:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; }
.btn--forest {
  min-height: 60px; padding: 0 var(--sp-5) 0 var(--sp-6); width: 100%; max-width: 340px;
  background: var(--c-forest); color: var(--c-cream-50);
}
.btn--forest .btn__icon { background: rgba(217, 169, 91, .25); color: var(--c-gold); }
.btn--forest:hover { background: var(--c-forest-700); transform: translateY(-2px); }
.btn--forest:focus-visible { outline: 3px solid var(--c-leather); outline-offset: 3px; }
.btn--sticky { width: 100%; min-height: 56px; background: var(--c-terracotta); color: var(--c-cream-50); }
.btn--sticky:hover { background: var(--c-leather); }
.btn--sticky:focus-visible { outline: 3px solid var(--c-forest); outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(640px, 125vw, 820px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--c-forest); color: var(--c-cream-50);
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 25%, rgba(62, 107, 86, .55), rgba(18, 48, 42, 0) 70%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(154, 90, 43, .28), rgba(18, 48, 42, 0) 70%);
}
.tracks {
  position: absolute; right: 0; left: 0; top: 38%; z-index: 1; pointer-events: none;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-end; direction: rtl;
}
.tracks i {
  display: block; height: 1.5px; width: var(--w);
  background: linear-gradient(90deg, rgba(217, 169, 91, 0), rgba(217, 169, 91, .75));
  transform-origin: right; animation: draw 1.4s cubic-bezier(.2, .7, .2, 1) var(--d) both;
}
.hero__header {
  position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto;
  padding: var(--sp-4) var(--sp-5); display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand__bars { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; direction: ltr; }
.brand__bars i { display: block; height: 2px; width: var(--w); background: var(--c-gold); border-radius: 2px; }
.brand__name { font-family: var(--font-latin); font-size: 28px; letter-spacing: .03em; line-height: 1; direction: ltr; }
.hero__tag { font-size: var(--fs-xs); letter-spacing: .08em; color: var(--c-gold); font-weight: 500; }
.hero__content {
  position: relative; z-index: 2; margin-top: auto; max-width: 1200px; width: 100%; margin-inline: auto;
  padding: var(--sp-6) var(--sp-5) var(--sp-7);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4);
}
.stamp {
  width: 104px; height: 104px; border-radius: 50%;
  border: 1.5px solid var(--c-gold);
  box-shadow: inset 0 0 0 5px var(--c-forest), inset 0 0 0 6.5px var(--c-gold);
  background: rgba(18, 48, 42, .55); color: var(--c-gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transform: rotate(-8deg); animation: bob 5s ease-in-out infinite;
}
.stamp__city { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.stamp__note { font-size: 11px; letter-spacing: .06em; font-weight: 500; color: var(--c-cream-50); }
.hero h1 {
  margin: 0; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-display);
  line-height: 1.25; max-width: 12ch; color: var(--c-cream-50); text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero__lead { margin: 0; max-width: 520px; font-size: var(--fs-lg); font-weight: 300; line-height: 1.7; color: rgba(251, 247, 238, .86); }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--c-gold); color: var(--c-forest); overflow: hidden; padding: 12px 0;
  font-family: var(--font-display); font-size: 22px; line-height: 1; white-space: nowrap;
  border-bottom: 1px solid rgba(18, 48, 42, .2);
}
.ticker__track { display: inline-flex; animation: ticker 28s linear infinite; will-change: transform; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; padding-left: 28px; }
.ticker__item i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-forest); display: inline-block; }

/* ---------- Destinations ---------- */
.destinations { padding: var(--sp-8) var(--sp-5) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-5); }
.destinations__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.destinations__sub { margin: 0 0 6px; color: var(--c-leather); font-size: var(--fs-sm); font-weight: 500; }
.mosaic { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); grid-auto-rows: 250px; gap: var(--sp-3); }
.tile { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--c-sand); }
.tile--wide { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tile__plate {
  position: absolute; inset: auto 0 0 0; padding: var(--sp-4); pointer-events: none;
  background: linear-gradient(0deg, rgba(18, 48, 42, .92) 60%, rgba(18, 48, 42, 0));
  color: var(--c-cream-50); display: flex; flex-direction: column; gap: 2px;
}
.tile__title { font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.tile__title--lg { font-size: 30px; }
.tile__sub { font-size: var(--fs-sm); color: var(--c-gold); }
.tile__sub--sage { color: var(--c-sage); }
.tile--other {
  background: var(--c-forest); color: var(--c-cream-50); padding: var(--sp-4);
  display: flex; flex-direction: column; justify-content: space-between;
}
.tile__icon {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--c-gold); color: var(--c-gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.tile__text { display: flex; flex-direction: column; gap: 2px; }

/* ---------- Steps ---------- */
.steps { background: var(--c-forest); color: var(--c-cream-50); margin-top: var(--sp-6); }
.steps__inner { padding: var(--sp-8) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-6); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-5); }
.steps__list li { display: flex; flex-direction: column; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid rgba(217, 169, 91, .4); }
.steps__num { font-family: var(--font-display); font-weight: 500; font-size: 64px; line-height: 1; color: var(--c-gold); }
.steps__title { font-weight: 600; font-size: var(--fs-xl); line-height: 1.3; }
.steps__body { color: var(--c-sage); font-size: var(--fs-md); line-height: 1.6; }

/* ---------- Closing CTA ---------- */
.cta { background: var(--c-sand); }
.cta__inner { padding: var(--sp-8) var(--sp-5); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.cta__text { display: flex; flex-direction: column; gap: var(--sp-2); max-width: 560px; }
.cta__text .h2 { color: var(--c-forest); }
.cta__text p { margin: 0; color: var(--c-ink-600); font-size: var(--fs-md); }

/* ---------- Footer ---------- */
.footer { margin-top: auto; background: var(--c-forest); color: var(--c-cream-50); padding-bottom: 84px; }
.footer__inner {
  padding: var(--sp-6) var(--sp-5); display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: var(--sp-4); font-size: var(--fs-sm);
}
.footer__mark { font-family: var(--font-latin); font-size: clamp(40px, 10vw, 72px); letter-spacing: .03em; line-height: 1; direction: ltr; }
.footer__meta { display: flex; flex-direction: column; gap: 4px; color: var(--c-sage); }
.footer__meta .ltr { text-align: right; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  padding: var(--sp-3) var(--sp-4) calc(var(--sp-3) + env(safe-area-inset-bottom));
  background: rgba(246, 239, 225, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-sand);
}
@media (min-width: 720px) {
  .sticky-cta { display: none; }
  .footer { padding-bottom: 0; }
}

/* ---------- Request sheet ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(18, 48, 42, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet {
  width: 100%; max-width: 520px; max-height: 92vh; max-height: 92dvh; overflow: auto; overscroll-behavior: contain;
  background: var(--c-cream-50); color: var(--c-ink);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: var(--sp-3) var(--sp-5) calc(var(--sp-5) + env(safe-area-inset-bottom));
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .overlay { padding-bottom: 40px; }
  .sheet { border-radius: var(--r-lg); padding-bottom: var(--sp-5); }
}
.sheet__handle { width: 40px; height: 4px; border-radius: 2px; background: var(--c-sand); margin: 0 auto var(--sp-2); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.sheet__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.1; }
.icon-btn {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-cream); color: var(--c-ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.icon-btn:hover { background: var(--c-sand); }
.icon-btn:focus-visible { outline: 3px solid var(--c-terracotta); outline-offset: 2px; }
.note-chip {
  display: flex; align-items: center; gap: 6px; background: var(--c-sand); color: var(--c-leather-700);
  border-radius: var(--r-sm); padding: 8px 12px; font-size: var(--fs-sm); font-weight: 500; margin-bottom: var(--sp-4);
}
.note-chip svg { flex: none; }

.form { display: flex; flex-direction: column; gap: var(--sp-3); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field__label { font-size: var(--fs-sm); font-weight: 600; }
.field input {
  height: 50px; width: 100%; padding: 0 var(--sp-4);
  border: 1.5px solid var(--c-sand); border-radius: var(--r-md); background: #fff; color: var(--c-ink);
  font-family: var(--font-ar); font-size: var(--fs-md);
}
.field input[type="tel"] { text-align: right; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; text-align: right; }
.field input:focus { outline: 3px solid var(--c-terracotta); outline-offset: 1px; border-color: var(--c-terracotta); }
.field input[aria-invalid="true"] { border-color: var(--c-error); }
.field__error { color: var(--c-error); font-size: var(--fs-xs); font-weight: 500; }
.field__error:empty { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }

.periods { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.period {
  min-height: 64px; padding: var(--sp-3); border: 2px solid var(--c-sand); border-radius: var(--r-md);
  background: #fff; color: var(--c-ink); cursor: pointer; text-align: right;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px;
}
.period[aria-checked="true"] { border-color: var(--c-forest); background: var(--c-sage); }
.periods.invalid .period[aria-checked="false"] { border-color: var(--c-error); }
.period:focus-visible { outline: 3px solid var(--c-terracotta); outline-offset: 2px; }
.period__name { font-size: var(--fs-md); font-weight: 600; }
.period__time { font-size: 12px; color: var(--c-ink-600); white-space: nowrap; }

.ts-slot { width: 300px; max-width: 100%; min-height: 65px; }

.btn--submit { min-height: 56px; background: var(--c-terracotta); color: var(--c-cream-50); gap: 10px; }
.btn--submit:hover { background: var(--c-leather); }
.btn--submit:focus-visible { outline: 3px solid var(--c-forest); outline-offset: 3px; }
.btn--submit[aria-busy="true"] { opacity: .85; cursor: progress; }
.btn--submit:disabled:hover { background: var(--c-terracotta); }
.spinner {
  display: none; width: 18px; height: 18px; flex: none; border-radius: 50%;
  border: 2.5px solid rgba(251, 247, 238, .35); border-top-color: currentColor;
  animation: spin .8s linear infinite;
}
.btn--submit[aria-busy="true"] .spinner { display: inline-block; }
.form-error { margin: 0; color: var(--c-error); font-size: var(--fs-sm); font-weight: 500; text-align: center; }
.form-error:empty { display: none; }

.success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-3); padding: var(--sp-5) 0 var(--sp-2); }
.success__icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--c-forest); color: var(--c-gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.success__title { margin: var(--sp-2) 0 0; font-family: var(--font-display); font-weight: 600; font-size: 36px; line-height: 1.1; }
.success p { margin: 0; color: var(--c-ink-600); font-size: var(--fs-md); max-width: 320px; }
.btn--outline {
  margin-top: var(--sp-4); min-height: 52px; padding: 0 var(--sp-6); width: 100%; max-width: 280px;
  border: 1.5px solid var(--c-forest); background: transparent; color: var(--c-forest); font-size: var(--fs-md);
}
.btn--outline:hover { background: var(--c-sage); }
.btn--outline:focus-visible { outline: 3px solid var(--c-terracotta); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .tracks i, .stamp, .ticker__track { animation: none; }
  .btn, .btn:hover { transition: none; transform: none; }
  .spinner { animation-duration: 2s; }
}
