/* Casa in Campagna, Trave · Monte Conero
   Palette: Calcare (pietra del Conero), Bosco (pini e lecci), Adriatico (unico accento, solo azioni). */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-roman.woff2") format("woff2"); font-weight: 300 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic.woff2") format("woff2"); font-weight: 300 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader Fallback"; src: local("Georgia"); size-adjust: 95%; ascent-override: 92%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Fallback"; src: local("Arial"); size-adjust: 102%; }

:root {
  --calcare: #F2F1EC;
  --gesso: #FAFAF7;
  --pietra: #E4E3DC;
  --ink: #1A1F1B;
  --muted: #5A625C;
  --line: #CFCFC4;
  --bosco: #1E2A23;
  --bosco-2: #141C17;
  --on-dark: #F2F1EC;
  --on-dark-muted: #B9BFB4;
  --line-dark: rgba(242, 241, 236, .18);
  --accent: #1F6F6B;
  --accent-deep: #185956;
  --accent-on-dark: #8FC7BF;
  --sabbia: #CDBB94;
  --error: #8A2A1F;
  --focus: #1F6F6B;

  --font-display: "Newsreader", "Newsreader Fallback", Georgia, serif;
  --font-text: "Hanken Grotesk", "Hanken Fallback", Arial, sans-serif;

  --fs-display: clamp(2.6rem, 1.4rem + 4.4vw, 5rem);
  --fs-h1: clamp(2.2rem, 1.5rem + 2.8vw, 3.75rem);
  --fs-h2: clamp(1.9rem, 1.35rem + 1.9vw, 2.9rem);
  --fs-h3: clamp(1.3rem, 1.2rem + .4vw, 1.5rem);
  --fs-number: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  --fs-lead: clamp(1.15rem, 1.05rem + .4vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-eyebrow: .75rem;

  --section: clamp(72px, 10vw, 136px);
  --gutter: 16px;
  --topbar-h: 0px;
  --header-h: 64px;
  --r: 2px;
  --shadow-slab: 0 24px 48px -24px rgba(20, 28, 23, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --topbar-h: 36px; --header-h: 80px; } }
@media (min-width: 1280px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--calcare); color: var(--ink);
  font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (max-width: 767px) { body { font-size: 1rem; } }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-thickness .15s; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.site-footer :focus-visible, .cartouche :focus-visible, .hero :focus-visible, .cta-band :focus-visible, .topbar :focus-visible { outline-color: var(--sabbia); }
p { margin: 0 0 1em; }
h1, h2, h3, .h2, .h3, .display {
  font-family: var(--font-display); font-weight: 300; margin: 0 0 .5em; text-wrap: balance;
  font-optical-sizing: auto; letter-spacing: -.01em;
}
h1 { font-size: var(--fs-h1); line-height: 1.05; }
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.02em; }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3, .h3 { font-size: var(--fs-h3); line-height: 1.2; font-weight: 400; letter-spacing: 0; }
.lead { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-lead); line-height: 1.55; max-width: 56ch; color: var(--ink); }
.small { font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }
.eyebrow { font-family: var(--font-text); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; line-height: 1.4; }
.eyebrow-dark { color: var(--on-dark-muted); }
.eyebrow-sabbia { color: var(--sabbia); }
.lead-dark { color: var(--on-dark-muted); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.i-lg { width: 32px; height: 32px; }

.wrap { width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section-tight { padding-block: 56px; }
.section-alt { background: var(--pietra); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gesso); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px; border: 1px solid transparent; border-radius: var(--r);
  font-family: var(--font-text); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-light { background: var(--gesso); color: var(--bosco); }
.btn-light:hover { background: var(--sabbia); }
.btn-secondary { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-secondary:hover { background: var(--ink); color: var(--calcare); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(242, 241, 236, .6); }
.btn-ghost:hover { background: var(--gesso); color: var(--bosco); border-color: var(--gesso); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 1px solid currentColor; border-radius: var(--r); background: transparent; color: inherit; cursor: pointer;
}
.icon-btn:hover { background: var(--ink); color: var(--calcare); border-color: var(--ink); }
.icon-btn-dark { color: var(--on-dark); border-color: var(--line-dark); }
.icon-btn-dark:hover { background: var(--gesso); color: var(--bosco); border-color: var(--gesso); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: .9375rem;
  text-decoration: none; min-height: 44px;
}
.link-arrow .i { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.link-dark { color: var(--on-dark); }
.link-dark .i { color: var(--sabbia); }

/* Topbar ------------------------------------------------------------------- */
.topbar { display: none; }
@media (min-width: 1024px) {
  .topbar { display: block; height: var(--topbar-h); background: var(--bosco-2); color: var(--on-dark-muted); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; position: relative; z-index: 51; }
  .topbar-in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
  .topbar p { margin: 0; }
  .topbar-links { display: flex; align-items: center; gap: 22px; }
  .topbar-links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: var(--on-dark-muted); }
  .topbar-links a:hover { color: var(--on-dark); }
  .topbar .i { width: 14px; height: 14px; }
}

/* Language switch ---------------------------------------------------------- */
.lang { display: inline-flex; gap: 2px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; }
.lang a { display: inline-grid; place-items: center; min-width: 36px; min-height: 32px; padding: 0 6px; text-decoration: none; color: inherit; opacity: .7; border-bottom: 1px solid transparent; }
.lang a[aria-current="true"] { opacity: 1; border-bottom-color: var(--sabbia); }

/* Header ------------------------------------------------------------------- */
.site-header { position: absolute; top: var(--topbar-h); left: 0; right: 0; z-index: 50; color: var(--on-dark); transition: background .24s var(--ease), color .24s var(--ease); }
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; margin-right: auto; }
.brand-mark { width: 36px; height: 36px; flex: none; color: var(--sabbia); }
.brand-mark text { font-family: var(--font-display); font-style: italic; font-size: 22px; fill: currentColor; stroke: none; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; letter-spacing: -.01em; }
.brand-sub { font-size: .625rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; opacity: .75; margin-top: 3px; }
.nav { display: none; }
.btn-header { display: none; }
.header-mobile { display: flex; gap: 8px; align-items: center; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid currentColor; border-radius: var(--r);
  color: inherit; text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: transparent; cursor: pointer;
}
@media (min-width: 1024px) {
  .nav { display: flex; gap: 26px; }
  .nav a { color: inherit; text-decoration: none; font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--sabbia); }
  .btn-header { display: inline-flex; min-height: 44px; padding: 12px 20px; background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
  .btn-header:hover { background: var(--gesso); color: var(--bosco); border-color: var(--gesso); }
  .header-mobile { display: none; }
}
.site-header.is-solid {
  position: fixed; top: 0; color: var(--ink); background: rgba(242, 241, 236, .94); border-bottom: 1px solid var(--line);
  animation: header-in .24s var(--ease);
}
@supports (backdrop-filter: blur(10px)) { .site-header.is-solid { backdrop-filter: blur(10px); } }
.site-header.is-solid .header-in { height: 64px; }
.site-header.is-solid .brand-mark { color: var(--accent); }
.site-header.is-solid .nav a:hover, .site-header.is-solid .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.site-header.is-solid .btn-header { background: var(--accent); color: #fff; border-color: var(--accent); }
.site-header.is-solid .btn-header:hover { background: var(--accent-deep); }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }

/* Mobile menu -------------------------------------------------------------- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--calcare); color: var(--ink); overflow-y: auto; display: flex; flex-direction: column; }
.menu-top { display: flex; align-items: center; height: 64px; }
.menu-top .brand-mark { color: var(--accent); }
.menu-body { display: grid; gap: 28px; padding-block: 16px 40px; }
.menu-nav { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu-nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-weight: 300; font-size: 2rem; line-height: 1.1; }
.menu-nav a[aria-current="page"] { color: var(--accent); }
.menu-n { font-family: var(--font-text); font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: var(--muted); min-width: 24px; }
.menu-contacts { display: grid; gap: 4px; }
.menu-contact { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-weight: 500; }
.menu-foot { font-size: var(--fs-small); color: var(--muted); }
.lang-light a[aria-current="true"] { border-bottom-color: var(--accent); }
body.menu-open { overflow: hidden; }

/* Home hero ---------------------------------------------------------------- */
.hero { position: relative; background: var(--bosco); color: var(--on-dark); overflow: hidden; isolation: isolate; padding-top: var(--header-h); }
.bd { position: absolute; inset: 0; z-index: -1; background: var(--bd, none) center / cover no-repeat; opacity: 0; transition: opacity 1.2s var(--ease); }
.bd::after { content: ""; position: absolute; inset: 0; background: var(--bosco); opacity: var(--veil, .7); }
.bd.is-on { opacity: 1; }
.hero-bd { display: none; }
.hero-grid { display: grid; gap: 28px; padding-inline: 0; }
.hero-stage { order: 1; }
.hero-text { order: 2; padding-inline: var(--gutter); padding-bottom: 40px; }
.hero-plate { position: relative; aspect-ratio: 4 / 5; background: var(--bosco-2); overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 14px var(--gutter) 0; }
.hero-caption { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1rem; color: var(--on-dark-muted); }
.tav { font-family: var(--font-text); font-style: normal; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-right: 6px; }
.hero-caption .tav { color: var(--sabbia); }
.hero-ctrl { display: flex; align-items: center; gap: 8px; }
.hero-count { font-size: .8125rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--on-dark-muted); margin-right: 8px; }
.hero-progress { display: none; width: 120px; height: 1px; background: var(--line-dark); margin-right: 8px; overflow: hidden; }
.hero-progress span { display: block; height: 100%; background: var(--sabbia); transform-origin: left; transform: scaleX(0); }
.hero-progress.run span { animation: progress var(--dur, 7000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }
.hero-pause[aria-pressed="true"] .i:first-child { display: none; }
.hero h1 { color: var(--on-dark); margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
@media (min-width: 768px) {
  .hero-plate { max-width: 576px; margin-inline: auto; }
  .hero-controls { max-width: 576px; margin-inline: auto; padding-inline: 0; }
}
@media (min-width: 1024px) {
  .hero { min-height: min(100svh, 920px); padding-top: calc(var(--topbar-h) + var(--header-h)); padding-bottom: 104px; }
  .hero-bd { display: block; position: absolute; inset: 0; z-index: -1; }
  .hero-grid { grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: end; padding-inline: var(--gutter); padding-top: 40px; }
  .hero-text { order: 0; grid-column: 1 / 7; padding: 0 0 72px; }
  .hero-stage { order: 0; grid-column: 7 / 13; justify-self: end; width: min(576px, 42vw); }
  .hero-plate { outline: 1px solid var(--line-dark); outline-offset: 8px; }
  .hero-controls { padding: 22px 0 0; }
  .hero-progress { display: block; }
}

/* Booking bar -------------------------------------------------------------- */
.booking-slot { position: relative; z-index: 3; }
.booking { background: var(--gesso); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.booking-slab { margin-top: 24px; }
.booking-cells { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.bcell { display: grid; gap: 4px; min-width: 0; }
.bcell:nth-child(3) { grid-column: 1 / -1; }
.bsubmit { grid-column: 1 / -1; min-height: 56px; }
.blabel { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.bhelp { text-transform: none; letter-spacing: 0; font-weight: 400; }
.bcell input, .bcell select {
  width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; color: var(--ink); padding: 6px 12px;
}
.booking-micro { margin: 12px 0 0; font-size: .8125rem; color: var(--muted); }
.booking-err { margin: 10px 0 0; color: var(--error); font-size: .875rem; font-weight: 600; }
@media (min-width: 1024px) {
  .booking { padding: 0; }
  .booking-cells { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 0; }
  .bcell { padding: 18px 24px; border-right: 1px solid var(--line); }
  .bcell:nth-child(3) { grid-column: auto; }
  .bcell input, .bcell select { border: 0; background: transparent; padding: 0; min-height: 36px; }
  .bsubmit { grid-column: auto; margin: 12px; }
  .booking-micro, .booking-err { padding: 0 24px 16px; margin: 0; }
  .booking-slab { max-width: 1040px; margin: -52px auto 0; box-shadow: var(--shadow-slab); }
}
.booking-mini { margin-top: 24px; background: var(--calcare); }

/* Facts strip -------------------------------------------------------------- */
.facts-slot { margin-top: 56px; }
.facts-slot-plain { margin-top: 0; padding-top: var(--section); }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.fact { display: flex; flex-direction: column-reverse; gap: 6px; padding: 20px 16px; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.fact dd { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: var(--fs-number); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.fact dt { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(5, 1fr); }
  .fact { border-bottom: 0; border-right: 1px solid var(--line); padding: 24px; }
  .fact:last-child { grid-column: auto; }
}

/* Section heading ---------------------------------------------------------- */
.shead { display: grid; gap: 16px; margin-bottom: 48px; }
.shead::before { content: ""; width: 48px; height: 1px; background: var(--ink); margin-bottom: 4px; }
.shead h2 { margin: 0; }
.shead-side .lead { margin: 0 0 8px; color: var(--muted); }
.shead-n { font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) {
  .shead { grid-template-columns: 7fr 5fr; column-gap: 32px; align-items: end; }
  .shead::before { grid-column: 1 / -1; }
  .shead-side { justify-self: end; text-align: right; }
  .shead-side .lead { text-align: left; }
}
.spread-text .shead, .spec .shead { grid-template-columns: 1fr; }
.spread-text .shead-side { justify-self: start; text-align: left; }

/* Plates (photos) ---------------------------------------------------------- */
.plate { margin: 0; max-width: min(100%, var(--mw, 880px)); }
.plate-frame { position: relative; overflow: hidden; background: var(--pietra); max-width: 100%; }
.plate-frame img { width: 100%; height: 100%; object-fit: cover; }
.plate figcaption { margin-top: 12px; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: .9375rem; color: var(--muted); }
.plate .tav { color: var(--accent); }
.section-alt .plate-frame { background: var(--calcare); }

/* Spread (text + plate) ---------------------------------------------------- */
.spread { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) {
  .spread { grid-template-columns: 7fr 5fr; column-gap: 72px; }
  .spread-rev { grid-template-columns: 5fr 7fr; }
  .spread-plate .plate { margin-left: auto; }
  .spread-rev .spread-plate .plate { margin-left: 0; }
}
.spread-text p a { text-decoration-color: var(--accent); }

/* Trio --------------------------------------------------------------------- */
.trio { display: grid; gap: 48px; }
.trio-item h3 { margin: 20px 0 6px; }
.trio-item p { color: var(--muted); margin: 0; }
@media (min-width: 768px) {
  .trio { grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
  .trio-item:nth-child(2) { margin-top: 72px; }
}

/* Checklist ---------------------------------------------------------------- */
.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.checklist .i { color: var(--accent); }

/* Horizon band ------------------------------------------------------------- */
.horizon { position: relative; isolation: isolate; background: var(--pietra); padding-block: var(--section); overflow: hidden; }
.bd-light::after { background: var(--pietra); opacity: .82; }
.horizon .bd { display: none; }
@media (min-width: 1280px) { .horizon .bd { display: block; } }
.plate-band { margin-inline: auto; }
.horizon-tt { max-width: 640px; margin: 40px auto 0; }

/* Timetable ---------------------------------------------------------------- */
.timetable { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.timetable li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tt-name { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.tt-name a { text-decoration: none; }
.tt-name a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.tt-dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-5px); min-width: 24px; }
.tt-dist { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Rates -------------------------------------------------------------------- */
.rates-wrap { max-width: 100%; }
.rates { width: 100%; border-collapse: collapse; background: var(--gesso); border-top: 1px solid var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.rates-caption { caption-side: top; text-align: left; font-size: var(--fs-small); color: var(--muted); padding-bottom: 12px; }
.rates th, .rates td { text-align: left; vertical-align: top; padding: 22px 20px; border-bottom: 1px solid var(--line); }
.rates thead th { padding-block: 14px; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); background: var(--pietra); }
.rates tbody th { font-weight: 400; }
.rate-name { display: block; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; }
.rate-current { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--muted); margin-top: 4px; }
.rate-current::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sabbia); }
.rate-change { display: block; font-size: .8125rem; color: var(--muted); margin-top: 4px; }
.is-special th { box-shadow: inset 2px 0 0 var(--sabbia); }
.rate-price { font-family: var(--font-display); font-weight: 300; font-size: 1.75rem; line-height: 1; }
.rate-unit { font-size: .85rem; color: var(--muted); }
.rate-week { display: block; font-size: var(--fs-small); color: var(--muted); margin-top: 4px; }
.rate-req { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.25rem; color: var(--muted); }
.rate-action { text-align: right; white-space: nowrap; }
.rate-action .link-arrow { min-height: 0; }
.rates-note { margin: 16px 0 0; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 767px) {
  .rates, .rates tbody, .rates tr, .rates th, .rates td { display: block; }
  .rates { border-top: 0; background: transparent; }
  .rates thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rates tr { background: var(--gesso); border-top: 1px solid var(--ink); margin-bottom: 12px; padding: 18px 16px; }
  .rates th, .rates td { padding: 0; border: 0; }
  .rates tbody th { margin-bottom: 10px; }
  .rates td { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dotted var(--line); }
  .rates td::before { content: attr(data-label); flex: 1; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .rates td.rate-action { border: 0; padding-top: 12px; justify-content: flex-start; }
  .rates td.rate-action::before { display: none; }
  .is-special { box-shadow: inset 2px 0 0 var(--sabbia); }
  .is-special th { box-shadow: none; }
  .rate-price { font-size: 1.4rem; }
}
.statement { background: var(--gesso); border-top: 1px solid var(--ink); padding: 32px; }
.statement .h3 { margin-bottom: 8px; }
.statement > p:not(.h3) { color: var(--muted); max-width: 60ch; }
.rates-layout { display: grid; gap: 32px; align-items: start; }
.rates-summary { background: var(--gesso); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 14px; }
.sum-price { font-family: var(--font-display); font-weight: 300; font-size: 2rem; line-height: 1.1; margin: 0; }
.sum-whole { margin: 0; color: var(--muted); }
.sum-alt { display: flex; flex-wrap: wrap; gap: 8px; }
.sum-alt .btn { flex: 1; padding-inline: 14px; }
.rates-summary .small { margin: 0; }
@media (min-width: 1024px) {
  .rates-layout { grid-template-columns: 8fr 4fr; }
  .rates-summary { position: sticky; top: 96px; }
}

/* Estimator ---------------------------------------------------------------- */
.estimator { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; display: grid; gap: 12px; }
.est-title { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.est-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est-fields label { display: grid; gap: 4px; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.est-fields label:last-child { grid-column: 1 / -1; }
.est-fields input, .est-fields select { min-height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 6px 10px; font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.est-out { font-size: var(--fs-small); color: var(--muted); }
.est-out ul { list-style: none; padding: 0; margin: 0 0 10px; }
.est-out li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dotted var(--line); font-variant-numeric: tabular-nums; }
.est-total { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink); }
.est-total strong { font-family: var(--font-display); font-weight: 300; font-size: 2.2rem; }
.est-note { color: var(--ink); background: var(--pietra); padding: 10px 12px; margin: 8px 0; }

/* Included ----------------------------------------------------------------- */
.included { display: grid; gap: 48px; }
@media (min-width: 1024px) { .included { grid-template-columns: 1fr 1fr; gap: 72px; } }
.know { margin: 0; border-top: 1px solid var(--line); }
.know div { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.know dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.know dd { margin: 0; }

/* Steps -------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; }
.step-n { display: block; font-family: var(--font-display); font-weight: 300; font-size: 3rem; line-height: 1; color: var(--accent); margin-bottom: 16px; font-variant-numeric: lining-nums; }
.steps .h3 { margin-bottom: 8px; }
.steps li p:last-child { color: var(--muted); margin: 0; }
.steps-confirm { display: flex; align-items: center; gap: 12px; margin: 40px 0 0; padding: 18px 20px; background: var(--gesso); border: 1px solid var(--line); }
.steps-confirm .i { color: var(--accent); }

/* Direct band -------------------------------------------------------------- */
.direct { background: var(--gesso); border-top: 1px solid var(--sabbia); border-bottom: 1px solid var(--sabbia); padding-block: 56px; }
.direct-in { display: grid; gap: 32px; align-items: center; }
.direct .h2 { margin-bottom: 12px; }
.direct-lead p:last-child { color: var(--muted); margin: 0; max-width: 52ch; }
.direct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.direct-list li { display: flex; gap: 12px; align-items: center; }
.direct-list .i { color: var(--accent); }
.direct-perks-title { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.direct-cta { display: grid; gap: 16px; justify-items: start; }
@media (min-width: 1024px) {
  .direct-in { grid-template-columns: 5fr 4fr 3fr; gap: 48px; }
  .direct-cta { justify-items: end; }
}
.promo { border: 1.5px dashed var(--sabbia); background: var(--gesso); padding: 14px 16px; }
.promo p { margin: 0 0 4px; }
.promo-code { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 600; letter-spacing: .16em; }
.promo-copy { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; cursor: pointer; border-radius: var(--r); }

/* Trust strip -------------------------------------------------------------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--calcare); }
.trust-in { list-style: none; margin-block: 0; display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 18px; scrollbar-width: none; }
.trust-in::-webkit-scrollbar { display: none; }
.trust li { scroll-snap-align: start; flex: none; }
.trust a, .trust span { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; }
.trust .i { width: 18px; height: 18px; color: var(--accent); }
@media (min-width: 1024px) { .trust-in { flex-wrap: wrap; justify-content: center; gap: 14px 36px; overflow: visible; } }

/* Amenities ---------------------------------------------------------------- */
.amen { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .amen { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.amen-row { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.amen-row .i { grid-row: span 2; color: var(--accent); width: 22px; height: 22px; }
.amen-label { font-weight: 500; }
.amen-note { font-size: var(--fs-small); color: var(--muted); }
.amen-row.is-no .i, .amen-row.is-no .amen-label { color: var(--muted); }
.amen-groups { display: grid; gap: 48px; }
@media (min-width: 1024px) { .amen-groups { grid-template-columns: 1fr 1fr; column-gap: 72px; } .amen-groups .amen { grid-template-columns: 1fr; } }
.amen-group .h3 { margin-bottom: 14px; }

/* FAQ ---------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.3; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-sign { position: relative; width: 14px; height: 14px; flex: none; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--accent); transition: transform .2s var(--ease); }
.faq-sign::after { transform: rotate(90deg); }
.faq details[open] .faq-sign::after { transform: rotate(0); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* Cartouche (inner page hero) --------------------------------------------- */
.cartouche { position: relative; isolation: isolate; background: var(--bosco); color: var(--on-dark); padding-top: calc(var(--topbar-h) + var(--header-h) + 48px); padding-bottom: 72px; overflow: hidden; }
.cartouche .bd { display: none; }
@media (min-width: 1024px) { .cartouche .bd { display: block; } }
.cartouche.has-plate { padding-bottom: 176px; }
.cartouche-in { max-width: calc(980px + 2 * var(--gutter)); margin-left: 0; margin-right: auto; }
@media (min-width: 1240px) { .cartouche-in { margin-left: max(0px, calc((100vw - 1240px - 2 * var(--gutter)) / 2)); } }
.cartouche h1 { color: var(--on-dark); max-width: 22ch; }
.cartouche .lead { max-width: 52ch; }
.crumbs ol { list-style: none; display: flex; gap: 8px; margin: 0 0 28px; padding: 0; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); }
.cartouche-plate { position: relative; z-index: 2; margin-top: -136px; display: flex; justify-content: flex-end; }
.cartouche-plate .plate-frame { outline: 10px solid var(--gesso); outline-offset: -1px; background: var(--gesso); }
.cartouche-plate .plate { width: 100%; }
@media (min-width: 1024px) { .cartouche-plate .plate { width: 75%; } .cartouche-plate .plate-band { width: 100%; } }
.cartouche .hero-actions { margin-top: 28px; }

/* Casa: spec + rooms ------------------------------------------------------- */
.specsheet { margin: 0; display: grid; border-top: 1px solid var(--ink); }
@media (min-width: 768px) { .specsheet { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.specsheet div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specsheet dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.specsheet dd { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 300; }
.rooms { display: grid; gap: clamp(64px, 9vw, 112px); }
.room { display: grid; gap: 32px; align-items: center; }
.room-n { font-family: var(--font-display); font-weight: 300; font-size: 3rem; line-height: 1; color: var(--accent); margin-bottom: 12px; }
.room h3 { font-size: var(--fs-h2); font-weight: 300; }
.room-copy > p:not(.room-n) { max-width: 52ch; }
.room-facts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.room-facts li { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); padding: 7px 10px; border-radius: var(--r); background: var(--calcare); }
.room-media { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.room-media .plate:first-child { flex: 1 1 320px; }
.plate-small { flex: 0 1 200px; }
.plate-detail { flex: 1 1 100%; }
.triptych { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 12px; }
.triptych figcaption { grid-column: 1 / -1; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: .9375rem; color: var(--muted); }
.triptych .tav { color: var(--accent); }
.room-text { padding: 32px; background: var(--calcare); border-top: 1px solid var(--ink); }
@media (min-width: 1024px) {
  .room { grid-template-columns: 5fr 7fr; gap: 72px; }
  .room-rev .room-copy { order: 2; }
  .room-text { grid-template-columns: 1fr; max-width: 760px; }
}
.center-row { margin-top: 56px; text-align: center; }

/* Gallery ------------------------------------------------------------------ */
.gallery-intro { margin-bottom: 40px; }
.gal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding-block: 8px; margin-bottom: 28px; }
.gal-filters { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.gal-filters button { background: none; border: 0; border-bottom: 1px solid transparent; min-height: 44px; padding: 0 2px; cursor: pointer; font: inherit; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gal-filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.gal-count { margin: 0; font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sheet { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px 12px; }
.sheet::after { content: ""; flex-grow: 999; }
.tile { flex: var(--ar) 1 calc(var(--ar) * 220px); max-width: 360px; min-width: 0; }
.tile-btn { display: block; width: 100%; height: 220px; padding: 0; border: 0; background: var(--pietra); cursor: zoom-in; overflow: hidden; }
.tile-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile-btn:hover img { transform: scale(1.03); }
.tile-cap { margin: 8px 0 0; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: .875rem; color: var(--muted); line-height: 1.35; }
.tile-cap .tav { color: var(--accent); }
@media (max-width: 767px) { .tile-btn { height: 140px; } .tile { flex-basis: calc(var(--ar) * 140px); } }
.inline-cta { margin-bottom: 20px; }

/* Lightbox ----------------------------------------------------------------- */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(242, 241, 236, .97); color: var(--ink); }
.lb::backdrop { background: rgba(242, 241, 236, .97); }
.lb-in { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 16px; }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: 12px; opacity: 1; transition: opacity .2s var(--ease); }
.lb-fig.is-loading { opacity: 0; }
.lb-fig img { max-height: 82svh; width: auto; object-fit: contain; }
.lb-fig figcaption { font-family: var(--font-display); font-style: italic; font-weight: 300; color: var(--muted); text-align: center; }
.lb-count { font-family: var(--font-text); font-style: normal; font-size: .8125rem; color: var(--accent); font-variant-numeric: tabular-nums; margin-left: 8px; }
.lb-close { position: absolute; top: 12px; right: 12px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: var(--gesso); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
@media (max-width: 767px) { .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } }

/* Places, arrive, map ------------------------------------------------------ */
.places { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--ink); }
@media (min-width: 768px) { .places { grid-template-columns: 1fr 1fr; } }
.place { background: var(--pietra); padding: 32px 28px 24px 0; scroll-margin-top: 96px; }
@media (min-width: 768px) { .place:nth-child(even) { padding-left: 28px; } }
.place p { color: var(--ink); max-width: 52ch; }
.arrive { margin: 0; display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--ink); }
@media (min-width: 768px) { .arrive { grid-template-columns: repeat(3, 1fr); } }
.arrive div { background: var(--calcare); padding: 24px 24px 24px 0; display: grid; gap: 8px; align-content: start; }
@media (min-width: 768px) { .arrive div + div { padding-left: 24px; } }
.arrive .i { color: var(--accent); width: 26px; height: 26px; }
.arrive dt { font-family: var(--font-display); font-size: 1.25rem; }
.arrive dd { margin: 0; color: var(--muted); }
.mapbox { position: relative; aspect-ratio: 16 / 9; background: var(--pietra); border: 1px solid var(--line); overflow: hidden; }
.section-alt .mapbox { background: var(--calcare); }
@media (max-width: 767px) { .mapbox { aspect-ratio: 4 / 3; } }
.mapbox-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; }
.mapbox-in .i { color: var(--accent); }
.mapbox-addr { font-family: var(--font-display); font-size: 1.25rem; margin: 0; }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Quote tiles, form -------------------------------------------------------- */
.qtiles { display: grid; gap: 12px; margin-bottom: 40px; }
@media (min-width: 768px) { .qtiles { grid-template-columns: repeat(3, 1fr); } }
.qtile { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; align-items: center; padding: 22px; background: var(--gesso); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s var(--ease); }
.qtile:hover { border-color: var(--accent); }
.qtile .i { grid-row: span 2; color: var(--accent); width: 24px; height: 24px; }
.qtile-t { font-family: var(--font-display); font-size: 1.25rem; }
.qtile-d { font-size: var(--fs-small); color: var(--muted); }
.qtile:first-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.qtile:first-child .i, .qtile:first-child .qtile-d { color: #fff; }
.form-slot { max-width: 820px; }
.request-card { background: var(--gesso); border: 1px solid var(--line); border-top: 1px solid var(--ink); padding: clamp(20px, 4vw, 40px); scroll-margin-top: 88px; }
.request-card:focus { outline: none; }
.request-hint { color: var(--muted); }
.fgrid { display: grid; gap: 18px; margin-top: 8px; }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.ferr { margin: 0; color: var(--error); font-size: .875rem; font-weight: 600; }
.radios { display: flex; gap: 24px; min-height: 52px; align-items: center; }
.radios label { display: inline-flex; gap: 8px; align-items: center; font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.radios input { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.request-privacy { font-size: var(--fs-small); color: var(--muted); margin: 22px 0 16px; }
.request-micro { font-size: var(--fs-small); color: var(--muted); margin: 12px 0 0; text-align: center; }
.request-done { padding: 12px 0; }
.request-done:focus { outline: none; }

/* Contact page ------------------------------------------------------------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: 72px; } .contact-card { position: sticky; top: 96px; } }
.contact-card { display: grid; gap: 20px; }
.contact-rows { display: grid; border-top: 1px solid var(--ink); }
.crow { display: flex; align-items: center; gap: 14px; min-height: 64px; border-bottom: 1px solid var(--line); text-decoration: none; }
.crow .i { color: var(--accent); width: 22px; height: 22px; }
.crow span { display: grid; font-weight: 500; }
.crow small { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crow:hover span { color: var(--accent); }

/* Prose -------------------------------------------------------------------- */
.prose h2 { margin-top: 40px; }
.prose p { max-width: 66ch; }

/* CTA band ----------------------------------------------------------------- */
.cta-band { position: relative; background: var(--bosco); color: var(--on-dark); padding-block: clamp(88px, 11vw, 136px); text-align: center; }
.cta-in { position: relative; }
.cta-plate { display: none; }
.cta-title { font-size: var(--fs-display); font-style: italic; line-height: 1.05; color: var(--on-dark); margin-inline: auto; max-width: 16ch; }
.cta-line { color: var(--on-dark-muted); font-size: var(--fs-lead); font-family: var(--font-display); font-weight: 300; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0 20px; }
.cta-small { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
@media (min-width: 1024px) {
  .cta-band { margin-top: 40px; }
  .cta-plate { display: block; position: absolute; left: var(--gutter); top: calc(-1 * clamp(88px, 11vw, 136px) - 40px); width: 240px; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; outline: 1px solid var(--line-dark); outline-offset: 8px; }
  .cta-plate img { width: 100%; height: 100%; object-fit: cover; }
  .cta-text { padding-inline: 260px 0; }
}
@media (min-width: 1280px) { .cta-text { padding-inline: 200px; } }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--bosco-2); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); font-size: .9375rem; padding-top: 72px; }
.site-footer a { color: var(--on-dark); text-decoration-color: var(--line-dark); }
.site-footer a:hover { color: var(--accent-on-dark); }
.site-footer .brand { color: var(--on-dark); margin-bottom: 20px; }
.site-footer address { font-style: normal; margin-bottom: 8px; }
.site-footer .link-arrow { color: var(--accent-on-dark); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 4fr 3fr 2fr 3fr; gap: 32px; } }
.footer-title { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sabbia); margin-bottom: 16px; }
.footer-contacts { display: grid; gap: 4px; }
.footer-contacts a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; text-decoration: none; }
.site-footer ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.site-footer nav a { text-decoration: none; display: inline-block; padding: 3px 0; }
.site-footer .lang a { color: var(--on-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: .8125rem; }
.footer-bottom p { margin: 0; }

/* Sticky mobile CTA -------------------------------------------------------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(250, 250, 247, .96); border-top: 1px solid var(--ink);
  transform: translateY(110%); transition: transform .25s var(--ease);
}
.sticky.is-on { transform: none; }
.sticky-text { display: grid; margin: 0; font-size: .75rem; line-height: 1.35; }
.sticky-text span:first-child { font-weight: 600; }
.sticky-text span:last-child { color: var(--muted); }
.sticky-actions { display: flex; gap: 8px; align-items: center; }
.sticky .btn { min-height: 44px; padding: 10px 14px; }
@media (max-width: 380px) { .sticky-text { display: none; } .sticky-actions { flex: 1; justify-content: flex-end; } }
@media (min-width: 1024px) { .sticky { display: none !important; } }
body.has-sticky { padding-bottom: 80px; }
@media (min-width: 1024px) { body.has-sticky { padding-bottom: 0; } }

/* Reveal ------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .sticky, .menu, .hero-controls, .cta-band { display: none !important; }
}

/* Very small phones (320 to 379px) */
@media (max-width: 379px) {
  .header-in { gap: 10px; }
  .brand-mark { display: none; }
  .brand-name { font-size: 1.2rem; }
  .menu-btn { padding: 0 10px; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Refinements */
.brand-name { white-space: nowrap; }
@media (max-width: 479px) { .brand-sub { display: none; } }
.rate-req, .rate-price, .rates td:nth-child(4) { white-space: nowrap; }
@media (min-width: 768px) {
  .rates th:first-child { width: 22%; }
  .rates td:nth-child(2) { width: 36%; }
}
@media (max-width: 767px) {
  .rates caption.rates-caption { display: block; width: auto; padding-bottom: 12px; }
}

/* ===== Full-bleed hero (HERO=full) ===================================== */
.site-header--centred .header-in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; }
.site-header--centred .menu-btn { justify-self: start; }
.brand-centred { margin: 0; flex-direction: column; gap: 6px; justify-self: center; text-align: center; }
.brand-centred .brand-mark { width: 34px; height: 34px; }
.brand-centred .brand-name { font-size: 1.05rem; letter-spacing: .02em; }
.hbox-group { justify-self: end; display: flex; gap: 8px; }
.hbox {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r);
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: inherit;
  border: 1px solid transparent; background: rgba(20, 28, 23, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.hbox:hover { background: var(--gesso); color: var(--bosco); }
.hbox-solid { background: var(--gesso); color: var(--bosco); }
.hbox-solid:hover { background: var(--sabbia); }
.site-header--centred.is-solid .hbox { background: var(--pietra); color: var(--ink); backdrop-filter: none; }
.site-header--centred.is-solid .hbox-solid { background: var(--accent); color: #fff; }
.site-header--centred.is-solid .brand-centred { flex-direction: row; }
.site-header--centred.is-solid .brand-mark { width: 28px; height: 28px; }
@media (max-width: 767px) {
  .hbox-ghost { display: none; }
  .hbox { padding: 0 12px; }
  .brand-centred .brand-name { font-size: .95rem; }
  .site-header--centred .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 379px) { .brand-centred .brand-name { display: none; } }

.hero-full { min-height: 100svh; padding: 0; display: flex; align-items: flex-end; background: var(--bosco-2); }
.hero-full .hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-full .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-full .slide.is-active { opacity: 1; }
.hero-full .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s linear; }
.hero-full .slide.is-active img { transform: scale(1); }
.hero-veil { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(180deg, rgba(20,28,23,.55) 0%, rgba(20,28,23,.08) 22%, rgba(20,28,23,.10) 50%, rgba(20,28,23,.78) 100%); }
.hero-grain { position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
.hero-full-in { position: relative; width: 100%; padding: 0 var(--gutter) 28px; }
.hero-h1 { margin-bottom: 14px; }
.hero-title { font-family: var(--font-display); font-weight: 300; color: var(--on-dark); font-size: clamp(3rem, 1.2rem + 7.2vw, 8.5rem); line-height: .95; letter-spacing: -.03em; margin: 0; max-width: 14ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-rule { height: 1px; background: rgba(242,241,236,.35); margin: 28px calc(-1 * var(--gutter)) 22px; }
.hero-foot { display: grid; gap: 20px; align-items: end; }
.hero-sub { margin: 0; color: var(--on-dark); max-width: 38ch; font-size: 1rem; line-height: 1.5; }
.hero-full .hero-controls { padding: 0; max-width: none; margin: 0; }
.hero-card { display: none; }
.hero-down { display: none; }
@media (min-width: 1024px) {
  .hero-full-in { padding-bottom: 32px; }
  .hero-foot { grid-template-columns: 1fr auto 220px; gap: 40px; }
  .hero-full .hero-controls { justify-content: flex-end; }
  .hero-full .hero-progress { display: block; }
  .hero-card {
    display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 10px; width: 220px; height: 240px; padding: 16px 18px;
    background: var(--gesso); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease);
  }
  .hero-card:hover { transform: translateY(-4px); }
  .hero-card-thumbs { position: relative; width: 74px; height: 80px; }
  .hero-card-thumbs img { position: absolute; width: 52px; height: 60px; object-fit: cover; }
  .hero-card-thumbs img:first-child { left: 0; top: 0; }
  .hero-card-thumbs img:last-child { left: 22px; top: 22px; outline: 2px solid var(--gesso); }
  .hero-card-arrow .i { width: 26px; height: 26px; stroke-width: 1.2; }
  .hero-card-label { grid-column: 1 / -1; align-self: end; font-family: var(--font-display); font-size: 1.9rem; line-height: 1.05; font-weight: 300; }
  .hero-down { display: inline-grid; position: absolute; left: var(--gutter); top: -64px; background: rgba(20,28,23,.28); backdrop-filter: blur(8px); }
  .hero-claim { padding-bottom: 8px; }
}
@media (max-width: 1023px) {
  .hero-full { min-height: 88svh; }
  .hero-full .hero-caption { display: none; }
}

/* Booking bar docked at the bottom on desktop (Lingers style) */
@media (min-width: 1024px) {
  .booking-dock { position: fixed; left: 50%; bottom: 16px; z-index: 45; width: min(980px, calc(100% - 2 * var(--gutter))); padding: 0;
    transform: translate(-50%, calc(100% + 40px)); transition: transform .45s var(--ease); }
  .booking-dock.is-docked { transform: translate(-50%, 0); }
  .booking-dock .booking-slab { margin: 0; max-width: none; box-shadow: 0 18px 48px -12px rgba(20,28,23,.35); }
  .booking-dock .booking-micro { display: none; }
  .booking-dock .bcell { padding: 12px 20px; }
  .booking-dock .bsubmit { margin: 8px; min-height: 48px; }
  .page-home .facts-slot { margin-top: 72px; }
}

/* Giant words (Lingers / 360 Lex) */
.horizon .watermark { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); z-index: 0; margin: 0; pointer-events: none;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(6rem, 22vw, 22rem); line-height: .8; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1px rgba(26,31,27,.14); white-space: nowrap; text-transform: uppercase; }
.horizon .wrap { position: relative; z-index: 1; }
.footer-mark { margin: 0; padding: 12px var(--gutter) 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(5rem, 26vw, 26rem); line-height: .78;
  letter-spacing: -.04em; color: rgba(242,241,236,.07); text-align: center; overflow: hidden; white-space: nowrap; user-select: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-grain { animation: none; }
  .hero-full .slide img { transform: none; transition: none; }
  .booking-dock { transition: none; }
}
.hbox { white-space: nowrap; }
@media (min-width: 1024px) {
  .hero-down { top: auto; bottom: 32px; left: auto; right: calc(var(--gutter) + 220px + 40px); display: none; }
  .hero-card-thumbs { width: 96px; height: 100px; }
  .hero-card-thumbs img { width: 66px; height: 78px; }
  .hero-card-thumbs img:last-child { left: 30px; top: 22px; }
}
@media (max-width: 479px) { .hbox-solid { font-size: .6875rem; letter-spacing: .1em; padding: 0 10px; } }
