/* ==========================================================================
   Sidi Kaouki Travel — inner pages
   Builds on css/style.css (Design 03). Same colours, fonts, radii and card
   styles; adds the layouts used by lesson, guide, blog, legal and
   contact pages, plus a few homepage additions. Loaded on every page.
   ========================================================================== */

body.inner { font-size: 14px; }
.wrap-narrow { width: calc(100% - 44px); max-width: 760px; margin: auto; }

/* ---------- Shared small parts ---------- */
.tbc { display: inline-block; font-size: 11px; font-weight: 600; line-height: 1.3; color: #7a5a3f; background: #f6ead9; border: 1px dashed #d8bf9f; border-radius: 6px; padding: 2px 7px; white-space: nowrap; vertical-align: middle; }
.owner-field { background: #fff3cd; color: #5c4600; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.muted { color: var(--muted); }
.small-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.small-note a:not(.btn), .prose a:not(.btn), .sec-lead a:not(.btn), .faq-a a:not(.btn), .callout a:not(.btn), .practical-item a:not(.btn) { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:not(.btn):hover, .faq-a a:not(.btn):hover { color: var(--clay-dark); }
.ticks { list-style: none; padding: 0; margin: 12px 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; line-height: 1.5; }
.ticks li::before { content: '✓'; position: absolute; left: 2px; color: var(--clay); font-weight: 700; }
.ticks.two-col { columns: 2; column-gap: 28px; }
.ticks.two-col li { break-inside: avoid; }
.sub-h { font-size: 19px; margin: 26px 0 8px; letter-spacing: -.04em; }

/* Review mode: fact-check markers (only when testing locally or with ?review=1) */
.owner-only { display: none; }
.review-mode .owner-only { display: inline; }
.review-mode [data-review] { background: #fff3cd; outline: 1px dashed #c9a227; border-radius: 3px; cursor: help; }
.review-mode [data-review]::after { content: " ⚑ " attr(data-review); font-size: 11px; font-weight: 700; color: #7a5a00; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 12px; margin: 16px 0 12px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: flex; align-items: center; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #c4ab98; }
.crumbs a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: #d9c2b3; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--clay); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Page heroes ---------- */
.page-hero { position: relative; }
.page-hero.band { background: linear-gradient(100deg, #f9d8c1 0%, #f7decb 38%, #edccb5 100%); overflow: hidden; min-height: 300px; }
.page-hero.band .ph-pic { position: absolute; inset: 0 0 0 auto; width: 52%; }
.page-hero.band .ph-pic img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.band .ph-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f8dfca 0%, rgba(248, 222, 202, .55) 30%, rgba(248, 222, 202, 0) 70%); }
.page-hero.band .ph-inner { position: relative; z-index: 1; max-width: 1016px; margin: auto; padding: 4px 22px 40px; }
.page-hero.band .ph-text { max-width: 520px; }
.page-hero h1 { font-size: 39px; line-height: 1.08; margin: 0 0 12px; }
.page-hero .overline { margin: 8px 0 10px; }
.ph-lead { font-size: 16px; line-height: 1.55; max-width: 520px; margin: 0; }
.page-hero.plain .ph-inner { padding: 4px 0 18px; }
.page-hero.plain h1 { max-width: 760px; }
.page-hero.plain .ph-lead { max-width: 680px; }
.ph-image { margin: 8px 0 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 7; background: #e8ded1; }
.ph-image img { width: 100%; height: 100%; object-fit: cover; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Activity pages ---------- */
.act-head { max-width: 760px; margin-bottom: 18px; }
.act-head h1 { font-size: 39px; line-height: 1.08; margin: 0 0 10px; }
.act-head .overline { margin: 0 0 10px; }
.act-intro { font-size: 16px; line-height: 1.55; margin-bottom: 14px; }
.act-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.act-chips li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; }
.act-chips .ico { width: 14px; height: 14px; color: var(--clay); }

/* Gallery: one large photo + four small */
.gallery-wrap { position: relative; margin: 22px 0 8px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 420px; border-radius: 12px; overflow: hidden; }
.g-item { position: relative; display: block; overflow: hidden; background: #e8ded1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, filter .3s ease; }
.g-item:hover img { transform: scale(1.03); filter: brightness(.94); }
.g-main { grid-row: span 2; }
.g-item:focus-visible { outline-offset: -4px; outline-color: #fff; box-shadow: inset 0 0 0 3px var(--clay); }
.gallery-all { position: absolute; right: 14px; bottom: 14px; font-size: 12px; padding: 9px 14px; box-shadow: 0 4px 14px rgba(51, 26, 16, .15); }

.act-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; margin-top: 18px; }
.act-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.act-tabs::-webkit-scrollbar { display: none; }
.act-tabs a { flex-shrink: 0; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 999px; color: var(--ink-soft); }
.act-tabs a:hover { background: var(--sand); color: var(--clay-dark); }
.act-sec { padding: 30px 0 6px; border-bottom: 1px solid var(--line); }
.act-sec:last-child { border-bottom: 0; }
.act-sec > h2 { font-size: 25px; margin: 0 0 10px; }
.sec-lead { font-size: 14px; color: var(--ink-soft); margin: -2px 0 16px; max-width: 640px; }
.prose { font-size: 15px; line-height: 1.65; }
.prose p { line-height: 1.65; margin: 0 0 14px; }
.prose h2 { font-size: 25px; margin: 34px 0 10px; line-height: 1.2; }
.prose h3 { font-size: 19px; margin: 24px 0 8px; letter-spacing: -.04em; line-height: 1.25; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 7px; line-height: 1.55; }
.prose strong { color: var(--ink); }
.highlights { list-style: none; padding: 0; margin: 6px 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.highlights li { display: flex; gap: 9px; font-size: 14px; line-height: 1.45; }
.highlights .ico { width: 18px; height: 18px; color: var(--clay); margin-top: 1px; stroke-width: 2; }
.good-for { font-size: 14px; background: #fbefe4; border-radius: 9px; padding: 10px 14px; margin: 0 0 22px; }

/* Option selector */
.option-set { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.option-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.option-card { position: relative; display: flex; border: 1.5px solid var(--line); border-radius: 11px; padding: 14px 14px 14px 44px; background: #fff; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.option-card:hover { border-color: #dcbfa9; }
.option-card input { position: absolute; left: 15px; top: 16px; width: 18px; height: 18px; margin: 0; accent-color: var(--clay); cursor: pointer; }
.option-card:has(input:checked) { border-color: var(--clay); background: #fdf3ea; }
.option-card:has(input:focus-visible) { outline: 2px solid var(--clay); outline-offset: 2px; }
.option-body { display: grid; gap: 4px; align-content: start; }
.option-title { font-weight: 700; font-size: 14px; }
.option-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.option-body .tbc { justify-self: start; margin-top: 4px; }

/* Comparisons, levels, steps */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 4px; }
.compare.two { grid-template-columns: 1fr 1fr; }
.compare-col { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 16px 16px 6px; }
.compare-col h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -.04em; }
.compare-col > p { font-size: 13px; color: var(--ink-soft); margin: 0; }
.compare-col .ticks li { font-size: 13px; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 4px; }
.level { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--clay); border-radius: 11px; padding: 14px 16px; }
.level h3 { font-size: 17px; margin: 8px 0 6px; letter-spacing: -.04em; }
.level p { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
.level-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--clay-dark); }
.steps-visual { list-style: none; padding: 0; margin: 6px 0 4px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps-visual li { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 14px; }
.sv-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); color: var(--clay); font-weight: 700; }
.steps-visual h3 { font-size: 15px; margin: 10px 0 5px; letter-spacing: -.03em; }
.steps-visual p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.wear-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wear-grid > div { background: #fbefe4; border-radius: 11px; padding: 14px; }
.wear-grid h3 { font-size: 15px; margin: 0 0 5px; letter-spacing: -.03em; }
.wear-grid p { font-size: 13px; margin: 0; line-height: 1.5; color: var(--ink-soft); }

/* Timeline */
.timeline { list-style: none; counter-reset: tl; padding: 0; margin: 0 0 18px; position: relative; }
.timeline li { counter-increment: tl; position: relative; padding: 0 0 18px 50px; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--clay); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: #ecd8c8; }
.timeline h3 { font-size: 16px; margin: 5px 0 4px; letter-spacing: -.03em; }
.timeline p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* Season chart */
.season-chart { display: grid; gap: 4px; margin: 14px 0 6px; font-size: 11px; }
.sc-row { display: grid; grid-template-columns: 82px repeat(12, 1fr); gap: 4px; align-items: center; }
.sc-head span { text-align: center; font-weight: 700; color: var(--muted); }
.sc-head span:first-child { text-align: left; }
.sc-row > span:first-child { font-weight: 600; }
.sc-row i, .sc-legend i { display: block; height: 22px; border-radius: 4px; }
.lv1 { background: #f6e3d3; } .lv2 { background: #e2a580; } .lv3 { background: var(--clay); }
.sc-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin: 6px 0 10px; }
.sc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sc-legend i { width: 18px; height: 12px; }

/* Included / not included */
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.incl-box { border-radius: 11px; padding: 16px 18px; }
.incl-yes-box { background: #eef5f0; border: 1px solid #cfe3d6; }
.incl-no-box { background: #fbf1ec; border: 1px solid #f0d6c8; }
.incl-box h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 10px; letter-spacing: -.03em; }
.incl-yes-box h3 .ico { color: var(--green); stroke-width: 2.4; }
.incl-no-box h3 .ico { color: var(--clay); stroke-width: 2.4; }
.incl-box ul { list-style: none; padding: 0; margin: 0; }
.incl-box li { font-size: 14px; padding: 7px 0; border-top: 1px solid rgba(53, 28, 23, .07); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.incl-box li:first-child { border-top: 0; }

.practical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.practical-item { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; }
.practical-item h3 { font-size: 15px; margin: 0 0 6px; letter-spacing: -.03em; }
.practical-item p { font-size: 14px; margin: 0; line-height: 1.55; color: var(--ink-soft); }

.location-box { display: grid; gap: 12px; margin-bottom: 20px; }
.loc-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.loc-facts div, .bp-facts div { margin: 0; }
.loc-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.loc-facts dd { margin: 3px 0 0; font-weight: 600; }
.map-slot { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #e8ded1; }
.map-slot iframe { width: 100%; height: 100%; border: 0; }

/* FAQ accordion */
.faq-list { display: grid; gap: 8px; margin-bottom: 14px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 600; font-size: 15px; position: relative; line-height: 1.4; border-radius: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--clay); line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--clay-dark); }
.faq-a { padding: 0 16px 14px; }
.faq-a p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* Booking panel */
.act-aside { position: sticky; top: 16px; }
.booking-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 10px 30px rgba(51, 26, 16, .07); }
.bp-price { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: -.04em; margin: 0 0 14px; display: grid; }
.bp-label { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bp-facts { margin: 0 0 14px; border-top: 1px solid var(--line); }
.bp-facts > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.bp-facts dt { color: var(--ink-soft); }
.bp-facts dd { margin: 0; font-weight: 600; text-align: right; }
.bp-chosen { font-size: 13px; margin: 0 0 12px; color: var(--ink-soft); }
.bp-btn { width: 100%; min-height: 48px; font-size: 15px; }
.bp-notes { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.bp-notes li { display: flex; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.bp-notes .ico { width: 15px; height: 15px; color: var(--green); stroke-width: 2.2; }

/* Request band (inline booking form) */
.request-band { background: #f9e7d9; padding: 46px 0; margin-top: 36px; scroll-margin-top: 0; }
.request-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.request-copy h2 { font-size: 30px; margin: 0 0 16px; }
.mini-steps { padding-left: 20px; margin: 0 0 12px; }
.mini-steps li { margin-bottom: 10px; line-height: 1.5; font-size: 14px; }
.card-form { background: #fffdf9; border-radius: 14px; padding: 22px; box-shadow: 0 10px 30px rgba(51, 26, 16, .08); }

/* Booking flow (shared by dialog and inline forms) */
.booking-flow form { display: grid; gap: 12px; }
.field-narrow { max-width: 220px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.form-foot .req-note { margin: 0; }
.booking-flow .submit-btn { width: auto; min-width: 200px; }
.step-title { font-size: 20px; margin: 0 0 12px; letter-spacing: -.04em; }
.step-title:focus { outline: none; }
.summary { margin: 0 0 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.summary > div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.summary > div:first-child { border-top: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; word-break: break-word; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: #fbefe4; border-radius: 9px; padding: 11px 13px; font-size: 13px; line-height: 1.5; margin: 0 0 14px; }
.notice .ico { width: 18px; height: 18px; color: var(--clay); flex-shrink: 0; margin-top: 1px; }
.send-actions { display: grid; gap: 8px; margin-bottom: 8px; }
.send-actions .btn, [data-open-again] { width: 100%; min-height: 48px; font-size: 15px; }
[data-open-again] { margin-bottom: 14px; }
.message-preview { margin: 10px 0 6px; font-size: 13px; }
.message-preview summary { cursor: pointer; color: var(--link); font-weight: 700; padding: 6px 0; }
.message-preview pre { white-space: pre-wrap; word-break: break-word; font-family: var(--sans); font-size: 13px; background: #fff5e8; border: 1px solid var(--line); border-radius: 9px; padding: 12px; margin: 8px 0; max-height: 220px; overflow: auto; }
.back-link { margin-top: 8px; padding: 8px 0; font-size: 13px; }
.done-lead { font-size: 15px; line-height: 1.55; }
.config-warning code { font-size: 12px; }

/* Related */
.related { margin-top: 40px; margin-bottom: 30px; }
.read-more { margin-top: 26px; padding: 18px 20px; background: #fbefe4; border-radius: 12px; }
.read-more h3 { font-size: 17px; margin: 0 0 8px; letter-spacing: -.04em; }
.read-more ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.read-more a { color: var(--link); font-weight: 700; font-size: 13px; }
.read-more a:hover { text-decoration: underline; }

/* Card with a link to its page (title link covers the image too) */
.linked-card { position: relative; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:hover { color: var(--clay-dark); }
.linked-card .card-cta { position: relative; z-index: 2; }
.linked-card:focus-within { border-color: var(--clay); }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid var(--clay); outline-offset: -2px; border-radius: 11px; }

/* ---------- Callouts, quick answers, tables ---------- */
.callout { display: flex; gap: 11px; align-items: flex-start; border-radius: 10px; padding: 13px 15px; font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
.callout > .ico { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }
.callout p:last-child { margin-bottom: 0; }
.callout-info { background: #fbefe4; } .callout-info > .ico { color: var(--clay); }
.callout-tip { background: #eef5f0; } .callout-tip > .ico { color: var(--green); }
.callout-review { background: #fff8e1; border: 1px dashed #d8b85a; } .callout-review > .ico { color: #8a6d00; }
.callout-warn { background: #fbf1ec; border: 1px solid #f0d6c8; } .callout-warn > .ico { color: var(--clay-dark); }
.quick-answer { border-left: 4px solid var(--clay); background: #fff; border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 0 0 24px; box-shadow: 0 4px 14px rgba(51, 26, 16, .05); }
.qa-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-dark); margin: 0 0 6px; }
.quick-answer p { margin: 0 0 8px; }
.quick-answer p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
table.data, table.facts { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data caption, table.facts caption { text-align: left; font-weight: 700; padding: 12px 14px 4px; }
table.data th, table.data td, table.facts th, table.facts td { padding: 10px 14px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.45; }
table.data thead th { background: #fbefe4; border-top: 0; font-size: 12px; letter-spacing: .04em; }
table.data tbody th, table.facts th { font-weight: 600; }
table.facts th { width: 40%; color: var(--ink-soft); }
.fig { margin: 8px 0 22px; }
.fig img { width: 100%; height: auto; border-radius: 12px; background: #e8ded1; }
.fig figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- Guide layout (editorial, with table of contents) ---------- */
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 26px; margin-bottom: 40px; }
.toc { position: sticky; top: 16px; font-size: 13px; }
.toc p { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); line-height: 1.35; }
.toc a:hover { color: var(--clay); border-left-color: var(--clay); }
.guide-body { max-width: 720px; }
.guide-body > h2:first-child, .guide-body > .quick-answer:first-child { margin-top: 0; }
.related-links { margin-top: 30px; padding: 18px 20px; background: #fbefe4; border-radius: 12px; }
.related-links h2 { font-size: 18px; margin: 0 0 8px; }
.related-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.related-links a { color: var(--link); font-weight: 700; font-size: 14px; }
.related-links a:hover { text-decoration: underline; }
.sources { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 28px; padding-top: 12px; }
.sources ul { padding-left: 18px; margin: 6px 0 0; }
.sources a { color: var(--muted); }

/* Tiles (hub pages) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { display: grid; align-content: start; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.tile:hover { border-color: #e0c9b8; box-shadow: 0 8px 22px rgba(51, 26, 16, .07); transform: translateY(-2px); }
.tile-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--clay); margin-bottom: 4px; }
.tile-ico .ico { width: 22px; height: 22px; }
.tile-title { font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: -.04em; }
.tile-text { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.tile-more { font-size: 12px; font-weight: 700; color: var(--link); margin-top: 4px; }

.section-block { margin: 42px auto; }
.section-block > h2, .block-head h2 { font-size: 27px; margin: 0 0 8px; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 16px; }
.block-head p { margin: 0; color: var(--ink-soft); max-width: 560px; }
.block-lead { color: var(--ink-soft); max-width: 640px; margin: 0 0 18px; font-size: 15px; }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; background: #f9e7d9; border-radius: 14px; padding: 24px 28px; margin: 36px 0; }
.cta-band > div:first-child { flex: 1 1 320px; min-width: 0; }
.cta-band h2 { font-size: 23px; margin: 0 0 4px; }
.cta-band p { margin: 0; color: var(--ink-soft); max-width: 520px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

/* Quick facts box */
.quick-facts { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.quick-facts h2 { font-size: 19px; margin: 0 0 10px; }
.quick-facts dl { margin: 0; display: grid; gap: 10px; }
.quick-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.quick-facts dd { margin: 2px 0 0; font-size: 14px; line-height: 1.45; }

/* ---------- Eat & drink ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }

/* ---------- Journal ---------- */
.featured-article { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; position: relative; margin-bottom: 28px; }
.featured-article .fa-media { background: #e8ded1; min-height: 300px; }
.featured-article .fa-media img { width: 100%; height: 100%; object-fit: cover; }
.fa-body { padding: 28px; display: grid; align-content: center; gap: 10px; }
.fa-body h2 { font-size: 28px; margin: 0; line-height: 1.15; }
.fa-body p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-dark); }
.article-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: box-shadow .15s ease, border-color .15s ease; }
.article-card:hover, .featured-article:hover { box-shadow: 0 10px 26px rgba(51, 26, 16, .08); border-color: #e0c9b8; }
.article-card .ac-media { aspect-ratio: 16 / 10; background: #e8ded1; }
.article-card .ac-media img { width: 100%; height: 100%; object-fit: cover; }
.ac-body { padding: 14px 16px 18px; display: grid; gap: 6px; align-content: start; }
.ac-body h3 { font-size: 18px; margin: 0; line-height: 1.25; letter-spacing: -.04em; }
.ac-body p { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.read-time { font-size: 12px; color: var(--muted); }

.article-head { text-align: left; max-width: 760px; margin: 0 auto; }
.article-head h1 { font-size: 40px; line-height: 1.1; margin: 6px 0 12px; }
.article-head .ph-lead { font-size: 18px; max-width: none; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.article-hero { max-width: 1044px; margin: 24px auto 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 8; background: #e8ded1; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 680px; margin: 34px auto 20px; font-size: 17px; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.7; }
.article-body h2 { font-size: 27px; margin: 40px 0 12px; }
.article-body h3 { font-size: 20px; }
.article-body .fig { margin: 30px -40px; }
.in-article-toc { background: #fbefe4; border-radius: 12px; padding: 16px 20px; margin: 0 0 28px; }
.in-article-toc p { margin: 0 0 6px; font-size: 11px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.in-article-toc ol { margin: 0; padding-left: 20px; }
.in-article-toc li { font-size: 15px !important; margin-bottom: 4px; }
.in-article-toc a { color: var(--ink); }
.in-article-toc a:hover { color: var(--clay); }
.article-foot { max-width: 680px; margin: 0 auto 40px; }

/* ---------- FAQ page ---------- */
.faq-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; margin: 26px auto 40px; }
.faq-group { margin-bottom: 34px; scroll-margin-top: 16px; }
.faq-group h2 { font-size: 24px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.faq-group h2 .ico { width: 22px; height: 22px; color: var(--clay); }

/* ---------- Legal ---------- */
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 48px; align-items: start; margin: 26px auto 50px; }
.legal-status { display: flex; gap: 12px; align-items: flex-start; background: #fff8e1; border: 1px solid #e8cf80; border-radius: 12px; padding: 16px 18px; margin: 0 0 26px; font-size: 14px; line-height: 1.55; }
.legal-status .ico { width: 22px; height: 22px; color: #8a6d00; flex-shrink: 0; }
.legal-status strong { display: block; margin-bottom: 2px; }
.legal-body h2 { font-size: 21px; margin: 32px 0 10px; padding-top: 4px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-meta { font-size: 13px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start; margin: 26px auto 50px; }
.contact-methods { display: grid; gap: 12px; }
.method { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.method .tile-ico { flex-shrink: 0; margin: 0; }
.method h2 { font-size: 17px; margin: 0 0 4px; letter-spacing: -.04em; }
.method p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.method a { color: var(--link); font-weight: 700; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 60px 0 40px; }
.notfound h1 { font-size: 40px; margin: 6px 0 12px; }
.notfound p { max-width: 520px; margin: 0 auto 18px; font-size: 16px; }
.notfound .tiles { text-align: left; margin-top: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: rgba(20, 11, 8, .95); color: #fff; box-shadow: none; overflow: hidden; }
.lightbox::backdrop { background: rgba(20, 11, 8, .95); }
.lb-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 56px 70px; }
.lb-figure { margin: 0; display: grid; gap: 10px; justify-items: center; max-width: 100%; max-height: 100%; }
.lb-img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; background: #2b1d17; }
.lb-figure figcaption { font-size: 14px; text-align: center; color: #f1e6dc; }
.lb-count { color: #cdb6a6; margin-left: 8px; font-variant-numeric: tabular-nums; }
.lb-btn { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:focus-visible { outline-color: #fff; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 14px; top: 14px; }
.dialog-open { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .act-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
  .guide-layout, .faq-layout, .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .guide-body, .legal-body { min-width: 0; }
  .toc { position: static; background: #fbefe4; border-radius: 12px; padding: 14px 16px; }
  .toc ol { border: 0; columns: 2; column-gap: 20px; }
  .toc a { padding: 5px 0; border: 0; margin: 0; }
  .wear-grid, .steps-visual { grid-template-columns: 1fr 1fr; }
  .tiles, .article-cards, .dish-grid { grid-template-columns: 1fr 1fr; }
  .article-body .fig { margin: 30px 0; }
}

@media (max-width: 850px) {
  .act-layout { grid-template-columns: 1fr; }
  .act-aside { position: static; order: -1; }
  .act-main { min-width: 0; }
  .booking-panel { box-shadow: none; }
  .request-inner { grid-template-columns: 1fr; gap: 20px; }
  .compare, .levels { grid-template-columns: 1fr; }
  .contact-layout, .split { grid-template-columns: 1fr; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-article .fa-media { min-height: 0; aspect-ratio: 16 / 9; }
  .page-hero.band .ph-pic { width: 100%; opacity: .35; }
  .page-hero.band .ph-pic::after { background: linear-gradient(90deg, #f8dfca 15%, rgba(248, 222, 202, .6) 100%); }
}

@media (max-width: 630px) {
  .page-hero h1, .act-head h1 { font-size: 31px; }
  .article-head h1 { font-size: 31px; }
  .ph-lead, .act-intro, .article-head .ph-lead { font-size: 15px; }
  .page-hero.band { min-height: 0; }
  .page-hero.band .ph-inner { padding: 4px 22px 28px; }

  /* Gallery becomes a swipeable row */
  .gallery-wrap { margin: 18px -22px 6px; }
  .gallery { display: flex; height: auto; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 0; padding: 0 22px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .g-item { flex: 0 0 86%; aspect-ratio: 4 / 3; border-radius: 12px; scroll-snap-align: center; }
  .gallery-all { right: 34px; bottom: 12px; }

  .highlights, .incl-grid, .practical-grid, .loc-facts { grid-template-columns: 1fr; }
  .compare.two { grid-template-columns: 1fr; }
  .wear-grid, .steps-visual { grid-template-columns: 1fr; }
  .ticks.two-col { columns: 1; }
  .sc-row { grid-template-columns: 58px repeat(12, 1fr); gap: 2px; }
  .season-chart { font-size: 10px; }
  .act-sec > h2 { font-size: 22px; }
  .option-cards { grid-template-columns: 1fr; }
  .summary > div { grid-template-columns: 1fr; gap: 2px; }
  .card-form { padding: 16px; margin: 0 -8px; }
  .request-band { padding: 32px 0; }
  .request-copy h2 { font-size: 25px; }
  .booking-flow .submit-btn { width: 100%; }
  .field-narrow { max-width: none; }

  .tiles, .article-cards { grid-template-columns: 1fr; }
  .related-links ul { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 20px; }
  .cta-band > div:first-child { flex: none; width: 100%; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .cta-actions .btn { white-space: normal; }
  h1 { hyphens: auto; }
  .block-head { flex-direction: column; align-items: flex-start; }
  .article-body, .article-body p, .article-body li { font-size: 16px; }
  .article-body h2 { font-size: 23px; }
  .article-hero { border-radius: 0; margin-top: 18px; }
  .fa-body { padding: 18px; }
  .fa-body h2 { font-size: 23px; }
  .lb-stage { padding: 60px 8px 70px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .lb-img { max-height: calc(100dvh - 190px); }
}

@media (prefers-reduced-motion: reduce) {
  .g-item:hover img, .tile:hover { transform: none; }
}

/* ---------- Things to do (numbered editorial list) ---------- */
.todo-wrap { margin-top: 24px; margin-bottom: 40px; max-width: 900px; }
.todo-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 0; }
.todo-list li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.todo-n { font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--clay); letter-spacing: -.05em; line-height: 1; }
.todo-list h2 { font-size: 21px; margin: 2px 0 6px; letter-spacing: -.045em; }
.todo-list p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.todo-list a { color: var(--link); font-weight: 700; white-space: nowrap; }

/* Plan hub */
.tiles-2 { grid-template-columns: 1fr 1fr; }
.plan-intro { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.steps-visual.three { grid-template-columns: repeat(3, 1fr); }

/* Tables written in Markdown inside articles */
.prose table:not(.data):not(.facts) { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 22px; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: block; overflow-x: auto; }
.prose table:not(.data):not(.facts) th, .prose table:not(.data):not(.facts) td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.45; font-size: 14px; }
.prose table:not(.data):not(.facts) thead th { background: #fbefe4; border-top: 0; }
.weather-table td, .weather-table th { white-space: nowrap; }

@media (max-width: 1000px) { .plan-intro { grid-template-columns: 1fr; } }
@media (max-width: 630px) {
  .todo-list li { grid-template-columns: 1fr; gap: 4px; }
  .todo-n { font-size: 22px; }
  .tiles-2, .steps-visual.three { grid-template-columns: 1fr; }
}

/* ===================================================================
   SidiKaouki.travel surf site (v4): language menu and lesson blocks.
   Uses the same tokens and components as the rest of the design.
   =================================================================== */
.lang-switch .lang-toggle { font-size: 12px; font-weight: 700; gap: 4px; padding: 8px 2px; min-height: 40px; }
.lang-switch .lang-menu { left: auto; right: -8px; min-width: 230px; white-space: normal; z-index: 30; }
.lang-switch .lang-menu li:first-child a { color: inherit; }
.lang-menu a { display: flex; flex-direction: column; gap: 2px; }
.lang-menu a[aria-current="true"] { background: var(--sand); }
.lang-name { font-weight: 700; }
.lang-note { font-size: 11px; font-weight: 400; color: var(--muted, #6b5a4e); }
@media (max-width: 1000px) {
  .nav-right .lang-switch .sub-toggle { width: auto; min-height: 44px; padding: 8px 4px; font-size: 13px; justify-content: center; }
  .lang-switch .lang-menu { position: absolute; top: calc(100% + 6px); background: #fffaf4; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(51, 26, 16, .12); padding: 8px; }
}
.home-intro { max-width: 860px; margin-top: 8px; margin-bottom: 40px; }
.home-intro h2 { margin-top: 0; }
.lesson-block { scroll-margin-top: 96px; padding: 28px 0; border-top: 1px solid var(--line); }
.lesson-block:first-of-type { border-top: 0; }
.lesson-block .lb-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.lesson-block .lb-grid img { width: 100%; height: auto; border-radius: 14px; display: block; }
.lesson-block h2 { margin-top: 0; }
.lesson-facts { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.lesson-facts li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.lesson-facts strong { min-width: 140px; }
.lesson-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.compare-table th, .compare-table td { vertical-align: top; }
.price-note { font-size: 13px; color: var(--muted, #6b5a4e); }
.blog-grid { margin-top: 8px; }
@media (max-width: 760px) {
  .lesson-block .lb-grid { grid-template-columns: 1fr; }
  .lesson-facts strong { min-width: 0; }
}
.home .booking-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 630px) { .home .booking-cards.four { grid-template-columns: 1fr; } }
.home-intro { margin-top: 48px; }
.section-block.prose { max-width: none; }

/* Six shortcuts (4 lessons, package, camp): the original 6-column row; 3 + 3 on phones */
.home .categories { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 760px) { .home .categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 4px; padding: 10px 8px; } }

/* Long words (e.g. German/Dutch compounds) wrap instead of overflowing */
h1, h2, h3, summary { overflow-wrap: break-word; }
/* Very small phones: lesson-card link goes under the text instead of squeezing it */
@media (max-width: 400px) {
  .booking-copy { flex-direction: column; align-items: flex-start; gap: 8px; }
  .card-cta { align-self: flex-start; }
}

/* ---------- 6-hour package + surf camp (homepage panels, menu, lessons page) ---------- */
.panel-content .feature-title { font-size: 27px; white-space: nowrap; margin-bottom: 7px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.offers-pair { margin-bottom: 24px; }
.offers-pair .big-feature { height: auto; min-height: 217px; }
.submenu .sub-sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
@media (max-width: 850px) { .panel-content .feature-title { font-size: 22px; } }
@media (max-width: 630px) { .panel-content .feature-title { white-space: normal; } }
/* Long button labels (e.g. "Enquire about the surf camp") wrap on small phones instead of overflowing */
@media (max-width: 420px) {
  .lesson-actions .btn, .panel-actions .btn, .ph-actions .btn, .hero-actions .btn { white-space: normal; max-width: 100%; }
}

/* ==========================================================================
   UX v2 (Nov 2026): homepage flow without search bar, floating contact,
   simpler navigation. Same tokens, fonts and components as the approved design.
   ========================================================================== */

/* ---------- Hero with booking CTA (search bar removed) ---------- */
.home .hero.hero-cta { height: auto; min-height: 330px; display: flex; align-items: center; }
.hero-cta .hero-inner { width: 100%; padding: 40px 22px 44px; }
.hero-cta .hero-intro { font-size: 15px; line-height: 1.5; max-width: 440px; margin: 0 0 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .btn { min-height: 46px; font-size: 14px; padding: 12px 20px; }
.hero-actions .btn.outline { background: rgba(255, 250, 245, .92); }

/* ---------- Section rhythm on the homepage ---------- */
.home .home-sec { margin-top: 64px; margin-bottom: 0; }
.home .featured.home-sec { margin-top: 44px; }
.home .home-sec + .photo-row { margin-top: 28px; }
.home .home-sec > h2, .home .section-head h2 { font-size: 28px; margin: 0 0 6px; }
.home .section-head { align-items: flex-end; margin-bottom: 18px; }
.home .section-head .sec-lead { margin: 4px 0 0; }
.home .booking-copy p strong { color: var(--ink); font-weight: 700; }
.home .offers-pair { margin-bottom: 0; }

/* Why Sidi Kaouki: text + three reasons */
.home-why { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.home-why-text h2 { font-size: 28px; margin: 0 0 14px; }
.home-why-text p { font-size: 15px; line-height: 1.7; }
.why-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 22px; }
.why-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: start; }
.why-list .roundicon { width: 54px; height: 54px; }
.why-list .roundicon svg { width: 26px; height: 26px; }
.why-list h3 { font-size: 18px; margin: 4px 0 4px; }
.why-list p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* Meet the instructor */
.home-instructor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; background: var(--sand); border-radius: 14px; padding: 28px; }
.home-instructor img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; border-radius: 10px; }
.home-instructor h2 { font-size: 27px; margin: 8px 0 12px; }
.home-instructor p:not(.overline) { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 18px; }

/* How booking works (homepage + lessons pages) */
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--clay); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 17px; }
.steps h3 { font-size: 17px; margin: 2px 0 6px; }
.steps p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.steps-cta { margin: 18px 0 0; }

/* Useful guides: simple link list, not cards */
.guide-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.guide-links li { border-bottom: 1px solid var(--line); }
.guide-links a { display: grid; gap: 4px; padding: 16px 28px 16px 0; position: relative; color: var(--ink); }
.guide-links a::after { content: "→"; position: absolute; right: 4px; top: 16px; color: var(--clay); font-weight: 700; transition: transform .15s ease; }
.guide-links a:hover strong { color: var(--clay-dark); }
.guide-links a:hover::after { transform: translateX(3px); }
.guide-links strong { font-family: var(--serif); font-size: 17px; letter-spacing: -.04em; }
.guide-links span { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* Homepage FAQ and final CTA */
.home-faq > * { max-width: 820px; }
.home-faq h2 { margin-bottom: 16px; }
.home-faq .faq-list { margin-bottom: 14px; }
.home .final-cta { margin: 0 0 64px; padding: 30px 32px; }
.home .final-cta h2 { font-size: 26px; }

/* ---------- Navigation ---------- */
.nav-book-mobile { display: none; }
@media (max-width: 1100px) { .nav-list { gap: 14px; } }
@media (max-width: 1000px) {
  .site-nav { padding-bottom: 22px; }
  .submenu a { min-height: 46px; display: flex; align-items: center; }
  .nav-list > li.nav-book-mobile { display: block; border-bottom: 0; padding-top: 14px; }
  .nav-list > li.nav-book-mobile > a.btn { display: flex; justify-content: center; min-height: 50px; color: #fff; font-size: 15px; }
}
@media (min-width: 851px) { .nav-list > li.nav-book-mobile { display: none; } }

/* ---------- Floating WhatsApp / email (only rendered when configured) ---------- */
.float-contact { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 24; display: flex; flex-direction: column; gap: 10px; transition: bottom .2s ease; }
.float-contact[hidden], .fc-btn[hidden] { display: none; }
.fc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 52px; height: 52px; padding: 0 14px; border-radius: 26px; color: #fff; font-weight: 700; font-size: 13px; box-shadow: 0 8px 22px rgba(51, 26, 16, .22); transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.fc-wa { background: var(--green); }
.fc-wa:hover { background: var(--green-dark); }
.fc-mail { background: var(--clay); }
.fc-mail:hover { background: var(--clay-dark); }
.fc-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(51, 26, 16, .28); }
.fc-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.fc-ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; flex-shrink: 0; }
.fc-wa .fc-ico { width: 26px; height: 26px; }
.fc-label { display: none; }
@media (min-width: 1001px) { .fc-label { display: inline; } .fc-btn { padding: 0 18px 0 14px; } }
/* Never cover the mobile booking bar or the open menu */
.mobile-cta.is-visible ~ .float-contact { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 66px); }
body.menu-open .float-contact { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 850px) {
  .home-why { grid-template-columns: 1fr; gap: 26px; }
  .home-instructor { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
  .home-instructor img { max-height: 260px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .guide-links { grid-template-columns: 1fr; }
}
@media (max-width: 630px) {
  .home .hero.hero-cta { min-height: 0; display: block; }
  .hero-cta .hero-inner { padding: 30px 18px 230px; }
  .hero-cta .hero-img { top: auto; bottom: 0; height: 210px; width: 100%; object-fit: cover; }
  .hero-cta .hero-pic::after { background: linear-gradient(180deg, #f8dfca 0%, #f8dfca calc(100% - 230px), rgba(248, 222, 202, .15) calc(100% - 170px), rgba(248, 222, 202, 0) 100%); }
  .hero-cta .hero-intro { font-size: 14px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .home .home-sec { margin-top: 48px; }
  .home .home-sec > h2, .home .section-head h2, .home-why-text h2 { font-size: 24px; }
  .home .section-head { align-items: flex-start; }
  .home .final-cta { padding: 22px 20px; margin-bottom: 48px; }
  .home .final-cta h2 { font-size: 22px; }
}
