/* Best Of Merzouga — design system
   Palette taken from the route itself: Erg Chebbi sand, henna clay, the black hamada,
   and the indigo of a desert night. Headings: Fraunces (kept from the current brand site).
   Body: DM Sans. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dmsans-var.woff") format("woff"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --sand: #f2eadc;        /* page background: dune sand in shade */
  --paper: #fbf7f0;       /* raised surfaces */
  --dune: #d9b98c;        /* lit dune, used for rules and route dots */
  --henna: #8b3e24;       /* primary action, links */
  --henna-dark: #6f3019;
  --ink: #2a211b;         /* hamada brown-black text */
  --ink-2: #5c4d42;       /* secondary text */
  --night: #18212e;       /* desert night sections and footer */
  --night-2: #243043;
  --line: rgba(42, 33, 27, 0.16);
  --wa: #1f8f4e;          /* WhatsApp, darkened for contrast on light backgrounds */

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.42rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.5vw, 2.7rem);
  --step-4: clamp(2.3rem, 1.7rem + 3vw, 4.1rem);

  --wrap: 1220px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: var(--sans); font-size: var(--step-0); line-height: 1.65; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--henna); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--henna-dark); }
:focus-visible { outline: 3px solid #c97a3a; outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gut), 760px); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: #efe7da; }
.section--night a { color: #f1c38f; }
.section--night .muted { color: #b9b0a3; }
.muted { color: var(--ink-2); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.kicker { font-size: var(--step--1); color: var(--ink-2); margin: 0 0 .7rem; font-weight: 500; }
.section-head { display: grid; gap: 0.4rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); max-width: 58rem; }
.section-head p { margin: 0; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; font: 600 var(--step-0)/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--henna); color: #fff8ef; }
.btn--primary:hover { background: var(--henna-dark); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17713d; color: #fff; }
.btn--light { background: #fff8ef; color: var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242, 234, 220, 0.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 1rem; min-height: 72px; width: min(100% - 2 * var(--gut), 1400px); }
@media (max-width: 1360px) { .header-cta .btn--primary { display: none; } }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; flex: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; line-height: 1; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav > ul { list-style: none; display: flex; gap: .1rem; margin: 0; padding: 0; }
.nav a, .nav button.nav-top { color: var(--ink); text-decoration: none; font: 500 .94rem/1 var(--sans); white-space: nowrap; padding: .7rem .6rem; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem; border-radius: 4px; }
.nav a:hover, .nav button.nav-top:hover, .nav a[aria-current="page"] { color: var(--henna); }
.nav li { position: relative; }
.nav .chev { width: 10px; height: 10px; transition: transform .15s; }
.nav button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sub { display: none; position: absolute; top: calc(100% + 6px); left: -.5rem; min-width: 260px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; list-style: none; margin: 0; box-shadow: 0 14px 30px -18px rgba(42, 33, 27, .45); }
.sub.open { display: block; }
.sub a { display: block; padding: .65rem .75rem; line-height: 1.3; }
.sub a small { display: block; color: var(--ink-2); font-weight: 400; font-size: .82rem; margin-top: .15rem; }
.header-cta { display: flex; gap: .5rem; flex: none; }
.header-cta .btn { min-height: 42px; padding: .55rem 1rem; font-size: .93rem; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: .5rem .9rem; font: 600 .9rem var(--sans); color: var(--ink); cursor: pointer; }

@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; background: var(--sand); }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn--primary { display: none; }
  .nav { position: fixed; inset: 72px 0 0 0; background: var(--sand); display: none; flex-direction: column; align-items: stretch; padding: 1rem var(--gut) 2rem; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; }
  .nav a, .nav button.nav-top { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sub { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 .5rem .75rem; }
  .sub a { border-bottom: 0; padding: .6rem .25rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) { .brand span { font-size: 1rem; } .header-cta .btn--wa span { display: none; } .header-cta .btn--wa { padding: .55rem .8rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff8ef; min-height: min(88vh, 820px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 33, 46, 0.5) 0%, rgba(24, 33, 46, 0.08) 28%, rgba(24, 33, 46, 0.25) 55%, rgba(24, 33, 46, 0.82) 100%); }
.hero .wrap { padding-block: clamp(6rem, 18vh, 10rem) clamp(2.5rem, 7vh, 4.5rem); }
.hero h1 { max-width: 15ch; margin-bottom: .35em; text-shadow: 0 1px 18px rgba(0,0,0,.25); }
.hero--inner h1 { max-width: 24ch; font-size: var(--step-4); font-size: clamp(2.1rem, 1.6rem + 2.4vw, 3.5rem); }
.hero--inner { min-height: min(70vh, 620px); }
.hero .lead { color: #f3eadc; }
.hero .sub-h { font-family: var(--serif); font-size: var(--step-2); margin: 0 0 1rem; max-width: 30ch; line-height: 1.2; }
.hero .btn--ghost { color: #fff8ef; }
.hero .btn--ghost:hover { background: #fff8ef; color: var(--ink); border-color: #fff8ef; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin: 1.8rem 0 0; padding: 0; list-style: none; font-size: var(--step--1); color: #efe5d6; }
.hero-facts li { display: flex; align-items: center; gap: .45rem; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dune); }

.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.page-hero h1 { max-width: 22ch; }
.page-hero--image { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.page-hero--image figure { margin: 0; }
.page-hero--image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .page-hero--image { grid-template-columns: 1fr; } }

.crumbs { font-size: var(--step--1); color: var(--ink-2); margin-bottom: 1.4rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--dune); }
.crumbs a { color: var(--ink-2); }
.hero .crumbs, .hero .crumbs a { color: #efe5d6; }

/* ---------- The route line: the site's signature element ---------- */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: relative; }
.route::before { content: ""; position: absolute; left: 0; right: calc(100% / var(--n, 6) - 16px); top: 9px; border-top: 2px dashed var(--dune); }
.route li { position: relative; padding: 1.75rem .75rem 0 0; }
.route li::before { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--sand); border: 3px solid var(--henna); }
.route li:first-child::before, .route li:last-child::before { background: var(--henna); }
.route b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.route span { display: block; font-size: var(--step--1); color: var(--ink-2); margin-top: .25rem; }
.section--night .route li::before { background: var(--night); border-color: var(--dune); }
.section--night .route li:first-child::before, .section--night .route li:last-child::before { background: var(--dune); }
.section--night .route span { color: #b9b0a3; }
.hero .route { margin-top: 2.2rem; max-width: 900px; }
.hero .route::before { border-color: rgba(255, 248, 239, .55); }
.hero .route li::before { background: transparent; border-color: #fff8ef; }
.hero .route li:first-child::before, .hero .route li:last-child::before { background: #fff8ef; }
.hero .route b { font-size: .98rem; }
.hero .route span { color: #e6dccd; }
@media (max-width: 760px) {
  .route { grid-auto-flow: row; grid-auto-columns: auto; }
  .route::before { top: 0; bottom: 0; left: 7px; right: auto; border-top: 0; border-left: 2px dashed var(--dune); }
  .route li { padding: 0 0 1.1rem 2.1rem; }
  .route li::before { top: 3px; }
  .hero .route::before { border-color: rgba(255, 248, 239, .55); }
  .hero .route { display: none; }
}

/* ---------- Tours ---------- */
.tour-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.tour-row { display: grid; grid-template-columns: 5.5rem 1fr minmax(180px, 300px); gap: clamp(1rem, 3vw, 2.5rem); padding-block: 1.8rem; border-bottom: 1px solid var(--line); align-items: center; text-decoration: none; color: inherit; position: relative; }
.tour-row .days { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: .9; color: var(--henna); }
.tour-row .days small { display: block; font-family: var(--sans); font-size: .82rem; color: var(--ink-2); margin-top: .35rem; }
.tour-row h3 { margin: .1rem 0 .4rem; font-size: var(--step-2); }
.tour-row h3 a { color: var(--ink); text-decoration: none; }
.tour-row h3 a::after { content: ""; position: absolute; inset: 0; }
.tour-row:hover h3 a { color: var(--henna); }
.tour-row .from-to { font-size: var(--step--1); color: var(--ink-2); font-weight: 500; margin: 0; }
.tour-row p { margin: 0; color: var(--ink-2); }
.tour-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) { .tour-row { grid-template-columns: 4rem 1fr; align-items: start; } .tour-row figure { grid-column: 1 / -1; grid-row: 1; margin: 0; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.facts div { padding: 1rem 1.2rem 1rem 0; }
.facts dt { font-size: var(--step--1); color: var(--ink-2); }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }

.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.tour-aside { position: sticky; top: 92px; display: grid; gap: 1rem; }
@media (max-width: 980px) { .tour-layout { grid-template-columns: 1fr; } .tour-aside { position: static; } }

.day { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1.2rem; padding-block: 1.8rem; border-top: 1px solid var(--line); }
.day:last-child { border-bottom: 1px solid var(--line); }
.day .n { font-family: var(--serif); font-size: 1rem; color: var(--ink-2); }
.day .n b { display: block; font-size: 2.4rem; line-height: 1; color: var(--henna); }
.day h3 { font-size: var(--step-2); margin-bottom: .3rem; }
.day .road { font-size: var(--step--1); color: var(--ink-2); margin-bottom: .9rem; }
.day dl { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin: .8rem 0 0; font-size: var(--step--1); }
.day dl div { display: flex; gap: .35rem; }
.day dt { color: var(--ink-2); }
.day dd { margin: 0; font-weight: 600; }

.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 700px) { .two-lists { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: .55rem 0 .55rem 1.8rem; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 12px; height: 7px; border-left: 2px solid var(--henna); border-bottom: 2px solid var(--henna); transform: rotate(-45deg); }
.ticks.no li::before { width: 12px; height: 0; border-left: 0; border-bottom: 2px solid var(--ink-2); transform: none; top: 1.15rem; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.panel h2, .panel h3 { font-size: var(--step-1); }
.panel--night { background: var(--night); color: #efe7da; border-color: var(--night); }
.panel--night .muted { color: #b9b0a3; }

.stay-line { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.stay-line:last-child { border-bottom: 0; }

/* ---------- Mosaic / features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } .feature img, .no-photo { aspect-ratio: 4 / 3; } }
.feature { display: grid; gap: .6rem; align-content: start; position: relative; }
.feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.feature h3 { margin: .3rem 0 0; }
.feature h3 a { color: inherit; text-decoration: none; }
.feature h3 a::after { content: ""; position: absolute; inset: 0; }
.feature:hover h3 a { color: var(--henna); }
.feature p { margin: 0; color: var(--ink-2); }
.feature .meta { font-size: var(--step--1); color: var(--ink-2); }
.section--night .feature p, .section--night .feature .meta { color: #b9b0a3; }
.section--night .feature:hover h3 a { color: #f1c38f; }

.no-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--night); color: #efe5d6; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem; position: relative; overflow: hidden; }
.no-photo::before { content: ""; position: absolute; left: 1.2rem; right: 1.2rem; top: 40%; border-top: 2px dashed rgba(217, 185, 140, .55); }
.no-photo::after { content: ""; position: absolute; left: 1.2rem; top: calc(40% - 7px); width: 12px; height: 12px; border-radius: 50%; background: var(--dune); }
.no-photo b { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.no-photo span { font-size: var(--step--1); color: #b9b0a3; }
.no-photo--wide { aspect-ratio: 4 / 3; }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.reasons > div { padding: 1.6rem 1.6rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.reasons h3 { margin-bottom: .4rem; }
.reasons p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reasons { grid-template-columns: 1fr; } }
.section--night .reasons, .section--night .reasons > div { border-color: rgba(239, 231, 218, .16); }
.section--night .reasons p { color: #b9b0a3; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { counter-increment: s; border-top: 2px solid var(--henna); padding-top: 1rem; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 2rem; color: var(--henna); line-height: 1; display: block; margin-bottom: .6rem; }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--top { align-items: start; }
.split figure { margin: 0; }
.split img { width: 100%; border-radius: var(--radius); object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.pair { display: grid; grid-template-columns: 1.3fr .9fr; gap: 1rem; align-items: end; }
.pair img:first-child { aspect-ratio: 4 / 5; }
.pair img:last-child { aspect-ratio: 3 / 4; margin-bottom: 3rem; }
.pair img { width: 100%; object-fit: cover; border-radius: var(--radius); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.review { margin: 0; border-top: 1px solid rgba(239, 231, 218, .2); padding-top: 1.4rem; }
.review blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: var(--step-1); line-height: 1.45; font-weight: 600; }
.review figcaption { font-size: var(--step--1); color: #b9b0a3; }
.stars { color: #e9b56b; letter-spacing: .1em; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-family: var(--serif); font-weight: 600; font-size: var(--step-1); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--henna); border-bottom: 2px solid var(--henna); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 68ch; }

/* ---------- Prose (articles, destination pages) ---------- */
.prose { font-size: 1.06rem; overflow-wrap: anywhere; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6rem; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose .tip { background: var(--paper); border-left: 3px solid var(--dune); padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); }

.cmp { width: 100%; border-collapse: collapse; margin: 1rem 0 1.6rem; font-size: .95rem; background: var(--paper); }
.cmp th, .cmp td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-family: var(--serif); font-weight: 600; border-bottom: 2px solid var(--dune); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: var(--step--1); background: var(--paper); }
.chips a { text-decoration: none; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team figure { margin: 0; }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.team figcaption { margin-top: .7rem; }
.team b { font-family: var(--serif); font-size: 1.2rem; display: block; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr 1fr; } }

/* ---------- Enquiry form ---------- */
.enquiry { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.2rem); }
.enquiry h2 { font-size: var(--step-2); }
.enquiry fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
.enquiry legend { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin-bottom: .8rem; padding: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label, .field .label { font-size: .92rem; font-weight: 600; }
.field .hint { font-size: .82rem; color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #cdbfac; border-radius: 6px; padding: .7rem .8rem; min-height: 48px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--henna); outline: 2px solid rgba(139, 62, 36, .25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: .85rem; min-height: 0; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opts label { display: inline-flex; align-items: center; gap: .45rem; border: 1.5px solid #cdbfac; border-radius: 999px; padding: .5rem .9rem; font-weight: 500; font-size: .93rem; cursor: pointer; background: #fff; }
.opts input { width: 18px; height: 18px; min-height: 0; accent-color: var(--henna); margin: 0; }
.opts label:has(input:checked) { border-color: var(--henna); background: #f8ece2; }
.hp { position: absolute; left: -5000px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.form-foot p { margin: 0; font-size: .88rem; color: var(--ink-2); max-width: 46ch; }
.form-status { margin-top: 1rem; }
.notice { border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.notice--ok { background: #e7f1e6; border: 1px solid #a9cba6; }
.notice--err { background: #fbe9e6; border: 1px solid #e2a79f; }
.notice h3 { margin-bottom: .3rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--night); color: #efe7da; }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(3rem, 7vw, 5rem); }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: #c9bfb2; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: #121923; color: #cfc6b8; font-size: .95rem; }
.site-footer a { color: #efe7da; text-decoration: none; }
.site-footer a:hover { color: #f1c38f; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding-block: 3.5rem 2.5rem; }
.footer-grid h2 { font-size: 1.05rem; color: #efe7da; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1rem; }
.footer-brand p { color: #b9b0a3; max-width: 34ch; }
.footer-base { border-top: 1px solid rgba(239, 231, 218, .12); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .86rem; color: #9d9487; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #17713d; color: #fff; }

/* ---------- Consent ---------- */
.consent { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; max-width: 420px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5); font-size: .92rem; }
.consent p { margin: 0 0 .8rem; }
.consent .btn { min-height: 40px; padding: .45rem 1rem; font-size: .9rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .wa-float, .site-footer, .cta-band, .enquiry { display: none !important; } }
