/* Adischo Morocco Travel – Stylesheet */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-italic-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #1c1a17;
  --ink-2: #57514a;
  --line: #e4ded5;
  --stone: #f3efe9;
  --white: #ffffff;
  --accent: #2340b8;
  --accent-hover: #1a3092;
  --accent-soft: #e6eafb;
  --ok: #1f6b3a;
  --error: #b3261e;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(3.5rem, 7vw, 6rem);
  --shadow: 0 1px 2px rgba(28, 26, 23, .06), 0 8px 24px -12px rgba(28, 26, 23, .18);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; scrollbar-color: #c9c1b5 var(--stone); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern";
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--accent-soft); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.section { padding-block: var(--space-5); }
.section--stone { background: var(--stone); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-4); }
.section-head h2 { margin: 0; }
.section-head p { margin: .5rem 0 0; color: var(--ink-2); max-width: 56ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); padding: .6rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.35rem;
  border: 2px solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: var(--white);
  font: 650 1rem/1.2 var(--font-text); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent-hover); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--stone); border-color: var(--stone); color: var(--ink); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .25s var(--ease); }

/* Header */
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: var(--white); }
.site-header--solid { position: sticky; top: 0; background: rgba(255, 255, 255, .96); color: var(--ink); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; gap: var(--space-3); min-height: 5rem; }
.brand { display: flex; flex-direction: column; line-height: 1; color: inherit; text-decoration: none; margin-right: auto; }
.brand:hover { color: inherit; text-decoration: none; }
.brand strong { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.55rem; letter-spacing: -.02em; }
.brand span { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-top: .3rem; opacity: .85; }
.nav { display: flex; align-items: center; gap: var(--space-3); }
.nav a { color: inherit; font-weight: 600; text-decoration: none; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: currentColor; }
.nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav .btn { color: var(--white); border-bottom: 2px solid var(--accent); padding-block: .7rem; }
.nav .btn:hover { color: var(--white); background: var(--accent-hover); border-color: var(--accent-hover); }
.site-header:not(.site-header--solid) .nav .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.site-header:not(.site-header--solid) .nav .btn:hover { background: var(--stone); border-color: var(--stone); }
.menu-toggle { display: none; background: none; border: 0; color: inherit; padding: .5rem; margin-right: -.5rem; cursor: pointer; }
.menu-toggle .icon { width: 1.8rem; height: 1.8rem; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0 0 auto; z-index: 30; flex-direction: column; align-items: stretch; gap: 0;
    padding: 5.5rem var(--gutter) var(--space-4); background: var(--white); color: var(--ink);
    box-shadow: var(--shadow); transform: translateY(-105%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s .35s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .nav a { font-size: 1.25rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
  .nav .btn, .site-header:not(.site-header--solid) .nav .btn { margin-top: var(--space-3); background: var(--accent); color: var(--white); border-color: var(--accent); }
  .menu-toggle[aria-expanded="true"] { position: relative; z-index: 40; color: var(--ink); }
}

/* Hero (Start) */
.hero { position: relative; min-height: min(74vh, 720px); display: flex; align-items: flex-end; color: var(--white); background: #3a2a1c; overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(20, 14, 8, .55) 0%, rgba(20, 14, 8, 0) 26%),
  linear-gradient(90deg, rgba(20, 14, 8, .62) 0%, rgba(20, 14, 8, .25) 48%, rgba(20, 14, 8, 0) 70%),
  linear-gradient(0deg, rgba(20, 14, 8, .45) 0%, rgba(20, 14, 8, 0) 40%); }
.hero__content { padding-block: 9rem clamp(3rem, 7vw, 5rem); }
.hero h1 { max-width: 13ch; margin-bottom: .35em; text-shadow: 0 1px 24px rgba(0, 0, 0, .25); }
.hero .lead { color: rgba(255, 255, 255, .92); max-width: 46ch; margin-bottom: var(--space-4); }

.finder {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: .75rem; align-items: end;
  max-width: 760px; padding: 1rem; background: var(--white); color: var(--ink);
  border-radius: calc(var(--radius) + 4px); box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .5);
}
.finder label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); margin: 0 0 .3rem .1rem; }
.finder select { width: 100%; }
@media (max-width: 680px) { .finder { grid-template-columns: 1fr; } }

/* Forms */
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #cfc7bb; border-radius: var(--radius);
  padding: .7rem .85rem; min-height: 3rem; width: 100%; caret-color: var(--accent);
  transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1a17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.1rem; }
textarea { min-height: 8rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #a99f91; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: #7a7268; }
input[type="checkbox"] { width: 1.2rem; height: 1.2rem; min-height: 0; accent-color: var(--accent); margin: .2rem 0 0; flex: none; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field > label, .field > legend { font-weight: 650; font-size: .95rem; }
.field .hint { font-size: .88rem; color: var(--ink-2); }
.field[data-invalid] input, .field[data-invalid] textarea, .field[data-invalid] select { border-color: var(--error); }
.field .error { display: none; font-size: .88rem; color: var(--error); font-weight: 600; }
.field[data-invalid] .error { display: block; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-3); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; }
.form-status[data-state] { display: block; }
.form-status[data-state="error"] { background: #fbeceb; color: var(--error); }
.form-status[data-state="sending"] { background: var(--stone); color: var(--ink-2); }
.form-success { padding: var(--space-4); background: var(--white); border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line); }
.form-success :is(h2, h3) { font-size: 1.6rem; }
.form-success .icon { width: 2.4rem; height: 2.4rem; color: var(--ok); margin-bottom: .75rem; }

/* Tour cards */
.tour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4) var(--space-3); }
@media (max-width: 1000px) { .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tour-grid { grid-template-columns: 1fr; } }
.tour-card { position: relative; display: flex; flex-direction: column; }
.tour-card__img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; background: var(--stone); margin-bottom: 1rem; }
.tour-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tour-card:hover .tour-card__img img { transform: scale(1.04); }
.tour-card__days { position: absolute; top: .75rem; left: .75rem; background: var(--white); color: var(--ink); font-weight: 700; font-size: .9rem; padding: .3rem .65rem; border-radius: 4px; font-variant-numeric: tabular-nums; }
.tour-card__types { font-size: .85rem; font-weight: 650; color: var(--ink-2); margin-bottom: .35rem; }
.tour-card :is(h2, h3) { font-size: 1.3rem; line-height: 1.2; margin-bottom: .45rem; }
.tour-card :is(h2, h3) a { color: var(--ink); text-decoration: none; }
.tour-card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }
.tour-card:hover :is(h2, h3) a { color: var(--accent); }
.tour-card p { color: var(--ink-2); font-size: 1rem; margin-bottom: .8rem; }
.tour-card__meta { margin-top: auto; display: flex; gap: 1rem; flex-wrap: wrap; font-size: .92rem; color: var(--ink-2); }
.tour-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: var(--space-4); }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 2.6rem; padding: .45rem 1rem;
  border: 1.5px solid #cfc7bb; border-radius: 999px; background: var(--white); color: var(--ink);
  font: 600 .95rem/1 var(--font-text); cursor: pointer; text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filters__count { margin-left: auto; color: var(--ink-2); font-size: .95rem; }
.filters select { width: auto; min-height: 2.6rem; padding-block: .4rem; border-radius: 999px; }
.empty { padding: var(--space-4); text-align: center; background: var(--stone); border-radius: var(--radius); }

/* Split section */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--flip > :first-child { order: 2; }
.split__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } .split__img { aspect-ratio: 4 / 3; } }
.reasons { list-style: none; padding: 0; margin: var(--space-3) 0 var(--space-4); display: grid; gap: var(--space-3); }
.reasons li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; }
.reasons .icon { width: 1.6rem; height: 1.6rem; color: var(--accent); margin-top: .1rem; }
.reasons strong { display: block; font-size: 1.1rem; margin-bottom: .15rem; }
.reasons p { margin: 0; color: var(--ink-2); }
.licence { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: .92rem; color: var(--ink-2); padding-top: var(--space-3); border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: var(--space-3); }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: .8rem; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: var(--space-3); } }

/* Legend band */
.legend-band { position: relative; color: var(--white); background: #241a12; isolation: isolate; overflow: hidden; }
.legend-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.legend-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25, 16, 10, .82) 0%, rgba(25, 16, 10, .55) 55%, rgba(25, 16, 10, .2) 100%); }
.legend-band .wrap { padding-block: clamp(5rem, 10vw, 8rem); }
.legend-band blockquote { margin: 0 0 var(--space-3); max-width: 20ch; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em; }
.legend-band p { max-width: 52ch; color: rgba(255, 255, 255, .88); }
.legend-band a:not(.btn) { color: var(--white); }
.photo-band { height: clamp(220px, 32vw, 420px); overflow: hidden; background: #3a2a1c; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

/* Type tiles */
.type-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
.type-tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; }
.type-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.type-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 14, 8, .72) 0%, rgba(20, 14, 8, 0) 55%); }
.type-tile span { padding: 1rem 1.1rem; font-family: var(--font-display); font-stretch: 110%; font-weight: 750; font-size: 1.2rem; line-height: 1.15; }
.type-tile small { display: block; font-family: var(--font-text); font-weight: 500; font-size: .88rem; opacity: .9; margin-top: .2rem; }
.type-tile:hover { color: var(--white); text-decoration: none; }
.type-tile:hover img { transform: scale(1.05); }
@media (max-width: 1000px) { .type-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .type-tiles { grid-template-columns: repeat(2, 1fr); } .type-tile { aspect-ratio: 1; } }

/* CTA band */
.cta-band { background: var(--accent); color: var(--white); }
.cta-band .wrap { display: flex; gap: var(--space-4); align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: var(--space-5); }
.cta-band h2 { margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 50ch; }
.cta-band .actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-band .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(3rem, 6vw, 5rem) var(--space-4); }
.page-hero h1 { margin-bottom: .3em; }
.breadcrumb { font-size: .92rem; color: var(--ink-2); margin-bottom: var(--space-2); }
.breadcrumb a { color: var(--ink-2); }

/* Tour detail */
.tour-hero { position: relative; min-height: min(70vh, 640px); display: flex; align-items: flex-end; color: var(--white); background: #3a2a1c; isolation: isolate; overflow: hidden; }
.tour-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tour-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 14, 8, .78) 0%, rgba(20, 14, 8, .2) 50%, rgba(20, 14, 8, .45) 100%); }
.tour-hero .wrap { padding-block: 8rem var(--space-4); }
.tour-hero h1 { max-width: 20ch; }
.tour-hero .breadcrumb, .tour-hero .breadcrumb a { color: rgba(255, 255, 255, .85); }
.tour-hero .credit { position: absolute; right: .75rem; bottom: .5rem; font-size: .72rem; color: rgba(255, 255, 255, .75); max-width: 60ch; text-align: right; }
.facts-bar { border-bottom: 1px solid var(--line); background: var(--white); }
.facts-bar dl { display: grid; grid-template-columns: repeat(4, auto) 1fr; gap: var(--space-3) var(--space-4); align-items: center; margin: 0; padding-block: var(--space-3); }
.facts-bar dt { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.facts-bar dd { margin: .15rem 0 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.facts-bar .btn { justify-self: end; }
@media (max-width: 900px) { .facts-bar dl { grid-template-columns: repeat(2, 1fr); } .facts-bar .btn { justify-self: stretch; grid-column: 1 / -1; } }
@media (max-width: 1000px) { .facts-bar .btn { display: none; } }

.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 1000px) { .tour-layout { grid-template-columns: 1fr; } .tour-aside { display: none; } }
.tour-aside { position: sticky; top: 6.5rem; padding: var(--space-3); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--white); box-shadow: var(--shadow); }
.tour-aside h2 { font-size: 1.35rem; margin-bottom: .3rem; }
.tour-aside p { font-size: .95rem; color: var(--ink-2); }
.tour-aside .btn { width: 100%; }
.tour-aside ul { list-style: none; padding: 0; margin: var(--space-3) 0 0; font-size: .92rem; color: var(--ink-2); display: grid; gap: .5rem; }
.tour-aside li { display: flex; gap: .55rem; }
.tour-aside li .icon { color: var(--ok); margin-top: .15rem; }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; margin: var(--space-4) 0; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); grid-column: span 2; aspect-ratio: 4 / 3; position: relative; }
.gallery figure:first-child { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .35rem .5rem; font-size: .7rem; color: rgba(255, 255, 255, .85); background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent); }
.gallery[data-count="2"] figure, .gallery[data-count="3"] figure { grid-column: span 3; }
.gallery[data-count="3"] figure:first-child, .gallery[data-count="4"] figure:first-child { grid-column: span 6; grid-row: auto; aspect-ratio: 21 / 9; }
.gallery[data-count="5"] figure:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery[data-count] figure:nth-child(n) { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery[data-count] figure:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .gallery[data-count="4"] figure:last-child, .gallery[data-count="2"] figure:last-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}

.itinerary { list-style: none; padding: 0; margin: 0; }
.day { display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--space-3); padding-block: var(--space-3); border-top: 1px solid var(--line); }
.day:last-child { border-bottom: 1px solid var(--line); }
.day__num { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.day__num small { display: block; font-family: var(--font-text); font-size: .78rem; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; margin-bottom: .25rem; }
.day__num b { font-size: 2rem; font-weight: 800; }
.day h3 { margin-bottom: .4rem; }
.day p { margin: 0; color: #36322d; max-width: 70ch; }
.day__info { display: inline-flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: .7rem; font-size: .9rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.day__info span { display: inline-flex; align-items: center; gap: .35rem; }
@media (max-width: 560px) { .day { grid-template-columns: 3rem 1fr; gap: var(--space-2); } .day__num b { font-size: 1.6rem; } }
.meals-note { font-size: .9rem; color: var(--ink-2); margin-top: var(--space-2); }

.incl { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-4); }
.incl ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.incl li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; }
.incl .yes .icon { color: var(--ok); margin-top: .2rem; }
.incl .no .icon { color: var(--ink-2); margin-top: .2rem; }
@media (max-width: 700px) { .incl { grid-template-columns: 1fr; } }
.fact-list { display: grid; gap: var(--space-2); margin: var(--space-3) 0 0; }
.fact-list div { display: grid; grid-template-columns: 11rem 1fr; gap: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--line); }
.fact-list dt { font-weight: 700; }
.fact-list dd { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .fact-list div { grid-template-columns: 1fr; gap: .2rem; } }
.note-box { margin-top: var(--space-4); padding: var(--space-3); background: var(--stone); border-radius: var(--radius); }
.note-box p:last-child { margin: 0; }

.booking { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }
.booking__intro ol { padding-left: 1.2rem; margin: var(--space-3) 0; display: grid; gap: .6rem; }
.booking__intro ol li::marker { font-weight: 800; color: var(--accent); }
.booking form { background: var(--white); padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.booking .tour-pill { display: flex; gap: .9rem; align-items: center; padding: .75rem; margin-bottom: var(--space-3); background: var(--stone); border-radius: var(--radius); }
.booking .tour-pill img { width: 4.5rem; height: 3.2rem; object-fit: cover; border-radius: 4px; }
.booking .tour-pill strong { display: block; line-height: 1.25; }
.booking .tour-pill span { font-size: .9rem; color: var(--ink-2); }
.form-foot { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-3); }
.form-foot .btn { align-self: flex-start; }
.form-foot small { color: var(--ink-2); }

.mobile-book { display: none; }
@media (max-width: 1000px) {
  .mobile-book { display: flex; position: fixed; inset: auto 0 0; z-index: 15; gap: .75rem; align-items: center; justify-content: space-between; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0, 0, 0, .3); transition: transform .3s var(--ease); }
  .mobile-book.is-hidden { transform: translateY(110%); }
  .mobile-book span { font-size: .92rem; line-height: 1.3; }
  .mobile-book .btn { min-height: 2.75rem; padding-inline: 1.1rem; }
  .has-mobile-book .site-footer { padding-bottom: 5rem; }
}

/* Prose pages */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2rem; }
.legend-story { max-width: 68ch; }
.legend-story p:first-of-type::first-letter { font-family: var(--font-display); font-weight: 800; float: left; font-size: 3.6em; line-height: .85; margin: .08em .1em 0 0; color: var(--accent); }
.legend-story h3 { margin-top: 1.6em; }
.legend-story blockquote { margin: 1.5em 0; padding: 0; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.5rem; line-height: 1.25; color: var(--ink); }
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: var(--space-4) 0; }
.founders div { padding: var(--space-3); border-top: 2px solid var(--ink); }
.founders strong { font-family: var(--font-display); font-size: 1.3rem; font-stretch: 110%; }
@media (max-width: 560px) { .founders { grid-template-columns: 1fr; } }
.placeholder { padding: var(--space-3); border: 2px dashed #c9a227; background: #fdf8e6; border-radius: var(--radius); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: var(--space-3) 0; display: grid; gap: var(--space-3); }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; }
.contact-list .icon { width: 1.4rem; height: 1.4rem; color: var(--accent); margin-top: .15rem; }
.contact-list strong { display: block; }
.contact form { padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); }

/* Footer */
.site-footer { background: #1c1a17; color: #d9d3ca; padding-block: var(--space-5) var(--space-3); font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-4); }
.footer-grid h2 { font-size: 1rem; color: #fff; margin-bottom: .8rem; font-stretch: 105%; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-grid .brand { color: #fff; margin-bottom: var(--space-2); }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid #3a362f; color: #a9a196; font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Motion: the hero settles in once */
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: settle 2.4s var(--ease) both; }
  .hero__content > * { animation: rise .9s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: .08s; }
  .hero__content > :nth-child(3) { animation-delay: .16s; }
  @keyframes settle { from { transform: scale(1.07); filter: saturate(.85); } to { transform: none; filter: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
