/* ==========================================================================
   Thai Journey — Design Tokens
   ========================================================================== */
:root {
  /* Brand — deep violet drawn from the Thai Journey wordmark */
  --brand-950: #180C34;
  --brand-900: #241246;
  --brand-800: #301A5E;
  --brand-700: #3D2277;
  --brand-600: #4E2E93;
  --brand-500: #6541B3;
  --brand-200: #D9CDF2;
  --brand-100: #EEE7FA;
  --brand-50:  #F8F5FD;

  /* Accent — gold dot from the wordmark */
  --gold-600: #B98A05;
  --gold-500: #EAB308;
  --gold-400: #F4C430;
  --gold-100: #FBF0CE;

  /* Neutrals */
  --ink-900: #1A1626;
  --ink-700: #3A3450;
  --ink-500: #6B6480;
  --ink-300: #A39CB8;
  --paper:   #FAF8F5;
  --surface: #FFFFFF;
  --border:  #E7E1F2;
  --border-strong: #D3C9E8;

  /* Semantic */
  --color-bg: var(--paper);
  --color-fg: var(--ink-900);
  --color-primary: var(--brand-700);
  --color-primary-hover: var(--brand-600);
  --color-on-primary: #FFFFFF;
  --color-accent: var(--gold-500);
  --color-on-accent: var(--brand-950);
  --color-muted: var(--ink-500);
  --color-danger: #C0362C;

  /* Type */
  --font-display: 'Outfit', 'Segoe UI', sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;

  /* Spacing (8pt rhythm) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(24, 12, 52, 0.06), 0 1px 1px rgba(24,12,52,0.04);
  --shadow-md: 0 8px 24px rgba(24, 12, 52, 0.10);
  --shadow-lg: 0 24px 60px rgba(24, 12, 52, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 300ms;
  --dur-slow: 450ms;

  --container: 1240px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #140B28;
    --color-fg: #F1EDFB;
    --paper: #140B28;
    --surface: #1E1238;
    --border: #33254F;
    --border-strong: #43335F;
    --ink-500: #B4AAC9;
    --ink-300: #8A80A2;
    --color-primary: #8B6BD1;
    --color-primary-hover: #A084E0;
    --color-on-primary: #180C34;
    --color-on-accent: #180C34;
  }
}
:root[data-theme="dark"] {
  --color-bg: #140B28;
  --color-fg: #F1EDFB;
  --paper: #140B28;
  --surface: #1E1238;
  --border: #33254F;
  --border-strong: #43335F;
  --ink-500: #B4AAC9;
  --ink-300: #8A80A2;
  --color-primary: #8B6BD1;
  --color-primary-hover: #A084E0;
  --color-on-primary: #180C34;
  --color-on-accent: #180C34;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; flex-shrink: 0; }

a, button, input, textarea, select, [tabindex] {
  outline-offset: 3px;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 4px;
}
:root[data-theme="dark"] a:focus-visible,
:root[data-theme="dark"] button:focus-visible { outline-color: var(--gold-400); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--brand-900);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-7); } }

.section { padding-block: var(--space-9); }
@media (max-width: 767px) { .section { padding-block: var(--space-8); } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
:root[data-theme="dark"] .eyebrow { color: var(--gold-400); }

.section-head { max-width: 640px; margin-bottom: var(--space-7); }
.section-head--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-6);
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: var(--space-3); }
.section-head p { color: var(--ink-500); margin-top: var(--space-4); font-size: 17px; max-width: 52ch; }

.text-center { text-align: center; margin-inline: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  white-space: nowrap;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-primary); color: var(--color-on-primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--color-accent); color: var(--color-on-accent); }
.btn-accent:hover { background: var(--gold-400); box-shadow: var(--shadow-md); }
.btn-ghost-light { background: rgba(255,255,255,0.14); color: #fff; border: 1.5px solid rgba(255,255,255,0.55); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.24); }
.btn-outline { background: transparent; color: var(--color-primary); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--color-primary); background: var(--brand-50); }
:root[data-theme="dark"] .btn-outline:hover { background: var(--surface); }
.btn-sm { padding: 10px 18px; font-size: 14px; min-height: 40px; }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px; color: var(--color-primary);
  cursor: pointer; transition: gap var(--dur-fast) var(--ease-out), color var(--dur-base);
}
.btn-link:hover { gap: 10px; color: var(--color-primary-hover); }
:root[data-theme="dark"] .btn-link { color: var(--gold-400); }
.btn-link svg { width: 18px; height: 18px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 200;
  padding-block: var(--space-4);
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.site-header.is-scrolled { background: var(--surface); box-shadow: var(--shadow-sm); padding-block: var(--space-3); border-bottom: 1px solid var(--border); }
.site-header.is-solid { background: var(--surface); box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--border); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.brand-mark { color: var(--brand-700); }
.brand-dot { color: var(--gold-500); }
.site-header:not(.is-scrolled):not(.is-solid) .brand-on-image .brand-mark { color: #fff; }
.site-header:not(.is-scrolled):not(.is-solid) .brand-on-image .brand-dot { color: var(--gold-400); }

.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: flex; align-items: center; gap: var(--space-6); }
  .main-nav a { font-weight: 500; font-size: 15px; position: relative; padding-block: 4px; }
  .main-nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
    background: currentColor; border-radius: 2px; transition: right var(--dur-base) var(--ease-out);
  }
  .main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
  .site-header:not(.is-scrolled):not(.is-solid) .main-nav a { color: rgba(255,255,255,0.92); }
}

.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.lang-switch {
  display: inline-flex;
  align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
  color: inherit; cursor: pointer; padding: 8px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
}
.lang-switch:hover { border-color: var(--color-primary); background: var(--brand-50); }
:root[data-theme="dark"] .lang-switch:hover { background: var(--brand-800); }
.site-header:not(.is-scrolled):not(.is-solid) .lang-switch { border-color: rgba(255,255,255,0.5); color: #fff; }
.site-header:not(.is-scrolled):not(.is-solid) .lang-switch:hover { background: rgba(255,255,255,0.16); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-pill);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.site-header:not(.is-scrolled):not(.is-solid) .nav-toggle { color: #fff; }
.nav-toggle:hover { background: rgba(128,90,213,0.12); }
.site-header:not(.is-scrolled):not(.is-solid) .nav-toggle:hover { background: rgba(255,255,255,0.18); }

.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 300;
  visibility: hidden;
}
.mobile-drawer.is-open { visibility: visible; }
.mobile-drawer__scrim {
  position: absolute; inset: 0; background: rgba(24,12,52,0.5);
  opacity: 0; transition: opacity var(--dur-base) var(--ease-out);
}
.mobile-drawer.is-open .mobile-drawer__scrim { opacity: 1; }
.mobile-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
  background: var(--surface); box-shadow: var(--shadow-lg);
  padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-6);
  transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out);
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer__top { display: flex; justify-content: space-between; align-items: center; }
.mobile-drawer__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); }
.mobile-drawer__close svg { width: 20px; height: 20px; }
.mobile-drawer__close:hover { background: var(--brand-50); }
.mobile-drawer nav { display: flex; flex-direction: column; gap: var(--space-2); }
.mobile-drawer nav a { padding: 14px 10px; font-size: 18px; font-weight: 600; border-radius: var(--radius-sm); }
.mobile-drawer nav a:hover { background: var(--brand-50); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__media img.is-active { opacity: 1; }

.hero__slides-nav {
  position: absolute; z-index: 2; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 9px;
}
.hero__slides-nav button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.45); cursor: pointer;
  transition: background var(--dur-base) var(--ease-out), width var(--dur-base) var(--ease-out);
  padding: 0;
}
.hero__slides-nav button:hover { background: rgba(255,255,255,0.7); }
.hero__slides-nav button[aria-current="true"] { background: #fff; width: 22px; border-radius: var(--radius-pill); }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,12,52,0.55) 0%, rgba(24,12,52,0.15) 32%, rgba(24,12,52,0.35) 62%, rgba(24,12,52,0.92) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  width: 100%;
  padding-block: calc(var(--space-10) + 64px) var(--space-6);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: var(--space-4);
}
.hero__eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold-400); border-radius: 2px; }
.hero h1 {
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 700;
  max-width: 15ch;
  text-wrap: balance;
}
.hero p.lede {
  margin-top: var(--space-5);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 46ch;
  color: rgba(255,255,255,0.88);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }

.hero__footer {
  margin-top: var(--space-8);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.22);
}
.social-proof { display: flex; align-items: center; gap: var(--space-3); }
.avatar-stack { display: flex; }
.avatar-stack img {
  width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--brand-950);
  margin-left: -12px; object-fit: cover;
}
.avatar-stack img:first-child { margin-left: 0; }
.social-proof__text { font-size: 14px; line-height: 1.35; }
.social-proof__text strong { display: block; font-weight: 700; font-size: 15px; }

.pill-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pill-filters a {
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.4);
  font-size: 14px; font-weight: 500; backdrop-filter: blur(6px);
  transition: background var(--dur-base) var(--ease-out);
}
.pill-filters a:hover { background: rgba(255,255,255,0.28); }

/* ==========================================================================
   Value props
   ========================================================================== */
.value-grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-5);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.value-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--brand-100); color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--space-4);
}
.value-card__icon svg { width: 24px; height: 24px; }
:root[data-theme="dark"] .value-card__icon { background: var(--brand-800); color: var(--gold-400); }
.value-card h3 { font-size: 18px; margin-bottom: var(--space-2); }
.value-card p { color: var(--ink-500); font-size: 15px; }

/* ==========================================================================
   Cards — tours / packages
   ========================================================================== */
.tour-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 768px) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }

.tour-card { display: block; cursor: pointer; }
.tour-card__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.tour-card:hover .tour-card__media img { transform: scale(1.06); }
.tour-card__badge {
  position: absolute; top: var(--space-4); left: var(--space-4);
  background: rgba(255,255,255,0.92); color: var(--ink-900);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.tour-card__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.tour-card__title { font-size: 20px; margin-top: 2px; }
.tour-card__loc { display: flex; align-items: center; gap: 6px; color: var(--ink-500); font-size: 14px; margin-top: var(--space-2); }
.tour-card__loc svg { width: 16px; height: 16px; color: var(--brand-600); }
.tour-card__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--color-primary); margin-top: var(--space-3); }
.tour-card:hover .tour-card__cta { gap: 10px; }
.tour-card__cta svg { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out); }

/* Category grid */
.category-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
.category-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/11; display: flex; align-items: flex-end; padding: var(--space-5);
  color: #fff; cursor: pointer;
}
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); z-index: 0; }
.category-card:hover img { transform: scale(1.05); }
.category-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(24,12,52,0) 40%, rgba(24,12,52,0.78) 100%);
}
.category-card__body { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: 100%; gap: var(--space-4); }
.category-card h3 { font-size: 22px; }
.category-card span { font-size: 13px; color: rgba(255,255,255,0.8); }
.category-card .btn { flex-shrink: 0; }

/* Package cards (with price) */
.package-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .package-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .package-grid { grid-template-columns: repeat(4, 1fr); } }
.package-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  cursor: pointer;
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.package-card__media { aspect-ratio: 4/3; overflow: hidden; }
.package-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.package-card:hover .package-card__media img { transform: scale(1.07); }
.package-card__body { padding: var(--space-4); }
.package-card__loc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-500); }
.package-card__loc svg { width: 14px; height: 14px; color: var(--brand-600); }
.package-card h3 { font-size: 17px; margin-top: var(--space-2); }
.package-card__rating { display: flex; align-items: center; gap: 5px; margin-top: var(--space-2); font-size: 13px; color: var(--ink-500); }
.package-card__rating svg { width: 14px; height: 14px; color: var(--gold-500); }
.package-card__rating strong { color: var(--ink-900); font-weight: 700; }
.package-card__footer {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px dashed var(--border-strong);
}
.package-card__price { font-family: var(--font-display); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.package-card__price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--ink-500); }
.package-card__days { font-size: 13px; font-weight: 600; color: var(--brand-700); background: var(--brand-100); padding: 5px 10px; border-radius: var(--radius-pill); }
:root[data-theme="dark"] .package-card__days { color: var(--gold-400); background: var(--brand-800); }

/* ==========================================================================
   How it works
   ========================================================================== */
.how-it-works { display: grid; gap: var(--space-7); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .how-it-works { grid-template-columns: 0.85fr 1fr; } }
.how-it-works__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-md); }
.how-it-works__media img { width: 100%; height: 100%; object-fit: cover; }
.step-list { display: flex; flex-direction: column; gap: var(--space-4); }
.step {
  display: flex; gap: var(--space-4); align-items: flex-start;
  padding: var(--space-5); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.step:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.step__num {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-md);
  background: var(--brand-700); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { color: var(--ink-500); font-size: 14.5px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--brand-950); color: #fff; position: relative; overflow: hidden; }
.testimonials::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 15% 15%, rgba(234,179,8,0.14), transparent 60%),
              radial-gradient(700px 400px at 85% 85%, rgba(101,65,179,0.35), transparent 60%);
}
.testimonials .container { position: relative; }
.testimonials .section-head p { color: rgba(255,255,255,0.72); }
.testimonials .eyebrow { color: var(--gold-400); }

.t-slider { position: relative; max-width: 780px; margin-inline: auto; }
.t-track { overflow: hidden; }
.t-slides { display: flex; transition: transform var(--dur-slow) var(--ease-out); }
.t-slide { flex: 0 0 100%; padding: var(--space-4); }
.quote-mark { color: var(--gold-400); width: 40px; height: 32px; margin-bottom: var(--space-4); }
.t-slide blockquote { font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 26px); font-weight: 500; line-height: 1.4; margin: 0; }
.t-author { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-6); }
.t-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.3); }
.t-author strong { display: block; font-size: 15px; }
.t-author span { display: block; font-size: 13px; color: rgba(255,255,255,0.65); }

.t-controls { display: flex; justify-content: center; align-items: center; gap: var(--space-5); margin-top: var(--space-7); }
.t-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.35);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background var(--dur-base), border-color var(--dur-base);
}
.t-arrow:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }
.t-arrow svg { width: 18px; height: 18px; }
.t-dots { display: flex; gap: 8px; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: background var(--dur-base), width var(--dur-base); }
.t-dot[aria-current="true"] { background: var(--gold-400); width: 22px; border-radius: var(--radius-pill); }

/* Stats row (inside testimonials or standalone) */
.stat-row { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-6); margin-top: var(--space-9); border-top: 1px solid rgba(255,255,255,0.16); padding-top: var(--space-7); }
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4,1fr); } }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(28px,3.4vw,40px); font-weight: 700; color: var(--gold-400); }
.stat span { display: block; font-size: 13.5px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 480px; display: flex; align-items: center; color: #fff;
  margin-inline: var(--space-5);
}
@media (min-width: 768px) { .final-cta { margin-inline: var(--space-7); } }
.final-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(24,12,52,0.35), rgba(24,12,52,0.85)); }
.final-cta__body { position: relative; z-index: 2; padding: var(--space-8) var(--space-6); text-align: center; max-width: 720px; margin-inline: auto; }
.final-cta h2 { font-size: clamp(30px, 4.4vw, 48px); text-wrap: balance; }
.final-cta p { margin-top: var(--space-4); font-size: 17px; color: rgba(255,255,255,0.85); }
.final-cta .btn { margin-top: var(--space-6); }

/* ==========================================================================
   Contact / inquiry
   ========================================================================== */
.contact-wrap { display: grid; gap: var(--space-7); grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-wrap { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-info__item { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-info__icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--brand-100); color: var(--brand-700); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__icon--whatsapp { background: #25D366; color: #fff; }
:root[data-theme="dark"] .contact-info__icon { background: var(--brand-800); color: var(--gold-400); }
.contact-info h4 { font-size: 15px; margin-bottom: 2px; }
.contact-info p, .contact-info a { color: var(--ink-500); font-size: 15px; }
.contact-info a:hover { color: var(--color-primary); }

.office-cards { display: flex; gap: var(--space-4); margin-top: var(--space-2); flex-wrap: wrap; }
.office-card { flex: 1 1 160px; padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); }
.office-card__flag { font-size: 22px; margin-bottom: var(--space-2); }
.office-card strong { display: block; font-size: 14.5px; }
.office-card span { font-size: 13px; color: var(--ink-500); }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: var(--space-4); grid-template-columns: 1fr; margin-bottom: var(--space-4); }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field .req { color: var(--color-danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong); background: var(--color-bg); color: var(--color-fg);
  min-height: 48px; transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-100); outline: none;
}
:root[data-theme="dark"] .field input:focus, :root[data-theme="dark"] .field select:focus, :root[data-theme="dark"] .field textarea:focus { box-shadow: 0 0 0 3px var(--brand-800); }
.field small.hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-500); }
.field small.error { display: none; margin-top: 6px; font-size: 12.5px; color: var(--color-danger); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--color-danger); }
.field.has-error small.error { display: block; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-5); flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--ink-500); }
.form-success {
  display: none; align-items: center; gap: var(--space-3); padding: var(--space-4);
  background: var(--brand-50); border: 1px solid var(--brand-200); border-radius: var(--radius-md);
  margin-top: var(--space-4); font-size: 14.5px;
}
:root[data-theme="dark"] .form-success { background: var(--brand-800); border-color: var(--brand-600); }
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; color: #16794D; flex-shrink: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--brand-950); color: rgba(255,255,255,0.85); }
.footer-top { display: grid; gap: var(--space-7); grid-template-columns: 1.3fr repeat(3, 1fr); padding-block: var(--space-8); }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; margin-bottom: var(--space-4); }
.footer-brand .brand-mark { color: #fff; }
.footer-brand p { font-size: 14.5px; color: rgba(255,255,255,0.62); max-width: 34ch; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: var(--space-4); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.85); transition: color var(--dur-base); }
.footer-col a:hover { color: var(--gold-400); }
.footer-col .based-in-item { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }

.social-row { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.3);
  display: inline-flex; align-items: center; justify-content: center; transition: background var(--dur-base), border-color var(--dur-base);
}
.social-row a:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.6); }
.social-row svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-block: var(--space-5);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3);
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.footer-bottom-links { display: flex; gap: var(--space-5); }
.footer-bottom-links a:hover { color: #fff; }

/* ==========================================================================
   Reveal-on-scroll (respects reduced motion via CSS above)
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* Theme toggle */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
}
.theme-toggle:hover { background: rgba(128,90,213,0.12); }
.site-header:not(.is-scrolled):not(.is-solid) .theme-toggle:hover { background: rgba(255,255,255,0.18); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

/* ==========================================================================
   Interior pages (About, Specialists, Careers, Terms, Privacy)
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--space-10) + 32px);
  padding-bottom: var(--space-8);
  background: linear-gradient(165deg, var(--brand-950), var(--brand-700));
  color: #fff;
}
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); margin-top: var(--space-3); max-width: 20ch; text-wrap: balance; }
.page-hero p { margin-top: var(--space-4); font-size: 17px; color: rgba(255,255,255,0.82); max-width: 58ch; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: var(--space-8); margin-bottom: var(--space-3); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin-top: var(--space-6); margin-bottom: var(--space-2); }
.prose p { color: var(--ink-700); margin-bottom: var(--space-4); font-size: 16px; }
.prose ul, .prose ol { margin: 0 0 var(--space-4) 0; padding-left: 1.3em; color: var(--ink-700); }
.prose li { margin-bottom: var(--space-2); }
.prose strong { color: var(--color-fg); }
.prose a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--color-primary-hover); }
.prose .placeholder {
  background: var(--gold-100); color: var(--gold-600);
  padding: 1px 7px; border-radius: 4px; font-weight: 600; white-space: nowrap;
}
:root[data-theme="dark"] .prose .placeholder { background: var(--brand-800); color: var(--gold-400); }

.legal-meta { font-size: 13.5px; color: var(--ink-500); margin-bottom: var(--space-6); }

.content-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5);
  margin-top: var(--space-8); padding: var(--space-6);
  background: var(--brand-50); border: 1px solid var(--brand-200); border-radius: var(--radius-lg);
}
:root[data-theme="dark"] .content-cta { background: var(--brand-800); border-color: var(--brand-600); }
.content-cta h3 { font-size: 19px; margin-bottom: 4px; }
.content-cta p { color: var(--ink-500); font-size: 15px; margin: 0; }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: calc(18px + env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 150;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  max-width: calc(100vw - 36px);
}
.whatsapp-fab__label {
  background: var(--surface); color: var(--color-fg);
  font-weight: 600; font-size: 14px; white-space: nowrap;
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  max-width: 0; opacity: 0; overflow: hidden;
  padding-block: 14px;
  transition: max-width var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out), margin var(--dur-base) var(--ease-out);
}
.whatsapp-fab:hover .whatsapp-fab__label,
.whatsapp-fab:focus-visible .whatsapp-fab__label {
  max-width: 220px; opacity: 1; padding-inline: 16px; margin-right: 10px;
}
.whatsapp-fab__icon {
  width: 58px; height: 58px; min-width: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(24,12,52,0.28), 0 2px 8px rgba(24,12,52,0.18);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.whatsapp-fab:hover .whatsapp-fab__icon, .whatsapp-fab:focus-visible .whatsapp-fab__icon { transform: scale(1.07); box-shadow: 0 14px 30px rgba(24,12,52,0.34); }
.whatsapp-fab:active .whatsapp-fab__icon { transform: scale(0.97); }
.whatsapp-fab__icon svg { width: 30px; height: 30px; }
@media (max-width: 480px) {
  .whatsapp-fab__icon { width: 52px; height: 52px; min-width: 52px; }
  .whatsapp-fab__icon svg { width: 27px; height: 27px; }
}

/* ==========================================================================
   RTL (Arabic)
   ========================================================================== */
html[dir="rtl"] body { font-family: 'Cairo', 'Work Sans', sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { font-family: 'Cairo', 'Outfit', sans-serif; }

html[dir="rtl"] .skip-link { left: auto; right: 12px; }

html[dir="rtl"] .avatar-stack img { margin-left: 0; margin-right: -12px; }
html[dir="rtl"] .avatar-stack img:first-child { margin-right: 0; }

html[dir="rtl"] .mobile-drawer__panel { left: 0; right: auto; transform: translateX(-100%); }
html[dir="rtl"] .mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }

html[dir="rtl"] .prose ul, html[dir="rtl"] .prose ol { padding-left: 0; padding-right: 1.3em; }

html[dir="rtl"] .btn-link svg,
html[dir="rtl"] .tour-card__cta svg,
html[dir="rtl"] #inquiryForm button[type="submit"] svg,
html[dir="rtl"] .t-arrow svg {
  transform: scaleX(-1);
}

/* Utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
