/* Base element rules use :where() (zero specificity) so any single class in page CSS overrides them.
   Razuria V2 — shared design: tokens, header, menu, sheets, buttons, rows, bar, footer, splash.
   Page-specific styles live in v2-<page>.css next to this file. Mobile first; desktop from 1024px. */

:root {
  --navy: #0B2A3C;
  --navy-2: #23465A;
  --navy-ink: #061824;
  --gold: #D9A93A;
  --gold-soft: #F3E3B8;
  --gold-ink: #7A5B12;
  --teal: #0B6F6B;
  --wa: #128C4A;
  --wa-hover: #0E7A40;
  --ink: #0B2A3C;
  --ink-2: #26394A;
  --body: #3E4D57;
  --muted: #56646E;
  --muted-2: #8E9AA2;
  --on-navy: #C3D1D9;
  --on-navy-2: #8FA6B3;
  --line: #E6E2DA;
  --line-2: #F0EDE7;
  --line-3: #CFC9BE;
  --paper: #FFFFFF;
  --sand: #FAF8F4;
  --f-display: 'Marcellus', Georgia, serif;
  --f-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-num: 'Instrument Sans', system-ui, sans-serif;
  --radius: 4px;
  --pad: 20px;
  --header-h: 56px;
  --bar-h: 76px;
  --maxw: 1200px;
}
:lang(ar) { --f-display: 'Amiri', 'Times New Roman', serif; --f-body: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
:lang(ru) { --f-display: 'Prata', Georgia, serif; --f-body: 'Inter', system-ui, sans-serif; --f-num: 'Inter', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.v2 {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.v2.has-bar { padding-bottom: var(--bar-h); }
:where(.v2) img { max-width: 100%; height: auto; }
:where(.v2) a { color: inherit; }
:where(.v2) a:hover { color: var(--teal); }
:where(.v2) :where(h1, h2, h3, h4) { font-family: var(--f-display); font-weight: 400; margin: 0; line-height: 1.18; color: inherit; }
:where(.v2:lang(ar)) :where(h1, h2, h3) { font-weight: 700; line-height: 1.35; }
:where(.v2) p { margin: 0; }
:where(.v2) button { font: inherit; cursor: pointer; }
.v2 [hidden] { display: none !important; }
.v2 :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.v2-num, .v2 .price { font-family: var(--f-num); font-variant-numeric: tabular-nums; font-weight: 600; }
.v2-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.v2-skip { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.v2-skip:focus { top: 8px; }
.v2-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.v2-icon { width: 18px; height: 18px; flex: none; }

/* ---------- Text pieces ---------- */
.v2-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-ink); }
:lang(ar) .v2-eyebrow { letter-spacing: 0; font-size: 14px; }
.is-dark .v2-eyebrow, .v2-dark .v2-eyebrow { color: var(--gold); }
.v2-lead { font-size: 16px; line-height: 1.6; color: var(--body); }
.v2-muted { color: var(--muted); }
.v2-label-line { display: flex; align-items: center; gap: 12px; padding: 14px var(--pad) 4px; }
.v2-label-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.v2-label-line > * { flex: none; }

/* ---------- Buttons ---------- */
.v2-btn {
  height: 52px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 600; text-decoration: none; line-height: 1.1; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.v2-btn--block { display: flex; width: 100%; }
.v2-btn--sm { height: 44px; padding: 0 16px; font-size: 15px; }
.v2-btn--gold { background: var(--gold); color: var(--navy) !important; }
.v2-btn--gold:hover { background: #E4B95A; }
.v2-btn--wa { background: var(--wa); color: #fff !important; }
.v2-btn--wa:hover { background: var(--wa-hover); }
.v2-btn--navy { background: var(--navy); color: #fff !important; }
.v2-btn--navy:hover { background: var(--navy-2); }
.v2-btn--line-gold { border-color: var(--gold); color: var(--gold) !important; background: transparent; }
.v2-btn--line { border-color: var(--line-3); color: var(--ink) !important; background: #fff; }
.v2-link { font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.v2-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.v2-header { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.v2-header.is-dark { background: var(--navy); color: #fff; border-bottom-color: transparent; }
.v2-header__bar { height: var(--header-h); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; padding: 0 8px; }
.v2-header__btn {
  height: 44px; padding: 0 10px; border: 0; background: transparent; color: inherit;
  font-size: 14px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
:lang(ar) .v2-header__btn { font-size: 15px; }
.v2-header__btn:first-child { justify-self: start; max-width: 100%; min-width: 0; }
.v2-header__btn:first-child > :not(svg) , .v2-header__btn:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-header__btn--end { justify-self: end; }
.v2-header__btn .sep { width: 1px; height: 14px; background: var(--line-3); }
.v2-logo { justify-self: center; font-family: 'Marcellus', Georgia, serif; font-size: 20px; letter-spacing: 5px; text-decoration: none; color: inherit; white-space: nowrap; }
.is-dark .v2-logo { color: var(--gold); }
.v2-header a:hover, .v2-header button:hover { color: inherit; opacity: .8; }
.v2-header__nav, .v2-header__wa { display: none; }

@media (min-width: 1024px) {
  :root { --header-h: 76px; --pad: 40px; }
  .v2-header__bar { display: flex; gap: 32px; padding: 0 56px; max-width: none; }
  .v2-header__bar > .v2-header__btn:first-child { display: none; }
  .v2-logo { order: -1; font-size: 24px; letter-spacing: 6px; }
  .v2-header__nav { display: flex; flex: 1; gap: 28px; font-size: 15px; font-weight: 500; }
  .v2-header__nav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
  .v2-header__nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .v2-header__wa { display: inline-flex; }
  .v2-header__btn--end { font-size: 15px; }
}

/* ---------- Menu (full-screen on phones) ---------- */
.v2-menu { position: fixed; inset: 0; z-index: 130; background: var(--navy); color: #fff; display: flex; flex-direction: column; overflow-y: auto; }
.v2-menu .v2-header__bar { border-bottom: 1px solid var(--navy-2); flex: none; }
.v2-menu .v2-logo { color: var(--gold); }
.v2-menu__nav { padding: 12px var(--pad) 0; display: flex; flex-direction: column; }
.v2-menu__big { height: 54px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--navy-2); font-family: var(--f-display); font-size: 26px; text-decoration: none; }
.v2-menu__big small { font-family: var(--f-body); font-size: 13px; color: var(--on-navy-2); }
.v2-menu__gap { height: 18px; }
.v2-menu__small { height: 44px; display: flex; align-items: center; font-size: 16px; font-weight: 500; text-decoration: none; color: var(--on-navy) !important; }
.v2-menu__foot { margin-top: auto; padding: 24px var(--pad) 28px; display: flex; flex-direction: column; gap: 10px; }
.v2-menu__foot p { margin-top: 4px; text-align: center; font-size: 13px; color: var(--on-navy-2); }
.v2-menu a:hover { color: var(--gold-soft) !important; }
@media (min-width: 1024px) {
  .v2-menu { left: auto; width: 420px; box-shadow: -20px 0 60px rgba(6,24,36,.35); }
  [dir="rtl"] .v2-menu { left: 0; right: auto; }
  .v2-menu .v2-header__bar { padding: 0 20px; }
}

/* ---------- Bottom sheet (language & currency, booking) ---------- */
.v2-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(6,24,36,.6); }
.v2-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; color: var(--ink); border-radius: 14px 14px 0 0; padding: 10px var(--pad) 24px;
  display: flex; flex-direction: column;
}
.v2-sheet__grip { align-self: center; width: 36px; height: 4px; border-radius: 2px; background: #D5D0C6; flex: none; }
.v2-sheet__head { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v2-sheet__head h2 { font-size: 25px; }
.v2-sheet__close { width: 44px; height: 44px; margin-inline-end: -10px; border: 0; background: transparent; color: inherit; display: flex; align-items: center; justify-content: center; }
.v2-sheet__legend { margin-top: 18px; }
.v2-langs { margin-top: 6px; display: flex; flex-direction: column; }
.v2-langs a { height: 50px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-2); font-size: 16px; text-decoration: none; }
.v2-langs a:last-child { border-bottom: 0; }
.v2-langs a[aria-current="true"] { font-weight: 600; }
.v2-langs .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-3); flex: none; }
.v2-langs a[aria-current="true"] .dot { border: 6px solid var(--navy); }
.v2-seg { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-3); border-radius: var(--radius); overflow: hidden; }
.v2-seg a { height: 48px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; text-decoration: none; background: #fff; }
.v2-seg a + a { border-inline-start: 1px solid var(--line-3); }
.v2-seg a[aria-current="true"] { background: var(--navy); color: #fff !important; }
.v2-sheet .v2-note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.v2-sheet__foot { margin-top: 24px; }
@media (min-width: 768px) {
  .v2-sheet { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: 440px; border-radius: 10px; }
  .v2-sheet__grip { display: none; }
}

/* ---------- Trip rows ---------- */
.v2-rows { display: flex; flex-direction: column; }
.v2-row { display: flex; align-items: center; gap: 14px; padding: 8px var(--pad); min-height: 80px; text-decoration: none; }
.v2-row + .v2-row { border-top: 1px solid var(--line-2); }
.v2-row img, .v2-row .ph { width: 62px; height: 62px; object-fit: cover; border-radius: 2px; flex: none; background: var(--line-2); }
.v2-row__body { flex: 1; min-width: 0; }
.v2-row__title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.v2-row__meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.v2-row__price { text-align: end; flex: none; }
.v2-row__price .price { font-size: 18px; line-height: 1.1; }
.v2-row__price small { display: block; font-size: 11px; color: var(--muted); }
.v2-row__price .req { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--gold-ink); }
a.v2-row:hover { background: var(--sand); color: inherit; }

/* ---------- Sticky bottom bar ---------- */
.v2-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: var(--bar-h);
  background: #fff; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px 0 20px;
  padding-bottom: env(safe-area-inset-bottom);
}
[dir="rtl"] .v2-bar { padding: 0 20px 0 16px; }
.v2-bar__text { min-width: 0; }
.v2-bar__title { font-size: 14px; font-weight: 600; }
.v2-bar__sub { font-size: 13px; color: var(--muted); }
.v2-bar .price { font-size: 20px; }
.v2-bar__text { white-space: nowrap; }
.v2-bar .v2-btn { height: 48px; padding: 0 18px; font-size: 15px; flex: none; }
@media (min-width: 1024px) {
  body.v2.has-bar.bar-mobile-only { padding-bottom: 0; }
  .bar-mobile-only .v2-bar { display: none; }
}

/* ---------- Details / FAQ ---------- */
.v2-faq { display: flex; flex-direction: column; }
.v2-faq details { border-top: 1px solid var(--line); }
.v2-faq details:last-child { border-bottom: 1px solid var(--line); }
.v2-faq summary { min-height: 52px; padding: 12px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary::after { content: "+"; font-family: var(--f-num); font-size: 22px; font-weight: 400; color: var(--gold-ink); flex: none; }
.v2-faq details[open] summary::after { content: "−"; }
.v2-faq details > div, .v2-faq details > p { padding: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--body); }
.v2-dark .v2-faq details { border-color: var(--navy-2); }
.v2-dark .v2-faq details > div, .v2-dark .v2-faq details > p { color: var(--on-navy); }

/* ---------- Rich text from the admin (articles, pages, trip text) ---------- */
.v2-prose { font-size: 17px; line-height: 1.65; color: var(--ink-2); overflow-wrap: anywhere; }
.v2-prose > * + * { margin-top: 14px; }
.v2-prose h2 { font-size: 24px; margin-top: 28px; }
.v2-prose h3 { font-size: 20px; margin-top: 22px; }
.v2-prose h4, .v2-prose h5, .v2-prose h6 { font-family: var(--f-body); font-size: 17px; font-weight: 600; margin-top: 18px; }
.v2-prose ul, .v2-prose ol { padding-inline-start: 22px; }
.v2-prose li + li { margin-top: 6px; }
.v2-prose a { color: var(--teal); text-underline-offset: 3px; }
.v2-prose img { border-radius: 2px; }
.v2-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.v2-prose td, .v2-prose th { border-bottom: 1px solid var(--line); padding: 8px; text-align: start; }
.v2-prose blockquote { margin: 0; padding-inline-start: 16px; border-inline-start: 2px solid var(--gold); color: var(--body); }

/* ---------- Breadcrumbs ---------- */
.v2-crumbs { padding: 14px var(--pad) 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.v2-crumbs a { text-decoration: none; }
.v2-crumbs span[aria-hidden] { color: var(--line-3); }

/* ---------- Footer ---------- */
.v2-footer { background: var(--navy); color: var(--on-navy); padding: 34px var(--pad) 22px; font-size: 14px; line-height: 1.6; }
.v2-footer__in { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.v2-footer__logo { width: 150px; height: auto; display: block; }
.v2-footer a { color: #fff; }
.v2-footer a:hover { color: var(--gold-soft); }
.v2-footer__social, .v2-footer__langs, .v2-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.v2-footer__social a { font-weight: 600; text-decoration: none; }
.v2-footer__langs { padding-top: 16px; border-top: 1px solid var(--navy-2); }
.v2-footer__langs a { color: var(--on-navy); text-decoration: none; }
.v2-footer__langs a[aria-current="true"] { color: #fff; font-weight: 600; }
.v2-footer__copy { font-size: 13px; color: var(--on-navy-2); }
/* Phones (design V2-Home-4): logo, address, socials, languages, copyright. The menu links and the WhatsApp
   button are already in the menu and the bottom bar. */
@media (max-width: 1023px) { .v2-footer__links, .v2-footer .v2-btn--wa { display: none; } }
@media (min-width: 1024px) {
  .v2-footer { padding: 56px var(--pad) 28px; }
  .v2-footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px 48px; align-items: start; }
  .v2-footer__langs, .v2-footer__copy { grid-column: 1 / -1; }
}

/* ---------- Splash (first visit in a session only) ---------- */
.v2-splash {
  position: fixed; inset: 0; z-index: 300; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  transition: opacity .35s ease, visibility .35s ease;
}
.v2-splash img { width: 250px; height: auto; }
.v2-splash__rule { margin-top: 26px; width: 44px; height: 1px; background: var(--gold); }
.v2-splash__tag { margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.v2-splash__bar { position: absolute; bottom: 92px; width: 120px; height: 2px; background: var(--navy-2); overflow: hidden; }
.v2-splash__bar i { display: block; width: 40%; height: 2px; background: var(--gold); animation: v2-load 1s ease-in-out infinite; }
.v2-splash__place { position: absolute; bottom: 44px; font-size: 13px; color: var(--on-navy-2); }
.v2-splash.is-out { opacity: 0; visibility: hidden; }
@keyframes v2-load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .v2-splash__bar i { animation: none; width: 100%; } html { scroll-behavior: auto; } }

/* ---------- Generic blocks ---------- */
.v2-section { padding: 28px 0; }
.v2-section__head { padding: 0 var(--pad); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.v2-section__head h2 { font-size: 30px; }
.v2-section__head .v2-muted { font-size: 13px; }
.v2-dark { background: var(--navy); color: #fff; }
.v2-dark .v2-lead, .v2-dark p { color: var(--on-navy); }
.v2-empty { padding: 40px var(--pad); text-align: center; color: var(--muted); }

/* Cookie bar from BookingCore, restyled */
.v2 .booking_cookie_agreement { position: fixed; left: 12px; right: 12px; bottom: calc(var(--bar-h) + 12px); z-index: 60; background: var(--navy); color: var(--on-navy); padding: 14px 16px; border-radius: 8px; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.v2 .booking_cookie_agreement .btn { background: var(--gold); color: var(--navy); border: 0; border-radius: var(--radius); height: 40px; padding: 0 16px; font-weight: 600; flex: none; }
.v2:not(.has-bar) .booking_cookie_agreement { bottom: 12px; }
[dir="rtl"] .v2-flip { transform: scaleX(-1); }
.v2-icon { display: inline-block; vertical-align: middle; }
@media (max-width: 1023px) { .v2-hide-phone { display: none !important; } }

@media (min-width: 1024px) and (max-width: 1279px) {
  .v2-header__bar { gap: 20px; padding: 0 28px; }
  .v2-header__nav { gap: 16px; font-size: 14px; }
  .v2-logo { font-size: 21px; letter-spacing: 4px; }
}
@media (min-width: 1024px) and (max-width: 1179px) { .v2-header__wa span { display: none; } }
@media (min-width: 1024px) { .v2-hide-desk { display: none !important; } }
