/* ==========================================================================
   CorsiCoWorking — design system sito pubblico
   ========================================================================== */
:root {
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --surface: #ffffff;
  --ink: #0e1a2b;
  --ink-2: #2a3647;
  --muted: #5f6b7a;
  --line: rgba(14, 26, 43, .10);
  --line-2: rgba(14, 26, 43, .16);
  --blue: #1d4e89;
  --blue-700: #143a68;
  --blue-900: #0b2443;
  --sky: #e5edf7;
  --oak: #b4834f;
  --oak-2: #f3e7d8;
  --green: #2f7d5b;
  --green-bg: #e3f2ea;
  --amber: #b97a12;
  --amber-bg: #fbf0d9;
  --red: #b4443c;
  --red-bg: #f8e3e1;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, .06), 0 2px 8px rgba(14, 26, 43, .04);
  --shadow: 0 10px 30px -12px rgba(14, 26, 43, .25), 0 2px 6px rgba(14, 26, 43, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 36, 67, .35);
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 16px; height: 16px; flex: none; }
.icon-lg { width: 26px; height: 26px; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section-sm { padding: 72px 0; }
.section-tight { padding: 48px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.02;
  margin: 0;
}
.display em { font-style: italic; color: var(--oak); }
h1.display { font-size: clamp(44px, 6.4vw, 88px); }
h2.display { font-size: clamp(36px, 4.4vw, 60px); }
h3.display { font-size: clamp(28px, 3vw, 38px); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 640px; margin: 18px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .display { margin-top: 14px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { --bg: var(--blue); }
.btn-primary:hover { --bg: var(--blue-700); }
.btn-oak { --bg: var(--oak); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { --bg: #fff; box-shadow: none; }
.btn-ghost-light { --bg: rgba(255,255,255,.08); --fg: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --bg: rgba(255,255,255,.16); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.link { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, color .3s, height .3s;
  color: #fff;
}
.site-header.is-solid, .site-header.is-light {
  background: rgba(246, 243, 238, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink); box-shadow: 0 1px 0 var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; position: relative; }
.brand-logo { height: 46px; width: auto; display: block; transition: opacity .3s ease; }
.brand--auto .brand-logo--white { position: absolute; left: 0; top: 0; opacity: 0; }
.site-header:not(.is-solid):not(.is-light) .brand--auto .brand-logo--white { opacity: 1; }
.site-header:not(.is-solid):not(.is-light) .brand--auto .brand-logo--color { opacity: 0; }
.site-footer .brand-logo { height: 54px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; opacity: .88; transition: background .2s, opacity .2s; }
.nav a:not(.btn):hover, .nav a.is-active { opacity: 1; background: rgba(127,127,127,.12); }
.nav .btn { margin-left: 10px; }
.site-header:not(.is-solid):not(.is-light) .nav .btn { --bg: #fff; --fg: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 940px); display: flex; align-items: flex-end;
  color: #fff; padding: calc(var(--header-h) + 60px) 0 64px; isolation: isolate; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 22, 42, .88) 0%, rgba(8, 22, 42, .62) 42%, rgba(8, 22, 42, .18) 100%),
    linear-gradient(0deg, rgba(8, 22, 42, .7) 0%, rgba(8, 22, 42, 0) 45%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: end; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 500; margin-bottom: 26px;
}
.hero-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.hero-pill .dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.7); } }
.hero h1 { color: #fff; font-size: clamp(42px, 5.4vw, 78px); }
.hero h1 em { color: #e8c49a; }
.hero .lead { color: rgba(255,255,255,.82); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* Search card */
.search-card {
  background: rgba(255,255,255,.97); color: var(--ink); border-radius: 28px; padding: 26px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.6);
}
.search-card h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin: 0 0 4px; line-height: 1.1; }
.search-card p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--paper); border-radius: 16px; margin-bottom: 16px; }
.seg button {
  border: 0; background: transparent; padding: 10px 8px; border-radius: 12px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; transition: all .2s;
}
.seg button .icon { width: 20px; height: 20px; }
.seg button.is-active { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label, .label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff;
  transition: border-color .2s, box-shadow .2s; font-size: 15px; appearance: none; -webkit-appearance: none;
}
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235f6b7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 78, 137, .12); }
.input.is-invalid, .textarea.is-invalid { border-color: var(--red); }
.field-error { color: var(--red); font-size: 13px; }
.search-card .btn { margin-top: 6px; }
.search-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.45; }
.search-note .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--blue); }

/* Stats strip */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid rgba(255,255,255,.2); }
.stat { padding: 22px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; }
.stat span { font-size: 13.5px; opacity: .78; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--sky); color: var(--blue); margin-bottom: 22px; }
.feature-icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feature li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.feature li .icon { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }

/* ---------- Space cards ---------- */
.spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.space-card {
  position: relative; background: var(--surface); border-radius: 26px; overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.space-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.space-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.space-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.space-card:hover .space-media img { transform: scale(1.06); }
.space-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.space-tag .icon { width: 15px; height: 15px; color: var(--blue); }
.space-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.space-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.08; margin: 0 0 10px; }
.space-body p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.space-feats { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.space-feats li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.space-feats .icon { width: 17px; height: 17px; color: var(--green); margin-top: 2px; }
.space-foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.price-from { line-height: 1.1; }
.price-from small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 4px; }
.price-from strong { font-family: var(--font-display); font-weight: 400; font-size: 36px; }
.price-from span { font-size: 13.5px; color: var(--muted); }
.price-from s { color: var(--muted); font-size: 15px; margin-right: 6px; }

/* ---------- Included ---------- */
.included { background: var(--blue-900); color: #fff; border-radius: 36px; padding: 80px 64px; position: relative; overflow: hidden; }
.included::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(180,131,79,.35), transparent 70%); }
.included .eyebrow { color: #e8c49a; }
.included .lead { color: rgba(255,255,255,.72); }
.included-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 52px; background: rgba(255,255,255,.12); border-radius: 22px; overflow: hidden; position: relative; z-index: 1; }
.included-item { background: var(--blue-900); padding: 28px 24px; }
.included-item .icon { width: 28px; height: 28px; color: #e8c49a; margin-bottom: 16px; }
.included-item h4 { margin: 0 0 6px; font-size: 16px; }
.included-item p { margin: 0; font-size: 14px; color: rgba(255,255,255,.66); }

/* ---------- Pricing table ---------- */
.price-groups { display: grid; gap: 28px; }
.price-group { background: var(--surface); border-radius: 28px; border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-columns: 340px 1fr; }
.price-group-media { position: relative; min-height: 260px; }
.price-group-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.price-group-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,22,42,.75), rgba(8,22,42,0) 60%); }
.price-group-media .cap { position: absolute; left: 24px; right: 24px; bottom: 22px; color: #fff; z-index: 1; }
.price-group-media .cap h3 { font-family: var(--font-display); font-weight: 400; font-size: 32px; margin: 0; line-height: 1.05; }
.price-group-media .cap p { margin: 6px 0 0; font-size: 14px; opacity: .85; }
.price-rows { padding: 12px 32px; }
.price-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row h4 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price-row p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.price-amount { text-align: right; line-height: 1.1; }
.price-amount strong { font-family: var(--font-display); font-weight: 400; font-size: 34px; }
.price-amount span { display: block; font-size: 12.5px; color: var(--muted); }
.price-amount s { color: var(--muted); font-size: 16px; margin-right: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--sky); color: var(--blue); white-space: nowrap; }
.badge-oak { background: var(--oak-2); color: #8a5a28; }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-amber { background: var(--amber-bg); color: var(--amber); }
.badge-red { background: var(--red-bg); color: var(--red); }
.vat-note { font-size: 13.5px; color: var(--muted); margin-top: 18px; display: flex; gap: 8px; align-items: center; }

.extras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.extra-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.extra-card .feature-icon { width: 46px; height: 46px; border-radius: 14px; margin: 0 0 6px; background: var(--oak-2); color: #8a5a28; }
.extra-card h4 { margin: 0; font-size: 16.5px; }
.extra-card p { margin: 0; font-size: 14px; color: var(--muted); flex: 1; }
.extra-card .price { font-weight: 600; font-size: 15px; }
.extra-card .price span { color: var(--muted); font-weight: 400; font-size: 13.5px; }

.space-row { grid-template-columns: 1.1fr 1fr; margin-bottom: 28px; }
.space-row.rev { grid-template-columns: 1fr 1.1fr; }
.space-row.rev .price-group-media { order: 2; }
.space-row .price-group-media { min-height: 440px; }
.space-row-body { padding: 48px 44px; display: flex; flex-direction: column; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-size: 54px; line-height: 1; color: var(--oak); display: block; margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px;
  background: var(--amber-bg); color: #6b4708; border: 1px solid rgba(185,122,18,.25); font-size: 14.5px; line-height: 1.55;
}
.notice .icon { color: var(--amber); width: 22px; height: 22px; margin-top: 1px; }
.notice strong { color: #4f3405; }
.notice-blue { background: var(--sky); color: var(--blue-700); border-color: rgba(29,78,137,.2); }
.notice-blue .icon { color: var(--blue); }
.notice-green { background: var(--green-bg); color: #1f5a40; border-color: rgba(47,125,91,.25); }
.notice-green .icon { color: var(--green); }
.notice-red { background: var(--red-bg); color: #7d2b25; border-color: rgba(180,68,60,.25); }
.notice-red .icon { color: var(--red); }

/* ---------- Gallery ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.mosaic a { position: relative; border-radius: 22px; overflow: hidden; display: block; }
.mosaic a:first-child { grid-row: span 2; }
.mosaic a:nth-child(4) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic .cap { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: all .3s; }
.mosaic a:hover .cap { opacity: 1; transform: none; }
.gallery-grid { columns: 3 320px; column-gap: 18px; }
.gallery-grid a { display: block; margin-bottom: 18px; border-radius: 20px; overflow: hidden; position: relative; break-inside: avoid; background: var(--paper-2); }
.gallery-grid img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; background: linear-gradient(0deg, rgba(8,22,42,.75), transparent); font-size: 14px; }
.gallery-grid figcaption strong { display: block; font-size: 16px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 26, .94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.is-open { display: flex; animation: fadeIn .25s ease; }
.lightbox img { max-width: min(1400px, 100%); max-height: 82vh; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: 15px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: stretch; }
.location-card { background: var(--surface); border-radius: 28px; padding: 44px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.how-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.how-list li { display: flex; gap: 16px; }
.how-list .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.how-list h4 { margin: 0 0 2px; font-size: 16px; }
.how-list p { margin: 0; color: var(--muted); font-size: 14.5px; }
.map-frame { border-radius: 28px; overflow: hidden; min-height: 460px; border: 1px solid var(--line); background: var(--paper-2); position: relative; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s; color: var(--blue); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 720px; }
.faq .answer p { margin: 0 0 10px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; background: var(--surface); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card .media { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .meta { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.news-card h3 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.news-card p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.article { max-width: 760px; margin: 0 auto; }
.article-cover { border-radius: 26px; overflow: hidden; margin: 36px 0 44px; aspect-ratio: 16/9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose p { margin: 0 0 1.2em; }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; color: var(--ink); }
.prose h2 { font-size: 36px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 28px; margin: 1.4em 0 .4em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }

/* ---------- CTA ---------- */
.cta-band { position: relative; border-radius: 36px; overflow: hidden; color: #fff; padding: 88px 64px; isolation: isolate; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,36,67,.94) 0%, rgba(11,36,67,.75) 50%, rgba(11,36,67,.35) 100%); }
.cta-band .lead { color: rgba(255,255,255,.8); }
.cta-band .display em { color: #e8c49a; }

/* ---------- Page hero (pagine interne) ---------- */
.page-hero { padding: calc(var(--header-h) + 72px) 0 56px; background: var(--paper); }
.page-hero .display { margin-top: 16px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 88px 0 36px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 18px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 20px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: #e8c49a; }
.footer-bottom { margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: rgba(255,255,255,.1); }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Forms / cards generic ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.flash { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.flash-success { background: var(--green-bg); color: #1f5a40; }
.flash-error { background: var(--red-bg); color: #7d2b25; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Motore di prenotazione
   ========================================================================== */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.bk-step { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 30px; margin-bottom: 20px; }
.bk-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.bk-num { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; }
.bk-step-head h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.bk-step-head p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.space-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.space-option { position: relative; cursor: pointer; border: 1.5px solid var(--line-2); border-radius: 20px; overflow: hidden; background: #fff; text-align: left; padding: 0; transition: border-color .2s, box-shadow .2s, transform .2s; }
.space-option:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.space-option.is-active { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,137,.12); }
.space-option .thumb { display: block; aspect-ratio: 16/9; overflow: hidden; }
.space-option .txt { display: block; }
.space-option .thumb img { width: 100%; height: 100%; object-fit: cover; }
.space-option .txt { padding: 14px 16px 16px; }
.space-option strong { display: block; font-size: 15.5px; }
.space-option .txt span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.space-option .tick { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; display: none; place-items: center; }
.space-option.is-active .tick { display: grid; }
.space-option .tick .icon { width: 16px; height: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1.5px solid var(--line-2); background: #fff; border-radius: 16px; padding: 12px 18px; cursor: pointer; text-align: left;
  transition: all .2s; min-width: 150px;
}
.chip strong { display: block; font-size: 15px; }
.chip span { font-size: 13px; color: var(--muted); }
.chip:hover { border-color: var(--ink-2); }
.chip.is-active { border-color: var(--blue); background: var(--sky); box-shadow: 0 0 0 3px rgba(29,78,137,.1); }
.chip.is-active strong { color: var(--blue-700); }
.chip .promo { color: var(--oak); font-weight: 600; }

.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 28px; text-transform: capitalize; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.cal-nav button:hover:not([disabled]) { background: var(--paper); }
.cal-nav button[disabled] { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 6px 0; }
.cal-day {
  position: relative; aspect-ratio: 1 / .92; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 8px 9px; text-align: left;
  transition: all .15s; min-height: 58px; width: 100%; min-width: 0;
}
.cal-day .n { font-weight: 600; font-size: 15px; }
.cal-day .p { font-size: 11px; color: var(--muted); line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-day .dot { position: absolute; top: 10px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.cal-day.is-limited .dot { background: var(--amber); }
.cal-day.is-special .dot { background: var(--oak); }
.cal-day:hover:not(.is-disabled) { border-color: var(--blue); transform: translateY(-1px); }
.cal-day.is-disabled { cursor: not-allowed; background: transparent; border-color: transparent; }
.cal-day.is-disabled .n { color: #b4bcc6; font-weight: 500; }
.cal-day.is-full { cursor: not-allowed; background: repeating-linear-gradient(135deg, #fff, #fff 6px, #f4f1ec 6px, #f4f1ec 12px); }
.cal-day.is-full .n { color: #a0a8b3; text-decoration: line-through; }
.cal-day.is-full .dot { background: var(--red); }
.cal-day.is-selected { background: var(--blue); border-color: var(--blue); color: #fff; }
.cal-day.is-selected .p { color: rgba(255,255,255,.8); }
.cal-day.is-selected .dot { background: #fff; }
.cal-day.in-range { background: var(--sky); border-color: rgba(29,78,137,.25); }
.cal-day.is-today .n::after { content: ""; display: block; width: 14px; height: 2px; background: var(--oak); border-radius: 2px; margin-top: 2px; }
.cal-day.is-selected.is-today .n::after { background: #fff; }
.cal-empty { visibility: hidden; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.cal-loading { opacity: .5; pointer-events: none; }

.opt-row { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-end; margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #fff; height: 50px; }
.stepper button { width: 48px; height: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: var(--paper); }
.stepper input { width: 52px; text-align: center; border: 0; font-weight: 600; font-size: 16px; height: 100%; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { border: 1.5px solid var(--line-2); background: #fff; border-radius: 12px; padding: 10px 6px; font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; transition: all .15s; }
.slot small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.slot:hover:not([disabled]) { border-color: var(--blue); }
.slot.is-selected { background: var(--blue); color: #fff; border-color: var(--blue); }
.slot.is-selected small { color: rgba(255,255,255,.8); }
.slot.in-range { background: var(--sky); border-color: rgba(29,78,137,.35); }
.slot[disabled] { cursor: not-allowed; color: #a8b0ba; background: repeating-linear-gradient(135deg, #fff, #fff 6px, #f4f1ec 6px, #f4f1ec 12px); }
.halfday-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.extras-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.extra-pick { display: flex; gap: 14px; align-items: flex-start; border: 1.5px solid var(--line-2); border-radius: 16px; padding: 16px; cursor: pointer; transition: all .2s; background: #fff; }
.extra-pick:hover { border-color: var(--ink-2); }
.extra-pick input { display: none; }
.extra-pick .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--oak-2); color: #8a5a28; display: grid; place-items: center; flex: none; }
.extra-pick strong { display: block; font-size: 14.5px; }
.extra-pick span { font-size: 13px; color: var(--muted); display: block; }
.extra-pick em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-top: 4px; display: block; }
.extra-pick .box { margin-left: auto; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; color: transparent; }
.extra-pick.is-checked { border-color: var(--blue); background: var(--sky); }
.extra-pick.is-checked .box { background: var(--blue); border-color: var(--blue); color: #fff; }
.extra-pick .box .icon { width: 14px; height: 14px; }

.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--ink); color: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--shadow-lg); }
.summary h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin: 0 0 4px; }
.summary .sub { color: rgba(255,255,255,.6); font-size: 14px; margin: 0 0 20px; }
.sum-block { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.sum-kv { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 4px 0; }
.sum-kv span:first-child { color: rgba(255,255,255,.6); }
.sum-kv span:last-child { text-align: right; }
.sum-line { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 6px 0; }
.sum-line small { display: block; color: rgba(255,255,255,.55); font-size: 12.5px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); margin-top: 6px; }
.sum-total strong { font-family: var(--font-display); font-weight: 400; font-size: 44px; line-height: 1; }
.sum-status { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; margin: 14px 0 4px; }
.sum-status .icon { width: 18px; height: 18px; margin-top: 1px; }
.sum-status.ok { background: rgba(47,125,91,.22); color: #b7ecd2; }
.sum-status.ko { background: rgba(180,68,60,.25); color: #ffd3cf; }
.sum-status.wait { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }
.sum-disclaimer { margin-top: 18px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.62); display: flex; gap: 10px; }
.sum-disclaimer .icon { width: 16px; height: 16px; color: #e8c49a; margin-top: 2px; }
.summary .btn { margin-top: 18px; }
.conflicts { margin: 8px 0 0; padding: 0 0 0 18px; font-size: 13px; color: #ffd3cf; }
.empty-sum { color: rgba(255,255,255,.55); font-size: 14px; padding: 8px 0 4px; }

.bk-mobile-bar { display: none; }
@media (max-width: 1080px) {
  .bk-mobile-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; background: var(--ink); color: #fff; border-radius: 18px; padding: 12px 12px 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .3s ease; }
  .bk-mobile-bar.is-visible { transform: none; }
  .bk-mobile-bar small { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); }
  .bk-mobile-bar strong { font-size: 18px; }
}

.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-option { position: relative; display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line-2); border-radius: 16px; padding: 14px 16px; cursor: pointer; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.pay-option:hover { border-color: var(--ink-2); }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; flex: none; }
.pay-option strong { display: block; font-size: 14.5px; }
.pay-option small { display: block; font-size: 13px; color: var(--muted); }
.pay-option:has(input:checked) { border-color: var(--blue); background: var(--sky); box-shadow: 0 0 0 3px rgba(29,78,137,.1); }
.pay-option:has(input:checked) .ic { background: var(--blue); color: #fff; }
.pay-option:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.pay-methods { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.pay-methods span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.pay-methods .icon { width: 17px; height: 17px; color: var(--blue); }

.thanks { max-width: 760px; margin: 0 auto; text-align: center; }
.thanks-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin: 0 auto 28px; }
.thanks-icon .icon { width: 40px; height: 40px; }
.recap { text-align: left; margin-top: 36px; }
.recap dl { display: grid; grid-template-columns: 180px 1fr; gap: 12px 24px; margin: 0; font-size: 15px; }
.recap dt { color: var(--muted); }
.recap dd { margin: 0; font-weight: 500; }

/* ---------- Pagine spazio (landing) ---------- */
.space-hero { padding: calc(var(--header-h) + 48px) 0 24px; }
.space-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.space-hero-media { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); }
.space-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.space-hero-badge { position: absolute; left: 18px; bottom: 18px; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-radius: 16px; padding: 10px 14px; font-size: 13px; }
.space-hero-badge .icon { color: var(--blue); }
.space-hero-badge strong { display: block; font-size: 14px; }
.space-hero-meta { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.space-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.space-feats-card { position: sticky; top: calc(var(--header-h) + 24px); border-radius: 24px; }
.other-space { display: grid; grid-template-columns: 140px 1fr auto; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 12px 22px 12px 12px; transition: transform .3s, box-shadow .3s; }
.other-space:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.other-space img { width: 140px; height: 105px; object-fit: cover; border-radius: 14px; }
.other-space strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; margin-bottom: 4px; }
.other-space span { font-size: 14px; color: var(--muted); }
.other-space .icon { color: var(--blue); }
.features-4 { grid-template-columns: repeat(4, 1fr); }
.spaces-2 { grid-template-columns: repeat(2, 1fr); }
.local-seo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.local-seo .prose { font-size: 17px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.area-chips span { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }

/* ---------- Pagine legali ---------- */
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; font-size: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.legal-toc strong { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 8px; }
.legal-toc a { padding: 6px 10px; border-radius: 8px; color: var(--ink-2); }
.legal-toc a:hover { background: var(--paper); color: var(--blue); }
.legal-body { max-width: 780px; font-size: 16.5px; }
.legal-body h2 { font-size: 30px; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-body h3 { font-size: 22px; }
.legal-updated { display: inline-block; font-size: 13.5px !important; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.legal-table { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.legal-table th { text-align: left; background: var(--paper); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 14px; }
.legal-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.legal-table code { font-size: 13px; background: var(--paper); padding: 2px 6px; border-radius: 6px; }
.rule-art { counter-increment: art; }
.legal-body .callout { background: var(--sky); border-radius: 16px; padding: 18px 20px; font-size: 15.5px; color: var(--blue-700); }

/* ---------- Cookie ---------- */
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 95; width: min(560px, calc(100% - 40px)); background: #fff; color: var(--ink); border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 30px 80px -20px rgba(11,36,67,.45), 0 0 0 1px var(--line); animation: cbIn .4s cubic-bezier(.2,.7,.2,1); }
@keyframes cbIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-banner p { margin: 8px 0 14px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.cookie-banner p a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cb-head { display: flex; align-items: center; gap: 10px; font-size: 16px; padding-right: 30px; }
.cb-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.cb-ic .icon { width: 18px; height: 18px; }
.cb-actions, .cm-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cb-actions .btn, .cm-actions .btn { flex: 1 1 auto; min-width: 120px; }
.cb-x { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
.cb-x:hover { background: var(--paper); color: var(--ink); }
.cookie-modal { position: fixed; inset: 0; z-index: 110; background: rgba(6,14,26,.55); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(3px); }
.cm-box { position: relative; background: #fff; border-radius: 24px; padding: 28px; width: min(600px, 100%); max-height: calc(100vh - 40px); overflow: auto; box-shadow: var(--shadow-lg); }
.cm-box h3 { font-family: var(--font-display); font-weight: 400; font-size: 32px; margin: 0 0 8px; }
.cm-intro { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.cm-cat { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--line); }
.cm-cat strong { display: block; font-size: 15px; }
.cm-cat span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.cm-switch { position: relative; flex: none; cursor: pointer; }
.cm-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cm-switch span { display: block; width: 46px; height: 26px; border-radius: 99px; background: #d8d1c5; position: relative; transition: background .2s; margin: 0; }
.cm-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.cm-switch input:checked + span { background: var(--blue); }
.cm-switch input:checked + span::after { transform: translateX(20px); }
.cm-switch input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.cm-switch.is-locked { opacity: .55; cursor: not-allowed; }
.cm-actions { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 28px; background:
  radial-gradient(circle at 30% 20%, rgba(29,78,137,.10), transparent 55%),
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(14,26,43,.05) 38px 39px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(14,26,43,.05) 38px 39px), var(--paper-2); }
.map-consent-inner { max-width: 380px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.map-consent-inner strong { font-size: 17px; }
.map-consent-inner > span:not(.map-pin) { color: var(--muted); font-size: 14px; }
.map-consent-inner p { font-size: 13.5px; color: var(--muted); margin: 12px 0 14px; }
.map-pin { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 10px; box-shadow: 0 10px 24px -8px rgba(29,78,137,.6); }
.map-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .search-card { max-width: 560px; }
  .spaces, .news-grid, .features, .steps, .features-4 { grid-template-columns: 1fr 1fr; }
  .spaces-2 { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: relative; top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-group { grid-template-columns: 1fr; }
  .legal { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .space-hero-grid, .space-intro, .local-seo { grid-template-columns: 1fr; gap: 32px; }
  .space-feats-card { position: static; }
  .legal-toc { position: static; }
  .price-group-media { min-height: 220px; }
  .space-row, .space-row.rev { grid-template-columns: 1fr; }
  .space-row.rev .price-group-media { order: 0; }
  .space-row .price-group-media { min-height: 280px; }
  .space-row-body { padding: 32px 26px; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .section { padding: 80px 0; }
  .nav-toggle { display: inline-grid; }
  .brand-logo { height: 38px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); color: var(--ink); padding: 14px 20px 24px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .25s;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 16px; }
  .nav .btn { margin: 10px 0 0; }
  .site-header:not(.is-solid):not(.is-light) .nav .btn { --bg: var(--blue); --fg: #fff; }
  .location { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px 180px; }
  .mosaic a:first-child { grid-column: span 2; grid-row: auto; }
  .mosaic a:nth-child(4) { grid-column: span 2; }
  .space-options { grid-template-columns: 1fr; }
  .space-option { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
  .space-option .thumb { aspect-ratio: auto; height: 100%; }
  .included { padding: 56px 28px; border-radius: 28px; }
  .cta-band { padding: 64px 28px; border-radius: 28px; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .spaces, .news-grid, .features, .features-4, .steps, .grid-2, .footer-grid, .included-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding-bottom: 40px; }
  .search-card { padding: 20px; border-radius: 22px; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-row .btn { grid-column: span 2; }
  .price-rows { padding: 8px 20px; }
  .location-card { padding: 28px; }
  .bk-step { padding: 22px 18px; border-radius: 22px; }
  .cal-grid { gap: 4px; }
  .cal-day { padding: 5px 6px; border-radius: 10px; min-height: 52px; aspect-ratio: auto; }
  .cal-day .p { font-size: 9.5px; }
  .cal-day .dot { top: 7px; right: 6px; width: 6px; height: 6px; }
  .recap dl { grid-template-columns: 1fr; gap: 2px 0; }
  .recap dd { margin-bottom: 10px; }
  .chip { min-width: calc(50% - 5px); flex: 1; }
  .halfday-opts, .pay-options { grid-template-columns: 1fr; }
  .lightbox { padding: 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 70px; transform: none; }
  .other-space { grid-template-columns: 90px 1fr; padding-right: 14px; }
  .other-space img { width: 90px; height: 80px; }
  .other-space .icon { display: none; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px 16px 14px; border-radius: 18px; }
  .cb-actions .btn { min-width: 0; flex: 1 1 30%; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Prezzi in promozione: prezzo pieno barrato e risparmio ---------- */
.off { display: inline-block; font-style: normal; font-weight: 700; font-size: 11.5px; line-height: 1.5; color: #fff; background: var(--green); border-radius: 999px; padding: 0 7px; margin-left: 4px; white-space: nowrap; vertical-align: middle; letter-spacing: .01em; }
.chip .now { color: var(--green); font-weight: 700; }
.chip s { opacity: .85; }
.price-amount .off { margin: 0 0 4px 6px; }
.price-from s { color: var(--muted); font-size: 15px; margin-right: 6px; }
.cal-day.is-promo .p { color: var(--green); font-weight: 600; }
.cal-day .p s { color: var(--muted); font-weight: 400; margin-right: 1px; }
.cal-day.is-selected.is-promo .p { color: #fff; }
.cal-day.is-selected .p s { color: rgba(255,255,255,.6); }
.cal-promo { margin-top: 14px; display: grid; gap: 8px; }
.cal-promo-row { display: flex; gap: 10px; align-items: flex-start; background: var(--green-bg); color: #1f5a40; border: 1px solid rgba(47,125,91,.25); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; line-height: 1.55; }
.cal-promo-row .icon { color: var(--green); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.cal-promo-row s { color: var(--muted); }
.cal-promo-row b { font-size: 15px; color: var(--green); }
.sum-line .amt { text-align: right; white-space: nowrap; }
.sum-line s.was { display: block; font-size: 12.5px; color: rgba(255,255,255,.5); }
.sum-save { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(76,175,125,.18); color: #c4f0d8; font-size: 13.5px; line-height: 1.45; }
.sum-save .icon { width: 18px; height: 18px; flex: none; color: #8fe0b5; }
.sum-save strong { color: #fff; }
.bk-mobile-bar small.is-save { color: #8fe0b5; font-weight: 600; }
.promo-price s { color: var(--muted); margin-right: 4px; }
@media (max-width: 560px) { .cal-day .p s { display: none; } }
.stat strong s.stat-was { font-size: .55em; opacity: .6; }
dd s.was { color: var(--muted); }
dt.save, dd.save { color: var(--green); font-weight: 600; }
.human-check { background: var(--sky, #e5edf7); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; scroll-margin-top: 110px; }
