/* Salon du Mariage
   Palette: cool ivory + green-black ink + one zellige-emerald accent (deep emerald band for closing cards only).
   Type: EB Garamond (display, ceremonial; Cormorant was dropped because its ê is broken), Outfit (body); Amiri + IBM Plex Sans Arabic for Arabic.
   Radius rule: interactive = pill, surfaces = 10px, feature photos = Moroccan arch (round top).
   Z-index scale: header 40, mobile nav 39, skip link 50. */
:root {
  --bg: #F3F5F1;
  --surface: #FFFFFF;
  --soft: #E8EEE9;
  --ink: #13201B;
  --muted: #4A5852;
  --line: #D3DCD5;
  --accent: #0E6B4F;
  --accent-hover: #0A5A42;
  --on-accent: #FFFFFF;
  --accent-text: #0C6449;
  --tint: #D6E9DF;
  --deep: #0D3528;
  --on-deep: #EEF4EF;
  --on-deep-muted: #B9CEC3;
  --shadow: 0 24px 60px -32px rgb(14 60 44 / .35);
  --field-line: #85968E;
  --gold: #C9A24D;
  --gold-soft: #E9D9AE;
  --grenat: #8E1430;
  --grenat-deep: #5E0B20;
  --danger: #B42318;
  --r: 10px;
  --font-display: "EB Garamond", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1210; --surface: #121C18; --soft: #0F1915; --ink: #E9F0EB; --muted: #A3B3AB; --line: #22322B;
    --accent: #3DBE8C; --accent-hover: #5ACE9F; --on-accent: #04130D; --accent-text: #62D3A6;
    --tint: #16342A; --deep: #0F3A2C; --field-line: #50645B; --danger: #FF8A80; --grenat: #7A1129; --grenat-deep: #4A0817; --shadow: 0 24px 60px -32px rgb(0 0 0 / .75); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1210; --surface: #121C18; --soft: #0F1915; --ink: #E9F0EB; --muted: #A3B3AB; --line: #22322B;
  --accent: #3DBE8C; --accent-hover: #5ACE9F; --on-accent: #04130D; --accent-text: #62D3A6;
  --tint: #16342A; --deep: #0F3A2C; --field-line: #50645B; --danger: #FF8A80; --grenat: #7A1129; --grenat-deep: #4A0817; --shadow: 0 24px 60px -32px rgb(0 0 0 / .75); color-scheme: dark;
}
html[lang="ar"] { --font-display: "Amiri", "Times New Roman", serif; --font-body: "IBM Plex Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 500; }
h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; font-size: 1.12rem; }
html[lang="ar"] h1, html[lang="ar"] h2 { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
html[lang="ar"] body { line-height: 1.85; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .ic-arrow { transform: scaleX(-1); }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 58ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--accent-text); margin-bottom: 18px; }
.sec-title { font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 20ch; }
section { padding-block: clamp(56px, 8vw, 104px); }
section.soft { background: var(--soft); }
.note { color: var(--muted); font-size: .95rem; margin-top: 28px; max-width: 72ch; }
.updated { color: var(--muted); font-size: .92rem; margin: -4px 0 0; }

/* Arch mark (logo) and arch frames */
.mark { display: inline-grid; place-items: end center; width: 26px; height: 32px; border: 2px solid var(--accent); border-radius: 999px 999px 3px 3px; flex: none; padding-bottom: 4px; }
.mark i { width: 10px; height: 14px; border-radius: 999px 999px 1px 1px; background: var(--accent); display: block; }
.arch { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--soft); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s; border: 1.5px solid transparent; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .ic-arrow { transition: transform .25s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .ic-arrow { transform: scaleX(-1) translateX(3px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 26px -16px rgb(14 107 79 / .9); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.more { margin-top: 32px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.scrolled .site-header { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-word { font: 500 1.36rem/1 "EB Garamond", serif; letter-spacing: -.005em; display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.logo-word em { font-style: italic; color: var(--accent-text); }
.logo-word small { font: 600 .6rem/1 "Outfit", sans-serif; letter-spacing: .2em; margin-inline-start: 4px; color: var(--muted); }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); white-space: nowrap; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--tint); }
.nav-extra { display: none; }
.bar-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--soft); }
.icon-btn .ic { width: 20px; height: 20px; }
.i-sun, .i-close, .menu-btn { display: none; }
:root[data-theme="dark"] .i-moon { display: none; } :root[data-theme="dark"] .i-sun { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-moon { display: none; } :root:not([data-theme="light"]) .i-sun { display: block; } }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .85rem; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--soft); }
.ic-caret { width: 12px; height: 12px; transition: transform .2s; }
.lang[open] .ic-caret { transform: rotate(180deg); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 160px; }
.lang a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.lang a:hover { background: var(--soft); }
.lang a[aria-current="true"] { color: var(--accent-text); font-weight: 700; }

@media (max-width: 1179px) {
  .menu-btn { display: inline-grid; }
  .nav { position: fixed; inset: 72px 0 auto 0; z-index: 39; flex-direction: column; gap: 4px; margin: 0; padding: 16px; background: var(--bg);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100dvh - 72px); overflow: auto;
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; color: var(--ink); }
  .nav-extra { display: block; }
  .nav-open .nav { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-open .i-open { display: none; } .nav-open .i-close { display: block; }
  .bar-tools { margin-inline-start: auto; }
}
@media (max-width: 560px) {
  .bar-cta { display: none; }
  .logo-word { font-size: 1.24rem; }
  .logo-word small { display: none; }
}

/* Home hero: one deliberate deep-emerald band, the rest of the page stays in the light/dark theme */
.hero { position: relative; overflow: hidden; padding: 0; background: var(--deep) url(../img/zellige-gold.svg) repeat; background-size: 72px; color: var(--on-deep); }
/* the zellige tile is drawn in gold; this veil keeps it a quiet texture behind the text */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(13 53 40 / .97) 0%, rgb(13 53 40 / .9) 45%, rgb(13 53 40 / .78) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  min-height: min(calc(100dvh - 72px - 58px), 780px); padding-block: clamp(40px, 6vw, 72px); }
.hero h1 { font-size: clamp(3rem, 6vw, 5.4rem); line-height: .98; margin-bottom: 22px; color: #F4F8F5; }
.h1-l2 { display: block; font-style: italic; font-weight: 500; font-size: .46em; line-height: 1.15; color: #A8E6CB; margin-top: 14px; padding-bottom: 4px; }
html[lang="ar"] .h1-l2 { font-style: normal; font-size: .5em; }
.hero .eyebrow { color: #8FE0BD; }
.hero .lead { color: var(--on-deep-muted); }
.hero .btn-primary { background: #EEF4EF; color: #0D3528; box-shadow: 0 14px 30px -16px rgb(0 0 0 / .6); }
.hero .btn-primary:hover { background: #fff; }
.hero .btn-ghost { border-color: rgb(238 244 239 / .55); color: var(--on-deep); }
.hero .btn-ghost:hover { background: var(--on-deep); color: #0D3528; border-color: var(--on-deep); }
.hero :focus-visible { outline-color: #8FE0BD; }
.hero-media { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.hero-media::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid rgb(238 244 239 / .3); border-radius: 999px 999px var(--r) var(--r); }
[dir="rtl"] .hero-media::before { inset: -16px -16px 16px 16px; }
.hero-media .arch { position: relative; aspect-ratio: 4 / 5; max-height: min(70dvh, 640px); width: 100%; background: #123f31; }
.hero-strip { position: relative; display: block; text-decoration: none; color: var(--on-deep); background: rgb(255 255 255 / .06);
  border-top: 1px solid rgb(238 244 239 / .14); transition: background-color .25s; }
.hero-strip:hover { background: rgb(255 255 255 / .11); }
.strip-in { display: flex; align-items: center; gap: 12px; min-height: 58px; font-weight: 500; }
.strip-in .ic-arrow { margin-inline-start: auto; transition: transform .25s var(--ease); }
.hero-strip:hover .ic-arrow { transform: translateX(4px); }
[dir="rtl"] .hero-strip:hover .ic-arrow { transform: scaleX(-1) translateX(4px); }
.strip-ic { width: 22px; height: 22px; color: #8FE0BD; }
[dir="rtl"] .strip-ic { transform: scaleX(-1); }
@media (max-width: 899px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { justify-self: center; max-width: 380px; margin-top: 8px; }
  .hero-media::before { display: none; }
  .hero-media .arch { max-height: 460px; }
}
/* Home header sits on the emerald band until the page scrolls */
@media (min-width: 1180px) {
  :root:not(.scrolled) .home .site-header { background: var(--deep); color: var(--on-deep); }
  :root:not(.scrolled) .home .site-header .nav a { color: var(--on-deep-muted); }
  :root:not(.scrolled) .home .site-header .nav a:hover { color: #fff; background: rgb(255 255 255 / .08); }
}
:root:not(.scrolled) .home .site-header { background: var(--deep); }
:root:not(.scrolled) .home .logo, :root:not(.scrolled) .home .lang summary, :root:not(.scrolled) .home .bar-tools .icon-btn { color: var(--on-deep); }
:root:not(.scrolled) .home .logo-word em, :root:not(.scrolled) .home .logo-word small { color: #A8E6CB; }
:root:not(.scrolled) .home .mark { border-color: #8FE0BD; } :root:not(.scrolled) .home .mark i { background: #8FE0BD; }
:root:not(.scrolled) .home .bar-tools .icon-btn:hover, :root:not(.scrolled) .home .lang summary:hover { background: rgb(255 255 255 / .1); }
:root:not(.scrolled) .home .bar-cta { background: #EEF4EF; color: #0D3528; box-shadow: none; }
.site-header { transition: border-color .3s, background-color .3s; }

/* Contest prizes */
.contest-home .lead { margin-bottom: 32px; }
.prizes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.prize { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 11; color: #fff; isolation: isolate; display: flex; align-items: flex-end; }
.prize-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.prize::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(6 22 16 / .85), rgb(6 22 16 / .05) 60%); }
.prize:hover .prize-img { transform: scale(1.04); }
.prize-body { padding: clamp(22px, 3vw, 34px); }
.prize-rank { display: inline-block; font-size: .85rem; font-weight: 600; background: #EEF4EF; color: #0D3528; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.prize h3 { font: 500 clamp(1.9rem, 3vw, 2.6rem)/1.05 var(--font-display); margin-bottom: 6px; }
.prize p { margin: 0; opacity: .92; max-width: 44ch; }
.contest-home .ctas { align-items: center; gap: 24px; }
@media (max-width: 799px) { .prizes { grid-template-columns: 1fr; } .prize { aspect-ratio: 4 / 3.4; } }

/* Bento of universes */
.sectors-home .lead { margin-bottom: 36px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); text-decoration: none; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.tall { grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tile.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(6 22 16 / .82), rgb(6 22 16 / .1) 62%); }
.tile:hover .tile-img { transform: scale(1.04); }
.tile-body { padding: 20px 22px; display: grid; gap: 4px; }
.tile-body b { font: 600 1.6rem/1.1 var(--font-display); }
.tile-body span { font-size: .95rem; opacity: .9; max-width: 40ch; }
.tile.tint { background: var(--tint); color: var(--ink); flex-direction: column; align-items: flex-start; justify-content: space-between; }
.tile.tint .tile-body span { color: var(--muted); opacity: 1; }
.tile-ic { width: 40px; height: 40px; margin: 22px 22px 0; color: var(--accent-text); }
@media (max-width: 899px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .tile.big { grid-column: span 2; }
  .tile.tall { grid-row: span 2; }
  .tile.wide { grid-column: span 2; }
}
@media (max-width: 559px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .tile.big, .tile.wide { grid-column: auto; }
  .tile.big, .tile.tall { grid-row: span 1; }
}

/* Audiences */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.aud { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; }
.aud h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
.aud > p { color: var(--muted); }
.aud .link { margin-top: auto; padding-top: 16px; }
.aud-pro { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.aud-pro > p, .aud-pro .checks { color: var(--on-deep-muted); }
.aud-pro .aud-ic, .aud-pro .checks .ic, .aud-pro .link { color: #7FDDB5; }
.aud-ic { width: 34px; height: 34px; color: var(--accent-text); margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--accent-text); margin-top: .25em; }
.checks-2 { grid-template-columns: 1fr 1fr; column-gap: 20px; }
@media (max-width: 799px) { .aud-grid { grid-template-columns: 1fr; } .checks-2 { grid-template-columns: 1fr; } }

/* Programme scroller */
.scroller-wrap { margin-top: 12px; }
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 16px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.fmt { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.fmt h3 { font: 600 1.45rem/1.15 var(--font-display); }
.fmt p { color: var(--muted); font-size: .98rem; margin: 0; }
.fmt-ic { width: 30px; height: 30px; color: var(--accent-text); margin-bottom: 18px; }

/* Traditions band and glossary */
.trad-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.trad-media .arch-sm { aspect-ratio: 3 / 4.2; max-width: 440px; }
.gloss { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; margin: 8px 0 0; }
.term { padding: 18px 0; border-top: 1px solid var(--line); }
.term dt { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font: 600 1.5rem/1.2 var(--font-display); margin-bottom: 6px; }
.term-alt { font: 400 1.15rem/1 "Amiri", serif; color: var(--accent-text); }
.term-alt[lang="fr"] { font: italic 500 1.05rem/1 "EB Garamond", serif; }
.term dd { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 899px) { .trad-grid { grid-template-columns: 1fr; } .trad-media .arch-sm { max-width: 240px; } }

/* Targets */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 24px; }
.stat { padding: 8px 24px 8px 0; border-inline-end: 1px solid var(--line); display: grid; gap: 4px; }
.stat + .stat { padding-inline-start: 24px; }
.stat:last-child { border: 0; }
.stat b { font: 600 clamp(2.8rem, 5vw, 4.2rem)/1 var(--font-display); color: var(--accent-text); }
.stat span { color: var(--muted); }
@media (max-width: 799px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 28px; } .stat { border: 0; padding: 0 !important; } }

/* Plan teaser timeline */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 4px; }
.timeline::before { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 7px; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; gap: 2px; padding: 12px 0; padding-inline-start: 36px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 0; top: 18px; width: 16px; height: 16px; border-radius: 999px; background: var(--bg); border: 2px solid var(--accent); }
.when { font: 600 1.35rem/1.1 var(--font-display); color: var(--accent-text); }
@media (max-width: 799px) { .plan-grid { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq-list { display: grid; gap: 10px; margin-top: 12px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: 1.06rem; }
.qa-caret { width: 16px; height: 16px; color: var(--accent-text); transition: transform .25s var(--ease); }
.qa[open] .qa-caret { transform: rotate(180deg); }
.qa p { padding: 0 22px 20px; margin: 0; color: var(--muted); max-width: 72ch; }

/* Closing band */
.final { padding-top: 0; }
.final-card { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--deep); color: var(--on-deep); border-radius: var(--r); overflow: hidden; }
.final-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.final-body { padding: clamp(32px, 5vw, 64px); align-self: center; }
.final-body h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.final-body p { color: var(--on-deep-muted); max-width: 46ch; }
.final .btn-primary { background: #EEF4EF; color: #0D3528; box-shadow: none; }
.final .btn-primary:hover { background: #fff; }
@media (max-width: 799px) { .final-card { grid-template-columns: 1fr; } .final-media img { min-height: 220px; max-height: 300px; } }

/* Inner page hero */
.page-hero { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 6vw, 72px); }
.ph-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.has-media .ph-grid { grid-template-columns: 1.25fr .75fr; }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); max-width: 18ch; }
.ph-media { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 460px; width: 100%; max-width: 380px; justify-self: end; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .6; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
@media (max-width: 799px) { .has-media .ph-grid { grid-template-columns: 1fr; } .ph-media { justify-self: start; max-width: 300px; max-height: 340px; } }

/* Exhibit */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.why { padding: 24px 0; border-top: 1px solid var(--line); }
.why h3 { font: 600 1.6rem/1.15 var(--font-display); }
.why p { color: var(--muted); margin: 0; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 8px 0 0; }
.pills li { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .95rem; }
.rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.row-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px; }
.row-item p { color: var(--muted); margin: 0; }
.row-item.with-ic { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.row-item.with-ic .fmt-ic { margin: 2px 0 0; }
.row-item.with-ic h3 { font: 600 1.45rem/1.15 var(--font-display); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--accent);
  color: var(--accent-text); font: 600 1.3rem/1 var(--font-display); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }
.steps-v { grid-template-columns: 1fr; gap: 0; }
.steps-v li { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps-v li::before { grid-row: span 2; margin: 0; }
.steps-v h3 { font: 600 1.55rem/1.15 var(--font-display); margin-bottom: 6px; }
.callout { background: var(--tint); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); max-width: 860px; }
.callout p { color: var(--muted); max-width: 60ch; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 699px) { .why-grid, .rows, .steps { grid-template-columns: 1fr; } .steps-v li { grid-template-columns: 44px 1fr; } }

/* Visit */
.comfort-grid { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.comfort-grid h3 { margin-top: 14px; margin-bottom: 4px; }
.comfort-grid p { color: var(--muted); margin: 0; }
.c-ic { width: 30px; height: 30px; color: var(--accent-text); }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ticket { background: var(--surface); border: 1px dashed var(--accent); border-radius: var(--r); padding: clamp(28px, 4vw, 44px); }
.ticket h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.ticket p { color: var(--muted); }
.ticket-ic { width: 38px; height: 38px; color: var(--accent-text); margin-bottom: 16px; }
.tips { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 12px; }
.tips li::marker { color: var(--accent-text); font-weight: 700; }
.prac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prac { border-top: 2px solid var(--accent); padding-top: 18px; }
.prac .ic { width: 26px; height: 26px; color: var(--accent-text); }
.prac h3 { margin: 12px 0 4px; }
.prac p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 899px) { .comfort-grid { grid-template-columns: 1fr 1fr; } .prac-grid { grid-template-columns: 1fr 1fr; } .ticket-grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .comfort-grid, .prac-grid { grid-template-columns: 1fr; } }

/* Suppliers page */
.sc-grid { display: grid; gap: 20px; }
.sc { display: grid; grid-template-columns: 340px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sc-media { min-height: 240px; }
.sc-media img { width: 100%; height: 100%; object-fit: cover; }
.sc-media.tint { background: var(--tint); display: grid; place-items: center; }
.sc-ic { width: 64px; height: 64px; color: var(--accent-text); }
.sc-body { padding: clamp(24px, 3vw, 36px); }
.sc-body h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.sc-body > p { color: var(--muted); }
@media (max-width: 799px) { .sc { grid-template-columns: 1fr; } .sc-media { min-height: 200px; max-height: 240px; } }

/* Programme days */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.day { background: var(--surface); border-radius: var(--r); padding: 26px; border-top: 3px solid var(--accent); }
.day h3 { font: 600 1.6rem/1.1 var(--font-display); color: var(--accent-text); }
.day p { color: var(--muted); margin: 0; }
@media (max-width: 799px) { .days { grid-template-columns: 1fr; } }

/* Guides */
.g-summary { font-size: 1.12rem; background: var(--surface); border-inline-start: 3px solid var(--accent); padding: 22px 26px; border-radius: 0 var(--r) var(--r) 0; margin-bottom: 40px; }
[dir="rtl"] .g-summary { border-radius: var(--r) 0 0 var(--r); }
.phases { display: grid; gap: 16px; }
.phase { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 34px); }
.phase-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 8px; }
.phase-when { font-size: .9rem; font-weight: 600; color: var(--on-accent); background: var(--accent); padding: 4px 12px; border-radius: 999px; }
.phase h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin: 0; }
.budget { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.budget li { background: var(--surface); border-radius: var(--r); padding: 22px 24px; }
.budget h3 { margin-bottom: 4px; }
.budget p { color: var(--muted); margin: 0; font-size: .97rem; }
.regions { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 0; }
.regions li { padding: 16px 0; border-top: 1px solid var(--line); }
.regions h3 { font: 600 1.5rem/1.1 var(--font-display); color: var(--accent-text); margin-bottom: 4px; }
.regions p { margin: 0; color: var(--muted); }
@media (max-width: 899px) { .budget { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .budget { grid-template-columns: 1fr; } }

/* Contest form */
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 899px) { .steps-3 { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.rules-title { margin-top: 28px; }
.rules { font-size: .97rem; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-bottom: 20px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-weight: 500; font-size: .95rem; }
.opt { color: var(--muted); font-weight: 400; font-size: .88rem; }
.field input { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--field-line); border-radius: 8px; padding: 12px 14px; min-height: 48px; }
.field input:focus { outline: 2.5px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form-error { color: var(--danger); font-weight: 500; margin: 4px 0 14px; }
.cform .btn { border: 0; cursor: pointer; margin-top: 6px; }
.cform .btn[disabled] { opacity: .6; cursor: progress; }
.privacy { color: var(--muted); font-size: .85rem; margin: 18px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { text-align: center; padding: 24px 8px; }
.form-ok:focus { outline: none; }
.ok-ic { width: 48px; height: 48px; color: var(--accent-text); margin: 0 auto 12px; }
.form-ok h3 { font: 500 1.9rem/1.1 var(--font-display); }
.form-ok p { color: var(--muted); }
@media (max-width: 899px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .fgrid { grid-template-columns: 1fr; } }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.facts { padding-inline-start: 1.2em; display: grid; gap: 10px; color: var(--muted); }
.facts li::marker { color: var(--accent-text); }
.sister { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sister a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; }
.sister a:hover { border-color: var(--accent); color: var(--accent-text); }
.credits { padding-inline-start: 1.2em; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }

/* Contact */
.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; text-decoration: none;
  transition: border-color .25s, transform .25s var(--ease); }
.ccard:hover { border-color: var(--accent); transform: translateY(-2px); }
.ccard > .ic { width: 30px; height: 30px; color: var(--accent-text); }
.ccard h2 { font-size: 1.7rem; margin: 14px 0 6px; }
.ccard p { color: var(--muted); }
.ccard .link { margin-top: auto; }
.direct { margin-top: 48px; }
.direct h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.direct dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.direct dt { font-size: .9rem; color: var(--muted); }
.direct dd { margin: 4px 0 0; font-weight: 600; }
.direct a { text-decoration: none; } .direct a:hover { text-decoration: underline; }
@media (max-width: 899px) { .ccards { grid-template-columns: 1fr 1fr; } .direct dl { grid-template-columns: 1fr; } }
@media (max-width: 499px) { .ccards { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 56px; margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); max-width: 38ch; margin-top: 16px; }
.foot-org a { color: var(--accent-text); }
.foot-links { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.foot-links li { margin-bottom: 10px; break-inside: avoid; }
.foot-links a { text-decoration: none; color: var(--muted); } .foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-contact { display: grid; gap: 12px; align-content: start; }
.foot-contact a, .foot-contact p { display: inline-flex; align-items: center; gap: 10px; margin: 0; text-decoration: none; color: var(--muted); }
.foot-contact a:hover { color: var(--ink); }
.foot-contact .ic { color: var(--accent-text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 28px; margin-top: 40px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.foot-base p { margin: 0; }
@media (max-width: 899px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Language gate and 404 */
.gate-main { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 32px; text-align: center; padding-block: 40px; }
.gate .logo-word { font-size: 2rem; }
.lang-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 14px; }
.lang-tile { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; transition: border-color .25s; }
.lang-tile:hover { border-color: var(--accent); }
.lang-tile b { font: 600 1.6rem/1 var(--font-display); }
.lang-tile[lang="ar"] b { font-family: "Amiri", serif; }
.lang-tile span { color: var(--muted); font-size: .95rem; }
@media (max-width: 559px) { .lang-tiles { grid-template-columns: 1fr; width: 100%; } }

/* Reveal on scroll (only when JS runs and motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero-text > * { animation: rise .9s var(--ease) both; }
  .hero-text > *:nth-child(2) { animation-delay: .08s; } .hero-text > *:nth-child(3) { animation-delay: .16s; } .hero-text > *:nth-child(4) { animation-delay: .24s; }
  .hero-media .arch { animation: unveil 1.2s var(--ease) both .1s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round 999px 999px 10px 10px); } to { clip-path: inset(0 0 0 0 round 999px 999px 10px 10px); } }


/* ===== v3: festive Moroccan home ===== */
.hero h1 { color: #FBF6EA; }
.h1-l2 { color: var(--gold-soft); }
.hero .eyebrow, .strip-ic { color: var(--gold-soft); }
.hero .btn-primary { background: var(--gold); color: #1F1608; }
.hero .btn-primary:hover { background: #D8B562; }
.hero-strip { background: var(--grenat); border-top: 0; color: #fff; }
.hero-strip:hover { background: #A3183A; }
.hero-strip .strip-ic { color: var(--gold-soft); }

/* Arch collage: three Moroccan arches framed in gold */
.collage { position: relative; display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 14px; align-items: end; padding-block: 24px; }
.collage .arch { position: relative; overflow: visible; background: #123f31; border-radius: 999px 999px 8px 8px; }
.collage .arch img { border-radius: 999px 999px 8px 8px; }
.collage .arch::after { content: ""; position: absolute; inset: -7px; border: 1.5px solid var(--gold); border-radius: 999px 999px 12px 12px; pointer-events: none; }
.c-main { aspect-ratio: 3 / 4.6; }
.c-side { aspect-ratio: 3 / 4.4; margin-bottom: 28px; }
@media (max-width: 899px) { .collage { max-width: 460px; width: 100%; margin: 0 auto; gap: 10px; } }

.countdown { display: flex; gap: 10px; margin: 6px 0 0; }
.countdown span { display: grid; place-items: center; min-width: 74px; padding: 10px 8px; border: 1px solid rgb(233 217 174 / .45); border-radius: 10px; }
.countdown b { font: 500 2rem/1 var(--font-display); color: #FBF6EA; }
.countdown small { font-size: .78rem; color: var(--gold-soft); }

/* Info bar under the hero */
.infobar { background: var(--surface); border-bottom: 1px solid var(--line); }
.infobar ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.infobar li { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.infobar li + li { border-inline-start: 1px solid var(--line); }
.infobar .ic { width: 28px; height: 28px; color: var(--grenat); flex: none; }
.infobar small { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ar"] .infobar small { letter-spacing: 0; }
.infobar b { font-weight: 600; }
@media (max-width: 899px) { .infobar ul { grid-template-columns: 1fr 1fr; } .infobar li:nth-child(3) { border-inline-start: 0; } .infobar li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 479px) { .infobar li { padding: 16px 10px; gap: 10px; } .infobar .ic { width: 22px; height: 22px; } }

/* Section ornament: a short gold zellige rule above section titles */
.sec-title::before { content: ""; display: block; width: 120px; height: 24px; margin-bottom: 16px; background: url(../img/ornament.svg) no-repeat; }
[dir="rtl"] .sec-title::before { margin-inline-start: 0; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.ph-text h1::before, .partners .sec-title::before { display: none; }

/* Highlights bento */
.hls { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 250px); gap: 14px; margin-top: 8px; }
.hl { position: relative; overflow: hidden; border-radius: var(--r); color: #fff; text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; }
.hl-1 { grid-column: span 2; grid-row: span 2; }
.hl-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.hl::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(20 8 10 / .85), rgb(20 8 10 / .05) 62%); }
.hl:hover .hl-img { transform: scale(1.05); }
.hl-body { display: grid; gap: 4px; padding: 20px 22px; }
.hl-body b { font: 500 1.55rem/1.1 var(--font-display); }
.hl-1 .hl-body b { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hl-body > span { font-size: .95rem; opacity: .9; }
@media (max-width: 899px) { .hls { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; } .hl-1 { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 559px) { .hls { grid-template-columns: 1fr; } .hl-1 { grid-column: auto; } }

/* Key numbers on emerald */
.numbers { background: var(--deep) url(../img/zellige-gold.svg) repeat; background-size: 72px; color: var(--on-deep); position: relative; isolation: isolate; }
.numbers::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(13 53 40 / .92); }
.numbers .eyebrow { color: var(--gold-soft); }
.numbers .stat { border-color: rgb(233 217 174 / .25); }
.numbers .stat b { color: var(--gold-soft); }
.numbers .stat span, .numbers .note { color: var(--on-deep-muted); }

/* Contest band in grenat */
.contest-band { background: var(--grenat) url(../img/zellige-light.svg) repeat; background-size: 72px; color: #fff; position: relative; isolation: isolate; }
.contest-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(94 11 32 / .96), rgb(142 20 48 / .9)); }
.cb-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.cb-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); font-weight: 600; margin-bottom: 14px; }
.cb-text h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.cb-text > p { color: rgb(255 255 255 / .85); max-width: 46ch; }
.contest-band .btn-primary { background: var(--gold); color: #1F1608; box-shadow: none; }
.contest-band .btn-primary:hover { background: #D8B562; }
.contest-band .link { color: var(--gold-soft); }
.contest-band .prize { aspect-ratio: 4 / 5; }
.contest-band .prize-rank { background: var(--gold); color: #1F1608; }
@media (max-width: 899px) { .cb-grid { grid-template-columns: 1fr; } .contest-band .prize { aspect-ratio: 4 / 3.6; } }

/* Programme schedule tabs */
.prog-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.sched-tabs { display: flex; gap: 6px; padding: 5px; background: var(--soft); border-radius: 999px; width: max-content; max-width: 100%; margin-bottom: 18px; }
.sched-tabs button { font: inherit; font-weight: 600; border: 0; background: transparent; color: var(--muted); padding: 9px 20px; border-radius: 999px; cursor: pointer; }
.sched-tabs button[aria-selected="true"] { background: var(--deep); color: #fff; }
.slots { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.slots li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 22px; align-items: baseline; }
.slots li + li { border-top: 1px solid var(--line); }
.slots time { font: 600 1.35rem/1 var(--font-display); color: var(--grenat); }
:root[data-theme="dark"] .slots time { color: var(--gold-soft); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .slots time { color: var(--gold-soft); } }
.sched .note { margin-top: 12px; font-size: .9rem; }
@media (max-width: 899px) { .prog-grid { grid-template-columns: 1fr; } }

/* Floor plan */
.plan-sec-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.plan { margin: 0; }
.plan svg { width: 100%; height: auto; display: block; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); padding: 10px; }
.plan .z rect { fill: var(--tint); stroke: var(--accent); stroke-width: 1; }
.plan .z-stage rect { fill: var(--deep); stroke: var(--gold); stroke-width: 2; }
.plan .z-lounge rect { fill: #F3E6CC; stroke: var(--gold); }
.plan .z-in rect { fill: var(--grenat); stroke: none; }
.plan foreignObject p { margin: 0; height: 100%; display: grid; place-items: center; text-align: center; padding: 8px; font: 600 15px/1.25 var(--font-body); color: var(--ink); }
.plan .z-stage p, .plan .z-in p { color: #fff; }
.plan .z-lounge p { color: #3A2A0A; }
.plan figcaption { color: var(--muted); font-size: .9rem; margin-top: 10px; }
@media (max-width: 899px) { .plan-sec-grid { grid-template-columns: 1fr; } .plan foreignObject p { font-size: 13px; padding: 4px; } }

/* Partners */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tiers li { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 30px 18px; border: 1.5px dashed var(--gold); border-radius: var(--r); background: var(--surface); }
.tiers .ic { width: 34px; height: 34px; color: var(--grenat); }
:root[data-theme="dark"] .tiers .ic { color: var(--gold-soft); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tiers .ic { color: var(--gold-soft); } }
@media (max-width: 799px) { .partners { grid-template-columns: 1fr; } }

/* Guide cards */
.guide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guide-card { display: grid; grid-template-columns: 200px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: border-color .25s; }
.guide-card:hover { border-color: var(--accent); }
.guide-card img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.guide-card > span { display: grid; gap: 8px; align-content: center; padding: 24px; }
.guide-card b { font: 500 1.6rem/1.15 var(--font-display); }
.guide-card > span > span:not(.link) { color: var(--muted); }
@media (max-width: 899px) { .guide-cards { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .guide-card { grid-template-columns: 1fr; } .guide-card img { min-height: 160px; max-height: 180px; } }

/* WhatsApp button (all pages) */
.wa { position: fixed; z-index: 45; inset-inline-end: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  background: #1F7A4D; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 600; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .45); transition: transform .25s var(--ease), background-color .25s; }
.wa:hover { background: #17663F; transform: translateY(-2px); }
.wa .ic { width: 24px; height: 24px; }
@media (max-width: 559px) { .wa span { display: none; } .wa { padding: 14px; } }
