/* ==========================================================================
   San Pietro Limousine Service — foglio di stile principale
   Palette: notte profonda + ottone caldo. Mobile-first.
   ========================================================================== */

/* ---------- Token ---------- */
:root {
  --ink:        #0b0c0e;
  --ink-2:      #14161a;
  --ink-3:      #1c1f24;
  --line:       #2a2e35;
  --line-soft:  #22262c;

  --paper:      #ffffff;
  --paper-2:    #f7f5f2;
  --paper-3:    #efece7;

  --text:       #14161a;
  --text-soft:  #555d68;
  --text-invert:#f4f2ee;
  --text-invert-soft: #a8afb9;

  --brass:      #c8a35a;
  --brass-2:    #b08e45;
  --brass-soft: #f2e7d0;

  --wa:         #25d366;
  --wa-dark:    #1da851;

  --ok:         #1a7f4b;
  --err:        #b3261e;

  --radius:     14px;
  --radius-lg:  22px;
  --radius-sm:  9px;

  --shadow-sm:  0 1px 2px rgba(11,12,14,.06), 0 2px 8px rgba(11,12,14,.05);
  --shadow:     0 4px 12px rgba(11,12,14,.08), 0 12px 32px rgba(11,12,14,.08);
  --shadow-lg:  0 8px 24px rgba(11,12,14,.10), 0 28px 64px rgba(11,12,14,.14);

  --wrap:       1180px;
  --gutter:     20px;

  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --ease:       cubic-bezier(.22,.61,.36,1);
  --header-h:   68px;
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --header-h: 84px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 6.2vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 2.2vw, 1.35rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

/* ---------- Utility ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--text-invert);
  padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: .9em;
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--brass); }

.lede {
  font-size: clamp(1.02rem, 1.9vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 60ch;
}
.on-dark .lede { color: var(--text-invert-soft); }

.muted { color: var(--text-soft); }
.small { font-size: .86rem; }
.center { text-align: center; }
.center .lede, .center .section-sub { margin-inline: auto; }

/* ---------- Bottoni ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 13px 22px;
  border: 1px solid var(--btn-bd);
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 17px; font-size: .86rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  --btn-bg: var(--brass);
  --btn-fg: #17130a;
  --btn-bd: var(--brass);
}
.btn-primary:hover { --btn-bg: var(--brass-2); --btn-bd: var(--brass-2); }

.btn-dark {
  --btn-bg: var(--ink);
  --btn-fg: var(--text-invert);
  --btn-bd: var(--ink);
}

.btn-outline { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line); }
.on-dark .btn-outline, .hero .btn-outline {
  --btn-fg: var(--text-invert);
  --btn-bd: rgba(244,242,238,.28);
}
.on-dark .btn-outline:hover, .hero .btn-outline:hover {
  --btn-bg: rgba(244,242,238,.08);
  --btn-bd: rgba(244,242,238,.5);
}

.btn-whatsapp { --btn-bg: var(--wa); --btn-fg: #07240f; --btn-bd: var(--wa); }
.btn-whatsapp:hover { --btn-bg: var(--wa-dark); --btn-bd: var(--wa-dark); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text-soft); --btn-bd: transparent; }
.btn-ghost:hover { --btn-bg: var(--paper-2); --btn-fg: var(--text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--paper-3);
  box-shadow: 0 1px 20px rgba(11,12,14,.05);
}

/* header trasparente sopra un hero scuro, finché non si scrolla */
.header-over-hero .site-header:not(.is-stuck) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-over-hero .site-header:not(.is-stuck) .brand-text strong,
.header-over-hero .site-header:not(.is-stuck) .brand-text small,
.header-over-hero .site-header:not(.is-stuck) .nav > a:not(.btn) {
  color: var(--text-invert);
}
.header-over-hero .site-header:not(.is-stuck) .brand-text small { color: var(--text-invert-soft); }
.header-over-hero .site-header:not(.is-stuck) .nav-toggle span { background: var(--text-invert); }
.header-over-hero .site-header:not(.is-stuck) .brand-mark {
  border-color: rgba(244,242,238,.4);
  color: var(--brass);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand-mark {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--brass-2);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-text small {
  font-size: .66rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-soft);
  line-height: 1.4;
}

.nav { display: none; align-items: center; gap: 4px; }
.nav > a {
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  transition: background-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.nav > a:not(.btn):hover { background: var(--paper-2); }
.nav > a[aria-current="page"] { color: var(--brass-2); font-weight: 600; }
.nav .btn { margin-left: 8px; }

@media (min-width: 1000px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
}

/* dropdown servizi */
.nav-drop { position: relative; }
.nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border: 0; background: none;
  border-radius: var(--radius-sm);
  font-size: .92rem; font-weight: 500; cursor: pointer;
  transition: background-color .18s var(--ease);
}
.nav-drop > button:hover { background: var(--paper-2); }
.nav-drop > button svg { transition: transform .2s var(--ease); }
.nav-drop[data-open="true"] > button svg { transform: rotate(180deg); }
.header-over-hero .site-header:not(.is-stuck) .nav-drop > button { color: var(--text-invert); }

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 290px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-drop[data-open="true"] .nav-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
}
.nav-menu a:hover { background: var(--paper-2); }
.nav-menu a small { display: block; font-weight: 400; font-size: .78rem; color: var(--text-soft); }

/* toggle mobile */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease), background-color .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Va tenuta dopo il blocco qui sopra: a parità di specificità vince l'ultima regola. */
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
}

/* pannello mobile */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--ink);
  color: var(--text-invert);
  padding: 26px var(--gutter) 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mobile-nav[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.22rem;
}
.mobile-nav a small {
  display: block;
  font-family: var(--font-sans);
  font-size: .8rem;
  color: var(--text-invert-soft);
}
.mobile-nav .mobile-cta { display: grid; gap: 10px; margin-top: 26px; }
.mobile-nav .mobile-cta .btn { width: 100%; }
@media (min-width: 1000px) { .mobile-nav { display: none; } }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-invert);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 15% 0%, rgba(200,163,90,.12), transparent 60%),
    /* Velatura da sinistra: il testo dell'hero è allineato a lì e deve restare
       leggibile. Si spegne entro i due terzi, così il soggetto della fotografia
       resta luminoso invece di finire sotto una patina scura. */
    linear-gradient(90deg, rgba(11,12,14,.86) 0%, rgba(11,12,14,.58) 30%,
                    rgba(11,12,14,.12) 62%, rgba(11,12,14,0) 100%),
    /* Velatura verticale: leggera in alto, più decisa in basso dove corrono
       i tre riquadri di testo chiaro. */
    linear-gradient(180deg, rgba(11,12,14,.42) 0%, rgba(11,12,14,.26) 42%, rgba(11,12,14,.80) 100%);
  z-index: -1;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
}
/* L'header è trasparente sopra l'hero: il contenuto principale va risalito
   di un'altezza di header, così lo sfondo scuro gli scorre dietro. */
.header-over-hero main { margin-top: calc(var(--header-h) * -1); }

.hero-inner {
  padding-block: clamp(72px, 13vw, 132px);
  padding-top: calc(var(--header-h) + clamp(56px, 10vw, 104px));
  max-width: 860px;
}
.hero h1 { color: var(--text-invert); margin-bottom: .45em; }

/* Con una fotografia luminosa la sola velatura non basta: un'ombra morbida
   tiene il testo leggibile senza dover riscurire l'immagine. */
.hero .eyebrow,
.hero h1,
.hero .lede,
.hero-badges strong,
.hero-badges span { text-shadow: 0 1px 14px rgba(11, 12, 14, .55); }

.hero .lede { color: #dde1e6; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-cta .btn { flex: 1 1 auto; min-width: 210px; }
@media (min-width: 620px) { .hero-cta .btn { flex: 0 0 auto; } }

.hero-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  list-style: none;
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid rgba(244,242,238,.14);
}
@media (min-width: 700px) { .hero-badges { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.hero-badges li {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244,242,238,.1);
}
@media (min-width: 700px) {
  .hero-badges li { border-bottom: 0; padding-right: 24px; }
  .hero-badges li + li { border-left: 1px solid rgba(244,242,238,.12); padding-left: 24px; }
}
.hero-badges strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--brass);
  margin-bottom: 2px;
}
.hero-badges span { font-size: .87rem; color: var(--text-invert-soft); }

/* hero compatto per le pagine interne */
.hero-compact .hero-inner {
  padding-block: clamp(44px, 8vw, 76px);
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 62px));
}
.hero-compact h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); }

/* ---------- Sezioni ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-alt { background: var(--paper-2); }
.section-dark {
  background: var(--ink);
  color: var(--text-invert);
}
.section-dark h2, .section-dark h3 { color: var(--text-invert); }
.section-dark p { color: var(--text-invert-soft); }

.section-head { max-width: 62ch; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub { color: var(--text-soft); font-size: 1.02rem; max-width: 58ch; }
.section-dark .section-sub { color: var(--text-invert-soft); }

.note {
  margin-top: 22px;
  font-size: .87rem;
  color: var(--text-soft);
}

/* ---------- Griglie ---------- */

/* Gli elementi di grid e flex hanno min-width:auto, quindi un contenuto largo
   (la tabella tariffe, che ha min-width 560px) allarga la colonna e sfonda la
   pagina in orizzontale. Azzerarlo lascia che sia il contenitore a scrollare. */
.grid > *, .split > *, .booking > *, .footer-inner > * { min-width: 0; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 620px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid { gap: 22px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Card ---------- */
.card {
  position: relative;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius-lg);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.section-alt .card { background: var(--paper); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-soft); font-size: .95rem; margin-bottom: 0; }

a.card, .card-link { text-decoration: none; display: block; }
a.card:hover, .card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brass-soft);
}

.card-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--brass-soft);
  color: var(--brass-2);
}
.card-icon svg { width: 21px; height: 21px; }

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--brass-2);
}
.card-more svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
a.card:hover .card-more svg { transform: translateX(4px); }

.card-price {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 16px;
  padding: 7px 13px;
  border-radius: 100px;
  background: var(--paper-2);
  font-family: var(--font-display);
  font-size: 1.16rem;
  color: var(--text);
}
.card-price small {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 500;
  color: var(--text-soft);
}

/* card veicolo */
.card-vehicle { padding: 0; overflow: hidden; }
.vehicle-img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  display: grid; place-items: center;
  color: var(--text-invert-soft);
  font-size: .84rem;
}
.vehicle-img img { width: 100%; height: 100%; object-fit: cover; }
.card-vehicle-body { padding: 22px 24px 26px; }
.vehicle-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 12px; padding: 0; list-style: none;
}
.vehicle-meta li {
  margin: 0;
  padding: 5px 11px;
  border-radius: 100px;
  background: var(--paper-2);
  font-size: .79rem;
  font-weight: 500;
  color: var(--text-soft);
}

/* ---------- Feature ---------- */
.features > div { padding-top: 20px; border-top: 2px solid var(--brass); }
.features h3 { font-size: 1.06rem; margin-bottom: .3em; }
.features p { font-size: .92rem; color: var(--text-soft); margin: 0; }
.section-dark .features > div { border-top-color: var(--brass); }

/* ---------- Tabella tariffe ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.rates { width: 100%; border-collapse: collapse; min-width: 560px; }
.rates caption { text-align: left; padding: 18px 22px 0; color: var(--text-soft); font-size: .88rem; }
.rates th, .rates td { padding: 15px 22px; text-align: left; border-bottom: 1px solid var(--paper-3); }
.rates thead th {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--paper-2);
  white-space: nowrap;
}
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: 0; }
.rates tbody tr { transition: background-color .15s var(--ease); }
.rates tbody tr:hover { background: var(--paper-2); }
.rates td.price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  white-space: nowrap;
}
/* Importo IVA inclusa in evidenza, imponibile sotto: il consumatore vede il
   prezzo che paga, chi fattura trova l'imponibile senza doverlo calcolare. */
.rates td.price small {
  display: block;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 400;
  color: var(--text-soft);
  letter-spacing: .01em;
}

/* ---------- Selettore di lingua ---------- */
.lang-drop > button {
  gap: 5px;
  color: var(--text-soft);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.lang-drop > button svg:first-child { flex: 0 0 auto; }
.header-over-hero .site-header:not(.is-stuck) .lang-drop > button { color: var(--text-invert-soft); }

.nav-menu-langs { min-width: 178px; }
.nav-menu-langs a[aria-current="true"] {
  color: var(--brass-2);
  font-weight: 600;
  background: var(--brass-soft);
}

.mobile-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 4px;
}
.mobile-langs a {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: .86rem;
  font-weight: 500;
}
.mobile-langs a[aria-current="true"] {
  border-color: var(--brass);
  color: var(--brass);
}
.rates th[scope="row"] { font-weight: 600; font-family: var(--font-sans); font-size: .95rem; }

/* ---------- Breadcrumb ---------- */
.crumbs {
  padding-block: 16px;
  font-size: .83rem;
  color: var(--text-soft);
  border-bottom: 1px solid var(--paper-3);
}
.crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  list-style: none; margin: 0; padding: 0;
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: 7px; }
.crumbs li + li::before { content: "›"; color: var(--paper-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brass-2); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 500; }

/* ---------- Prosa ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose > *:first-child { margin-top: 0; }
.prose ul { padding-left: 1.1em; }
.prose li::marker { color: var(--brass-2); }
.prose a { color: var(--brass-2); text-decoration: underline; text-underline-offset: 3px; }

.split {
  display: grid;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}
@media (min-width: 900px) { .split { grid-template-columns: 1.35fr .85fr; } }

.aside-box {
  padding: 26px;
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.aside-box h3 { font-size: 1.14rem; }
.aside-box .btn { width: 100%; margin-top: 8px; }
.aside-price {
  display: flex; align-items: baseline; gap: 8px;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--paper-3);
}
.aside-price strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.aside-price span { font-size: .85rem; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 74ch; }
.faq details {
  border-bottom: 1px solid var(--paper-3);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--brass-2);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 22px; color: var(--text-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Form prenotazione ---------- */
.booking {
  display: grid;
  gap: clamp(30px, 5vw, 54px);
  align-items: start;
}
@media (min-width: 940px) { .booking { grid-template-columns: .8fr 1.2fr; } }

.booking-intro .contact-list {
  list-style: none; margin: 24px 0; padding: 0;
}
.booking-intro .contact-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; margin: 0;
  border-bottom: 1px solid var(--paper-3);
}
.section-dark .booking-intro .contact-list li { border-bottom-color: var(--line); }
.contact-list .ci {
  width: 34px; height: 34px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brass-soft);
  color: var(--brass-2);
  font-size: .95rem;
}
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--brass-2); }

.booking-form {
  padding: clamp(22px, 3.5vw, 34px);
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.section-dark .booking-form { color: var(--text); }

.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field { margin-bottom: 16px; }
.field > label {
  display: block;
  margin-bottom: 6px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
}
.field > label span { color: var(--brass-2); }

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--paper-3);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 16px; /* evita lo zoom automatico su iOS */
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(200,163,90,.18);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: var(--err);
  box-shadow: 0 0 0 3px rgba(179,38,30,.12);
}
.field .err-msg {
  display: none;
  margin-top: 5px;
  font-size: .8rem;
  color: var(--err);
}
.field .err-msg.show { display: block; }

.field-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.field-check input { margin-top: 4px; flex: 0 0 auto; width: 17px; height: 17px; accent-color: var(--brass-2); }
.field-check label { font-size: .84rem; font-weight: 400; color: var(--text-soft); margin: 0; }
.field-check a { color: var(--brass-2); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
@media (min-width: 560px) { .form-actions { grid-template-columns: 1fr auto; } }

.form-status {
  margin: 16px 0 0;
  padding: 0;
  font-size: .9rem;
  min-height: 1.2em;
}
.form-status.ok { color: var(--ok); font-weight: 600; }
.form-status.err { color: var(--err); font-weight: 600; }

/* ---------- CTA a tutta larghezza ---------- */
.cta-band {
  background: var(--ink);
  color: var(--text-invert);
  text-align: center;
  padding-block: clamp(52px, 8vw, 88px);
}
.cta-band h2 { color: var(--text-invert); }
.cta-band p { color: var(--text-invert-soft); max-width: 56ch; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-invert-soft);
  padding-top: clamp(46px, 7vw, 76px);
  font-size: .92rem;
}
.footer-inner {
  display: grid;
  gap: 32px;
  padding-bottom: 40px;
}
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-inner { grid-template-columns: 1.8fr 1fr 1fr 1fr; } }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.24rem;
  color: var(--text-invert);
  margin-bottom: .3em;
}
.footer-title {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1em;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brass); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55em; }

.footer-bottom {
  padding-block: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
}

/* ---------- Barra CTA mobile ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  border-top: 1px solid var(--paper-3);
  box-shadow: 0 -2px 18px rgba(11,12,14,.09);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.mobile-bar.show { transform: translateY(0); }
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 4px;
  text-decoration: none;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text);
}
.mobile-bar a + a { border-left: 1px solid var(--paper-3); }
.mobile-bar svg { width: 19px; height: 19px; }
.mobile-bar .mb-wa { color: var(--wa-dark); }
.mobile-bar .mb-book { color: var(--brass-2); }

@media (min-width: 1000px) { .mobile-bar { display: none; } }
@media (max-width: 999px) { body { padding-bottom: 62px; } }

/* fab whatsapp solo desktop */
.fab-whatsapp {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 89;
  width: 56px; height: 56px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #07240f;
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
  transition: transform .2s var(--ease);
}
.fab-whatsapp:hover { transform: scale(1.06); }
@media (min-width: 1000px) { .fab-whatsapp { display: grid; } }

/* ---------- Animazione di ingresso ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding-block: clamp(80px, 14vw, 160px); }
.page-404 .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 9rem);
  line-height: 1;
  color: var(--brass-soft);
  margin-bottom: .1em;
}

/* ---------- Stampa ---------- */
@media print {
  .site-header, .mobile-bar, .fab-whatsapp, .mobile-nav, .hero-cta, .booking-form { display: none !important; }
  body { color: #000; background: #fff; padding-bottom: 0; }
  .hero { background: #fff; color: #000; }
  .hero h1, .hero .lede { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
