/* Fonts hosted on the site itself (faster than Google Fonts: no extra servers to contact).
   Made by downloading the Google Fonts files: Marcellus, Source Sans 3, Cairo. */
/* Cairo 400 arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cairo-arabic-0.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Cairo 400 latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cairo-latin-ext-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cairo 400 latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cairo-latin-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cairo 600 arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cairo-arabic-0.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Cairo 600 latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cairo-latin-ext-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cairo 600 latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cairo-latin-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Cairo 700 arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/cairo-arabic-0.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Cairo 700 latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/cairo-latin-ext-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Cairo 700 latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/cairo-latin-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Marcellus 400 latin-ext */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/marcellus-latin-ext-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Marcellus 400 latin */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/marcellus-latin-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Sans 3 400 latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3 400 latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Sans 3 600 latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3 600 latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Source Sans 3 700 latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-ext-5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Source Sans 3 700 latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/source-sans-3-latin-6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   DESIGN TOKENS: every color and font is set ONCE, in this block
   ========================================================= */
:root {
  /* Couleurs du logo : bleu nuit, orange terre cuite, sable */
  --color-primary: #173059;      /* bleu nuit du logo : titres, icônes, section contact */
  --rgb-primary: 23, 48, 89;    /* même couleur, pour les transparences */
  --color-primary-dark: #0F1F3D; /* fonds sombres (accueil, contact) */
  --rgb-dark: 12, 24, 48;        /* voile sombre posé sur les photos */
  --color-footer: #0B1830;
  /* Couleur d'action : orange terre cuite du logo, réservée aux boutons « Demander un devis » */
  --color-action: #D9783A;
  --color-action-hover: #E58A4C;
  --rgb-action: 217, 120, 58;
  /* Textes et fonds */
  --color-text: #1A2440;         /* titres et paragraphes */
  --rgb-text: 26, 36, 64;
  --color-text-muted: #56607A;   /* descriptions et légendes */
  --color-bg: #FAF8F2;           /* fond de page (même crème que le logo) */
  --color-band: #F3ECDF;         /* sections en alternance (sable) */
  --color-band-hover: #EAE0CD;
  --color-surface: #FFFFFF;
  --color-border: #E5DCCB;
  --color-border-hover: #D2C4AB;
  --color-placeholder: #868D9E;
  --color-on-primary: #FFFFFF;     /* text/icons on a red background */
  --color-on-action: #14213D;      /* text on the orange buttons (same in both themes) */
  --color-brand-red: #173059;      /* fixed brand navy (on white chips over photos) */
  --color-header-bg: rgba(255, 255, 255, .94);
  --color-chip-bg: rgba(255, 255, 255, .94);
  --rgb-shadow: 15, 31, 61;
  --color-success: #1E7B4F;
  --color-error: #B3261E;

  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Marcellus", Georgia, "Times New Roman", serif;   /* classical serif, in the spirit of the logo lettering */
  --font-arabic: "Cairo", "Segoe UI", Tahoma, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(var(--rgb-shadow), .06), 0 2px 8px rgba(var(--rgb-shadow), .05);
  --shadow: 0 2px 4px rgba(var(--rgb-shadow), .05), 0 12px 32px rgba(var(--rgb-shadow), .10);
  --shadow-lg: 0 30px 80px rgba(var(--rgb-dark), .40);
  --container: 1200px;
  --gutter: 16px;
  --section-space: clamp(64px, 10vw, 120px);
  --header-h: 106px;          /* main header at the top of the page (big logo) */
  --header-h-compact: 70px;   /* main header once the visitor scrolls */
  --header-h-legal: 88px;     /* header of the activity and legal pages */
  --tap: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[lang="ar"] {
  --font-body: var(--font-arabic);
  --font-heading: var(--font-arabic);
}

/* ---------- DARK THEME (chosen by the visitor, or their device setting) ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --color-primary: #9DBBEF;        /* light blue: readable on dark backgrounds */
  --rgb-primary: 157, 187, 239;
  --color-on-primary: #0B1830;
  --color-text: #EDF0F6;
  --color-text-muted: #A9B2C6;
  --color-bg: #0B1324;
  --color-band: #101B31;
  --color-band-hover: #16233E;
  --color-surface: #152139;
  --color-border: #233352;
  --color-border-hover: #344A74;
  --color-placeholder: #7A859D;
  --color-footer: #060C19;
  --color-header-bg: rgba(14, 23, 42, .94);
  --color-chip-bg: rgba(21, 33, 57, .92);
  --rgb-shadow: 0, 0, 0;
  --color-success: #6FD3A0;
  --color-error: #FF8A80;
}
:root[data-theme="dark"] .form-status.is-success { background: rgba(111, 211, 160, .12); }
:root[data-theme="dark"] .form-status.is-error { background: rgba(255, 138, 128, .12); }
:root[data-theme="dark"] .field input[aria-invalid="true"] { background: rgba(255, 138, 128, .08); }
/* darker Google map so it doesn't glare */
:root[data-theme="dark"] #map-iframe { filter: invert(.9) hue-rotate(180deg) saturate(.8) brightness(.95); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ========================= BASE ========================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-compact) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  color: var(--color-text); background: var(--color-bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
:root[lang="ar"] body { line-height: 1.8; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex: none; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 .5em; letter-spacing: 0; text-wrap: balance; }
:root[lang="ar"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.45; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 400; }
h3 { font-family: var(--font-body); font-size: 1.22rem; font-weight: 700; }
:root[lang="ar"] h3 { font-family: var(--font-arabic); }
:root[lang="ar"] :is(h1, h2) { font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--color-primary); }
:focus-visible { outline: 3px solid var(--color-action); outline-offset: 3px; border-radius: 6px; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; inset-inline-start: 8px; top: -80px; z-index: 200;
  background: var(--color-text); color: var(--color-bg); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ========================= BUTTONS ========================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap); padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; }
.btn-sm { padding: 8px 18px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-action { background: var(--color-action); color: var(--color-on-action); box-shadow: 0 6px 18px rgba(var(--rgb-action), .35); }
.btn-action:hover { background: var(--color-action-hover); box-shadow: 0 10px 24px rgba(var(--rgb-action), .45); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.22); border-color: #fff; }
.btn-quiet { background: var(--color-band); color: var(--color-primary); }
.btn-quiet:hover { background: var(--color-band-hover); }
.btn-wa { background: var(--color-primary); color: var(--color-on-primary); width: 52px; padding: 0; }
.btn-wa svg { width: 24px; height: 24px; }

.link-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap);
  font-weight: 600; color: var(--color-primary); text-decoration: none;
}
.link-cta svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-cta:hover svg { transform: translateX(4px); }
[dir="rtl"] .link-cta:hover svg { transform: scaleX(-1) translateX(4px); }

/* ========================= HEADER ========================= */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h);
  color: var(--color-text);
  background: var(--color-header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
  transition: background-color .3s, box-shadow .3s, color .3s, height .35s var(--ease);
}
/* Shrinking header: big logo on arrival, compact bar as soon as the visitor scrolls */
.site-header:not(.is-top) { height: var(--header-h-compact); }
.header-inner { display: flex; align-items: center; gap: 12px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; font: 700 1.36rem/1.1 var(--font-heading); margin-inline-end: auto; }
.brand-logo { width: 43px; height: 56px; flex: none; object-fit: contain; transition: width .35s var(--ease), height .35s var(--ease); }
.site-header.is-top .brand-logo { width: 71px; height: 92px; }
/* The name: the lettering cut from the owner's logo (images/wordmark*.png).
   Navy on light backgrounds, white over the hero photo, in the footer and in dark mode. */
.brand-word { display: block; flex: none; line-height: 0; }
.bw { height: 44px; width: auto; transition: height .35s var(--ease); }
.site-header.is-top .bw { height: 72px; }
.site-footer .bw { height: 64px; }
.bw-white { display: none; }
.site-header.is-top:not(.menu-open) .bw-navy, .site-footer .bw-navy, :root[data-theme="dark"] .bw-navy { display: none; }
.site-header.is-top:not(.menu-open) .bw-white, .site-footer .bw-white, :root[data-theme="dark"] .bw-white { display: block; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a {
  display: flex; align-items: center; min-height: var(--tap); padding: 0 14px;
  color: inherit; text-decoration: none; font-weight: 500; border-radius: 999px; transition: background-color .2s;
}
.main-nav a:hover { background: rgba(var(--rgb-primary),.08); }

.lang-switch { display: flex; gap: 2px; padding: 3px; background: var(--color-band); border-radius: 999px; }
.lang-switch button {
  min-width: 42px; min-height: 38px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 .82rem/1 var(--font-body); color: var(--color-text-muted); transition: background-color .2s, color .2s;
}
.lang-switch button[lang="ar"] { font-family: var(--font-arabic); font-size: .9rem; }
.lang-switch button:hover { color: var(--color-text); }
.lang-switch button[aria-pressed="true"] { background: var(--color-primary); color: var(--color-on-primary); }

/* Header language menu (6 languages) */
.lang-menu { position: relative; }
.lang-menu-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--color-band); color: var(--color-text); font: 700 .85rem/1 var(--font-body);
}
.lang-menu-btn svg { width: 20px; height: 20px; }
.lang-menu-btn .lang-chevron { width: 16px; height: 16px; transition: transform .2s; }
.lang-menu-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-current:lang(ar), :root[lang="ar"] .lang-current { font-family: var(--font-arabic); }
.site-header.is-top:not(.menu-open) .lang-menu-btn { background: rgba(23,48,89,.42); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.lang-list {
  position: absolute; z-index: 120; top: calc(100% + 8px); inset-inline-end: 0; min-width: 210px; margin: 0; padding: 6px; list-style: none;
  background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(var(--rgb-shadow), .2);
}
.lang-list[hidden] { display: none; }
.lang-list button, .lang-list a {
  width: 100%; display: flex; align-items: center; gap: 12px; min-height: var(--tap); padding: 0 12px; border: 0; border-radius: 10px;
  background: transparent; color: var(--color-text); font: 500 .98rem/1.2 var(--font-body); text-align: start; text-decoration: none; cursor: pointer;
}
.lang-list button:hover, .lang-list a:hover, .lang-list button:focus-visible, .lang-list a:focus-visible { background: var(--color-band); }
.lang-list [aria-pressed="true"], .lang-list [aria-current="page"] { color: var(--color-primary); font-weight: 700; }
.lang-list [lang="ar"] { font-family: var(--font-arabic); }
.lang-code { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 6px; border-radius: 6px; background: var(--color-band); color: var(--color-text-muted); font-size: .75rem; font-weight: 700; }
.lang-list [aria-pressed="true"] .lang-code, .lang-list [aria-current="page"] .lang-code { background: var(--color-primary); color: var(--color-on-primary); }

.menu-toggle {
  display: none; width: var(--tap); height: var(--tap); border: 0; border-radius: 999px;
  background: transparent; color: inherit; cursor: pointer; place-items: center;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* Light / dark switch */
.theme-toggle {
  display: grid; place-items: center; width: var(--tap); height: var(--tap); flex: none; border: 0; border-radius: 999px;
  background: transparent; color: inherit; cursor: pointer; transition: background-color .2s;
}
.theme-toggle:hover { background: rgba(var(--rgb-primary), .1); }
.site-header.is-top:not(.menu-open) .theme-toggle:hover { background: rgba(255,255,255,.14); }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-toggle .i-sun, :root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.theme-row { display: none; }
@media (max-width: 919px) {
  .header-inner > .theme-toggle { display: none; }
  .theme-row { display: block; border-top: 1px solid var(--color-border); margin-top: 6px; padding-top: 6px; }
  .theme-row .theme-toggle {
    width: 100%; height: auto; min-height: var(--tap); justify-content: start; grid-auto-flow: column; gap: 12px;
    padding: 0 14px; border-radius: var(--radius-sm); font: 500 1.05rem/1 var(--font-body);
  }
}

/* Transparent header over the hero photo */
.site-header.is-top:not(.menu-open) { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.site-header.is-top:not(.menu-open) .main-nav a:hover { background: rgba(255,255,255,.14); }
.site-header.is-top:not(.menu-open) .lang-switch { background: rgba(255,255,255,.14); }
.site-header.is-top:not(.menu-open) .lang-switch button { color: rgba(255,255,255,.88); }
.site-header.is-top:not(.menu-open) .lang-switch button[aria-pressed="true"] { background: #fff; color: var(--color-brand-red); }
.site-header.is-top .header-cta { visibility: hidden; opacity: 0; }

@media (max-width: 1099px) { .header-cta { display: none; } }
@media (max-width: 919px) {
  .menu-toggle { display: grid; order: 3; }
  .main-nav {
    position: absolute; inset-inline: 0; top: 100%; background: var(--color-surface); color: var(--color-text);
    box-shadow: 0 16px 32px rgba(var(--rgb-shadow),.12); display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .main-nav a { border-radius: var(--radius-sm); font-size: 1.05rem; }
}
@media (max-width: 440px) {
  .header-inner { gap: 6px; }
  .brand { font-size: .98rem; gap: 6px; }
  :root { --header-h: 92px; --header-h-compact: 64px; --header-h-legal: 76px; }
  .brand-logo { width: 35px; height: 46px; }
  .site-header .bw { height: 40px; }
  .site-header.is-top .brand-logo { width: 53px; height: 69px; }
  .site-header.is-top .bw { height: 58px; }
  /* room for the name: the language button keeps its globe + label, without the arrow */
  .site-header .lang-menu-btn { padding: 0 10px; }
  .site-header .lang-menu-btn .lang-chevron { display: none; }
  .lang-switch:not(.lang-switch-footer) button { min-width: 33px; padding: 0 5px; }
}
@media (max-width: 359px) { .brand-name { display: none; } }

/* ========================= HERO ========================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: min(100svh, 980px);
  padding-block: calc(var(--header-h) + clamp(32px, 6vw, 72px)) clamp(48px, 7vw, 88px);
  display: flex; align-items: center;
  background: var(--color-primary-dark);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; animation: kenburns 18s var(--ease) both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--rgb-dark),.88) 0%, rgba(var(--rgb-dark),.62) 45%, rgba(var(--rgb-dark),.25) 100%),
    linear-gradient(0deg, rgba(var(--rgb-dark),.65) 0%, transparent 40%);
}
[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(var(--rgb-dark),.88) 0%, rgba(var(--rgb-dark),.62) 45%, rgba(var(--rgb-dark),.25) 100%),
    linear-gradient(0deg, rgba(var(--rgb-dark),.65) 0%, transparent 40%);
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-grid { display: grid; gap: 40px; align-items: center; width: 100%; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.1fr minmax(380px, 460px); gap: 64px; align-items: start; } .hero-copy { padding-top: clamp(16px, 4vh, 56px); } }
.hero-copy { max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-action); box-shadow: 0 0 0 4px rgba(var(--rgb-action),.25); }
.hero h1 { text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.9); max-width: 34em; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .hero-ctas .btn { flex: 1 1 100%; } }

/* Trust strip */
.trust-strip { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.trust-strip ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
@media (min-width: 900px) { .trust-strip ul { grid-template-columns: repeat(4, 1fr); } }
.trust-strip li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.trust-strip svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--color-band); color: var(--color-primary); }

/* Promises strip (title + short description) */
.promises li { align-items: flex-start; }
.promises li > span { display: flex; flex-direction: column; gap: 2px; }
.promises strong { font-weight: 700; font-size: .98rem; }
.promises small { color: var(--color-text-muted); font-weight: 500; font-size: .84rem; line-height: 1.35; }

/* ========================= QUOTE FORM ========================= */
.quote-card {
  background: var(--color-surface); color: var(--color-text);
  border-radius: 24px; padding: clamp(20px, 3.5vw, 30px); box-shadow: var(--shadow-lg);
  position: relative; scroll-margin-top: calc(var(--header-h-compact) + 12px);
}
.quote-card::before {
  content: ""; position: absolute; inset-inline: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--color-action);
}
.quote-head h2 { font-size: 1.5rem; margin-bottom: 4px; }
.quote-head .hint { color: var(--color-text-muted); font-size: .95rem; margin-bottom: 18px; }
.form-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; grid-column: span 2; min-width: 0; }
.field.half { grid-column: span 1; }
@media (max-width: 440px) { .field.half { grid-column: span 2; } }
.field label, .service-choice legend { font-weight: 600; font-size: .85rem; color: var(--color-text); }
.input-wrap { position: relative; }
.input-icon { position: absolute; inset-inline-start: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--color-text-muted); pointer-events: none; }
.field input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-bg); color: var(--color-text); font: 400 1rem/1.3 var(--font-body);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input-icon + input { padding-inline-start: 42px; }
.field input::placeholder { color: var(--color-placeholder); }
.field input:hover { border-color: var(--color-border-hover); }
.field input:focus { outline: none; background: var(--color-surface); border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(var(--rgb-primary),.14); }
.field input[aria-invalid="true"] { border-color: var(--color-error); background: #FFF8F7; }
.field-hint { color: var(--color-text-muted); font-size: .8rem; }
.field-error { color: var(--color-error); font-size: .84rem; font-weight: 500; }
.field-error:empty { display: none; }

.service-choice { border: 0; padding: 0; margin: 0; grid-column: span 2; min-width: 0; }
.service-choice legend { margin-bottom: 8px; padding: 0; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.segmented label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 72px; padding: 10px 6px; cursor: pointer;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg);
  font-weight: 600; font-size: .84rem; line-height: 1.2; color: var(--color-text-muted);
  transition: border-color .2s, background-color .2s, color .2s;
}
.segmented label svg { width: 22px; height: 22px; }
.segmented label:hover { border-color: var(--color-border-hover); color: var(--color-text); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented input:checked + label { border-color: var(--color-primary); background: var(--color-band); color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); }
.segmented input:focus-visible + label { outline: 3px solid var(--color-action); outline-offset: 2px; }

/* smarter form: return ride, folded options, vehicle hint */
.field[hidden], .sub-grid[hidden] { display: none; }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sub-grid > .field { grid-column: span 2; }
.sub-grid > .field.half { grid-column: span 1; }
@media (max-width: 440px) { .sub-grid > .field.half { grid-column: span 2; } }
.check { display: flex; align-items: center; gap: 10px; min-height: var(--tap); cursor: pointer; font-weight: 600; font-size: .92rem; }
.check input { width: 20px; height: 20px; accent-color: var(--color-primary); flex: none; }
.more-options { border: 1.5px dashed var(--color-border); border-radius: var(--radius-sm); padding: 0 12px; }
.more-options[open] { padding-bottom: 12px; }
.more-options summary {
  list-style: none; display: flex; align-items: center; gap: 10px; min-height: var(--tap); cursor: pointer;
  font-weight: 600; font-size: .9rem; color: var(--color-primary);
}
.more-options summary::-webkit-details-marker { display: none; }
.more-options summary svg { width: 18px; height: 18px; flex: none; }
.more-options .more-chev { margin-inline-start: auto; transition: transform .2s; }
.more-options[open] .more-chev { transform: rotate(180deg); }
.veh-hint { margin: 8px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); background: rgba(var(--rgb-action), .14); font-size: .88rem; line-height: 1.45; }
.veh-hint[hidden] { display: none; }
.veh-hint button[hidden] { display: none; }
.veh-hint .link-cta { min-height: 32px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; }

.form-actions { grid-column: span 2; display: grid; gap: 8px; margin-top: 4px; }
.privacy-note { grid-column: span 2; font-size: .8rem; color: var(--color-text-muted); margin: 2px 0 0; display: flex; gap: 8px; line-height: 1.45; }
.privacy-note svg { width: 15px; height: 15px; margin-top: 2px; }
.form-status { grid-column: span 2; border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 500; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-success { background: #E6F4EC; color: var(--color-success); }
.form-status.is-error { background: #FBEAE9; color: var(--color-error); }

/* ========================= SECTIONS ========================= */
.section { padding-block: var(--section-space); position: relative; }
.section-band { background: var(--color-band); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--color-text-muted); font-size: 1.1rem; margin: 0; }
.kicker {
  display: inline-block; margin-bottom: 12px; color: var(--color-primary);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
:root[lang="ar"] .kicker { letter-spacing: 0; font-size: .95rem; }

/* Services */
.service-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.service-card {
  background: var(--color-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-media { position: relative; aspect-ratio: 16 / 10; }
.service-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.service-icon {
  position: absolute; inset-inline-start: 24px; bottom: -28px; width: 56px; height: 56px; border-radius: 16px;
  background: var(--color-primary); color: var(--color-on-primary); display: grid; place-items: center; border: 4px solid var(--color-surface);
}
.service-icon svg { width: 26px; height: 26px; }
.service-body { padding: 44px 24px 20px; display: flex; flex-direction: column; flex: 1; }
.service-body > p { color: var(--color-text-muted); }
.service-body ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.service-body li { display: flex; gap: 10px; font-size: .95rem; }
.service-body li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--color-primary); }
.service-body .link-cta { margin-top: auto; }

/* Vehicles */
.vehicles { margin-top: clamp(48px, 7vw, 80px); }
.vehicles-head { margin-bottom: 28px; }
.h2-like { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .4em; }
.vehicle-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.vehicle-card { background: var(--color-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.vehicle-art { display: grid; place-items: center; height: 150px; background: linear-gradient(135deg, var(--color-band), rgba(var(--rgb-primary), .12)); color: var(--color-primary); }
.vehicle-art .vehicle-icon { width: 150px; height: 75px; }
.vehicle-media { position: relative; aspect-ratio: 16 / 10; }
.vehicle-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vehicle-body { padding: 18px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.vehicle-body h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; margin: 0 0 4px; }
.vehicle-body > p { color: var(--color-text-muted); margin: 0 0 12px; }
.vehicle-specs { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vehicle-specs li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--color-band); font-size: .85rem; font-weight: 600; }
.vehicle-specs svg { width: 16px; height: 16px; color: var(--color-primary); }
.vehicle-body .link-cta { margin-top: auto; }
.service-price { margin: -4px 0 8px; }
/* select in the quote form, same look as inputs */
.field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-bg); color: var(--color-text); font: 400 1rem/1.3 var(--font-body); appearance: auto;
}
.input-icon + select { padding-inline-start: 42px; }
.field select:focus { outline: none; background: var(--color-surface); border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(var(--rgb-primary),.14); }

/* ========================= ACTIVITIES ========================= */
.acts-head { display: grid; gap: 8px; margin-bottom: clamp(28px, 4vw, 40px); }
.acts-head .section-head { margin-bottom: 0; }
@media (min-width: 1000px) { .acts-head { grid-template-columns: 1fr auto; align-items: end; gap: 32px; } }
.filters {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter);
  scroll-snap-type: x proximity;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .filters { margin: 0; padding: 4px; } }
.filters button {
  display: inline-flex; align-items: center; gap: 8px; flex: none; scroll-snap-align: start;
  min-height: 46px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; background: var(--color-surface); box-shadow: var(--shadow-sm);
  font: 600 .95rem/1 var(--font-body); color: var(--color-text); transition: background-color .2s, color .2s, border-color .2s;
}
.filters button svg { width: 18px; height: 18px; color: var(--color-primary); }
.filters button:hover { border-color: var(--color-primary); }
.filters .count { font-size: .78rem; font-weight: 700; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--color-band); color: var(--color-primary); }
.filters button[aria-pressed="true"] { background: var(--color-primary); color: var(--color-on-primary); }
.filters button[aria-pressed="true"] svg { color: var(--color-on-primary); }
.filters button[aria-pressed="true"] .count { background: rgba(255,255,255,.2); color: var(--color-on-primary); }

.activity-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
/* Home page: the activities on ONE horizontal row you can scroll */
.acts-carousel { position: relative; }
.acts-row {
  grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 6px;
  padding: 6px 6px 22px; margin: -6px; scrollbar-width: thin; scrollbar-color: rgba(var(--rgb-primary), .35) transparent;
}
.acts-row > .activity-card { scroll-snap-align: start; }
.acts-row > [hidden] { display: none; }
.acts-row:focus-visible { outline: 3px solid var(--color-action); outline-offset: 4px; border-radius: var(--radius); }
.acts-row::-webkit-scrollbar { height: 8px; }
.acts-row::-webkit-scrollbar-thumb { background: rgba(var(--rgb-primary), .3); border-radius: 8px; }
@media (max-width: 960px) { .acts-row { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 640px) { .acts-row { grid-auto-columns: 84%; gap: 16px; } }
.car-btn {
  position: absolute; top: 118px; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--color-border); cursor: pointer;
  background: var(--color-surface); color: var(--color-primary); box-shadow: var(--shadow);
  transition: opacity .2s, transform .2s, background-color .2s;
}
.car-btn svg { width: 22px; height: 22px; }
.car-btn:hover { transform: scale(1.06); background: var(--color-band); }
.car-btn[disabled] { opacity: 0; pointer-events: none; }
.car-prev { inset-inline-start: -22px; }
.car-next { inset-inline-end: -22px; }
.car-prev svg { transform: scaleX(-1); }
[dir="rtl"] .car-prev svg { transform: none; }
[dir="rtl"] .car-next svg { transform: scaleX(-1); }
@media (max-width: 640px) { .car-btn { display: none; } }   /* phones: swipe */
.activity-card {
  background: var(--color-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s;
}
.activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.activity-card[hidden] { display: none; }
.activity-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-band); }
.activity-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.activity-card:hover .activity-media img { transform: scale(1.07); }
.activity-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--rgb-dark),.55) 0%, transparent 45%); }
.chip {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; line-height: 1.2;
}
.chip svg { width: 15px; height: 15px; }
.chip-cat { top: 14px; inset-inline-start: 14px; background: var(--color-chip-bg); color: var(--color-primary); }
.chip-dur { bottom: 14px; inset-inline-start: 14px; background: rgba(var(--rgb-dark),.6); color: #fff; backdrop-filter: blur(6px); }
.activity-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.activity-body h3 { font-size: 1.25rem; margin-bottom: 6px; }
.activity-body > p { color: var(--color-text-muted); margin-bottom: 12px; }
.activity-body .safety { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--color-primary); }
.activity-body .safety svg { width: 17px; height: 17px; }
.activity-foot { margin-top: auto; padding-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.activity-foot .btn { margin-inline-start: auto; }
.price { font-size: .9rem; color: var(--color-text-muted); }
.price strong { color: var(--color-text); font-size: 1.1rem; }

/* ========================= GOOGLE MAPS ========================= */
.map-layout { display: grid; gap: 24px; align-items: stretch; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .map-layout { grid-template-columns: 7fr 5fr; gap: 32px; } }
.map-frame {
  position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  background: var(--color-band); height: 360px; min-width: 0;
}
@media (min-width: 600px) { .map-frame { height: 440px; } }
@media (min-width: 960px) { .map-frame { height: auto; min-height: 520px; } }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-side { display: flex; flex-direction: column; gap: 16px; }
.dest-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 600px) and (max-width: 959px) { .dest-list { grid-template-columns: 1fr 1fr; } }
.dest {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 16px; min-height: 64px; cursor: pointer;
  border: 1.5px solid transparent; border-radius: var(--radius-sm); background: var(--color-surface); box-shadow: var(--shadow-sm);
  font: inherit; color: var(--color-text); text-align: start; transition: border-color .2s, background-color .2s;
}
.dest:hover { border-color: var(--color-border-hover); }
.dest[aria-pressed="true"] { border-color: var(--color-primary); background: var(--color-band); }
.dest-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--color-band); color: var(--color-primary); }
.dest[aria-pressed="true"] .dest-icon { background: var(--color-primary); color: var(--color-on-primary); }
.dest-icon svg { width: 20px; height: 20px; }
.dest-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dest-text strong { font-weight: 600; line-height: 1.3; }
.dest-text small { color: var(--color-text-muted); font-size: .85rem; }
.dest-arrow { width: 18px; height: 18px; color: var(--color-text-muted); opacity: 0; transition: opacity .2s; }
.dest[aria-pressed="true"] .dest-arrow, .dest:hover .dest-arrow { opacity: 1; color: var(--color-primary); }
.map-side .link-cta svg { width: 20px; height: 20px; }

.map-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: 600 .9rem/1 var(--font-body); color: var(--color-primary);
}
.map-link svg { width: 17px; height: 17px; }
.map-link:hover { text-decoration: underline; }
/* Address suggestions (free OpenStreetMap search) */
.ac-list {
  position: absolute; z-index: 40; top: calc(100% + 6px); inset-inline: 0; margin: 0; padding: 6px; list-style: none;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(var(--rgb-shadow), .18); max-height: 320px; overflow-y: auto;
}
.ac-list[hidden] { display: none; }
.ac-list [role="option"] {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; min-height: 44px; border-radius: 10px; cursor: pointer;
}
.ac-list [role="option"]:hover, .ac-list [role="option"][aria-selected="true"] { background: var(--color-band); }
.ac-list [role="option"] svg { width: 18px; height: 18px; margin-top: 2px; color: var(--color-primary); flex: none; }
.ac-list strong { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.ac-list small { display: block; color: var(--color-text-muted); font-size: .8rem; line-height: 1.35; }
.ac-note { padding: 10px 12px; color: var(--color-text-muted); font-size: .88rem; }
.ac-foot { padding: 6px 12px 2px; color: var(--color-placeholder); font-size: .72rem; text-align: end; border-top: 1px solid var(--color-border); margin-top: 4px; }

.route-row { grid-column: span 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
.route-row:not(:has(:not([hidden]))) { display: none; }
.route-estimate {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px;
  background: var(--color-band); color: var(--color-text); font-size: .9rem;
}
.route-estimate[hidden] { display: none; }
.route-estimate svg { width: 18px; height: 18px; color: var(--color-primary); }
.route-estimate b { font-weight: 700; }
.route-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  font-weight: 600; font-size: .9rem; color: var(--color-primary); text-decoration: none;
}
.route-link[hidden] { display: none; }
.route-link svg { width: 18px; height: 18px; }
.route-link:hover { text-decoration: underline; }

/* ========================= WHY US ========================= */
.why-layout { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .why-layout { grid-template-columns: 5fr 6fr; gap: 72px; } }
.why-media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
@media (min-width: 960px) { .why-media { aspect-ratio: 4 / 5; } }
.why-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-badge {
  position: absolute; bottom: 20px; inset-inline-start: 20px; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px; background: var(--color-surface); font-weight: 700; box-shadow: var(--shadow);
}
.why-badge svg { width: 22px; height: 22px; color: var(--color-primary); }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 18px; padding: 20px; border-radius: var(--radius); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.why-list h3 { margin-bottom: 4px; }
.why-list p { color: var(--color-text-muted); margin: 0; }
.icon-tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--color-band); color: var(--color-primary); }
.icon-tile svg { width: 26px; height: 26px; }

/* ========================= HOW IT WORKS ========================= */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; position: relative; }
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps::before {
    content: ""; position: absolute; top: 36px; inset-inline: 16.6%; height: 2px;
    background-image: linear-gradient(90deg, var(--color-primary) 50%, transparent 50%); background-size: 12px 2px; opacity: .35;
  }
}
.steps li { text-align: center; position: relative; padding-inline: 8px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--color-surface); color: var(--color-primary); box-shadow: var(--shadow);
}
.step-num svg { width: 30px; height: 30px; }
.step-num b {
  position: absolute; top: -4px; inset-inline-end: -4px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--color-action); color: var(--color-on-action); font: 700 .85rem/1 var(--font-body);
}
.steps p { color: var(--color-text-muted); margin: 0 auto; max-width: 28ch; }

/* ========================= FAQ ========================= */
.faq-layout { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h-compact) + 32px); margin-bottom: 0; }
}
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--color-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1.5px solid transparent; transition: border-color .2s; }
.faq-item[open] { border-color: var(--color-border-hover); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 1.05rem; line-height: 1.4; border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-primary); }
.faq-icon {
  width: 32px; height: 32px; padding: 7px; flex: none; border-radius: 50%;
  background: var(--color-band); color: var(--color-primary); transition: transform .25s var(--ease), background-color .2s, color .2s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--color-primary); color: var(--color-on-primary); }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p { margin: 0; color: var(--color-text-muted); }

/* ========================= CONTACT ========================= */
.contact { color: #fff; isolation: isolate; overflow: hidden; background: var(--color-primary-dark); }
.contact-media { position: absolute; inset: 0; z-index: -2; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(var(--rgb-primary),.86), rgba(var(--rgb-dark),.84)); }
.contact .kicker { color: var(--color-action); }
.contact .section-head p { color: rgba(255,255,255,.88); }
.contact-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.contact-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); max-width: 960px; margin-inline: auto; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; min-height: 80px; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  backdrop-filter: blur(8px); transition: background-color .2s;
}
a.contact-item:hover { background: rgba(255,255,255,.16); }
.contact-item > svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(var(--rgb-action),.16); color: var(--color-action); }
.contact-item small { display: block; color: rgba(255,255,255,.75); font-size: .85rem; }
.contact-item strong { display: block; font-weight: 600; overflow-wrap: anywhere; }

/* ========================= FOOTER ========================= */
.site-footer { background: var(--color-footer); color: rgba(255,255,255,.75); padding-block: 56px 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; } }
.footer-brand { grid-column: span 2; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-logo { width: 74px; height: 96px; }
.footer-brand p { max-width: 30ch; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: rgba(255,255,255,.8); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links li { overflow-wrap: anywhere; }
.lang-switch-footer { background: rgba(255,255,255,.08); display: inline-flex; flex-wrap: wrap; }
.lang-switch-footer button { color: rgba(255,255,255,.75); }
.lang-switch-footer button:hover { color: #fff; }
.lang-switch-footer button[aria-pressed="true"] { background: #fff; color: var(--color-brand-red); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; display: flex; align-items: center; gap: 8px; }
.footer-bottom svg { width: 14px; height: 14px; }

/* ========================= MOBILE ACTION BAR ========================= */
.mobile-bar {
  position: fixed; z-index: 90; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 6px;
  border-radius: 999px; background: var(--color-header-bg); backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(var(--rgb-dark),.25);
  transform: translateY(160%); transition: transform .4s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
@media (min-width: 920px) { .mobile-bar { display: none; } }
@media (max-width: 919px) { .site-footer { padding-bottom: 104px; } }

/* ========================= LEGAL PAGE ========================= */
.privacy-note a { color: inherit; font-weight: 600; }
.footer-bottom a { color: #fff; }
.legal-header {
  position: sticky; top: 0; z-index: 50; background: var(--color-header-bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border); color: var(--color-text);
}
.legal-header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h-legal); }
.legal-header .brand-logo { width: 60px; height: 78px; }
.legal-header .bw { height: 60px; }
.lang-links a {
  display: grid; place-items: center; min-width: 42px; min-height: 38px; padding: 0 8px; border-radius: 999px;
  font: 600 .82rem/1 var(--font-body); color: var(--color-text-muted); text-decoration: none;
}
.lang-links a[lang="ar"] { font-family: var(--font-arabic); font-size: .9rem; }
.lang-links a:hover { color: var(--color-text); }
.lang-links a[aria-current="page"] { background: var(--color-primary); color: var(--color-on-primary); }
@media (max-width: 440px) {
  .lang-links a { min-width: 33px; padding: 0 5px; }
  .legal-header-inner { gap: 6px; }
  .legal-header .brand { gap: 6px; }
  .legal-header .brand-logo { width: 45px; height: 58px; }
  .legal-header .bw { height: 54px; }
  .legal-header .lang-menu-btn { padding: 0 10px; }
  .legal-header .lang-menu-btn .lang-chevron { display: none; }
}
.legal-main { max-width: 860px; padding-block: 32px 80px; }
.legal-back { margin-bottom: 16px; }
.legal-main h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 12px; }
.legal-intro { font-size: 1.1rem; color: var(--color-text-muted); }
.legal-updated { font-size: .9rem; color: var(--color-text-muted); }
.legal-toc { background: var(--color-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 24px; margin: 28px 0 8px; }
.legal-toc p { margin: 0 0 6px; font-weight: 700; }
.legal-toc ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; }
.legal-toc a { color: var(--color-primary); font-weight: 600; }
.legal-main section { scroll-margin-top: calc(var(--header-h-legal) + 16px); padding-top: 24px; }
.legal-main h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 24px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--color-border); }
.legal-main h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal-main p, .legal-main li { line-height: 1.7; }
.legal-main ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.legal-dl { margin: 0; background: var(--color-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.legal-dl div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 4px 20px; padding: 14px 20px; border-bottom: 1px solid var(--color-border); }
.legal-dl div:last-child { border-bottom: 0; }
.legal-dl dt { font-weight: 600; }
.legal-note { font-size: .92rem; color: var(--color-text-muted); margin-top: 12px; }
.legal-dl dd { margin: 0; color: var(--color-text-muted); overflow-wrap: anywhere; }
@media (max-width: 600px) { .legal-dl div { grid-template-columns: 1fr; } }
mark.todo {
  background: rgba(var(--rgb-action), .18); color: var(--color-text); border: 1px dashed var(--color-action);
  border-radius: 6px; padding: 0 6px; font-weight: 600; font-size: .92em; white-space: normal;
}
.legal-footer { padding-block: 24px; }
.legal-footer .footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; }

/* ========================= ACTIVITY PAGES ========================= */
.act-link { color: inherit; text-decoration: none; }
.act-link:hover { color: var(--color-primary); text-decoration: underline; }
.act-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--color-primary-dark); padding-block: clamp(56px, 10vw, 120px) clamp(40px, 6vw, 72px); }
.act-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.act-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--rgb-dark), .9) 0%, rgba(var(--rgb-dark), .45) 60%, rgba(var(--rgb-dark), .3) 100%); }
.act-hero-inner { max-width: var(--container); }
.act-hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin: 8px 0 10px; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.act-hero .lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: rgba(255,255,255,.9); max-width: 40em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .9rem; color: rgba(255,255,255,.85); }
.crumbs a { color: #fff; }
.act-badges { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.act-badges li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: .88rem; font-weight: 600; backdrop-filter: blur(6px); }
.act-badges svg { color: var(--color-action); }
.act-layout { display: grid; gap: 32px; padding-block: clamp(40px, 6vw, 72px); }
@media (min-width: 960px) { .act-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; } .act-side { position: sticky; top: calc(var(--header-h-legal) + 20px); } }
.act-long { font-size: 1.12rem; line-height: 1.75; }
.act-main h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 28px 0 14px; }
.inc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.inc-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.inc-list svg { color: var(--color-primary); margin-top: 2px; flex: none; }
.act-map { height: 340px; min-height: 0; }
.act-card { background: var(--color-surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 10px; }
.act-card h2 { font-size: 1.3rem; margin: 0; }
.act-card h3 { font-size: 1.1rem; margin: 12px 0 0; }
.act-card p { color: var(--color-text-muted); margin: 0; }
.act-info { margin: 0; display: grid; gap: 4px; }
.act-info div { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.act-info div:last-child { border-bottom: 0; }
.act-info svg { grid-row: span 2; color: var(--color-primary); margin-top: 2px; }
.act-info dt { font-size: .82rem; color: var(--color-text-muted); font-weight: 600; }
.act-info dd { margin: 0; font-weight: 600; }
.act-others h2 { margin-bottom: 24px; }
.act-body .legal-header { position: sticky; }

/* ========================= DEMO MODE ========================= */
.demo-badge {
  position: fixed; z-index: 95; inset-inline-start: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; background: var(--color-text); color: var(--color-bg); font-size: .78rem; font-weight: 700;
  box-shadow: var(--shadow); pointer-events: none;
}
.demo-badge svg { width: 13px; height: 13px; }
@media (max-width: 919px) { .demo-badge { bottom: auto; top: calc(var(--header-h-compact) + 8px); } }
.demo-toast {
  position: fixed; z-index: 120; left: 50%; bottom: 96px; max-width: min(92vw, 520px); transform: translate(-50%, 20px);
  padding: 14px 20px; border-radius: 14px; background: var(--color-text); color: var(--color-bg); font-weight: 500; text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.demo-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ========================= CLIENT REVIEWS ========================= */
.stars { display: inline-flex; gap: 2px; color: var(--color-action); }
.stars svg { width: 18px; height: 18px; }
.stars svg:not(.on) { color: var(--color-border-hover); }
.review-summary { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin: -12px 0 32px; }
.review-summary .stars svg { width: 22px; height: 22px; }
.review-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.review-card { margin: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review-src { font-size: .8rem; font-weight: 600; color: var(--color-text-muted); background: var(--color-band); border-radius: 999px; padding: 3px 10px; }
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.review-lang { margin: -6px 0 0; font-size: .82rem; color: var(--color-text-muted); font-style: italic; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--color-border); }
.review-card figcaption > span:last-child { display: grid; gap: 2px; min-width: 0; }
.review-card figcaption small { color: var(--color-text-muted); font-size: .85rem; }
.review-avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: var(--color-on-primary); font-weight: 700; font-size: 1.1rem; }
.review-act { display: inline-flex; align-items: center; gap: 5px; color: var(--color-primary) !important; font-weight: 600; }
.review-act svg { width: 14px; height: 14px; flex: none; }
.review-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.act-reviews { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
/* Rating badge under the hero buttons */
.hero-rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.hero-rating .stars svg:not(.on) { color: rgba(255,255,255,.45); }
.hero-rating:hover span { text-decoration: underline; }
@media (max-width: 640px) {
  /* swipe through the reviews on phones */
  #reviews .review-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  #reviews .review-card { scroll-snap-align: start; }
}

/* ========================= SCROLL REVEAL ========================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .service-card.reveal.is-in:hover, .js .activity-card.reveal.is-in:hover { transform: translateY(-6px); transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ========================= MOROCCAN IDENTITY (from the logo) ========================= */
:root {
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V48C0 23 24 7 50 0C76 7 100 23 100 48V100Z'/%3E%3C/svg%3E");
  --arch-wide: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100V40C0 18 24 6 50 0C76 6 100 18 100 40V100Z'/%3E%3C/svg%3E");
  --zellige-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Crect width='22' height='22' fill='%23173059'/%3E%3Cpolygon points='17.47,13.68 13.23,13.23 13.68,17.47 11.00,14.15 8.32,17.47 8.77,13.23 4.53,13.68 7.85,11.00 4.53,8.32 8.77,8.77 8.32,4.53 11.00,7.85 13.68,4.53 13.23,8.77 17.47,8.32 14.15,11.00' fill='%23C99A52'/%3E%3Ccircle cx='0' cy='0' r='2.2' fill='%23D9783A'/%3E%3Ccircle cx='22' cy='0' r='2.2' fill='%23D9783A'/%3E%3Ccircle cx='0' cy='22' r='2.2' fill='%23D9783A'/%3E%3Ccircle cx='22' cy='22' r='2.2' fill='%23D9783A'/%3E%3C/svg%3E");
  --zellige-strip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='14' viewBox='0 0 32 14'%3E%3Crect y='0' width='32' height='1.2' fill='%2339657B' opacity='.55'/%3E%3Crect y='12.8' width='32' height='1.2' fill='%2339657B' opacity='.55'/%3E%3Cpolygon points='20.25,8.76 17.46,8.46 17.76,11.25 16.00,9.07 14.24,11.25 14.54,8.46 11.75,8.76 13.93,7.00 11.75,5.24 14.54,5.54 14.24,2.75 16.00,4.93 17.76,2.75 17.46,5.54 20.25,5.24 18.07,7.00' fill='%23C99A52'/%3E%3Cpolygon points='0,4 3,7 0,10 -3,7' fill='%23D9783A'/%3E%3Cpolygon points='32,4 35,7 32,10 29,7' fill='%23D9783A'/%3E%3C/svg%3E");
}
/* Thin zellige border at the top and bottom of the alternating (sand) sections, and above the footer */
.section-band, .site-footer {
  background-image: var(--zellige-strip), var(--zellige-strip);
  background-repeat: repeat-x; background-position: top center, bottom center; background-size: 32px 14px;
}
.site-footer { background-image: var(--zellige-strip); background-position: top center; padding-top: 70px; }
/* "Why us" photo: framed in the logo's pointed arch, with a band of gold stars like the logo's tiles */
.why-media {
  border-radius: 0; overflow: visible; box-shadow: none; padding: 14px;
  background: var(--zellige-tile) 0 0 / 22px 22px;
  -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat;
}
.why-media img { inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px);
  -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
@media (max-width: 959px) { .why-media { aspect-ratio: 5 / 5; max-width: 520px; margin-inline: auto; width: 100%; } }
/* Service photos: an arched window at the top of each card */
.service-media { margin: 12px 12px 0; }
.service-media > img { border-radius: 0;
  -webkit-mask: var(--arch-wide) center / 100% 100% no-repeat; mask: var(--arch-wide) center / 100% 100% no-repeat; }
.service-icon { inset-inline-start: 12px; }

/* ========================= TRAVEL GUIDES ========================= */
.guide-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.guide-card {
  background: var(--color-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s;
}
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.guide-media { position: relative; display: block; aspect-ratio: 16 / 10; margin: 12px 12px 0; }
.guide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask: var(--arch-wide) center / 100% 100% no-repeat; mask: var(--arch-wide) center / 100% 100% no-repeat; }
.guide-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide-body h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.guide-body h3 a { color: inherit; text-decoration: none; }
.guide-body h3 a:hover { color: var(--color-primary); text-decoration: underline; }
.guide-body p { margin: 0; color: var(--color-text-muted); flex: 1; }
.guide-body .map-link { align-self: flex-start; }
.guides-all { margin: 32px 0 0; text-align: center; }
.guides-all .btn svg { width: 18px; height: 18px; margin-inline-start: 6px; }
.guides-index { padding-block: clamp(40px, 7vw, 80px); }
/* article */
.guide-article p { font-size: 1.08rem; line-height: 1.75; }
.guide-facts { background: var(--color-band); border-radius: var(--radius); padding: 22px 22px 18px; margin-bottom: 8px;
  border-inline-start: 4px solid var(--color-action); }
.guide-facts h2 { margin: 0 0 14px !important; font-size: 1.25rem !important; }
.guide-related { margin-top: 8px; }

/* ========================= ANIMATED ICONS =========================
   1. When a block appears on screen, its icons DRAW themselves (line by line)
      and make a small move that matches their meaning (the plane takes off,
      the car drives in, the pin drops…).
   2. On hover, the icon of the card / button moves again.
   Visitors who turned off animations on their device see still icons
   (see "prefers-reduced-motion" above). */
.ic { overflow: visible; }
.ic use { transform-box: fill-box; transform-origin: center; }
:root { --ic-dir: 1; }
[dir="rtl"] { --ic-dir: -1; }

@keyframes ic-draw    { from { stroke-dasharray: 100 100; stroke-dashoffset: 100; } to { stroke-dasharray: 100 0; stroke-dashoffset: 0; } }
@keyframes ic-draw-l  { from { stroke-dasharray: 320 320; stroke-dashoffset: 320; } to { stroke-dasharray: 320 0; stroke-dashoffset: 0; } }
@keyframes ic-takeoff { 0% { translate: calc(-10px * var(--ic-dir)) 9px; rotate: 14deg; opacity: 0; } 60% { translate: calc(2px * var(--ic-dir)) -2px; rotate: -4deg; opacity: 1; } 100% { translate: 0 0; rotate: 0deg; } }
@keyframes ic-drive   { 0% { translate: calc(-18px * var(--ic-dir)) 0; opacity: 0; } 65% { translate: calc(3px * var(--ic-dir)) 0; opacity: 1; } 80% { translate: 0 -2px; } 100% { translate: 0 0; } }
@keyframes ic-drop    { 0% { translate: 0 -14px; opacity: 0; } 55% { translate: 0 2px; opacity: 1; } 75% { translate: 0 -3px; } 100% { translate: 0 0; } }
@keyframes ic-pop     { 0% { scale: .3; opacity: 0; } 65% { scale: 1.18; opacity: 1; } 100% { scale: 1; } }
@keyframes ic-tick    { 0% { rotate: -35deg; opacity: 0; } 50% { rotate: 10deg; opacity: 1; } 75% { rotate: -5deg; } 100% { rotate: 0deg; } }
@keyframes ic-wobble  { 0%, 100% { rotate: 0deg; } 20% { rotate: -14deg; } 45% { rotate: 11deg; } 70% { rotate: -6deg; } }
@keyframes ic-spin    { from { rotate: -360deg; opacity: 0; } 60% { opacity: 1; } to { rotate: 0deg; } }
@keyframes ic-unfold  { 0% { scale: .15 1; opacity: 0; } 70% { scale: 1.08 1; opacity: 1; } 100% { scale: 1 1; } }
@keyframes ic-fly     { 0% { translate: 0 0; opacity: 1; } 40% { translate: calc(16px * var(--ic-dir)) -16px; opacity: 0; } 41% { translate: calc(-16px * var(--ic-dir)) 16px; opacity: 0; } 100% { translate: 0 0; opacity: 1; } }
@keyframes ic-bump    { 0%, 100% { translate: 0 0; } 25% { translate: 0 -3px; } 50% { translate: 0 0; } 70% { translate: 0 -1.5px; } }
@keyframes ic-ring    { 0%, 100% { rotate: 0deg; } 15% { rotate: 14deg; } 30% { rotate: -12deg; } 45% { rotate: 8deg; } 60% { rotate: -4deg; } }

/* 1. on appear: draw + move (delay follows each block's own stagger) */
.js .reveal.is-in .ic { animation: ic-draw .9s var(--ease) calc(var(--d, 0ms) + 150ms) both; }
.js .reveal.is-in .ic-plane    { animation: ic-draw .9s var(--ease) calc(var(--d, 0ms) + 150ms) both, ic-takeoff 1s var(--ease) calc(var(--d, 0ms) + 150ms) both; }
.js .reveal.is-in :is(.ic-car, .ic-sedan, .ic-van, .ic-suv) { animation: ic-draw-l 1.3s var(--ease) calc(var(--d, 0ms) + 150ms) both, ic-drive 1.1s var(--ease) calc(var(--d, 0ms) + 150ms) both; }
.js .reveal.is-in :is(.ic-pin, .ic-mail) { animation: ic-draw .9s var(--ease) calc(var(--d, 0ms) + 150ms) both, ic-drop .9s var(--ease) calc(var(--d, 0ms) + 150ms) both; }
.js .reveal.is-in :is(.ic-users, .ic-star, .ic-shield, .ic-heart, .ic-sign, .ic-calendar, .ic-whatsapp) { animation: ic-draw .9s var(--ease) calc(var(--d, 0ms) + 150ms) both, ic-pop .8s var(--ease) calc(var(--d, 0ms) + 150ms) both; }
.js .reveal.is-in .ic-clock    { animation: ic-draw .9s var(--ease) calc(var(--d, 0ms) + 150ms) both, ic-tick 1s var(--ease) calc(var(--d, 0ms) + 150ms) both; }
.js .reveal.is-in .ic-headset  { animation: ic-draw .9s var(--ease) calc(var(--d, 0ms) + 150ms) both, ic-wobble 1s ease calc(var(--d, 0ms) + 500ms) both; }
.js .reveal.is-in .ic-compass  { animation: ic-draw .9s var(--ease) calc(var(--d, 0ms) + 150ms) both, ic-spin 1.4s var(--ease) calc(var(--d, 0ms) + 150ms) both; }
.js .reveal.is-in .ic-map      { animation: ic-draw .9s var(--ease) calc(var(--d, 0ms) + 150ms) both, ic-unfold .9s var(--ease) calc(var(--d, 0ms) + 150ms) both; }
.js .reveal.is-in .ic-check    { animation: ic-draw .6s var(--ease) calc(var(--d, 0ms) + 350ms) both; }

/* the promises under the hero, and the lists on activity / guide pages: draw on load */
.promises li .ic, .act-body :is(.inc-list, .act-info) .ic { animation: ic-draw .9s var(--ease) .3s both, ic-pop .7s var(--ease) .3s both; }
.promises li:nth-child(2) .ic, .act-body :is(.inc-list, .act-info) > :nth-child(2) .ic { animation-delay: .45s; }
.promises li:nth-child(3) .ic, .act-body :is(.inc-list, .act-info) > :nth-child(3) .ic { animation-delay: .6s; }
.promises li:nth-child(4) .ic, .act-body :is(.inc-list, .act-info) > :nth-child(4) .ic { animation-delay: .75s; }
.act-body :is(.inc-list, .act-info) > :nth-child(n+5) .ic { animation-delay: .9s; }

/* 2. on hover: the icon of the card / button moves again (on the inner <use>, so it never conflicts with the appear animation) */
:is(.service-card, .why-list li, .steps li, .vehicle-card, .contact-item, .promises li, .segmented label, .btn, .dest, .act-info > div, .guide-card, .activity-card):hover .ic-plane use { animation: ic-fly .9s var(--ease); }
:is(.service-card, .vehicle-card, .segmented label, .btn, .act-info > div):hover :is(.ic-car, .ic-sedan, .ic-van, .ic-suv) use { animation: ic-bump .7s ease 2; }
:is(.service-card, .segmented label, .dest, .activity-card, .act-info > div):hover .ic-map use { animation: ic-unfold .7s var(--ease); }
:is(.why-list li, .act-info > div, .promises li):hover .ic-clock use { animation: ic-tick .8s var(--ease); }
:is(.why-list li, .steps li, .promises li, .contact-item):hover :is(.ic-users, .ic-headset, .ic-sign, .ic-heart, .ic-calendar, .ic-shield, .ic-check) use { animation: ic-wobble .8s ease; }
:is(.steps li, .contact-item, .btn, .dest, .act-info > div):hover :is(.ic-mail, .ic-pin) use { animation: ic-drop .7s var(--ease); }
:is(.btn, .contact-item, .mobile-bar a):hover .ic-whatsapp use { animation: ic-ring .8s ease; }
/* choosing a service in the quote form: the plane takes off, the car hops, the map unfolds */
.segmented input:checked + label .ic-plane use { animation: ic-fly .9s var(--ease); }
.segmented input:checked + label .ic-car use { animation: ic-bump .7s ease 2; }
.segmented input:checked + label .ic-map use { animation: ic-unfold .7s var(--ease); }
/* links with an arrow: the arrow nudges forward */
.ic-arrow { transition: translate .25s var(--ease); }
:is(a, button):hover > .ic-arrow { translate: calc(4px * var(--ic-dir)) 0; }
/* WhatsApp button at the bottom of phones: a gentle "ring" every few seconds */
.mobile-bar.is-visible .btn-wa .ic-whatsapp use { animation: ic-ring .9s ease 2.5s 3; }
