/* ================================================================
   Shahba — design system
   Single brand color (#373B2A) + neutrals. Cairo throughout.
   Arabic-first (RTL) with English toggle. Photo-driven, no icons.
   ================================================================ */

/* --- Tokens -------------------------------------------------------- */
:root {
  /* Brand — one hue (dark olive), tonal variation only */
  --color-primary: #373b2a;
  --color-primary-2: #2a2e1e; /* hover / pressed */
  --color-primary-3: #1b1d14; /* deepest tone, overlays */
  --color-primary-soft: #eaeae2; /* light tint backgrounds */
  --color-primary-mid: #8c8f7f; /* muted olive-gray */

  /* Neutrals */
  --color-bg: #ffffff;
  --color-surface: #f7f7f9;
  --color-border: #e4e4e8;
  --color-border-strong: #cfd0d8;

  --color-text: #20242e;
  --color-text-muted: #565a66;
  --color-text-subtle: #8d909b;

  --color-success: #15803d;

  /* Type — single family, both languages */
  --font-heading: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-sans: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  /* Lines & shadow */
  --rule: 1px solid var(--color-border);
  --rule-strong: 1px solid var(--color-border-strong);
  --shadow-sm: 0 1px 2px rgba(27, 29, 20, 0.06);
  --shadow: 0 8px 24px rgba(27, 29, 20, 0.1);
  --shadow-lg: 0 20px 48px rgba(27, 29, 20, 0.16);
}

/* --- Reset --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* overflow-x lives on html, not body — overflow-x on body breaks
     position:sticky for descendants (e.g. .site-header) in most browsers. */
  overflow-x: hidden;
}
body {
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
[dir="rtl"] body {
  line-height: 1.9;
}
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--color-primary);
}
ul,
ol {
  padding-inline-start: 1.1em;
}
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Typography ---------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 var(--space-4);
  color: var(--color-primary);
}
h1 {
  font-size: clamp(1.875rem, 3vw + 0.75rem, var(--text-5xl));
}
h2 {
  font-size: clamp(1.5rem, 2vw + 0.5rem, var(--text-4xl));
}
h3 {
  font-size: var(--text-2xl);
}
h4 {
  font-size: var(--text-xl);
}
h5 {
  font-size: var(--text-lg);
}
h6 {
  font-size: var(--text-base);
}

p {
  margin: 0 0 var(--space-3);
}
.lead {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 62ch;
  margin-bottom: var(--space-5);
}
.lead--light {
  color: rgba(255, 255, 255, 0.86);
}
.text-muted {
  color: var(--color-text-muted);
}
.text-subtle {
  color: var(--color-text-subtle);
}
.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: var(--space-4);
}
.eyebrow--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

/* --- Layout -------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--space-8);
}
.section--lg {
  padding-block: var(--space-9);
}
.section--sm {
  padding-block: var(--space-6);
}
.section--surface {
  background: var(--color-surface);
}

.divider {
  border: 0;
  border-top: var(--rule);
  margin-block: var(--space-6);
}

.grid {
  display: grid;
  gap: var(--space-5);
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* --- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #ffffff;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--color-primary-2);
  border-color: var(--color-primary-2);
  color: #ffffff;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
}
.btn--ghost:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary);
}
.btn--light:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary-soft);
  color: var(--color-primary);
}
.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}
.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
}
.btn--block {
  width: 100%;
  justify-content: center;
}
.btn__arrow {
  transition: transform 180ms ease;
  display: inline-flex;
  align-items: center;
  font-size: 1.2em;
  position: relative;
  top: -3px;
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}
[dir="rtl"] .btn:hover .btn__arrow {
  transform: translateX(-3px) scaleX(-1);
}
[dir="rtl"] .btn__arrow {
  transform: scaleX(-1);
}

/* --- Section heads --------------------------------------------------- */
.section-head {
  max-width: 60ch;
  margin-bottom: var(--space-7);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  margin-bottom: var(--space-3);
}

/* --- SEO content block ------------------------------------------------ */
.seo-block__body {
  max-width: 980px;
  margin-inline: auto;
  columns: 2;
  column-gap: var(--space-7);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}
.seo-block__body p {
  break-inside: avoid;
  margin: 0 0 var(--space-4);
}
.seo-block__body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 720px) {
  .seo-block__body {
    columns: 1;
  }
}

/* --- Header / nav ---------------------------------------------------
   The header is a full-width sticky shell; .site-header__bar (the
   .container inside it) carries the visible background/border/shadow,
   so the bar itself reads as a floating, container-width pill. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: var(--space-4);
  transition: padding-block 200ms ease;
}
.site-header.is-scrolled {
  padding-block: var(--space-3);
}
.site-header__bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border: var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding-inline: var(--space-5);
  transition: box-shadow 200ms ease, background 200ms ease;
}
.site-header.is-scrolled .site-header__bar {
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-3);
  transition: padding-block 200ms ease;
}
.site-header.is-scrolled .nav {
  padding-block: var(--space-2);
}
.site-header.is-scrolled .nav__brand-logo {
  height: 48px;
}

/* Home page: header floats over the hero instead of sitting above it,
   then switches to fixed once the visitor scrolls past it. The bar itself
   always keeps the same white glassy look as every other page. */
body.has-hero .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
body.has-hero .site-header.is-scrolled {
  position: fixed;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--color-primary);
}
.nav__brand-logo {
  height: 64px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: height 200ms ease;
}

.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  padding-block: 0.3rem;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 200ms ease;
}
.nav__link:hover {
  color: var(--color-primary);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  width: 100%;
}
.nav__link[aria-current="page"] {
  color: var(--color-primary);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* --- Language switcher (dropdown) --------------------------------- */
.lang-switch {
  position: relative;
}
.lang-switch__toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border: var(--rule-strong);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  user-select: none;
  transition: border-color 160ms ease, color 160ms ease;
}
.lang-switch__toggle::-webkit-details-marker {
  display: none;
}
.lang-switch__toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.lang-switch__chevron {
  font-size: 14px;
  transition: transform 160ms ease;
  position: relative;
  top: -3px;
}
.lang-switch[open] .lang-switch__chevron {
  transform: rotate(180deg);
}
.lang-switch__menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  min-width: 140px;
  background: #fff;
  border: var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  z-index: 100;
  display: grid;
  gap: 0.15rem;
}
.lang-switch__menu a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.lang-switch__menu a:hover {
  background: var(--color-primary-soft);
}
.lang-switch__menu a[aria-current="true"] {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

/* Mobile off-canvas panel variant: full-width toggle, menu sits inline
   in the stack instead of floating (avoids clipping in the narrow panel). */
.lang-switch--block {
  width: 100%;
}
.lang-switch--block .lang-switch__toggle {
  width: 100%;
  justify-content: space-between;
}
.lang-switch--block .lang-switch__menu {
  position: static;
  inset-inline-end: auto;
  top: auto;
  width: 100%;
  box-shadow: none;
  margin-top: 0.4rem;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: var(--rule);
  border-radius: 50%;
  background: var(--color-primary-3);
  border-color: var(--color-primary-3);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 160ms ease, border-color 160ms ease;
}
.nav__toggle:hover,
.nav__toggle:active {
  background: var(--color-primary-2);
  border-color: var(--color-primary-2);
}
.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  position: relative;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav__toggle-bar::before { transform: translateY(-6px); position: absolute; }
.nav__toggle-bar::after { transform: translateY(6px); position: absolute; }

/* Slide-in mobile panel + backdrop (hidden on desktop) */
.nav__backdrop,
.nav__panel { display: none; }

@media (max-width: 900px) {
  .site-header,
  .site-header.is-scrolled { padding-block: 0; }
  .site-header__bar { border-radius: 0; }

  .nav {
    position: relative;
    padding-block: var(--space-2);
  }
  .nav__toggle { display: inline-flex; }
  .nav__list,
  .nav__cta { display: none; }
  .nav__brand-logo,
  .site-header.is-scrolled .nav__brand-logo { height: 40px; }

  .nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 18, 33, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms ease;
    z-index: 150;
  }
  body.nav-open .nav__backdrop { opacity: 1; pointer-events: auto; }

  .nav__panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    inset-inline: 0;
    max-height: 88vh;
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    transform: translateY(-100%);
    transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    border-end-start-radius: var(--radius-lg);
    border-end-end-radius: var(--radius-lg);
  }
  body.nav-open .nav__panel { transform: translateY(0); }

  .nav__panel-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    background-color: var(--color-primary);
  }
  .nav__panel-brand {
    position: relative;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--text-2xl);
    color: #fff;
  }
  .nav__close {
    position: relative;
    width: 36px; height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .nav__close span {
    position: absolute;
    width: 15px; height: 2px;
    background: var(--color-primary-3);
    border-radius: 2px;
  }
  .nav__close span:first-child { transform: rotate(45deg); }
  .nav__close span:last-child { transform: rotate(-45deg); }

  .nav__panel-list {
    list-style: none;
    margin: 0;
    padding: var(--space-4) var(--space-4) 0;
    display: grid;
    gap: var(--space-1);
  }
  .nav__panel-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-3);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--color-text);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 320ms ease, transform 320ms ease, background 160ms ease, color 160ms ease;
    transition-delay: var(--link-delay, 0ms);
  }
  .nav__panel-link:hover,
  .nav__panel-link:active {
    background: var(--color-primary-soft);
    color: var(--color-primary);
  }
  .nav__panel-link-index {
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--color-text-subtle);
    min-width: 1.5em;
  }
  body.nav-open .nav__panel-link { opacity: 1; transform: none; }
  .nav__panel-list li:nth-child(1) .nav__panel-link { --link-delay: 80ms; }
  .nav__panel-list li:nth-child(2) .nav__panel-link { --link-delay: 130ms; }
  .nav__panel-list li:nth-child(3) .nav__panel-link { --link-delay: 180ms; }
  .nav__panel-list li:nth-child(4) .nav__panel-link { --link-delay: 230ms; }
  .nav__panel-list li:nth-child(5) .nav__panel-link { --link-delay: 280ms; }
  .nav__panel-link[aria-current="page"] {
    background: var(--color-primary-soft);
    color: var(--color-primary);
  }
  .nav__panel-link[aria-current="page"] .nav__panel-link-index { color: var(--color-primary); }

  .nav__panel-foot {
    margin-top: var(--space-4);
    padding: var(--space-5);
    display: grid;
    gap: var(--space-4);
    border-top: var(--rule);
  }
  .nav__panel-phone {
    text-align: center;
    font-weight: 700;
    color: var(--color-text-muted);
  }

  body.nav-open { overflow: hidden; }
}

/* --- Hero (video background) ----------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-color: var(--color-primary-3);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-zoom 24s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 29, 20, 0.15) 0%,
    rgba(27, 29, 20, 0.4) 100%
  );
}

/* --- Landing hero with an inline lead form (immediate, no scroll needed) --
   Same full-bleed video sizing as the home hero (.hero) — only the inner
   content layout (split grid + form card) differs. */
.hero--landing {
  padding-block: var(--space-8);
}
.hero__split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: center;
}
.hero__form-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  padding-top: calc(var(--space-6) + 6px);
  color: var(--color-text);
  overflow: hidden;
}
.hero__form-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-mid) 100%);
}

/* Quick trust chips under the hero copy — instant credibility without scrolling */
.hero__trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(2px);
}
.hero__trust-item .bx {
  font-size: 1.05rem;
}

/* Icon-prefixed inputs — used on the hero lead form for a more premium feel */
.field--icon {
  position: relative;
}
.field--icon .field__icon {
  position: absolute;
  top: 2.55rem;
  inset-inline-start: var(--space-3);
  color: var(--color-text-subtle);
  font-size: 1.1rem;
  pointer-events: none;
}
.field--icon input {
  padding-inline-start: calc(var(--space-3) * 2 + 1.1rem);
}

@media (max-width: 900px) {
  .hero--landing {
    padding-block: var(--space-6);
  }
  .hero__split {
    grid-template-columns: 1fr;
  }
}
.hero__content {
  position: relative;
  color: #fff;
  padding-block: var(--space-8);
  animation: hero-rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__content { animation: none; }
}
.hero__content h1 {
  color: #fff;
  margin-bottom: var(--space-4);
  max-width: 22ch;
}
.hero__content .lead {
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-5);
}
.hero__kicker-line {
  width: 40px;
  height: 2px;
  background: #fff;
}
.hero__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
  padding-block: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 180ms ease, gap 180ms ease;
}
.hero__link:hover {
  color: #fff;
  border-color: #fff;
  gap: var(--space-3);
}

/* Stats card floats up to overlap the hero's bottom edge instead of
   sitting in its own plain band underneath it. */
.stats-band {
  position: relative;
  z-index: 5;
  margin-top: -90px;
}
@media (max-width: 700px) {
  .stats-band {
    margin-top: -60px;
  }
}

/* --- Stats band -------------------------------------------------------- */
.stats {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  text-align: center;
}
@media (max-width: 700px) {
  .stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.stats__item::before {
  content: '';
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}
.stats__label {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
}

/* --- Cards -------------------------------------------------------------- */
.card {
  background: #fff;
  border: var(--rule);
  border-radius: var(--radius);
  transition:
    box-shadow 200ms ease,
    transform 200ms ease,
    border-color 200ms ease;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--color-border-strong);
}

/* Service cards — photo led */
.service-card {
  overflow: hidden;
  padding: 0;
}
.service-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.service-card__body {
  padding: var(--space-5);
}
.service-card h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}
.service-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.service-card .link-arrow {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Why-us — text led, top accent, no icons */
.whyus-card {
  background: #fff;
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6) var(--space-5);
}
.whyus-card__index {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--color-primary-mid);
  margin-bottom: var(--space-3);
}
.whyus-card h4 {
  margin-bottom: var(--space-2);
}
.whyus-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin: 0;
}

/* --- Destinations (photo cards) ------------------------------------------ */
.dest-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.dest-card:hover img {
  transform: scale(1.07);
}
.dest-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(27, 29, 20, 0.88) 0%,
    rgba(27, 29, 20, 0.05) 60%
  );
}
.dest-card__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-4);
}
.dest-card__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}
.dest-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  margin: 0;
  color: #fff;
}

/* Destinations carousel (home page teaser) — draggable/swipeable with snap
   points and dot pagination; gently auto-advances (see main.js). */
.dest-carousel {
  margin-top: var(--space-6);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.dest-carousel__track {
  display: flex;
  gap: var(--space-5);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dest-carousel__track::-webkit-scrollbar { display: none; }
.dest-carousel__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}
.dest-card--carousel {
  flex: 0 0 auto;
  width: 380px;
  scroll-snap-align: start;
}
.dest-card--carousel img { pointer-events: none; }
@media (max-width: 600px) {
  .dest-card--carousel { width: 270px; }
}

.dest-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.dest-carousel__dot {
  flex: none;
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--color-primary-mid);
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 200ms ease, width 200ms ease, background-color 200ms ease;
}
.dest-carousel__dot:hover { opacity: 0.6; }
.dest-carousel__dot.is-active {
  width: 18px;
  background: var(--color-primary);
  opacity: 1;
}


/* --- Testimonials ---------------------------------------------------- */
.testimonial {
  background: var(--color-surface);
  border: var(--rule);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.testimonial__stars {
  color: var(--color-primary);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
  letter-spacing: 0.15em;
}
.testimonial p {
  color: var(--color-text-muted);
  font-style: italic;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.testimonial__author strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.testimonial__author span {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

/* --- FAQ accordion ------------------------------------------------------ */
.faq {
  display: grid;
  gap: var(--space-3);
}
.faq__item {
  background: #fff;
  border: var(--rule);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--color-text);
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__chevron {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 200ms ease;
  position: relative;
  top: -1px;
}
.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}
.faq__answer {
  margin: 0;
  padding-top: var(--space-3);
  color: var(--color-text-muted);
}
.faq__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
}
.faq__link .btn__arrow {
  font-size: 1em;
}

/* --- CTA band ---------------------------------------------------------- */
.cta-band {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: var(--space-2);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 48ch;
}

/* --- Split / story layout ------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.split__img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
/* A portrait-shot video would otherwise stretch to its own tall intrinsic
   ratio instead of matching the photo it replaced — cap it like the photo. */
video.split__img {
  height: auto;
  aspect-ratio: 4 / 5;
}

/* --- Service detail rows (services page) ---------------------------- */
.service-detail--alt {
  background: var(--color-surface);
}
.service-detail__index {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--color-primary-mid);
  margin-bottom: var(--space-3);
}
.service-detail__img {
  /* Override .split__img's height:100%, which otherwise stretches the image
     to match the text column and defeats the aspect-ratio set inline. */
  height: auto;
  transition: transform 400ms ease, box-shadow 400ms ease;
}
@media (min-width: 901px) {
  /* The image holds its position while the copy beside it scrolls past —
     scoped to the services page only (.split is shared with other pages). */
  .service-detail .split {
    align-items: start;
  }
  .service-detail__img {
    position: sticky;
    top: calc(var(--space-8) + 90px);
  }
}
.split:hover .service-detail__img {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}
.value-list li {
  padding-inline-start: var(--space-5);
  position: relative;
}
[dir="rtl"] .value-list li {
  padding-inline-start: var(--space-5);
  padding-inline-end: 0;
}
.value-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-primary);
}

/* Package highlights — icon + text cards (used on landing/ad pages) */
.highlight-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
@media (max-width: 600px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
}
.highlight-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4) var(--space-5);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.highlight-card__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.25rem;
}
.highlight-card p {
  margin: 0;
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--text-base);
}

.mv-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: var(--space-6);
  border: var(--rule);
}
.mv-card + .mv-card {
  margin-top: var(--space-5);
}
.mv-card__index {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-primary-mid);
  font-size: var(--text-sm);
  display: block;
  margin-bottom: var(--space-2);
}
.mv-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

/* --- Contact ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
.contact-info {
  display: grid;
}
.contact-info-item {
  padding-block: var(--space-4);
  border-bottom: var(--rule);
}
.contact-info-item:first-child {
  padding-top: 0;
}
.contact-info-item strong {
  display: block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-subtle);
  margin-bottom: 0.35rem;
}
.contact-info-item span,
.contact-info-item a {
  font-size: var(--text-base);
  color: var(--color-text);
  font-weight: 600;
}
.contact-info-item a:hover {
  color: var(--color-primary);
}

.form-card {
  background: #fff;
  border: var(--rule);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.field {
  margin-bottom: var(--space-4);
}
.field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: var(--text-sm);
  border: var(--rule-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  margin-top: var(--space-2);
}

.alert {
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
}
.alert--success {
  background: #ecfdf5;
  color: var(--color-success);
  border: 1px solid #a7f3d0;
}
.alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--rule);
  margin-top: var(--space-6);
}
.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* --- Footer -------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--color-primary-3);
  color: rgba(255, 255, 255, 0.7);
  padding-block: var(--space-8) var(--space-5);
  margin-top: var(--space-8);
}
/* Rolling-hills top edge — two soft layered silhouettes instead of a
   straight line, sitting on the seam between the section above and the footer. */
.site-footer::before {
  content: '';
  position: absolute;
  top: -59px;
  left: 0;
  width: 100%;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,50 Q80,90 160,48 Q240,10 320,60 Q400,105 480,45 Q560,15 640,62 Q720,110 800,50 Q880,15 960,65 Q1040,100 1120,48 Q1200,20 1280,62 Q1360,100 1440,50 L1440,120 L0,120 Z' fill='%238c8f7f' fill-opacity='0.35'/%3E%3Cpath d='M0,70 Q90,30 180,65 Q270,100 360,60 Q450,20 540,68 Q630,105 720,55 Q810,15 900,70 Q990,110 1080,58 Q1170,20 1260,66 Q1350,100 1440,60 L1440,120 L0,120 Z' fill='%231b1d14'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.site-footer .nav__brand {
  color: #fff;
}
.site-footer__about {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-sm);
  max-width: 32ch;
}
.site-footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.site-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.site-footer__social a:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.site-footer__social .bx {
  font-size: 20px;
}

.site-footer h4 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: var(--space-4);
  font-family: var(--font-sans);
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.site-footer ul li a,
.site-footer ul li {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-sm);
}
.site-footer ul li a:hover {
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-5);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* --- Quick-contact floating dock (minimal, no fill — location / email / phone / WhatsApp) -- */
.quick-contact {
  position: fixed;
  bottom: max(var(--space-4), env(safe-area-inset-bottom, 0px) + var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.quick-contact__btn {
  width: 38px;
  height: 38px;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 160ms ease, color 160ms ease;
}
.quick-contact__btn:hover {
  opacity: 1;
  color: var(--color-primary-2);
}
.quick-contact__btn .bx {
  font-size: 24px;
}
@media (max-width: 600px) {
  .quick-contact {
    left: var(--space-4);
    right: var(--space-4);
    transform: none;
    justify-content: space-evenly;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
  }
  .quick-contact__btn { width: 44px; height: 44px; }
  .quick-contact__btn .bx { font-size: 22px; }
}

/* --- Landing page contact rail — always-visible phone/WhatsApp/email,
   never tucked into a menu (desktop: fixed side rail, mobile: bottom bar) --- */
.contact-rail {
  position: fixed;
  top: 50%;
  inset-inline-end: var(--space-4);
  transform: translateY(-50%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact-rail__btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.7rem 1rem;
  background: #fff;
  color: var(--color-primary-3);
  border: var(--rule-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.contact-rail__btn:hover {
  transform: scale(1.04);
}
.contact-rail__btn .bx {
  font-size: 20px;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .contact-rail {
    top: auto;
    bottom: 0;
    inset-inline: 0;
    transform: none;
    flex-direction: row;
    gap: 0;
    box-shadow: 0 -2px 12px rgba(27, 29, 20, 0.15);
  }
  .contact-rail__btn {
    flex: 1;
    justify-content: center;
    border-radius: 0;
    border: none;
    border-inline-end: var(--rule);
    box-shadow: none;
    padding: var(--space-3) var(--space-2);
    min-height: 44px;
  }
  .contact-rail__btn span {
    display: none;
  }
  .contact-rail__btn .bx {
    font-size: 22px;
  }
}

/* --- 404 ----------------------------------------------------------- */
.error-page {
  text-align: center;
  padding-block: var(--space-10);
}
.error-page .eyebrow {
  margin-inline: auto;
}
.error-page__code {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-primary-soft);
  -webkit-text-stroke: 2px var(--color-primary);
  font-weight: 800;
}

/* --- Breadcrumbs (secondary pages) --------------------------------------- */
.breadcrumbs {
  background: var(--color-surface);
  border-bottom: var(--rule);
}
.breadcrumbs__inner {
  padding-block: var(--space-2);
}
.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--color-border-strong);
}
.breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.breadcrumbs li[aria-current="page"] {
  color: var(--color-primary);
  font-weight: 600;
}

/* --- Page header (secondary pages) --------------------------------------- */
.page-hero {
  background: var(--color-surface);
  padding-block: var(--space-7);
  border-bottom: var(--rule);
}
.page-hero h1 {
  margin-bottom: var(--space-2);
}
.page-hero .lead {
  margin-bottom: 0;
}

/* --- Scroll reveal --------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --- Utility --------------------------------------------------------- */
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.flex {
  display: flex;
}
.items-center {
  align-items: center;
}
.gap-2 {
  gap: var(--space-2);
}
.gap-3 {
  gap: var(--space-3);
}
