:root {
  --accent: #C4693D;
  --ink: #1f1b17;
  --muted: #6d655d;
  --bg: #fbf8f4;
  --band: #f3ede5;
  --line: #e6ddd2;
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--accent); margin-bottom: .8rem; }
.section-head { margin-bottom: 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: .8rem 1.3rem; border-radius: 999px; transition: transform .25s, box-shadow .25s, filter .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px var(--accent); filter: brightness(1.05); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 32px; color: #fff; transition: background .35s, color .35s, padding .35s, box-shadow .35s; }
.nav.scrolled { background: rgba(251,248,244,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); padding: 12px 32px; box-shadow: 0 1px 0 var(--line); }
.brand { font-family: var(--serif); font-size: 1.4rem; text-decoration: none; }
.nav-links { display: flex; gap: 28px; font-size: .93rem; }
.nav-links a { text-decoration: none; opacity: .85; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 0; overflow: hidden; color: #fff; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 2.4s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.65) 100%); }
.hero-inner { position: relative; max-width: 1180px; margin: 0 auto; width: 100%; padding: 0 24px 12vh; animation: fadeUp 1.1s .3s both; }
.hero .eyebrow { color: #fff; opacity: .9; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 14ch; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 40ch; margin: 1.2rem 0 2rem; opacity: .92; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.price { font-size: .98rem; opacity: .95; }
.price strong { font-size: 1.25rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* Stats */
.stats { max-width: 980px; margin: -56px auto 0; position: relative; z-index: 2; background: #fff; border-radius: var(--radius); box-shadow: 0 20px 50px -24px rgba(40,25,10,.25); display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); padding: 28px 12px; }
.stat { text-align: center; padding: 6px 12px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.stat span { color: var(--muted); font-size: .88rem; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.prose p { color: var(--muted); font-size: 1.07rem; margin-bottom: 1rem; }
.prose-p { color: var(--muted); font-size: 1.07rem; }
.about-media { position: relative; }
.about-img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: 14px; cursor: zoom-in; background: var(--band); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.g-item:hover img { transform: scale(1.06); }
.g-item figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .8rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: .3s; }
.g-item:hover figcaption { opacity: 1; transform: none; }
.g-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(6n+4) { grid-column: span 2; }

/* Bands */
.band { background: var(--band); }
.amenities { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.amenities li { display: flex; align-items: center; gap: 14px; background: #fff; padding: 18px 20px; border-radius: 14px; font-weight: 500; transition: transform .25s; }
.amenities li:hover { transform: translateY(-3px); }
.amenities svg { color: var(--accent); width: 22px; height: 22px; flex: none; }

/* Location */
.location { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--band); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.8); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review { background: #fff; padding: 28px; border-radius: var(--radius); }
.review .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; margin-bottom: 18px; }
.review .who { color: var(--muted); font-size: .9rem; }
.review .who b { color: var(--ink); }

/* Rules + FAQ */
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.rules { list-style: none; padding: 0; }
.rules li { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rules svg { color: var(--accent); width: 18px; height: 18px; flex: none; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 10px; }

/* Final CTA */
.cta-final { text-align: center; padding: 110px 24px; }
.contact-line { color: var(--muted); margin: 0 0 32px; }
.contact-line a { text-decoration: none; border-bottom: 1px solid var(--line); }
.dot { margin: 0 10px; }
.note { color: var(--muted); font-size: .88rem; margin-top: 14px; }
.footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 32px 24px 40px; border-top: 1px solid var(--line); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,12,10,.94); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: 88vw; max-height: 86vh; text-align: center; }
.lightbox img { max-width: 88vw; max-height: 78vh; border-radius: 10px; margin: 0 auto; }
.lightbox figcaption { color: #ddd; margin-top: 12px; font-size: .9rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* Mobile bar */
.mobile-bar { display: none; }

@media (max-width: 900px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav { padding: 14px 16px; }
  .nav.scrolled { padding: 10px 16px; }
  .container { padding: 0 16px; }
  .hero-inner { padding: 0 16px 14vh; }
  .stats { margin: -40px 16px 0; grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stat:nth-child(3) { border-left: 0; }
  .about, .location, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-item:nth-child(6n+4) { grid-column: span 2; }
  .lb-prev, .lb-next { bottom: 24px; top: auto; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .mobile-bar span { color: var(--muted); font-size: .9rem; }
  .footer { padding-bottom: 110px; }
  .nav .btn-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-img { transform: none; }
}

/* =====================================================================
   Owner editing mode
   ===================================================================== */
.edit-bar, .edit-only, .ctl, .add-btn, .icon-pick, .modal, .drawer { display: none; }
img.empty { min-height: 160px; background: repeating-linear-gradient(45deg, var(--band), var(--band) 10px, #ece4da 10px, #ece4da 20px); }

body.editing { padding-top: 56px; }
body.editing .nav { top: 56px; }
body.editing .edit-bar { display: flex; }
body.editing:not(.previewing) .edit-only { display: inline-flex; }
body.editing:not(.previewing) p.edit-only { display: block; }

.edit-bar { position: fixed; top: 0; left: 0; right: 0; height: 56px; z-index: 90; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; background: #1f1b17; color: #fff; font-size: .9rem; }
.edit-status { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edit-actions { display: flex; gap: 8px; flex: none; }
.eb-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 14px; font: 600 .88rem var(--sans); cursor: pointer; background: rgba(255,255,255,.12); color: #fff; transition: background .2s, transform .2s; }
.eb-btn:hover { background: rgba(255,255,255,.22); }
.eb-btn svg { width: 16px; height: 16px; }
.eb-save { background: var(--accent); }
.eb-save:hover { background: var(--accent); filter: brightness(1.1); }
.eb-save.pulse { animation: pulse 1.6s infinite; }
.eb-btn:disabled { opacity: .6; cursor: wait; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } }
.eb-ghost { background: var(--band); color: var(--ink); margin-top: 8px; }
.eb-ghost:hover { background: var(--line); }

/* editable text */
body.editing:not(.previewing) [contenteditable] { outline: 1.5px dashed rgba(196,105,61,.55); outline-offset: 4px; border-radius: 4px; cursor: text; transition: outline-color .2s, background .2s; min-width: 1ch; }
body.editing:not(.previewing) [contenteditable]:hover { outline-color: var(--accent); }
body.editing:not(.previewing) [contenteditable]:focus { outline: 2px solid var(--accent); background: rgba(255,255,255,.12); }
.hero [contenteditable]:focus { background: rgba(0,0,0,.25) !important; }
[contenteditable]:empty::before { content: "Scrivi qui…"; opacity: .5; }
.pre { white-space: pre-wrap; color: var(--muted); font-size: 1.07rem; }
body.editing:not(.previewing) img[data-src]:not(.hero-img) { cursor: pointer; }

/* photo buttons */
.photo-btn { position: absolute; z-index: 3; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,.95); color: var(--ink); font: 600 .85rem var(--sans); cursor: pointer; box-shadow: 0 6px 18px -6px rgba(0,0,0,.35); display: inline-flex; }
.photo-btn svg { width: 16px; height: 16px; }
.hero-photo-btn { top: 96px; right: 24px; }
.about-media .photo-btn { bottom: 16px; right: 16px; }
.g-item .photo-btn { bottom: 10px; right: 10px; padding: 6px 10px; font-size: .78rem; }
body.editing .g-item figcaption { opacity: 1; transform: none; }
body.editing .g-item { cursor: default; }

/* list controls */
body.editing:not(.previewing) .ctl { display: flex; gap: 4px; position: absolute; top: 8px; right: 8px; z-index: 4; }
.item { position: relative; }
.ctl button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.ctl button svg { width: 15px; height: 15px; }
.ctl button:disabled { opacity: .35; cursor: default; }
.ctl .danger { color: #b3261e; }
.stat .ctl { position: static; justify-content: center; margin-bottom: 6px; }
.rules .ctl, .faq-edit .ctl { position: static; order: 2; margin-left: auto; }
.amenities .ctl { top: 50%; transform: translateY(-50%); }
.rules li { flex-wrap: nowrap; }
.faq-edit { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq-edit b { flex: 1 1 60%; }
.faq-edit p { flex-basis: 100%; color: var(--muted); order: 3; }
.icon-pick { margin-left: auto; margin-right: 110px; font: .8rem var(--sans); border: 1px solid var(--line); border-radius: 8px; padding: 4px; background: #fff; }
body.editing:not(.previewing) .icon-pick { display: block; }
body.editing:not(.previewing) .add-btn { display: inline-flex; }
.add-btn { align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed var(--accent); color: var(--accent); background: transparent; border-radius: 14px; padding: 14px 18px; font: 600 .9rem var(--sans); cursor: pointer; min-height: 56px; transition: background .2s; }
.add-btn:hover { background: rgba(196,105,61,.08); }
.add-btn svg { width: 18px; height: 18px; }
.gallery .add-btn { height: 100%; }
.rules + .add-btn, .faq .add-btn { margin-top: 14px; }

/* login modal */
.modal.open { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: rgba(20,16,12,.55); backdrop-filter: blur(6px); padding: 16px; }
.modal-card { background: #fff; border-radius: 20px; padding: 32px 28px; width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.modal-card h3 { font: 500 1.6rem var(--serif); }
.modal-card p { color: var(--muted); font-size: .95rem; }
.modal-card input { font: 1rem var(--sans); padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; outline: none; }
.modal-card input:focus { border-color: var(--accent); }
.modal-card .btn { justify-content: center; border: 0; cursor: pointer; font-size: 1rem; }
.form-error { color: #b3261e !important; min-height: 1.2em; font-size: .88rem !important; }
.modal-link { font-size: .88rem; color: var(--muted); }

/* settings drawer */
.drawer { display: flex; flex-direction: column; gap: 16px; position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 100%); z-index: 150; background: #fff; padding: 20px 22px 40px; overflow-y: auto; box-shadow: -20px 0 50px -20px rgba(0,0,0,.3); transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { font: 500 1.5rem var(--serif); }
.drawer-close { position: static; background: var(--band); color: var(--ink); width: 38px; height: 38px; }
.drawer label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
.drawer small { font-weight: 400; color: var(--muted); }
.drawer input, .drawer textarea { font: .95rem var(--sans); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; resize: vertical; }
.drawer input:focus, .drawer textarea:focus { border-color: var(--accent); }
.color-row { flex-direction: row !important; align-items: center; justify-content: space-between; }
.color-row input { width: 56px; height: 40px; padding: 2px; cursor: pointer; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); background: #1f1b17; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .3s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .eb-btn span { display: none; }
  .eb-save span { display: inline; }
  .eb-btn { padding: 9px 12px; }
  .hero-photo-btn { top: 128px; right: 16px; }
  .toast { bottom: 90px; }
  .icon-pick { margin-right: 100px; }
}

/* =====================================================================
   Languages
   ===================================================================== */
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); color: inherit; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 6px 12px; font: 600 .82rem var(--sans); cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.nav.scrolled .lang-btn { background: transparent; border-color: var(--line); }
.lang-btn:hover { background: rgba(255,255,255,.25); }
.lang-btn svg { width: 15px; height: 15px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; background: #fff; color: var(--ink); border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.3); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .2s; z-index: 70; }
.lang.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 12px; border-radius: 9px; font: .92rem var(--sans); cursor: pointer; color: var(--ink); }
.lang-menu button:hover { background: var(--band); }
.lang-menu button.on { font-weight: 600; color: var(--accent); }

/* editing languages */
.edit-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.edit-lang { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 7px 10px; font: 600 .85rem var(--sans); max-width: 170px; }
.edit-lang option { color: #111; }
body.editing:not(.previewing) [contenteditable].untranslated { outline: 2px dashed #e0a100; background: rgba(255, 210, 60, .16); }
.lang-settings { background: var(--band); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.ls-title { font-weight: 600; font-size: .9rem; display: flex; flex-direction: column; gap: 4px; }
.lang-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.lang-checks .lc { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 500 !important; font-size: .88rem !important; }
.lang-checks input { width: 16px; height: 16px; accent-color: var(--accent); }
.drawer select { font: .95rem var(--sans); padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.ls-hint { font-size: .82rem; color: var(--muted); }

@media (max-width: 900px) {
  .edit-status { display: none; }
  .edit-lang { max-width: 140px; }
}
body:not(.editing) .edit-only, body.previewing .edit-only { display: none !important; }

/* ---- Contacts (booking by phone) ---- */
.cta-final { padding: 100px 24px 110px; }
.cta-final .note { font-size: 1rem; max-width: 46ch; margin: 0 auto 36px; }
.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; max-width: 900px; margin: 0 auto; }
.person { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 24px; width: min(100%, 340px); display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: 0 18px 40px -28px rgba(40,25,10,.35); transition: transform .3s; }
.person:hover { transform: translateY(-3px); }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--band); color: var(--accent); font: 500 1.5rem var(--serif); margin-bottom: 6px; }
.p-name { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.p-phone { color: var(--muted); text-decoration: none; font-size: 1.05rem; letter-spacing: .02em; }
.p-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.p-actions .btn svg { width: 16px; height: 16px; }
.btn-wa { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-wa:hover { box-shadow: 0 10px 24px -10px rgba(0,0,0,.25); }
.btn-wa svg { color: #25a35a; }
.people .add-btn { width: min(100%, 340px); }
.person .ctl { top: 10px; right: 10px; }
#contact-email-wrap { margin: 28px 0 0; display: inline-flex; align-items: center; gap: 8px; }
#contact-email-wrap svg { width: 16px; height: 16px; color: var(--accent); }
.footer p + p { margin-top: 4px; }
.two-col.one-col { grid-template-columns: minmax(0, 760px); justify-content: center; }
.check-row { flex-direction: row !important; align-items: center; gap: 10px !important; }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); }

/* Real photos are portrait: keep the view (hills) in frame */
.hero-img { object-position: center 38%; }
.gallery { grid-auto-rows: 240px; }
/* Gallery: only the first photo is big, so the shower photo doesn't dominate */
.g-item:nth-child(6n+1) { grid-column: auto; grid-row: auto; }
.g-item:first-child { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(6n+4) { grid-column: auto; }
.g-item:nth-child(4) { grid-column: span 2; }
.mobile-bar > .btn:only-child, .mobile-bar .price-wrap[style*="none"] + .btn { flex: 1; justify-content: center; }
@media (max-width: 900px) { .g-item:first-child { grid-row: span 2; } }
.codes .sep { margin: 0 10px; }
/* crisper downscaling of photos in the grid */
.g-item img, .about-img { image-rendering: auto; backface-visibility: hidden; }

/* ---- Map: blocked until cookie consent ---- */
.map { position: relative; }
.map-consent { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px; text-align: center; background: var(--band); color: var(--muted); font-size: .95rem; }
.map-consent > svg { width: 30px; height: 30px; color: var(--accent); }
.map-consent p { max-width: 36ch; }
.map.blocked .map-consent { display: flex; }
.map-consent .btn { border: 0; cursor: pointer; font: 600 .9rem var(--sans); }

/* ---- Useful info ---- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; padding: 20px 22px; border-radius: 14px; }
.info-item > svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.info-text { flex: 1; min-width: 0; }
.info-text b { display: block; font-weight: 600; margin-bottom: 4px; }
.info-text p { color: var(--muted); font-size: .95rem; white-space: pre-line; overflow-wrap: anywhere; }
.info-item .icon-pick { position: absolute; bottom: 10px; right: 10px; margin: 0; }
body.editing .info-item { padding-bottom: 48px; }
.info-item .ctl { top: 8px; right: 8px; }
.info-hint { margin-top: 12px; max-width: 70ch; background: #fff7df; border: 1px solid #f0dca0; color: #6b5a1f; padding: 10px 14px; border-radius: 10px; font-size: .9rem; }
.info-grid .add-btn { min-height: 80px; }

/* ---- Cookie banner ---- */
.cookie { position: fixed; left: 50%; bottom: 20px; z-index: 120; width: min(720px, calc(100% - 32px)); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 18px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: 0 24px 60px -20px rgba(30,20,10,.35); transition: opacity .35s, transform .35s; font-size: .92rem; }
.cookie.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cookie p { flex: 1; color: var(--muted); }
.cookie p a { color: var(--accent); }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie .btn { border: 0; cursor: pointer; font: 600 .9rem var(--sans); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: .55rem 1.05rem; font: 600 .9rem var(--sans); cursor: pointer; transition: background .2s; }
.btn-ghost:hover { background: var(--band); }
body.editing .cookie { display: none; }

/* ---- Footer links + privacy ---- */
.footer-links { margin-top: 10px; }
.footer-links a { color: var(--muted); }
.footer-links .sep { margin: 0 10px; }
.privacy-card { max-width: 680px; max-height: 84vh; overflow-y: auto; text-align: left; position: relative; padding: 36px 32px; }
.privacy-card h3 { padding-right: 40px; }
.privacy-body p { color: var(--muted); font-size: .95rem; margin-bottom: .9rem; }
.privacy-close { position: absolute !important; top: 16px; right: 16px; }

@media (max-width: 900px) {
  .cookie { flex-direction: column; align-items: stretch; bottom: 12px; padding: 16px; }
  .cookie-actions > * { flex: 1; justify-content: center; }
  .privacy-card { padding: 28px 20px; }
}
body.editing .info-item { padding-top: 48px; }
.edit-lang { max-width: 210px !important; }

/* Amenities while editing: label on top, icon menu on its own line */
body.editing:not(.previewing) .amenities li { flex-wrap: wrap; align-items: center; padding: 50px 18px 16px; row-gap: 12px; }
body.editing:not(.previewing) .amenities li > span { flex: 1 1 0; min-width: 0; }
body.editing:not(.previewing) .amenities .icon-pick { flex: 1 1 100%; margin: 0; width: 100%; max-width: none; padding: 6px 8px; }
body.editing:not(.previewing) .amenities .ctl { top: 10px; right: 10px; transform: none; }
.icon-pick-label { display: none; }
