/* ==========================================================================
   Template officina — "La targa d'officina"
   Token in :root; tutto il resto li usa. Vedi DESIGN.md.
   ========================================================================== */

:root {
  /* smalto e inchiostro */
  --navy: #1f3b30;
  --navy-deep: #13271f;
  --ink: #14211b;
  --steel: #4a5a52;
  --steel-on-navy: #bcd0c5;
  --line: #d5ded8;
  --line-on-navy: rgba(255, 255, 255, 0.14);
  --ground: #f3f6f2;
  --panel: #ffffff;

  /* una sola vernice calda, due tinte per i due fondi */
  --amber: #e9b949;        /* su navy, con testo --ink */
  --amber-deep: #d9a632;   /* hover/active su navy */
  --rust: #7f5a14;         /* su chiaro: link, titoli di sezione */
  --rust-deep: #654710;
  --today: #fbf3dc;        /* tinta della riga "oggi" e hover della targa compatta */

  /* whatsapp */
  --wa: #15803d;
  --wa-deep: #146c34;

  /* tipografia */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-0: 1.0625rem;  /* 17px corpo */
  --fs-1: 1.1875rem;
  --fs-2: 1.375rem;
  --fs-3: clamp(1.625rem, 1.2rem + 1.6vw, 2.125rem);
  --fs-4: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem);
  --lh: 1.55;

  /* forme */
  --r-plate: 14px;
  --r-plate-in: 10px;
  --r-ctrl: 10px;
  --r-mark: 8px;
  --plate-border: 3px;

  /* profondità: sempre offset + sfocatura, mai alone */
  --shadow-1: 0 1px 2px rgba(20, 33, 27, 0.08), 0 6px 18px -8px rgba(20, 33, 27, 0.25);
  --shadow-2: 0 2px 4px rgba(20, 33, 27, 0.1), 0 14px 34px -14px rgba(20, 33, 27, 0.35);

  /* movimento: una sola curva, ease-out forte */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --t-press: 120ms;
  --t-color: 160ms;
  --t-reveal: 220ms;

  /* spazio */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --gutter: clamp(1rem, 4vw, 2rem);
  --measure: 62ch;
  --container: 72rem;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: 4.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-0);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--ground);
  text-rendering: optimizeLegibility;
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)); /* spazio per la barra mobile */
}
@media (min-width: 760px) {
  body { padding-bottom: 0; }
}

::selection { background: var(--amber); color: var(--ink); }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1 { font-size: var(--fs-4); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-3); }
h3 { font-size: var(--fs-2); letter-spacing: -0.01em; }
p { margin: 0; }
p + p { margin-top: var(--s-2); }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }

a {
  color: var(--rust);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: var(--r-ctrl);
}
.on-navy a:focus-visible,
.on-navy button:focus-visible { outline-color: #fff; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* controlli: tap senza ritardo, niente selezione del testo del bottone */
a, button, [role="button"] {
  touch-action: manipulation;
}
button, .btn, .plate, .nav-toggle {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.visually-hidden {
  position: absolute !important;
  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;
  top: -100%;
  left: var(--gutter);
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--r-ctrl) var(--r-ctrl);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 0; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Bottoni e targa
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;              /* 48px: target touch */
  padding: 0.7rem 1.25rem;
  border-radius: var(--r-ctrl);
  font-weight: 700;
  font-size: var(--fs-0);
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-color) var(--ease-out), border-color var(--t-color) var(--ease-out), color var(--t-color) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.35em; height: 1.35em; }

.btn-amber { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.on-navy .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .btn-amber:hover { background: var(--amber-deep); border-color: var(--amber-deep); }
  .btn-wa:hover { background: var(--wa-deep); border-color: var(--wa-deep); }
  .btn-outline:hover { background: rgba(20, 33, 27, 0.06); }
  .on-navy .btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
  .btn-ink:hover { background: var(--navy); border-color: var(--navy); }
  a:hover { color: var(--rust-deep); }
}

/* La targa: il numero di telefono come insegna che si tocca */
.plate {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0.3rem;
  background: var(--navy);
  border-radius: var(--r-plate);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-2);
  transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-press) var(--ease-out);
}
.plate:active { transform: scale(0.98); box-shadow: var(--shadow-1); }
.plate-face {
  background: var(--panel);
  border-radius: var(--r-plate-in);
  padding: 0.9rem 1.25rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.plate-face .icon { width: 1.75rem; height: 1.75rem; color: var(--rust); stroke-width: 2; }
.plate-number {
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}
.plate-caption {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem 0.75rem 0.35rem;
  letter-spacing: 0.01em;
}
.plate-caption strong { color: var(--amber); font-weight: 700; }

/* targa compatta nell'header */
.plate-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.9rem 0.35rem 0.75rem;
  background: var(--panel);
  color: var(--ink);
  border: var(--plate-border) solid var(--navy);
  border-radius: var(--r-ctrl);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-color) var(--ease-out);
}
.plate-sm .icon { color: var(--rust); stroke-width: 2; }
.plate-sm:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .plate-sm:hover { background: var(--today); }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  min-height: 4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: var(--r-mark);
  background: var(--navy);
  color: var(--amber);
  display: grid;
  place-items: center;
}
.brand-mark .icon { width: 1.5rem; height: 1.5rem; stroke-width: 2; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name {
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-wrap: balance;
}
.brand-sub { font-size: 0.8125rem; color: var(--steel); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.header-actions { display: flex; align-items: center; gap: var(--s-1); }

.site-nav ul { display: flex; gap: 0.25rem; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-height: 2.75rem;
  padding: 0.5rem 0.8rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-ctrl);
  transition: background-color var(--t-color) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { background: var(--ground); color: var(--ink); }
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-ctrl);
  color: var(--ink);
  border: 2px solid var(--line);
}
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; stroke-width: 2; }
.nav-toggle[aria-expanded="true"] .i-menu { display: none; }
.nav-toggle[aria-expanded="false"] .i-close { display: none; }

@media (max-width: 899px) {
  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    padding: var(--s-1) var(--gutter) var(--s-2);
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out), visibility 0s linear var(--t-reveal);
  }
  .site-nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-out), visibility 0s;
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { min-height: 3rem; font-size: var(--fs-1); border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav li:last-child a { border-bottom: 0; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { order: 1; margin-left: auto; flex: none; }
  .header-actions { order: 2; }
  .brand { flex: 0 1 auto; max-width: 26rem; }
}
/* tra 900 e 1439px nav e targa si contendono la riga: via il sottotitolo e il numero */
@media (min-width: 900px) and (max-width: 1439px) {
  .brand-sub { display: none; }
  .site-header .plate-sm .plate-sm-number { display: none; }
  .site-nav a { padding-inline: 0.5rem; }
}
@media (max-width: 599px) {
  .brand-sub { display: none; }
  .brand-name { white-space: normal; font-size: 1rem; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .site-header .plate-sm { padding-inline: 0.75rem; }
  .site-header .plate-sm .plate-sm-number { display: none; } /* su schermi stretti resta icona + "Chiama" */
}

/* --------------------------------------------------------------------------
   Hero: la lastra navy
   -------------------------------------------------------------------------- */
.hero {
  background: var(--navy);
  color: #fff;
  padding-block: var(--s-5) var(--s-6);
  border-bottom: 6px solid var(--amber); /* righello che separa la lastra dal gesso */
}
.hero-grid {
  display: grid;
  grid-template-areas: "title" "plate" "text";
  gap: var(--s-4);
  align-items: start;
}
.hero-title { grid-area: title; }
.hero-plate { grid-area: plate; }
.hero-text { grid-area: text; }
@media (min-width: 900px) {
  .hero { padding-block: var(--s-6); }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
    grid-template-areas: "title plate" "text plate";
    gap: var(--s-3) var(--s-6);
    align-items: center;
  }
  .hero-text { align-self: start; }
  .plate-number { font-size: 2.75rem; }
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero h1 .h1-place { color: var(--amber); }
.hero-lead {
  margin-top: 0;
  font-size: var(--fs-1);
  color: var(--steel-on-navy);
  max-width: var(--measure);
}
.hero-proof {
  margin-top: var(--s-3);
  display: grid;
  gap: 0.6rem;
}
.hero-proof li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 600;
  color: #fff;
}
.hero-proof .icon { color: var(--amber); margin-top: 0.15em; stroke-width: 2.25; }

.hero-plate {
  display: grid;
  gap: var(--s-2);
  justify-items: stretch;
}
.hero-plate .plate { width: 100%; }
.hero-plate .plate-face { justify-content: center; }
.hero-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--s-1);
}
.hero-actions .btn { white-space: nowrap; }
.hero-today {
  color: var(--steel-on-navy);
  font-size: 0.9375rem;
  text-align: center;
}
.hero-today strong { color: #fff; }

/* --------------------------------------------------------------------------
   Sezioni
   -------------------------------------------------------------------------- */
.section { padding-block: var(--s-6); }
.section-alt { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { max-width: var(--measure); margin-bottom: var(--s-4); }
.section-head h2 { color: var(--ink); }
.section-head p { margin-top: var(--s-2); color: var(--steel); font-size: var(--fs-1); }

/* Servizi: listino a righe, non card */
.services {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) {
  .services { grid-template-columns: 1fr 1fr; column-gap: var(--s-5); }
}
.service {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0 var(--s-2);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line);
  align-content: start;
}
.service-icon {
  width: 2rem;
  height: 2rem;
  color: var(--rust);
  grid-row: span 2;
  align-self: start;
  margin-top: 0.1rem;
}
.service h3 { align-self: start; padding-top: 0.2rem; text-wrap: balance; }
.service p { color: var(--steel); margin-top: 0.35rem; padding-bottom: 0.25rem; text-wrap: pretty; }
/* 3 servizi: tre colonne, niente cella vuota */
@media (min-width: 1000px) {
  .services:has(> .service:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
}

/* Perché noi: dichiarazione + elenco + slot foto */
.why-grid { display: grid; gap: var(--s-4); }
@media (min-width: 900px) {
  .why-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: center; }
}
.why-list { display: grid; gap: var(--s-3); }
.why-list li { display: grid; grid-template-columns: 2rem 1fr; gap: var(--s-2); }
.why-list .icon { width: 2rem; height: 2rem; color: var(--rust); stroke-width: 2; }
.why-list h3 { font-size: var(--fs-1); }
.why-list p { color: var(--steel); margin-top: 0.25rem; }

.photo-slot {
  position: relative;
  margin: 0;
  border-radius: var(--r-plate);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-2);
  aspect-ratio: 4 / 3;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot svg { width: 100%; height: 100%; }
.photo-note {
  position: absolute;
  left: var(--s-2); bottom: var(--s-2);
  padding: 0.35rem 0.7rem;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--r-mark);
}

/* Recensioni */
.reviews { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .reviews { grid-template-columns: repeat(3, 1fr); column-gap: var(--s-5); }
  /* niente celle vuote con 2, 4 o 5 recensioni */
  .reviews:has(> .review:nth-child(2):last-child),
  .reviews:has(> .review:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
  .reviews:has(> .review:nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
  .reviews:has(> .review:nth-child(5):last-child) > .review { grid-column: span 2; }
  .reviews:has(> .review:nth-child(5):last-child) > .review:nth-child(-n+2) { grid-column: span 3; }
}
/* solo la riga di valutazione, senza recensioni: sezione più bassa */
.section:has(.section-head + .reviews-cta) { padding-block: var(--s-5); }
.section-head + .reviews-cta { margin-top: 0; }
.review {
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg { width: 1.25rem; height: 1.25rem; fill: currentColor; stroke: none; }
.stars .star-empty { color: var(--line); }
.review blockquote { margin: 0; font-size: var(--fs-0); }
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review footer { margin-top: auto; color: var(--steel); font-size: 0.9375rem; }
.review footer strong { color: var(--ink); }
.reviews-cta { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.google-rating { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.rating-star { width: 1.25rem; height: 1.25rem; fill: var(--amber); stroke: none; }
.addr-icon { display: inline-block; vertical-align: -0.25em; margin-right: 0.35rem; color: var(--rust); }
.map-link { color: #fff; }

/* Orari e dove siamo */
.where-grid { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .where-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-5); } }

.hours {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-plate-in);
  overflow: hidden;
}
.hours caption { text-align: left; font-weight: 800; font-size: var(--fs-2); margin-bottom: var(--s-2); color: var(--ink); }
.hours th, .hours td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; color: var(--ink); width: 45%; }
.hours td { color: var(--ink); font-weight: 600; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--today); }
.hours tr.is-today th::after {
  content: "oggi";
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rust);
}
.hours-note { margin-top: var(--s-2); color: var(--steel); font-size: 0.9375rem; }

.where-address { margin-top: var(--s-4); display: grid; gap: var(--s-2); }
.where-address address { font-size: var(--fs-1); font-weight: 600; }
.where-actions { display: flex; flex-wrap: wrap; gap: var(--s-1); }

.map {
  position: relative;
  width: 100%;
  min-width: 0;
  border-radius: var(--r-plate);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-2);
  aspect-ratio: 4 / 3;   /* l'altezza segue la larghezza: mai min-height qui, o la larghezza sfora */
  display: grid;
}
@media (min-width: 900px) { .map { aspect-ratio: auto; height: 100%; min-height: 24rem; } }
.map-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: var(--s-2);
  padding: var(--s-4);
  color: #fff;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, var(--line-on-navy) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--line-on-navy) 39px 40px),
    var(--navy);
}
.map-placeholder .icon { width: 2.5rem; height: 2.5rem; color: var(--amber); }
.map-placeholder p { color: var(--steel-on-navy); font-size: 0.9375rem; max-width: min(34ch, 100%); }
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity var(--t-reveal) var(--ease-out);
}
.map iframe.is-loaded { opacity: 1; }
.map.is-loaded .map-placeholder { display: none; }

/* Contatti */
.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact .section-head p { color: var(--steel-on-navy); }
.contact-row {
  display: grid;
  gap: var(--s-2);
  justify-items: start;
  align-items: start;
}
@media (min-width: 760px) {
  .contact-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-2) var(--s-5); }
  .contact-row .plate { grid-row: span 3; }
}
.contact-row .plate { width: 100%; }
.contact-row .plate-face { justify-content: center; }
.btn-lg { min-height: 3.5rem; font-size: var(--fs-1); width: 100%; }
.contact-email { color: var(--steel-on-navy); }
.contact-email a { color: #fff; font-weight: 700; overflow-wrap: anywhere; }

/* Footer */
.site-footer {
  padding-block: var(--s-4) var(--s-5);
  background: var(--navy-deep);
  color: var(--steel-on-navy);
  font-size: 0.9375rem;
}
.footer-grid { display: grid; gap: var(--s-2); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.footer-links a { min-height: 2.75rem; display: inline-flex; align-items: center; }

/* Nota demo */
.demo-note {
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9375rem;
  text-align: center;
  padding: 0.6rem var(--gutter);
}

/* Barra fissa mobile: Chiama / WhatsApp sempre sotto il pollice */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-1);
  padding: var(--s-1) var(--s-2) calc(var(--s-1) + env(safe-area-inset-bottom, 0px));
  background: var(--panel);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px -12px rgba(20, 33, 27, 0.35);
}
.call-bar.single { grid-template-columns: 1fr; }
.call-bar .btn { min-height: 3.25rem; font-size: var(--fs-1); }
@media (min-width: 760px) { .call-bar { display: none; } }

/* --------------------------------------------------------------------------
   Pagine secondarie (privacy, 404)
   -------------------------------------------------------------------------- */
.page { padding-block: var(--s-5) var(--s-6); }
.prose { max-width: var(--measure); }
.prose h1 { font-size: var(--fs-4); margin-bottom: var(--s-3); }
.prose h2 { font-size: var(--fs-3); margin-top: var(--s-5); margin-bottom: var(--s-2); }
.prose h3 { font-size: var(--fs-2); margin-top: var(--s-4); margin-bottom: var(--s-1); }
.prose p, .prose li { color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.5rem; }
.prose .meta { color: var(--steel); font-size: 0.9375rem; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem var(--s-2); }
.prose dt { font-weight: 700; }
.prose dd { margin: 0; }
.notfound { text-align: center; padding-block: var(--s-6); }
.notfound .plate { margin-top: var(--s-4); }
.notfound-actions { margin-top: var(--s-3); display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s-2); }

/* --------------------------------------------------------------------------
   Movimento ridotto: resta il colore, cade lo spostamento
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .plate, .plate-sm { transition-property: background-color, border-color, color, box-shadow; }
  .btn:active, .plate:active, .plate-sm:active { transform: none; }
  .site-nav { transform: none; transition: opacity var(--t-reveal) var(--ease-out), visibility 0s linear var(--t-reveal); }
}

@media print {
  .site-header, .call-bar, .map, .demo-note, .nav-toggle { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
  .hero, .contact, .site-footer { background: #fff !important; color: #000 !important; }
}

/* orari non pubblicati: riga unica come avviso, non come tabella spezzata */
.hours tr:only-child { display: block; background: var(--today); border-radius: var(--r-mark); padding: 0.85rem 1rem; }
.hours tr:only-child th, .hours tr:only-child td { display: inline; padding: 0; border: 0; background: none; width: auto; }
.hours tr:only-child th::after { content: ": "; }
h2 { text-wrap: balance; }
.hero-lead, .why-list p { text-wrap: pretty; }
/* una sola recensione: una colonna di lettura, non tre con due vuote */
@media (min-width: 760px) { .reviews:has(> .review:only-child) { grid-template-columns: minmax(0, 40rem); } }
