/* =====================================================================
   Hero Tours Egypt — "Nile green & gold" (matches the Lovable concept)
   Logical properties everywhere so Arabic mirrors cleanly.
===================================================================== */

:root {
  --green: #121a15;              /* oklch(0.19 0.016 155) */
  --green-2: #1b241e;            /* oklch(0.235 0.015 155) */
  --green-3: #26302a;
  --gold: #d2a95f;               /* oklch(0.79 0.111 83) */
  --gold-2: #e2bd78;
  --ivory: #f8f7f2;              /* oklch(0.979 0.005 90) */
  --sand: #efebe2;               /* oklch(0.945 0.011 90) */
  --ink: #1b241e;
  --muted: #6a6f68;
  --line: rgba(27, 36, 30, .12);
  --line-light: rgba(248, 247, 242, .16);
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --gutter: clamp(18px, 4.5vw, 64px);
  --maxw: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@supports (color: oklch(0 0 0)) {
  :root {
    --green: oklch(0.19 0.016 155);
    --green-2: oklch(0.235 0.015 155);
    --gold: oklch(0.79 0.111 83);
    --ivory: oklch(0.979 0.005 90);
    --sand: oklch(0.945 0.011 90);
    --ink: oklch(0.235 0.015 155);
  }
}
html[lang="ar"] { --serif: "Amiri", Georgia, serif; --sans: "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif; --hand: "Amiri", serif; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 17.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
::selection { background: var(--gold); color: var(--green); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
html[lang="ar"] * { letter-spacing: 0 !important; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

/* ---------- type ---------- */
.kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.kicker--dark { color: #a27e3c; }
html[lang="ar"] .kicker { font-size: 13px; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.005em; color: var(--ink); }
.h2 em, .hero__title em, .final__title em { font-style: italic; color: var(--gold); font-weight: 400; }
.sec--sand .h2 em, .sec .h2 em { color: #b48a43; }
.sec--dark .h2 em { color: var(--gold); }
html[lang="ar"] .h2 em, html[lang="ar"] .hero__title em, html[lang="ar"] .final__title em { font-style: normal; }
.lead { color: var(--muted); font-size: 16.5px; max-width: 56ch; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding-inline: 24px; border-radius: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--green); }
.btn--gold:hover { background: var(--gold-2); }
.btn--glass { border: 1px solid rgba(248,247,242,.45); color: var(--ivory); background: rgba(18,26,21,.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--glass:hover { background: var(--ivory); color: var(--green); }
.btn--line { border: 1px solid rgba(248,247,242,.4); color: var(--ivory); height: 42px; padding-inline: 18px; }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--line-dark { border: 1px solid var(--line); color: var(--ink); }
.btn--block { width: 100%; }
html[lang="ar"] .btn { font-size: 14.5px; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(80px, 10vw, 140px); }
.sec--sand { background: var(--sand); }
.sec--dark { background: var(--green); color: var(--ivory); }
.sec--dark .h2 { color: var(--ivory); }
.head { display: grid; gap: 18px; margin-block-end: clamp(40px, 5vw, 64px); }
.head--split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; }
.head--split > div:first-child { display: grid; gap: 18px; justify-items: start; }
.head__side { display: grid; gap: 22px; justify-items: start; color: var(--muted); font-size: 15px; max-width: 42ch; justify-self: end; }
.sec--dark .head__side { color: rgba(248,247,242,.65); }
.head--center { justify-items: center; text-align: center; max-width: 760px; margin-inline: auto; }
.head--center .lead { margin-inline: auto; }

/* =====================================================================
   LOADER
===================================================================== */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--green); display: grid; place-items: center; }
.loader__box { display: grid; justify-items: center; gap: 18px; }
.loader__logo { width: 150px; height: auto; }
.loader__road { width: 280px; height: auto; overflow: visible; }
[dir="rtl"] .loader__road { transform: scaleX(-1); }
.ld-line { stroke: #2f3a33; stroke-width: 2; }
.ld-dash { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 320; stroke-dashoffset: 320; }
.loader__count { color: var(--ivory); font-size: 12px; letter-spacing: .2em; font-variant-numeric: tabular-nums; direction: ltr; }

/* =====================================================================
   HEADER
===================================================================== */
.hdr { position: fixed; z-index: 100; inset-block-start: 0; inset-inline: 0; color: var(--ivory); transition: background-color .4s, box-shadow .4s; }
.hdr::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--line-light); }
.hdr.is-solid { background: var(--green); box-shadow: 0 10px 30px -20px rgba(0,0,0,.6); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 82px; transition: height .4s var(--ease); }
.hdr.is-solid .hdr__in { height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 52px; height: auto; }
.brand__name { display: grid; font-family: "Alegreya", Georgia, serif; font-size: 21px; font-weight: 600; line-height: 1; letter-spacing: .04em; text-transform: uppercase; direction: ltr; }
.brand__name small { font-family: "Alegreya Sans", sans-serif; font-size: 8.5px; font-weight: 500; letter-spacing: .5em; margin-top: 6px; color: rgba(248,247,242,.7); }
.nav { display: flex; gap: clamp(18px, 2.6vw, 38px); font-size: 13.5px; }
.nav a { position: relative; padding-block: 6px; color: rgba(248,247,242,.85); transition: color .25s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:hover { color: var(--ivory); }
.nav a:hover::after { transform: scaleX(1); }
.hdr__right { display: flex; align-items: center; gap: 14px; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding-inline: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; color: var(--ivory); }
.lang__btn svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .3s; }
.lang.is-open .lang__btn svg { transform: rotate(180deg); }
.lang__list { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 190px; padding: 6px; background: var(--ivory); color: var(--ink); border-radius: 4px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s; }
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.lang__list a { display: flex; justify-content: space-between; gap: 14px; padding: 9px 12px; border-radius: 3px; font-size: 14.5px; }
.lang__list a small { font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
.lang__list a:hover { background: var(--sand); }
.lang__list a[aria-selected="true"] { background: var(--green); color: var(--ivory); }
.lang__list a[aria-selected="true"] small { color: var(--gold); }
.lang__list span[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 4px; place-items: center; align-content: center; gap: 6px; }
.burger i { display: block; width: 20px; height: 1.5px; background: var(--ivory); transition: transform .35s var(--ease); }
.burger { gap: 5px; }
.burger i:nth-child(2) { transition: opacity .2s; }
body.menu-open .burger i:first-child { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger i:nth-child(2) { opacity: 0; }
body.menu-open .burger i:last-child { transform: translateY(-6.5px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--green); color: var(--ivory); padding: 110px var(--gutter) 30px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu__nav { display: grid; }
.menu__nav a { font-family: var(--serif); font-size: 34px; padding-block: 12px; border-bottom: 1px solid var(--line-light); }
.menu__foot { display: grid; gap: 16px; padding-top: 24px; }
.menu__phone { text-align: center; font-size: 20px; color: var(--gold); }
body.menu-open .hdr { background: var(--green); }

/* =====================================================================
   HERO
===================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: var(--ivory); isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,20,16,.82) 0%, rgba(14,20,16,.5) 42%, rgba(14,20,16,.08) 75%), linear-gradient(0deg, rgba(14,20,16,.6), rgba(14,20,16,0) 35%), linear-gradient(180deg, rgba(14,20,16,.45), rgba(14,20,16,0) 25%); }
[dir="rtl"] .hero__shade { background: linear-gradient(-90deg, rgba(14,20,16,.82) 0%, rgba(14,20,16,.5) 42%, rgba(14,20,16,.08) 75%), linear-gradient(0deg, rgba(14,20,16,.6), rgba(14,20,16,0) 35%), linear-gradient(180deg, rgba(14,20,16,.45), rgba(14,20,16,0) 25%); }
.hero__inner { padding-block: 120px 170px; display: grid; gap: 18px; justify-items: start; min-width: 0; }
.hero__inner > * { max-width: 100%; }
.hero__brand { font-size: 13px; font-weight: 500; color: rgba(248,247,242,.85); margin-top: 6px; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -.01em; max-width: 17ch; }
html[lang="ru"] .hero__title, html[lang="fr"] .hero__title, html[lang="es"] .hero__title, html[lang="it"] .hero__title, html[lang="ro"] .hero__title { font-size: clamp(40px, 5.4vw, 76px); max-width: 15ch; }
html[lang="ar"] .hero__title { line-height: 1.35; font-size: clamp(32px, 4.6vw, 66px); max-width: 100%; }
.hero__sub { max-width: 44ch; color: rgba(248,247,242,.82); font-size: 15.5px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.hero__bottom { position: absolute; inset-inline: 0; bottom: 30px; display: flex; justify-content: space-between; align-items: center; }
.hero__down { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(248,247,242,.4); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.hero__down svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; animation: bob 2.4s ease-in-out infinite; }
.hero__down:hover { background: var(--ivory); color: var(--green); }
@keyframes bob { 50% { transform: translateY(3px); } }
.hero__note { display: inline-flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(248,247,242,.8); }
.hero__note svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 1.5; }

/* strip */
.strip { background: var(--green); color: rgba(248,247,242,.85); border-top: 1px solid var(--line-light); }
.strip__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; flex-wrap: wrap; padding-block: 16px; }
.strip span { display: inline-flex; align-items: center; gap: 12px; font-size: 13.5px; }
.strip b { font-weight: 400; }
.strip svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.strip i { font-style: normal; color: var(--gold); font-size: 10px; opacity: .8; }

/* =====================================================================
   RESERVE (steps + booking form)
===================================================================== */
.reserve { display: grid; grid-template-columns: 1fr 440px; gap: clamp(40px, 7vw, 110px); align-items: center; }
.reserve__copy { display: grid; gap: 20px; justify-items: start; }
.reserve__steps { display: grid; gap: 22px; margin-top: 12px; }
.reserve__steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.reserve__steps h3 { font-size: 15.5px; font-weight: 600; }
.reserve__steps p { color: var(--muted); font-size: 14.5px; }
.ring { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(162,126,60,.45); display: grid; place-items: center; }
.ring svg { width: 21px; height: 21px; fill: none; stroke: #a27e3c; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.book { background: var(--green); color: var(--ivory); padding: 34px; border-radius: 4px; display: grid; gap: 18px; box-shadow: 0 40px 70px -40px rgba(18,26,21,.8); }
.book__title { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.book__fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(248,247,242,.6); }
html[lang="ar"] .field > span { font-size: 13px; }
.field input, .field select { width: 100%; height: 46px; padding-inline: 14px; border: 1px solid var(--line-light); border-radius: 4px; background: rgba(248,247,242,.04); color: var(--ivory); font-size: 15px; outline: none; -webkit-appearance: none; appearance: none; color-scheme: dark; transition: border-color .25s; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23d2a95f' stroke-width='1.4'%3E%3Cpath d='M2 4.5 6 8l4-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 11px; background-position: right 14px center; padding-inline-end: 34px; }
[dir="rtl"] .field select { background-position: left 14px center; }
.field select option { background: var(--green); color: var(--ivory); }
.field input::placeholder { color: rgba(248,247,242,.35); }
.field input:focus, .field select:focus { border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.field input[type="date"], .field input[type="time"] { min-width: 0; max-width: 100%; padding-inline: 10px; font-size: 14px; }
.book__note { font-size: 12.5px; color: rgba(248,247,242,.6); text-align: center; }

/* =====================================================================
   FLEET
===================================================================== */
/* arrows sit on the outer edges of the photos, centred on their height (photo = 4:3.2 of a column) */
.carousel { position: relative; container-type: inline-size; --cols: 3; --gap: 26px; }
/* arrows sit just outside the photos (as far out as the page margin allows), centred on the photo height */
/* just outside the photos: a 28px gap on wide screens, as far out as the page margin allows on narrow ones */
.carousel { --arrow: 48px; --arrow-out: min(calc(var(--arrow) + 28px), max(calc(var(--gutter) - 6px), calc((100vw - 100cqw) / 2 - 22px))); }
.carousel .carousel__btn { position: absolute; z-index: 2; width: var(--arrow); height: var(--arrow); top: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * .4); inset-inline-start: calc(-1 * var(--arrow-out)); translate: 0 -50%; background: #0b0d0c; color: #fff; border: 0; box-shadow: 0 14px 30px -12px rgba(0,0,0,.55); transition: background-color .3s, color .3s, opacity .3s, transform .3s var(--ease); }
.carousel .carousel__btn svg { width: 20px; height: 20px; stroke-width: 1.8; }
.carousel .carousel__btn--next { inset-inline-start: auto; inset-inline-end: calc(-1 * var(--arrow-out)); }
.carousel .carousel__btn:hover:not(:disabled) { background: var(--gold); color: #0b0d0c; transform: scale(1.06); }
.carousel .carousel__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.carousel .carousel__btn:disabled { opacity: 1; cursor: default; background: #0b0d0c; color: rgba(255,255,255,.28); box-shadow: none; }
.carousel__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s; }
.carousel__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.carousel__btn:hover { background: var(--green); color: var(--ivory); border-color: var(--green); }
[dir="rtl"] .carousel__btn svg { transform: scaleX(-1); }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 26px) / 3); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 6px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.carousel__dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(27,36,30,.2); transition: width .35s var(--ease), background-color .3s; }
.carousel__dots button[aria-current="true"] { width: 26px; border-radius: 4px; background: var(--gold); }

.car { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; }
.car__img { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; border-radius: 4px; background: #e6e2d8; }
.car__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.car:hover .car__img img { transform: scale(1.05); }
.car__img--cut { background: linear-gradient(180deg, #f8f7f2, #e9e5db); }
.car__img--cut img { object-fit: contain; padding: 8% 8% 4%; mix-blend-mode: multiply; }
.car__class { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(248,247,242,.92); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; }
.car__body { display: grid; gap: 10px; }
.car__name { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.1; text-align: start; unicode-bidi: plaintext; }
.car__desc { color: var(--muted); font-size: 14.5px; min-height: 3.2em; }
.car__specs { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-block: 12px; border-block: 1px solid var(--line); font-size: 13.5px; }
.car__specs li { display: inline-flex; gap: 6px; align-items: baseline; }
.car__specs span { color: var(--muted); }
.car__specs i { display: none; }
.car__specs b { font-weight: 600; order: -1; }
.car__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 4px; }
.car__actions .btn { height: 46px; }
.car__actions .btn--yellow { background: var(--green); color: var(--ivory); }
.car__actions .btn--yellow:hover { background: var(--gold); color: var(--green); }
.car__actions .btn--icon { width: 46px; padding: 0; border: 1px solid var(--line); color: var(--ink); }
.car__actions .btn--icon:hover { border-color: var(--green); }
.car__actions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* =====================================================================
   TRIPS
===================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 34px; }
.filters button { height: 38px; padding-inline: 16px; border: 1px solid var(--line); border-radius: 3px; font-size: 13px; transition: background-color .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-selected="true"] { background: var(--green); color: var(--ivory); border-color: var(--green); }
.filters sup { font-size: 9px; margin-inline-start: 4px; opacity: .6; }
.tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 28px; }
.tour.is-hidden { display: none; }
.tour a { display: grid; gap: 12px; }
.tour__img { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: 4px; background: #e2ddd1; isolation: isolate; }
.tour__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tour a:hover .tour__img img { transform: scale(1.05); }
.tour__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(14,20,16,.65)); }
.tour__tag { position: absolute; z-index: 1; top: 14px; inset-inline-start: 14px; background: rgba(248,247,242,.94); font-size: 11.5px; padding: 5px 10px; border-radius: 3px; }
.tour__foot { position: absolute; z-index: 1; inset-inline: 16px; bottom: 14px; display: flex; align-items: center; gap: 14px; color: var(--ivory); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
html[lang="ar"] .tour__foot { font-size: 12.5px; }
.tour__dur { flex: 1; }
.tour__n { font-size: 11px; opacity: .85; }
.tour__arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(248,247,242,.55); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.tour__arrow .ico { width: 13px; height: 13px; }
.tour a:hover .tour__arrow { background: var(--ivory); color: var(--green); }
.tour__title { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.15; margin-top: 6px; }
.tour__desc { color: var(--muted); font-size: 14.5px; }
.tour__cta { font-size: 13px; font-weight: 600; display: inline-flex; gap: 8px; }
.tour__cta b { transition: transform .3s var(--ease); }
[dir="rtl"] .tour__cta b { transform: scaleX(-1); }
.tour a:hover .tour__cta b { transform: translateX(4px); }
[dir="rtl"] .tour a:hover .tour__cta b { transform: scaleX(-1) translateX(4px); }

/* =====================================================================
   ABOUT / THE WAY
===================================================================== */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about__photo { display: grid; gap: 12px; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 0; border-radius: 4px; }
.about__photo figcaption { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--muted); }
.way { display: grid; grid-template-columns: 1fr 1fr; }
.way li { display: grid; gap: 10px; align-content: start; padding: 28px; border-inline-start: 1px solid var(--line); border-block-start: 1px solid var(--line); }
.way li:nth-child(-n+2) { border-block-start: 0; }
.way li:nth-child(odd) { border-inline-start: 0; }
.way__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.way__top b { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .1em; }
.way h3 { font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.15; }
.way p { color: var(--muted); font-size: 14.5px; }

/* =====================================================================
   ROUTES
===================================================================== */
.routes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.routes li:not(.routes__group) { border-bottom: 1px solid var(--line-light); }
.routes a { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; transition: background-color .3s; }
.routes a:hover { background: rgba(248,247,242,.04); }
.route__code { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--gold); direction: ltr; text-align: start; }
.route__txt { display: grid; line-height: 1.3; }
.route__txt b { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.route__txt span { font-size: 13px; color: rgba(248,247,242,.55); }
.route__time { font-size: 12.5px; color: rgba(248,247,242,.75); white-space: nowrap; border: 1px solid var(--line-light); padding: 5px 10px; border-radius: 3px; }

/* =====================================================================
   FAQ
===================================================================== */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq-wrap .head { position: sticky; top: 110px; justify-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 22px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.2px; margin: -.6px 0 0 -5px; background: var(--ink); transition: transform .35s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { background: var(--green); border-color: var(--green); }
.faq__item[open] summary i::before, .faq__item[open] summary i::after { background: var(--ivory); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__a { padding-bottom: 24px; color: var(--muted); max-width: 64ch; }

/* =====================================================================
   FINAL CTA
===================================================================== */
.final { position: relative; min-height: 92vh; display: grid; place-items: center; text-align: center; color: var(--ivory); isolation: isolate; overflow: hidden; }
.final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.final__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(14,20,16,.55), rgba(14,20,16,.82)); }
.final__in { display: grid; justify-items: center; gap: 20px; padding-block: 120px; }
.final__in .kicker::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.final__title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6vw, 84px); line-height: 1.04; max-width: 14ch; }
.final__sub { color: rgba(248,247,242,.82); max-width: 46ch; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.final__airports { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: 13px; color: rgba(248,247,242,.75); }
.final__airports li { display: inline-flex; gap: 8px; align-items: center; }
.final__airports b { font-size: 10.5px; letter-spacing: .14em; color: var(--gold); direction: ltr; }

/* =====================================================================
   FOOTER
===================================================================== */
.footer { background: var(--green); color: rgba(248,247,242,.7); }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 48px; border-bottom: 1px solid var(--line-light); color: var(--ivory); flex-wrap: wrap; }
.footer__motto { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold); text-align: center; max-width: 30ch; }
html[lang="ar"] .footer__motto { font-style: normal; }
.footer__up { display: inline-flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; }
.footer__up:hover { color: var(--gold); }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-block: 44px; }
.footer h4 { color: var(--ivory); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 16px; }
.footer__links { display: grid; gap: 8px; font-size: 14.5px; }
.footer__links a:hover { color: var(--gold); }
.footer__langs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.footer__langs a:hover, .footer__langs a[aria-current="true"] { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid var(--line-light); font-size: 12.5px; padding-inline-end: calc(var(--gutter) + 70px); }
.footer__places { letter-spacing: .14em; font-size: 11px; }

/* floating WhatsApp */
.fab { position: fixed; z-index: 80; inset-block-end: max(22px, env(safe-area-inset-bottom)); inset-inline-end: 22px; width: 56px; height: 56px; border-radius: 50%; background: #2e7d4f; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.fab:hover { transform: scale(1.07); }
.fab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
body.menu-open .fab { opacity: 0; pointer-events: none; }
.totop { display: none; }

/* consent */
.consent { position: fixed; z-index: 120; inset-inline-start: 20px; bottom: 20px; max-width: 390px; padding: 20px; background: var(--ivory); border-radius: 4px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.5); display: grid; gap: 14px; font-size: 14px; }
.consent[hidden] { display: none; }
.consent__btns { display: flex; justify-content: flex-end; gap: 10px; }
.consent .btn { height: 40px; padding-inline: 16px; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .tour, .js .car { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .tour.is-in, .js .car.is-in { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
===================================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: grid; }
  .carousel__track { grid-auto-columns: calc((100% - 26px) / 2); }
  .carousel { --cols: 2; }
  .tours { grid-template-columns: repeat(2, 1fr); }
  .reserve { grid-template-columns: 1fr 400px; }
}
@media (max-width: 900px) {
  .head--split { grid-template-columns: 1fr; gap: 18px; }
  .head__side { justify-self: start; }
  .reserve { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 520px; }
  .routes { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .head { position: static; }
  .strip__in { justify-content: flex-start; gap: 12px 22px; }
  .strip i { display: none; }
}
@media (max-width: 640px) {
  .hdr__cta { display: none; }
  .hero__note { display: none; }
  .hero__shade, [dir="rtl"] .hero__shade { background: linear-gradient(180deg, rgba(14,20,16,.6) 0%, rgba(14,20,16,.68) 45%, rgba(14,20,16,.86) 100%); }
  .hdr__in { height: 70px; }
  .brand img { width: 42px; }
  .brand__name { font-size: 18px; }
  .hero__inner { padding-block: 110px 120px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .book { padding: 24px; }
  .carousel__track { grid-auto-columns: 86%; }
  .carousel .carousel__btn { display: none; }
  .tours { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .way { grid-template-columns: 1fr; }
  .way li { border-inline-start: 0 !important; border-block-start: 1px solid var(--line) !important; padding-inline: 0; }
  .way li:first-child { border-block-start: 0 !important; }
  .final__ctas .btn { flex: 1 1 100%; }
  .footer__top { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .strip span { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js .tour, .js .car { opacity: 1; transform: none; }
}

/* =====================================================================
   HUMAN TOUCHES — handwritten labels, softer type, fewer "template" tells
===================================================================== */
.kicker { font-family: var(--hand); font-size: 27px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1; color: var(--gold); transform: rotate(-2deg); transform-origin: left center; }
[dir="rtl"] .kicker { transform: rotate(2deg); transform-origin: right center; }
.kicker::before { display: none; }
.kicker--dark { color: #a87f3a; }
html[lang="ar"] .kicker { font-size: 22px; font-style: italic; }
.final__in .kicker::after { display: none; }

.h2 { font-weight: 500; letter-spacing: -.01em; line-height: 1.12; font-size: clamp(32px, 3.8vw, 50px); }
.hero__title { font-weight: 500; letter-spacing: -.015em; }
.hero__title em { font-weight: 400; }
.final__title { font-weight: 500; }
.lead { font-size: 19px; line-height: 1.6; }
.head__side { font-size: 17px; }

.btn { font-size: 16px; font-weight: 500; letter-spacing: 0; height: 52px; }
html[lang="ar"] .btn { font-size: 16px; }
.nav { font-size: 16.5px; }
.lang__btn { font-size: 15px; letter-spacing: .04em; }
.field > span, .field > label { font-size: 14.5px; letter-spacing: 0; text-transform: none; color: rgba(248,247,242,.72); }
.field input, .field select { font-size: 16px; }
.book__title { font-size: 32px; }
.strip span { font-size: 16.5px; }
.strip__in { justify-content: space-between; }
.strip span + span { padding-inline-start: 22px; border-inline-start: 1px solid var(--line-light); }
.hero__note { font-size: 15px; letter-spacing: 0; text-transform: none; }
.tour__foot { font-size: 14px; letter-spacing: 0; text-transform: none; }
.tour__n { display: none; }
.tour__title, .car__name { font-weight: 500; }
.tour__desc, .car__desc, .reserve__steps p, .way p, .faq__a { font-size: 16.5px; }
.car__specs { font-size: 15.5px; }
.car__class, .tour__tag { font-size: 13.5px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.reserve__steps h3 { font-size: 18px; }
.route__code { font-size: 13px; letter-spacing: .06em; }
.route__txt span { font-size: 15px; }
.route__time { font-size: 14.5px; }
.footer h4 { font-family: var(--hand); font-size: 26px; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--gold); }
.footer__up { font-size: 15px; letter-spacing: 0; text-transform: none; }
.footer__places { font-size: 13px; letter-spacing: .08em; }
.footer__motto { font-size: 26px; }
.final__airports { font-size: 15px; }
.final__airports b { font-size: 12.5px; }

/* handwritten note in the hero */
.hand-note { display: inline-flex; align-items: flex-end; gap: 6px; margin-top: 6px; margin-inline-start: 120px; font-family: var(--hand); font-size: 30px; line-height: 1; color: var(--gold); transform: rotate(-4deg); }
[dir="rtl"] .hand-note { transform: rotate(4deg); }
.hand-note svg { width: 54px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: scaleY(-1) translateY(-10px); }
[dir="rtl"] .hand-note svg { transform: scale(-1, -1) translateY(-10px); }
html[lang="ar"] .hand-note { font-size: 26px; }

/* signature under the about text */
.sign { font-family: var(--hand); font-size: 34px; color: var(--ink); margin-top: 6px; transform: rotate(-3deg); }
.sign::before { content: "– "; }
.sign::after { content: " –"; }
html[lang="ar"] .sign { font-size: 28px; }

@media (max-width: 640px) {
  .hand-note { margin-inline-start: 20px; font-size: 26px; }
  .strip span + span { padding-inline-start: 0; border: 0; }
  .lead { font-size: 18px; }
}

/* route groups */
.routes__group { grid-column: 1 / -1; font-family: var(--hand); font-size: 28px; color: var(--gold); padding: 34px 0 10px; border-bottom: 1px solid var(--line-light); }
.routes__group:first-child { padding-top: 6px; }
html[lang="ar"] .routes__group { font-size: 24px; }

/* realistic sedan icon */
.ico--car { width: 30px; height: 15px; stroke-width: 1.15; }
.ring .ring__car { width: 32px; height: 16px; color: #a27e3c; stroke: none; }
.ring .ring__car circle { stroke: currentColor; }

.ring .ring__handset { fill: #a27e3c; stroke: none; }
.ring .ring__person { width: 27px; height: 27px; color: #a27e3c; }
.ring .ring__board { fill: var(--sand); }
.ring .ring__solid { width: 27px; height: 27px; fill: #a27e3c; stroke: none; }
.ring .ring__solid .ring__light { fill: #f6f0e3; }
.ring .ring__solid .ring__mid { fill: #d8c193; }
.ring .ring__solid .ring__light-line { fill: none; stroke: #f6f0e3; stroke-width: 1.1; }

/* =====================================================================
   HOTEL SEARCH (autocomplete + browsable list)
===================================================================== */
.field > label { display: block; }
.ac { position: relative; }
.ac input { padding-inline-end: 44px; }
.ac__toggle { position: absolute; inset-block: 0; inset-inline-end: 0; width: 44px; display: grid; place-items: center; color: var(--gold); }
.ac__toggle svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .3s var(--ease); }
.ac.is-open .ac__toggle svg { transform: rotate(180deg); }
.ac__panel { position: absolute; z-index: 30; top: calc(100% + 6px); inset-inline: 0; background: #1d2620; border: 1px solid rgba(210,169,95,.35); border-radius: 4px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.8); overflow: hidden; }
.ac__panel[hidden] { display: none; }
.ac__head { padding: 10px 14px; font-size: 13.5px; color: rgba(248,247,242,.6); border-bottom: 1px solid var(--line-light); }
.ac__list { max-height: 290px; overflow-y: auto; overscroll-behavior: contain; padding: 4px 0; scrollbar-width: thin; scrollbar-color: rgba(210,169,95,.4) transparent; }
.ac__group { position: sticky; top: 0; z-index: 1; padding: 8px 14px 4px; font-family: var(--hand); font-size: 21px; color: var(--gold); background: #1d2620; }
.ac__opt { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 14px; font-size: 16px; color: var(--ivory); cursor: pointer; }
.ac__opt small { flex: none; font-size: 13px; color: rgba(248,247,242,.5); }
.ac__opt mark { background: none; color: var(--gold); font-weight: 700; }
.ac__opt:hover, .ac__opt.is-active { background: rgba(210,169,95,.16); }
.ac__src { padding: 6px 14px 7px; border-top: 1px solid var(--line-light); font-size: 11px; color: rgba(248,247,242,.4); text-align: end; }
.ac__src a { color: inherit; text-decoration: underline; }
.ac__empty { padding: 12px 14px; font-size: 14.5px; color: rgba(248,247,242,.7); }
@media (max-width: 640px) { .ac__list { max-height: 240px; } }

/* Time picker */
.tp .ac__toggle svg { width: 14px; height: 14px; stroke-width: 1.2; }
.tp.is-open .ac__toggle svg { transform: none; }
.tp input { font-variant-numeric: tabular-nums; }
.tp__panel { inset-inline: auto 0; width: 284px; max-width: calc(100vw - 48px); padding: 6px 12px 12px; }
.tp__label { padding: 8px 2px 5px; font-family: var(--hand); font-size: 19px; line-height: 1; color: var(--gold); }
.tp__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.tp__row--min { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tp__chip { direction: ltr; height: 34px; border-radius: 3px; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ivory); background: rgba(248,247,242,.05); transition: background .2s, color .2s; }
.tp__chip:hover { background: rgba(210,169,95,.2); }
.tp__chip:focus-visible { outline: 1px solid var(--gold); outline-offset: 1px; }
.tp__chip.is-on { background: var(--gold); color: #17201a; font-weight: 700; }
.tp__row--min.is-next .tp__chip:not(.is-on) { animation: tpNudge .9s var(--ease); }
@keyframes tpNudge { 30% { background: rgba(210,169,95,.28); } }
.tp__note { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line-light); font-size: 12.5px; color: rgba(248,247,242,.5); }
@media (prefers-reduced-motion: reduce) { .tp__row--min.is-next .tp__chip { animation: none; } }

/* Gallery: a tidy grid, the first photo big, the last tile "+N" */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 240px); gap: 12px; grid-auto-flow: dense; }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: 4px; background: rgba(248,247,242,.05); cursor: zoom-in; isolation: isolate; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cap { position: absolute; inset-inline: 0; bottom: 0; padding: 30px 14px 11px; font-size: 14px; line-height: 1.3; color: var(--ivory); background: linear-gradient(transparent, rgba(10,14,12,.78)); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery__item--more { cursor: pointer; }
.gallery__more { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 12px; background: rgba(12,18,14,.62); color: var(--ivory); transition: background-color .35s; }
.gallery__item--more:hover .gallery__more { background: rgba(12,18,14,.45); }
.gallery__more b { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 50px); font-weight: 500; line-height: 1; color: var(--gold); direction: ltr; }
.gallery__more small { font-size: 13.5px; letter-spacing: .02em; color: rgba(248,247,242,.9); border-bottom: 1px solid rgba(210,169,95,.6); padding-bottom: 2px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 24vw, 220px); } }
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 36vw; gap: 8px; }
  .gallery__cap { opacity: 1; transform: none; font-size: 12px; padding: 18px 9px 7px; }
  .gallery__more small { font-size: 12px; }
}

/* Gallery viewer */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,14,12,.95); color: var(--ivory); display: none; place-items: center; overscroll-behavior: contain; }
.lightbox[open] { display: grid; animation: lbIn .35s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox__fig { display: grid; justify-items: center; gap: 12px; margin: 0; padding: 64px 72px 24px; max-width: 100%; touch-action: pan-y; }
.lightbox__fig img { max-width: min(1200px, 100%); max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 3px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); transition: opacity .25s; }
.lightbox__fig img.is-loading { opacity: 0; }
.lightbox figcaption { display: flex; align-items: baseline; gap: 14px; font-size: 15px; color: rgba(248,247,242,.85); }
.lightbox figcaption small { font-size: 12.5px; letter-spacing: .12em; color: rgba(248,247,242,.45); direction: ltr; unicode-bidi: isolate; }
.lightbox__btn { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(248,247,242,.22); color: var(--ivory); background: rgba(18,26,21,.6); transition: background-color .25s, border-color .25s, color .25s; }
.lightbox__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--green); }
.lightbox__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.lightbox__close { top: 16px; inset-inline-end: 16px; }
.lightbox__prev { inset-inline-start: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { inset-inline-end: 16px; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) {
  .lightbox__fig { padding: 70px 10px 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 22px; translate: none; }
  .lightbox__prev { inset-inline-start: calc(50% - 60px); }
  .lightbox__next { inset-inline-end: calc(50% - 60px); }
}
body.lb-open { overflow: hidden; }

/* Header nav: the logo already goes home; never break a link onto two lines */
.nav a { white-space: nowrap; }
.nav a[href="#home"] { display: none; }
@media (max-width: 1220px) {
  .nav { display: none; }
  .burger { display: grid; }
}

/* =====================================================================
   DEVICE FIT
===================================================================== */
.nw { white-space: nowrap; }

/* tablets: a bigger, wider hero headline instead of a thin column */
@media (min-width: 600px) and (max-width: 1100px) {
  html[lang] .hero__title { font-size: clamp(50px, 7vw, 68px); max-width: 15ch; }
  html[lang="ar"] .hero__title { font-size: clamp(40px, 5.6vw, 56px); max-width: 100%; }
  .hero__sub { max-width: 52ch; font-size: 17px; }
}

/* tablets: the about photo goes full width, landscape crop, under the centred title */
@media (min-width: 600px) and (max-width: 900px) {
  .about__photo { max-width: 460px; width: 100%; margin-inline: auto; }
}

/* large monitors: use more of the screen and scale the headlines with it */
@media (min-width: 1680px) {
  :root { --maxw: 1480px; }
  .h2 { font-size: clamp(50px, 3.1vw, 64px); }
  html[lang] .hero__title { font-size: clamp(76px, 4.7vw, 96px); }
  html[lang="ar"] .hero__title { font-size: clamp(64px, 3.9vw, 80px); }
  .final__title { font-size: clamp(84px, 5vw, 104px); }
  .hero__sub { font-size: 17.5px; }
  .head__side { font-size: 18px; }
}
@media (min-width: 2200px) {
  :root { --maxw: 1680px; }
}

/* routes: long place names wrap instead of pushing the row wider than the screen */
.routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.routes a { grid-template-columns: 56px minmax(0, 1fr) auto; }
@media (max-width: 900px) { .routes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) {
  .routes a { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; padding: 16px 4px; }
  .route__txt b { font-size: 20px; }
  .route__time { padding: 4px 7px; font-size: 13px; }
}

/* very small phones (iPhone SE 1st gen, old Androids) */
@media (max-width: 359px) {
  .hdr__in { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 36px; }
  .brand__name { font-size: 15px; letter-spacing: .03em; }
  .brand__name small { font-size: 7px; letter-spacing: .4em; }
  .hdr__right { gap: 6px; }
  .lang__btn { padding-inline: 6px; font-size: 13px; }
  .burger { width: 40px; height: 40px; }
}

/* strip under the hero: the same realistic icons in gold rings, tuned for the dark green */
.strip span.ring { display: grid; place-items: center; gap: 0; padding: 0; border: 1px solid rgba(210,169,95,.5); flex: none; width: 46px; height: 46px; line-height: 1; }
.strip .ring svg { stroke: var(--gold); }
.strip .ring .ring__person { color: var(--gold); }
.strip .ring .ring__solid { fill: var(--gold); }
.strip .ring .ring__board { fill: #f3ead6; }
.strip span { gap: 14px; }
@media (max-width: 640px) {
  .strip__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .strip span.ring { width: 40px; height: 40px; }
  .strip .ring svg { width: 23px !important; height: 23px !important; }
  .strip span { gap: 10px; line-height: 1.25; }
}
