:root {
  --ink: #171613;
  --paper: #f1eee7;
  --ivory: #fbf9f4;
  --bronze: #b98952;
  --cta-accent: #b98952;
  --cta-accent-hover: #c99a63;
  --stone: #d4cec2;
  --line: rgba(23, 22, 19, 0.18);
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-header {
  position: absolute; z-index: 10; top: 0; left: 0; right: 0;
  height: 88px; padding: 0 clamp(22px, 4vw, 68px); display: flex; align-items: center;
  justify-content: space-between; color: white; border-bottom: 1px solid rgba(255,255,255,.35);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.05rem; letter-spacing: .02em; }
.brand-mark { width: 20px; height: 19px; border: 1px solid currentColor; border-top: 0; position: relative; }
.brand-mark::before { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid currentColor; border-right: 0; border-bottom: 0; transform: rotate(45deg); top: -8px; left: 2px; }
.desktop-nav { display: flex; gap: 34px; font-size: .84rem; }
.desktop-nav a { position: relative; padding-bottom: 5px; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
/* La linea "si sposta": ogni voce cresce dal lato rivolto alla pagina attuale, che intanto si ritira verso la voce puntata */
.desktop-nav a:has(~ a[aria-current="page"])::after { transform-origin: right; }
.desktop-nav[data-line-dir="right"] a[aria-current="page"]::after { transform-origin: right; }
.desktop-nav:has(a:not([aria-current]):hover, a:not([aria-current]):focus-visible) a[aria-current="page"]::after { transform: scaleX(0); }
.language { transition: opacity .2s ease; }
.language:hover { opacity: .65; }
@media (prefers-reduced-motion: reduce) { .desktop-nav a::after { transition: none; } }
.header-actions { display: flex; align-items: center; gap: 22px; }
.mobile-menu-toggle { display: none; }
.mobile-menu { display: none; }
.language { color: white; background: transparent; border: 0; cursor: pointer; font-size: .78rem; letter-spacing: .12em; padding: 8px; }
.header-cta { border: 1px solid rgba(255,255,255,.65); padding: 11px 17px; font-size: .82rem; }

.hero { min-height: 780px; height: 100svh; position: relative; color: white; display: flex; align-items: flex-end; overflow: hidden; }
.hero-image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 53%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,9,.35) 0%, rgba(12,11,9,.05) 38%, rgba(12,11,9,.72) 100%); }
.hero-copy { position: relative; z-index: 1; margin: 0 clamp(22px, 7.5vw, 130px) 190px; max-width: 840px; }
.eyebrow { text-transform: uppercase; font-size: .72rem; letter-spacing: .24em; font-weight: 600; margin: 0 0 18px; }
.hero h1 { font-family: var(--serif); font-size: clamp(4.5rem, 9.5vw, 9.2rem); font-weight: 400; line-height: .8; letter-spacing: -.04em; margin: 0; }
.word-shuffle-connector { position: relative; display: inline-block; white-space: pre; vertical-align: baseline; will-change: width; }
.word-shuffle-connector-label { display: inline-block; white-space: pre; will-change: transform, opacity; }
.word-shuffle-connector-roma { position: absolute; left: 0; top: 0; opacity: 0; }
.word-shuffle { display: inline-flex; min-width: 2.48em; white-space: nowrap; }
.word-shuffle-letter { display: inline-block; min-width: .57em; text-align: center; backface-visibility: hidden; will-change: transform; }
.hero-intro { font-size: clamp(1rem, 1.5vw, 1.2rem); margin: 28px 0 0; max-width: 510px; }
.booking-bar { position: absolute; z-index: 2; left: 50%; bottom: 34px; transform: translateX(-50%); width: min(1120px, calc(100% - 44px)); min-height: 112px; background: var(--ivory); color: var(--ink); display: grid; grid-template-columns: 1fr 1px 1fr 1px .65fr 1.2fr; align-items: center; padding: 18px; box-shadow: 0 20px 55px rgba(0,0,0,.2); }
.booking-bar label, .booking-bar .date-trigger { display: grid; gap: 8px; padding: 0 22px; }
.booking-bar label > span, .booking-bar .date-trigger > span { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.booking-bar input, .booking-bar select { border: 0; padding: 0; background: transparent; color: var(--ink); min-width: 0; outline-offset: 5px; }
.booking-bar .date-trigger { border: 0; height: auto; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font-weight: 400; }
.booking-bar .date-trigger strong { font-weight: 400; }
.booking-bar .divider { height: 48px; background: var(--line); }
.booking-bar > button[type="submit"], .summary-card button { border: 0; color: white; background: var(--ink); height: 64px; padding: 0 24px; cursor: pointer; font-weight: 600; transition: background .2s ease; }
.booking-bar > button[type="submit"]:hover, .summary-card button:hover { background: #34312b; }
.sleeping-notice[hidden], .guest-bed-card[hidden], .selected-stay[hidden], .no-results[hidden] { display: none; }
.sleeping-notice { position: absolute; z-index: 4; right: clamp(22px, 7.5vw, 130px); bottom: 164px; width: min(620px, calc(100% - 44px)); display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 18px; background: var(--ivory); color: var(--ink); border-left: 5px solid var(--bronze); box-shadow: 0 18px 55px rgba(0,0,0,.28); }
.sleeping-notice-close { position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--ink); font-size: 1.35rem; line-height: 1; cursor: pointer; }
.sleeping-preview, .guest-bed-visual { min-height: 122px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ivory); background: linear-gradient(145deg, #8d8477, #292722); }
.sleeping-preview span, .guest-bed-visual span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.sleeping-notice .eyebrow { margin: 0 30px 8px 0; color: var(--bronze); }
.sleeping-notice strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.15; }
.sleeping-notice p:last-child { margin: 8px 24px 0 0; color: #625e57; font-size: .78rem; line-height: 1.45; }

.section { padding: clamp(82px, 10vw, 150px) clamp(22px, 7.5vw, 130px); }
.section-kicker { display: flex; gap: 16px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 600; }
.section-kicker span:first-child { color: var(--bronze); }
.intro-grid { margin-top: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(60px, 12vw, 190px); align-items: start; }
h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; line-height: .98; font-size: clamp(3.2rem, 6vw, 6.3rem); margin: 0; }
.intro-body { max-width: 560px; padding-top: 10px; }
.intro-body .lead { font-family: var(--serif); font-size: clamp(1.65rem, 2.6vw, 2.6rem); line-height: 1.22; margin: 0 0 34px; }
.intro-body > p:last-child { color: #5b5750; max-width: 500px; }

.gallery { padding-top: 0; display: grid; grid-template-columns: 1.65fr .85fr; grid-template-rows: 320px 320px; gap: 16px; }
.gallery-main { grid-row: 1 / 3; }
.image-panel { position: relative; overflow: hidden; }
.image-panel img { height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); transition: transform .7s ease; }
.image-panel:hover img { transform: scale(1.02); }
.image-panel span { position: absolute; left: 22px; bottom: 18px; color: white; font-size: .76rem; letter-spacing: .08em; }
.gallery-placeholder { padding: 36px; display: flex; flex-direction: column; justify-content: space-between; }
.gallery-placeholder.dark { background: var(--ink); color: var(--ivory); }
.gallery-placeholder.light { background: #d8d0c2; }
.gallery-placeholder span { font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); }
.gallery-placeholder p { font-size: 1rem; max-width: 310px; margin: 0; }
.gallery-placeholder .line-icon { width: 45px; height: 45px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.gallery-placeholder .line-icon::after { content: "+"; font-family: var(--sans); font-size: 1.2rem; position: absolute; inset: 0; display: grid; place-items: center; }

.facts { background: var(--ivory); }
.facts-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; margin: 58px 0 88px; }
.facts-head p { color: #625e57; max-width: 420px; margin: 0 0 8px; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-grid article { min-height: 190px; padding: 30px 24px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.fact-grid article:first-child { padding-left: 0; }
.fact-grid article:last-child { border-right: 0; }
.fact-grid strong { font-family: var(--serif); font-size: clamp(2.8rem, 4.5vw, 5rem); font-weight: 400; line-height: 1; }
.fact-grid span { font-size: .83rem; max-width: 170px; }
.amenities { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 30px 0 0; margin: 0; }
.amenities li { border: 1px solid var(--line); border-radius: 999px; padding: 9px 17px; font-size: .8rem; }

.location { background: var(--ink); color: var(--ivory); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(60px, 12vw, 170px); align-items: end; }
.location-card > p:last-child { color: #bcb6aa; max-width: 540px; margin: 40px 0 0; }
.walk-times { border-top: 1px solid rgba(255,255,255,.2); }
.walk-times p { display: flex; justify-content: space-between; margin: 0; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.walk-times strong { font-weight: 500; color: var(--bronze); }

.availability { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(55px, 11vw, 160px); align-items: center; }
.availability > div:first-child > p:not(.eyebrow) { color: #625e57; max-width: 540px; }
.availability h2 { margin-bottom: 30px; }
.availability .long-stay { color: var(--ink) !important; font-weight: 600; margin-top: 28px; }
.availability .ask-first { margin-top: 14px; font-size: .92rem; }
.availability .ask-first a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 4px; transition: color .2s ease; }
.availability .ask-first a:hover { color: #7c5a36; }
.summary-card { background: var(--ivory); padding: clamp(26px, 4vw, 48px); box-shadow: 0 24px 70px rgba(53,43,28,.1); }
.summary-label { text-transform: uppercase; letter-spacing: .16em; font-weight: 600; font-size: .69rem; margin: 0 0 24px; }
.summary-card > div { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); font-size: .86rem; }
.summary-card strong { font-weight: 600; }
.summary-total { margin-top: 16px; padding-top: 22px !important; font-size: 1rem !important; }
.summary-card button { width: 100%; margin-top: 25px; }
.summary-card small { display: block; text-align: center; color: #706a61; margin-top: 12px; }

.site-footer { padding: 0; background: var(--ink); color: var(--ivory); border-top: 1px solid rgba(255,255,255,.15); }
.footer-main { padding: 68px clamp(22px, 7.5vw, 130px) 58px; display: grid; grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(135px, .55fr)); gap: clamp(36px, 5vw, 82px); align-items: start; }
.footer-intro .brand { width: fit-content; font-size: 1.35rem; }
.footer-intro > p { max-width: 390px; margin: 24px 0 28px; color: #aaa49a; font-size: .86rem; line-height: 1.7; }
.footer-cta { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--bronze); color: var(--ivory); font-size: .82rem; font-weight: 600; }
.footer-cta span { color: var(--bronze); transition: transform .2s ease; }
.footer-cta:hover span { transform: translateX(4px); }
.footer-column-title { margin: 3px 0 22px; color: var(--bronze); font-size: .63rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; font-size: .79rem; color: #bbb5aa; }
.footer-links a { width: fit-content; transition: color .2s ease; }
.footer-links a:hover { color: white; }
.footer-private { display: inline-flex !important; align-items: center; gap: 7px; }
/* Freccia disegnata, non il carattere ↗: su iPhone diventerebbe un'emoji */
.footer-private::after { content: ""; flex: none; width: 11px; height: 11px; background: var(--bronze); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") center / contain no-repeat; }
.footer-bottom { padding: 20px clamp(22px, 7.5vw, 130px); display: grid; grid-template-columns: auto auto 1fr auto; gap: 18px 30px; align-items: center; border-top: 1px solid rgba(255,255,255,.12); color: #8f8a81; }
.footer-bottom p { margin: 0; font-size: .68rem; }
.footer-signature { color: #c8c2b8 !important; }
.cin { letter-spacing: .06em; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; font-size: .68rem; }
.footer-legal a:hover { color: white; }

.legal-page { background: var(--ivory); padding-bottom: 0 !important; }
.legal-page .inner-header { position: relative; background: var(--ink); }
.legal-main { padding: clamp(72px, 9vw, 130px) clamp(22px, 7.5vw, 130px) clamp(90px, 11vw, 150px); }
.legal-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 10vw, 150px); align-items: end; padding-bottom: 58px; border-bottom: 1px solid var(--line); }
.legal-hero .eyebrow { color: var(--bronze); }
.legal-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.7rem, 7.4vw, 7.4rem); font-weight: 400; letter-spacing: -.04em; line-height: .9; }
.legal-hero > p { max-width: 470px; margin: 0 0 8px; color: #625e57; font-size: .92rem; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: clamp(55px, 9vw, 130px); padding-top: 65px; }
.legal-index { align-self: start; position: sticky; top: 28px; display: grid; gap: 9px; font-size: .75rem; color: #716c64; }
.legal-index strong { margin-bottom: 8px; color: var(--ink); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; }
.legal-index a:hover { color: var(--bronze); }
.legal-content { min-width: 0; }
.legal-content section { padding: 0 0 42px; margin: 0 0 42px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content h2 { margin-bottom: 22px; font-size: clamp(2rem, 3.5vw, 3.3rem); }
.legal-content h3 { margin: 28px 0 10px; font-size: 1rem; }
.legal-content p, .legal-content li { color: #514d47; font-size: .9rem; }
.legal-content ul { padding-left: 19px; }
.legal-content li + li { margin-top: 7px; }
.legal-content a { text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 3px; }
.legal-note { padding: 22px 24px; border-left: 3px solid var(--bronze); background: var(--paper); }
.legal-updated { margin-top: 35px; color: #777168 !important; font-size: .75rem !important; }
.mobile-cta { display: none; }
@media (min-width: 601px) {
  .mobile-cta[data-smart-cta] { display: inline-flex; align-items: center; gap: 10px; position: fixed; z-index: 20; right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px); min-height: 50px; padding: 0 24px; border: 1px solid rgba(23,22,19,.1); border-radius: 999px; background: var(--cta-accent); color: var(--ink); font-size: .84rem; font-weight: 600; letter-spacing: .01em; box-shadow: 0 12px 30px rgba(53,43,28,.24), 0 2px 8px rgba(23,22,19,.16); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(14px); transition: opacity .24s ease, visibility .24s ease, transform .24s ease, background-color .2s ease; }
  .mobile-cta[data-smart-cta]::after { content: ""; order: -1; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat; }
  .mobile-cta[data-smart-cta].is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .mobile-cta[data-smart-cta]:hover { background: var(--cta-accent-hover); }
  .mobile-cta[data-smart-cta]:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
}
.toast { position: fixed; z-index: 30; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 14px 20px; opacity: 0; pointer-events: none; transition: .25s ease; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.calendar-dialog[hidden] { display: none; }
.calendar-dialog { position: absolute; inset: 0 0 auto; z-index: 50; height: 0; pointer-events: none; }
.calendar-panel { position: absolute; pointer-events: auto; width: min(860px, calc(100vw - 44px)); max-height: calc(100svh - 32px); overflow: auto; background: var(--ivory); padding: 18px 28px 0; border: 1px solid rgba(23,22,19,.13); border-radius: 16px; box-shadow: 0 20px 58px rgba(0,0,0,.22); }
.calendar-panel::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; border-radius: 22px 0 0 22px; background: var(--bronze); }
.calendar-tabs { width: min(390px, 100%); margin: 0 auto 16px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 999px; background: #e7e4df; }
.calendar-tabs button { min-height: 40px; padding: 0 12px; white-space: nowrap; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font-weight: 600; }
.calendar-tabs button.active { background: white; box-shadow: 0 1px 3px rgba(23,22,19,.18); }
.calendar-head { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; align-items: center; }
.calendar-head .eyebrow { color: var(--bronze); margin-bottom: 5px; }
.calendar-head h2 { font-family: var(--serif); font-size: clamp(2.1rem, 2.6vw, 2.55rem); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.calendar-head > div:first-child > p:last-child { color: #6e6961; margin: 6px 0 0; font-size: .82rem; }
.calendar-selection { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; }
.calendar-selection div { padding: 9px 12px; min-height: 60px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--bronze); border-radius: 9px; }
.calendar-selection div:first-child { border-right: 1px solid var(--line); }
.calendar-selection span { display: block; text-transform: uppercase; font-weight: 600; font-size: .68rem; letter-spacing: .08em; }
.calendar-selection strong { display: block; color: #67635c; font-weight: 400; font-size: .92rem; margin-top: 1px; }
.calendar-toolbar { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; margin: 12px 0 2px; }
.calendar-toolbar button { display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; width: 38px; height: 38px; padding: 0; transition: background-color .2s ease, transform .2s ease; -webkit-tap-highlight-color: transparent; }
.calendar-toolbar button svg { width: 19px; height: 19px; pointer-events: none; }
.calendar-toolbar button:hover { background: rgba(23,22,19,.06); transform: translateX(-2px); }
.calendar-toolbar button:last-child:hover { transform: translateX(2px); }
.calendar-toolbar button:active { background: rgba(23,22,19,.1); transform: scale(.94); }
.calendar-toolbar button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.calendar-toolbar p { margin: 0; text-align: center; color: var(--bronze); font-size: .82rem; }
.calendar-months { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.calendar-month h3 { text-align: center; margin: 0 0 9px; font-family: var(--serif); font-size: 1.28rem; font-weight: 400; text-transform: capitalize; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.calendar-weekdays { margin-bottom: 3px; color: #817c73; text-transform: uppercase; font-weight: 600; font-size: .61rem; }
.calendar-weekdays span { text-align: center; }
.calendar-grid button { aspect-ratio: 1; width: min(100%, 34px); justify-self: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; position: relative; font-size: .78rem; font-weight: 500; }
.calendar-grid button:hover:not(:disabled) { background: #e3ddd2; }
.calendar-grid button.occupied { color: #b2aea7; text-decoration: line-through; cursor: not-allowed; }
.calendar-grid button.past-date { color: #c4c0b9; cursor: not-allowed; }
.calendar-grid button.selected { background: var(--bronze); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(23,22,19,.18); }
.calendar-grid button.in-range { border-radius: 8px; background: #e7dccd; }
.choice-grid button, .month-choices button { flex: 0 0 auto; min-height: 38px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); padding: 0 14px; cursor: pointer; font-size: .84rem; }
.choice-grid button.active, .month-choices button.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.flexible-panel { padding: 8px 0 12px; }
.flexible-group + .flexible-group { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.flexible-group .eyebrow { margin-bottom: 14px; color: #6e6961; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.choice-grid button { min-height: 66px; border-radius: 12px; font-weight: 600; }
.custom-duration-field { margin-top: 12px; padding: 14px; display: grid; grid-template-columns: 1fr 160px; gap: 18px; align-items: center; background: var(--paper); border-left: 3px solid var(--bronze); }
.custom-duration-field[hidden] { display: none; }
.custom-duration-field span { font-size: .78rem; font-weight: 600; }
.custom-duration-field input { min-height: 44px; width: 100%; padding: 0 12px; border: 1px solid var(--line); background: white; }
.month-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.month-choices button { min-height: 52px; border-radius: 12px; text-transform: capitalize; }
.flexible-error { margin: 18px 0 0; padding: 12px 14px; color: #6b321f; background: #f1ded5; border-left: 3px solid #a04e32; font-size: .84rem; font-weight: 600; }
.calendar-foot { position: sticky; z-index: 2; bottom: 0; margin: 10px -28px 0; padding: 12px 28px 14px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; align-items: center; gap: 10px; background: var(--ivory); }
.calendar-foot > span { margin-right: auto; display: flex; align-items: center; gap: 9px; color: #6e6961; font-size: .78rem; }
.calendar-foot > span[hidden] { display: none; }
.calendar-foot i { width: 15px; height: 1px; background: var(--bronze); }
.text-button, .primary-button { min-height: 40px; padding: 0 16px; border: 0; cursor: pointer; font-weight: 600; }
.text-button { background: transparent; }
.primary-button { background: var(--ink); color: white; border-radius: 9px; }

.inner-page { background: var(--ivory); }
.inner-header { position: relative; color: var(--ink); border-color: var(--line); }
.inner-header .language { color: var(--ink); }
.inner-header .header-cta { border-color: var(--line); }
.page-hero { padding: 170px clamp(22px, 7.5vw, 130px) 90px; min-height: 580px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; background: var(--paper); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(4rem, 8vw, 8.5rem); line-height: .86; font-weight: 400; letter-spacing: -.04em; margin: 0; }
.page-hero .page-lead { max-width: 510px; font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1.25; margin: 0; }
.content-split { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 10vw, 150px); }
.content-split h2 { font-size: clamp(2.8rem, 5vw, 5.2rem); }
.content-copy { max-width: 700px; }
.content-copy p { margin: 0 0 28px; color: #5c5851; }
.content-copy h3 { font-family: var(--serif); font-size: 2rem; font-weight: 400; margin: 50px 0 16px; }
.seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.seo-grid article { padding: 30px; min-height: 210px; border-right: 1px solid var(--line); }
.seo-grid article:last-child { border-right: 0; }
.seo-grid h3 { font-family: var(--serif); font-size: 2rem; font-weight: 400; margin: 0 0 18px; }
.seo-grid p { color: #625e57; margin: 0; }

.availability-page { background: var(--paper); }
.availability-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 680px; padding: 180px clamp(22px, 7.5vw, 130px) 190px; display: flex; flex-direction: column; justify-content: center; background: var(--ink); color: var(--ivory); }
.availability-hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.availability-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(16,15,13,.76) 0%, rgba(16,15,13,.58) 52%, rgba(16,15,13,.28) 100%), linear-gradient(180deg, rgba(16,15,13,.18), rgba(16,15,13,.42)); }
.availability-hero .eyebrow { color: var(--bronze); }
.availability-hero h1 { max-width: 900px; margin: 0; font-family: var(--serif); font-size: clamp(4rem, 8.5vw, 8.2rem); font-weight: 400; letter-spacing: -.045em; line-height: .86; }
.availability-hero > p:last-child { max-width: 590px; margin: 34px 0 0; color: #beb8ae; font-size: 1.05rem; }
.availability-page .inner-header { position: absolute; background: transparent; color: var(--ivory); border-color: rgba(255,255,255,.18); }
.availability-page .inner-header .header-cta { border-color: rgba(255,255,255,.35); }
.availability-search-wrap { position: relative; z-index: 2; width: min(1180px, calc(100% - 44px)); margin: -90px auto 0; }
.availability-search { padding: clamp(26px, 4vw, 46px); background: var(--ivory); border: 1px solid rgba(23,22,19,.08); border-radius: 22px; box-shadow: 0 24px 70px rgba(53,43,28,.14); }
.search-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 30px; }
.search-heading .eyebrow { margin-bottom: 8px; color: var(--bronze); }
.search-heading h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 400; line-height: 1; }
.search-heading > a { border-bottom: 1px solid currentColor; font-size: .82rem; }
.search-fields { display: grid; grid-template-columns: minmax(210px, 1.1fr) minmax(210px, 1fr) minmax(105px, .52fr) minmax(210px, auto); gap: 14px; align-items: end; }
.search-fields.custom-duration-active { grid-template-columns: minmax(180px, 1fr) minmax(100px, .48fr) minmax(210px, 1.12fr) minmax(100px, .48fr) minmax(210px, auto); }
.search-fields label { display: grid; gap: 9px; min-width: 0; }
.search-fields .result-custom-nights[hidden] { display: none; }
.search-fields label > span { padding-left: 3px; color: #625e57; font-size: .67rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.search-fields select, .search-fields input { width: 100%; min-height: 60px; padding: 0 16px; border: 1px solid rgba(23,22,19,.16); border-radius: 12px; background: #f7f4ee; color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.search-fields select:focus, .search-fields input:focus { outline: none; border-color: var(--bronze); background: white; box-shadow: 0 0 0 3px rgba(185,137,82,.14); }
.search-fields button, .range-card button, .selected-stay button { min-height: 60px; align-self: end; padding: 0 22px; border: 0; border-radius: 12px; background: var(--ink); color: white; font-weight: 600; cursor: pointer; }
.search-fields > button { min-width: 210px; white-space: nowrap; transition: transform .2s ease, background .2s ease; }
.search-fields > button:hover { background: #34312b; transform: translateY(-1px); }
.search-tabs { width: 300px; margin: 0; flex: 0 0 auto; }
.search-fields[hidden], .inline-calendar[hidden], .availability-results[hidden] { display: none; }
.availability-results[hidden] + .selected-stay { margin-top: 48px; }
.inline-calendar-head { display: grid; grid-template-columns: minmax(0, 1fr) 120px auto; gap: 14px; align-items: end; }
.inline-calendar-head label { display: grid; gap: 9px; }
.inline-calendar-head label > span { padding-left: 3px; color: #625e57; font-size: .67rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.inline-calendar-head select { width: 100%; min-height: 60px; padding: 0 16px; border: 1px solid rgba(23,22,19,.16); border-radius: 12px; background: #f7f4ee; color: var(--ink); }
.inline-calendar-head select:focus { outline: none; border-color: var(--bronze); background: white; box-shadow: 0 0 0 3px rgba(185,137,82,.14); }
.inline-calendar .calendar-selection div { min-height: 60px; }
.inline-calendar-clear { min-height: 60px; padding: 0 6px; border: 0; background: transparent; color: #625e57; font-size: .8rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.inline-calendar-clear:hover { color: var(--ink); }
.inline-calendar .calendar-toolbar { margin: 26px 0 6px; }
.inline-calendar .calendar-toolbar button:disabled { opacity: .3; cursor: default; background: transparent; transform: none; }
.inline-calendar .calendar-months { gap: clamp(30px, 5vw, 70px); }
.inline-calendar .calendar-month h3 { font-size: 1.5rem; margin-bottom: 14px; }
.inline-calendar .calendar-weekdays, .inline-calendar .calendar-grid { gap: 5px; }
.inline-calendar .calendar-grid button { width: min(100%, 46px); font-size: .88rem; }
.inline-calendar-note { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px; color: #6e6961; font-size: .78rem; }
.inline-calendar-note i { width: 15px; height: 1px; background: var(--bronze); }
.guest-bed-card { width: min(1180px, calc(100% - 44px)); margin: 34px auto 0; display: grid; grid-template-columns: minmax(240px, .72fr) 1.28fr; gap: clamp(28px, 5vw, 70px); padding: clamp(24px, 4vw, 48px); background: #ded6c9; align-items: center; }
.guest-bed-visual { min-height: 220px; }
.guest-bed-card .eyebrow { color: #73522f; margin-bottom: 12px; }
.guest-bed-card h2 { font-size: clamp(2.4rem, 4vw, 4.2rem); }
.guest-bed-card p:last-child { max-width: 630px; margin: 22px 0 0; color: #57524b; }
.availability-results { padding-top: 92px; }
.results-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.results-head .eyebrow { color: var(--bronze); margin-bottom: 10px; }
.results-head h2 { font-size: clamp(3rem, 5.5vw, 5.5rem); text-transform: none; }
.results-head > p { margin: 0 0 8px; color: #625e57; }
.range-list { display: grid; gap: 10px; padding-top: 24px; }
.range-card { display: grid; grid-template-columns: 1.5fr .75fr auto; gap: 30px; align-items: center; min-height: 110px; padding: 20px 22px; background: var(--ivory); border: 1px solid transparent; animation: reveal-result .35s both; animation-delay: calc(min(var(--result-index), 8) * 45ms); }
.range-card.selected { border-color: var(--bronze); box-shadow: inset 5px 0 0 var(--bronze); }
.range-date { display: grid; grid-template-columns: max-content minmax(28px, 1fr) max-content; gap: 14px; align-items: center; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.55rem); text-transform: capitalize; }
.range-date i { height: 1px; background: var(--stone); }
.range-details { display: grid; }
.range-details strong { font-size: .9rem; }
.range-details span { color: #706a61; font-size: .76rem; }
.range-card button { min-height: 48px; background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.range-card button:hover, .range-card.selected button { background: var(--ink); color: white; }
.no-results { padding: 70px 0; border-bottom: 1px solid var(--line); }
.no-results h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; }
.no-results p { margin: 0; color: #625e57; }
.selected-stay { width: min(1180px, calc(100% - 44px)); margin: 0 auto 100px; padding: clamp(30px, 5vw, 62px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; align-items: center; background: var(--ink); color: var(--ivory); }
.selected-stay .eyebrow { color: var(--bronze); }
.selected-stay h2 { font-size: clamp(2.4rem, 4.2vw, 4.2rem); text-transform: capitalize; }
.selected-stay h2 span { white-space: nowrap; }
.selected-stay > div > p:last-child { color: #bcb6aa; }
.selected-stay-action { display: grid; }
.selected-stay-action p { color: #bcb6aa; }
.selected-stay-action button { width: 100%; background: var(--bronze); color: var(--ink); }
.selected-stay-price[hidden] { display: none; }
.selected-stay-price { margin-bottom: 22px; }
.selected-stay-price .selected-stay-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin: 0 0 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(248,244,236,.22); color: var(--ivory); }
.selected-stay-total span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.selected-stay-total strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.selected-stay-price dl { display: grid; margin: 0; }
.selected-stay-price dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed rgba(248,244,236,.12); font-size: .9rem; color: #bcb6aa; }
.selected-stay-price dt, .selected-stay-price dd { margin: 0; }
.selected-stay-price dd { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ivory); }
.selected-stay-price .selected-stay-extra { margin: 10px 0 0; font-size: .82rem; line-height: 1.5; color: #aaa49a; }
.selected-stay-action small { margin-top: 10px; text-align: center; color: #aaa49a; }
.availability-seo { padding-top: 0; }
.availability-seo .seo-grid { margin-top: 44px; }
@keyframes reveal-result { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.admin-page { background: #e9e6df; min-height: 100svh; }
.admin-shell { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 54px 0 100px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 70px; }
.admin-top a { font-size: .85rem; border-bottom: 1px solid currentColor; }
.admin-title h1 { font-family: var(--serif); font-size: clamp(3.8rem, 7vw, 7rem); line-height: .9; font-weight: 400; margin: 0; }
.admin-title p { max-width: 560px; color: #625e57; }
.admin-form { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.admin-card { background: var(--ivory); padding: 32px; }
.admin-card.full { grid-column: 1 / 3; }
.admin-image-card { display: grid; grid-template-columns: 1fr minmax(260px, .75fr); gap: 34px; align-items: center; }
.admin-image-preview { min-height: 250px; overflow: hidden; background: var(--paper); }
.admin-image-preview img { width: 100%; height: 250px; object-fit: cover; }
.admin-card h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; letter-spacing: 0; margin-bottom: 25px; }
.admin-card label { display: grid; gap: 8px; margin-top: 18px; font-size: .78rem; font-weight: 600; }
.admin-card input, .admin-card textarea { width: 100%; border: 1px solid var(--line); background: white; padding: 14px; font: inherit; }
.admin-card textarea { min-height: 130px; resize: vertical; }
.admin-help { color: #6b665e; font-size: .78rem; font-weight: 400; }
.admin-actions { grid-column: 1 / 3; display: flex; justify-content: flex-end; gap: 12px; }
.admin-actions button { border: 0; min-height: 54px; padding: 0 26px; cursor: pointer; font-weight: 600; }
.admin-actions .save { background: var(--ink); color: white; }
.admin-availability-card { padding: clamp(24px, 4vw, 42px); }
.admin-calendar-head { display: flex; justify-content: space-between; gap: 40px; align-items: start; }
.admin-calendar-head h2 { margin-bottom: 8px; }
.admin-calendar-head p { max-width: 690px; margin: 0; color: #68635b; font-size: .86rem; }
.admin-calendar-legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; padding-top: 4px; color: #68635b; font-size: .74rem; white-space: nowrap; }
.admin-calendar-legend span { display: flex; align-items: center; gap: 7px; }
.admin-calendar-legend i { width: 10px; height: 10px; border-radius: 50%; }
.admin-calendar-legend i.available { background: #6d8464; }
.admin-calendar-legend i.unavailable { background: #a15b4c; }
.admin-calendar-toolbar { margin: 30px 0 18px; padding: 11px 14px; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; background: var(--paper); border-radius: 12px; }
.admin-calendar-toolbar strong { text-align: center; font-size: .78rem; font-weight: 600; text-transform: capitalize; }
.admin-calendar-toolbar button { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s ease, transform .2s ease; -webkit-tap-highlight-color: transparent; }
.admin-calendar-toolbar button svg { width: 19px; height: 19px; pointer-events: none; }
.admin-calendar-toolbar button:hover { background: rgba(23,22,19,.06); transform: translateX(-2px); }
.admin-calendar-toolbar button:last-child:hover { transform: translateX(2px); }
.admin-calendar-toolbar button:active { background: rgba(23,22,19,.1); transform: scale(.94); }
.admin-calendar-toolbar button:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.admin-range-hint { margin: -6px 0 18px; color: #716b62; font-size: .76rem; text-align: center; }
.admin-calendar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; }
.admin-calendar-months { min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.admin-calendar-month { min-width: 0; }
.admin-calendar-month h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; text-align: center; text-transform: capitalize; }
.admin-calendar-weekdays, .admin-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.admin-calendar-weekdays { margin-bottom: 4px; color: #827c72; font-size: .58rem; font-weight: 600; text-transform: uppercase; text-align: center; }
.admin-calendar-grid > span { aspect-ratio: .92; }
.admin-calendar-grid button { aspect-ratio: .92; min-width: 0; padding: 5px 2px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1px; border: 1px solid rgba(23,22,19,.09); border-radius: 8px; background: #f8f6f1; color: var(--ink); cursor: pointer; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.admin-calendar-grid button:hover { transform: translateY(-1px); border-color: var(--bronze); }
.admin-calendar-grid button strong { font-size: .76rem; font-weight: 600; line-height: 1; }
.admin-calendar-grid button span { font-size: .58rem; color: #69645c; white-space: nowrap; }
.admin-calendar-grid button.unavailable { background: #efe1dd; color: #7b3f32; }
.admin-calendar-grid button.unavailable span { color: #9a5a4b; text-decoration: line-through; }
.admin-calendar-grid button.selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), 0 4px 14px rgba(23,22,19,.12); }
.admin-calendar-grid button.selection-start { box-shadow: inset 0 0 0 2px var(--ink), 0 4px 14px rgba(23,22,19,.14); }
.admin-calendar-grid button.checkout-end { position: relative; border: 2px dashed var(--bronze); background: #f4ecdf; }
.admin-calendar-grid button.checkout-end::after { content: "OUT"; position: absolute; top: 3px; right: 4px; color: #835d32; font-size: .42rem; font-weight: 600; letter-spacing: .05em; }
.admin-day-editor[hidden] { display: none; }
.admin-day-editor { position: sticky; top: 20px; padding: 22px; background: var(--ink); color: var(--ivory); border-radius: 14px; }
.admin-day-editor .eyebrow { margin-bottom: 8px; color: var(--bronze); }
.admin-day-editor h3 { margin: 0 0 20px; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1.15; text-transform: capitalize; }
.admin-selection-count { margin: -10px 0 20px; color: #aaa49a; font-size: .72rem; }
.admin-day-editor label { margin-top: 18px; }
.admin-day-editor input { border: 0; }
.admin-status-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.admin-status-switch button { min-height: 48px; padding: 6px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: transparent; color: var(--ivory); cursor: pointer; font-size: .7rem; }
.admin-status-switch button.active { border-color: var(--bronze); background: var(--bronze); color: var(--ink); font-weight: 600; }
.admin-reset-price { width: 100%; margin-top: 9px; min-height: 40px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: transparent; color: var(--ivory); cursor: pointer; font-size: .74rem; }
.admin-day-editor .admin-help { display: block; margin: 18px 0 0; color: #aaa49a; }

@media (min-width: 601px) and (max-height: 620px) {
  .calendar-panel { padding-top: 10px; }
  .calendar-tabs { width: 360px; margin-bottom: 8px; }
  .calendar-tabs button { min-height: 34px; }
  .calendar-head { gap: 20px; }
  .calendar-head .eyebrow { display: none; }
  .calendar-head h2 { font-size: 1.85rem; }
  .calendar-head > div:first-child > p:last-child { margin-top: 3px; font-size: .75rem; }
  .calendar-selection div { min-height: 50px; padding: 6px 10px; }
  .calendar-selection strong { font-size: .84rem; }
  .calendar-toolbar { margin-top: 4px; }
  .calendar-toolbar button { width: 32px; height: 32px; }
  .calendar-month h3 { margin-bottom: 4px; font-size: 1.12rem; }
  .calendar-weekdays { margin-bottom: 0; }
  .calendar-grid button { width: min(100%, 28px); font-size: .72rem; }
  .calendar-foot { margin-top: 5px; padding-top: 8px; padding-bottom: 9px; }
  .text-button, .primary-button { min-height: 36px; }
}

@media (max-width: 900px) {
  .desktop-nav, .header-cta { display: none; }
  .site-header { height: 72px; }
  .header-actions { margin-left: auto; }
  .mobile-menu-toggle { position: relative; z-index: 42; width: 46px; height: 46px; margin-left: 2px; padding: 11px 9px; display: grid; align-content: center; gap: 5px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: currentColor; cursor: pointer; }
  .mobile-menu-toggle span { display: block; width: 100%; height: 1.5px; border-radius: 2px; background: currentColor; transform-origin: center; transition: transform .22s ease, opacity .16s ease; }
  .mobile-menu-toggle.active span:first-child { transform: translateY(6.5px) rotate(45deg); }
  .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.active span:last-child { transform: translateY(-6.5px) rotate(-45deg); }
  .inner-header .mobile-menu-toggle { background: rgba(23,22,19,.06); }
  .mobile-menu { position: fixed; z-index: 35; inset: 0; display: block; padding: 112px clamp(24px, 7vw, 58px) 38px; background: var(--ink); color: var(--ivory); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .22s ease, visibility .22s ease, transform .22s ease; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu nav { min-height: 100%; display: flex; flex-direction: column; align-items: stretch; }
  .mobile-menu nav > a { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-family: var(--serif); font-size: clamp(2rem, 8vw, 3.8rem); line-height: 1; }
  .mobile-menu nav > a[aria-current="page"] { color: var(--bronze); }
  .mobile-menu .mobile-menu-cta { margin-top: auto; padding: 18px 22px; border: 0; border-radius: 10px; background: var(--bronze); color: var(--ink); font-family: var(--sans); font-size: .9rem; font-weight: 600; text-align: center; }
  body.mobile-menu-open { overflow: hidden; }
  body.mobile-menu-open .site-header { position: fixed; z-index: 40; color: var(--ivory); border-color: rgba(255,255,255,.14); }
  body.mobile-menu-open .site-header .brand { position: relative; z-index: 42; color: var(--ivory); }
  body.mobile-menu-open .mobile-menu-toggle { color: var(--ivory); background: rgba(255,255,255,.1); }
  .hero { min-height: 760px; height: 100svh; }
  .hero-copy { margin-bottom: 286px; }
  .hero h1 { font-size: clamp(4rem, 14vw, 7rem); }
  .booking-bar { grid-template-columns: 1fr 1fr; gap: 14px; bottom: 28px; padding: 20px; }
  .booking-bar .divider { display: none; }
  .booking-bar label, .booking-bar .date-trigger { padding: 0; }
  .booking-bar label { grid-column: 1 / 2; }
  .booking-bar > button[type="submit"] { grid-column: 2 / 3; }
  .intro-grid, .facts-head, .location, .availability { grid-template-columns: 1fr; gap: 48px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 520px 260px; }
  .gallery-main { grid-column: 1 / 3; grid-row: auto; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact-grid article:nth-child(2) { border-right: 0; }
  .fact-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-main { grid-template-columns: 1.2fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / 3; justify-content: flex-start; }
  .legal-hero { grid-template-columns: 1fr; gap: 34px; }
  .legal-layout { grid-template-columns: 1fr; gap: 45px; }
  .legal-index { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-index strong { grid-column: 1 / 3; }
  .calendar-head { grid-template-columns: 1fr; }
  .page-hero, .content-split { grid-template-columns: 1fr; }
  .seo-grid { grid-template-columns: 1fr; }
  .seo-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .search-fields, .search-fields.custom-duration-active { grid-template-columns: 1fr 1fr; }
  .guest-bed-card, .selected-stay { grid-template-columns: 1fr; }
  .range-card { grid-template-columns: 1fr auto; }
  .range-date { grid-column: 1 / 3; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-calendar-layout { grid-template-columns: 1fr; }
  .admin-day-editor { position: static; }
}

@media (max-width: 600px) {
  body { padding-bottom: 92px; }
  /* Lo spazio per il pulsante fisso in basso sta dentro il footer, così resta scuro */
  body:has(.site-footer) { padding-bottom: 0; }
  .site-footer { padding-bottom: 92px; }
  .site-header { padding: 0 18px; }
  .brand { font-size: .9rem; }
  .hero { min-height: 770px; align-items: flex-start; }
  .hero-image { object-position: 57% center; }
  .hero-copy { margin: 150px 22px 0; }
  .hero h1 { font-size: clamp(4rem, 19vw, 5.8rem); line-height: .83; }
  .hero-intro { max-width: 330px; margin-top: 20px; }
  .booking-bar { width: calc(100% - 28px); bottom: 18px; grid-template-columns: 1fr 1fr; padding: 17px; gap: 16px 12px; }
  .booking-bar input { font-size: .84rem; width: 100%; }
  .booking-bar > button[type="submit"] { font-size: .78rem; padding: 0 10px; height: 58px; }
  .sleeping-notice { left: 14px; right: 14px; bottom: 242px; width: auto; grid-template-columns: 92px 1fr; gap: 14px; padding: 13px; }
  .sleeping-preview { min-height: 112px; padding: 9px; }
  .sleeping-notice strong { font-size: 1.12rem; padding-right: 16px; }
  .sleeping-notice p:last-child { margin: 5px 12px 0 0; font-size: .69rem; line-height: 1.35; }
  .sleeping-notice .eyebrow { font-size: .57rem; margin-bottom: 5px; }
  .section { padding: 78px 22px; }
  h2 { font-size: clamp(3.1rem, 15vw, 4.6rem); }
  .intro-grid { margin-top: 42px; gap: 42px; }
  .gallery { padding-top: 0; display: grid; grid-template-columns: 1fr; grid-template-rows: 420px 240px 240px; gap: 10px; }
  .gallery-main { grid-column: auto; }
  .facts-head { margin: 42px 0 58px; }
  .fact-grid article { min-height: 155px; padding: 23px 12px; }
  .fact-grid article:first-child { padding-left: 0; }
  .fact-grid strong { font-size: 2.8rem; }
  .fact-grid span { font-size: .75rem; }
  .location { gap: 60px; }
  .summary-card { margin: 0 -4px; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 50px 22px 42px; gap: 38px 26px; }
  .footer-intro { grid-column: 1 / 3; }
  .footer-main .footer-column:last-child { grid-column: 1 / 3; padding-top: 4px; border-top: 1px solid rgba(255,255,255,.12); }
  .footer-main .footer-column:last-child .footer-column-title { margin-top: 20px; }
  .footer-bottom { grid-template-columns: 1fr; padding: 22px; gap: 9px; }
  .footer-legal { grid-column: auto; margin: 8px 0; justify-content: flex-start; gap: 8px 14px; }
  .legal-main { padding: 58px 22px 90px; }
  .legal-hero { padding-bottom: 42px; }
  .legal-hero h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .legal-layout { padding-top: 45px; }
  .legal-index { grid-template-columns: 1fr; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
  .legal-index strong { grid-column: auto; }
  .mobile-cta { display: grid; place-items: center; position: fixed; z-index: 20; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); min-height: 58px; padding: 12px 20px; border: 1px solid rgba(23,22,19,.1); border-radius: 16px; isolation: isolate; background: transparent; color: var(--ink); font-size: .88rem; font-weight: 600; letter-spacing: .01em; box-shadow: 0 12px 34px rgba(53,43,28,.28), 0 2px 8px rgba(23,22,19,.18); transition: opacity .24s ease, visibility .24s ease, transform .24s ease, background-color .2s ease; }
  /* Il colore sta nel ::before: Safari iOS tinge la barra inferiore con lo sfondo degli elementi fissi vicini al bordo */
  .mobile-cta::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: var(--cta-accent); transition: background-color .2s ease; }
  .mobile-cta:hover::before { background: var(--cta-accent-hover); }
  .mobile-cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
  .mobile-cta[data-smart-cta] { display: inline-flex; align-items: center; gap: 8px; left: auto; right: 16px; min-height: 46px; padding: 0 18px; border-radius: 999px; font-size: .82rem; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(18px); }
  .mobile-cta[data-smart-cta]::after { content: ""; order: -1; width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat; }
  .mobile-cta[data-smart-cta].is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .calendar-panel { max-height: calc(100svh - 20px); padding: 16px 14px 0; border-radius: 16px; }
  .calendar-panel::before { width: 4px; border-radius: 18px 0 0 18px; }
  .calendar-head { gap: 16px; }
  .calendar-head h2 { font-size: 2.05rem; }
  .calendar-head > div:first-child > p:last-child { font-size: .8rem; }
  .calendar-selection div { padding: 10px; min-height: 66px; }
  .calendar-selection strong { font-size: .92rem; }
  .calendar-toolbar { margin-top: 8px; }
  .calendar-months { grid-template-columns: 1fr; }
  .calendar-month:nth-child(2) { display: none; }
  .choice-grid, .month-choices { grid-template-columns: 1fr; }
  .choice-grid button, .month-choices button { min-height: 48px; }
  .calendar-foot { gap: 8px; flex-wrap: wrap; }
  .calendar-foot { margin-left: -14px; margin-right: -14px; padding: 10px 14px 12px; }
  .calendar-foot > span { width: 100%; margin-bottom: 4px; }
  .text-button, .primary-button { flex: 1; padding: 0 12px; }
  .page-hero { padding: 130px 22px 70px; min-height: 520px; }
  .page-hero h1 { font-size: clamp(4rem, 18vw, 6.5rem); }
  .availability-hero { min-height: 650px; padding: 130px 22px 150px; }
  .availability-hero-image { object-position: 57% center; }
  .availability-hero h1 { font-size: clamp(3.8rem, 17vw, 5.6rem); }
  .availability-search-wrap, .guest-bed-card, .selected-stay { width: calc(100% - 28px); }
  .availability-search-wrap { margin-top: -90px; }
  .availability-search { padding: 24px 18px; }
  .search-heading { display: grid; gap: 18px; }
  .search-heading h2 { font-size: 2.5rem; }
  .search-heading > a { justify-self: start; }
  .search-fields, .search-fields.custom-duration-active { grid-template-columns: 1fr; }
  .search-fields > button { width: 100%; min-width: 0; }
  .search-tabs { width: 100%; }
  .inline-calendar-head { grid-template-columns: 1fr auto; }
  .inline-calendar-head .calendar-selection { grid-column: 1 / -1; }
  .inline-calendar .calendar-toolbar { margin-top: 18px; }
  .inline-calendar .calendar-grid button { width: min(100%, 42px); }
  .guest-bed-card { gap: 26px; }
  .guest-bed-visual { min-height: 170px; }
  .availability-results { padding-top: 72px; }
  .results-head { display: grid; }
  .results-head > p { margin: 0; }
  .range-card { grid-template-columns: 1fr; gap: 16px; padding: 20px 18px; }
  .range-date { grid-column: auto; grid-template-columns: 1fr; gap: 2px; }
  .range-date i { display: none; }
  .range-date span:last-child::before { content: "→ "; color: var(--bronze); }
  .range-card button { width: 100%; }
  .selected-stay { gap: 30px; margin-bottom: 78px; }
  .selected-stay h2 span { white-space: normal; }
  .admin-shell { width: min(100% - 28px, 1040px); padding-top: 30px; }
  .admin-form { grid-template-columns: 1fr; }
  .admin-card.full, .admin-actions { grid-column: auto; }
  .admin-image-card { grid-template-columns: 1fr; }
  .admin-calendar-head { display: grid; gap: 18px; }
  .admin-calendar-legend { justify-content: flex-start; }
  .admin-calendar-months { grid-template-columns: 1fr; }
  .admin-calendar-month:nth-child(2) { display: none; }
  .admin-calendar-toolbar strong { font-size: .68rem; }
}

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

/* Curated Rome guide */
.guide-page { background: #ede8df; }
.guide-header { color: var(--ivory); }
.guide-hero { position: relative; min-height: 840px; height: 100svh; overflow: hidden; display: flex; align-items: flex-end; color: var(--ivory); background: var(--ink); }
.guide-hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 52%; filter: saturate(.72) contrast(1.04); }
.guide-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,11,9,.76), rgba(12,11,9,.18) 68%), linear-gradient(180deg, rgba(12,11,9,.2), rgba(12,11,9,.65)); }
.guide-hero-copy { position: relative; z-index: 1; width: min(930px, calc(100% - 44px)); margin: 0 clamp(22px, 7.5vw, 130px) clamp(82px, 10vw, 140px); }
.guide-hero-copy .eyebrow { color: #dfb989; }
.guide-hero h1 { max-width: 890px; margin: 0; font-family: var(--serif); font-size: clamp(4.8rem, 9vw, 9rem); font-weight: 400; line-height: .82; letter-spacing: -.045em; }
.guide-hero-copy > p:not(.eyebrow) { max-width: 560px; margin: 34px 0 28px; color: #e0dcd4; font-size: 1.08rem; }
.guide-hero-copy > a { display: inline-flex; gap: 26px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.7); font-size: .86rem; }
.guide-access-card { position: absolute; z-index: 2; top: 140px; right: clamp(22px, 5vw, 80px); width: 290px; padding: 28px; background: rgba(23,22,19,.84); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(12px); }
.guide-access-card > span { color: #dfb989; font-size: .67rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.guide-access-card strong { display: block; margin: 22px 0 16px; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.05; }
.guide-access-card p { margin: 0; color: #c5c0b7; font-size: .8rem; line-height: 1.55; }
.guide-intro { background: #ede8df; }
.guide-intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; margin: 54px 0 70px; }
.guide-intro-grid h2 { text-transform: none; }
.guide-intro-grid p { max-width: 540px; margin: 0 0 12px; color: #615c55; font-size: 1.05rem; }
.guide-preview-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
.guide-card { min-height: 440px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: var(--ivory); border-top: 4px solid var(--stone); }
.guide-card-featured { color: var(--ivory); background: var(--ink); border-color: var(--bronze); }
.guide-card-top { display: flex; justify-content: space-between; align-items: center; }
.guide-number { font-family: var(--serif); font-size: 1.5rem; color: var(--bronze); }
.guide-tag { padding: 6px 9px; border: 1px solid currentColor; font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.guide-distance { margin: 0 0 8px; color: var(--bronze); font-size: .69rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.guide-card h3 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; line-height: 1; }
.guide-card p:not(.guide-distance) { margin: 0; color: #666057; font-size: .9rem; }
.guide-card-featured p:not(.guide-distance) { color: #bbb5ab; }
.guide-card > a { align-self: flex-start; border-bottom: 1px solid currentColor; font-size: .78rem; font-weight: 600; }
.guide-lock { position: relative; min-height: 700px; padding: 90px clamp(22px, 7.5vw, 130px); display: grid; place-items: center; overflow: hidden; background: #d8d0c4; }
.guide-lock[hidden], .guide-full[hidden] { display: none; }
.locked-preview { position: absolute; inset: 70px clamp(22px, 7.5vw, 130px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; filter: blur(12px); opacity: .42; transform: scale(1.025); }
.locked-preview article { padding: 38px; background: var(--ivory); }
.locked-preview span { color: var(--bronze); font-size: .7rem; text-transform: uppercase; }
.locked-preview h3 { margin: 120px 0 15px; font-family: var(--serif); font-size: 3rem; font-weight: 400; }
.unlock-panel { position: relative; z-index: 1; width: min(610px, 100%); padding: clamp(34px, 5vw, 62px); text-align: center; background: var(--ivory); box-shadow: 0 32px 90px rgba(31,27,21,.22); }
.unlock-panel .eyebrow { color: var(--bronze); }
.unlock-panel h2 { font-size: clamp(3.3rem, 6vw, 5.8rem); line-height: .9; text-transform: none; }
.unlock-panel > p:not(.eyebrow) { max-width: 450px; margin: 22px auto 28px; color: #655f57; }
.unlock-panel form { display: grid; text-align: left; gap: 8px; }
.unlock-panel label { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.unlock-panel form > div { display: grid; grid-template-columns: 1fr auto; }
.unlock-panel input { min-width: 0; height: 58px; padding: 0 16px; border: 1px solid var(--line); background: white; text-transform: uppercase; }
.unlock-panel input:focus { outline: 2px solid var(--bronze); outline-offset: 2px; }
.unlock-panel input[aria-invalid="true"] { border-color: #9e3f32; }
.unlock-panel button { min-width: 130px; border: 0; background: var(--ink); color: white; padding: 0 20px; font-weight: 600; cursor: pointer; }
.unlock-panel small { color: #746e65; }
.guide-code-error { margin: 3px 0 0; color: #87382d; font-size: .8rem; }
.unlock-panel > a { display: inline-block; margin-top: 26px; border-bottom: 1px solid currentColor; font-size: .8rem; }
.guide-full { background: var(--ink); color: var(--ivory); }
.guide-full-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: end; }
.guide-full-head .eyebrow { color: var(--bronze); }
.guide-full-head h2 { color: var(--ivory); text-transform: none; }
.guide-full-head > p { max-width: 540px; margin: 0 0 12px; color: #aaa49a; }
.guide-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 54px 0 28px; }
.guide-toolbar button { min-height: 42px; padding: 0 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 50px; background: transparent; color: #c9c3b9; cursor: pointer; font-size: .78rem; }
.guide-toolbar button.active { background: var(--bronze); border-color: var(--bronze); color: var(--ink); }
.guide-explorer { display: grid; grid-template-columns: minmax(390px, .86fr) 1.14fr; gap: 24px; align-items: start; }
.guide-map { position: sticky; top: 24px; min-height: 660px; overflow: hidden; background-color: #d7cbbb; background-image: linear-gradient(31deg, transparent 47%, rgba(63,55,44,.17) 48%, rgba(63,55,44,.17) 49%, transparent 50%), linear-gradient(122deg, transparent 47%, rgba(63,55,44,.14) 48%, rgba(63,55,44,.14) 49%, transparent 50%); background-size: 118px 88px, 156px 124px; color: var(--ink); }
.guide-map::after { content: ""; position: absolute; left: 63%; top: -10%; width: 9px; height: 120%; background: rgba(95,87,75,.18); transform: rotate(17deg); }
.map-river { position: absolute; left: -32%; top: -10%; width: 48%; height: 125%; border-radius: 46%; background: #9cafaf; transform: rotate(-9deg); box-shadow: inset -8px 0 18px rgba(255,255,255,.22); }
.map-street { position: absolute; z-index: 1; color: rgba(23,22,19,.48); font-family: var(--serif); font-size: .75rem; font-style: italic; }
.street-one { top: 13%; right: 10%; transform: rotate(54deg); }
.street-two { bottom: 19%; left: 29%; transform: rotate(-8deg); }
.street-three { top: 24%; left: 18%; transform: rotate(-18deg); }
.map-home { position: absolute; z-index: 3; left: 47%; top: 49%; display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: var(--ink); color: white; transform: translate(-50%, -50%); }
.map-home .brand-mark { width: 15px; height: 14px; }
.map-home .brand-mark::before { width: 10px; height: 10px; top: -6px; left: 1px; }
.map-home strong { font-family: var(--serif); font-size: .72rem; font-weight: 400; line-height: 1.1; }
.map-pin { position: absolute; z-index: 4; left: var(--x); top: var(--y); width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 2px solid var(--ivory); border-radius: 50% 50% 50% 0; background: var(--bronze); color: var(--ink); box-shadow: 0 5px 14px rgba(0,0,0,.24); cursor: pointer; transform: translate(-50%, -100%) rotate(-45deg); }
.map-pin span { transform: rotate(45deg); font-size: .72rem; font-weight: 600; }
.map-pin:hover, .map-pin:focus { z-index: 5; background: var(--ivory); outline: 3px solid rgba(185,137,82,.5); }
.map-pin[hidden] { display: none; }
.map-caption { position: absolute; left: 5%; bottom: 11%; color: rgba(23,22,19,.54); font-family: var(--serif); font-size: 1rem; font-style: italic; transform: rotate(-81deg); }
.guide-list { display: grid; gap: 1px; background: rgba(255,255,255,.14); }
.guide-place { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 30px; background: #22211e; transition: background .25s ease, box-shadow .25s ease; }
.guide-place[hidden] { display: none; }
.guide-place.highlighted { background: #312e29; box-shadow: inset 4px 0 var(--bronze); }
.place-index { color: var(--bronze); font-family: var(--serif); font-size: 1.4rem; }
.guide-place > div > p:first-child { margin: 0 0 6px; color: var(--bronze); font-size: .66rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.guide-place h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1; }
.guide-place > div > p:not(:first-child) { margin: 0; color: #aaa49a; font-size: .86rem; }
.guide-place a { display: inline-block; margin-top: 16px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .76rem; }

@media (max-width: 900px) {
  .guide-access-card { display: none; }
  .guide-intro-grid, .guide-full-head { grid-template-columns: 1fr; gap: 34px; }
  .guide-preview-grid { grid-template-columns: 1fr 1fr; }
  .guide-card-featured { grid-column: 1 / 3; }
  .guide-explorer { grid-template-columns: 1fr; }
  .guide-map { position: relative; top: auto; min-height: 520px; }
}

@media (max-width: 600px) {
  .guide-hero { min-height: 720px; }
  .guide-hero > img { object-position: 58% center; }
  .guide-hero-copy { margin: 0 22px 112px; }
  .guide-hero h1 { font-size: clamp(4rem, 18vw, 5.6rem); }
  .guide-hero-copy > p:not(.eyebrow) { max-width: 330px; font-size: .96rem; }
  .guide-preview-grid { grid-template-columns: 1fr; }
  .guide-card-featured { grid-column: auto; }
  .guide-card { min-height: 390px; }
  .guide-lock { min-height: 660px; padding-left: 14px; padding-right: 14px; }
  .locked-preview { inset: 70px 14px; grid-template-columns: 1fr; }
  .locked-preview article:nth-child(n+2) { display: none; }
  .unlock-panel { padding: 38px 22px; }
  .unlock-panel form > div { grid-template-columns: 1fr; gap: 8px; }
  .unlock-panel button { min-height: 54px; }
  .guide-toolbar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .guide-toolbar button { flex: 0 0 auto; }
  .guide-map { min-height: 430px; margin: 0 -8px; }
  .guide-place { grid-template-columns: 36px 1fr; gap: 12px; padding: 24px 18px; }
}

/* Brighter, more playful guide */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.link-arrow { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.guide-card > a, .guide-place a { display: inline-flex; align-items: center; gap: 8px; }
.guide-card > a:hover .link-arrow, .guide-place a:hover .link-arrow { transform: translateX(4px); }
.guide-card-featured { color: #231e18; background: #ee7c5c; border-color: #d7583d; }
.guide-card-featured p:not(.guide-distance) { color: #4a2c22; }
.guide-card-featured .guide-distance, .guide-card-featured .guide-number { color: #fff7e9; }
.guide-card[data-category="caffe"] { background: #f6d894; border-color: #c98a45; }
.guide-card[data-category="vedere"] { background: #b9ddd6; border-color: #31867a; }
.guide-lock { background: linear-gradient(135deg, #f5d58a 0%, #eeb6a1 52%, #a7d4cd 100%); }
.unlock-panel { border-radius: 24px; }
.guide-full { color: var(--ink); background: radial-gradient(circle at 92% 2%, rgba(238,124,92,.22), transparent 28%), linear-gradient(135deg, #fff5d8 0%, #f7f1e8 54%, #e4f1ed 100%); }
.guide-full-head h2 { color: var(--ink); }
.guide-full-head .eyebrow { color: #d7583d; }
.guide-full-head > p { color: #5f594f; }
.guide-toolbar { gap: 10px; }
.guide-toolbar button { border-color: rgba(23,22,19,.18); background: rgba(255,255,255,.48); color: var(--ink); }
.guide-toolbar button:hover { transform: translateY(-1px); background: white; }
.guide-toolbar button.active { background: var(--ink); border-color: var(--ink); color: white; }
.guide-toolbar button[data-filter="mangiare"]:not(.active) { border-color: #e66d4d; }
.guide-toolbar button[data-filter="caffe"]:not(.active) { border-color: #c98a45; }
.guide-toolbar button[data-filter="vedere"]:not(.active) { border-color: #31867a; }
.guide-toolbar button[data-filter="musei"]:not(.active) { border-color: #7468ad; }
.guide-toolbar button[data-filter="esperienze"]:not(.active) { border-color: #dd9d35; }
.guide-map { height: 680px; min-height: 0; overflow: hidden; border: 8px solid rgba(255,255,255,.7); border-radius: 28px; background: #dce8e3; background-image: none; box-shadow: 0 22px 55px rgba(71,57,37,.13); }
.guide-map::after { display: none; }
.guide-map .leaflet-control-zoom { border: 0; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.guide-map .leaflet-control-zoom a { color: var(--ink); background: #fffaf2; }
.guide-map .leaflet-control-attribution { padding: 3px 7px; background: rgba(255,250,242,.9); color: #5d574e; font-size: 10px; }
.guide-map img.leaflet-tile { width: 256px !important; height: 256px !important; max-width: none !important; }
.guide-map-marker-wrap, .guide-home-marker-wrap { background: transparent; border: 0; }
.guide-map-marker { width: 38px; height: 38px; display: grid; place-items: center; border: 3px solid white; border-radius: 50% 50% 50% 9px; background: var(--marker-color); color: white; box-shadow: 0 7px 18px rgba(26,20,14,.28); font: 600 .78rem/1 var(--sans); transform: rotate(-45deg); }
.guide-map-marker b { color: white; font-weight: 600; transform: rotate(45deg); }
.guide-home-marker { min-width: 72px; height: 40px; padding: 0 11px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 2px solid white; border-radius: 12px; background: var(--ink); color: white; box-shadow: 0 7px 18px rgba(26,20,14,.28); }
.guide-home-marker svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.guide-home-marker strong { font-size: .7rem; }
.leaflet-tooltip { padding: 7px 10px; border: 0; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.14); color: var(--ink); font: 600 .74rem/1.2 var(--sans); }
.map-fallback { height: 100%; min-height: 500px; display: grid; place-content: center; gap: 12px; text-align: center; }
.map-fallback a { text-decoration: underline; }
.guide-list { gap: 12px; background: transparent; }
.guide-place { --cat: var(--bronze); border: 1px solid rgba(23,22,19,.08); border-left: 6px solid var(--cat); border-radius: 18px; background: rgba(255,253,248,.9); box-shadow: 0 10px 30px rgba(71,57,37,.07); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.guide-place[data-category="mangiare"] { --cat: #e66d4d; }
.guide-place[data-category="caffe"] { --cat: #c98a45; }
.guide-place[data-category="vedere"] { --cat: #31867a; }
.guide-place[data-category="musei"] { --cat: #7468ad; }
.guide-place[data-category="esperienze"] { --cat: #dd9d35; }
.guide-place:hover { transform: translateY(-2px); box-shadow: 0 15px 36px rgba(71,57,37,.12); }
.guide-place.highlighted { background: white; box-shadow: 0 0 0 3px color-mix(in srgb, var(--cat) 35%, transparent), 0 16px 38px rgba(71,57,37,.13); }
.place-index, .guide-place > div > p:first-child { color: var(--cat); }
.guide-place h3 { color: var(--ink); }
.guide-place > div > p:not(:first-child) { color: #615b52; }
.guide-place a { color: var(--ink); }
.guide-place-with-photo { grid-template-columns: 118px 48px 1fr; align-items: center; }
.guide-place-photo { width: 118px; height: 132px; border-radius: 12px; object-fit: cover; }

@media (max-width: 900px) {
  .guide-map { height: 520px; min-height: 0; }
}

@media (max-width: 600px) {
  .guide-map { height: 450px; min-height: 0; border-width: 5px; border-radius: 20px; }
  .guide-place-with-photo { grid-template-columns: 36px 1fr; }
  .guide-place-photo { grid-column: 1 / 3; width: 100%; height: 190px; }
}

/* ROMAntico — an old Roman address book */
.guide-intro { background: #e9e0d2; }
.guide-intro .section-kicker { color: #6e6252; }
.romantico-experience { margin: 0 calc(clamp(22px, 7.5vw, 130px) * -1); padding: clamp(54px, 7vw, 92px) clamp(22px, 7.5vw, 130px); background: #3b3029; background-image: radial-gradient(circle at 18% 8%, rgba(185,154,105,.13), transparent 25%), linear-gradient(120deg, rgba(255,255,255,.025), transparent 45%); }
.book-cover { position: relative; container-type: inline-size; width: min(430px, 100%); min-height: 570px; margin: 0 auto; padding: 54px 46px 42px; display: flex; flex-direction: column; align-items: center; border: 0; border-radius: 4px 16px 16px 4px; background: #5d332f; background-image: radial-gradient(circle at 25% 15%, rgba(255,255,255,.08), transparent 22%), repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px); color: #cdb083; box-shadow: -13px 12px 0 #d4c2a3, -18px 17px 0 #9f8b6c, 0 35px 65px rgba(0,0,0,.36); cursor: pointer; text-align: center; transition: transform .35s ease, box-shadow .35s ease; }
.book-cover[hidden] { display: none; }
.book-cover::before { content: ""; position: absolute; inset: 0 auto 0 22px; width: 1px; background: rgba(205,176,131,.45); box-shadow: 5px 0 rgba(205,176,131,.12); }
.book-cover:hover { transform: translateY(-7px) rotate(-.4deg); box-shadow: -13px 17px 0 #d4c2a3, -18px 22px 0 #9f8b6c, 0 42px 72px rgba(0,0,0,.4); }
.book-cover-border { position: absolute; inset: 18px; border: 1px solid rgba(205,176,131,.55); outline: 1px solid rgba(205,176,131,.18); outline-offset: 5px; pointer-events: none; }
.book-series { font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.book-title { margin: auto 0 12px; font-family: var(--serif); font-size: min(4.6rem, 20.5cqi); line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.book-flourish { margin: 18px 0; font-size: 1.2rem; }
.book-subtitle { max-width: 280px; font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; }
.book-open-label { margin-top: auto; display: inline-flex; align-items: center; gap: 9px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: .76rem; font-weight: 600; }
.book-open[hidden] { display: none; }
.book-open { padding: clamp(28px, 5vw, 62px); background: #cdbc9f; background-image: linear-gradient(90deg, rgba(96,70,45,.08), transparent 2%, transparent 98%, rgba(96,70,45,.08)); box-shadow: 0 30px 70px rgba(0,0,0,.24); animation: open-book .55s ease both; }
.book-open-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.book-open-head .eyebrow { margin-bottom: 10px; color: #70503d; }
.book-open-head h3 { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 400; line-height: .9; }
.book-controls { display: flex; gap: 8px; }
.book-controls button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(56,42,30,.35); background: #e8dcc6; color: #3b3029; cursor: pointer; }
.book-controls button:hover { background: #f3ead9; }
.book-controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.book-page-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; padding: 4px 3px 26px; scrollbar-color: #7f6850 transparent; }
.book-page { position: relative; flex: 0 0 min(390px, 82vw); min-height: 450px; padding: 30px; display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid rgba(67,50,34,.2); background: #eee4d1; background-image: radial-gradient(circle at 88% 12%, rgba(104,78,51,.08), transparent 24%), repeating-linear-gradient(0deg, rgba(82,58,34,.018) 0 1px, transparent 1px 5px); color: #332b24; box-shadow: 7px 9px 0 rgba(94,72,49,.13); }
.book-page::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(115,87,55,.11); pointer-events: none; }
.book-page:nth-child(2) { background-color: #e6dcc7; }
.book-page:nth-child(3) { background-color: #ded2bc; }
.book-page-meta { display: flex; justify-content: space-between; gap: 20px; color: #7e6850; font-size: .63rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.book-page .guide-distance { margin-top: auto; color: #8c593e; }
.book-page h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 2.45rem; font-weight: 400; line-height: .95; }
.book-page > p:not(.guide-distance), .book-page-content > p:not(.guide-distance) { margin: 0; color: #62584d; font-size: .88rem; }
.book-page a { position: relative; z-index: 1; align-self: flex-start; margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .76rem; font-weight: 600; }
.photo-credit { display: block; margin-top: 10px; color: #8a7e70; font-size: .68rem; letter-spacing: .02em; }
.photo-credit a { color: inherit; text-decoration: none; border-bottom: 0 !important; }
.photo-credit a:hover { text-decoration: underline; }
.book-page-photo { padding: 0; }
.book-page-photo > img { height: 165px; object-fit: cover; filter: sepia(.28) saturate(.7) contrast(.93); }
.book-page-content { padding: 25px 30px 30px; display: flex; flex: 1; flex-direction: column; }
.book-page-content .guide-distance { margin-top: auto; }
.book-themes { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 32px; border-top: 1px solid rgba(56,42,30,.25); border-bottom: 1px solid rgba(56,42,30,.25); }
.book-themes div { min-height: 116px; padding: 22px; display: grid; align-content: center; border-right: 1px solid rgba(56,42,30,.2); }
.book-themes div:last-child { border-right: 0; }
.book-themes span { color: #8e6749; font-family: var(--serif); }
.book-themes strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.book-themes small { color: #6c6257; }
/* Libro sfogliabile: due pagine affiancate, una sola su telefono. */
.flipbook-stage[hidden], .book-page-track[hidden] { display: none; }
.flipbook-stage { --page-h: min(620px, 74vh); display: grid; justify-items: center; gap: 16px; padding: 4px 0 6px; overflow: clip; }
.flipbook { position: relative; width: min(100%, calc(var(--page-h) * 1.48)); aspect-ratio: 1.48 / 1; perspective: 2600px; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline: none; }
.flipbook:active { cursor: grabbing; }
.flipbook:focus-visible { box-shadow: 0 0 0 3px #f3ead9, 0 0 0 5px #4b3b31; }
.flipbook.is-single { width: min(100%, 440px, calc(var(--page-h) * .68)); aspect-ratio: .68 / 1; }
.flipbook-base { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 30px 55px rgba(40,28,18,.3), 0 0 0 7px #6e4637, 0 0 0 8px rgba(205,176,131,.5); }
.flipbook.is-single .flipbook-base { grid-template-columns: 1fr; }
.flipbook.is-single .flip-endpaper + .flip-endpaper { display: none; }
.flip-endpaper { background: #7a4d3b; background-image: radial-gradient(circle at 30% 25%, rgba(255,235,200,.12), transparent 40%), repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0 2px, transparent 2px 7px); }
.flip-leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.3,.75,.25,1); }
.flipbook.is-single .flip-leaf { left: 0; width: 100%; }
.flip-leaf.flipped { transform: rotateY(-180deg); }
.flip-leaf.gone { visibility: hidden; }
.flip-face { position: absolute; inset: 0; overflow: hidden; container-type: inline-size; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #eee4d1; background-image: radial-gradient(circle at 88% 10%, rgba(104,78,51,.08), transparent 26%), repeating-linear-gradient(0deg, rgba(82,58,34,.018) 0 1px, transparent 1px 5px); color: #332b24; }
.flip-face.back { transform: rotateY(180deg); background-color: #e8ddc8; }
/* Ombra della rilegatura verso il centro del libro. */
.flip-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(60,40,20,.24), rgba(60,40,20,.07) 6%, transparent 15%); }
.flip-face.back::after { background: linear-gradient(270deg, rgba(60,40,20,.24), rgba(60,40,20,.07) 6%, transparent 15%); }
.flipbook.is-single .flip-face::after { background: linear-gradient(90deg, rgba(60,40,20,.14), transparent 7%); }
.leaf-page { position: relative; height: 100%; padding: 9% 10% 11%; display: flex; flex-direction: column; }
.leaf-page[data-category="mangiare"] { --cat: #9b5f45; }
.leaf-page[data-category="caffe"] { --cat: #8a6b48; }
.leaf-page[data-category="vedere"] { --cat: #66715b; }
.leaf-page[data-category="musei"] { --cat: #6b707f; }
.leaf-page[data-category="esperienze"] { --cat: #9b7a45; }
.leaf-page h4 { margin: 0 0 .5em; font-family: var(--serif); font-size: clamp(1.7rem, 10cqi, 2.8rem); font-weight: 400; line-height: .98; }
.leaf-page > p:not(.eyebrow):not(.guide-distance) { margin: 0; color: #62584d; font-size: clamp(.8rem, 3.6cqi, .95rem); line-height: 1.6; }
.leaf-page .eyebrow { color: #8c593e; }
.leaf-num { position: absolute; bottom: 4.5%; left: 0; right: 0; text-align: center; color: #9a8a76; font-family: var(--serif); font-size: .85rem; }
.leaf-intro ol { margin: 1em 0 0; padding: 0; list-style: none; display: grid; gap: .7em; font-size: clamp(.82rem, 3.8cqi, 1rem); }
.leaf-intro li button { position: relative; z-index: 1; width: 100%; padding: 0; display: flex; align-items: baseline; gap: 8px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.leaf-intro li button:hover span, .leaf-intro li button:focus-visible span { color: #8c593e; text-decoration: underline; text-underline-offset: 3px; }
.leaf-intro li i { flex: 1; border-bottom: 1px dotted rgba(90,70,50,.4); }
.leaf-intro li b { font-family: var(--serif); font-weight: 400; color: #8c593e; }
.leaf-more { margin-top: 1.2em !important; font-style: italic; }
.leaf-hint { margin-top: auto; color: #8c593e; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.leaf-photo { padding: 0; background: var(--cat, #8a6a4d); }
.leaf-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.24) saturate(.75); pointer-events: none; }
.leaf-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #f6efe3; background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 55%), repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 9px); box-shadow: inset 0 0 0 14px rgba(246,239,227,.1), inset 0 0 0 15px rgba(246,239,227,.35); }
.leaf-placeholder i { font-family: var(--serif); font-size: 3rem; font-style: normal; opacity: .85; }
.leaf-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30% 9% 7%; display: grid; gap: 4px; color: #f6efe3; background: linear-gradient(transparent, rgba(24,18,12,.7)); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.leaf-caption strong { font-family: var(--serif); font-size: clamp(1.3rem, 7cqi, 1.9rem); font-weight: 400; letter-spacing: 0; line-height: 1.05; text-transform: none; }
.leaf-caption .photo-credit { margin: 0; color: rgba(246,239,227,.8); font-weight: 400; letter-spacing: .02em; text-transform: none; }
.leaf-text .guide-distance { margin-top: auto; color: var(--cat, #8c593e); }
.leaf-text a, .leaf-button { position: relative; z-index: 1; align-self: flex-start; margin-top: 1.4em; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .76rem; font-weight: 600; }
.leaf-text .leaf-num, .leaf-intro .leaf-num { pointer-events: none; }
.leaf-end { justify-content: center; text-align: left; }
.leaf-button { padding: 12px 16px; border: 1px solid #4b3b31; background: #4b3b31; color: #f6efe3; }
.leaf-cover { padding: 9% 8% 8%; align-items: center; text-align: center; }
.leaf-cover .eyebrow { margin: 0; }
.leaf-cover-title { margin: .18em 0 0 !important; font-size: 15.5cqi !important; line-height: 1 !important; white-space: nowrap; letter-spacing: .01em; }
.leaf-cover-sub { margin: .4em 0 0 !important; font-family: var(--serif); font-size: clamp(.95rem, 5cqi, 1.25rem) !important; font-style: italic; }
.leaf-collage { position: relative; flex: 1; width: 100%; min-height: 0; margin: 7% 0 5%; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 5%; }
.leaf-collage img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border: 5px solid #fbf6ec; box-shadow: 0 8px 18px rgba(50,34,20,.22); filter: sepia(.2) saturate(.8); pointer-events: none; }
.leaf-collage img:nth-child(1) { grid-row: span 2; transform: rotate(-2.2deg); }
.leaf-collage img:nth-child(2) { transform: rotate(2.4deg) translateY(4%); }
.leaf-collage img:nth-child(3) { transform: rotate(-1.4deg); }
.leaf-collage img:nth-child(4) { position: absolute; left: 34%; bottom: -3%; width: 36%; height: 38%; transform: rotate(4deg); }
.leaf-collage[data-count="1"] img { grid-column: span 2; }
.leaf-collage[data-count="2"] img:nth-child(2) { grid-row: span 2; }
.leaf-cover .leaf-hint { margin-top: 0; }
.leaf-preface { justify-content: center; }
.leaf-preface h4 { font-size: clamp(1.6rem, 9cqi, 2.4rem); }
.leaf-signature { margin-top: 1.6em !important; font-family: var(--serif); font-style: italic; }
.leaf-place { padding: 0; }
.leaf-place-photo { position: relative; flex: 0 0 43%; margin: 0; overflow: hidden; background: var(--cat, #8a6a4d); }
.leaf-place-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.24) saturate(.75); pointer-events: none; }
.leaf-place-photo .leaf-placeholder { box-shadow: none; }
.leaf-place-photo .photo-credit { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 7% 6px; background: linear-gradient(transparent, rgba(24,18,12,.6)); color: rgba(246,239,227,.85); font-size: .6rem; }
.leaf-place-photo .photo-credit a { color: inherit; }
.leaf-place-body { flex: 1; display: flex; flex-direction: column; padding: 6% 8% 12%; min-height: 0; }
.leaf-place-body .guide-distance { margin: .9em 0 .3em; color: var(--cat, #8c593e); }
.leaf-place-body h4 { font-size: clamp(1.5rem, 8.5cqi, 2.2rem); margin-bottom: .35em; }
.leaf-place-body > p:not(.guide-distance) { margin: 0; color: #62584d; font-size: clamp(.8rem, 3.8cqi, .92rem); line-height: 1.55; }
.leaf-place-body a { position: relative; z-index: 1; align-self: flex-start; margin-top: auto; padding-top: .8em; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .76rem; font-weight: 600; }
.leaf-place .leaf-num { bottom: 3.2%; pointer-events: none; }
.flipbook-bar { width: min(100%, calc(var(--page-h) * 1.48)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; color: #5c4a3c; font-size: .8rem; }
.flipbook-skip { padding-bottom: 3px; border-bottom: 1px solid currentColor; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .flip-leaf { transition: none; } }

@keyframes open-book { from { opacity: 0; transform: perspective(1200px) rotateY(-4deg) translateY(12px); } to { opacity: 1; transform: none; } }

.guide-lock { background: linear-gradient(135deg, #b6a487, #d7c6a7 48%, #978d73); }
.unlock-panel { border: 1px solid #a28b69; border-radius: 3px; background: #eee5d5; box-shadow: 12px 15px 0 rgba(79,57,38,.14), 0 28px 68px rgba(31,27,21,.22); }
.guide-full { background: #e8dfd0; background-image: radial-gradient(circle at 84% 4%, rgba(130,97,65,.12), transparent 28%), repeating-linear-gradient(0deg, rgba(70,52,35,.012) 0 1px, transparent 1px 5px); }
.guide-full-head .eyebrow { color: #7a503b; }
.guide-toolbar button { border-radius: 2px; background: rgba(246,239,225,.55); }
.guide-toolbar button.active { background: #4b3b31; border-color: #4b3b31; }
.guide-toolbar button[data-filter="mangiare"]:not(.active) { border-color: #9b5f45; }
.guide-toolbar button[data-filter="caffe"]:not(.active) { border-color: #8a6b48; }
.guide-toolbar button[data-filter="vedere"]:not(.active) { border-color: #66715b; }
.guide-toolbar button[data-filter="musei"]:not(.active) { border-color: #6b707f; }
.guide-toolbar button[data-filter="esperienze"]:not(.active) { border-color: #9b7a45; }
.guide-explorer { grid-template-columns: 1fr; }
.guide-map { position: relative; top: auto; height: 560px; border: 6px solid #d6c6aa; border-radius: 4px; box-shadow: 9px 11px 0 rgba(91,68,43,.12); }
.guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.guide-place { --cat: #8a6a4d; min-height: 250px; align-content: center; border: 1px solid rgba(69,52,35,.18); border-top: 3px solid var(--cat); border-left: 1px solid rgba(69,52,35,.18); border-radius: 2px; background: #f1e8d8; background-image: linear-gradient(110deg, rgba(100,73,45,.04), transparent 35%); box-shadow: 6px 7px 0 rgba(91,68,43,.08); }
.guide-place[data-category="mangiare"] { --cat: #9b5f45; }
.guide-place[data-category="caffe"] { --cat: #8a6b48; }
.guide-place[data-category="vedere"] { --cat: #66715b; }
.guide-place[data-category="musei"] { --cat: #6b707f; }
.guide-place[data-category="esperienze"] { --cat: #9b7a45; }
.guide-place.highlighted { background: #f7f0e3; box-shadow: 0 0 0 2px color-mix(in srgb, var(--cat) 30%, transparent), 7px 8px 0 rgba(91,68,43,.1); }
.guide-place-with-photo { grid-column: 1 / 3; grid-template-columns: 220px 48px 1fr; }
.guide-place-photo { width: 220px; height: 180px; border-radius: 1px; filter: sepia(.24) saturate(.72); }
.guide-map-marker { border-radius: 50% 50% 50% 8px; }
/* Luoghi senza foto: riquadro nel colore della categoria, così tutte le schede hanno lo stesso impianto. */
.guide-place-placeholder { display: grid; place-content: center; justify-items: center; gap: 10px; filter: none; color: #f6efe3; background: var(--cat); background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 55%), repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 9px); box-shadow: inset 0 0 0 6px rgba(246,239,227,.12), inset 0 0 0 7px rgba(246,239,227,.35); }
.guide-place-placeholder i { font-family: var(--serif); font-size: 2rem; font-style: normal; line-height: 1; opacity: .85; }
.guide-place-placeholder span { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.guide-map .leaflet-tile-pane, .guide-map .leaflet-gl-layer { filter: sepia(.18) saturate(.9); }
.guide-map-osm .leaflet-tile-pane { filter: grayscale(1) sepia(.25) contrast(.9) brightness(1.06); }

@media (max-width: 900px) {
  .romantico-experience { margin-left: -22px; margin-right: -22px; }
  .book-themes { grid-template-columns: 1fr 1fr; }
  .book-themes div:nth-child(2) { border-right: 0; }
  .book-themes div:nth-child(-n+2) { border-bottom: 1px solid rgba(56,42,30,.2); }
  .guide-list { grid-template-columns: 1fr; }
  .guide-place-with-photo { grid-column: auto; grid-template-columns: 150px 42px 1fr; }
  .guide-place-photo { width: 150px; }
}

@media (max-width: 600px) {
  .book-cover { min-height: 500px; padding: 45px 35px 35px; }
  .book-open { padding: 28px 18px; }
  .book-open-head { align-items: center; }
  .book-open-head h3 { font-size: 2.5rem; }
  .book-page { flex-basis: 84vw; min-height: 430px; }
  .book-themes { grid-template-columns: 1fr 1fr; }
  .book-themes div { min-height: 100px; padding: 16px; }
  .guide-map { height: 450px; }
  .guide-place-with-photo { grid-template-columns: 36px 1fr; }
  .guide-place-photo { grid-column: 1 / 3; width: 100%; height: 185px; }
}

@media (max-width: 900px) {
  .guide-page .mobile-cta.is-unlocked {
    left: auto;
    right: 16px;
    width: auto;
    min-height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: .82rem;
  }
}

/* Gestionale contenuti */
.admin-section-head { display: flex; align-items: start; justify-content: space-between; gap: 30px; }
.admin-section-head .eyebrow, .admin-card > .eyebrow { margin: 0 0 7px; color: #8a6545; }
.admin-section-head h2 { margin-bottom: 8px; }
.admin-section-head p { max-width: 660px; margin: 0; }
.admin-add, .admin-email { flex: 0 0 auto; min-height: 46px; padding: 0 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; font-weight: 600; }
.admin-email { margin-top: 22px; background: var(--ink); color: white; }

/* Booking request and guest self-service */
.booking-dialog { width: min(720px, calc(100vw - 28px)); max-height: calc(100vh - 32px); margin: auto; padding: 0; border: 1px solid rgba(75,54,36,.3); background: #f4eddf; color: #302922; box-shadow: 0 28px 90px rgba(20,16,12,.36); }
.booking-dialog::backdrop { background: rgba(19,17,14,.72); backdrop-filter: blur(5px); }
.booking-request-form { position: relative; padding: 42px; }
.booking-dialog-close { position: absolute; top: 18px; right: 20px; width: 38px; height: 38px; border: 0; background: transparent; color: #55483c; font-size: 2rem; line-height: 1; cursor: pointer; }
.booking-request-form h2 { margin: 4px 0 10px; font-family: var(--serif); font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 400; line-height: 1; }
.booking-dialog-intro { max-width: 590px; margin: 0 0 24px; color: #6c6054; line-height: 1.6; }
.booking-request-summary { display: grid; gap: 6px; margin: 0 0 26px; padding: 20px; border: 1px solid rgba(75,54,36,.18); background: rgba(255,255,255,.35); }
.booking-request-summary strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.booking-request-summary span { color: #6a5e52; font-size: .88rem; }
.booking-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.booking-form-grid label, .rate-options legend { display: grid; gap: 8px; color: #574b40; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.booking-form-grid label:nth-child(3), .booking-form-message { grid-column: 1 / -1; }
.booking-form-grid input, .booking-form-grid textarea, .guest-action-form input, .guest-action-form select, .guest-action-form textarea { width: 100%; border: 1px solid rgba(75,54,36,.28); border-radius: 0; background: #fbf7ef; color: #302922; font: inherit; font-size: .95rem; letter-spacing: normal; text-transform: none; }
.booking-form-grid input { height: 48px; padding: 0 13px; }
.booking-form-grid textarea, .guest-action-form textarea { padding: 13px; resize: vertical; }
.booking-form-grid small { font-weight: 400; text-transform: none; }
.booking-form-grid select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid rgba(75,54,36,.28); border-radius: 0; background: #fbf7ef; color: #302922; font: inherit; font-size: .95rem; letter-spacing: normal; text-transform: none; }
.booking-form-grid:has(#bookingChildrenField:not([hidden])) label:nth-child(3) { grid-column: auto; }
.booking-phone { position: relative; display: grid; gap: 8px; grid-column: 1 / -1; }
.booking-phone-label { color: #574b40; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.booking-phone-row { display: flex; }
.booking-phone-row input { flex: 1; min-width: 0; border-left: 0 !important; }
.booking-phone-country { display: inline-flex; align-items: center; gap: 7px; height: 48px; padding: 0 12px; border: 1px solid rgba(75,54,36,.28); background: #f3ecdf; color: #302922; font: inherit; font-size: .95rem; cursor: pointer; white-space: nowrap; }
.booking-phone-country span { font-size: 1.15rem; line-height: 1; }
.booking-phone-country b { font-weight: 600; font-variant-numeric: tabular-nums; }
.booking-phone-country i { width: 7px; height: 7px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.booking-phone-country[aria-expanded="true"] i { transform: translateY(2px) rotate(-135deg); }
.booking-phone-country:focus-visible, .booking-phone-panel input:focus-visible { outline: 2px solid var(--bronze); outline-offset: 1px; }
.booking-phone-panel[hidden] { display: none; }
.booking-phone-panel { position: absolute; z-index: 20; top: calc(100% - 4px); left: 0; width: min(360px, 100%); border: 1px solid rgba(75,54,36,.3); background: #fffdf8; box-shadow: 0 18px 40px rgba(38,30,20,.18); }
.booking-phone-panel input { width: 100%; height: 44px; padding: 0 13px; border: 0; border-bottom: 1px solid rgba(75,54,36,.18); background: transparent; font: inherit; font-size: .95rem; color: #302922; }
.booking-phone-panel ul { max-height: 260px; margin: 0; padding: 4px 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.booking-phone-panel li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; padding: 9px 13px; font-size: .92rem; color: #302922; cursor: pointer; }
.booking-phone-panel li span:first-child { font-size: 1.1rem; }
.booking-phone-panel li b { font-weight: 500; color: #76695c; font-variant-numeric: tabular-nums; }
.booking-phone-panel li.active, .booking-phone-panel li:hover { background: #f1e7d6; }
.booking-phone-panel li[aria-selected="true"] { font-weight: 600; }
.booking-phone-panel li.empty { display: block; color: #76695c; cursor: default; }
.field-error[hidden] { display: none; }
.field-error { font-style: normal; font-size: .82rem; font-weight: 500; letter-spacing: normal; text-transform: none; color: #9a3f25; }
.has-error input, .has-error .booking-phone-country { border-color: #b4553a !important; }
.booking-request-summary:has(+ .booking-breakdown) { margin-bottom: 0; border-bottom: 0; }
.booking-breakdown { margin: 0 0 26px; padding: 4px 20px 16px; border: 1px solid rgba(75,54,36,.18); border-top: 1px dashed rgba(75,54,36,.22); background: rgba(255,255,255,.35); font-size: .9rem; color: #574b40; }
.booking-breakdown dl { display: grid; margin: 0; }
.booking-breakdown dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(75,54,36,.1); }
.booking-breakdown dt { margin: 0; }
.booking-breakdown dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.booking-breakdown .booking-breakdown-total { border-bottom: 0; padding-top: 14px; color: #29251f; font-weight: 600; font-size: 1rem; }
.booking-breakdown p { margin: 10px 0 0; color: #7a6b5c; font-size: .82rem; line-height: 1.5; }
.rate-options { margin: 25px 0 20px; padding: 0; border: 0; }
.rate-options legend { margin-bottom: 10px; }
.rate-options > label { display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 15px 0; border-top: 1px solid rgba(75,54,36,.2); cursor: pointer; }
.rate-options > label:last-child { border-bottom: 1px solid rgba(75,54,36,.2); }
.rate-options input { accent-color: #895b40; }
.rate-options span { display: grid; gap: 3px; }
.rate-options strong { font-size: .9rem; }
.rate-options small { color: #776b5f; }
.rate-options b { font-family: var(--serif); font-size: 1.12rem; font-weight: 400; }
.transfer-options { margin: 25px 0 0; padding: 0; border: 0; }
.transfer-options[hidden], .transfer-fields[hidden], #bookingChildrenField[hidden] { display: none; }
.transfer-options legend { margin-bottom: 10px; color: #574b40; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.transfer-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.transfer-fields label:first-child { grid-column: 1 / -1; }
.transfer-fields label { display: grid; gap: 8px; color: #574b40; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.transfer-fields input, .transfer-fields select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid rgba(75,54,36,.28); border-radius: 0; background: #fbf7ef; color: #302922; font: inherit; font-size: .95rem; letter-spacing: normal; text-transform: none; }
.transfer-note { grid-column: 1 / -1; margin: 0; color: #7a6b5c; font-size: .82rem; line-height: 1.5; }
.booking-terms { display: flex; gap: 10px; align-items: flex-start; color: #62574c; font-size: .8rem; line-height: 1.5; }
.booking-terms input { margin-top: 3px; accent-color: #895b40; }
.booking-terms a { text-decoration: underline; text-underline-offset: 2px; }
.booking-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.booking-form-status { min-height: 0; margin: 18px 0 0; font-size: .9rem; line-height: 1.5; }
.booking-form-status.success { padding: 15px; background: #e0ead9; color: #31522e; }
.booking-form-status.error { padding: 15px; background: #f0dcd6; color: #7a3529; }
.booking-submit { width: 100%; min-height: 52px; margin-top: 18px; border: 1px solid #28231e; background: #28231e; color: white; font-weight: 600; cursor: pointer; }
.booking-submit:disabled { opacity: .55; cursor: wait; }
.booking-security-note { display: block; margin-top: 11px; color: #766a5e; text-align: center; }
/* Secondo passo: il modulo Stripe incorporato nella stessa finestra */
.booking-pay { position: relative; padding: 42px; }
.booking-pay[hidden], .booking-request-form[hidden] { display: none; }
.booking-pay h2 { margin: 4px 0 18px; font-family: var(--serif); font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 400; line-height: 1; }
.booking-pay .booking-request-summary { margin-bottom: 22px; }
.booking-pay-back { margin: 0 0 22px; padding: 0 0 3px; border: 0; border-bottom: 1px solid rgba(75,54,36,.35); background: none; color: #55483c; font: inherit; font-size: .84rem; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.booking-pay-back:hover, .booking-pay-back:focus-visible { color: #29251f; border-color: var(--bronze); }
.booking-pay-frame { min-height: 320px; background: #f4eddf; }
.booking-pay-loading { margin: 0; padding: 60px 0; color: #766a5e; text-align: center; animation: booking-pay-pulse 1.4s ease-in-out infinite; }
@keyframes booking-pay-pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .booking-pay-loading { animation: none; } }

.booking-manage { min-height: 70vh; padding-top: 150px; }
.guest-booking-details[hidden], .guest-action-buttons[hidden], .guest-action-form[hidden] { display: none; }
.checkout-result[hidden] { display: none; }
.booking-manage:has(.checkout-result:not([hidden])) { min-height: 0; padding-top: clamp(24px, 5vh, 48px); padding-bottom: 32px; }
.checkout-result { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); max-width: 1120px; margin: 0 auto; background: #efe5d3; border: 1px solid rgba(75,54,36,.22); animation: reveal-result .5s ease both; }
.checkout-result-copy { padding: clamp(24px, 3.4vw, 44px) clamp(22px, 3.6vw, 48px); }
.checkout-result h1 { margin: 8px 0 12px; font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.checkout-result-lead { max-width: 560px; margin: 0; font-size: 1.02rem; line-height: 1.55; color: #3f372e; }
.checkout-result[data-state="confirmed"] .eyebrow:first-child, .checkout-result[data-state="requested"] .eyebrow:first-child { color: #8a5a2a; }
.checkout-progress { width: min(280px, 100%); height: 3px; margin-top: 22px; overflow: hidden; background: rgba(75,54,36,.14); }
.checkout-progress span { display: block; width: 40%; height: 100%; background: var(--bronze); animation: checkout-progress 1.3s ease-in-out infinite; }
.checkout-result:not([data-state="processing"]) .checkout-progress { display: none; }
@keyframes checkout-progress { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.checkout-summary[hidden], .checkout-steps[hidden] { display: none; }
.checkout-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 0; border-top: 1px solid rgba(75,54,36,.22); border-bottom: 1px solid rgba(75,54,36,.22); }
.checkout-summary div { padding: 12px 12px 12px 0; }
.checkout-summary div + div { padding-left: 12px; border-left: 1px solid rgba(75,54,36,.16); }
.checkout-summary dt { margin: 0 0 4px; color: #76695c; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.checkout-summary dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; }
.checkout-summary dd small { display: block; margin-top: 3px; font-family: var(--sans); font-size: .74rem; color: #76695c; }
.checkout-steps { margin-top: 20px; }
.checkout-steps ol { display: grid; gap: 7px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: step; }
.checkout-steps li { position: relative; padding-left: 32px; font-size: .92rem; line-height: 1.45; color: #3f372e; counter-increment: step; }
.checkout-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: var(--ink); color: var(--ivory); font-size: .7rem; font-weight: 600; line-height: 21px; text-align: center; }
.checkout-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px; }
.checkout-home { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; background: var(--ink); color: var(--ivory); font-weight: 600; text-decoration: none; }
.checkout-home:hover { background: #2b2822; }
.checkout-guide { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.checkout-result-photo { position: relative; margin: 0; min-height: 100%; }
.checkout-result-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
.checkout-result-photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; color: var(--ivory); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
@media (max-width: 860px) {
  .checkout-result { grid-template-columns: 1fr; }
  .checkout-result-photo { min-height: 0; }
  .checkout-result-photo img { position: static; height: 150px; }
  .checkout-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-summary div:nth-child(3) { padding-left: 0; border-left: 0; }
  .checkout-summary div:nth-child(n+3) { border-top: 1px solid rgba(75,54,36,.16); }
}
@media (max-width: 520px) {
  .checkout-actions a { flex: 1 1 100%; justify-content: center; text-align: center; }
  .checkout-guide { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .checkout-result, .checkout-progress span { animation: none; } }
.guest-booking-card { max-width: 760px; margin: 0 auto; padding: clamp(26px, 5vw, 54px); border: 1px solid rgba(75,54,36,.22); background: #efe5d3; }
.guest-booking-card h1 { margin: 8px 0 15px; font-family: var(--serif); font-size: clamp(2.5rem, 7vw, 4.8rem); font-weight: 400; line-height: .95; }
.guest-booking-details { display: grid; grid-template-columns: repeat(2, 1fr); margin: 30px 0; border-top: 1px solid rgba(75,54,36,.22); }
.guest-booking-details div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(75,54,36,.22); }
.guest-booking-details div:nth-child(odd) { padding-right: 20px; }
.guest-booking-details span { color: #76695c; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.guest-action-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.guest-action-buttons button, .guest-action-form button { min-height: 46px; padding: 0 18px; border: 1px solid #302922; background: #302922; color: #fff; cursor: pointer; }
.guest-action-buttons button:last-child { background: transparent; color: #302922; }
.guest-action-buttons button:disabled { opacity: .45; cursor: not-allowed; }
.host-request-message, .host-overlaps, .host-confirm { margin: 0 0 26px; padding: 18px 20px; border: 1px solid rgba(75,54,36,.18); background: rgba(255,255,255,.35); }
.host-request-message[hidden], .host-overlaps[hidden], .host-confirm[hidden] { display: none; }
.host-request-message span { color: #76695c; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.host-request-message p, .host-overlaps p, .host-confirm p { margin: 8px 0 0; line-height: 1.6; }
.host-confirm p { margin: 0 0 16px; }
.host-overlaps ul { display: grid; margin: 12px 0 0; padding: 0; list-style: none; }
.host-overlaps li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(75,54,36,.12); font-size: .9rem; }
.host-warning { color: #9a4a2e; font-weight: 600; }
.guest-action-form { display: grid; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(75,54,36,.22); }
.guest-action-form label { display: grid; gap: 7px; font-size: .78rem; font-weight: 600; }
.guest-action-form input, .guest-action-form select { height: 46px; padding: 0 12px; }
.guest-action-notice { color: #6f6256; font-size: .85rem; line-height: 1.6; }

@media (max-width: 620px) {
  .booking-request-form, .booking-pay { padding: 34px 22px 28px; }
  .booking-pay { padding-left: 14px; padding-right: 14px; }
  .booking-form-grid { grid-template-columns: 1fr; }
  .booking-form-grid label { grid-column: 1; }
  .rate-options > label { grid-template-columns: auto 1fr; }
  .rate-options b { grid-column: 2; }
  .guest-booking-details { grid-template-columns: 1fr; }
  .guest-booking-details div:nth-child(odd) { padding-right: 0; }
}
.admin-two-columns, .admin-repeat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.admin-repeater { margin-top: 28px; display: grid; gap: 14px; }
.admin-repeat-item { position: relative; padding: 22px; border: 1px solid var(--line); background: #f6f2ea; }
.admin-repeat-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-repeat-toolbar strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.admin-repeat-toolbar > div { display: flex; gap: 5px; }
.admin-repeat-toolbar button { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); background: white; cursor: pointer; }
.admin-repeat-toolbar button:last-child { color: #8a3f35; }
.admin-repeat-grid .wide { grid-column: 1 / 3; }
.admin-card select { width: 100%; border: 1px solid var(--line); background: white; padding: 14px; font: inherit; }
.admin-repeat-preview, .admin-repeat-empty { width: 100%; height: 190px; margin-top: 18px; object-fit: cover; }
.admin-repeat-empty { display: grid; place-items: center; background: #ded7ca; color: #777067; font-size: .78rem; }

/* Fotografie per ambiente */
.house-spaces { padding-top: 20px; }
.house-spaces-head { margin: 44px 0 38px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.house-spaces-head h2 { font-family: var(--serif); font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; line-height: .9; margin: 0; }
.house-spaces-head p { max-width: 330px; margin: 0; color: #69635b; }
.house-spaces-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.house-space-card { background: #e8e0d3; }
.house-space-media { aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; background: #d8cdbd; color: #7a6c5e; }
.house-space-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.house-space-card:hover img { transform: scale(1.025); }
.house-space-media span { font-family: var(--serif); font-size: 4rem; }
.house-space-media small { margin-top: -40%; text-transform: uppercase; letter-spacing: .12em; }
.house-space-card > div:last-child { padding: 24px; }
.house-space-card p { margin: 0 0 8px; color: #8b6747; font-size: .66rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.house-space-card h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; }
.house-space-card > div:last-child > span { color: #6b655d; }

@media (max-width: 700px) {
  .admin-section-head, .house-spaces-head { align-items: stretch; flex-direction: column; }
  .admin-two-columns, .admin-repeat-grid, .house-spaces-grid { grid-template-columns: 1fr; }
  .admin-repeat-grid .wide { grid-column: auto; }
  .admin-repeat-toolbar { align-items: flex-start; flex-direction: column; }
}

/* Gestionale compatto, navigazione e upload */
.admin-shell { width: min(1240px, calc(100% - 48px)); }
.admin-form { display: block; margin-top: 56px; }
.admin-workspace { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.admin-side-nav { position: sticky; top: 22px; display: grid; padding: 14px; background: #ded9cf; }
.admin-side-nav > p { margin: 5px 10px 12px; color: #746e65; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.admin-side-nav button { min-height: 50px; padding: 0 11px; display: grid; grid-template-columns: 28px 1fr; align-items: center; border: 0; border-bottom: 1px solid rgba(23,22,19,.09); background: transparent; color: #5f5a53; text-align: left; cursor: pointer; font: inherit; font-size: .76rem; }
.admin-side-nav button span { color: #9a7655; font-size: .62rem; }
.admin-side-nav button:hover { background: rgba(255,255,255,.45); color: var(--ink); }
.admin-side-nav button.active { background: var(--ink); color: var(--ivory); }
.admin-side-nav button.active span { color: var(--bronze); }
.admin-panels { min-width: 0; }
.admin-section { padding: 0; }
.admin-section[hidden] { display: none; }
.admin-card-toggle { width: 100%; min-height: 104px; padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.admin-card-toggle span { display: grid; gap: 7px; font-size: 1.28rem; font-weight: 600; }
.admin-card-toggle small { color: #8a6545; font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.admin-card-toggle i, .admin-repeat-toggle i { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.admin-card-toggle i::before, .admin-card-toggle i::after, .admin-repeat-toggle i::before, .admin-repeat-toggle i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .2s ease; }
.admin-card-toggle[aria-expanded="false"] i::after, .admin-repeat-toggle[aria-expanded="false"] i::after { transform: translate(-50%, -50%) rotate(90deg); }
.admin-card-body { padding: 0 30px 34px; border-top: 1px solid var(--line); }
.admin-card-body[hidden], .admin-repeat-body[hidden] { display: none; }
.admin-card-body > label:first-child { margin-top: 28px; }
.admin-image-card { padding-top: 28px; display: grid; }
.admin-image-card label:first-child { margin-top: 0; }
.admin-section-head { padding-top: 26px; align-items: center; }
.admin-section-head > p { max-width: 610px; }
.admin-file-control { position: relative; min-height: 48px; margin-top: 4px; display: grid; place-items: center; border: 1px dashed #9d9488; background: #f8f5ef; color: var(--ink); overflow: hidden; cursor: pointer; }
.admin-file-control:hover { border-color: var(--bronze); background: #f1eadf; }
.admin-file-control input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.admin-file-control b { font-size: .76rem; font-weight: 600; pointer-events: none; }
.admin-image-preview { position: relative; }
.admin-image-preview span { position: absolute; left: 10px; bottom: 10px; padding: 6px 9px; background: rgba(23,22,19,.82); color: white; font-size: .64rem; }
.admin-remove-image { margin-top: 14px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #8a3f35; cursor: pointer; font: inherit; font-size: .72rem; }
.admin-repeat-item { padding: 0; }
.admin-repeat-toolbar { min-height: 72px; padding: 0 14px 0 20px; flex-direction: row; align-items: center; }
.admin-repeat-toolbar > div { flex: 0 0 auto; }
.admin-repeat-toggle { min-width: 0; flex: 1 1 auto; min-height: 70px; padding: 0 14px 0 0 !important; display: grid; grid-template-columns: minmax(0, 1fr) auto 22px; align-items: center; gap: 15px; border: 0 !important; background: transparent !important; color: var(--ink) !important; text-align: left; }
.admin-repeat-toggle strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-repeat-toggle > span { color: #777067; font-size: .67rem; white-space: nowrap; }
.admin-repeat-body { padding: 4px 20px 22px; border-top: 1px solid var(--line); }
.admin-repeat-body > label:first-child { margin-top: 22px; }
.admin-photo-list { margin-top: 18px; display: grid; gap: 10px; }
.admin-photo-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; background: white; }
.admin-photo-item img { width: 150px; height: 110px; object-fit: cover; }
.admin-photo-item label { margin: 0 0 8px; }
.admin-photo-item label:last-child { margin-bottom: 0; }
.admin-photo-item input { padding: 10px; }
.admin-photo-item > button, .admin-guide-photo-preview button { align-self: start; padding: 7px 9px; border: 1px solid var(--line); background: #fff; color: #8a3f35; cursor: pointer; }
.admin-guide-photo { margin-top: 18px; padding-top: 2px; border-top: 1px solid var(--line); }
.admin-guide-photo-preview { position: relative; margin-top: 12px; }
.admin-guide-photo-preview img { width: 100%; max-height: 260px; object-fit: cover; }
.admin-guide-photo-preview button { position: absolute; top: 10px; right: 10px; }
.admin-actions { position: sticky; z-index: 8; bottom: 12px; width: calc(100% - 242px); margin: 18px 0 0 auto; padding: 10px; display: flex; justify-content: flex-end; background: rgba(233,230,223,.92); backdrop-filter: blur(12px); }
.admin-availability-card { padding: 0; }
.admin-availability-card .admin-card-body { padding-top: 28px; }
.admin-calendar-head > p { margin: 0; }

.admin-events-card { padding: 0; }
.admin-events-card .admin-card-body { padding-top: 30px; }
.event-monitor-head { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 38px; align-items: start; }
.event-monitor-head .eyebrow { margin-bottom: 10px; color: var(--bronze); }
.event-monitor-head h2 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.event-monitor-head > div:first-child > p:last-child { max-width: 620px; color: #676159; }
.event-monitor-status { padding: 20px; display: grid; grid-template-columns: 10px 1fr; column-gap: 10px; align-items: center; background: #e6ebdf; border-radius: 12px; }
.event-monitor-status > span { width: 10px; height: 10px; border-radius: 50%; background: #66805c; box-shadow: 0 0 0 5px rgba(102,128,92,.12); }
.event-monitor-status strong { font-size: .82rem; }
.event-monitor-status small { grid-column: 2; color: #686d63; font-size: .68rem; }
.event-monitor-status.failed { background: #f0e1dc; }
.event-monitor-status.failed > span { background: #a9513d; box-shadow: 0 0 0 5px rgba(169,81,61,.12); }
.event-monitor-summary { margin: 36px 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.event-monitor-summary > div { min-height: 92px; padding: 18px; display: grid; align-content: center; border-right: 1px solid var(--line); }
.event-monitor-summary > div:last-child { border-right: 0; }
.event-monitor-summary span { color: #716a61; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.event-monitor-summary strong { margin-top: 3px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.event-list { display: grid; gap: 8px; }
.event-item { min-height: 116px; padding: 18px; display: grid; grid-template-columns: 130px minmax(0, 1fr) 125px; gap: 22px; align-items: center; background: #f5f2eb; border-left: 4px solid #927459; }
.event-item[data-impact="alta"] { border-left-color: #c16a3f; }
.event-item[data-impact="eccezionale"] { border-left-color: #a23d2b; }
.event-date { display: grid; }
.event-date > span { font-family: var(--serif); font-size: 1.2rem; text-transform: capitalize; }
.event-date small, .event-price small { color: #777067; font-size: .66rem; }
.event-copy { min-width: 0; }
.event-copy h3 { margin: 2px 0 4px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.15; }
.event-copy p { margin: 0; color: #666057; font-size: .75rem; }
.event-impact { color: #8c5f3d; font-size: .59rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.event-source { display: inline-block; margin-top: 5px; color: #796044; font-size: .66rem; text-decoration: underline; text-underline-offset: 3px; }
.event-price { display: grid; justify-items: end; text-align: right; }
.event-price > span { color: #a54d31; font-size: .72rem; font-weight: 600; }
.event-price strong { font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.event-empty { margin: 0; padding: 42px 24px; background: #f5f2eb; color: #716a61; text-align: center; }

.house-space-media figure { position: relative; width: 100%; height: 100%; margin: 0; flex: 0 0 100%; }
.house-space-media figure img { display: block; }
.house-space-media figure small { position: absolute; right: 10px; bottom: 10px; margin: 0; padding: 5px 8px; background: rgba(23,22,19,.78); color: white; font-size: .62rem; letter-spacing: .08em; }
.house-space-media.multiple { display: flex; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.house-space-media.multiple figure { flex-basis: 88%; scroll-snap-align: start; }

@media (max-width: 900px) {
  .admin-shell { width: min(100% - 28px, 1040px); }
  .admin-workspace { grid-template-columns: 190px minmax(0, 1fr); gap: 14px; }
  .admin-side-nav { padding: 9px; }
  .admin-card-toggle { padding: 22px; }
  .admin-card-body { padding-left: 22px; padding-right: 22px; }
  .admin-actions { width: calc(100% - 204px); }
  .admin-photo-item { grid-template-columns: 112px minmax(0, 1fr); }
  .admin-photo-item img { width: 112px; height: 100px; }
  .admin-photo-item > button { grid-column: 2; justify-self: start; }
}

@media (max-width: 700px) {
  .admin-page { padding-bottom: 0; }
  .admin-shell { width: 100%; padding: 22px 14px 90px; }
  .admin-top { margin-bottom: 46px; }
  .admin-title { padding: 0 6px; }
  .admin-title h1 { font-size: clamp(3.5rem, 17vw, 5rem); }
  .admin-form { margin-top: 38px; }
  .admin-workspace { display: block; }
  .admin-side-nav { z-index: 10; top: 0; margin: 0 -14px 12px; padding: 9px 14px; display: flex; gap: 7px; overflow-x: auto; box-shadow: 0 6px 20px rgba(23,22,19,.08); scrollbar-width: none; }
  .admin-side-nav::-webkit-scrollbar { display: none; }
  .admin-side-nav > p { display: none; }
  .admin-side-nav button { min-height: 42px; min-width: max-content; padding: 0 14px; display: block; border: 1px solid rgba(23,22,19,.12); background: #f3efe8; }
  .admin-side-nav button span { margin-right: 6px; }
  .admin-card-toggle { min-height: 88px; padding: 18px; }
  .admin-card-toggle span { font-size: 1.08rem; }
  .admin-card-body { padding: 0 18px 24px; }
  .admin-image-card { padding-top: 22px; }
  .admin-section-head { padding-top: 22px; }
  .admin-section-head .admin-add { width: 100%; }
  .admin-repeat-toolbar { padding: 0 10px 0 14px; }
  .admin-repeat-toggle { min-height: 68px; grid-template-columns: minmax(0, 1fr) 20px; }
  .admin-repeat-toggle > span { display: none; }
  .admin-repeat-toolbar > div { display: grid; grid-template-columns: 34px 34px; }
  .admin-repeat-toolbar > div button:last-child { grid-column: 1 / 3; }
  .admin-repeat-body { padding: 4px 14px 18px; }
  .admin-photo-item { grid-template-columns: 1fr; }
  .admin-photo-item img { width: 100%; height: 180px; }
  .admin-photo-item > button { grid-column: auto; }
  .admin-actions { position: fixed; left: 0; right: 0; bottom: 0; width: auto; margin: 0; padding: 9px 14px; box-shadow: 0 -5px 22px rgba(23,22,19,.12); }
  .admin-actions button { min-height: 48px; padding: 0 15px; }
  .event-monitor-head { grid-template-columns: 1fr; }
  .event-monitor-summary { grid-template-columns: 1fr; }
  .event-monitor-summary > div { min-height: 76px; border-right: 0; border-bottom: 1px solid var(--line); }
  .event-monitor-summary > div:last-child { border-bottom: 0; }
  .event-item { grid-template-columns: 1fr auto; gap: 14px; }
  .event-date { grid-column: 1 / 3; grid-template-columns: auto 1fr; gap: 8px; align-items: baseline; }
}

/* Gestionale · collegamento server, prenotazioni, pagamenti */
.admin-top a.brand { border-bottom: 0; }
.admin-title { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 24px 56px; align-items: end; margin-bottom: 44px; }
.admin-title h1 { font-size: clamp(3rem, 5.4vw, 5.2rem); line-height: 1.02; max-width: 11ch; }
.admin-title-side p { margin: 0; }
.admin-title-side .admin-connection { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--ivory); color: #8a5a3c; font-size: .78rem; }
.admin-connection i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.admin-connection.connected { color: #3f6b46; }
@media (max-width: 760px) { .admin-title { grid-template-columns: 1fr; margin-bottom: 30px; } .admin-title h1 { font-size: clamp(2.8rem, 13vw, 4rem); } }
.admin-nav-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 6px; border-radius: 10px; background: var(--bronze); color: var(--ink); font-size: .7rem; }
.admin-nav-badge[hidden] { display: none; }
.admin-card select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); background: white; font: inherit; }
.admin-choice { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; border: 0; }
.admin-choice legend { margin-bottom: 10px; font-size: .78rem; font-weight: 600; }
.admin-card .admin-choice label { grid-template-columns: auto 1fr; align-items: start; gap: 12px; margin: 0; padding: 14px; border: 1px solid var(--line); background: white; cursor: pointer; }
.admin-card .admin-choice input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--ink); }
.admin-choice span { display: grid; gap: 4px; }
.admin-choice small { color: #6b665e; font-weight: 400; }
.admin-choice label:has(input:checked) { border-color: var(--ink); }
.admin-transfer-points { display: grid; gap: 12px; margin-top: 18px; }
.admin-transfer-point { display: grid; grid-template-columns: 2fr 2fr 1fr 1fr auto; gap: 12px; align-items: end; padding: 14px; border: 1px solid var(--line); background: white; }
.admin-card .admin-transfer-point label { margin: 0; }
.admin-transfer-point button { min-height: 46px; padding: 0 14px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.admin-transfer-points .admin-add { justify-self: start; }
.admin-booking-transfer { margin: 10px 0 0; padding: 10px 12px; border-left: 2px solid var(--ink); background: rgba(0,0,0,.03); font-size: .85rem; }
@media (max-width: 760px) { .admin-transfer-point { grid-template-columns: 1fr 1fr; } .admin-transfer-point button { grid-column: 1 / -1; } }
.admin-bookings { display: grid; gap: 14px; margin-top: 20px; }
.admin-booking { border: 1px solid var(--line); background: white; scroll-margin-top: 90px; }
.admin-booking > summary { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto 14px; gap: 6px 16px; align-items: center; padding: 14px 18px; list-style: none; cursor: pointer; }
.admin-booking > summary::-webkit-details-marker { display: none; }
.admin-booking > summary > i { width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.admin-booking[open] > summary > i { transform: rotate(-135deg); }
.admin-booking > summary:hover { background: rgba(23,22,19,.025); }
.admin-booking-summary { display: grid; gap: 1px; min-width: 0; }
.admin-booking-summary > strong { font-size: 1rem; font-weight: 600; }
.admin-booking-summary small { color: #6b665e; font-size: .78rem; }
.admin-booking-summary em { color: #a0412d; font-style: normal; font-weight: 600; }
.admin-booking-dates { font-size: .92rem; font-weight: 600; }
.admin-booking-dates span { margin: 0 3px; color: var(--bronze); }
.admin-booking-total { white-space: nowrap; font-size: 1rem; }
.admin-booking-body { padding: 4px 18px 18px; border-top: 1px solid rgba(75,54,36,.1); }
.admin-booking-body > p:first-child { margin-top: 12px; }
.admin-booking.overlapping, .admin-booking.pending.overlapping { border-color: #c0664f; box-shadow: inset 4px 0 0 #c0664f; }
.admin-booking.flash { animation: admin-booking-flash 1.4s ease; }
@keyframes admin-booking-flash { 0%, 40% { background: #fbeedd; } 100% { background: white; } }
.admin-booking-overlap button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.admin-booking.pending { border-color: var(--bronze); box-shadow: inset 4px 0 0 var(--bronze); }
.admin-booking-status { justify-self: start; max-width: 100%; font-size: .74rem; line-height: 1.25; text-align: center; padding: 4px 10px; border-radius: 999px; background: var(--paper); font-weight: 600; }
.admin-booking-status.status-pending { background: var(--bronze); color: var(--ink); }
.admin-booking-status.status-confirmed { background: #dce9dc; color: #2f5a36; }
.admin-booking p { margin: 2px 0; font-size: .88rem; }
.admin-booking blockquote { margin: 8px 0 0; padding-left: 12px; border-left: 2px solid var(--line); color: #5b534a; font-size: .86rem; }
.admin-booking-overlap { margin-top: 10px !important; padding: 8px 12px; background: #f6efe3; color: #7a4e31; }
.admin-booking-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.admin-booking-actions button { min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: var(--ink); color: white; font-weight: 600; cursor: pointer; }
.admin-booking-actions button + button { background: transparent; color: var(--ink); }
.admin-booking-actions button[data-armed] { background: #9a4a2e; border-color: #9a4a2e; color: white; }
.admin-booking-actions button:disabled { opacity: .5; cursor: progress; }
.admin-booking-guide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(75,54,36,.12); }
.admin-booking-guide .admin-help { margin: 0; }
.admin-booking-guide button { min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-weight: 600; cursor: pointer; }
.admin-booking-guide button[data-armed] { background: var(--ink); color: white; }
.admin-booking-guide button:disabled { opacity: .5; cursor: progress; }
.admin-booking-feedback { color: #9a4a2e; }
.admin-request { margin-top: 14px; padding: 14px 16px; border-left: 3px solid var(--bronze); background: #f6efe3; }
.admin-request p { margin: 0; }
.admin-request small { color: #76695c; }
.admin-request-message { margin-top: 6px !important; font-style: italic; color: #4b4036; }
.admin-request-decline, .admin-cancel-panel { display: grid; gap: 10px; margin-top: 12px; }
.admin-request-decline[hidden], .admin-cancel-panel[hidden], .admin-booking-cancel button[hidden] { display: none; }
.admin-request-decline label, .admin-cancel-panel label { display: grid; gap: 4px; font-size: .86rem; font-weight: 600; }
.admin-request-decline textarea, .admin-cancel-panel input[type=number], .admin-cancel-panel input[type=text] { width: 100%; padding: 10px 12px; border: 1px solid rgba(75,54,36,.3); background: white; font: inherit; font-weight: 400; }
.admin-booking-cancel { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(75,54,36,.12); }
.admin-booking-cancel > button { min-height: 40px; padding: 0 14px; border: 1px solid #9a4a2e; background: transparent; color: #9a4a2e; font-weight: 600; cursor: pointer; }
.admin-cancel-who { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; border: 0; }
.admin-cancel-who legend { margin-bottom: 6px; font-size: .86rem; font-weight: 600; }
.admin-cancel-who label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.admin-cancel-panel .admin-help { margin: 0; }
.admin-cancel-panel [data-cancel-confirm] { background: #9a4a2e; border-color: #9a4a2e; }
.admin-booking-status.status-inhouse { background: #2f5a36; color: white; }
.admin-booking-group { display: grid; gap: 14px; }
.admin-booking-group + .admin-booking-group { margin-top: 14px; }
.admin-booking-group > h3 { margin: 0; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6b665e; }
.admin-booking-group > h3 small, .admin-archive summary small { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(23,22,19,.07); font-size: .72rem; letter-spacing: 0; }
.admin-booking-group > .admin-help { margin: 0; }
.admin-archive { margin-top: 14px; border-top: 1px solid var(--line); }
.admin-archive summary { padding: 16px 0; font-weight: 600; cursor: pointer; }
.admin-archive-body { display: grid; gap: 22px; padding-bottom: 8px; }
.admin-archive .admin-booking { opacity: .82; }
.admin-mini-calendar { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(75,54,36,.12); }
.admin-mini-month { width: 224px; max-width: 100%; }
.admin-mini-month > strong { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 600; text-transform: capitalize; }
.admin-mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: .74rem; }
.admin-mini-grid b { color: #8a847a; font-size: .66rem; font-weight: 500; }
.admin-mini-grid span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 4px; color: #5b534a; }
.admin-mini-grid .own { background: var(--bronze); color: var(--ink); font-weight: 600; }
.admin-mini-grid .busy { background: #e9d6d0; color: #8a3e2e; text-decoration: line-through; }
.admin-mini-grid .other { background: repeating-linear-gradient(135deg, #efe4d3 0 4px, #f8f2e8 4px 8px); }
.admin-mini-grid .conflict { background: #c0664f; color: white; font-weight: 600; }
.admin-mini-grid .start { border-radius: 50% 4px 4px 50%; }
.admin-mini-grid .end { box-shadow: inset 0 0 0 2px var(--bronze); border-radius: 4px 50% 50% 4px; font-weight: 600; }
.admin-mini-grid .today { outline: 1px solid var(--ink); outline-offset: -1px; }
.admin-mini-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px !important; color: #6b665e; font-size: .74rem !important; }
.admin-mini-legend span { display: flex; align-items: center; gap: 6px; }
.admin-mini-legend i { width: 10px; height: 10px; border-radius: 2px; }
.admin-mini-legend i.own { background: var(--bronze); }
.admin-mini-legend i.busy { background: #e9d6d0; }
.admin-mini-legend i.other { background: repeating-linear-gradient(135deg, #efe4d3 0 3px, #f8f2e8 3px 6px); border: 1px solid #e0d2bd; }
.admin-mini-legend i.conflict { background: #c0664f; }
.admin-mini-legend .warn { color: #8a3e2e; font-weight: 600; }
.admin-mini-legend i.confirmed { background: #6d9a6a; }
.admin-mini-legend i.pending { background: #f2b872; }
.admin-overview { margin-top: 20px; padding: 16px 18px 18px; border: 1px solid var(--line); background: white; }
.admin-overview:empty { display: none; }
.admin-overview-head { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; gap: 8px; }
.admin-overview-head .admin-mini-legend { justify-content: center; margin: 0 !important; }
.admin-overview-head > button { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.admin-overview-head > button:hover { background: rgba(23,22,19,.06); }
.admin-overview-head svg { width: 18px; height: 18px; }
.admin-overview-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 12px; }
.admin-overview-month > strong { display: block; margin-bottom: 8px; text-align: center; font-size: .86rem; font-weight: 600; text-transform: capitalize; }
.admin-overview-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: .78rem; }
.admin-overview-grid b { color: #8a847a; font-size: .66rem; font-weight: 500; }
.admin-overview-grid > span, .admin-overview-grid > button { display: grid; place-items: center; height: 34px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #5b534a; font: inherit; }
.admin-overview-grid > button { cursor: pointer; font-weight: 600; transition: transform .15s ease, box-shadow .15s ease; }
.admin-overview-grid > button:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,.14); }
.admin-overview-grid .past { opacity: .45; }
.admin-overview-grid .confirmed { background: #dbe9d8; color: #2f5a36; }
.admin-overview-grid .pending { background: #f2b872; color: #5e3208; }
.admin-overview-grid .conflict { background: #c0664f; color: white; }
.admin-overview-grid .closed { background: #eee6dc; color: #9b8f80; text-decoration: line-through; }
.admin-overview-grid .start { position: relative; }
.admin-overview-grid .start::after { content: ""; position: absolute; top: 4px; left: 4px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.admin-overview-grid .today { outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.admin-overview-grid .selected { box-shadow: 0 0 0 2px var(--ink); }
.admin-overview-day { display: grid; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(75,54,36,.12); }
.admin-overview-day p { margin: 0 0 2px; font-size: .84rem; }
.admin-overview-day button { padding: 9px 12px; border: 1px solid var(--line); border-left: 4px solid #e39a4b; background: white; text-align: left; font: inherit; font-size: .86rem; cursor: pointer; }
.admin-overview-day button.confirmed { border-left-color: #6d9a6a; }
.admin-overview-day button:hover { background: var(--paper); }
@media (max-width: 720px) {
  .admin-overview-months { grid-template-columns: 1fr; }
  .admin-overview-head .admin-mini-legend { gap: 4px 10px; }
  .admin-booking > summary { grid-template-columns: minmax(0, 1fr) auto 14px; }
  .admin-booking > summary > .admin-booking-status { grid-column: 1 / -1; }
}

/* Home · annunci sulle piattaforme */
.platforms { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 8vw, 120px); align-items: end; border-top: 1px solid var(--line); }
.platforms h2 { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 400; line-height: 1; }
.platforms > div > p:last-child { max-width: 520px; margin: 0; color: #625e57; }
.platform-links { display: grid; gap: 12px; }
.platform-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 18px; padding: 22px 24px; border: 1px solid var(--line); background: var(--ivory); color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.platform-link[hidden] { display: none; }
.platform-logo { grid-column: 1; grid-row: 1 / 3; width: 30px; height: 30px; color: var(--ink); transition: color .25s ease, transform .25s ease; }
.platform-link span { grid-column: 2; font-size: 1.15rem; font-weight: 600; }
.platform-link small { grid-column: 2; color: #6b665e; font-size: .8rem; }
.platform-link em { grid-column: 3; grid-row: 1 / 3; font-style: normal; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .3s ease; }
.platform-link:hover, .platform-link:focus-visible { border-color: var(--ink); transform: translateY(-2px); }
.platform-link:hover em, .platform-link:focus-visible em { background-size: 100% 1px; }
.platform-link--airbnb:hover .platform-logo, .platform-link--airbnb:focus-visible .platform-logo { color: #ff385c; transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .platform-link, .platform-logo, .platform-link em { transition: none; } }
@media (max-width: 760px) { .platforms { grid-template-columns: 1fr; } }

/* Contatti: FAQ, modulo "Scrivici" e WhatsApp */
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 9vw, 140px); margin-top: 56px; align-items: start; }
.faq-layout h2 { position: sticky; top: 40px; font-size: clamp(2.8rem, 5vw, 5.2rem); }
.faq-list { border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-list details { position: relative; border-bottom: 1px solid var(--line); }
.faq-list details::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.faq-list details:hover::before, .faq-list details[open]::before, .faq-list details:has(summary:focus-visible)::before { transform: scaleX(1); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.2; transition: color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; font-family: var(--sans); font-size: 1.15rem; color: var(--bronze); transition: transform .35s cubic-bezier(.2,.7,.2,1), background .25s ease, color .25s ease, border-color .25s ease; }
.faq-list summary:hover { color: #7c5a36; transform: translateX(6px); }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.faq-list summary:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }
.faq-list details::details-content { height: 0; overflow: clip; opacity: 0; transition: height .4s cubic-bezier(.2,.7,.2,1), opacity .3s ease, content-visibility .4s allow-discrete; }
.faq-list details[open]::details-content { height: auto; opacity: 1; }
.faq-answer { max-width: 620px; padding: 0 56px 28px 0; color: #5c5851; }
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 3px; }

.contact { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: clamp(40px, 7vw, 110px); margin-top: 56px; align-items: start; }
.contact-form h2 { font-size: clamp(2.8rem, 5vw, 5.2rem); }
.contact-intro { max-width: 520px; margin: 22px 0 36px; color: #5c5851; }
.contact-grid label:nth-child(3) { grid-column: auto; }
.contact-grid .contact-message { grid-column: 1 / -1; }
.contact-grid input[type="date"] { padding-right: 8px; }
.contact-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-turnstile:not(:empty) { margin-top: 18px; }
.contact-submit { margin-top: 26px; padding: 17px 30px; border: 0; background: var(--ink); color: var(--ivory); font: 600 .9rem var(--sans); letter-spacing: .02em; cursor: pointer; transition: background .25s ease, transform .25s ease; }
.contact-submit:hover { background: #3a342b; transform: translateY(-2px); }
.contact-submit:disabled { opacity: .55; cursor: wait; transform: none; }
.contact-privacy { margin: 16px 0 0; font-size: .8rem; color: #7a746b; }
.contact-privacy a { color: inherit; text-decoration: underline; }

.whatsapp-card { --x: 50%; --y: 0%; position: sticky; top: 40px; overflow: hidden; padding: clamp(30px, 3.4vw, 44px); background: var(--ink); color: var(--ivory); isolation: isolate; }
.whatsapp-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--x) var(--y), rgba(185,137,82,.28), transparent 60%); opacity: .7; transition: opacity .3s ease; }
.whatsapp-card:hover::before { opacity: 1; }
.whatsapp-card[hidden] { display: none; }
.whatsapp-mark { width: 38px; height: 38px; margin-bottom: 30px; color: var(--bronze); }
.whatsapp-card .eyebrow { color: var(--bronze); }
.whatsapp-card h3 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.05; }
.whatsapp-card p:not(.eyebrow) { margin: 0; color: #cfc8bb; font-size: .92rem; }
.whatsapp-button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin-top: 30px; padding: 17px 20px; border: 1px solid var(--bronze); background: transparent; color: var(--ivory); font: 600 .9rem var(--sans); cursor: pointer; transition: background .25s ease, color .25s ease; }
.whatsapp-button:hover:not(:disabled), .whatsapp-button:focus-visible { background: var(--bronze); color: var(--ink); }
.whatsapp-arrow { transition: transform .25s ease; }
.whatsapp-button:hover:not(:disabled) .whatsapp-arrow { transform: translateX(5px); }
.whatsapp-button:disabled { opacity: .45; cursor: progress; }
.whatsapp-card .whatsapp-status:not(:empty) { margin-top: 14px; font-size: .8rem; color: #a9a293; }

@media (max-width: 900px) {
  .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .faq-layout h2 { position: static; }
  /* Su telefono WhatsApp viene prima del modulo: è la via più rapida. */
  .whatsapp-card { position: relative; top: 0; order: -1; }
}
@media (max-width: 600px) {
  .faq-answer { padding-right: 0; }
  .faq-list summary { padding: 22px 0; }
  .contact-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-list details::before, .faq-list summary, .faq-list summary::after, .faq-list details::details-content, .contact-submit, .whatsapp-card::before, .whatsapp-arrow { transition: none; }
  .faq-list summary:hover { transform: none; }
}
.admin-message-text { margin: 14px 0 0; white-space: pre-wrap; color: #3a332b; }
.admin-message-reply { display: inline-block; margin-top: 14px; font-size: .85rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 3px; }
.admin-comms-title { margin: 36px 0 4px; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.admin-comms-warning { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid #8a5a1f; background: #f6ead8; color: #6b4516; font-size: .88rem; line-height: 1.5; }
.admin-comms-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.admin-comms-stats p { display: grid; gap: 2px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); background: white; }
.admin-comms-stats strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; line-height: 1; }
.admin-comms-stats span { color: #6b665e; font-size: .78rem; }
.admin-comms-list { margin-top: 14px; overflow-x: auto; }
.admin-comms-table { width: 100%; border-collapse: collapse; background: white; font-size: .86rem; }
.admin-comms-table th { padding: 10px 12px; border-bottom: 1px solid var(--line); color: #6b665e; font-size: .72rem; font-weight: 600; text-align: left; white-space: nowrap; }
.admin-comms-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-comms-table td span { display: block; color: #6b665e; overflow-wrap: anywhere; }
.admin-comms-table tr.off td { color: #8a857c; }
.admin-comms-table button { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: .78rem; cursor: pointer; white-space: nowrap; }
.admin-comms-table button[data-armed] { border-color: #9a4a2e; background: #9a4a2e; color: white; }
.admin-comms-sent { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.admin-comms-sent li { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); background: white; font-size: .86rem; }
.admin-comms-sent span { color: #6b665e; font-size: .78rem; }
.admin-comms-dialog { width: min(680px, calc(100vw - 32px)); height: min(860px, calc(100vh - 48px)); padding: 0; border: 0; background: #ece5d8; box-shadow: 0 24px 60px rgba(23,22,19,.3); }
.admin-comms-dialog[open] { display: flex; flex-direction: column; }
.admin-comms-dialog::backdrop { background: rgba(23,22,19,.55); }
.admin-comms-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--ink); color: white; }
.admin-comms-dialog-head p { display: grid; gap: 2px; min-width: 0; margin: 0; }
.admin-comms-dialog-head small { color: #c9a27a; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.admin-comms-dialog-head strong { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.admin-comms-dialog-head button { flex: 0 0 auto; min-height: 38px; padding: 0 14px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: white; font: inherit; cursor: pointer; }
.admin-comms-dialog iframe { flex: 1; width: 100%; border: 0; background: #ece5d8; }
@media (max-width: 600px) {
  .admin-comms-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .admin-comms-stats p { padding: 10px; }
  .admin-comms-table thead { display: none; }
  .admin-comms-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .admin-comms-table td { padding: 0; border: 0; }
  .admin-comms-table td:first-child { grid-column: 1 / -1; }
  .admin-comms-table td:empty { display: none; }
}
#comms-holidays-day { max-width: 180px; }

/* Menu delle lingue: il nome di ogni lingua, nessuna bandiera */
.language-menu { position: relative; }
.language { display: inline-flex; align-items: center; gap: 7px; }
.language i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.language[aria-expanded="true"] i { transform: translateY(1px) rotate(-135deg); }
.language-list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; min-width: 168px; margin: 0; padding: 6px; list-style: none; background: var(--ivory); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(23,22,19,.16); }
.language-list[hidden] { display: none; }
.language-list a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border-radius: 8px; font-size: .92rem; letter-spacing: 0; }
.language-list a:hover, .language-list a:focus-visible { background: var(--paper); outline: none; }
.language-list a[aria-current="true"] { font-weight: 600; }
.language-list a[aria-current="true"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }
body.mobile-menu-open .language-menu { visibility: hidden; }
.legal-language-note { max-width: 720px; margin: 0 0 42px; padding: 14px 18px; border-left: 2px solid var(--bronze); background: var(--paper); color: #5f5a52; font-size: .95rem; line-height: 1.55; }

/* Gestionale: un testo, quattro lingue. Si apre solo la card da modificare */
.admin-lang-cards { display: grid; gap: 8px; margin: 14px 0; }
.admin-lang-cards > .admin-help { margin: 0 0 4px; }
.admin-lang { border: 1px solid rgba(23,22,19,.14); border-radius: 12px; background: #fffdf8; }
.admin-lang[open] { border-color: rgba(185,137,82,.55); box-shadow: 0 6px 18px rgba(23,22,19,.06); }
.admin-lang summary { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; list-style: none; font-weight: 600; }
.admin-lang summary::-webkit-details-marker { display: none; }
.admin-lang summary::after { content: ""; width: 7px; height: 7px; margin-left: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.admin-lang[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.admin-lang summary small { color: #8a6545; font-size: .66rem; letter-spacing: .12em; }
.admin-lang-status { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 600; color: #6b665e; }
.admin-lang-status.missing { padding: 3px 9px; border-radius: 999px; background: #f6ead8; color: #8a5a1f; }
.admin-lang-status.done { color: #2f5b32; }
.admin-lang-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; padding: 4px 16px 16px; }
.admin-lang-body label { display: grid; gap: 6px; }
.admin-lang-body label.wide { grid-column: 1 / -1; }
.admin-lang-body textarea { min-height: 110px; }
/* Tra tablet e portatile piccolo le voci tradotte (tedesco, francese, spagnolo) sono più lunghe: il menu si stringe */
@media (min-width: 901px) and (max-width: 1240px) {
  .desktop-nav { gap: clamp(14px, 1.9vw, 26px); font-size: .8rem; }
  .header-actions { gap: 14px; }
  .header-cta { padding: 10px 13px; font-size: .78rem; }
}
@media (min-width: 901px) and (max-width: 1060px) {
  html[lang="de"] .site-header .brand span:not(.brand-mark), html[lang="fr"] .site-header .brand span:not(.brand-mark), html[lang="es"] .site-header .brand span:not(.brand-mark) { font-size: .92em; }
  html[lang="de"] .header-cta, html[lang="fr"] .header-cta, html[lang="es"] .header-cta { display: none; }
}

/* Anteprima prima dell'apertura: il Worker toglie le parti di prenotazione o quelle di anteprima. Senza Worker resta il sito aperto. */
[data-preview][hidden] { display: none !important; }
.launch-bar { grid-template-columns: 1fr auto; gap: 24px; padding: 18px 18px 18px 40px; }
.launch-bar .eyebrow { margin: 0 0 6px; color: var(--bronze); }
.launch-bar-title { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.1; }
.launch-bar-button, .summary-card-link, .launch-form-submit { display: inline-flex; align-items: center; justify-content: center; border: 0; color: white; background: var(--ink); height: 64px; padding: 0 28px; cursor: pointer; font-weight: 600; text-decoration: none; transition: background .2s ease; }
.launch-bar-button:hover, .summary-card-link:hover, .launch-form-submit:hover { background: #34312b; }
.summary-card-link { width: 100%; margin-top: 25px; }
.launch-form { display: grid; gap: 18px; max-width: 760px; margin: 0 auto; }
.launch-form .eyebrow { margin: 0; }
.launch-form h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400; line-height: 1; }
.launch-form-intro { margin: 0; color: #62574c; }
.launch-form-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.launch-form-row label { display: grid; gap: 8px; }
.launch-form-row label > span { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.launch-form-row input { height: 64px; padding: 0 18px; border: 1px solid var(--line); background: white; color: var(--ink); font: inherit; }
.launch-form-submit:disabled { opacity: .6; cursor: wait; }
.launch-form-website { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.launch-form small { color: #706a61; }
.launch-form small a { text-decoration: underline; text-underline-offset: 2px; }
.launch-form .booking-form-status { margin: 0; }
.launch-form .booking-form-status:empty { display: none; }
.availability-search-wrap + .availability-seo { padding-top: clamp(64px, 8vw, 110px); }
@media (max-width: 600px) {
  .launch-bar { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .launch-bar-button { height: 54px; }
  .launch-form-row { grid-template-columns: 1fr; }
  .launch-form-submit { height: 56px; }
}

/* Offerta di lancio e codice sconto */
.launch-bar-offer { margin: 8px 0 0; color: #62574c; font-size: .92rem; }
.launch-bar-offer strong, .launch-form-offer strong { color: var(--ink); font-weight: 600; }
.hero-offer strong { color: inherit; font-weight: 600; }
.launch-form-offer { margin: 0; padding: 16px 18px; border-left: 3px solid var(--bronze); background: rgba(255,255,255,.55); color: #4f463d; line-height: 1.6; }
.coupon-field { margin: 25px 0 0; border-top: 1px solid rgba(75,54,36,.2); }
.coupon-field summary { padding: 14px 0 0; color: #574b40; font-size: .86rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.coupon-field[open] summary { margin-bottom: 12px; text-decoration: none; }
.coupon-field-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.coupon-field-row label { display: grid; gap: 8px; color: #574b40; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.coupon-field-row input { height: 48px; padding: 0 13px; border: 1px solid rgba(75,54,36,.28); border-radius: 0; background: #fbf7ef; color: #302922; font: inherit; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.coupon-field-row button { height: 48px; padding: 0 20px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.coupon-field-row button:hover { background: var(--ink); color: white; }
.coupon-status { margin: 10px 0 0; font-size: .84rem; line-height: 1.5; }
.coupon-status:empty { display: none; }
.coupon-status.ok { color: #3f6b46; }
.coupon-status.error { color: #9a4a2e; }
.booking-breakdown .coupon-note { color: #6a5e52; font-size: .84rem; }
.admin-coupon-create { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; max-width: 620px; }
.admin-coupon-create button { min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: var(--ink); color: white; font: inherit; font-weight: 600; cursor: pointer; }
.admin-coupon-new { margin: 12px 0 0; padding: 12px 14px; border-left: 3px solid #3f6b46; background: white; font-size: .9rem; }
.admin-coupon-new strong { letter-spacing: .06em; user-select: all; }
@media (max-width: 640px) {
  .coupon-field-row, .admin-coupon-create { grid-template-columns: 1fr; }
}
