/* Five themes share one layout. Each theme only sets tokens (colour, type, radius, shadow)
   plus a few layout switches further down. "professional" is the default and the admin's look. */
:root, [data-theme="professional"] {
  --stone: #eef1f0; --paper: #fbfcfb; --ink: #15262d; --muted: #4d5f66;
  --sea: #0e5566; --on-sea: #fbfcfb; --sea-soft: rgba(14, 85, 102, .08); --saffron: #b9822a;
  --danger: #a3321f; --good: #2f6b3a; --line: #d5dddc;
  --display: "Marcellus", Georgia, serif; --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --h-weight: 400; --h-track: 0; --brand-case: uppercase; --brand-track: .14em; --eyebrow-case: uppercase;
  --r: 6px; --r-card: 6px; --r-btn: 6px; --r-img: 6px;
  --card-border: 1px solid var(--line); --shadow-card: none; --shadow-pop: 0 12px 32px rgba(0, 0, 0, .16);
  --btn-bg: var(--sea);
  --band: #0d3b47; --band-ink: #f1f6f6; --band-muted: rgba(241, 246, 246, .72); --band-card: rgba(255, 255, 255, .06); --band-line: rgba(255, 255, 255, .12); --band-accent: #e0ab55;
  color-scheme: light;
}
[data-theme="enterprise"] {
  --stone: #f5f7fa; --paper: #ffffff; --ink: #0f172a; --muted: #475569;
  --sea: #1d4ed8; --on-sea: #ffffff; --sea-soft: rgba(29, 78, 216, .08); --saffron: #1d4ed8;
  --line: #e2e8f0;
  --display: "Inter", "Segoe UI", system-ui, sans-serif; --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --h-weight: 700; --h-track: -.02em; --brand-case: none; --brand-track: -.01em;
  --r: 8px; --r-card: 10px; --r-btn: 8px; --r-img: 10px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --btn-bg: var(--sea);
  --band: #0f172a; --band-ink: #f8fafc; --band-muted: #94a3b8; --band-card: rgba(255, 255, 255, .04); --band-line: #1e293b; --band-accent: #60a5fa;
}
[data-theme="cute"] {
  --stone: #fff6f0; --paper: #ffffff; --ink: #3d2c4e; --muted: #77668a;
  --sea: #d6336c; --on-sea: #ffffff; --sea-soft: #ffe6ee; --saffron: #7c5cd6;
  --line: #f6dde6; --good: #2f8a55;
  --display: "Nunito", "Segoe UI", system-ui, sans-serif; --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --h-weight: 800; --h-track: -.01em; --brand-case: none; --brand-track: 0;
  --r: 16px; --r-card: 26px; --r-btn: 999px; --r-img: 20px;
  --card-border: 2px solid #ffe6ee; --shadow-card: 0 10px 28px rgba(214, 51, 108, .10);
  --btn-bg: var(--sea);
  --band: #f1eaff; --band-ink: #3d2c4e; --band-muted: #6d5c82; --band-card: #ffffff; --band-line: #e2d6f7; --band-accent: #7c5cd6;
}
[data-theme="touristic"] {
  --stone: #fdf7ec; --paper: #ffffff; --ink: #10243e; --muted: #4f5d6e;
  --sea: #0b6fb8; --on-sea: #ffffff; --sea-soft: rgba(11, 111, 184, .08); --saffron: #c9541f;
  --line: #eadfcb;
  --display: "DM Serif Display", Georgia, serif; --body: "Poppins", "Segoe UI", system-ui, sans-serif;
  --h-weight: 400; --h-track: 0; --brand-case: none; --brand-track: .01em;
  --r: 12px; --r-card: 16px; --r-btn: 999px; --r-img: 16px;
  --card-border: 0; --shadow-card: 0 12px 30px rgba(16, 36, 62, .10);
  --btn-bg: var(--sea);
  --band: #10243e; --band-ink: #ffffff; --band-muted: rgba(255, 255, 255, .72); --band-card: rgba(255, 255, 255, .06); --band-line: rgba(255, 255, 255, .14); --band-accent: #ffd27a;
}
[data-theme="airbnb"] {
  --stone: #ffffff; --paper: #ffffff; --ink: #222222; --muted: #6a6a6a;
  --sea: #e31c5f; --on-sea: #ffffff; --sea-soft: #fff0f4; --saffron: #222222;
  --line: #ebebeb; --good: #008a05;
  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --h-weight: 700; --h-track: -.015em; --brand-case: none; --brand-track: -.01em; --eyebrow-case: none;
  --r: 12px; --r-card: 12px; --r-btn: 8px; --r-img: 12px;
  --card-border: 0; --shadow-card: none; --shadow-pop: 0 6px 20px rgba(0, 0, 0, .18);
  --field-line: #b0b0b0; --soft-line: #dddddd;
  --btn-bg: linear-gradient(to right, #e61e4d 0%, #e31c5f 50%, #d70466 100%);
  --band: #f7f7f7; --band-ink: #222222; --band-muted: #6a6a6a; --band-card: #ffffff; --band-line: #dddddd; --band-accent: #222222;
}
/* every theme has a dark variant: it follows the device unless the visitor picks light or dark (data-mode) */
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"])[data-theme="professional"], :root:not([data-mode="light"]):not([data-theme]) {
    --stone: #0f1a1e; --paper: #15232a; --ink: #e6eeee; --muted: #9fb2b7;
    --sea: #5fb3c4; --on-sea: #0f1a1e; --saffron: #e0ab55; --danger: #f08a75; --good: #7fc28b; --line: #2a3c43; --sea-soft: rgba(95, 179, 196, .1);
    --band: #0a1417; --band-line: #1f2f35;
    color-scheme: dark;
  }
  :root:not([data-mode="light"])[data-theme="enterprise"] {
    --stone: #0b1120; --paper: #111827; --ink: #e5e7eb; --muted: #9ca3af;
    --sea: #60a5fa; --on-sea: #0b1120; --saffron: #60a5fa; --line: #1f2937; --sea-soft: rgba(96, 165, 250, .1);
    --danger: #f87171; --good: #4ade80;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .4);
    --band: #060b16; --band-line: #1f2937;
    color-scheme: dark;
  }
  :root:not([data-mode="light"])[data-theme="cute"] {
    --stone: #1e1626; --paper: #2a2034; --ink: #f6eefa; --muted: #c3b2d4;
    --sea: #ff6b9d; --on-sea: #1e1626; --sea-soft: rgba(255, 107, 157, .14); --saffron: #b89cff;
    --line: #3d2f4b; --good: #6fd49a; --danger: #ff8a80;
    --card-border: 2px solid #3d2f4b; --shadow-card: 0 10px 28px rgba(0, 0, 0, .35); --shadow-pop: 0 12px 32px rgba(0, 0, 0, .5);
    --band: #2f2340; --band-ink: #f6eefa; --band-muted: #c3b2d4; --band-card: rgba(255, 255, 255, .05); --band-line: #43345a; --band-accent: #b89cff;
    color-scheme: dark;
  }
  :root:not([data-mode="light"])[data-theme="touristic"] {
    --stone: #0d1726; --paper: #14233a; --ink: #eaf1f8; --muted: #a5b4c6;
    --sea: #4fa8e8; --on-sea: #0d1726; --sea-soft: rgba(79, 168, 232, .12); --saffron: #f08a55;
    --line: #24364f; --good: #6fcf8a; --danger: #f28b74;
    --shadow-card: 0 12px 30px rgba(0, 0, 0, .35); --shadow-pop: 0 12px 32px rgba(0, 0, 0, .5);
    --band: #081221; --band-line: rgba(255, 255, 255, .1); --book-tint: #10213a;
    color-scheme: dark;
  }
  :root:not([data-mode="light"])[data-theme="airbnb"] {
    --stone: #121212; --paper: #1c1c1c; --ink: #f2f2f2; --muted: #a8a8a8;
    --sea: #ff385c; --sea-soft: rgba(255, 56, 92, .14); --saffron: #f2f2f2;
    --line: #2e2e2e; --good: #4cc764; --danger: #ff7a6b; --field-line: #4a4a4a; --soft-line: #333333;
    --shadow-pop: 0 6px 20px rgba(0, 0, 0, .5);
    --band: #1a1a1a; --band-ink: #f2f2f2; --band-muted: #a8a8a8; --band-card: #222222; --band-line: #333333; --band-accent: #f2f2f2;
    color-scheme: dark;
  }
}
:root[data-mode="dark"][data-theme="professional"], :root[data-mode="dark"]:not([data-theme]) {
  --stone: #0f1a1e; --paper: #15232a; --ink: #e6eeee; --muted: #9fb2b7;
  --sea: #5fb3c4; --on-sea: #0f1a1e; --saffron: #e0ab55; --danger: #f08a75; --good: #7fc28b; --line: #2a3c43; --sea-soft: rgba(95, 179, 196, .1);
  --band: #0a1417; --band-line: #1f2f35;
  color-scheme: dark;
}
:root[data-mode="dark"][data-theme="enterprise"] {
  --stone: #0b1120; --paper: #111827; --ink: #e5e7eb; --muted: #9ca3af;
  --sea: #60a5fa; --on-sea: #0b1120; --saffron: #60a5fa; --line: #1f2937; --sea-soft: rgba(96, 165, 250, .1);
  --danger: #f87171; --good: #4ade80;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .4);
  --band: #060b16; --band-line: #1f2937;
  color-scheme: dark;
}
:root[data-mode="dark"][data-theme="cute"] {
  --stone: #1e1626; --paper: #2a2034; --ink: #f6eefa; --muted: #c3b2d4;
  --sea: #ff6b9d; --on-sea: #1e1626; --sea-soft: rgba(255, 107, 157, .14); --saffron: #b89cff;
  --line: #3d2f4b; --good: #6fd49a; --danger: #ff8a80;
  --card-border: 2px solid #3d2f4b; --shadow-card: 0 10px 28px rgba(0, 0, 0, .35); --shadow-pop: 0 12px 32px rgba(0, 0, 0, .5);
  --band: #2f2340; --band-ink: #f6eefa; --band-muted: #c3b2d4; --band-card: rgba(255, 255, 255, .05); --band-line: #43345a; --band-accent: #b89cff;
  color-scheme: dark;
}
:root[data-mode="dark"][data-theme="touristic"] {
  --stone: #0d1726; --paper: #14233a; --ink: #eaf1f8; --muted: #a5b4c6;
  --sea: #4fa8e8; --on-sea: #0d1726; --sea-soft: rgba(79, 168, 232, .12); --saffron: #f08a55;
  --line: #24364f; --good: #6fcf8a; --danger: #f28b74;
  --shadow-card: 0 12px 30px rgba(0, 0, 0, .35); --shadow-pop: 0 12px 32px rgba(0, 0, 0, .5);
  --band: #081221; --band-line: rgba(255, 255, 255, .1); --book-tint: #10213a;
  color-scheme: dark;
}
:root[data-mode="dark"][data-theme="airbnb"] {
  --stone: #121212; --paper: #1c1c1c; --ink: #f2f2f2; --muted: #a8a8a8;
  --sea: #ff385c; --sea-soft: rgba(255, 56, 92, .14); --saffron: #f2f2f2;
  --line: #2e2e2e; --good: #4cc764; --danger: #ff7a6b; --field-line: #4a4a4a; --soft-line: #333333;
  --shadow-pop: 0 6px 20px rgba(0, 0, 0, .5);
  --band: #1a1a1a; --band-ink: #f2f2f2; --band-muted: #a8a8a8; --band-card: #222222; --band-line: #333333; --band-accent: #f2f2f2;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 1rem/1.6 var(--body); }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; font-family: var(--display); font-weight: var(--h-weight); letter-spacing: var(--h-track); text-wrap: balance; margin: 0; line-height: 1.15; }
a { color: var(--sea); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* demo banner with the theme switcher */
.proto { background: #e0ab55; color: #1a1205; font: 500 .82rem/1.4 "Figtree", system-ui, sans-serif; }
.proto .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding-block: 9px calc(9px + env(safe-area-inset-bottom, 0px)); }
.theme-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.theme-switch b { font-weight: 600; margin-inline-end: 4px; }
.theme-switch button { display: inline-flex; align-items: center; gap: 6px; font: 600 .78rem "Figtree", system-ui, sans-serif; color: #1a1205; background: rgba(255, 255, 255, .45); border: 1px solid rgba(26, 18, 5, .2); border-radius: 999px; padding: 3px 10px 3px 4px; cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: #1a1205; color: #fff; border-color: #1a1205; }
.theme-switch .sw { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; }

/* header */
.site-head { position: sticky; top: 0; z-index: 25; background: color-mix(in srgb, var(--stone) 90%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .2s; }
.site-head.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(0, 0, 0, .06); }
header.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; }
.brand { white-space: nowrap; font-family: var(--display); font-weight: var(--h-weight); font-size: 1.35rem; letter-spacing: var(--brand-track); text-transform: var(--brand-case); color: inherit; text-decoration: none; line-height: 1.2; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav .mode-btn { margin-inline-end: -12px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--sea); }
.head-cta { padding: 9px 16px; font-size: .88rem; white-space: nowrap; }
.flag { width: 21px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); object-fit: cover; flex: none; }
.lang { position: relative; }
.mode-btn { width: 36px; height: 36px; flex: none; display: grid; place-items: center; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; padding: 0; }
.mode-btn .icon { width: 18px; height: 18px; }
.mode-btn:hover { color: var(--sea); }
.mode-btn .i-moon, [data-mode-now="dark"] .mode-btn .i-sun { display: block; }
.mode-btn .i-sun, [data-mode-now="dark"] .mode-btn .i-moon { display: none; }
.lang-btn { min-height: 36px; display: flex; align-items: center; gap: 8px; font: 600 .82rem var(--body); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.lang-btn::after { content: ""; width: 6px; height: 6px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 30; list-style: none; margin: 0; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: max(8px, var(--r)); box-shadow: var(--shadow-pop); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; width: max-content; max-width: calc(100vw - 32px); }
.lang-menu button { display: flex; align-items: center; gap: 10px; width: 100%; font: 500 .9rem var(--body); color: var(--ink); background: none; border: 0; border-radius: calc(var(--r) - 2px); padding: 8px 12px; cursor: pointer; text-align: start; white-space: nowrap; }
.lang-menu button:hover { background: var(--sea-soft); }
.lang-menu button[aria-current="true"] { background: var(--sea); color: var(--on-sea); }

/* buttons */
.btn, .cta { transition: filter .15s, transform .15s; font: 600 .95rem var(--body); background: var(--btn-bg); color: var(--on-sea); border: 0; border-radius: var(--r-btn); padding: 12px 22px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn.ghost, .cta.ghost { background: none; color: var(--sea); border: 1px solid var(--sea); }
.btn.danger { background: var(--danger); color: #fff; }
.btn.ghost.danger { background: none; color: var(--danger); border-color: var(--danger); }
.btn:disabled { opacity: .5; cursor: default; }
.btn:not(:disabled):hover, .cta:hover { filter: brightness(1.08); }
.btn:not(:disabled):active, .cta:active { transform: translateY(1px); }

/* hero: text + photo mosaic */
.hero { padding-block: 28px 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.eyebrow { font-size: .74rem; letter-spacing: .16em; text-transform: var(--eyebrow-case); color: var(--saffron); font-weight: 600; margin-bottom: 10px; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin-inline-end: 10px; opacity: .8; }
[data-theme="airbnb"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
[data-theme="airbnb"] .eyebrow::before, [data-theme="cute"] .eyebrow::before { display: none; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 52ch; margin: 18px 0 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-media { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 5 / 4; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--r-img); background: var(--sea-soft); min-height: 0; }
.hero-media .m1 { grid-row: 1 / 3; }

/* quick booking bar under the hero */
.quick { grid-column: 1 / -1; position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, .6fr) auto; gap: 10px; align-items: end; background: var(--paper); border: var(--card-border); border-radius: calc(var(--r-card) + 4px); box-shadow: var(--shadow-pop); padding: 14px; }
.quick label > span:first-child { color: var(--muted); font-size: .78rem; font-weight: 600; }
.quick .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; white-space: nowrap; }
.quick .btn .icon { width: 18px; height: 18px; }
[data-theme="airbnb"] .quick { border: 1px solid var(--soft-line); border-radius: 999px; padding: 10px 10px 10px 28px; box-shadow: 0 3px 12px rgba(0, 0, 0, .08); }
[data-theme="airbnb"] .quick input, [data-theme="airbnb"] .quick select, [data-theme="airbnb"] .quick .sel-face { border: 0; padding-inline: 0; }
[data-theme="airbnb"] .quick .btn { border-radius: 999px; padding: 14px 22px; }

/* trust strip */
.trust { padding-block: 8px 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border: var(--card-border); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 16px; }
.trust-item .ic { width: 40px; height: 40px; flex: none; border-radius: var(--r); background: var(--sea-soft); color: var(--sea); display: grid; place-items: center; }
.trust-item b { display: block; font-weight: 600; line-height: 1.3; }
.trust-item span { font-size: .85rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }

/* sections */
section.block { padding-block: 48px; }
.block h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 26px; }
.note { color: var(--muted); }
.note strong { color: var(--ink); }

/* tour cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tour { background: var(--paper); border: var(--card-border); border-radius: var(--r-card); box-shadow: var(--shadow-card); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.tour figure { margin: 0; position: relative; aspect-ratio: 16 / 10; background: var(--sea-soft); cursor: pointer; }
.tour figure { overflow: hidden; }
.tour figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tour { transition: transform .25s ease, box-shadow .25s ease; }
  .tour figure img { transition: transform .6s ease; }
  .tour:hover figure img { transform: scale(1.04); }
  .tour:hover { transform: translateY(-3px); box-shadow: var(--shadow-card), 0 16px 32px rgba(0, 0, 0, .10); }
  [data-theme="airbnb"] .tour:hover { transform: none; box-shadow: none; }
}
.tour figcaption, .dlg-media figcaption { position: absolute; inset-inline-end: 0; bottom: 0; font-size: .66rem; line-height: 1.3; padding: 3px 8px; background: rgba(0, 0, 0, .55); color: #fff; border-start-start-radius: 4px; max-width: 100%; }
.tour figcaption a, .dlg-media figcaption a { color: inherit; }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--paper); color: var(--ink); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.tour .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tour .era { font-family: var(--display); color: var(--sea); font-size: .85rem; letter-spacing: .1em; }
[data-theme="enterprise"] .tour .era, [data-theme="cute"] .tour .era, [data-theme="airbnb"] .tour .era { font-family: var(--body); letter-spacing: 0; font-weight: 600; font-size: .8rem; }
.tour h3 { font-size: 1.4rem; cursor: pointer; }
.tour .meta { font-size: .85rem; color: var(--muted); }
.tour p { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tour .foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-variant-numeric: tabular-nums; }
.price b { font-size: 1.15rem; }
.price span { color: var(--muted); font-size: .85rem; }
.tour .acts { display: flex; gap: 8px; }
.tour .acts .btn { padding: 9px 16px; font-size: .9rem; }
.empty { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r); padding: 28px; color: var(--muted); }

/* alternating section backgrounds and the feature band */
section.alt { background: var(--paper); border-block: 1px solid var(--line); }
section.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow { color: var(--band-accent); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: how; }
.how-steps li { position: relative; background: var(--band-card); border: 1px solid var(--band-line); border-radius: var(--r-card); padding: 26px 24px; counter-increment: how; }
.how-steps li::after { content: "0" counter(how); position: absolute; top: 22px; inset-inline-end: 22px; font: 600 .8rem var(--body); letter-spacing: .12em; color: var(--band-muted); }
.how-steps .ic { width: 46px; height: 46px; border-radius: var(--r); display: grid; place-items: center; background: var(--band-accent); color: var(--band); margin-bottom: 16px; }
[data-theme="cute"] .how-steps .ic { border-radius: 50%; color: #fff; }
.how-steps b { display: block; font-family: var(--display); font-weight: var(--h-weight); letter-spacing: var(--h-track); font-size: 1.3rem; line-height: 1.25; margin-bottom: 6px; }
.how-steps p { margin: 0; color: var(--band-muted); }

/* guide */
.guide-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: center; }
.host { background: var(--paper); border: var(--card-border); border-radius: calc(var(--r-card) + 6px); box-shadow: var(--shadow-card), 0 6px 20px rgba(0, 0, 0, .06); padding: 26px; text-align: center; }
.avatar { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; font: var(--h-weight) 3rem var(--display); color: var(--on-sea); background: var(--btn-bg); }
.host h3 { font-size: 1.6rem; }
.host .role { color: var(--muted); font-size: .9rem; }
.host ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; text-align: start; }
.host li { display: flex; gap: 10px; align-items: center; font-size: .92rem; border-top: 1px solid var(--line); padding-top: 8px; }
.host li .icon { color: var(--sea); width: 18px; height: 18px; }
.guide-text p { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }

/* reviews */
.guide-text .reviews-box { margin-top: 24px; background: var(--stone); }
.reviews-box .eyebrow { margin-bottom: 2px; }
.reviews-box { display: flex; gap: 18px; align-items: center; background: var(--paper); border: var(--card-border); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 22px 24px; }
.reviews-box .star { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--sea-soft); color: var(--sea); display: grid; place-items: center; }
.reviews-box h3 { font-size: 1.3rem; }
.reviews-box p { margin: 4px 0 0; color: var(--muted); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.faq-grid h2 { margin-bottom: 14px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--paper); border: var(--card-border); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 4px 20px; }
.faq-list summary { cursor: pointer; font-weight: 600; padding-block: 14px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--sea); font-size: 1.3rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0 0 16px; color: var(--muted); }

/* find us */
.find-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 44px; align-items: center; }
.find-grid h2 { margin-bottom: 14px; }
.find .where { margin: 18px 0 22px; color: var(--ink); }
.map { aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; border: var(--card-border); box-shadow: var(--shadow-card); background: var(--sea-soft); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* booking */
section.book > .wrap { padding-block: 64px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
section.book form { background: var(--paper); border: var(--card-border); border-radius: calc(var(--r-card) + 4px); box-shadow: var(--shadow-card); padding: 26px; }
section.book form .btn[type="submit"] { grid-column: 1 / -1; justify-self: stretch; padding-block: 14px; }
.summary { margin-top: 24px; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--paper); border: var(--card-border); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 14px; }
.summary:has(#sum-img[hidden]) { grid-template-columns: 1fr; }
#sum-img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--r-img); display: block; }
.sum-body { min-width: 0; overflow-wrap: break-word; }
.sum-body .eyebrow { margin-bottom: 2px; }
#sum-title { display: block; font-size: 1.05rem; line-height: 1.3; }
.sum-meta { font-size: .88rem; color: var(--muted); margin-top: 2px; }
.sum-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 10px; font-size: .9rem; }
.sum-total b { margin-inline-start: auto; font-size: 1.15rem; font-variant-numeric: tabular-nums; text-align: end; }
.sum-pay { margin: 6px 0 0; font-size: .82rem; color: var(--good); }
section.book h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 20px; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
label { display: grid; gap: 4px; font-size: .85rem; font-weight: 500; min-width: 0; }
.full { grid-column: 1 / -1; }
input, select, textarea, .sel-face { min-width: 0; font: 400 1rem var(--body); color: var(--ink); background: var(--stone); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; width: 100%; }
[data-theme="airbnb"] input, [data-theme="airbnb"] select, [data-theme="airbnb"] textarea, [data-theme="airbnb"] .sel-face { background: var(--paper); border-color: var(--field-line); }
textarea { min-height: 84px; resize: vertical; }
form .btn[type="submit"] { justify-self: start; }

/* footer */
.site-foot { background: var(--band); color: var(--band-muted); padding-block: 56px 32px; font-size: .92rem; }
.site-foot a, .linkish { color: var(--band-ink); text-decoration: none; }
.site-foot a:hover, .linkish:hover { text-decoration: underline; }
.linkish { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: start; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot .brand small { color: var(--band-muted); }
.foot-brand p { margin: 14px 0 0; max-width: 40ch; }
.site-foot h4 { font: 600 .74rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--band-accent); margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-foot li > a, .site-foot li > .linkish { display: inline-flex; align-items: center; min-height: 38px; padding-block: 4px; }
.site-foot li > .ph { display: inline-block; margin-block: 8px; }
.site-foot .ph { background: var(--band-card); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--band-line); margin-top: 40px; padding-top: 22px; font-size: .82rem; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px; }
.foot-langs button { min-width: 40px; min-height: 36px; display: grid; place-items: center; line-height: 0; background: none; border: 1px solid transparent; border-radius: 6px; padding: 4px; cursor: pointer; }
.foot-langs button[aria-pressed="true"] { border-color: var(--band-accent); }
.ph { background: var(--sea-soft); padding: 0 6px; border-radius: 3px; }

/* tour detail dialog */
dialog.tour-dlg { width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-card); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-pop); overflow: hidden; }
dialog.tour-dlg[open] { display: flex; flex-direction: column; }
dialog.tour-dlg::backdrop { background: rgba(10, 15, 20, .55); }
.dlg-scroll { overflow-y: auto; }
.dlg-media { position: relative; aspect-ratio: 16 / 8; background: var(--sea-soft); }
.dlg-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dlg-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #222; display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.dlg-body { padding: 22px 26px 8px; display: grid; gap: 18px; }
.dlg-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; background: var(--sea-soft); padding: 4px 12px; border-radius: 999px; }
.chips .icon { width: 16px; height: 16px; color: var(--sea); }
.dlg-body h4 { font-size: 1.1rem; margin-bottom: 8px; }
[data-theme="professional"] .dlg-body h4, [data-theme="touristic"] .dlg-body h4 { font-size: 1.25rem; }
.dlg-body p { margin: 0; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 16px 40px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sea); color: var(--on-sea); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 12px; top: 28px; bottom: 2px; border-inline-start: 2px dotted var(--line); }
[dir="rtl"] .steps li { padding: 0 40px 16px 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--good); width: 20px; height: 20px; margin-top: 2px; }
.ticks li.no { color: var(--muted); }
.ticks li.no .icon { color: var(--danger); }
.where { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.where .icon { color: var(--sea); margin-top: 2px; }
.dlg-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 26px; border-top: 1px solid var(--line); background: var(--paper); }

/* mobile booking bar */
.sticky-book { position: fixed; inset-inline: 0; bottom: 0; z-index: 20; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px max(16px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); }

/* toasts: bottom-right on desktop, full width above the booking bar on phones */
.toasts { position: fixed; z-index: 60; inset-inline-end: 24px; bottom: 24px; width: min(400px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { pointer-events: auto; position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: max(12px, var(--r-card)); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 16px 40px rgba(0, 0, 0, .18); padding: 14px 10px 16px 14px; font: 400 .92rem/1.45 var(--body); animation: toast-in .28s cubic-bezier(.2, .9, .3, 1.2); touch-action: pan-y; }
.toast.leaving { animation: toast-out .2s ease forwards; }
.toast-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--sea); }
.toast-success .toast-ic { background: var(--good); }
.toast-error .toast-ic { background: var(--danger); }
.toast-ic svg, .toast-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.toast-body { padding-top: 5px; min-width: 0; overflow-wrap: anywhere; }
.toast-body b { display: block; font-weight: 700; line-height: 1.3; }
.toast-body p { margin: 2px 0 0; color: var(--muted); }
.toast-x { width: 36px; height: 36px; margin: -4px 0 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.toast-x:hover { background: var(--sea-soft); color: var(--ink); }
.toast-bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--sea); transform-origin: left; animation: toast-bar linear forwards; opacity: .7; }
[dir="rtl"] .toast-bar { transform-origin: right; }
.toast-success .toast-bar { background: var(--good); }
.toast-error .toast-bar { background: var(--danger); }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes toast-bar { to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .toast, .toast.leaving { animation-duration: .01ms; } }

/* soft fade-in, only added by the script when motion is allowed */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- theme layout switches ---------- */
/* cute: inset rounded photos, bubbly avatar */
[data-theme="cute"] .tour figure { margin: 12px 12px 0; border-radius: var(--r-img); overflow: hidden; }
[data-theme="cute"] .hero-media img { border-radius: 28px; }
[data-theme="cute"] .hero-media .m1 { border-radius: 120px 28px 28px 28px; }
[data-theme="cute"] .trust-item .ic { border-radius: 50%; }
[data-theme="cute"] .badge { background: var(--saffron); color: #fff; }

/* touristic: full-bleed photo hero with the text over it */
[data-theme="touristic"] .hero { position: relative; padding: 0; margin-bottom: 36px; min-height: min(78vh, 720px); display: grid; align-items: end; overflow: hidden; }
[data-theme="touristic"] .hero-grid { position: static; grid-template-columns: 1fr; padding-block: 120px 64px; }
[data-theme="touristic"] .hero-grid > div:first-child { position: relative; z-index: 1; }
[data-theme="touristic"] .hero-media { position: absolute; inset: 0; display: block; aspect-ratio: auto; }
/* the landscape photo (third) works best full-bleed */
[data-theme="touristic"] .hero-media .m3 { width: 100%; height: 100%; border-radius: 0; }
[data-theme="touristic"] .hero-media .m1, [data-theme="touristic"] .hero-media .m2 { display: none; }
[data-theme="touristic"] .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 24, 44, .35) 0%, rgba(8, 24, 44, .55) 45%, rgba(8, 24, 44, .85) 100%); }
[data-theme="touristic"] .hero h1, [data-theme="touristic"] .hero p.lead { color: #fff; max-width: 20ch; }
[data-theme="touristic"] .hero p.lead { max-width: 56ch; color: rgba(255, 255, 255, .9); }
[data-theme="touristic"] .hero .eyebrow { color: #ffd27a; }
[data-theme="touristic"] .hero .cta.ghost { color: #fff; border-color: rgba(255, 255, 255, .8); }
[data-theme="touristic"] .trust { padding-top: 32px; }
[data-theme="touristic"] .hero-grid { gap: 32px; }
[data-theme="touristic"] .badge { background: var(--saffron); color: #fff; }
[data-theme="touristic"] section.book { background: linear-gradient(180deg, var(--book-tint, #e8f3fb), var(--stone)); }

/* airbnb-style: gallery hero, image-first cards without boxes, plain highlights */
[data-theme="airbnb"] .hero-media { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; border-radius: 16px; overflow: hidden; }
[data-theme="airbnb"] .hero-media img { border-radius: 0; }
[data-theme="airbnb"] .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 20px; }
[data-theme="airbnb"] .tour { background: none; overflow: visible; }
[data-theme="airbnb"] .tour figure { aspect-ratio: 1 / 1; border-radius: var(--r-img); overflow: hidden; }
[data-theme="airbnb"] .tour .body { padding: 12px 2px 0; gap: 4px; }
[data-theme="airbnb"] .tour h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
[data-theme="airbnb"] .tour p { display: none; }
[data-theme="airbnb"] .tour .era { color: var(--muted); }
[data-theme="airbnb"] .tour .foot { padding-top: 4px; }
[data-theme="airbnb"] .tour .acts .btn.ghost { display: none; }
[data-theme="airbnb"] .tour .acts .btn { padding: 7px 14px; font-size: .85rem; }
[data-theme="airbnb"] .trust-item { background: none; padding: 8px 0; border-radius: 0; }
[data-theme="airbnb"] .trust-item .ic { background: none; color: var(--ink); width: 32px; }
[data-theme="airbnb"] .trust-grid { border-block: 1px solid var(--line); padding-block: 18px; }
[data-theme="airbnb"] .host { box-shadow: 0 6px 20px rgba(0, 0, 0, .12); border-radius: 24px; }
[data-theme="airbnb"] .avatar { background: var(--ink); color: var(--paper); }
[data-theme="airbnb"] .faq-list details { border-radius: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
[data-theme="airbnb"] section.book form { border: 1px solid var(--soft-line); box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
[data-theme="airbnb"] .steps li::before { background: var(--ink); color: var(--paper); }

/* enterprise: tighter, flat, squared */
[data-theme="enterprise"] .hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
[data-theme="enterprise"] .trust-item .ic { border-radius: 8px; }

/* admin */
.admin-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.admin { padding-block: 8px 64px; }
.admin-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.admin h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs button { font: 600 .95rem var(--body); background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 10px 14px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--sea); }
.count { font-size: .75rem; background: var(--saffron); color: #1a1205; border-radius: 999px; padding: 1px 7px; margin-left: 6px; }
.rows { display: grid; gap: 10px; }
.row { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.row.booking { grid-template-columns: minmax(0, 1fr) auto; }
.row .ord { font-family: var(--display); font-size: 1.3rem; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.row .t { font-weight: 600; }
.row .s { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.row .acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: end; align-items: center; }
.row .acts .btn { padding: 7px 14px; font-size: .85rem; }
.row .acts select { width: auto; padding: 6px 10px; font-size: .85rem; }
.pill { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; margin-left: 8px; background: var(--sea-soft); color: var(--sea); white-space: nowrap; }
.pill.off, .pill.cancelled { color: var(--danger); background: transparent; border: 1px solid var(--danger); }
.pill.new { color: #1a1205; background: var(--saffron); }
.pill.confirmed { color: var(--good); background: transparent; border: 1px solid var(--good); }
.editor { background: var(--paper); border: 1px solid var(--sea); border-radius: 6px; padding: 24px; margin-top: 20px; }
.editor h3 { font-size: 1.4rem; margin-bottom: 16px; }
.pair-head { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); font-weight: 600; }
.lang-tabs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.lang-tabs button { display: flex; align-items: center; gap: 6px; font: 600 .8rem var(--body); color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.lang-tabs button[aria-selected="true"] { border-color: var(--sea); color: var(--ink); box-shadow: inset 0 0 0 1px var(--sea); }
.lang-tabs button .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.lang-tabs button .dot.filled { background: var(--good); }
.lang-tabs button .dot.req { background: var(--danger); }
.photo-field { grid-column: 1 / -1; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: start; }
.photo-field .preview { aspect-ratio: 16 / 10; border-radius: 6px; background: var(--sea-soft); border: 1px dashed var(--line); overflow: hidden; display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.photo-field .preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-field .controls { display: grid; gap: 10px; }
.photo-field .btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row .tinfo { display: flex; gap: 12px; align-items: center; min-width: 0; }
.row .tinfo > div { min-width: 0; }
.row .thumb { flex: none; width: 64px; aspect-ratio: 16 / 10; border-radius: 4px; object-fit: cover; background: var(--sea-soft); display: block; }
.check { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.check input { width: 20px; height: 20px; accent-color: var(--sea); }
.editor-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.msg { font-size: .9rem; color: var(--muted); }
.msg.err { color: var(--danger); }
.login { max-width: 380px; margin: 40px auto; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.login form { grid-template-columns: 1fr; }
.login h2 { font-size: 1.8rem; margin-bottom: 8px; }
.theme-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.theme-card { display: grid; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 14px; cursor: pointer; text-align: start; font: inherit; color: inherit; }
.theme-card[aria-pressed="true"] { border-color: var(--sea); box-shadow: inset 0 0 0 2px var(--sea); }
.theme-card .swatches { display: flex; gap: 6px; }
.theme-card .swatches i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); }
.theme-card b { font-size: 1.05rem; }
.theme-card span { font-size: .85rem; color: var(--muted); }
.theme-card a { font-size: .85rem; font-weight: 600; }

@media (max-width: 860px) {
  .hero-grid, section.book > .wrap, .guide-card { grid-template-columns: minmax(0, 1fr); }
  .theme-switch button { min-height: 36px; padding-block: 6px; }
  .tour .acts .btn, [data-theme="airbnb"] .tour .acts .btn { min-height: 40px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a:not(.btn) { display: none; }
  .how-steps, .faq-grid, .find-grid { grid-template-columns: 1fr; }
  .faq-grid, .find-grid { gap: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick label:first-child, .quick .btn { grid-column: 1 / -1; }
  [data-theme="airbnb"] .quick { border-radius: 24px; padding: 14px; }
  [data-theme="airbnb"] .quick input, [data-theme="airbnb"] .quick select, [data-theme="airbnb"] .quick .sel-face { border: 1px solid var(--field-line); padding-inline: 12px; }
  .host { max-width: 360px; }
}
@media (max-width: 760px) {
  .grid, form { grid-template-columns: 1fr; }
  [data-theme="airbnb"] .grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .row { grid-template-columns: 2rem minmax(0, 1fr); }
  .row.booking { grid-template-columns: minmax(0, 1fr); }
  .row .acts { grid-column: 1 / -1; justify-content: start; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row .ord { display: none; }
  .row .acts .btn, .row .acts select, .row .acts .sel-face { min-height: 40px; }
  .row .acts select, .row .acts .sel-face { font-size: 16px; }
  .lang-tabs button { min-height: 36px; padding-inline: 12px; }
  .theme-card a { display: inline-flex; align-items: center; min-height: 36px; }
  .admin-acts .btn { padding: 8px 12px; font-size: .85rem; }
  .photo-field { grid-template-columns: 1fr; }
  .lang-menu { grid-template-columns: 1fr; }
  .sticky-book.show { display: flex; }
  #sum-img { width: 64px; height: 64px; }
  header.top .brand { font-size: 1.12rem; }
  header.top .brand small { font-size: .62rem; letter-spacing: .14em; }
  header.top { gap: 10px; }
  .nav { gap: 10px; }
  .nav .mode-btn { margin-inline-end: 0; }
  .quick .btn { width: 100%; }
  .summary { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .toasts { inset-inline: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  body.has-sticky .toasts { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  body.has-sticky footer { padding-bottom: 96px; }
  .dlg-body { padding: 18px 18px 6px; }
  .dlg-foot { padding: 12px 18px; }
  [data-theme="touristic"] .hero-grid { padding-block: 90px 110px; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .quick { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .head-cta { display: none; }
  section.book form { padding: 18px; }
  [data-theme="airbnb"] .grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .quick { grid-template-columns: minmax(0, 1fr); }
  header.top .brand { font-size: 1rem; letter-spacing: min(var(--brand-track), .05em); }
  header.top .brand small { font-size: .56rem; letter-spacing: .08em; }
  .lang-btn { gap: 6px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* dropdowns: our own chevron with room on the right, coloured by the theme (last so it wins over the background shorthands above) */
select, [data-theme] select, .sel-face, [data-theme] .sel-face { -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis; padding-inline-end: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 20px center, right 15px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
[dir="rtl"] select, [dir="rtl"][data-theme] select, [dir="rtl"] .sel-face, [dir="rtl"][data-theme] .sel-face { background-position: left 15px center, left 20px center; }
select:hover, select:focus-visible, .sel:hover .sel-face, .sel:has(select:focus-visible) .sel-face { --muted: var(--sea); }
select::-ms-expand { display: none; }
[data-theme="airbnb"] .quick select, [data-theme="airbnb"] .quick .sel-face { padding-inline-end: 34px; background-position: right 12px center, right 7px center; }
.row .acts select, .row .acts .sel-face { padding: 6px 38px 6px 12px; }
.row .acts .sel { min-width: 150px; }
@media (max-width: 860px) {
  [data-theme="airbnb"] .quick select, [data-theme="airbnb"] .quick .sel-face { padding-inline-end: 42px; background-position: right 20px center, right 15px center; }
}

/* fields that show all their text: growing textareas and the wrapping face of a select */
textarea[data-grow] { resize: none; overflow-wrap: anywhere; }
textarea[data-single] { min-height: 0; line-height: 1.35; }
.sel { position: relative; display: block; min-width: 0; }
.sel-face { display: block; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; pointer-events: none; }
/* the real select sits invisibly on top, so a tap opens the phone's own picker */
.sel > select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.sel:has(select:focus-visible) .sel-face { outline: 2px solid var(--saffron); outline-offset: 2px; }
.sel.is-disabled .sel-face { opacity: .5; }
.sel.is-disabled > select { cursor: default; }

/* newsletter, just above the footer */
section.news { padding-block: 8px 64px; }
.news-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; background: radial-gradient(circle at 100% 0, color-mix(in srgb, var(--band-accent) 12%, transparent) 0 130px, transparent 131px), var(--band); color: var(--band-ink); border-radius: calc(var(--r-card) + 6px); padding: clamp(28px, 5vw, 52px); position: relative; overflow: hidden; }
.news-card .eyebrow { color: var(--band-accent); }
.news-card h2 { color: var(--band-ink); font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 12px; }
.news-copy > p { color: var(--band-muted); margin: 0 0 18px; max-width: 52ch; }
.news-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.news-perks li { display: flex; align-items: flex-start; gap: 10px; color: var(--band-ink); font-size: .95rem; }
.news-perks .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--band-accent); }
.news-form { position: relative; z-index: 1; background: var(--band-card); border: 1px solid var(--band-line); border-radius: var(--r-card); padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.news-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--band-accent); color: var(--band); margin-bottom: 4px; }
.news-ic .icon { width: 22px; height: 22px; }
.news-form label { font-weight: 600; font-size: .9rem; color: var(--band-ink); }
.news-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.news-row textarea, [data-theme] .news-row textarea { width: 100%; max-width: 100%; box-sizing: border-box; background: var(--paper); color: var(--ink); border-color: var(--band-line); font-size: 16px; }
.news-row .btn, .news-row .btn[type="submit"] { white-space: nowrap; min-height: 44px; justify-self: stretch; background: var(--band-accent); color: var(--band); }
.news-fine { margin: 2px 0 0; font-size: .8rem; color: var(--band-muted); }
.hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.hp input { width: 1px; height: 1px; padding: 0; border: 0; }
@media (max-width: 760px) {
  .news-card { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .news-form { padding: 18px; }
}
@media (max-width: 520px) {
  .news-row { grid-template-columns: minmax(0, 1fr); }
  .news-row .btn { width: 100%; }
}
/* admin: newsletter list */
.news-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.news-tools .total { font-weight: 600; margin-inline-end: auto; }

/* admin: analytics */
.st-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.st-head .note { margin: 0; max-width: 60ch; }
.st-range { display: flex; flex-wrap: wrap; gap: 6px; }
.st-range button { font: 600 .85rem var(--body); color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; min-height: 36px; cursor: pointer; }
.st-range button[aria-pressed="true"] { color: var(--on-sea); background: var(--sea); border-color: var(--sea); }
.st-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.st-kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; display: grid; gap: 2px; min-width: 0; }
.st-kpi .k { font-size: .8rem; color: var(--muted); }
.st-kpi b { font-size: 1.6rem; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.2; }
.st-kpi small { font-size: .75rem; color: var(--muted); }
.st-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px; min-width: 0; }
.st-card h3 { font: 600 .95rem var(--body); margin: 0 0 12px; color: var(--ink); }
.st-wide { margin-bottom: 14px; }
.st-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.st-bars { height: 160px; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--line); }
.st-bar { position: relative; flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; cursor: default; outline: none; }
.st-bar i { display: block; width: 100%; background: var(--sea); border-radius: 4px 4px 0 0; opacity: .85; }
.st-bar:hover i, .st-bar:focus-visible i { opacity: 1; }
.st-bar:focus-visible { box-shadow: 0 0 0 2px var(--saffron); border-radius: 4px; }
.st-tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .78rem; background: var(--ink); color: var(--paper); padding: 4px 8px; border-radius: 6px; pointer-events: none; display: none; z-index: 2; }
.st-bar:first-child .st-tip, .st-bar:nth-child(2) .st-tip { left: 0; transform: none; }
.st-bar:last-child .st-tip, .st-bar:nth-last-child(2) .st-tip { left: auto; right: 0; transform: none; }
.st-bar:hover .st-tip, .st-bar:focus-visible .st-tip { display: block; }
.st-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-row { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.st-name { min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
.st-val { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); white-space: nowrap; }
.st-val small { font-weight: 400; color: var(--muted); }
.st-meter { height: 6px; background: var(--line); border-radius: 999px; margin-top: 4px; overflow: hidden; }
.st-meter span { display: block; height: 100%; background: var(--sea); border-radius: 999px; }
.st-none { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .st-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .st-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-grid { grid-template-columns: minmax(0, 1fr); }
  .st-bars { height: 120px; }
}

/* ---------- back office: sidebar + top bar ---------- */
body:has(.bo:not([hidden])) { background: var(--stone); }
.bo { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.bo[hidden], .bo-login[hidden] { display: none; }
.bo-side { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; background: var(--band); color: var(--band-ink); padding: 20px 14px; border-inline-end: 1px solid var(--band-line); }
.bo-brand { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 10px 18px; margin-bottom: 6px; border-bottom: 1px solid var(--band-line); }
.bo-side .brand { color: var(--band-ink); font-size: 1.15rem; }
.bo-side .brand small { color: var(--band-muted); }
.bo-nav { display: grid; gap: 2px; }
.bo-nav button, .bo-link { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--band-muted); font: 500 .95rem var(--body); text-align: start; text-decoration: none; cursor: pointer; }
.bo-nav .icon, .bo-link .icon { width: 20px; height: 20px; flex: none; }
.bo-nav button:hover, .bo-link:hover { background: var(--band-card); color: var(--band-ink); }
.bo-nav button[aria-selected="true"] { background: var(--band-card); color: var(--band-ink); font-weight: 600; }
.bo-nav button[aria-selected="true"]::before { content: ""; position: absolute; inset-inline-start: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--band-accent); }
.bo-nav button[aria-selected="true"] .icon { color: var(--band-accent); }
.bo-nav button:focus-visible, .bo-link:focus-visible, .bo-icon:focus-visible { outline: 2px solid var(--band-accent); outline-offset: -2px; }
.bo-nav .count { margin-inline-start: auto; margin-left: auto; }
.bo-foot { margin-top: auto; display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--band-line); }
.bo-link .i-moon, [data-mode-now="dark"] .bo-link .i-sun { display: block; }
.bo-link .i-sun, [data-mode-now="dark"] .bo-link .i-moon { display: none; }
.bo-main { min-width: 0; display: flex; flex-direction: column; }
.bo-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 18px 36px; background: color-mix(in srgb, var(--stone) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bo-top h1 { font-size: 1.45rem; margin: 0; line-height: 1.2; }
.bo-content { padding: 28px 36px 64px; width: 100%; }
/* scrolled-to parts (tour editor) clear the sticky top bar */
.bo-content [id] { scroll-margin-top: 84px; }
.bo-content > section > .note:first-child, .bo-content .admin-head .note, .bo-content .st-head .note { max-width: 70ch; }
.bo-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 10px; background: none; color: inherit; cursor: pointer; }
.bo-icon .icon { width: 22px; height: 22px; }
.bo-burger { display: none; color: var(--ink); border: 1px solid var(--line); background: var(--paper); }
.bo-close { display: none; color: var(--band-ink); }
.bo-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .45); }
.bo-scrim[hidden] { display: none; }
/* login: a centred card on its own */
.bo-login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: var(--stone); }
.bo-login .login { margin: 0; width: 100%; box-shadow: var(--shadow-card); border-radius: var(--r-card); }
.bo-login-brand { display: block; margin-bottom: 18px; }
@media (max-width: 960px) {
  .bo { grid-template-columns: minmax(0, 1fr); }
  .bo-side { position: fixed; inset-block: 0; inset-inline-start: 0; z-index: 50; width: min(300px, 86vw); transform: translateX(-105%); transition: transform .22s ease; box-shadow: 0 0 40px rgba(0, 0, 0, .3); }
  [dir="rtl"] .bo-side { transform: translateX(105%); }
  .bo-side { visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; }
  .bo-side.open { transform: none; visibility: visible; transition: transform .22s ease; }
  .bo-burger, .bo-close { display: grid; }
  .bo-top { padding: 12px 16px; }
  .bo-top h1 { font-size: 1.25rem; }
  .bo-content { padding: 20px 16px 56px; }
}
@media (prefers-reduced-motion: reduce) { .bo-side { transition: none; } }

/* tour editor: wide drawer from the right */
dialog.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; width: min(860px, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; border: 0; border-inline-start: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: -18px 0 48px rgba(0, 0, 0, .22); display: none; flex-direction: column; overflow: hidden; }
dialog.drawer[open] { display: flex; animation: drawer-in .26s cubic-bezier(.2, .8, .2, 1); }
dialog.drawer.closing { animation: drawer-out .2s ease-in forwards; }
dialog.drawer::backdrop { background: rgba(10, 20, 25, .45); animation: drawer-fade .26s ease; }
dialog.drawer.closing::backdrop { opacity: 0; transition: opacity .2s; }
[dir="rtl"] dialog.drawer { inset: 0 auto 0 0; }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes drawer-fade { from { opacity: 0; } }
html:has(dialog.drawer[open]) { overflow: hidden; }
.drawer-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 16px 28px; border-bottom: 1px solid var(--line); background: var(--paper); }
.drawer-head h3 { margin: 0; font-size: 1.3rem; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.drawer-x { color: var(--ink); }
.drawer-x:hover { background: var(--stone); }
.drawer-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 28px 0; }
/* the save bar stays at the bottom of the drawer while the form scrolls */
.drawer .editor-actions { position: sticky; bottom: 0; z-index: 1; margin: 8px -28px 0; padding: 14px 28px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--line); }
dialog.drawer.editor { margin-top: 0; }
@media (max-width: 640px) {
  .drawer-head { padding: 12px 12px 12px 16px; }
  .drawer-body { padding: 16px 16px 0; }
  .drawer .editor-actions { margin-inline: -16px; padding-inline: 16px; }
  .drawer .photo-field { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { dialog.drawer[open], dialog.drawer::backdrop { animation: none; } }

/* everything clickable shows the hand cursor, including checkbox and radio labels; disabled controls do not */
a[href], button, summary, select, [role="tab"], [role="button"], input[type="checkbox"], input[type="radio"], input[type="file"], input[type="submit"], input[type="button"], label:has(> input[type="checkbox"]), label:has(> input[type="radio"]), label:has(> input[type="file"]) { cursor: pointer; }
button:disabled, select:disabled, input:disabled, label:has(> input:disabled) { cursor: default; }

/* booking form: free places and next dates */
section.book form .avail { margin: -6px 0 2px; font-size: .9rem; color: var(--muted); }
.avail p { margin: 0; }
.avail p.warn { color: var(--danger, #b42318); font-weight: 600; }
.avail .chips-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; }
.chip-btn { font: inherit; font-size: .85rem; color: var(--ink); background: var(--sea-soft); border: 1px solid transparent; border-radius: 999px; padding: 5px 12px; min-height: 32px; }
.chip-btn:hover { border-color: var(--sea); }
.chip-btn:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }

/* reviews */
section.reviews { padding-block: 8px 72px; }
.rev-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.rev-head h2 { margin-bottom: 10px; }
.rev-nav { display: flex; gap: 10px; flex: none; }
.rev-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-card); transition: background-color .2s, color .2s, border-color .2s, opacity .2s, transform .2s; }
.rev-arrow .icon { width: 20px; height: 20px; }
.rev-arrow.prev .icon { transform: scaleX(-1); }
[dir="rtl"] .rev-arrow .icon { transform: scaleX(-1); }
[dir="rtl"] .rev-arrow.prev .icon { transform: none; }
.rev-arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
@media (hover: hover) { .rev-arrow:not(:disabled):hover { background: var(--sea); border-color: var(--sea); color: var(--paper); } }
.rev-arrow:not(:disabled):active { transform: scale(.94); }
.rev-sample { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 4px 12px; }
.rev-title { min-width: 0; }
.rev-static .rev-nav, .rev-static .rev-bar { visibility: hidden; }
.rev-score { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rev-score b { font-size: 2rem; line-height: 1; }
.rev-score > span:last-child { color: var(--muted); }
.stars { color: var(--saffron); letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.stars .off { color: var(--line); }
/* the slider: three cards on wide screens, two on tablets, one and a peek on phones */
.rev-grid { --per: 3; --gap: 20px; display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scrollbar-width: none; padding: 6px 2px 18px; margin: -6px -2px 0; cursor: grab; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
.rev-grid::-webkit-scrollbar { display: none; }
.rev-grid:focus-visible { outline: 2px solid var(--sea); outline-offset: 4px; border-radius: var(--r-card); }
.rev-grid.dragging { cursor: grabbing; user-select: none; }
.rev-grid.dragging figure.rev { pointer-events: none; }
.rev-static .rev-grid { cursor: auto; }
.rev-grid > figure.rev { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); scroll-snap-align: start; min-width: 0; }
@media (max-width: 1020px) { .rev-grid { --per: 2; } }
@media (max-width: 640px) { .rev-grid { --per: 1.12; --gap: 14px; } .rev-arrow { width: 40px; height: 40px; } .rev-head { align-items: center; } .rev-head h2 { margin-bottom: 6px; } }
.rev-bar { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 4px; }
.rev-bar span { display: block; height: 100%; width: 30%; border-radius: inherit; background: var(--sea); transition: transform .12s linear, width .2s; }
figure.rev { margin: 0; display: flex; flex-direction: column; gap: 12px; background: var(--paper); border: var(--card-border); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 22px 24px; }
figure.rev blockquote { margin: 0; flex: 1; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-line; }
figure.rev figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
figure.rev figcaption span { color: var(--muted); }

/* footer contact links */
.site-foot #foot-contact a { color: inherit; }
.foot-social { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; }

/* review page (link sent after the tour) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rv-top { padding-block: 22px 8px; }
.rv-card { max-width: 620px; margin: 12px auto 56px; background: var(--paper); border: var(--card-border); border-radius: calc(var(--r-card) + 4px); box-shadow: var(--shadow-card); padding: 30px; }
.rv-card h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 10px; }
.rv-card form { display: grid; gap: 16px; }
.rv-lead { margin: 0; color: var(--muted); }
.rate { border: 0; margin: 0; padding: 0; min-width: 0; }
.rate legend { font-size: .85rem; font-weight: 500; padding: 0; margin-bottom: 4px; }
/* the stars are written 5 to 1 and laid out reversed, so a chosen or hovered star lights up the ones before it */
.rate-stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-stars label { display: block; font-size: 2.3rem; line-height: 1; padding: 2px 3px; color: var(--line); cursor: pointer; transition: color .12s, transform .12s; }
.rate-stars label:hover, .rate-stars label:hover ~ label, .rate-stars input:checked ~ label { color: var(--saffron); }
.rate-stars label:hover { transform: scale(1.08); }
.rate-stars input:focus-visible + label { outline: 2px solid var(--sea); outline-offset: 2px; border-radius: 4px; }
.rv-msg { margin: 0; color: var(--danger); font-weight: 600; min-height: 0; }
.rv-msg:empty { display: none; }
.rv-card .btn[type="submit"] { justify-self: start; padding-inline: 28px; }
#rv-done { text-align: center; }
#rv-done .rv-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: var(--saffron); background: var(--sea-soft); }
/* an error (bad link) has no title and no star */
#rv-done-title:empty, #rv-done:has(#rv-done-title:empty) .rv-ic { display: none; }
#rv-google-wrap .btn { margin-top: 10px; }
@media (max-width: 520px) { .rv-card { padding: 20px 16px; } .rv-card .btn[type="submit"] { justify-self: stretch; } }

/* ---------- back office: home, calendar, replies, reviews, business ---------- */
.pill.done { color: var(--muted); background: transparent; border: 1px solid var(--line); }
.pill.replied, .pill.pending { color: var(--sea); background: transparent; border: 1px solid var(--sea); }
.pill.approved { color: var(--good); background: transparent; border: 1px solid var(--good); }
.pill.hidden { color: var(--muted); background: transparent; border: 1px solid var(--line); }
.bk-filters, .rv-filters { margin-bottom: 16px; }
dialog.drawer.narrow { width: min(600px, 100vw); }
#reply-drawer .drawer-body, #day-drawer .drawer-body { display: grid; gap: 14px; align-content: start; }
#reply-drawer .drawer-body .editor-actions { margin-top: 0; }
#reply-drawer .lang-tabs button[aria-selected="true"] { border-color: var(--sea); color: var(--ink); box-shadow: inset 0 0 0 1px var(--sea); }
#reply-drawer .editor-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
#reply-drawer .editor-actions .icon { width: 18px; height: 18px; }
.reply-sum { display: grid; gap: 2px; background: var(--stone); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 14px; font-size: .9rem; }
.reply-sum span { color: var(--muted); overflow-wrap: anywhere; }
.reply-sum span:empty { display: none; }
/* reply drawer: three numbered steps */
.r-step { display: grid; gap: 12px; padding-top: 6px; }
.r-step h4 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.05rem; }
.r-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sea); color: var(--on-sea); display: grid; place-items: center; font: 700 .85rem var(--body); }
.r-help, .r-lang-line { margin: 0; color: var(--muted); font-size: .92rem; }
.r-lang-line .linkish { font: 600 .92rem var(--body); color: var(--sea); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }
[data-mode="dark"] .r-lang-line .linkish { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-mode="light"]) .r-lang-line .linkish { color: var(--ink); } }
.r-kinds, .r-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.r-ways { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.r-kind, .r-way { display: flex; align-items: flex-start; gap: 12px; text-align: start; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; cursor: pointer; text-decoration: none; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.r-kind .icon, .r-way .icon { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--sea); }
.r-kind span, .r-way span { display: grid; gap: 3px; min-width: 0; }
.r-kind b, .r-way b { font-size: .98rem; }
.r-kind small, .r-way small { color: var(--muted); font-size: .85rem; line-height: 1.45; }
@media (hover: hover) { .r-kind:hover, .r-way:not(.off):hover { border-color: var(--sea); background: var(--sea-soft); } }
/* the three message kinds look and behave like real buttons: raised, a radio dot, filled when chosen */
.r-kind { position: relative; border-width: 1.5px; background: var(--stone); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 2px 6px rgba(0, 0, 0, .05); padding-inline-end: 42px; }
.r-kind::after { content: ""; position: absolute; top: 14px; inset-inline-end: 14px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
@media (hover: hover) { .r-kind:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, .1); } }
.r-kind:active { transform: translateY(0) scale(.99); }
.r-kind:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.r-kind { transition: border-color .15s, box-shadow .15s, background-color .15s, transform .15s; }
.r-kind[aria-checked="true"], .r-kind[aria-checked="true"]:hover { background: var(--sea); border-color: var(--sea); color: var(--on-sea); box-shadow: 0 6px 18px color-mix(in srgb, var(--sea) 35%, transparent); }
.r-kind[aria-checked="true"] .icon, .r-kind[aria-checked="true"] small { color: var(--on-sea); }
.r-kind[aria-checked="true"] small { opacity: .88; }
.r-kind[aria-checked="true"]::after { border-color: var(--on-sea); background: var(--sea); box-shadow: inset 0 0 0 3px var(--sea), inset 0 0 0 9px var(--on-sea); }
.r-way.off { opacity: .5; cursor: not-allowed; }
.r-done { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--paper); border: 2px solid var(--sea); border-radius: var(--r-card); padding: 14px 16px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .12); }
.r-done p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.r-done-acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* home */
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dash-wide { grid-column: 1 / -1; }
.dash-list { display: grid; gap: 8px; }
.dash-list .row { border-radius: 8px; padding: 10px 12px; background: var(--stone); }
.dash-list .row .t { font-size: .95rem; }
#dash-reviews { display: grid; gap: 10px; justify-items: start; }
#dash-reviews p { margin: 0; }

/* calendar */
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 20px; margin-bottom: 8px; }
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-nav h2 { font-size: 1.5rem; margin: 0 6px; min-width: 9.5em; text-align: center; text-transform: capitalize; }
.cal-nav .btn { padding: 8px 14px; margin-inline-start: 8px; }
.cal-filter { min-width: 240px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-wd { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 0 6px 2px; }
.cal-day { min-height: 116px; display: flex; flex-direction: column; gap: 4px; align-items: stretch; text-align: start; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 8px; min-width: 0; }
.cal-day:hover { border-color: var(--sea); }
.cal-day:focus-visible { outline: 2px solid var(--sea); outline-offset: 1px; }
.cal-day.out { opacity: .5; }
.cal-day.past { background: var(--stone); }
.cal-day.today { border-color: var(--sea); box-shadow: inset 0 0 0 1px var(--sea); }
.cal-day.closed { background: repeating-linear-gradient(135deg, var(--paper) 0 8px, var(--stone) 8px 16px); }
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.cal-n { font-weight: 700; font-variant-numeric: tabular-nums; }
.cal-day.today .cal-n { color: var(--sea); }
.cal-badge { font-size: .72rem; font-weight: 700; color: #1a1205; background: var(--saffron); border-radius: 999px; padding: 1px 7px; white-space: nowrap; }
.cal-closed { font-size: .75rem; font-weight: 700; color: var(--danger); text-transform: uppercase; letter-spacing: .06em; }
.cal-slots { display: grid; gap: 2px; min-width: 0; }
.cal-slot { display: flex; align-items: center; gap: 5px; font-size: .74rem; line-height: 1.35; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cal-slot.some { color: var(--ink); font-weight: 600; }
.cal-slot.full { color: var(--danger); font-weight: 600; }
.cal-slot.extra { color: var(--sea); font-weight: 600; }
.cal-slot i, .cal-dots i, .day-slot i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--tc, var(--sea)); }
.cal-dots { display: none; flex-wrap: wrap; gap: 3px; }
/* one colour per tour, in the tours' order */
.c1 { --tc: #0e7490; } .c2 { --tc: #b45309; } .c3 { --tc: #7c3aed; } .c4 { --tc: #be185d; } .c5 { --tc: #15803d; } .c6 { --tc: #475569; }
:root[data-mode-now="dark"] .c1 { --tc: #22d3ee; } :root[data-mode-now="dark"] .c2 { --tc: #fbbf24; } :root[data-mode-now="dark"] .c3 { --tc: #a78bfa; }
:root[data-mode-now="dark"] .c4 { --tc: #f472b6; } :root[data-mode-now="dark"] .c5 { --tc: #4ade80; } :root[data-mode-now="dark"] .c6 { --tc: #94a3b8; }
.day-sec { display: grid; gap: 8px; }
.day-sec .check { font-size: .9rem; }
.day-sec p { margin: 0; }
.day-slot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.day-slot span { color: var(--muted); font-size: .9rem; margin-inline-start: auto; }
.day-sec .row { background: var(--stone); border-radius: 8px; padding: 10px 12px; }

/* tour editor: weekdays */
.days { border: 0; margin: 0; padding: 0; min-width: 0; }
.days legend { font-size: .85rem; font-weight: 500; padding: 0; margin-bottom: 6px; }
.day-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.day-checks .check { gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 8px; font-size: .9rem; }
.day-checks .check:has(input:checked) { border-color: var(--sea); box-shadow: inset 0 0 0 1px var(--sea); }
.day-checks .check input { width: 18px; height: 18px; }

/* reviews */
.review-row .stars-a { color: var(--saffron); letter-spacing: 1px; }
.review-row .rv-text { margin: 6px 0; white-space: pre-line; overflow-wrap: anywhere; max-width: 75ch; }

/* business details */
.biz-form { max-width: 980px; }

@media (max-width: 900px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .cal-grid { gap: 3px; }
  .cal-day { min-height: 64px; padding: 5px; border-radius: 6px; }
  .cal-slots, .cal-closed { display: none; }
  .cal-dots { display: flex; }
  .cal-badge { font-size: .66rem; padding: 0 5px; }
  .cal-badge .u { display: none; }
  .cal-top { flex-wrap: wrap; }
  .cal-wd { padding-inline: 2px; letter-spacing: 0; text-align: center; }
  .cal-nav h2 { font-size: 1.2rem; min-width: 0; }
  .cal-filter { min-width: 0; width: 100%; }
}
