/* =========================================================
   RALLYE SIROCCO — STYLES
   Palette: Sirocco Red · Atlas Green · Desert Gold · Sand · Cream
   Type: Bebas Neue · Cormorant Garamond · DM Sans
   ========================================================= */

:root {
  --red: #BE0812;
  --red-deep: #9A060E;
  --green: #015E34;
  --green-deep: #003D22;
  --cream: #F7F3EA;
  --cream-warm: #E7D9BF;
  --gold: #C79753;
  --gold-deep: #B89A73;
  --ink: #1F1F1F;
  --ink-soft: #7A746B;
  --line: rgba(31, 31, 31, 0.12);
  --line-strong: rgba(31, 31, 31, 0.22);

  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --container: 1240px;
  --radius: 4px;
  --radius-lg: 6px;
  --section-y: 96px;
  --section-y-tight: 72px;
  --shadow-soft: 0 22px 60px -36px rgba(31, 31, 31, 0.38);
  --shadow-card: 0 18px 46px -30px rgba(31, 31, 31, 0.32);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

/* ===== Language toggle visibility ===== */
html:not([lang="fr"]) .lang-fr { display: none !important; }
html[lang="fr"] .lang-en { display: none !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { max-width: 100%; }
img { height: auto; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 1000;
  transform: translate(-50%, -140%);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ===== Zellij background pattern ===== */
.zellij-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%231F1F1F' stroke-width='1'><path d='M40 4 L52 16 L52 32 L64 44 L52 56 L52 72 L40 84 L28 72 L28 56 L16 44 L28 32 L28 16 Z'/><path d='M40 16 L48 24 L48 36 L40 44 L32 36 L32 24 Z'/><circle cx='40' cy='40' r='6'/><path d='M0 40 L8 32 M72 40 L80 32 M0 40 L8 48 M72 40 L80 48'/></g></svg>");
  background-size: 80px 80px;
}

/* ===== Opening intro ===== */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 32px;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 40%, rgba(199, 151, 83, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(31, 31, 31, 0.98), rgba(70, 44, 30, 0.94));
  pointer-events: none;
  animation: introExit 5s var(--ease) forwards;
}
.site-intro--wind {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 48%, rgba(199, 151, 83, 0.22), transparent 28%),
    radial-gradient(circle at 74% 36%, rgba(247, 243, 234, 0.12), transparent 26%),
    linear-gradient(112deg, rgba(20, 18, 16, 0.99), rgba(70, 42, 27, 0.96) 48%, rgba(156, 91, 46, 0.9));
}
.site-intro__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  mix-blend-mode: screen;
}
.site-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(112deg, transparent 0 34%, rgba(247, 243, 234, 0.2) 42% 42.7%, transparent 50% 100%),
    linear-gradient(106deg, transparent 0 47%, rgba(199, 151, 83, 0.34) 54% 55.6%, transparent 65% 100%);
  transform: translate3d(-32%, 0, 0);
  animation: introLight 4.8s var(--ease) both;
}
.site-intro__sweep {
  position: absolute;
  inset: -24% -48%;
  opacity: 0;
  background:
    radial-gradient(ellipse at 36% 34%, rgba(247, 243, 234, 0.18), transparent 22%),
    radial-gradient(ellipse at 50% 60%, rgba(199, 151, 83, 0.5), transparent 35%),
    radial-gradient(ellipse at 58% 48%, rgba(231, 217, 191, 0.2), transparent 40%),
    linear-gradient(100deg, transparent 0 25%, rgba(247, 243, 234, 0.08) 36%, rgba(199, 151, 83, 0.48) 50%, rgba(231, 217, 191, 0.18) 64%, transparent 78%);
  filter: blur(18px);
  transform: translate3d(-88vw, 2vh, 0) skewX(-15deg) rotate(-1.8deg);
  will-change: transform, opacity;
  animation: siroccoWindSweep 4.85s var(--ease) 0.02s forwards;
}
.site-intro__sweep::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 34%;
  height: 34%;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent, rgba(247, 243, 234, 0.18), rgba(199, 151, 83, 0.42), rgba(247, 243, 234, 0.08), transparent);
  filter: blur(13px);
  transform: rotate(-7deg);
}
.site-intro__wind {
  position: absolute;
  inset: -14% -20%;
  filter: blur(0.3px);
  opacity: 0.9;
  transform: skewX(-11deg);
}
.site-intro__wind::before,
.site-intro__wind::after {
  content: "";
  position: absolute;
  left: -50%;
  width: 72%;
  height: 13%;
  border-radius: 50%;
  border-top: 1px solid rgba(247, 243, 234, 0.24);
  border-bottom: 1px solid rgba(199, 151, 83, 0.22);
  filter: blur(0.8px);
  transform: translate3d(-12vw, 0, 0) rotate(-4deg);
  animation: siroccoRibbon 4.5s var(--ease) 0.18s forwards;
}
.site-intro__wind::before { top: 35%; }
.site-intro__wind::after {
  top: 52%;
  width: 84%;
  opacity: 0.72;
  animation-delay: 0.28s;
}
.site-intro__wind span {
  position: absolute;
  left: -34%;
  width: 56%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(247, 243, 234, 0.18), rgba(199, 151, 83, 0.78), rgba(247, 243, 234, 0.2), transparent);
  box-shadow: 0 0 22px rgba(199, 151, 83, 0.22);
  transform: translate3d(-8vw, 0, 0) rotate(-1deg);
  animation: siroccoWind 4.35s var(--ease) forwards;
}
.site-intro__wind span::before,
.site-intro__wind span::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 8%;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(231, 217, 191, 0.32), transparent);
}
.site-intro__wind span::before { top: -7px; transform: translateX(7%) rotate(1.5deg); opacity: 0.58; }
.site-intro__wind span::after { top: 8px; transform: translateX(-5%) rotate(-1.5deg); opacity: 0.36; }
.site-intro__wind span:nth-child(1) { top: 30%; animation-delay: 0.1s; }
.site-intro__wind span:nth-child(2) { top: 43%; width: 68%; animation-delay: 0.2s; opacity: 0.9; }
.site-intro__wind span:nth-child(3) { top: 57%; width: 48%; animation-delay: 0.28s; opacity: 0.7; }
.site-intro__wind span:nth-child(4) { top: 68%; width: 62%; animation-delay: 0.36s; opacity: 0.55; }
.site-intro__wind span:nth-child(5) { top: 22%; width: 42%; animation-delay: 0.18s; opacity: 0.42; }
.site-intro__wind span:nth-child(6) { top: 76%; width: 52%; animation-delay: 0.46s; opacity: 0.46; }
.site-intro__sand {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.86;
}
.site-intro__sand i {
  position: absolute;
  left: -8vw;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(231, 217, 191, 0.74);
  box-shadow: 0 0 14px rgba(199, 151, 83, 0.42);
  animation: sandParticleDrift 4.45s var(--ease) forwards;
}
.site-intro__sand i:nth-child(1) { top: 24%; animation-delay: 0.15s; }
.site-intro__sand i:nth-child(2) { top: 34%; animation-delay: 0.28s; width: 2px; height: 2px; }
.site-intro__sand i:nth-child(3) { top: 45%; animation-delay: 0.08s; }
.site-intro__sand i:nth-child(4) { top: 53%; animation-delay: 0.22s; width: 4px; height: 4px; }
.site-intro__sand i:nth-child(5) { top: 62%; animation-delay: 0.34s; }
.site-intro__sand i:nth-child(6) { top: 70%; animation-delay: 0.18s; width: 2px; height: 2px; }
.site-intro__sand i:nth-child(7) { top: 38%; animation-delay: 0.42s; }
.site-intro__sand i:nth-child(8) { top: 58%; animation-delay: 0.5s; width: 2px; height: 2px; }
.site-intro__sand i:nth-child(9) { top: 18%; animation-delay: 0.4s; width: 2px; height: 2px; }
.site-intro__sand i:nth-child(10) { top: 48%; animation-delay: 0.54s; }
.site-intro__sand i:nth-child(11) { top: 73%; animation-delay: 0.32s; width: 2px; height: 2px; }
.site-intro__sand i:nth-child(12) { top: 82%; animation-delay: 0.58s; width: 4px; height: 4px; }
.site-intro__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}
.site-intro img {
  width: clamp(148px, 12vw, 188px);
  height: clamp(148px, 12vw, 188px);
  object-fit: contain;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.34));
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  animation: introMark 1.12s var(--ease) 0.28s forwards;
}
.site-intro__line {
  width: min(440px, 68vw);
  height: 30px;
  display: grid;
  align-items: center;
}
.site-intro__line span {
  display: block;
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(199,151,83,0.86), rgba(247,243,234,0.72), rgba(190,8,18,0.72), transparent);
  transform: scaleX(0);
  transform-origin: center;
  animation: introRoad 1.35s var(--ease) 0.92s forwards;
}
.site-intro p,
.site-intro strong {
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  animation: introText 1s var(--ease) forwards;
}
.site-intro p {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation-delay: 1.22s;
}
.site-intro strong {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  font-style: italic;
  color: rgba(247, 243, 234, 0.76);
  animation-delay: 1.55s;
}
.intro-complete .site-intro {
  opacity: 0;
  visibility: hidden;
}
.site-intro[hidden] {
  display: none;
}
@keyframes introMark {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes introRoad {
  to { transform: scaleX(1); }
}
@keyframes introText {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes introLight {
  to { transform: translate3d(28%, 0, 0); }
}
@keyframes siroccoWindSweep {
  0% { opacity: 0; transform: translate3d(-88vw, 2vh, 0) skewX(-15deg) rotate(-1.8deg) scaleX(0.82); }
  16% { opacity: 0.78; }
  50% { opacity: 0.92; transform: translate3d(5vw, -1vh, 0) skewX(-14deg) rotate(-2.4deg) scaleX(1.08); }
  100% { opacity: 0; transform: translate3d(104vw, -7vh, 0) skewX(-15deg) rotate(-4deg) scaleX(0.96); }
}
@keyframes siroccoWind {
  0% { transform: translate3d(-18vw, 0, 0) rotate(-1deg) scaleX(0.25); opacity: 0; }
  18% { opacity: 1; }
  55% { transform: translate3d(80vw, -3.2vh, 0) rotate(-2.8deg) scaleX(1.14); opacity: 0.84; }
  100% { transform: translate3d(162vw, -7vh, 0) rotate(-4.2deg) scaleX(0.82); opacity: 0; }
}
@keyframes siroccoRibbon {
  0% { opacity: 0; transform: translate3d(-20vw, 0, 0) rotate(-4deg) scaleX(0.42); }
  28% { opacity: 0.9; }
  100% { opacity: 0; transform: translate3d(166vw, -10vh, 0) rotate(-8deg) scaleX(1.22); }
}
@keyframes sandParticleDrift {
  0% { opacity: 0; transform: translate3d(-12vw, 0, 0) rotate(0deg) scale(0.7); }
  24% { opacity: 1; }
  54% { opacity: 0.72; transform: translate3d(58vw, -5vh, 0) rotate(24deg) scale(1); }
  100% { opacity: 0; transform: translate3d(118vw, -9vh, 0) rotate(42deg) scale(1.18); }
}
@keyframes introExit {
  0%, 86% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

/* ===== Containers / utilities ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: var(--section-y) 0;
  z-index: 1;
  overflow: clip;
}
.section-anchor {
  position: absolute;
  top: -92px;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.section__head { max-width: 760px; margin-bottom: 46px; }
.section__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 18px;
}
.seo-note {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
.text-link {
  color: var(--red);
  font-weight: 600;
  text-decoration-color: rgba(190, 8, 18, 0.3);
  text-underline-offset: 3px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}
.text-link:hover {
  color: var(--green);
  text-decoration-color: rgba(1, 94, 52, 0.42);
}

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--red);
  margin-bottom: 18px;
}

.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
}
.h2 em {
  font-style: italic;
  color: var(--red);
  font-weight: 500;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-actions {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.page-hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: end;
  padding: 168px 0 84px;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(12, 9, 7, 0.56), rgba(12, 9, 7, 0.78)),
    url('assets/mhamid-el-ghizlane-sahara-rally.jpg') center / cover no-repeat;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 22%, rgba(199, 151, 83, 0.25), transparent 28%),
    linear-gradient(90deg, rgba(31, 31, 31, 0.65), transparent 48%, rgba(31, 31, 31, 0.36));
}
.page-hero--about { background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.55), rgba(12, 9, 7, 0.78)), url('assets/marrakech-medina-rallye-sirocco.jpg'); }
.page-hero--route { background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.55), rgba(12, 9, 7, 0.78)), url('assets/tizi-n-tichka-rallye-morocco.jpg'); }
.page-hero--sponsors { background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.58), rgba(12, 9, 7, 0.78)), url('assets/ait-ben-haddou-rallye-sirocco.jpg'); }
.page-hero--contact { background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.56), rgba(12, 9, 7, 0.78)), url('assets/marrakech-souk-rallye-sirocco.jpg'); }
.page-hero--register { background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.54), rgba(12, 9, 7, 0.78)), url('assets/erg-chigaga-rallye-sirocco.jpg'); }
.page-hero--faq { background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.58), rgba(12, 9, 7, 0.78)), url('assets/mhamid-bivouac-desert-camp.jpg'); }
.page-hero--fees { background-image: linear-gradient(180deg, rgba(12, 9, 7, 0.55), rgba(12, 9, 7, 0.78)), url('assets/mhamid-el-ghizlane-sahara-rally.jpg'); }
.page-hero__inner {
  max-width: 920px;
}
.page-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.page-hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.page-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(247, 243, 234, 0.78);
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1.45;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.premium-card {
  min-height: 208px;
  padding: 28px 26px;
  background: rgba(247, 243, 234, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s var(--ease);
}
.premium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 151, 83, 0.72);
  box-shadow: 0 24px 58px -34px rgba(31, 31, 31, 0.42);
}
.premium-card > span {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--gold);
}
.premium-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.12;
}
.premium-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.route-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 1px;
  margin: 0 0 38px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}
.route-flow li {
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 18px 12px;
  background: rgba(247, 243, 234, 0.88);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  position: relative;
}
.route-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
  background: rgba(247, 243, 234, 0.88);
}
.route-flow--wide { margin-bottom: 42px; }

.final-cta {
  position: relative;
  z-index: 1;
  padding: 86px 0;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(31, 31, 31, 0.96), rgba(64, 42, 25, 0.94)),
    var(--ink);
}
.final-cta__inner {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.final-cta h2 {
  max-width: 860px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.04;
}
.final-cta__note {
  max-width: 720px;
  margin: -4px 0 4px;
  color: rgba(247, 243, 234, 0.76);
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.42;
}
.final-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.final-cta .btn--ghost {
  color: var(--cream);
  border-color: rgba(247, 243, 234, 0.34);
}
.final-cta .btn--ghost:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.conversion-strip {
  position: relative;
  z-index: 1;
  padding: 42px 0;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(31, 31, 31, 0.96), rgba(50, 38, 24, 0.94)),
    var(--ink);
  border-top: 1px solid rgba(247, 243, 234, 0.1);
  border-bottom: 1px solid rgba(247, 243, 234, 0.1);
}
.conversion-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.conversion-strip p {
  margin: 0;
  color: rgba(247, 243, 234, 0.88);
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.18;
  font-style: italic;
}
.conversion-strip__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 28px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  box-shadow: 0 0 0 5px rgba(199, 151, 83, 0.2);
}
.btn--primary {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 1px 0 0 var(--red-deep), 0 12px 32px -16px rgba(190,8,18,.6);
}
.btn--primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 0 var(--red-deep), 0 18px 40px -16px rgba(190,8,18,.8);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -26px rgba(31, 31, 31, 0.55);
}
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 1px 0 0 var(--gold-deep), 0 12px 32px -16px rgba(199,151,83,.6);
}
.btn--gold:hover {
  background: var(--gold-deep);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(199,151,83,.72);
}
.btn--compact-whatsapp {
  min-height: 50px;
  padding-right: 22px;
  padding-left: 20px;
}
.whatsapp-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
.btn--stack {
  flex-direction: column;
  gap: 3px;
  min-height: 62px;
  padding-top: 12px;
  padding-bottom: 11px;
}
.btn__main,
.btn__sub {
  display: block;
  line-height: 1.08;
}
.btn__sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.86;
}
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: all 0.4s var(--ease);
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.62), rgba(10, 8, 6, 0));
}
.nav.is-scrolled {
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.nav.nav--solid {
  background: rgba(247, 243, 234, 0.94);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
}
.nav__brand img {
  height: 52px;
  width: auto;
  display: block;
  transition: height 0.4s var(--ease);
}
.nav.is-scrolled .nav__brand img { height: 42px; }
.nav.nav--solid .nav__brand img { height: 42px; }

.nav__links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 1.35vw, 22px);
}
.nav__links a {
  color: rgba(247, 243, 234, 0.9);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transition: right 0.4s var(--ease);
}
.nav.is-scrolled .nav__links a { color: var(--ink); }
.nav.nav--solid .nav__links a { color: var(--ink); }
.nav__links a:hover,
.nav__links a.is-active { color: var(--gold); }
.nav.is-scrolled .nav__links a:hover,
.nav.is-scrolled .nav__links a.is-active,
.nav.nav--solid .nav__links a:hover,
.nav.nav--solid .nav__links a.is-active { color: var(--red); }
.nav__links a:hover::after { right: 0; }
.nav__links a.is-active::after { right: 0; }

.nav__links-cta {
  display: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(247, 243, 234, 0.42);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--cream);
  cursor: pointer;
  transition: all 0.3s ease;
}
.nav.is-scrolled .lang-switch {
  color: var(--ink);
  border-color: var(--line-strong);
}
.nav.nav--solid .lang-switch {
  color: var(--ink);
  border-color: var(--line-strong);
}
.lang-switch:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: rgba(190, 8, 18, 0.94);
  color: var(--cream);
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  font-size: 13px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -22px rgba(190, 8, 18, 0.74);
}

.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 42px; height: 42px;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  margin: 6px 0;
  transition: all 0.3s var(--ease);
}
.nav.is-scrolled .nav__burger span,
.nav.nav--solid .nav__burger span,
.nav__burger.is-open span { background: var(--ink); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.whatsapp-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 64;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 18px;
  background: rgba(1, 94, 52, 0.96);
  color: var(--cream);
  border: 1px solid rgba(247, 243, 234, 0.28);
  border-radius: 999px;
  box-shadow: 0 18px 44px -22px rgba(1, 94, 52, 0.86);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), background 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.whatsapp-float .whatsapp-icon {
  width: 20px;
  height: 20px;
}
.whatsapp-float:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 22px 48px -22px rgba(1, 94, 52, 0.95);
}
.btn--whatsapp {
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 1px 0 0 var(--green-deep), 0 12px 32px -16px rgba(1, 94, 52, 0.62);
}
.btn--whatsapp:hover {
  background: var(--green-deep);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(1, 94, 52, 0.75);
}
.mobile-cta-bar {
  display: none;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 132px 32px 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(199,151,83,0.18), transparent 70%),
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(190,8,18,0.12), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__bg::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18%;
  z-index: 2;
  width: 2px;
  height: 62%;
  background: linear-gradient(180deg, transparent, rgba(247, 243, 234, 0.55), transparent);
  transform: translateX(-50%) perspective(280px) rotateX(60deg);
  transform-origin: bottom;
  box-shadow:
    -28px 0 0 rgba(247, 243, 234, 0.16),
    28px 0 0 rgba(247, 243, 234, 0.16);
  opacity: 0.55;
}
.hero__particles span {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: drift linear infinite;
}
@keyframes drift {
  0% { opacity: 0; transform: translate(0,0); }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)); }
}

.hero__content {
  text-align: center;
  max-width: 940px;
  position: relative;
  z-index: 3;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(247,243,234,0.5);
  animation: rise 0.9s var(--ease) both;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(78px, 9.7vw, 136px);
  line-height: 0.9;
  margin: 0;
  letter-spacing: 0;
  color: var(--ink);
}
.hero__title-line {
  display: block;
  animation: rise 1s var(--ease) both;
}
.hero__title-line.accent {
  color: var(--gold);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.52em;
  line-height: 1.02;
  margin-top: 0.02em;
  animation-delay: 0.18s;
}

.hero__subtitle {
  max-width: 780px;
  margin: 18px auto 0;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-align: center;
  text-wrap: balance;
  text-transform: uppercase;
  animation: rise 1s var(--ease) 0.36s both;
}
.hero__subtitle-route {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.08em 0.34em;
  line-height: 1.04;
}
.hero__subtitle em {
  display: inline-block;
  color: var(--red);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.hero__divider {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 20px;
  animation: rise 1s var(--ease) 0.5s both;
}
.hero__divider span {
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero__divider span:nth-child(2) {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: -2.5px;
}

.hero__lede {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.55;
  font-style: italic;
  max-width: 680px;
  margin: 0 auto 22px;
  color: var(--ink-soft);
  animation: rise 1s var(--ease) 0.62s both;
}

.hero__badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 34px;
  animation: rise 1s var(--ease) 0.68s both;
}
.hero__badges > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid rgba(247, 243, 234, 0.2);
  border-radius: 999px;
  background: rgba(10, 8, 6, 0.32);
  color: rgba(247, 243, 234, 0.78);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero__badges > span > span {
  display: inline;
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  animation: rise 1s var(--ease) 0.78s both;
}
.hero__cta--conversion .btn--primary {
  min-width: 260px;
}
.hero__cta--conversion .btn--whatsapp {
  min-width: 214px;
}
.hero__program-link {
  flex-basis: 100%;
  max-width: 410px;
  margin-top: -2px;
  color: rgba(247, 243, 234, 0.9);
  border-color: rgba(247, 243, 234, 0.34);
}
.hero__program-link:hover {
  background: rgba(247, 243, 234, 0.95);
  color: var(--ink);
  border-color: rgba(247, 243, 234, 0.95);
}
.hero__scarcity {
  max-width: 720px;
  margin: 0 auto 30px;
  color: rgba(247, 243, 234, 0.78);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: rise 1s var(--ease) 0.84s both;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 680px;
  margin: 0 auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  animation: rise 1s var(--ease) 0.92s both;
}
.hero__meta > div {
  padding: 22px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.hero__meta > div:last-child { border-right: 0; }
.hero__meta .num {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: var(--red);
  letter-spacing: 0.02em;
}
.hero__meta .lbl {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--ink-soft);
  text-decoration: none;
  text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ ABOUT ============ */
.about__intro h2 { margin-top: 8px; }
.about__body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.about__body strong {
  color: var(--ink);
  font-weight: 600;
}
.about__feats {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 8px;
}
.about__feats li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.about__feats li:last-child { border-bottom: 1px solid var(--line); }
.about__feats span {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
}
.about__feats strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--ink);
}
.about__feats p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.cta-pair {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.trust-strip {
  position: relative;
  z-index: 1;
  padding: 34px 0;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(31, 31, 31, 0.97), rgba(75, 49, 30, 0.94)),
    var(--ink);
}
.trust-strip__inner {
  max-width: 980px;
  text-align: center;
}
.trust-strip__copy p,
.credibility-panel p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1.42;
}
.trust-strip__copy p {
  max-width: 900px;
  margin: 0 auto;
  color: rgba(247, 243, 234, 0.82);
}
.credibility-list {
  display: grid;
  gap: 10px;
}
.credibility-list li {
  position: relative;
  padding: 13px 16px 13px 38px;
  border: 1px solid rgba(247, 243, 234, 0.16);
  border-radius: var(--radius);
  background: rgba(247, 243, 234, 0.06);
  color: rgba(247, 243, 234, 0.78);
  font-size: 14px;
  line-height: 1.45;
}
.credibility-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.who-section {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    linear-gradient(115deg, rgba(31, 31, 31, 0.97), rgba(1, 94, 52, 0.88)),
    var(--ink);
}
.who-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 31, 31, 0.78), rgba(31, 31, 31, 0.44)),
    url('assets/mhamid-el-ghizlane-sahara-rally.jpg') center / cover no-repeat;
  opacity: 0.28;
  transform: scale(1.03);
}
.who-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(199, 151, 83, 0.12), transparent 24%, rgba(0, 0, 0, 0.16)),
    linear-gradient(90deg, rgba(190, 8, 18, 0.16), transparent 28%);
}
.who-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}
.who-copy .kicker {
  color: var(--gold);
}
.who-copy .h2 {
  max-width: 720px;
  color: var(--cream);
}
.who-copy .section__lede {
  max-width: 720px;
  color: rgba(247, 243, 234, 0.86);
}
.who-copy > p:not(.section__lede) {
  max-width: 660px;
  color: rgba(247, 243, 234, 0.72);
  font-size: 17px;
  line-height: 1.76;
}
.who-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(247, 243, 234, 0.18);
}
.who-actions p {
  max-width: 280px;
  margin: 0;
  color: rgba(247, 243, 234, 0.68);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}
.who-profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.who-profile {
  min-height: 206px;
  padding: 24px;
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.1), rgba(247, 243, 234, 0.045)),
    rgba(31, 31, 31, 0.2);
  box-shadow: 0 24px 58px -46px rgba(0, 0, 0, 0.76);
}
.who-profile--wide {
  grid-column: span 2;
  min-height: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: start;
}
.who-profile strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.12;
}
.who-profile--wide strong {
  margin-top: 0;
}
.who-profile p {
  margin: 0;
  color: rgba(247, 243, 234, 0.68);
  font-size: 14px;
  line-height: 1.62;
}
.who-profile--wide p,
.who-profile--wide strong {
  grid-column: 2;
}
.who-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(199, 151, 83, 0.58);
  border-radius: 50%;
  background: rgba(199, 151, 83, 0.14);
}
.who-icon::before {
  content: "";
  width: 19px;
  height: 19px;
  background: var(--gold);
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}
.who-icon--car { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 15h16l-1.6-4.4A3 3 0 0 0 15.6 8H8.4a3 3 0 0 0-2.8 2.6L4 15Zm2 0v3h2v-2h8v2h2v-3H6Zm2.4-5h7.2c.4 0 .8.3 1 .7l.8 2.3H6.6l.8-2.3c.2-.4.6-.7 1-.7Z'/%3E%3C/svg%3E"); }
.who-icon--travel { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm3.9 6.1-2.2 5.6-5.6 2.2 2.2-5.6 5.6-2.2Z'/%3E%3C/svg%3E"); }
.who-icon--crew { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm8 1a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7ZM2 21c.6-4.1 2.7-7 6-7s5.4 2.9 6 7H2Zm12.5 0a9.8 9.8 0 0 0-2.1-5.2A5.6 5.6 0 0 1 16 14c3 0 5 2.7 5.5 7h-7Z'/%3E%3C/svg%3E"); }
.who-icon--culture { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 20V9l8-6 8 6v11h-3v-8h-3v8h-4v-8H7v8H4Zm4-10h8l-4-3-4 3Z'/%3E%3C/svg%3E"); }
.who-icon--precision { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 2h2v3.1a7 7 0 0 1 5.9 5.9H22v2h-3.1a7 7 0 0 1-5.9 5.9V22h-2v-3.1A7 7 0 0 1 5.1 13H2v-2h3.1A7 7 0 0 1 11 5.1V2Zm1 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm0 3a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z'/%3E%3C/svg%3E"); }
.credibility-section {
  background:
    linear-gradient(180deg, rgba(231, 217, 191, 0.55), rgba(247, 243, 234, 0.92)),
    var(--cream);
}
.credibility-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  padding: 44px;
  border: 1px solid rgba(199, 151, 83, 0.34);
  border-radius: var(--radius-lg);
  background: rgba(247, 243, 234, 0.86);
  box-shadow: var(--shadow-soft);
}
.credibility-panel p {
  color: var(--ink-soft);
}
.credibility-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.credibility-list li {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.28);
  color: var(--ink-soft);
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 12px;
  counter-reset: process;
}
.process-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(247, 243, 234, 0.78);
}
.process-list li > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.08em;
}
.process-list strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.14;
  color: var(--ink);
}
.process-list p,
.register-facts p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.62;
}
.scarcity-note {
  margin: 26px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--red);
  background: rgba(190, 8, 18, 0.06);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.46;
}

/* ============ ROUTE ============ */
.route {
  background:
    linear-gradient(180deg, transparent 0%, rgba(199,151,83,0.06) 100%);
}
.route .section__lede {
  overflow-wrap: anywhere;
}
.route__map {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.route__map::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  pointer-events: none;
  z-index: 401;
}
.route__leaflet {
  width: 100%;
  height: 480px;
  border-radius: 4px;
  z-index: 1;
}

.route__legend {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.route__legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.route__legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 1px var(--line-strong);
}
.route__legend-dot--start {
  background: var(--red);
}
.route__legend-dot--stop {
  background: var(--ink);
}
.route__legend-line {
  width: 32px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

/* ============ ITINERARY ============ */
.itinerary {
  background: var(--cream-warm);
  position: relative;
  overflow: hidden;
}
.itinerary::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.86), rgba(231, 217, 191, 0.76)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='820' viewBox='0 0 1600 820' preserveAspectRatio='none'><path d='M0 470 C220 390 390 540 620 455 C850 370 1050 420 1260 350 C1410 300 1515 315 1600 285 L1600 820 L0 820 Z' fill='%23C79753' fill-opacity='0.36'/><path d='M0 560 C240 500 460 610 720 525 C980 440 1180 510 1600 405 L1600 820 L0 820 Z' fill='%23B89A73' fill-opacity='0.42'/><path d='M0 670 C280 600 520 690 815 620 C1110 550 1350 595 1600 535 L1600 820 L0 820 Z' fill='%23BE0812' fill-opacity='0.10'/></svg>") center bottom / cover no-repeat;
}
.itinerary .container { position: relative; z-index: 1; }
.itinerary--sahara .section__head {
  max-width: 840px;
}
.legs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  position: relative;
}
.legs::before {
  content: "";
  position: absolute;
  left: 90px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, var(--red), var(--gold), var(--green));
  opacity: 0.4;
}
.leg {
  --leg-accent: var(--red);
  --leg-accent-dark: var(--gold-deep);
  --leg-tint: rgba(199,151,83,0.15);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: start;
  padding: 36px 32px;
  background: rgba(247, 243, 234, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.4s var(--ease);
}
.leg:hover {
  border-color: var(--leg-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.leg__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 18px 0;
  border-right: 1px solid var(--line);
}
.leg__date::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--leg-accent);
  z-index: 2;
}
.leg__day {
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 0.9;
  color: var(--leg-accent);
  letter-spacing: 0.02em;
}
.leg__month {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.32em;
  color: var(--ink-soft);
  margin-top: 4px;
}
.leg__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--leg-accent-dark);
  background: var(--leg-tint);
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.leg__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.leg__eyebrow-row .leg__tag { margin-bottom: 0; }
.leg__badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 12px;
  border: 1px solid rgba(247, 243, 234, 0.28);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(190, 8, 18, 0.42);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.leg__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 6px;
  color: var(--ink);
}
.leg__route {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.leg__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 18px 0;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.leg__stats > div {
  display: flex;
  flex-direction: column;
  min-width: 92px;
}
.leg__stats .n {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
}
.leg__stats .u {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
}
.leg__plan {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.leg__plan li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 10px 0;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
}
.leg__plan li:last-child { border-bottom: 0; }
.leg__plan li > span:first-child {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--leg-accent);
  text-transform: uppercase;
  padding-top: 2px;
}
.leg__plan li em {
  color: var(--ink);
  font-weight: 500;
  font-style: normal;
}

.leg--quiet { background: rgba(247, 243, 234, 0.55); }
.leg--quiet .leg__day { color: var(--ink-soft); }
.leg--quiet .leg__date::after { border-color: var(--green); }

.leg--arrival {
  --leg-accent: var(--gold);
  --leg-accent-dark: #8f6630;
  --leg-tint: rgba(199, 151, 83, 0.15);
  --leg-bg: linear-gradient(135deg, rgba(247, 243, 234, 0.96), rgba(231, 217, 191, 0.7));
}
.leg--atlas {
  --leg-accent: var(--green);
  --leg-accent-dark: var(--green);
  --leg-tint: rgba(1, 94, 52, 0.1);
  --leg-bg: linear-gradient(135deg, rgba(247, 243, 234, 0.96), rgba(1, 94, 52, 0.08));
}
.leg--artisan {
  --leg-accent: var(--gold-deep);
  --leg-accent-dark: #8c704e;
  --leg-tint: rgba(184, 154, 115, 0.16);
  --leg-bg: linear-gradient(135deg, rgba(247, 243, 234, 0.96), rgba(184, 154, 115, 0.14));
}
.leg--closing {
  --leg-accent: var(--red);
  --leg-accent-dark: var(--red-deep);
  --leg-tint: rgba(190, 8, 18, 0.09);
  --leg-bg: linear-gradient(135deg, rgba(247, 243, 234, 0.96), rgba(190, 8, 18, 0.08));
}
.leg--departure {
  --leg-accent: var(--ink-soft);
  --leg-accent-dark: var(--ink-soft);
  --leg-tint: rgba(122, 116, 107, 0.12);
  --leg-bg: linear-gradient(135deg, rgba(247, 243, 234, 0.98), rgba(122, 116, 107, 0.1));
}

.leg--experience,
.leg--special {
  --leg-accent: var(--gold);
  --leg-accent-dark: var(--cream);
  --leg-tint: rgba(190, 8, 18, 0.38);
  position: relative;
  overflow: hidden;
  color: var(--cream);
  border-color: rgba(199, 151, 83, 0.42);
  background:
    linear-gradient(135deg, rgba(31, 31, 31, 0.94), rgba(99, 62, 31, 0.9)),
    radial-gradient(circle at 78% 14%, rgba(199, 151, 83, 0.28), transparent 34%);
}
.leg--experience::before,
.leg--special::before {
  content: "";
  position: absolute;
  inset: -20% -12% auto 28%;
  height: 210px;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent, rgba(247, 243, 234, 0.2), transparent),
    radial-gradient(ellipse at center, rgba(199, 151, 83, 0.26), transparent 68%);
  transform: rotate(-8deg);
}
.leg--experience .leg__body,
.leg--experience .leg__date,
.leg--special .leg__body,
.leg--special .leg__date {
  position: relative;
  z-index: 1;
}
.leg--experience .leg__tag,
.leg--experience .leg__stats .u,
.leg--experience .leg__route,
.leg--experience .leg__plan li,
.leg--special .leg__tag,
.leg--special .leg__stats .u,
.leg--special .leg__route,
.leg--special .leg__plan li {
  color: rgba(247, 243, 234, 0.78);
}
.leg--experience .leg__title,
.leg--experience .leg__stats .n,
.leg--experience .leg__plan li em,
.leg--special .leg__title,
.leg--special .leg__stats .n,
.leg--special .leg__plan li em {
  color: var(--cream);
}
.leg--experience .leg__day,
.leg--experience .leg__plan li > span:first-child,
.leg--special .leg__day,
.leg--special .leg__plan li > span:first-child {
  color: var(--gold);
}
.leg--experience .leg__date,
.leg--special .leg__date {
  border-color: rgba(247, 243, 234, 0.16);
}
.leg--experience .leg__date::after,
.leg--experience .leg__stats div,
.leg--experience .leg__plan li,
.leg--special .leg__date::after,
.leg--special .leg__stats div,
.leg--special .leg__plan li {
  border-color: rgba(247, 243, 234, 0.16);
}

.legs--roadbook {
  gap: 22px;
}
.legs--roadbook .leg {
  background: var(--leg-bg, rgba(247, 243, 234, 0.92));
  box-shadow: inset 4px 0 0 var(--leg-accent);
}
.legs--roadbook .leg--experience,
.legs--roadbook .leg--special {
  background:
    linear-gradient(135deg, rgba(31, 31, 31, 0.94), rgba(99, 62, 31, 0.9)),
    radial-gradient(circle at 78% 14%, rgba(199, 151, 83, 0.28), transparent 34%);
  box-shadow: inset 4px 0 0 var(--red), 0 26px 70px -42px rgba(31, 31, 31, 0.62);
}
.legs--roadbook .leg__tag {
  max-width: 100%;
}

/* ============ IMPACT & SDGS ============ */
.impact {
  background:
    linear-gradient(180deg, var(--cream), rgba(231, 217, 191, 0.42)),
    radial-gradient(circle at 10% 15%, rgba(199,151,83,0.13), transparent 32%);
}
.impact__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 48px;
  align-items: stretch;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(247, 243, 234, 0.82);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.impact__copy {
  max-width: 820px;
}
.impact__copy .h2 {
  font-size: 48px;
}
.impact__copy p {
  margin: 20px 0 0;
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.52;
  color: var(--ink-soft);
}
.impact__accent {
  min-height: 220px;
  border-left: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.impact__accent::before,
.impact__accent span {
  content: "";
  position: absolute;
  inset: 18px 0 18px 36px;
  background:
    linear-gradient(150deg, transparent 0 30%, rgba(199, 151, 83, 0.42) 31% 32%, transparent 34% 100%),
    linear-gradient(25deg, transparent 0 46%, rgba(1, 94, 52, 0.18) 47% 48%, transparent 50% 100%);
  opacity: 0.8;
}
.impact__accent span {
  inset: auto 0 28px 44px;
  height: 68px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(90deg, rgba(199,151,83,0.14), rgba(190,8,18,0.16));
}
.sdg {
  margin-top: 34px;
}
.sdg__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 22px;
}
.sdg__head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
}
.sdg__head p {
  max-width: 430px;
  margin: 0;
  color: var(--ink-soft);
}
.sdg__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sdg-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 16px;
  min-height: 286px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(247, 243, 234, 0.9);
  box-shadow: var(--shadow-card);
}
.sdg-card__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
}
.sdg-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sdg-card__fallback {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--red);
}
.sdg-card--missing .sdg-card__fallback { display: grid; }
.sdg-card h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 600;
}
.sdg-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.58;
}

/* ============ PARTNERS & SPONSORS ============ */
.partners {
  background: var(--cream);
}

.partners__sponsors-heading {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 24px;
}

.sponsors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sponsor {
  background: var(--cream);
  padding: 56px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-transform: uppercase;
  text-align: center;
  transition: all 0.4s var(--ease);
  min-height: 160px;
}
.sponsor--placeholder {
  border: 2px dashed var(--line-strong);
  background: rgba(247,243,234,0.6);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  text-decoration: none;
  cursor: pointer;
  position: relative;
}
.sponsor--placeholder::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.sponsor--placeholder:hover {
  border-color: var(--gold);
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.1);
}
.sponsor--placeholder:hover::after {
  opacity: 1;
  transform: rotate(90deg);
}
.sponsor--placeholder:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.08);
}
.sponsor--logo {
  min-height: 190px;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 243, 234, 0.92)),
    var(--cream);
  color: var(--ink);
}
.sponsor--logo img {
  width: min(150px, 52%);
  height: 96px;
  object-fit: contain;
  filter: saturate(0.98) contrast(1.02);
}
.sponsor--logo span {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.22em;
}
.sponsor--logo:hover {
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(199, 151, 83, 0.42);
}

.sponsors__cta {
  margin-top: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 48px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.sponsors__cta p {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
  flex: 1;
  min-width: 260px;
}
.press-block {
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(247, 243, 234, 0.72);
  box-shadow: var(--shadow-card);
}
.press-block h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
}
.press-block p {
  max-width: 840px;
  margin: 0;
  color: var(--ink-soft);
}
.press-block .text-link {
  display: inline-block;
  margin: 16px 20px 0 0;
}

/* ============ FAQ ============ */
.faq {
  background:
    linear-gradient(180deg, rgba(199, 151, 83, 0.08), transparent 42%),
    var(--cream);
}
.faq--page {
  background:
    radial-gradient(circle at 12% 6%, rgba(199, 151, 83, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(231, 217, 191, 0.42), transparent 45%),
    var(--cream);
}
.faq__list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}
.faq__item {
  background: rgba(247, 243, 234, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.faq__item:hover,
.faq__item.is-open {
  border-color: rgba(199, 151, 83, 0.72);
  box-shadow: 0 24px 58px -34px rgba(31, 31, 31, 0.42);
}
.faq__question { margin: 0; }
.faq__button {
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}
.faq__icon {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--red);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.3s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(180deg);
}
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after {
  background: var(--cream);
}
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.42s var(--ease), opacity 0.32s ease;
}
.js .faq__item:not(.is-open) .faq__panel {
  grid-template-rows: 0fr;
  opacity: 0;
}
.faq__answer {
  min-height: 0;
  overflow: hidden;
}
.faq__answer p {
  margin: 0;
  padding: 0 26px 24px;
  max-width: 820px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

/* ============ CONTACT ============ */
.contact { background: var(--cream-warm); }
.contact__intro p {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 24px 0 32px;
  max-width: 460px;
}
.contact__list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  gap: 0;
}
.contact__list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__lbl {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.contact__list a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  transition: color 0.3s ease;
}
.contact__list a:hover { color: var(--red); }
.contact__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact__card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.register-section {
  background:
    linear-gradient(180deg, rgba(199, 151, 83, 0.08), transparent 44%),
    var(--cream);
}
.fees-section {
  padding: 88px 0 62px;
  background:
    radial-gradient(circle at 10% 16%, rgba(199, 151, 83, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(247, 243, 234, 0.92), rgba(231, 217, 191, 0.22)),
    var(--cream);
}
.fees-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 48px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(199, 151, 83, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(247, 243, 234, 0.92), rgba(247, 243, 234, 0.72)),
    var(--cream);
  box-shadow: var(--shadow-card);
}
.fees-copy {
  max-width: 760px;
}
.fees-copy .h2 {
  margin-top: 12px;
}
.fees-copy .section__lede {
  max-width: 640px;
  margin-top: 18px;
}
.fees-copy .seo-note {
  max-width: 720px;
  margin-top: 28px;
}
.price-card {
  position: relative;
  top: auto;
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 38px 36px;
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 12%, rgba(199, 151, 83, 0.28), transparent 32%),
    linear-gradient(145deg, rgba(31, 31, 31, 0.96), rgba(63, 42, 25, 0.95)),
    var(--ink);
  border: 1px solid rgba(199, 151, 83, 0.38);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(247, 243, 234, 0.12);
  border-radius: 3px;
  pointer-events: none;
}
.price-card__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
}
.price-card strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-display);
  font-size: clamp(64px, 6.6vw, 82px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.price-card em {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 28px;
  font-style: italic;
  color: var(--gold);
}
.price-card p,
.price-card small {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(247, 243, 234, 0.76);
}
.price-card p {
  padding-top: 18px;
  border-top: 1px solid rgba(247, 243, 234, 0.16);
  font-weight: 600;
}
.price-card small {
  font-size: 14px;
  line-height: 1.6;
}
.price-card .btn {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}
.included-section {
  padding: 74px 0 96px;
  background: var(--cream-warm);
}
.included-section .section__head {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.included-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  min-height: 198px;
  padding: 26px 24px 24px 78px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(247, 243, 234, 0.86);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s var(--ease);
}
.included-card:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 151, 83, 0.58);
  box-shadow: 0 24px 58px -36px rgba(31, 31, 31, 0.38);
}
.included-card > span {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(199, 151, 83, 0.45);
  border-radius: 50%;
  background: rgba(199, 151, 83, 0.08);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.08em;
}
.included-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.16;
  color: var(--ink);
}
.included-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.62;
}
.fee-impact {
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.92), rgba(231, 217, 191, 0.44)),
    var(--cream);
}
.fee-impact__panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid rgba(199, 151, 83, 0.42);
  border-radius: var(--radius-lg);
  background: rgba(247, 243, 234, 0.82);
  box-shadow: var(--shadow-soft);
}
.fee-impact__panel p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-style: italic;
  line-height: 1.48;
  color: var(--ink-soft);
}
.fee-note {
  max-width: 860px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}
.register-panel {
  min-height: 420px;
  padding: 44px;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(31, 31, 31, 0.74), rgba(31, 31, 31, 0.84)),
    url('assets/mhamid-el-ghizlane-sahara-rally.jpg') center / cover no-repeat;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.register-panel h2 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.05;
}
.register-panel p {
  max-width: 520px;
  color: rgba(247, 243, 234, 0.78);
  font-size: 17px;
}
.register-details .h2 {
  margin-bottom: 30px;
}
.sponsors-showcase {
  background: var(--cream-warm);
}
.contact__card::before {
  content: "";
  position: absolute;
  top: 16px; left: 16px; right: 16px; bottom: 16px;
  border: 1px solid rgba(247,243,234,0.18);
  border-radius: 2px;
  pointer-events: none;
}
.contact__card-inner {
  position: relative;
  text-align: center;
}
.contact__seal {
  color: var(--gold);
  display: inline-block;
  margin-bottom: 16px;
}
.contact__seal-text {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin: 0 0 32px;
}
.contact__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 24px;
}
.contact__sign {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(247,243,234,0.6);
  margin: 0;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: 80px;
  position: relative;
  z-index: 1;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247,243,234,0.12);
}
.footer__brand img {
  height: 56px;
  filter: brightness(1.05);
  margin-bottom: 18px;
}
.footer__brand p {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(247,243,234,0.7);
  margin: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__cols h4 {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.3em;
  margin: 0 0 20px;
  color: var(--gold);
  text-transform: uppercase;
}
.footer__cols a, .footer__cols p {
  display: block;
  color: rgba(247,243,234,0.75);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 8px;
  transition: color 0.3s ease;
}
.footer__cols a:hover { color: var(--gold); }

/* Footer Social Icons */
.footer__social {
  border-top: 1px solid rgba(247,243,234,0.12);
  border-bottom: 1px solid rgba(247,243,234,0.12);
}
.footer__social-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px 0;
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid rgba(247,243,234,0.2);
  border-radius: 999px;
  color: rgba(247,243,234,0.7);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.footer__social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.footer__social-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(199, 151, 83, 0.16);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,243,234,0.5);
}
.footer__flag {
  display: inline-flex;
  gap: 4px;
}
.footer__flag i {
  display: inline-block;
  width: 24px; height: 4px;
  border-radius: 1px;
}
.flag-red { background: var(--red); }
.flag-green { background: var(--green); }
.flag-gold { background: var(--gold); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* ============ LEAFLET OVERRIDES ============ */
.leaflet-container {
  font-family: var(--font-body);
  background: var(--cream-warm);
}
.leaflet-popup-content-wrapper {
  border-radius: 4px;
  box-shadow: 0 8px 24px -8px rgba(31,31,31,0.2);
  font-family: var(--font-body);
}
.leaflet-popup-content {
  margin: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
}
.leaflet-popup-content strong {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.leaflet-popup-content em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 13px;
}
.leaflet-popup-tip {
  box-shadow: 0 8px 24px -8px rgba(31,31,31,0.2);
}

/* ============ HERO PHOTO BACKGROUND ============ */
.hero__bg-photo {
  position: absolute;
  inset: 0;
  background: url('assets/mhamid-el-ghizlane-sahara-rally.jpg') center 60% / cover no-repeat;
  z-index: 0;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}
.parallax-ready .hero__bg-photo {
  animation: none;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08);
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(199, 151, 83, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.68) 0%, rgba(10, 8, 6, 0.44) 42%, rgba(10, 8, 6, 0.8) 100%),
    linear-gradient(90deg, rgba(31, 31, 31, 0.48), transparent 34%, transparent 66%, rgba(31, 31, 31, 0.48));
  z-index: 1;
}
.hero__bg { z-index: -1; }
.hero__bg .hero__particles { z-index: 2; }

/* Override text colors when photo bg is present */
.hero__eyebrow {
  color: rgba(247, 243, 234, 0.85);
  border-color: rgba(247, 243, 234, 0.25);
  background: rgba(10, 8, 6, 0.35);
}
.hero__eyebrow .dot { background: var(--gold); }
.hero__title { color: #fff; }
.hero__subtitle { color: rgba(247, 243, 234, 0.8); }
.hero__subtitle em { color: var(--red); }
.hero__lede { color: rgba(247, 243, 234, 0.75); }
.hero__divider span { background: var(--gold); }
.hero__meta {
  border-color: rgba(247, 243, 234, 0.2);
  background: rgba(10, 8, 6, 0.35);
  backdrop-filter: blur(6px);
}
.hero__meta > div { border-color: rgba(247, 243, 234, 0.15); }
.hero__meta .num { color: var(--gold); }
.hero__meta .lbl { color: rgba(247, 243, 234, 0.65); }
.hero__scroll { color: rgba(247, 243, 234, 0.65); }
.hero .btn--ghost {
  color: var(--cream);
  border-color: rgba(247, 243, 234, 0.4);
}
.hero .btn--ghost:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(-0.6%, -0.4%, 0); }
  to { transform: scale(1.08) translate3d(0.8%, 0.6%, 0); }
}

/* ============ COUNTDOWN TIMER ============ */
.hero__countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 44px;
  animation: rise 1s var(--ease) 0.62s both;
}
.countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  background: rgba(10, 8, 6, 0.45);
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: 4px;
  padding: 14px 12px 10px;
  backdrop-filter: blur(8px);
}
.countdown__num {
  font-family: var(--font-display);
  font-size: 58px;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.04em;
}
.countdown__lbl {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.countdown__sep {
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.7;
}

/* ============ ABOUT PHOTO ============ */
.about__photo {
  margin-top: 40px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.about__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.about__photo:hover img { transform: scale(1.03); }

.about__exclusive {
  margin-top: 28px;
  padding: 20px 24px;
  background: rgba(190, 8, 18, 0.06);
  border-left: 3px solid var(--red);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  border-radius: 0 2px 2px 0;
}
.about__exclusive strong { color: var(--red); font-style: normal; }

/* ============ TEAM SECTION ============ */
.team {
  position: relative;
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.98), rgba(231, 217, 191, 0.45)),
    radial-gradient(circle at 8% 10%, rgba(199, 151, 83, 0.12), transparent 32%);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.team-card { grid-column: span 2; }
.team-card:nth-child(4) { grid-column: 2 / span 2; }
.team-card:nth-child(5) { grid-column: 4 / span 2; }
.team-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
  min-height: 100%;
  padding: 20px 18px 24px;
  overflow: hidden;
  background: rgba(247, 243, 234, 0.88);
  border: 1px solid rgba(31, 31, 31, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 54px -42px rgba(31, 31, 31, 0.4);
  transition: transform 0.38s var(--ease), border-color 0.38s ease, box-shadow 0.38s ease;
}
.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(190, 8, 18, 0.08), transparent 42%),
    radial-gradient(circle at 90% 8%, rgba(199, 151, 83, 0.2), transparent 26%);
  opacity: 0;
  transition: opacity 0.38s ease;
}
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(199, 151, 83, 0.62);
  box-shadow: var(--shadow-card);
}
.team-card:hover::before { opacity: 1; }
.team-card__portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(320px, 34vw, 460px);
  min-height: 0;
  border-radius: 3px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(31, 31, 31, 0.92), rgba(72, 55, 38, 0.86)),
    radial-gradient(circle at 72% 20%, rgba(199, 151, 83, 0.3), transparent 36%);
}
.team-card__portrait::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(247, 243, 234, 0.16);
  pointer-events: none;
}
.team-card__portrait::after {
  content: "";
  position: absolute;
  inset: auto -30% 18% -30%;
  z-index: 2;
  height: 42%;
  background:
    linear-gradient(105deg, transparent, rgba(199, 151, 83, 0.24), transparent),
    linear-gradient(180deg, rgba(31, 31, 31, 0.08), rgba(190, 8, 18, 0.1));
  mix-blend-mode: soft-light;
  transform: rotate(-8deg);
  pointer-events: none;
}
.team-card__portrait img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  color: transparent;
  font-size: 0;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  filter: sepia(0.16) saturate(0.82) contrast(1.08) brightness(0.95);
  transition: transform 0.5s var(--ease), filter 0.5s ease;
}
.team-card:hover .team-card__portrait img {
  transform: scale(1.045);
  filter: sepia(0.1) saturate(0.96) contrast(1.12) brightness(0.99);
}
.team-card__portrait--dounia img {
  object-position: 50% 42%;
  transform: scale(1.035);
}
.team-card__portrait--placeholder {
  background:
    linear-gradient(145deg, rgba(1, 94, 52, 0.94), rgba(31, 31, 31, 0.92)),
    radial-gradient(circle at 74% 22%, rgba(199, 151, 83, 0.38), transparent 34%);
}
.team-card__portrait span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 234, 0.92);
}
.team-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 12px;
}
.team-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.team-card__role {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 1.42;
  font-style: italic;
  color: var(--red);
}
.team-card p:not(.team-card__role) {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.64;
  color: var(--ink-soft);
}

/* ============ GALLERY STRIP ============ */
.gallery { position: relative; z-index: 1; }
.gallery__strip {
  display: flex;
  height: 320px;
  overflow: hidden;
}
.gallery__item {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery__item--ait { background-image: url('assets/ait-ben-haddou-rallye-sirocco.jpg'); }
.gallery__item--tichka { background-image: url('assets/tizi-n-tichka-rallye-morocco.jpg'); }
.gallery__item--mhamid { background-image: url('assets/mhamid-el-ghizlane-sahara-rally.jpg'); }
.gallery__item--bivouac { background-image: url('assets/mhamid-bivouac-desert-camp.jpg'); }
.gallery__item--chigaga { background-image: url('assets/erg-chigaga-rallye-sirocco.jpg'); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.7) 0%, rgba(10,8,6,0.1) 50%, transparent 100%);
  transition: opacity 0.5s ease;
}
.gallery__item:hover { flex: 3.5; }
.gallery__item:hover::after { opacity: 0.85; }
.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px 18px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.9);
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

/* ============ ORGANIZERS SECTION ============ */
.organizers { background: var(--cream-warm); }
.organizers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.organizer-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: all 0.4s var(--ease);
}
.organizer-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}
.organizer-card__logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.organizer-card__logo img {
  max-height: 80px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: grayscale(15%);
  transition: filter 0.4s ease;
}
.organizer-card__logo--acm {
  height: 96px;
}
.organizer-card__logo--acm img {
  max-height: 96px;
  max-width: 110px;
  aspect-ratio: auto;
  object-fit: contain;
}
.organizers__grid--compact .organizer-card {
  min-height: 190px;
  justify-content: center;
}
.organizer-card:hover .organizer-card__logo img { filter: grayscale(0%); }
.organizer-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.organizer-card__role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
  margin: -12px 0 0;
}
.organizer-card__full {
  min-height: 42px;
  margin: -10px 0 0;
  color: var(--gold-deep);
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.3;
}
.organizer-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.partner-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(31, 31, 31, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(247, 243, 234, 0.52);
  box-shadow: 0 18px 48px -38px rgba(31, 31, 31, 0.38);
}
.partner-row > span {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.partner-logo {
  display: inline-grid;
  place-items: center;
  width: 118px;
  height: 58px;
  padding: 8px 14px;
  border-left: 1px solid rgba(31, 31, 31, 0.1);
  text-decoration: none;
}
.partner-logo img {
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
  filter: saturate(0.96) contrast(1.02);
}

/* ============ FOOTER EXTRAS ============ */
.footer__hq {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.4);
}
.footer__register {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 20px;
  background: var(--red);
  color: var(--cream);
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}
.footer__register:hover { background: var(--red-deep); }
.footer__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.footer__cta-row .footer__register {
  margin-top: 0;
}
.footer__whatsapp {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  margin: 0 !important;
  padding: 10px 16px;
  background: rgba(1, 94, 52, 0.88);
  color: var(--cream) !important;
  border: 1px solid rgba(247, 243, 234, 0.18);
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: 12px !important;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}
.footer__whatsapp:hover {
  background: var(--green-deep);
  color: var(--cream) !important;
}
.footer__whatsapp .whatsapp-icon {
  width: 16px;
  height: 16px;
}

/* ============ MARRAKECH HIGHLIGHT ============ */
.marrakech { font-weight: 700; color: #BE0812; }
[data-page="home"] .hero .marrakech {
  text-shadow: 0 0 8px rgba(190, 8, 18, 0.35), 0 0 20px rgba(190, 8, 18, 0.15);
  position: relative;
  display: inline;
  background: linear-gradient(120deg, #BE0812 0%, #d4232e 50%, #BE0812 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: marrakechShimmer 4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(190, 8, 18, 0.3));
}
@keyframes marrakechShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}


/* ============ FOOTER SOCIAL ICONS ============ */
.footer__social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.footer__cols .connect-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__cols .connect-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
  opacity: 0.7;
}
.footer__cols .connect-link .whatsapp-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.footer__cols .connect-link:hover svg {
  opacity: 1;
}

/* ============ GENERAL POLISH ============ */
img { max-width: 100%; height: auto; }
.sponsor--logo img { height: 96px; width: min(150px, 52%); }

/* Touch-friendly tap targets */
@media (pointer: coarse) {
  .footer__cols a,
  .contact__list a,
  .nav__links a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Smooth page transitions */
main { animation: fadeUp 0.5s var(--ease) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 961px) {
  .sponsors__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__social-inner { gap: 16px; }
  .contact__list li { display: grid; grid-template-columns: 120px 1fr; align-items: center; }
}
@media (min-width: 1200px) {
  .footer__cols { gap: 48px; }
  .page-hero__inner { max-width: 960px; }
  .grid-2 { gap: 96px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .section { padding: 90px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .h2 { font-size: 50px; }
  .page-hero { min-height: 52vh; padding: 142px 0 70px; }
  .page-hero h1 { font-size: 56px; }
  .page-hero p { font-size: 22px; }
  .conversion-strip__inner { align-items: flex-start; flex-direction: column; }
  .conversion-strip p { font-size: 26px; }
  .conversion-strip__actions { justify-content: flex-start; }
  .home-cards { grid-template-columns: 1fr; }
  .trust-strip__inner,
  .credibility-panel { grid-template-columns: 1fr; }
  .who-panel { grid-template-columns: 1fr; }
  .route-flow { grid-template-columns: repeat(2, 1fr); }
  .route-flow li:not(:last-child)::after { display: none; }
  .final-cta h2 { font-size: 44px; }

  .team__grid,
  .organizers__grid { grid-template-columns: repeat(2, 1fr); }
  .team-card {
    grid-column: auto;
    min-height: 360px;
  }

  .gallery__strip { height: 280px; }
  .gallery__caption { opacity: 1; transform: none; }

  .countdown__block { min-width: 64px; padding: 10px 8px 8px; }
  .countdown__num { font-size: 44px; }
  .countdown__sep { font-size: 36px; }

  .nav__inner {
    grid-template-columns: auto 1fr auto;
  }
  .nav__links {
    display: none;
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 8px;
    box-shadow: 0 24px 48px -16px rgba(31,31,31,.2);
    z-index: 100;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    color: var(--ink);
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a:hover,
  .nav__links a.is-active { color: var(--red); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links-cta {
    display: block;
    background: var(--red);
    color: var(--cream) !important;
    text-align: center;
    border-radius: 2px;
    padding: 14px 16px;
    margin-top: 4px;
  }
  .nav__links-cta::after { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }

  .legs::before { display: none; }
  .leg { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .leg__date { flex-direction: row; align-items: baseline; gap: 14px; padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--line); justify-content: flex-start; }
  .leg__date::after { display: none; }
  .leg__day { font-size: 56px; }
  .leg__plan li { grid-template-columns: 1fr; gap: 4px; }
  .impact__panel { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
  .impact__accent { min-height: 92px; border-left: 0; border-top: 1px solid var(--line); }
  .impact__copy .h2 { font-size: 42px; }
  .sdg__head { display: grid; gap: 10px; }
  .sdg__grid { grid-template-columns: repeat(2, 1fr); }
  .fees-layout { grid-template-columns: 1fr; gap: 34px; padding: 34px; }
  .price-card { position: relative; top: auto; }
  .included-grid { grid-template-columns: repeat(2, 1fr); }

  .sponsors__grid { grid-template-columns: repeat(2, 1fr); }
  .sponsors__cta { flex-direction: column; align-items: flex-start; padding: 32px; text-align: left; }
  .sponsors__cta p { font-size: 22px; }

  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: 16px; }

  .hero { padding: 120px 24px 60px; }
  .hero__title { font-size: clamp(68px, 14vw, 112px); }
  .hero__title-line.accent { font-size: 0.58em; }
  .hero__subtitle { font-size: 24px; }
  .hero__lede { font-size: 20px; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); max-width: 460px; }
  .hero__meta > div:nth-child(2n) { border-right: 0; }
  .hero__meta > div:nth-child(-n+2) { border-bottom: 1px solid rgba(247, 243, 234, 0.15); }

  .container { padding: 0 24px; }
  .contact__card { padding: 40px 28px; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }

  .route__leaflet { height: 360px; }
  .route__legend { gap: 24px; }
  .route__map::before { inset: 6px; }
  .register-panel { min-height: auto; }
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  body.menu-open {
    padding-bottom: 0;
  }
  body.menu-open .mobile-cta-bar {
    display: none;
  }
  .whatsapp-float {
    display: none;
  }
  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 58;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(31, 31, 31, 0.96);
    border-top: 1px solid rgba(247, 243, 234, 0.16);
    box-shadow: 0 -18px 38px -26px rgba(0, 0, 0, 0.78);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
  }
  .mobile-cta-bar__link {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 12px;
    border-radius: 3px;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.18em;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
  }
  .mobile-cta-bar__link--primary {
    background: var(--red);
    color: var(--cream);
  }
  .mobile-cta-bar__link--whatsapp {
    background: var(--green);
    color: var(--cream);
  }
  .mobile-cta-bar .whatsapp-icon {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 820px) {
  .team {
    overflow-x: hidden;
  }
  .team__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    max-width: 100%;
  }
  .team-card,
  .team-card:nth-child(4),
  .team-card:nth-child(5) {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-column: auto;
    min-width: 0;
    min-height: auto;
    gap: 8px 16px;
    align-items: start;
    padding: 16px 16px 20px;
  }
  .team-card__portrait {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 116px;
    height: 144px;
    min-height: 0;
  }
  .team-card__body {
    display: contents;
  }
  .team-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    min-width: 0;
    font-size: 21px;
    line-height: 1.02;
    letter-spacing: 0.06em;
    overflow-wrap: anywhere;
  }
  .team-card__role {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    font-size: 15px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .team-card p:not(.team-card__role) {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.56;
  }
  .team-card__portrait--dounia img {
    object-position: 50% 38%;
    transform: scale(1.04);
  }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 78px; }
  body { font-size: 15px; }
  .site-intro { padding: 24px; }
  .site-intro__canvas { opacity: 0.62; }
  .site-intro__sweep { filter: blur(9px); }
  .site-intro__sand i:nth-child(n+8) { display: none; }
  .site-intro__wind span:nth-child(n+5) { display: none; }
  .site-intro img {
    width: 138px;
    height: 138px;
  }
  .site-intro__line {
    width: min(320px, 74vw);
  }
  .site-intro p {
    max-width: 88vw;
    font-size: 17px;
    line-height: 1.32;
    letter-spacing: 0.18em;
  }
  .site-intro strong {
    max-width: 88vw;
    font-size: 19px;
    line-height: 1.32;
  }
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }
  .section__lede { font-size: 18px; line-height: 1.48; }
  .seo-note { font-size: 15px; line-height: 1.62; }
  .kicker { font-size: 12px; letter-spacing: 0.22em; margin-bottom: 12px; }
  .page-hero { min-height: auto; padding: 112px 0 50px; }
  .page-hero h1 { font-size: 38px; line-height: 1.08; }
  .page-hero p { font-size: 19px; }
  .route-flow { grid-template-columns: 1fr; }
  .route-flow li { min-height: 64px; }
  .conversion-strip { padding: 34px 0; }
  .conversion-strip p { font-size: 23px; }
  .conversion-strip__actions { display: grid; width: 100%; }
  .premium-card { min-height: auto; padding: 26px 22px; }
  .final-cta { padding: 68px 0; }
  .final-cta h2 { font-size: 36px; }
  .final-cta__actions { display: grid; width: 100%; }
  .register-panel { padding: 30px 24px; }
  .register-panel h2 { font-size: 36px; }
  .nav { padding: 10px 0; }
  .nav.is-scrolled,
  .nav.nav--solid { padding: 8px 0; }
  .nav__inner { padding: 0 16px; gap: 10px; }
  .nav__brand img { height: 44px; }
  .nav.is-scrolled .nav__brand img,
  .nav.nav--solid .nav__brand img { height: 38px; }
  .nav__actions { gap: 8px; }
  .lang-switch {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  .nav__burger { width: 40px; height: 40px; }
  .nav__links {
    top: 64px;
    left: 10px;
    right: 10px;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__links a {
    padding: 12px 14px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: 96px 16px 46px;
  }
  .hero__content { max-width: 100%; }
  .hero__title { font-size: clamp(46px, 15.5vw, 58px); line-height: 0.94; }
  .hero__title-line.accent { font-size: 0.54em; line-height: 1.08; }
  .hero__subtitle {
    max-width: min(100%, 360px);
    margin-top: 14px;
    font-size: clamp(16px, 4.8vw, 18px);
    line-height: 1.16;
    letter-spacing: 0.06em;
  }
  .hero__subtitle-route {
    gap: 0.12em 0.28em;
    line-height: 1.1;
  }
  .hero__lede { font-size: 17px; line-height: 1.45; margin-bottom: 18px; }
  .hero__eyebrow {
    max-width: 100%;
    gap: 10px;
    padding: 9px 14px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }
  .hero__badges { gap: 8px; margin-bottom: 24px; }
  .hero__badges > span {
    width: 100%;
    justify-content: center;
    min-height: 32px;
    padding: 7px 12px;
    letter-spacing: 0.15em;
  }
  .hero__cta { display: grid; gap: 10px; margin-bottom: 34px; }
  .hero__scarcity { margin-bottom: 24px; font-size: 11px; line-height: 1.5; }
  .btn { width: 100%; min-height: 52px; white-space: normal; }
  .btn--stack { min-height: 60px; }
  .cta-pair { display: grid; }
  .trust-strip { padding: 32px 0; }
  .trust-strip__copy p,
  .credibility-panel p { font-size: 20px; }
  .credibility-list li { padding-right: 14px; }
  .who-section::before { opacity: 0.22; }
  .who-profiles { grid-template-columns: 1fr; }
  .who-profile,
  .who-profile--wide {
    grid-column: auto;
    display: block;
    min-height: auto;
    padding: 22px;
  }
  .who-profile strong { margin-top: 16px; font-size: 23px; }
  .who-actions { display: grid; }
  .credibility-panel { padding: 28px 22px; }
  .process-list li { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .scarcity-note { font-size: 18px; }
  .h2 { font-size: 36px; line-height: 1.08; }
  .sponsors__grid { grid-template-columns: 1fr; gap: 0; }
  .sponsor { padding: 36px 20px; min-height: 120px; }
  .sponsor--placeholder::after { top: 10px; right: 12px; }
  .footer__cols { grid-template-columns: 1fr; gap: 32px; }
  .footer__inner { gap: 40px; padding-bottom: 40px; }
  .footer__bottom { padding: 20px 18px; font-size: 11px; text-align: center; }
  .leg__stats { gap: 20px; }
  .leg__stats > div { min-width: calc(50% - 12px); }
  .impact__panel { padding: 28px 22px; }
  .impact__copy .h2 { font-size: 36px; }
  .impact__copy p { font-size: 19px; }
  .sdg__grid { grid-template-columns: 1fr; }
  .sdg-card { min-height: auto; padding: 20px; }
  .included-grid { grid-template-columns: 1fr; }
  .included-card {
    min-height: auto;
    padding: 22px 20px 22px 72px;
  }
  .included-card > span {
    top: 22px;
    left: 20px;
  }
  .fees-layout {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .price-card { padding: 28px 22px; }
  .price-card strong { font-size: 58px; }
  .price-card em { font-size: 23px; }
  .fee-impact__panel { padding: 28px 22px; }
  .fee-impact__panel p { font-size: 20px; }

  .route__leaflet { height: 300px; }
  .route__legend { flex-direction: column; align-items: flex-start; gap: 16px; }

  .team__grid,
  .organizers__grid { grid-template-columns: 1fr; }
  .team__grid { gap: 18px; }
  .team-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 6px 14px;
    padding: 14px 14px 18px;
  }
  .team-card__portrait {
    width: 104px;
    height: 128px;
  }
  .team-card h3 {
    font-size: 19px;
    line-height: 1.02;
    letter-spacing: 0.06em;
  }
  .team-card__role {
    font-size: 15px;
    line-height: 1.28;
  }
  .team-card p:not(.team-card__role) {
    font-size: 14px;
    line-height: 1.55;
  }
  .team-card__portrait--dounia img {
    object-position: 50% 38%;
    transform: scale(1.04);
  }

  .gallery__strip { height: 240px; flex-direction: column; }
  .gallery__item { flex: none; height: 80px; }
  .gallery__item:hover { height: 200px; flex: none; }

  .hero__countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 360px;
    margin-bottom: 24px;
  }
  .countdown__sep { display: none; }
  .countdown__block { min-width: 0; padding: 8px 5px 6px; }
  .countdown__num { font-size: 32px; }
  .countdown__lbl { font-size: 8px; letter-spacing: 0.14em; }
  .hero__meta > div { padding: 16px 8px; }
  .hero__meta .num { font-size: 34px; }
  .hero__meta .lbl { letter-spacing: 0.16em; }
  .hero__scroll { display: none; }

  .faq__button {
    min-height: 62px;
    grid-template-columns: 1fr 28px;
    padding: 18px 18px;
    font-size: 20px;
  }
  .faq__answer p { padding: 0 18px 20px; }
  .contact__cta { display: grid; gap: 10px; }
  .contact__card { padding: 32px 22px; }
  .contact__list a,
  .footer__cols a,
  .footer__cols p { overflow-wrap: anywhere; }
  .contact__list li { min-height: 44px; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero { padding-right: 14px; padding-left: 14px; }
  .hero__title { font-size: clamp(42px, 15vw, 50px); }
  .whatsapp-float {
    right: 10px;
    bottom: 10px;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .page-hero h1,
  .h2 { font-size: 34px; }
  .team-card {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 12px 12px 16px;
  }
  .team-card__portrait {
    width: 88px;
    height: 112px;
  }
  .team-card h3 { font-size: 18px; }
  .team-card__role { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .site-intro { opacity: 0; visibility: hidden; }
  .hero__bg-photo { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; }
}
