/* =========================================================
   Agadir Holiday Tours — styles
   ========================================================= */
:root {
  --ink: #1f1a16;
  --ink-2: #4a4038;
  --muted: #7a6d62;
  --sand: #f6efe4;
  --sand-2: #efe4d3;
  --paper: #fffdf9;
  --line: #e6d9c6;
  --terra: #c4532d;
  --terra-d: #a6421f;
  --sun: #e7a33e;
  --sun-d: #d48d22;
  --sea: #0f4c5c;
  --sea-d: #0a3640;
  --wa: #25d366;
  --wa-d: #1ebe5a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(31, 26, 22, .06), 0 8px 24px -8px rgba(31, 26, 22, .18);
  --shadow-lg: 0 24px 60px -20px rgba(31, 26, 22, .35);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 em, h1 em { font-style: italic; color: var(--terra); }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.i { width: 18px; height: 18px; fill: currentColor; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.kicker { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: .9rem; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.kicker--light { color: var(--sun); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 0; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px -6px rgba(37, 211, 102, .7); }
.btn--wa:hover { background: var(--wa-d); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-d); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--terra); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .22); }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }

/* ---------- top bar & nav ---------- */
.topbar { background: var(--sea-d); color: #e8f1f2; font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar .i { width: 14px; height: 14px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 249, .92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-stuck { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(0, 0, 0, .3); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--sea); flex: none; }
.logo svg { width: 42px; height: 42px; }
.logo span { font-family: var(--serif); font-size: 1.22rem; color: var(--ink); line-height: 1.05; }
.logo b { font-weight: 600; color: var(--sea); }
.logo small { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo--light span, .logo--light b { color: #fff; }
.logo--light small { color: rgba(255, 255, 255, .6); }
.logo--light { color: var(--sea); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); transition: background .15s, color .15s; }
.nav__links a:hover { background: var(--sand); color: var(--ink); }
.lang { display: flex; background: var(--sand); border-radius: 999px; padding: 3px; flex: none; }
.lang button { border: 0; background: transparent; font-weight: 800; font-size: .78rem; letter-spacing: .06em; padding: 7px 11px; border-radius: 999px; cursor: pointer; color: var(--muted); transition: background .15s, color .15s; }
.lang button[aria-pressed="true"] { background: var(--sea); color: #fff; }
.lang button:hover:not([aria-pressed="true"]) { color: var(--ink); }
.chip b { font-weight: inherit; }
.rev-note { text-align: center; color: var(--muted); font-size: .82rem; margin: 18px 0 0; }
.rev-note:empty { display: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: var(--sand); border-radius: 12px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu { border-top: 1px solid var(--line); padding: 10px 20px 22px; display: grid; gap: 2px; background: var(--paper); }
.mobile-menu a:not(.btn) { padding: 13px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--sand-2); }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.08); }
.hero__slide.is-on { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__shade { background: linear-gradient(100deg, rgba(10, 30, 36, .88) 0%, rgba(10, 30, 36, .55) 45%, rgba(10, 30, 36, .1) 100%), linear-gradient(0deg, rgba(10, 30, 36, .55), transparent 40%); }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: end; padding: 72px 0 64px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .98; margin-bottom: 1.2rem; }
.hero h1 em { color: var(--sun); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; color: rgba(255, 255, 255, .88); margin-bottom: 2rem; }
.hero__note { font-size: .88rem; color: rgba(255, 255, 255, .8); margin: 14px 0 0 4px; }

.search { display: flex; align-items: stretch; background: #fff; color: var(--ink); border-radius: 20px; padding: 8px; gap: 4px; max-width: 760px; box-shadow: var(--shadow-lg); }
.search__f { flex: 1.4; display: flex; flex-direction: column; padding: 8px 16px; border-radius: 14px; min-width: 0; transition: background .15s; cursor: pointer; }
.search__f:hover { background: var(--sand); }
.search__f + .search__f { border-left: 1px solid var(--line); }
.search__f--sm { flex: .7; }
.search__f span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search select, .search input { border: 0; background: transparent; padding: 2px 0; font-weight: 600; font-size: .98rem; outline: none; width: 100%; cursor: pointer; }
.search__go { border-radius: 14px; padding-inline: 22px; }

.driss-card { background: rgba(255, 253, 249, .96); color: var(--ink); border-radius: var(--radius); padding: 14px; display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; box-shadow: var(--shadow-lg); animation: rise .8s .4s both; }
.driss-card img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; object-position: 50% 70%; border: 3px solid var(--sun); }
.driss-card b { font-size: 1rem; }
.driss-card p { font-size: .85rem; color: var(--ink-2); margin: 2px 0 6px; line-height: 1.4; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.stars { color: var(--sun); letter-spacing: 1px; font-size: .9rem; }
.stars span { color: var(--muted); font-size: .78rem; letter-spacing: 0; margin-left: 4px; font-weight: 600; }

/* ---------- trust ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust__in { display: flex; align-items: center; gap: 28px; padding: 18px 0; flex-wrap: wrap; }
.trust__rating { display: flex; align-items: center; gap: 10px; padding-right: 28px; border-right: 1px solid var(--line); }
.trust__logo { width: 34px; height: 34px; }
.trust__rating b { font-size: 1.35rem; font-weight: 800; }
.trust__rating small { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; margin-top: -3px; }
.trust__list { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; flex-wrap: wrap; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.trust__list span { margin-right: 4px; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--sea-d); color: #fff; }
.section--dark h2 em { color: var(--sun); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 44px; }
.head__side { max-width: 400px; color: var(--muted); margin: 0; }
.head--light .head__side { color: rgba(255, 255, 255, .7); }
.head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.head--center .kicker::after { content: ''; width: 26px; height: 2px; background: currentColor; }

/* ---------- themes ---------- */
.themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.theme { position: relative; aspect-ratio: 3/4.2; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; text-align: left; color: #fff; background: var(--sea); }
.theme img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.theme::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 30, 36, .85), transparent 60%); }
.theme span { position: absolute; left: 16px; right: 14px; bottom: 16px; z-index: 1; }
.theme b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.1; margin-bottom: 4px; }
.theme small { font-size: .8rem; opacity: .85; line-height: 1.35; display: block; }
.theme:hover img { transform: scale(1.07); }

/* ---------- filters ---------- */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: var(--paper); padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; cursor: pointer; transition: all .15s; }
.chip span { color: var(--muted); font-weight: 600; margin-left: 2px; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-on span { color: rgba(255, 255, 255, .6); }
.filters__right { display: flex; align-items: center; gap: 12px; }
.theme-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--terra); color: #fff; font-weight: 700; font-size: .85rem; padding: 7px 8px 7px 14px; border-radius: 999px; }
.theme-tag button { border: 0; background: rgba(255, 255, 255, .25); color: #fff; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; line-height: 1; }
.sort { font-size: .88rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sort select { border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px; padding: 8px 10px; font-weight: 700; color: var(--ink); cursor: pointer; }

/* ---------- tour cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; cursor: pointer; transition: transform .25s, box-shadow .25s; animation: fadeUp .45s both; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(31, 26, 22, .06), 0 22px 40px -16px rgba(31, 26, 22, .35); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sand-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge { position: absolute; top: 12px; left: 12px; background: var(--paper); color: var(--terra); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.card__cat { position: absolute; bottom: 12px; left: 12px; background: rgba(10, 30, 36, .75); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; gap: 12px; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; flex-wrap: wrap; }
.card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.card h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.card__sub { font-size: .88rem; color: var(--muted); margin-bottom: 14px; line-height: 1.45; }
.card__foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.price { font-weight: 800; font-size: 1.4rem; color: var(--ink); line-height: 1; }
.price small { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.price i { font-style: normal; font-size: .8rem; color: var(--muted); font-weight: 600; }
.card__go { font-weight: 700; font-size: .85rem; color: var(--terra); display: inline-flex; align-items: center; gap: 4px; }
.card__grp { display: block; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--sea); margin-top: 6px; letter-spacing: 0; }
.group-note { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1.5px solid var(--sun); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 24px; }
.group-note p { margin: 0; flex: 1; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.group-note p b { color: var(--ink); }
.group-note__icon { font-size: 1.6rem; flex: none; }
.group-note--pickup { border-color: var(--sea); margin-top: -12px; }
.book__fieldnote { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .8rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.book__hint { flex-basis: 100%; margin: 0; background: rgba(231, 163, 62, .18); border-radius: 10px; padding: 10px 12px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 640px) {
  .group-note { flex-wrap: wrap; padding: 14px; }
  .group-note .btn { width: 100%; }
}
.card:hover .card__go { text-decoration: underline; }

.custom { margin-top: 40px; background: var(--sea); color: #fff; border-radius: var(--radius); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background-image: radial-gradient(circle at 100% 0, rgba(231, 163, 62, .35), transparent 50%); }
.custom h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 6px; }
.custom p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 620px; }

/* ---------- reels ---------- */
.reels { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100% - 1240px) / 2));padding: 4px max(20px, calc((100% - 1240px) / 2)) 10px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.reel { position: relative; flex: 0 0 auto; width: clamp(200px, 22vw, 260px); aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: #000; cursor: pointer; border: 0; padding: 0; color: #fff; text-align: left; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 40%); pointer-events: none; }
.reel__label { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; font-weight: 700; }
.reel__label small { display: block; font-weight: 600; font-size: .78rem; color: var(--sun); }
.reel__live { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: .7rem; font-weight: 800; letter-spacing: .08em; background: rgba(0, 0, 0, .45); padding: 4px 9px; border-radius: 999px; display: flex; align-items: center; gap: 6px; }
.reel__live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #ff4d4d; }

/* ---------- driss ---------- */
.driss { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.driss__photos { position: relative; aspect-ratio: 1/1.02; }
.driss__photos img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 6px solid var(--paper); }
.p1 { width: 72%; height: 58%; top: 0; left: 0; }
.p2 { width: 52%; height: 50%; right: 0; top: 30%; }
.p3 { width: 44%; height: 40%; left: 8%; bottom: 0; object-position: 50% 30%; }
.driss__badge { position: absolute; left: 58%; bottom: 4%; background: var(--terra); color: #fff; border-radius: 50%; width: 120px; height: 120px; display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-lg); transform: rotate(-8deg); }
.driss__badge b { font-family: var(--serif); font-size: 2.3rem; line-height: 1; }
.driss__badge span { font-size: .72rem; font-weight: 700; line-height: 1.25; }
.driss__copy h2 { margin-bottom: 1.2rem; }
.driss__copy > p { color: var(--ink-2); font-size: 1.05rem; }
blockquote { margin: 0; }
.driss__copy blockquote { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.4; color: var(--sea); border-left: 3px solid var(--sun); padding: 4px 0 4px 20px; margin: 22px 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 600; color: var(--ink-2); }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(37, 211, 102, .15); color: #16a34a; font-size: .75rem; font-weight: 900; display: grid; place-items: center; }
.ticks--sm { gap: 7px; margin-bottom: 20px; }
.ticks--sm li { font-size: .92rem; font-weight: 500; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 12%; right: 12%; border-top: 2px dashed var(--line); }
.steps li { position: relative; text-align: center; padding: 0 10px; }
.steps__n { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 2px solid var(--terra); color: var(--terra); font-family: var(--serif); font-size: 1.5rem; display: grid; place-items: center; margin: 0 auto 16px; position: relative; }
.steps h3 { font-size: 1.08rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- transfers ---------- */
.transfers { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.tcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.tcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.tcard--big { grid-row: span 2; }
.tcard--big img { aspect-ratio: auto; flex: 1; min-height: 260px; object-position: 50% 60%; }
.tcard--wide { grid-column: span 2; flex-direction: row; }
.tcard--wide img { width: 46%; aspect-ratio: auto; object-position: 50% 40%; }
.tcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tcard h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tcard p { color: var(--muted); font-size: .92rem; }
.tcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.pill { align-self: flex-start; background: rgba(196, 83, 45, .12); color: var(--terra); font-weight: 800; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- gallery ---------- */
.masonry { columns: 4 230px; column-gap: 14px; }
.masonry button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--sand-2); }
.masonry:not(.is-all) button:nth-child(n+13) { display: none; }
.center { text-align: center; margin-top: 26px; }
.masonry img { width: 100%; transition: transform .5s, filter .3s; }
.masonry button:hover img { transform: scale(1.04); filter: saturate(1.15); }

/* ---------- reviews ---------- */
.scores { display: flex; justify-content: center; gap: 16px; margin: 30px 0 40px; flex-wrap: wrap; }
.score { background: var(--sand); border-radius: var(--radius); padding: 18px 30px; text-align: center; min-width: 190px; }
.score b { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1; }
.score small { display: block; color: var(--muted); font-weight: 600; margin-top: 4px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; position: relative; }
.review::before { content: '“'; position: absolute; right: 22px; top: 6px; font-family: var(--serif); font-size: 5rem; color: var(--sand-2); line-height: 1; }
.review blockquote { font-size: 1.02rem; color: var(--ink-2); margin: 12px 0 22px; flex: 1; }
.review figcaption { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; }
.avatar { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--sea); color: #fff; display: grid; place-items: center; font-weight: 800; }
.review figcaption small { color: var(--muted); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq h2 { margin-bottom: 1rem; }
.faq__list details { background: var(--paper); border-radius: var(--radius-sm); margin-bottom: 10px; border: 1px solid var(--line); }
.faq__list summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; list-style: none; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-size: 1.2rem; font-weight: 600; transition: transform .2s, background .2s; }
.faq__list details[open] summary::after { content: '–'; background: var(--sun); }
.faq__list details p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { position: relative; color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; z-index: -1; }
.cta__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 30, 36, .9), rgba(10, 30, 36, .65)); }
.cta__in { padding: clamp(80px, 12vw, 140px) 0; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1rem; }
.cta h2 em { color: var(--sun); }
.cta p { font-size: 1.15rem; color: rgba(255, 255, 255, .85); margin-bottom: 2rem; }
.cta__btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: #14110e; color: rgba(255, 255, 255, .72); font-size: .92rem; padding-top: 64px; }
.footer__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__in > div { display: flex; flex-direction: column; gap: 8px; }
.footer p { margin-top: 12px; max-width: 320px; }
.footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--sun); }
.footer__base { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding: 22px 0 30px; font-size: .82rem; color: rgba(255, 255, 255, .5); }

/* ---------- floating ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .7); transition: transform .2s; }
.fab svg { width: 32px; height: 32px; }
.fab:hover { transform: scale(1.07); }
.fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.fab__tip { position: absolute; right: 72px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; padding: 7px 12px; border-radius: 10px; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: all .2s; pointer-events: none; }
.fab:hover .fab__tip { opacity: 1; transform: none; }
.mbar { display: none; }

/* ---------- modal ---------- */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(14, 22, 24, .7); backdrop-filter: blur(4px); }
.modal { width: min(980px, 100% - 32px); max-height: calc(100vh - 40px); border-radius: 22px; background: var(--paper); color: var(--ink); overflow: hidden; display: none; grid-template-columns: 1fr 1.15fr; }
.modal[open] { display: grid; animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__media { background: var(--sand-2); min-height: 100%; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 30px 32px; overflow-y: auto; max-height: calc(100vh - 40px); }
.modal__body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; margin-bottom: 4px; }
.modal__sub { color: var(--terra); font-weight: 700; }
.modal__body > p:not(.kicker):not(.modal__sub) { color: var(--ink-2); }
.modal__body h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.modal__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.book { background: var(--sand); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; }
.book label { display: flex; flex-direction: column; gap: 4px; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.book input { border: 1.5px solid var(--line); background: var(--paper); border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); width: 100%; }
.book input:focus { outline: none; border-color: var(--sea); }
.book__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px; }
.book__total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; flex-wrap: wrap; }
.book__total b { display: block; font-size: 1.6rem; line-height: 1.1; }
.book__total small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; }

.lightbox { background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 88vh; border-radius: 14px; object-fit: contain; }
.lb__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 2rem; line-height: 1; cursor: pointer; }
.lb__prev { left: 18px; } .lb__next { right: 18px; }

/* ---------- hosting badge (see main.js) ---------- */
.has-host-badge .fab { bottom: calc(var(--badge-h) + 14px); }
@media (max-width: 640px) {
  .has-host-badge .mbar { bottom: var(--badge-h); border-bottom: 1px solid var(--line); }
  body.has-host-badge { padding-bottom: calc(72px + var(--badge-h)); }
}

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding: 56px 0 80px; }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.legal__date { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.legal h2 { font-family: var(--sans); font-size: 1.1rem; font-weight: 800; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; margin: 0 0 1rem; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--terra); }
.legal__contact { margin-bottom: 4px; }
.legal__back { margin-left: auto; }
.legal-page .footer { padding-top: 0; }
.legal-page .footer__base { margin-top: 0; }
.legal-page .footer a { color: rgba(255, 255, 255, .72); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: flex; }
  .lang { margin-left: auto; }
  .nav__cta + .burger { margin-left: 0; }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .theme { aspect-ratio: 4/3.4; }
  .transfers { grid-template-columns: 1fr 1fr; }
  .tcard--big { grid-row: auto; grid-column: span 2; }
  .tcard--big img { aspect-ratio: 16/8; flex: none; }
}
@media (max-width: 640px) {
  .tcard--wide { grid-column: auto; flex-direction: column; }
  .tcard--wide img { width: 100%; aspect-ratio: 16/10; }
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .driss-card { max-width: 380px; }
  .head { flex-direction: column; align-items: start; gap: 12px; }
  .driss, .faq { grid-template-columns: 1fr; }
  .driss__photos { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .steps::before { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .trust__rating { padding-right: 0; border: 0; }
  .trust__list { margin-left: 0; gap: 10px 20px; }
  .modal { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__media { height: 220px; min-height: 0; }
  .modal__body { max-height: none; overflow: visible; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hide-sm { display: none; }
  .topbar__in { justify-content: center; }
  .topbar__in > .topbar__item:last-child { display: none; }
  .nav__in { height: 64px; gap: 12px; }
  .logo svg { width: 36px; height: 36px; }
  .logo span { font-size: 1.08rem; }
  .nav__cta { display: none; }
  .hero { min-height: 0; }
  .hero__in { padding: 48px 0 36px; }
  .search { flex-direction: column; padding: 10px; border-radius: 18px; }
  .search__f + .search__f { border-left: 0; border-top: 1px solid var(--line); }
  .search__f { padding: 10px 10px; border-radius: 0; }
  .search__go { padding: 15px; margin-top: 4px; }
  .driss-card { display: none; }
  .themes { grid-template-columns: 1fr 1fr; gap: 10px; }
  .theme b { font-size: 1.05rem; }
  .theme small { display: none; }
  .filters { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chip { flex: none; }
  .filters__right { justify-content: space-between; }
  .custom { flex-direction: column; align-items: start; padding: 24px; }
  .transfers { grid-template-columns: 1fr; }
  .tcard--big { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; }
  .steps__n { grid-row: span 2; margin: 0; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry button { margin-bottom: 10px; }
  .driss__badge { width: 92px; height: 92px; }
  .driss__badge b { font-size: 1.7rem; }
  .footer__in { grid-template-columns: 1fr; gap: 28px; }
  .fab { display: none; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .25); }
  .mbar small { display: block; font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .mbar b { font-size: 1.3rem; }
  .mbar .btn { flex: 1; max-width: 240px; }
  body { padding-bottom: 72px; }
  .book__row { grid-template-columns: 1fr 1fr; }
  .book__row label:first-child { grid-column: span 2; }
  .modal__body { padding: 22px 18px; }
  .modal__body h3 { font-size: 1.55rem; }
  .book__total .btn { width: 100%; }
}
@media (max-width: 430px) {
  .logo small { display: none; }
  .logo span { font-size: 1rem; max-width: 120px; }
  .lang button { padding: 6px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
