/* ==========================================================================
   V2 PAGES — shared foundation for the redesigned content pages
   (gallery, about, travel-stories, blog single, custom-tour…).

   Loaded AFTER v2-chrome.css, which owns the design tokens (:root) and the
   header/footer/FAB/drawer chrome. This sheet adds the page-body base, the
   button kit, and the components shared across those pages: the full-bleed
   photo hero (.ch / .ch--sm), the numbers strip (.hstat), the two-column
   numbered FAQ (.fq2) and the "arch on the footer" final CTA (.cf).

   Each page then loads its own small v2-<page>.css for its unique sections.
   ========================================================================== */

/* ---------- base ---------- */
/* `.wrap` below is width:100% + padding-inline:var(--gut), so without this every wrap
   computes to viewport + 2x--gut and the overflow-x:hidden on body silently eats the
   right-hand gutter instead of showing a scrollbar. v2-home/v2-single open the same way. */
*,*::before,*::after{ box-sizing:border-box; }
html{ color-scheme:light; scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }
body{ margin:0; background:var(--bg); color:var(--ink); font-family:var(--font-body); font-size:15px; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
main img{ max-width:100%; display:block; }
main a{ color:var(--cta); text-decoration:none; }
main a:hover{ color:var(--cta-hover); text-decoration:underline; }
:focus-visible{ outline:3px solid var(--blue); outline-offset:3px; border-radius:6px; }
h1,h2,h3{ font-family:var(--font-display); font-weight:600; letter-spacing:-.015em; margin:0; color:inherit; }
p{ margin:0; }
.wrap{ width:100%; max-width:calc(var(--maxw) + 2*var(--gut)); margin-inline:auto; padding-inline:var(--gut); }
.sec{ padding-block:clamp(56px, 7vw, 88px); }
.sec--tint{ background:var(--bg-2); }
.sec--dark{ background:var(--navy); color:#fff; }
.skip{ position:absolute; left:-9999px; top:0; z-index:200; background:var(--navy); color:#fff; padding:12px 18px; }
.skip:focus{ left:0; }
.sr{ position:absolute; left:-9999px; }
.ico{ color:var(--icon); display:inline-flex; flex:none; }
.stars{ color:var(--star); letter-spacing:1px; }

.eyebrow{ font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--cta); }
.sec--dark .eyebrow{ color:var(--accent-on-dark); }
.eyebrow--zel{ display:inline-flex; align-items:center; gap:10px; }
.eyebrow .zel{ flex:none; width:15px; height:15px; }
.h2{ font-size:clamp(26px, 1.89vw + 12px, 36px); line-height:1.12; }
.head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px 40px; flex-wrap:wrap; margin-bottom:32px; }
.head__txt{ display:flex; flex-direction:column; gap:12px; max-width:660px; }
.head__txt p{ color:var(--ink-3); font-size:15.5px; }
.more{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:14px; }

.crumb{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:12.5px; color:#B9C5D8; }
.crumb a{ color:#E2E8F2; text-decoration:none; }
.crumb a:hover{ color:#fff; text-decoration:underline; }

/* ---------- button kit (page body; header buttons are scoped in v2-chrome) ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 24px; border-radius:999px; font-family:inherit; font-size:14px; font-weight:600; line-height:1; border:1.5px solid transparent; cursor:pointer; text-decoration:none !important; white-space:nowrap; transition:background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.btn:hover{ transform:translateY(-1px); }
.btn--cta{ background:var(--cta); color:#fff; }
.btn--cta:hover{ background:var(--cta-hover); color:#fff; }
.btn--line-light{ border-color:rgba(255,255,255,.5); color:#fff; }
.btn--line-light:hover{ background:#fff; color:var(--navy); }
.btn--line{ border-color:var(--navy); color:var(--navy); }
.btn--line:hover{ background:var(--navy); color:#fff; }
.btn--white{ background:#fff; color:var(--navy); }
.btn--white:hover{ background:var(--navy); color:#fff; }
.btn--wa{ background:var(--green); color:#fff; }
.btn--wa:hover{ background:#146239; color:#fff; }
.btn--sm{ min-height:44px; padding:0 20px; font-size:13.5px; }
.btn--lg{ min-height:54px; padding:0 30px; font-size:15px; }

/* ==========================================================================
   HERO — full-bleed photo (shared by several pages), + compact variant
   ========================================================================== */
.ch{ position:relative; overflow:hidden; background:#2A2015; color:#fff; }
.ch__bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:74% 44%; }
.ch__veil{ position:absolute; inset:0; background:
  linear-gradient(90deg, rgba(14,21,36,.76) 0%, rgba(14,21,36,.58) 30%, rgba(14,21,36,.16) 54%, rgba(14,21,36,0) 70%); }
.ch__fade{ position:absolute; left:0; right:0; bottom:0; height:clamp(120px,18vw,240px); background:linear-gradient(180deg, rgba(23,34,56,0) 0%, rgba(23,34,56,.2) 32%, rgba(23,34,56,.55) 62%, rgba(23,34,56,.85) 85%, #172238 100%); pointer-events:none; }
.ch__in{ position:relative; display:flex; align-items:center; min-height:clamp(480px,46vw,640px); padding-block:clamp(38px,4.6vw,64px); }
.ch__l{ display:flex; flex-direction:column; gap:16px; align-items:flex-start; max-width:620px; }
.ch__l .crumb{ margin-bottom:2px; text-shadow:0 1px 14px rgba(0,0,0,.7); }
.ch__eb{ display:inline-flex; align-items:center; gap:12px; font-size:11.5px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:#FFD7C9; text-shadow:0 1px 14px rgba(0,0,0,.7); }
.ch__eb i{ flex:none; width:34px; height:1.5px; background:var(--accent-on-dark); }
.ch h1{ font-family:var(--font-display); font-size:clamp(32px,3vw + 12px,58px); line-height:1.0; letter-spacing:-.03em; color:#fff; text-shadow:0 2px 26px rgba(0,0,0,.5); }
.ch h1 em{ display:block; font-style:italic; font-weight:500; color:var(--accent-on-dark); }
.ch__lead{ font-size:clamp(14.5px,.45vw + 12.5px,17px); line-height:1.65; color:#EAEFF7; max-width:52ch; text-shadow:0 1px 16px rgba(0,0,0,.6); }
.ch__steps{ list-style:none; margin:4px 0 0; padding:0; display:flex; gap:10px; flex-wrap:wrap; }
.ch__steps li{ display:inline-flex; align-items:center; gap:9px; padding:9px 15px 9px 9px; border-radius:999px; background:rgba(14,21,36,.5); border:1px solid rgba(255,255,255,.22); backdrop-filter:blur(6px); font-size:13px; font-weight:600; color:#fff; }
.ch__steps b{ display:grid; place-items:center; width:24px; height:24px; border-radius:999px; background:var(--cta); color:#fff; font-family:var(--font-display); font-size:12.5px; }
.ch__btns{ display:flex; gap:12px; flex-wrap:wrap; padding-top:4px; }
.ch__btns .btn--lg{ min-height:56px; padding-inline:30px; }
.ch__btns .btn--line-light{ border-color:rgba(255,255,255,.55); background:rgba(14,21,36,.42); backdrop-filter:blur(6px); }
.ch__btns .btn--line-light:hover{ background:#fff; color:var(--navy); }
.ch__checks{ list-style:none; margin:2px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px 20px; }
.ch__checks li{ display:inline-flex; align-items:center; gap:7px; font-size:13px; color:#EAEFF7; text-shadow:0 1px 14px rgba(0,0,0,.75); }
.ch__checks svg{ color:#6FD39B; flex:none; }

/* numbers strip under the hero */
.hstat{ background:var(--navy-2); }
.hstat__in{ min-height:66px; display:flex; align-items:center; gap:16px 30px; flex-wrap:wrap; padding-block:12px; }
.hstat__g{ display:flex; align-items:center; gap:14px 22px; flex-wrap:wrap; }
.hstat__i{ display:inline-flex; align-items:baseline; gap:8px; }
.hstat__i b{ font-family:var(--font-display); font-size:19px; color:#fff; }
.hstat__i small{ font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:#8FA0BA; }
.hstat__d{ width:4px; height:4px; border-radius:999px; background:var(--icon); }
@media (max-width:700px){ .hstat__d{ display:none; } .hstat__g{ gap:10px 20px; } }

/* compact variant (Travel Stories / Gallery) */
.ch--sm .ch__in{ min-height:clamp(340px,30vw,468px); padding-block:clamp(34px,3.4vw,52px); }
.ch--sm .ch__l{ gap:14px; max-width:660px; }
.ch--sm h1{ font-size:clamp(31px,2.3vw + 13px,50px); line-height:1.04; }
.ch--sm h1 em{ display:inline; }
.ch--sm .ch__lead{ max-width:50ch; }
.ch--sm .ch__fade{ height:clamp(90px,12vw,170px); }
.ch--sm .ch__btns .btn--lg{ min-height:52px; padding-inline:26px; }
@media (max-width:1000px){
  .ch__bg{ object-position:62% center; }
  .ch__veil{ background:linear-gradient(180deg, rgba(14,21,36,.42) 0%, rgba(14,21,36,.6) 52%, rgba(14,21,36,.78) 100%); }
  .ch__in{ min-height:0; padding-block:40px 44px; }
}
@media (max-width:640px){ .ch__btns .btn{ flex:1 1 100%; justify-content:center; } }

/* ==========================================================================
   GOOD TO KNOW / FAQ — two numbered columns (shared with the home page)
   ========================================================================== */
.fq2{ position:relative; overflow:hidden; }
.fq2__bg{ position:absolute; left:-250px; top:-210px; width:600px; height:600px; opacity:.04; color:var(--navy); pointer-events:none; }
.fq2 .wrap{ position:relative; }
.fq2__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:40px; margin-bottom:30px; }
.fq2__hl{ display:flex; flex-direction:column; gap:13px; max-width:720px; }
.fq2__h2{ font-family:var(--font-display); font-size:clamp(24px, 1.81vw + 12px, 36px); line-height:1.1; letter-spacing:-.015em; margin:0; }
.fq2__h2 em{ font-style:normal; color:var(--cta); }
.fq2__lead{ margin:0; font-size:14.5px; line-height:1.62; color:var(--ink-3); }
.fq2__wa{ flex:none; display:flex; align-items:center; gap:14px; padding:14px 18px; border-radius:18px; border:1px solid var(--line); background:#fff; text-decoration:none; transition:box-shadow .2s ease, transform .2s ease; }
.fq2__wa:hover{ box-shadow:0 18px 36px -26px rgba(30,43,71,.5); transform:translateY(-1px); }
.fq2__wai{ flex:none; width:40px; height:40px; border-radius:12px; background:var(--green); color:#fff; display:grid; place-items:center; }
.fq2__wat{ display:flex; flex-direction:column; }
.fq2__wat b{ font-size:14px; color:var(--navy); }
.fq2__wat b + span{ font-size:12px; color:var(--ink-3); }
.fq2__cols{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:start; }
.fq2__col{ display:flex; flex-direction:column; gap:10px; }
.fq2__it{ background:#fff; border:1px solid var(--line); border-radius:18px; transition:box-shadow .2s ease; }
.fq2__it[open]{ box-shadow:0 20px 40px -30px rgba(30,43,71,.45); }
.fq2__it summary{ list-style:none; cursor:pointer; padding:18px 20px; display:flex; align-items:flex-start; gap:14px; }
.fq2__it summary::-webkit-details-marker{ display:none; }
.fq2__n{ flex:none; width:30px; height:30px; border-radius:10px; background:var(--icon-soft); color:var(--cta); display:grid; place-items:center; font-size:12px; font-weight:700; transition:background .2s ease, color .2s ease; }
.fq2__it[open] .fq2__n{ background:var(--cta); color:#fff; }
.fq2__q{ flex:1; min-width:0; font-family:var(--font-display); font-size:17px; line-height:1.32; font-weight:600; color:var(--navy); padding-top:3px; }
.fq2__pm{ position:relative; flex:none; width:30px; height:30px; border-radius:999px; border:1.5px solid var(--line); transition:background .2s ease, border-color .2s ease; }
.fq2__pm::before, .fq2__pm::after{ content:""; position:absolute; left:50%; top:50%; width:13px; height:2.6px; border-radius:2px; background:var(--cta); transform:translate(-50%,-50%); transition:transform .2s ease; }
.fq2__pm::after{ transform:translate(-50%,-50%) rotate(90deg); }
.fq2__it[open] .fq2__pm::after{ transform:translate(-50%,-50%) rotate(0deg); }
.fq2__a{ margin:0; padding:0 20px 18px 64px; font-size:14px; line-height:1.66; color:#3A4660; }
@media (max-width:1000px){
  .fq2__head{ flex-direction:column; align-items:flex-start; gap:20px; }
  .fq2__wa{ align-self:stretch; }
}
@media (max-width:760px){ .fq2__cols{ grid-template-columns:1fr; gap:10px; } }
@media (max-width:600px){
  .fq2__it summary{ padding:15px 16px; gap:11px; }
  .fq2__n{ width:27px; height:27px; border-radius:9px; font-size:11px; }
  .fq2__q{ font-size:15px; }
  .fq2__pm{ width:27px; height:27px; }
  .fq2__a{ padding:0 16px 16px 54px; font-size:13px; line-height:1.62; }
}

/* ==========================================================================
   FINAL CTA — Moroccan arch card overlapping the footer (as on the tour pages)
   ========================================================================== */
.cf-sec{ position:relative; z-index:2; padding-top:clamp(40px,6vw,80px); margin-bottom:-230px; }
.cf{ position:relative; display:flex; align-items:center; gap:64px; padding:48px 56px 48px 64px; border-radius:36px; background:#fff; box-shadow:0 50px 90px -50px rgba(30,43,71,.6), 0 0 0 1px rgba(30,43,71,.05); overflow:hidden; }
.cf__z{ position:absolute; right:-90px; top:-90px; width:300px; height:300px; color:var(--icon); opacity:.3; pointer-events:none; }
.cf__arch{ position:relative; flex:none; width:400px; height:430px; }
.cf__frame{ position:absolute; left:-16px; top:18px; right:18px; bottom:-16px; border:1.5px solid var(--icon); border-radius:30px; }
.cf__img{ position:absolute; inset:0; border-radius:30px; overflow:hidden; background:var(--navy); box-shadow:0 40px 70px -46px rgba(30,43,71,.8); }
.cf__img img{ width:100%; height:100%; object-fit:cover; object-position:50% 50%; }
.cf__cap{ position:absolute; left:18px; bottom:18px; right:18px; white-space:normal; padding:10px 16px 10px 10px; border-radius:18px; background:rgba(255,255,255,.94); backdrop-filter:blur(6px); display:flex; align-items:center; gap:10px; box-shadow:0 16px 36px -18px rgba(30,43,71,.55); }
.cf__capi{ flex:none; width:32px; height:32px; border-radius:99px; background:var(--icon-soft); color:var(--cta); display:grid; place-items:center; }
.cf__cap b{ display:block; font-size:13px; line-height:1.2; color:var(--ink); }
.cf__cap small{ display:block; font-size:11px; color:var(--ink-3); }
.cf__b{ position:relative; flex:1; min-width:0; display:flex; flex-direction:column; gap:22px; }
.cf__route{ align-self:flex-start; display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:999px; background:var(--bg-2); font-size:12px; font-weight:700; color:var(--ink); }
.cf__route svg{ color:var(--cta); }
.cf__b h2{ font-family:var(--font-display); font-size:clamp(27.5px,3.27vw,41.5px); line-height:1.05; letter-spacing:-.01em; color:var(--navy); }
.cf__b h2 em{ font-style:italic; color:var(--cta); }
.cf__p{ font-size:16px; line-height:1.65; color:var(--ink-2); max-width:540px; }
.cf__pts{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px 22px; }
.cf__pts li{ display:flex; align-items:center; gap:12px; min-width:0; }
.cf__i{ position:relative; flex:none; width:42px; height:42px; display:grid; place-items:center; color:var(--cta); }
.cf__i::before{ content:""; position:absolute; width:30px; height:30px; border-radius:9px; transform:rotate(45deg); background:var(--icon-soft); }
.cf__i svg{ position:relative; }
.cf__pts b{ display:block; font-size:14px; color:var(--ink); }
.cf__pts small{ display:block; font-size:12px; color:var(--ink-3); }
.cf__foot{ margin-top:4px; padding:14px; border-radius:22px; background:var(--bg-2); display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.cf__price{ margin:0 auto 0 0; padding:0 8px; min-width:0; flex:1 1 140px; display:flex; flex-direction:column; line-height:1.15; }
.cf__price small{ font-size:11.5px; color:var(--ink-3); }
.cf__price b{ font-family:var(--font-display); font-size:23.5px; color:var(--navy); }
.cf__price span{ font-size:12px; font-weight:600; color:var(--ink-3); }
.cf__go{ min-height:56px; gap:10px; box-shadow:0 14px 28px -16px rgba(200,70,31,.9); }
.cf__wa{ min-height:56px; padding:0 22px; border-radius:999px; border:1.5px solid var(--green); background:#fff; color:var(--green); display:inline-flex; align-items:center; gap:8px; font-weight:700; }
.cf__wa:hover{ background:#E7F4EC; color:var(--green); }
/* The two CTA buttons stay side by side: the pair wraps to its own row as a unit,
   instead of WhatsApp dropping off alone when the price block is wide. */
.cf__acts{ display:flex; align-items:center; gap:12px; }
@media (max-width:1100px){ .cf{ gap:40px; padding:40px; } .cf__arch{ width:330px; height:380px; } .cf__frame, .cf__img{ border-radius:26px; } }
@media (max-width:900px){
  .cf{ flex-direction:column; align-items:stretch; gap:40px; padding:28px 22px 26px; border-radius:28px; }
  .cf__arch{ align-self:stretch; width:auto; height:300px; }
  .cf__frame, .cf__img{ border-radius:24px; }
  .cf__frame{ left:-10px; top:12px; right:12px; bottom:-10px; }
  .cf-sec{ margin-bottom:-160px; }
}
@media (max-width:560px){
  .cf__arch{ height:260px; }
  .cf__b{ gap:18px; }
  .cf__p{ font-size:14px; }
  .cf__pts{ grid-template-columns:1fr; }
  .cf__foot{ flex-direction:column; align-items:stretch; }
  .cf__price{ margin:0; text-align:center; }
  .cf__go, .cf__wa{ width:100%; justify-content:center; }
  .cf__acts{ flex-direction:column; align-items:stretch; }
  .cf__route{ font-size:11px; }
}

/* Footer must clear the arch card that overhangs it.
   .cf-sec pulls the footer up 230px (160px ≤900px) with its negative margin so
   the card's lower half sits over the navy footer. The global v2-chrome.css only
   reserves .ftr2 padding-top:120px, which is less than the overhang, so the card
   covers the footer columns. Reserve the full headroom here — same values as
   v2-home.css / v2-single.css, which already carry this on the tour pages. */
.ftr2{ padding-top:300px; }
@media (max-width:900px){ .ftr2{ padding-top:220px; } }
