/* Palmiye Home V2 — "Mediterranean Calm"
   Warm paper background, deep sea-green for the one primary action, serif headings,
   photography first. No web fonts (system stacks), no framework. */

:root {
  --bg: #f8f5ef;
  --surface: #fffdf9;
  --sand: #efe7da;
  --line: #e2d8c8;
  --ink: #1d2a2e;
  --muted: #56666a;
  --sea: #1b5c63;
  --sea-dark: #144a50;
  --sea-tint: #e2eded;
  --terracotta: #a9552f;
  --free: #e3eedf;
  --free-line: #9fb998;
  --booked: #ece4d8;
  --focus: #c76b2b;
  /* Booking.com accent: ONLY for the small "Booking.com" source label (independent proof),
     never for buttons, backgrounds or the brand. */
  --booking: #003b95;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 10px;
  --header-h: 64px;
  --section-y: clamp(56px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--sea-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(24px, 4vw, 44px); }
.lead { font-size: 1.15rem; color: var(--ink); }
.muted { color: var(--muted); }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: .75rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.anchor { position: relative; top: calc(-1 * var(--header-h)); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--sea); color: #fff; }
.btn-primary:hover { background: var(--sea-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: .85em 1.8em; font-size: 1.05rem; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ── Header ────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(248, 245, 239, .94); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(8px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { font: 500 1.4rem/1 var(--serif); color: var(--ink); text-decoration: none; margin-right: auto; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 22px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--sea); }
.lang-switch { display: flex; gap: 2px; font-size: .82rem; }
.lang-switch a { padding: 6px 7px; border-radius: 6px; color: var(--muted); text-decoration: none; font-weight: 600; letter-spacing: .04em; }
.lang-switch a[aria-current="true"] { color: var(--ink); background: var(--sand); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .lang-switch { padding-top: 16px; gap: 6px; }
  .lang-switch a { padding: 10px 12px; border: 1px solid var(--line); }
}

/* ── Hero ──────────────────────────────────────────── */
.hero { position: relative; min-height: min(88svh, 860px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.hero picture, .hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero .hero-img { object-fit: cover; object-position: 50% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 25, 28, .35) 0%, rgba(10, 25, 28, 0) 26%, rgba(10, 25, 28, 0) 40%, rgba(10, 25, 28, .55) 66%, rgba(10, 25, 28, .78) 100%),
    linear-gradient(90deg, rgba(10, 25, 28, .35) 0%, rgba(10, 25, 28, 0) 60%);
}
.hero-content { padding-top: 96px; padding-bottom: clamp(36px, 7vw, 80px); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.2rem); margin-bottom: .1em; text-shadow: 0 1px 24px rgba(0, 0, 0, .25); }
.hero .tagline { display: block; font-size: clamp(1.25rem, 3vw, 1.9rem); font-style: italic; margin-top: .25em; }
.hero-text { max-width: 34rem; font-size: clamp(1.02rem, 1.6vw, 1.15rem); margin: 1em 0 1.6em; text-shadow: 0 1px 12px rgba(0, 0, 0, .3); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-score { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 10px; border-radius: 12px; background: rgba(255, 253, 249, .94); color: var(--ink); text-decoration: none; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.hero-score:hover { color: var(--ink); background: #fff; }
.hero-score-num { font: 600 1.9rem/1 var(--serif); letter-spacing: -.02em; padding-right: 12px; border-right: 1px solid var(--line); }
.hero-score-num small { font: 500 .85rem/1 var(--sans); color: var(--muted); margin-left: 2px; letter-spacing: 0; }
.hero-score-txt { display: grid; gap: 3px; font-size: .86rem; line-height: 1.15; color: var(--muted); }
.booking-mark { font-weight: 700; color: var(--booking); letter-spacing: -.01em; }
@media (max-width: 640px) { .hero { min-height: 74svh; } .hero .hero-img { object-position: 50% 30%; } }

/* ── Proof strip ───────────────────────────────────── */
.proof { background: var(--surface); border-bottom: 1px solid var(--line); }
.proof-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 48px; padding-top: clamp(24px, 4vw, 36px); padding-bottom: clamp(24px, 4vw, 36px); }
.proof-score { display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); }
.proof-num { margin: 0; font: 500 clamp(3rem, 7vw, 4.4rem)/.9 var(--serif); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
@media (max-width: 480px) { .proof-score { flex-direction: column; align-items: flex-start; gap: 12px; } .proof-meta { padding-left: 0; border-left: 0; } }
.proof-scale { font: 500 clamp(1rem, 2vw, 1.3rem)/1 var(--sans); color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.proof-meta { display: grid; gap: 6px; padding-left: clamp(16px, 3vw, 28px); border-left: 2px solid var(--line); }
.proof-source { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 1rem; color: var(--muted); }
.proof-source .booking-mark { font-size: 1.15rem; }
.proof-meta .link-arrow { font-size: .95rem; }
.proof-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: .97rem; }
.proof-facts li { display: flex; align-items: center; gap: 8px; }
.proof-facts .icon { color: var(--sea); }

/* ── Split layouts ─────────────────────────────────── */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.15fr; } .split.reverse > :first-child { order: 2; } }
.check-list { list-style: none; display: grid; gap: 10px; margin-top: 1.2em; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--sea); margin-top: .2em; }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.photo picture, .gallery-item picture { width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-stack .photo:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.photo-stack .photo { aspect-ratio: 4 / 3; }

/* ── Gallery ───────────────────────────────────────── */
.gallery-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; }
.gallery-grid > li { min-width: 0; }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; } .gallery-grid .wide { grid-column: span 2; } .gallery-grid .tall { grid-row: span 2; } }
.gallery-item { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); cursor: zoom-in; aspect-ratio: 4 / 3; }
@media (min-width: 760px) { .gallery-item { aspect-ratio: auto; height: 100%; } }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-more { margin-top: 18px; }

.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(12, 20, 22, .96); color: #fff; }
.lightbox::backdrop { background: rgba(12, 20, 22, .9); }
.lightbox-figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 56px 12px 16px; }
.lightbox-figure picture { display: grid; place-items: center; min-height: 0; }
.lightbox-figure img { max-height: calc(100dvh - 130px); width: auto; max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox-caption { text-align: center; font-size: .95rem; color: #d9e2e2; padding-top: 12px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .35); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(0, 0, 0, .6); }
.lb-close { top: 10px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ── Home + check-in band ──────────────────────────── */
.band { background: var(--sand); }
.section-tight { padding-top: 0; }
.points { list-style: none; display: grid; gap: 12px; margin-top: 1.4em; }
.points li { display: flex; gap: 12px; align-items: flex-start; }
.points .icon { color: var(--sea); margin-top: .15em; }
.checkin-title { display: flex; align-items: center; gap: 12px; font-size: clamp(1.5rem, 3vw, 2rem); }
.checkin-title .icon { color: var(--sea); width: 1.1em; height: 1.1em; }
.owner-note { margin: 0; font-size: .97rem; color: var(--muted); border-left: 3px solid var(--sea); padding-left: 14px; }
.checkin-card { display: grid; gap: 20px; padding: clamp(24px, 4vw, 40px); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
@media (min-width: 900px) { .checkin-card { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.times { display: flex; gap: 12px; flex-wrap: wrap; }
.time { flex: 1 1 140px; padding: 16px 18px; border-radius: 8px; background: var(--sea-tint); }
.time span { display: block; font-size: .85rem; color: var(--muted); }
.time strong { font: 500 1.5rem/1.2 var(--serif); }

/* ── Amenities ─────────────────────────────────────── */
.amenities { list-style: none; display: grid; gap: 0 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .amenities { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .amenities { grid-template-columns: 1fr 1fr 1fr; } }
.amenities li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.amenities .icon { width: 1.6em; height: 1.6em; color: var(--sea); }

/* ── Pool ──────────────────────────────────────────── */
.pool-photos { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.pool-photos .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.pool-photos .photo { aspect-ratio: 4 / 3; }
.note { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--terracotta); padding-left: 14px; }

/* ── Location ──────────────────────────────────────── */
.distances { list-style: none; display: grid; gap: 0; margin: 1.2em 0; }
.distances li { display: grid; grid-template-columns: minmax(8em, auto) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.distances span { color: var(--muted); text-align: right; }
.map-box { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sea-tint); display: grid; place-items: center; text-align: center; padding: 24px; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box p { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
address { font-style: normal; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.map-actions .btn { background: var(--surface); }

/* ── Independent reviews (platform-attributed) ──────── */
.reviews-layout { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .reviews-layout { grid-template-columns: 1.55fr 1fr; } }
.reviews-side { display: grid; gap: 20px; }
.review-source { padding: clamp(22px, 3vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.rs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.platform { margin: 0; font: 700 1.15rem/1.2 var(--sans); letter-spacing: -.01em; }
.rs-score { margin: 0; font-size: .95rem; color: var(--muted); white-space: nowrap; }
.rs-score strong { font: 600 1.9rem/1 var(--serif); color: var(--ink); }
.rs-label { font-size: .92rem; color: var(--muted); }
.quote { margin: 0 0 18px; padding: 16px 18px; background: var(--bg); border-radius: 8px; }
.quote blockquote { margin: 0 0 .6em; font: italic 400 1.08rem/1.6 var(--serif); }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: .9rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
.quote-lang { display: block; font-size: .82rem; margin-top: 2px; }
.rs-author { margin-bottom: .4em; }
.rs-note, .rs-text { color: var(--muted); font-size: .95rem; }
.rs-link { margin: 0; }
.rs-access-note { margin: 4px 0 0; color: var(--muted); font-size: .84rem; }
.stars { display: inline-flex; gap: 2px; color: #b8860b; }
.stars .icon { width: 1.15em; height: 1.15em; }
.stars .icon.off { color: var(--line); }

/* ── FAQ ───────────────────────────────────────────── */
.faq { max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--sea); border-bottom: 2px solid var(--sea); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; margin: 0; color: var(--muted); }

/* ── Availability ──────────────────────────────────── */
.availability { background: var(--surface); border-top: 1px solid var(--line); }
.avail-grid { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 980px) { .avail-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.indicative { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; background: #fbf2e6; border: 1px solid #ecd9bf; border-radius: 8px; font-size: .95rem; margin-bottom: 20px; }
.indicative .icon { color: var(--terracotta); margin-top: .15em; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; gap: 28px; }
@media (min-width: 700px) { .cal-months { grid-template-columns: 1fr 1fr; } }
.cal-month h3 { font-size: 1.1rem; text-align: center; margin-bottom: 10px; text-transform: capitalize; }
.cal-table { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.cal-table th { font-size: .75rem; font-weight: 600; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.cal-table td { padding: 0; }
.day { width: 100%; aspect-ratio: 1; min-height: 38px; border: 1px solid transparent; border-radius: 8px; background: transparent; font: 500 .95rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.day.is-free { background: var(--free); border-color: var(--free-line); }
.day.is-unknown { border: 1px dashed var(--line); color: var(--muted); }
.day.is-booked { background: var(--booked); color: #9b8f80; text-decoration: line-through; cursor: not-allowed; }
.day.is-past { color: #bdb3a5; cursor: default; background: transparent; border-color: transparent; }
.day.in-range { background: var(--sea-tint); border-color: #b9d2d2; }
.day.is-start, .day.is-end { background: var(--sea); border-color: var(--sea); color: #fff; }
.day:not(:disabled):hover { border-color: var(--sea); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); margin-top: 14px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 16px; height: 16px; border-radius: 4px; display: inline-block; }
.legend .l-free { background: var(--free); border: 1px solid var(--free-line); }
.legend .l-booked { background: var(--booked); }
.legend .l-unknown { border: 1px dashed #b5a993; }
.cal-loading { grid-column: 1 / -1; min-height: 300px; display: grid; place-items: center; color: var(--muted); margin: 0; }
.cal-state { padding: 12px 16px; border-radius: 8px; background: var(--sea-tint); font-size: .95rem; margin: -8px 0 16px; }
.cal-state.is-warning { background: #fbe9e0; border: 1px solid #e8c2ae; }

.panel { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); position: sticky; top: calc(var(--header-h) + 16px); }
.panel-status { min-height: 3.2em; font-weight: 600; margin-bottom: 14px; }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel select { min-height: 44px; padding: 0 36px 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font: inherit; color: var(--ink); }
.btn-clear { background: none; border: 0; padding: 6px 0; color: var(--sea); font: inherit; text-decoration: underline; cursor: pointer; }
.channels { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-decoration: none; color: var(--ink); }
.channel:hover { border-color: var(--sea); color: var(--ink); }
.channel strong { display: block; }
.channel small { color: var(--muted); font-size: .88rem; }
.channel .icon { width: 1.6em; height: 1.6em; color: var(--sea); }
/* The first channel (market-dependent order) is the recommended one. */
.channels > li:first-child .channel { background: var(--sea); border-color: var(--sea); color: #fff; }
.channels > li:first-child .channel small, .channels > li:first-child .channel .icon { color: #d5e6e6; }
.channels > li:first-child .channel:hover { background: var(--sea-dark); color: #fff; }
.channel-note { display: flex; gap: 8px; align-items: flex-start; margin: 6px 4px 0; font-size: .86rem; color: var(--muted); }
.channel-note .icon { width: 1.1em; height: 1.1em; margin-top: .15em; color: var(--terracotta); }
.channels-title { font: 600 .82rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }

/* ── Footer ────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #d7dfdf; padding: 56px 0 120px; font-size: .97rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 48px; } }
.footer-brand { font: 500 1.6rem/1 var(--serif); color: #fff; margin-bottom: 12px; }
.site-footer h2 { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #9fb2b2; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: #9fb2b2; font-size: .88rem; }
.linklike { background: none; border: 0; padding: 0; color: #fff; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ── Mobile CTA ────────────────────────────────────── */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(248, 245, 239, .96); border-top: 1px solid var(--line); transition: transform .25s ease; }
.mobile-cta .btn { width: 100%; }
.mobile-cta.is-hidden { transform: translateY(110%); }
@media (min-width: 961px) { .mobile-cta { display: none; } }

/* ── Consent (compact) ─────────────────────────────── */
.consent { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  max-width: 640px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 32px rgba(20, 30, 32, .16); }
@media (min-width: 640px) { .consent { left: 20px; bottom: 20px; flex-wrap: nowrap; padding: 12px 14px 12px 18px; } }
.consent p { flex: 1 1 260px; margin: 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.consent-actions .btn { min-height: 44px; padding: .5em 1.1em; font-size: .9rem; }
@media (max-width: 639px) { .consent-actions { width: 100%; } .consent-actions .btn { flex: 1 1 0; } }
.consent[hidden] { display: none; }
.has-consent .mobile-cta { display: none; }

.lang-suggest { position: fixed; z-index: 50; top: calc(var(--header-h) + 10px); right: 12px; left: 12px; display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap;
  max-width: 420px; margin-left: auto; padding: 10px 10px 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(20, 30, 32, .14); }
.lang-suggest p { margin: 0; flex: 1 1 180px; font-size: .92rem; }
.lang-suggest[hidden] { display: none; }
.ls-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); border-radius: 8px; cursor: pointer; }
.ls-close:hover { color: var(--ink); background: var(--bg); }

/* ── Simple pages (privacy / 404) ──────────────────── */
.page { max-width: 46rem; padding-top: clamp(40px, 7vw, 80px); padding-bottom: var(--section-y); }
.page h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.page h2 { font-size: 1.35rem; margin-top: 1.8em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
