/* NOMAD SAFARI — site styles. Mobile-first, logical properties for RTL. */
:root {
  --brand: #29B8F2;          /* NOMAD blue (logo) — accents */
  --action: #0A6CD1;         /* darker blue for buttons: AA contrast with white text */
  --action-hover: #0858AB;
  --navy: #0F2A44;
  --ink: #171A1C;            /* charcoal */
  --ink-2: #4A5258;
  --muted: #6B7479;
  --line: #E4E1D8;
  --sand: #F5F1E8;
  --sand-2: #EDE6D6;
  --white: #FFFFFF;
  --ok: #1E8E4E;
  --warn: #D9861A;
  --bad: #D23B3B;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(15, 42, 68, .10);
  --shadow-lg: 0 18px 50px rgba(15, 42, 68, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Oswald", "Inter", sans-serif;
  --brush: "Permanent Marker", "Oswald", cursive;
  --wrap: 1200px;
}
[dir="rtl"] { --font: "Cairo", system-ui, sans-serif; --display: "Cairo", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--action); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 24px; } }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--action); margin-bottom: .4em; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
.display { font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; }
[dir="rtl"] .display { text-transform: none; }
.section { padding-block: 56px; }
.section--sand { background: var(--sand); }
.section--tight { padding-block: 36px; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: .98rem; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--action); color: #fff; }
.btn--primary:hover { background: var(--action-hover); }
.btn--ghost { background: #fff; color: var(--action); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--action); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--light:hover { background: rgba(255,255,255,.24); }
.btn--wa { background: #1FA855; color: #fff; }
.btn--wa:hover { background: #178a45; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.arrow::after { content: "→"; }
[dir="rtl"] .arrow::after { content: "←"; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.hdr__logo img { height: 46px; width: auto; }
.hdr .logo-light { display: none; }
.hdr--over { position: absolute; inset-inline: 0; background: transparent; border-color: transparent; }
.hdr--over .logo-light { display: block; }
.hdr--over .logo-dark { display: none; }
.hdr--over .nav > a, .hdr--over .dd > summary { color: #fff; }
.hdr--over.is-scrolled { position: fixed; background: rgba(15,42,68,.94); backdrop-filter: blur(8px); }
.nav { display: none; }
.nav > a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav > a:hover { text-decoration: none; border-color: var(--brand); }
.nav > a.on { border-color: var(--brand); }
.nav__mobile-extra { display: none; }
.hdr__tools { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.hdr__cta { display: none; }
.dd { position: relative; }
.dd > summary { list-style: none; cursor: pointer; font-weight: 700; font-size: .9rem; padding: 8px 10px; border-radius: 8px; color: var(--ink); user-select: none; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary::after { content: " ▾"; font-size: .7em; }
.dd__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 160px; display: grid; z-index: 60; }
.dd__menu a, .dd__menu button { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font: inherit; font-weight: 600; text-align: start; background: none; border: 0; cursor: pointer; }
.dd__menu a:hover, .dd__menu button:hover { background: var(--sand); text-decoration: none; }
.dd__menu .on { color: var(--action); }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.hdr--over .burger span { background: #fff; }
@media (max-width: 1023px) {
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { display: flex; position: fixed; inset: 68px 0 0 0; background: #fff; flex-direction: column; padding: 16px; gap: 2px; overflow-y: auto; z-index: 49; }
  body.nav-open .nav > a { color: var(--ink); padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  body.nav-open .nav__mobile-extra { display: block; margin-top: 16px; }
}
@media (min-width: 1024px) {
  .nav { display: flex; gap: 22px; margin-inline-start: 24px; }
  .burger { display: none; }
  .hdr__cta { display: inline-flex; }
}

/* Flash */
.flash-wrap { padding-top: 16px; }
.flash { padding: 14px 16px; border-radius: 12px; margin-bottom: 12px; font-weight: 500; }
.flash ul { margin: 6px 0 0; padding-inline-start: 20px; }
.flash--ok { background: #E7F6EC; color: #145C33; border: 1px solid #BFE5CC; }
.flash--warn { background: #FFF4E2; color: #7A4A06; border: 1px solid #F3D49C; }
.flash--err { background: #FDECEC; color: #8A1F1F; border: 1px solid #F3C1C1; }
.hdr--over ~ .flash-wrap { position: relative; z-index: 51; padding-top: 84px; }

/* Hero */
.hero { position: relative; color: #fff; min-height: 640px; display: flex; align-items: flex-end; padding: 120px 0 0; background: var(--navy); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,68,.75) 0%, rgba(15,42,68,.25) 38%, rgba(15,42,68,.15) 55%, rgba(15,42,68,.85) 100%); z-index: 1; }
.hero__in { position: relative; z-index: 2; width: 100%; }
.hero__kicker { letter-spacing: .3em; text-transform: uppercase; font-weight: 600; font-size: .85rem; opacity: .95; }
[dir="rtl"] .hero__kicker { letter-spacing: 0; }
.hero__word { font-family: var(--brush); font-size: clamp(4rem, 15vw, 9rem); line-height: .95; margin: 4px 0 6px; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.hero__sub { letter-spacing: .35em; text-transform: uppercase; font-weight: 600; font-size: .9rem; }
[dir="rtl"] .hero__sub { letter-spacing: 0; }
.hero__tagline { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-style: italic; margin: 14px 0 28px; max-width: 30ch; opacity: .96; }
.search { background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; display: grid; gap: 8px; margin-bottom: -40px; position: relative; z-index: 3; }
.search label { display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.search label:hover { background: var(--sand); }
.search input, .search select { border: 0; font: inherit; font-size: 1rem; font-weight: 700; color: var(--navy); background: transparent; padding: 2px 0; width: 100%; min-height: 28px; }
.search input:focus, .search select:focus { outline: none; }
@media (min-width: 860px) { .search { grid-template-columns: 1.1fr 1fr 1.3fr auto; align-items: center; } .search label + label { border-inline-start: 1px solid var(--line); border-radius: 0; } }
.trust { background: var(--sand); padding: 72px 0 32px; }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; text-align: center; }
@media (min-width: 860px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust__item svg { width: 40px; height: 40px; color: var(--navy); margin: 0 auto 8px; }
.trust__item strong { display: block; color: var(--navy); }
.trust__item span { font-size: .9rem; color: var(--ink-2); }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 860px) { .cats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; color: #fff; display: flex; align-items: flex-end; padding: 16px; text-decoration: none !important; isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.cat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(15,42,68,.85)); z-index: -1; }
.cat:hover img { transform: scale(1.05); }
.cat strong { font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; line-height: 1.05; display: block; }
[dir="rtl"] .cat strong { text-transform: none; }
.cat small { font-size: .85rem; opacity: .9; }

/* Featured */
.feature { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.feature__title { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; color: var(--navy); margin: 0; line-height: 1; }
[dir="rtl"] .feature__title { text-transform: none; }
.feature__img { border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow-lg); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0; padding: 0; list-style: none; }
.facts li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); line-height: 1.25; }
.facts svg { width: 26px; height: 26px; color: var(--navy); flex: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Tour cards */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--sand-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--warn); color: #fff; font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.badge--blue { background: var(--action); }
.badge--private { background: var(--navy); }
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: 1.15rem; margin: 0; }
.card__title a { color: var(--navy); }
.card__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: var(--ink-2); }
.card__meta span { display: inline-flex; gap: 6px; align-items: center; }
.card__meta svg { width: 18px; height: 18px; }
.card__foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.price { line-height: 1.1; }
.price small { display: block; font-size: .78rem; color: var(--muted); }
.price strong { font-size: 1.45rem; color: var(--navy); }
.stars { color: #F2A900; letter-spacing: 1px; font-size: .95rem; white-space: nowrap; }
.stars + span { color: var(--muted); font-size: .85rem; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--ink-2); }

/* Why / map split */
.split { display: grid; gap: 24px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--action); color: #fff; font-size: .8rem; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.ticks--x li::before { content: "✕"; background: var(--bad); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #E9F3F9; min-height: 280px; }
.map-card svg { width: 100%; height: 100%; display: block; }

/* Reviews band */
.band { position: relative; color: #fff; padding: 64px 0; overflow: hidden; isolation: isolate; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,42,68,.9), rgba(15,42,68,.55)); z-index: -1; }
.band h2 { color: #fff; }
.quotes { display: grid; gap: 14px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px; }
.quote p { margin: 6px 0 10px; }
.quote footer { font-size: .9rem; color: var(--muted); }
.verified { color: var(--ok); font-weight: 700; font-size: .8rem; }

/* Page hero (inner pages) */
.phero { position: relative; color: #fff; padding: 120px 0 36px; background: var(--navy); overflow: hidden; isolation: isolate; }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,68,.8), rgba(15,42,68,.55) 60%, rgba(15,42,68,.85)); z-index: -1; }
.phero h1 { color: #fff; margin: 0; }
.phero p { opacity: .92; margin: 6px 0 0; max-width: 60ch; }
.phero--short { padding-block: 104px 28px; }
.crumbs { font-size: .85rem; color: var(--muted); padding-block: 14px 0; }
.crumbs a { color: var(--ink-2); }

/* Tour page */
.tour-hero { position: relative; color: #fff; padding: 110px 0 24px; background: var(--navy); overflow: hidden; isolation: isolate; }
.tour-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tour-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,68,.75), rgba(15,42,68,.35) 45%, rgba(15,42,68,.9)); z-index: -1; }
.tour-hero h1 { font-family: var(--brush); font-size: clamp(2.6rem, 8vw, 5.2rem); color: #fff; margin: 0; line-height: 1; font-weight: 400; }
[dir="rtl"] .tour-hero h1 { font-family: var(--display); font-weight: 800; }
.tour-hero .sub { font-size: 1.15rem; opacity: .95; margin: 8px 0 18px; }
.tour-hero .facts li { color: #fff; }
.tour-hero .facts svg { color: #fff; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px 4px; scroll-snap-type: x mandatory; }
.thumbs button { flex: 0 0 auto; width: 150px; aspect-ratio: 3/2; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255,255,255,.6); padding: 0; cursor: zoom-in; scroll-snap-align: start; background: none; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .thumbs button { width: 200px; } }
.tour-layout { display: grid; gap: 28px; padding-block: 24px 56px; }
@media (min-width: 1024px) { .tour-layout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .booking-box { position: sticky; top: 84px; } }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 20px; position: sticky; top: 68px; background: #fff; z-index: 5; }
.tabs a { padding: 12px 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; border-bottom: 3px solid transparent; }
.tabs a:hover { color: var(--action); text-decoration: none; }
.tabs a.on { color: var(--action); border-color: var(--action); }
.tour-section { scroll-margin-top: 130px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.tour-section:last-child { border: 0; }
.hl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .hl-grid { grid-template-columns: repeat(3, 1fr); } }
.hl-grid figure { margin: 0; }
.hl-grid img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hl-grid figcaption { font-weight: 700; font-size: .9rem; margin-top: 6px; color: var(--navy); }
.itin { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; }
.itin li { position: relative; padding-inline-start: 46px; padding-bottom: 18px; }
.itin li::before { counter-increment: s; content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--action); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.itin li::after { content: ""; position: absolute; inset-inline-start: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--line); }
.itin li:last-child::after { display: none; }
.itin strong { display: block; color: var(--navy); }
.itin .t { font-size: .8rem; color: var(--action); font-weight: 700; }
.itin p { margin: 2px 0 0; color: var(--ink-2); font-size: .95rem; }
.cols3 { display: grid; gap: 20px; }
@media (min-width: 800px) { .cols3 { grid-template-columns: repeat(3, 1fr); } }
.note { background: var(--sand); border-radius: 12px; padding: 14px 16px; font-size: .92rem; color: var(--ink-2); }
.note--blue { background: #EAF5FD; color: #0B4A7A; }
.note--warn { background: #FFF4E2; color: #7A4A06; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--action); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* Booking box */
.booking-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px; }
.booking-box .from { font-size: .9rem; color: var(--muted); }
.booking-box .big { font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span, .field > label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field small { color: var(--muted); font-size: .8rem; }
.input, select.input, textarea.input { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; min-height: 46px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; }
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { border-color: var(--action); outline: none; box-shadow: 0 0 0 3px rgba(10,108,209,.15); }
.input.is-err { border-color: var(--bad); }
.err { color: var(--bad); font-size: .85rem; font-weight: 600; }
.counter { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); gap: 10px; }
.counter:last-of-type { border: 0; }
.counter__label strong { display: block; font-size: .95rem; }
.counter__label small { color: var(--muted); }
.counter__ctl { display: flex; align-items: center; gap: 10px; }
.counter__ctl button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--action); background: #fff; color: var(--action); font-size: 1.2rem; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.counter__ctl button:disabled { border-color: var(--line); color: var(--line); cursor: not-allowed; }
.counter__ctl output { min-width: 22px; text-align: center; font-weight: 800; }
.radio-card { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; margin-bottom: 8px; }
.radio-card:has(input:checked) { border-color: var(--action); background: #F2F8FE; }
.radio-card input { margin-top: 4px; accent-color: var(--action); width: 18px; height: 18px; }
.radio-card strong { display: block; color: var(--navy); }
.radio-card small { color: var(--ink-2); }
.radio-card.is-off { opacity: .55; cursor: not-allowed; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; margin-top: 4px; border-top: 1px dashed var(--line); }
.total-row strong { font-size: 1.5rem; color: var(--navy); }
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; font-size: .8rem; color: var(--ink-2); }
.assure div { display: flex; gap: 8px; align-items: flex-start; line-height: 1.3; }
.assure svg { width: 22px; height: 22px; flex: none; color: var(--navy); }

/* Calendar */
.cal { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; user-select: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-weight: 800; color: var(--navy); }
.cal__head button { width: 36px; height: 36px; border: 0; background: var(--sand); border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: var(--navy); }
.cal__head button:disabled { opacity: .35; cursor: default; }
[dir="rtl"] .cal__head button { transform: scaleX(-1); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal__dow { font-size: .72rem; color: var(--muted); font-weight: 700; padding: 4px 0; }
.cal__day { position: relative; aspect-ratio: 1; border: 0; background: none; border-radius: 50%; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink); display: grid; place-items: center; padding: 0; }
.cal__day::after { content: ""; position: absolute; bottom: 12%; width: 6px; height: 6px; border-radius: 50%; }
.cal__day[data-s="available"]::after { background: var(--ok); }
.cal__day[data-s="few"]::after { background: var(--warn); }
.cal__day[data-s="sold_out"]::after { background: var(--bad); }
.cal__day[data-s="closed"], .cal__day[data-s="sold_out"] { color: #B5B9BB; cursor: not-allowed; }
.cal__day:hover:not(:disabled) { background: var(--sand); }
.cal__day.is-sel { background: var(--action); color: #fff; }
.cal__day.is-sel::after { background: #fff; }
.cal__legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: .75rem; color: var(--ink-2); margin-top: 8px; }
.cal__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 4px; }
.cal__msg { font-size: .85rem; margin-top: 8px; font-weight: 600; min-height: 1.2em; }

/* Filters / list */
.list-layout { display: grid; gap: 24px; padding-block: 28px 56px; }
@media (min-width: 1024px) { .list-layout { grid-template-columns: 280px minmax(0, 1fr); } }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; align-self: start; }
@media (min-width: 1024px) { .filters { position: sticky; top: 84px; } }
.filters h3 { margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; padding: 4px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--action); }
.empty { text-align: center; padding: 40px 16px; background: var(--sand); border-radius: var(--radius); }

/* Wizard (trip finder) */
.wizard { max-width: 760px; margin-inline: auto; }
.progress { height: 6px; background: var(--sand-2); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.progress span { display: block; height: 100%; background: var(--action); transition: width .3s; }
.step { display: none; }
.step.on { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.opts { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.opts--list { grid-template-columns: 1fr; }
.opt { position: relative; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; background: #fff; display: block; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--action); background: #F2F8FE; }
.opt:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.opt img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.opt__txt { padding: 10px 12px; display: flex; gap: 10px; align-items: center; }
.opt__txt strong { display: block; color: var(--navy); }
.opt__txt small { color: var(--muted); }
.opt svg { width: 28px; height: 28px; flex: none; color: var(--navy); }
.opt .tick { position: absolute; top: 8px; inset-inline-end: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--action); color: #fff; display: none; place-items: center; font-weight: 800; font-size: .85rem; }
.opt:has(input:checked) .tick { display: grid; }
.wizard__nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; }
.why { list-style: none; padding: 0; margin: 6px 0 0; font-size: .86rem; display: grid; gap: 3px; }
.why li::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.why li.w::before { content: "! "; color: var(--warn); }

/* Booking status page */
.status-hero { text-align: center; padding: 36px 16px 8px; }
.status-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; font-size: 2rem; color: #fff; background: var(--ok); }
.status-icon--wait { background: var(--warn); }
.status-icon--bad { background: var(--bad); }
.pill { display: inline-block; padding: 4px 12px; border-radius: 99px; font-weight: 800; font-size: .8rem; background: var(--sand); color: var(--navy); }
.pill--ok { background: #E7F6EC; color: #145C33; }
.pill--wait { background: #FFF4E2; color: #7A4A06; }
.pill--bad { background: #FDECEC; color: #8A1F1F; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.kv dt { color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; font-weight: 600; color: var(--navy); }
.grid2 { display: grid; gap: 20px; }
@media (min-width: 900px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.prose { max-width: 75ch; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-inline-start: 22px; }

/* Compare */
.cmp { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.cmp th, .cmp td { padding: 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; font-size: .93rem; }
.cmp th { background: var(--sand); color: var(--navy); width: 170px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(8,16,26,.94); display: none; place-items: center; z-index: 200; padding: 16px; }
.lb.on { display: grid; }
.lb img { max-height: 86vh; max-width: 100%; border-radius: 8px; }
.lb button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lb .x { top: 16px; inset-inline-end: 16px; }
.lb .p { inset-inline-start: 16px; top: 50%; }
.lb .n { inset-inline-end: 16px; top: 50%; }
[dir="rtl"] .lb .p, [dir="rtl"] .lb .n { transform: scaleX(-1); }

/* Footer */
.ftr { background: var(--navy); color: #D9E2EA; padding-top: 48px; margin-top: 0; }
.ftr__grid { display: grid; gap: 28px; grid-template-columns: 1fr; padding-bottom: 32px; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.ftr h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.ftr a { display: block; color: #D9E2EA; padding: 4px 0; }
.ftr a:hover { color: #fff; }
.ftr img { height: 64px; width: auto; margin-bottom: 10px; }
.ftr__tag { color: #fff; font-weight: 600; }
.ftr__muted { color: #9FB0BF; font-size: .88rem; }
.ftr__social { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.ftr__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; }
.wa-fab { position: fixed; bottom: 18px; inset-inline-end: 18px; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); z-index: 40; }
.wa-fab:hover { background: #178a45; }

/* ---- Mobile hardening ---------------------------------------------------- */
html, body { overflow-x: clip; }
/* Single-column grids must never grow to their content's min-width (photo strips, tabs, tables). */
.tour-layout, .list-layout, .split, .feature, .grid2, .cols3, .ftr__grid, .quotes { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
@media (min-width: 800px) { .cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .split, .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .tour-layout { grid-template-columns: minmax(0, 1fr) 380px; }
  .list-layout { grid-template-columns: 280px minmax(0, 1fr); }
}
.tour-layout > *, .list-layout > *, .split > *, .feature > *, .grid2 > * { min-width: 0; }
/* Swipeable rows: keep touch scrolling, hide the scrollbar. */
.thumbs, .tabs, body.nav-open .nav { scrollbar-width: none; -ms-overflow-style: none; }
.thumbs::-webkit-scrollbar, .tabs::-webkit-scrollbar, body.nav-open .nav::-webkit-scrollbar { display: none; }
/* Trip finder had no side gutter. */
.wizard { padding-inline: 16px; }
.wizard__nav .btn { white-space: normal; text-align: center; }
@media (max-width: 420px) { .opts { gap: 8px; } .opt__txt { padding: 8px 10px; } .opt__txt small { display: none; } }
/* Hero search: tighter on phones */
@media (max-width: 859px) {
  .hero { min-height: 0; padding-top: 104px; }
  .hero__tagline { margin-bottom: 20px; }
  .search label { padding: 6px 10px; }
}
/* Tour page: fixed "Book now" bar on phones/tablets (the booking box sits far below the content). */
.mbar { display: none; }
@media (max-width: 1023px) {
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15,42,68,.12);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .mbar .price strong { font-size: 1.3rem; }
  body.has-mbar { padding-bottom: 76px; }
  body.has-mbar .wa-fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .booking-box { scroll-margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .hdr, .ftr, .wa-fab, .btn { display: none !important; } }
