/* Agadir Camel & Horse Riding — golden-hour palette drawn from the operator's own sunset photos */
:root {
  --ink: #26190f;
  --ink-soft: #4b3a2a;
  --paper: #fdf8f0;
  --cream: #f5ead7;
  --sand: #ecdcc2;
  --amber: #d9821f;
  --amber-deep: #b4621a;
  --rust: #a74b24;
  --gold: #f2b24c;
  --dusk: #311f12;
  --green: #4f6b51;
  --wa: #1d9e55;
  --wa-deep: #15733d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(49, 31, 18, .12);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-deep); text-underline-offset: 3px; }
a:hover { color: var(--rust); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }
p + p { margin-top: .9em; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.wrap-narrow { max-width: 820px; }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: .9rem;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 46em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 248, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(49, 31, 18, .08);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; margin-right: auto; }
.brand b { font-family: var(--font-display); font-size: 1.22rem; color: var(--ink); font-weight: 600; }
.brand span { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--rust); font-weight: 600; }
.main-nav ul { display: flex; align-items: center; gap: clamp(.4rem, 1.4vw, 1.15rem); list-style: none; }
.main-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 560; font-size: .93rem;
  padding: .45rem .35rem; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover { color: var(--rust); }
.main-nav a[aria-current="page"] { color: var(--rust); }
.main-nav a.nav-cta {
  background: var(--amber); color: #fff; padding: .55rem 1.05rem; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(217, 130, 31, .35);
}
.main-nav a.nav-cta:hover { background: var(--amber-deep); color: #fff; }
.lang-switch {
  font-size: .82rem; font-weight: 700; text-decoration: none;
  border: 1.5px solid var(--sand); border-radius: 999px; padding: .32rem .8rem;
  color: var(--ink-soft); white-space: nowrap;
}
.lang-switch:hover { border-color: var(--amber); color: var(--rust); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .6rem;
  border-radius: 10px;
}
.nav-toggle .bars { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--ink); transition: transform .25s;
}
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--sand);
    display: none; box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.2rem 1.2rem; }
  .main-nav a { display: block; padding: .8rem .4rem; font-size: 1.05rem; border-bottom: 1px solid rgba(49,31,18,.06); }
  .main-nav a.nav-cta { text-align: center; margin-top: .8rem; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.7rem; min-height: 48px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 6px 18px rgba(217, 130, 31, .4); }
.btn-primary:hover { background: var(--amber-deep); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(29, 158, 85, .35); }
.btn-wa:hover { background: var(--wa-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: rgba(255,255,255,.94); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--rust); }
.btn svg { flex: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 2px;
}

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(88vh, 820px); color: #fff; overflow: hidden; }
.hero.hero-sub { min-height: min(62vh, 560px); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(38,25,15,.34) 0%, rgba(38,25,15,.08) 42%, rgba(38,25,15,.72) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: clamp(2.4rem, 6vw, 4.5rem) 0; }
.hero h1 { color: #fff; max-width: 15em; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero .hero-sub-line { margin: 1rem 0 1.6rem; font-size: clamp(1.02rem, 2.2vw, 1.25rem); max-width: 36em; color: rgba(255,245,230,.95); text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(38,25,15,.55); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  border-radius: 999px; padding: .4rem 1rem; font-size: .9rem; font-weight: 600; margin-bottom: 1.1rem;
}
.hero-badge .stars { color: var(--gold); letter-spacing: .1em; }

/* ---------- Proof strip ---------- */
.proof-strip { background: var(--dusk); color: var(--cream); padding: 1.6rem 0; }
.proof-strip .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem 3rem; align-items: center; justify-content: center; text-align: center; }
.proof-item b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold); line-height: 1.2; }
.proof-item span { font-size: .85rem; opacity: .85; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(49,31,18,.18); }
.card > a.card-img { display: block; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--rust); }
.card-body p { color: var(--ink-soft); font-size: .96rem; }
.card-body .card-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.card-meta { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); }

/* ---------- Journey timeline ---------- */
.journey { counter-reset: step; display: grid; gap: clamp(2rem, 5vw, 3.2rem); margin-top: 2.6rem; }
.journey-step {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: center;
}
.journey-step:nth-child(even) .journey-text { order: -1; }
.journey-step img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.journey-text h3 { margin-bottom: .5rem; display: flex; align-items: baseline; gap: .7rem; }
.journey-text h3::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1rem; color: var(--amber); font-weight: 700;
}
.journey-text p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .journey-step { grid-template-columns: 1fr; }
  .journey-step:nth-child(even) .journey-text { order: 0; }
}

/* ---------- Quotes ---------- */
.quote-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote {
  background: #fff; border-radius: var(--radius); padding: 1.7rem 1.7rem 1.4rem;
  box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; gap: .9rem;
}
.quote::before { content: "“"; font-family: var(--font-display); font-size: 3rem; color: var(--gold); line-height: 0; display: block; height: .8rem; }
.quote p { font-size: .99rem; color: var(--ink-soft); flex: 1; }
.quote footer { font-size: .84rem; font-weight: 600; color: var(--rust); }
.quote .stars { color: var(--amber); font-size: .85rem; letter-spacing: .12em; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split .tall { aspect-ratio: 3 / 4; }
.split .wide { aspect-ratio: 4 / 3; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* checklist */
.ticks { list-style: none; display: grid; gap: .55rem; margin: 1.1rem 0; }
.ticks li { padding-left: 1.8rem; position: relative; color: var(--ink-soft); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .34em; width: 1.05em; height: 1.05em;
  background: var(--amber); border-radius: 50%;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/80% no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/80% no-repeat;
}

/* ---------- Info rows / fact band ---------- */
.fact-band { background: var(--cream); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.2rem 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fact-band div b { display: block; font-family: var(--font-display); font-size: 1.12rem; margin-bottom: .2rem; }
.fact-band div span { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Masonry gallery ---------- */
.masonry { columns: 3 300px; column-gap: 1.1rem; }
.masonry figure { break-inside: avoid; margin: 0 0 1.1rem; position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: var(--sand); }
.masonry a { display: block; }
.masonry img { width: 100%; display: block; transition: transform .4s ease; }
.masonry figure:hover img { transform: scale(1.035); }
.masonry figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(38,25,15,.78));
  color: #fff; font-size: .8rem; font-weight: 600; opacity: 0; transition: opacity .25s ease;
}
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(23, 14, 7, .94);
  display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 2.5rem 1rem 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(94vw, 1200px); max-height: 78vh; width: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox .lb-caption { color: var(--cream); margin-top: .9rem; font-size: .92rem; text-align: center; max-width: 60ch; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .9rem; }
.faq-list details { background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq-list summary {
  cursor: pointer; padding: 1.15rem 3rem 1.15rem 1.4rem; font-weight: 650; font-size: 1.02rem;
  list-style: none; position: relative; font-family: var(--font-display);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--amber); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details > div { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.6rem); }
.form-grid { display: grid; gap: 1.1rem 1.4rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label.field { display: block; font-weight: 650; font-size: .9rem; }
label.field small { font-weight: 450; color: var(--ink-soft); }
label.field input, label.field select, label.field textarea {
  display: block; width: 100%; margin-top: .4rem;
  font: inherit; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid var(--sand); border-radius: 10px; background: var(--paper);
  min-height: 48px;
}
label.field textarea { min-height: 110px; resize: vertical; }
label.field input:focus, label.field select:focus, label.field textarea:focus { border-color: var(--amber); }
.field-error { color: #b13a1e; font-size: .83rem; margin-top: .3rem; display: none; }
.invalid input, .invalid select { border-color: #b13a1e !important; }
.invalid .field-error { display: block; }
.form-success {
  background: #eaf6ec; border: 1.5px solid #bfe3c8; color: #1d5c31;
  padding: 1.1rem 1.3rem; border-radius: 12px; margin-top: 1.2rem; display: none; font-weight: 550;
}
.form-success.show { display: block; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; padding: clamp(4rem, 9vw, 7rem) 0; }
.cta-band .cta-bg { position: absolute; inset: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,25,15,.55), rgba(38,25,15,.72)); }
.cta-band .wrap { position: relative; z-index: 2; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: .7rem; }
.cta-band p { color: rgba(255,246,232,.92); max-width: 40em; margin: 0 auto 1.8rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dusk); color: #d8c7af; padding: clamp(3rem, 6vw, 4.5rem) 0 7rem; font-size: .94rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--cream); font-size: 1rem; margin-bottom: .9rem; letter-spacing: .04em; }
.site-footer .brand-foot { font-family: var(--font-display); font-size: 1.35rem; color: var(--cream); margin-bottom: .6rem; }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.site-footer a { color: #e9d9bf; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer .foot-rating { color: var(--gold); font-weight: 700; margin: .4rem 0 .8rem; }
.foot-bottom { border-top: 1px solid rgba(233, 217, 191, .18); margin-top: 2.6rem; padding-top: 1.4rem; font-size: .82rem; opacity: .75; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; }

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: .6rem; padding: .6rem max(.8rem, env(safe-area-inset-left)) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(38, 25, 15, .96); backdrop-filter: blur(8px);
  align-items: center;
}
.sticky-cta .btn { flex: 1; padding: .7rem .5rem; font-size: .95rem; min-height: 48px; }
.sticky-cta .cta-dismiss {
  flex: none; background: none; border: 0; color: #cdb99d; font-size: 1.3rem; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; line-height: 1;
}
@media (max-width: 820px) { .sticky-cta { display: flex; } body { padding-bottom: 76px; } }
.sticky-cta.dismissed { display: none; }

/* ---------- Reveal on scroll (JS-gated; content always visible without JS) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc ---------- */
.band-cream { background: var(--cream); }
.band-sand { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.pill { background: var(--cream); border: 1px solid var(--sand); color: var(--ink-soft); border-radius: 999px; padding: .3rem .95rem; font-size: .85rem; font-weight: 600; }
.breadcrumbs { font-size: .85rem; margin-bottom: 1rem; color: rgba(255,246,232,.85); position: relative; z-index: 2; }
.breadcrumbs a { color: rgba(255,246,232,.85); }
.note { font-size: .86rem; color: var(--ink-soft); background: var(--cream); border-left: 4px solid var(--amber); padding: .8rem 1.1rem; border-radius: 0 10px 10px 0; }
.table-compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .95rem; }
.table-compare th, .table-compare td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--cream); vertical-align: top; }
.table-compare thead th { background: var(--dusk); color: var(--cream); font-family: var(--font-display); font-size: 1.02rem; }
.table-compare tbody th { font-weight: 650; width: 28%; color: var(--rust); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.stars { white-space: nowrap; }
