/* INOLTRE srl — Home inoltre.com
   Token da INOLTRE-DESIGN.md: nero al 90%, un solo accento terracotta, angoli vivi
   (eccezione voluta: i riquadri dell'hero), pillola solo su bottoni, badge e menu,
   niente ombre né sfumature.
   Pesi della pagina: Real Estate e Studio al centro; la Suite solo in fondo. */

:root {
  --paper: #ffffff;
  --stone: #efedea;
  --hairline: #dedbd6;
  --ink: #1a1a1a;
  --ink-muted: #6b6b6b;
  --terracotta: #b75928;
  --terracotta-soft: #f1e2d7;
  --night: #0d0d0d;
  --lago: #2b3b3c;
  --on-dark: #ffffff;
  --on-dark-muted: #b5b3b0;
  --terracotta-on-dark: #d98a5f;

  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --space-2: 8px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 64px;
  --space-9: clamp(64px, 8vw, 96px);
  --content-max: 1200px;
  --text-max: 600px;
  --gutter: clamp(16px, 5vw, 48px);

  --radius-pill: 999px;
  --foto: saturate(0.88);
  --ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* — base — */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  font-weight: 400;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 300; margin: 0; }
p, ul { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
em { font-style: normal; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

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

.container {
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.kicker {
  display: block;
  font-size: 12px; line-height: 1.4; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
}
.section-title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: var(--space-2);
}
.accento { color: var(--terracotta); }

.link-arrow {
  display: inline-block;
  font-weight: 500; font-size: 14px; line-height: 1.2; letter-spacing: 0.02em;
  text-decoration: none;
}
.link-arrow span { display: inline-block; transition: transform 0.2s ease; }
.link-arrow:hover span,
a:hover > * > .link-arrow span,
a:hover > .link-arrow span { transform: translateX(4px); }

/* — bottoni — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 500; font-size: 14px; line-height: 1.2; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  padding: 16px 24px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--ink); color: var(--on-dark); }
.btn-primary:hover { background: var(--ink-muted); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--on-dark); }

/* — badge — */
.badge {
  position: absolute; left: var(--space-4); top: var(--space-4);
  background: var(--stone);
  font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: var(--radius-pill);
}
.badge-evidenza { background: var(--terracotta-soft); }

/* — header: solo la pillola del menu, sempre sopra la pagina — */
.site-header {
  position: fixed; top: var(--space-4); right: var(--space-4); z-index: 20;
}
.menu-btn {
  display: none;
  align-items: center; gap: 14px;
  font: inherit; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--ink); color: var(--on-dark);
  border: 0; border-radius: var(--radius-pill);
  padding: 14px 18px;
  cursor: pointer;
}
.js .menu-btn { display: inline-flex; }
.menu-btn-testo { display: none; }
.menu-aperto .menu-btn-testo { display: inline; }
.menu-btn:focus-visible { outline-color: var(--terracotta-on-dark); }

/* — lingue: nel menu e nel footer — */
.lang { display: flex; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; }
.lang a { text-decoration: none; color: var(--on-dark-muted); }
.lang a:hover, .lang a[aria-current="true"] { color: var(--on-dark); }

/* — menu aperto: solo parole, fondo lago — */
.menu-aperto body { overflow: hidden; }
.menu .lang { position: absolute; left: var(--gutter); top: 28px; }
.menu {
  position: fixed; inset: 0; z-index: 15;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-8);
  padding: clamp(80px, 13vh, 130px) var(--gutter) var(--space-6);
  background: var(--lago); color: var(--on-dark);
  overflow-y: auto;
  animation: menu-entra .22s ease-out;
}
.menu[hidden] { display: none; }
@keyframes menu-entra { from { opacity: 0; } to { opacity: 1; } }
.menu a { color: var(--on-dark); text-decoration: none; }
.menu .kicker { display: block; margin-bottom: var(--space-4); color: var(--on-dark-muted); }
.menu-voci, .menu-secondarie { list-style: none; margin: 0; padding: 0; }
.menu-voce { display: inline-block; font-weight: 300; font-size: clamp(38px, 6.4vw, 76px); line-height: 1.16; letter-spacing: -0.02em; }
.menu-voce:hover, .menu-secondarie a:hover, .menu-cta:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.menu-piede { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--space-4) var(--space-6); padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, .22); }
.menu-secondarie { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); font-size: 16px; font-weight: 300; }
.menu-cta { font-size: 16px; font-weight: 400; }
.menu :focus-visible { outline-color: var(--on-dark); outline-offset: 4px; }
/* — le card con foto restano solo nei rimandi in fondo alle pagine — */
.menu-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-2);
  min-height: 150px;
  padding: var(--space-6);
  color: var(--on-dark); text-decoration: none;
}
.menu-card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: var(--foto);
  transition: transform 0.8s var(--ease-out);
}
.menu-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(13, 13, 13, 0.45); }
.menu-card:hover img { transform: scale(1.03); }
.menu-card .kicker { color: var(--on-dark); }
.menu-card-titolo { font-weight: 300; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }

/* ══ REAL ESTATE (70%) ══ */

/* — hero — */
.hero {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--night); color: var(--on-dark);
  padding-top: 72px;
}
/* Sugli schermi bassi l'hero scorre normalmente, per non tagliare i riquadri. */
@media (min-height: 680px) { .hero { position: sticky; top: 0; } }
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: var(--foto);
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(13, 13, 13, 0.4); }
.hero-inner {
  position: relative; z-index: 1;
  width: 100%;
  display: flex; justify-content: space-between; gap: var(--space-6);
  margin: 0 var(--space-4) var(--space-4);
  padding-top: 12px;
}
/* la riga a tutta larghezza, appena sopra payoff e riquadri */
.hero-inner::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transform-origin: left;
}
.hero-testo { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); min-width: 0; }
.hero h1 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}
.hero h1 span { display: block; }
.hero-logo { width: min(100%, 44vw); overflow: hidden; }
.hero-logo img { width: 100%; }
.hero :focus-visible { outline-color: var(--on-dark); }
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; }
  .hero-logo { width: 72%; }
}

/* — riquadri nell'angolo: unica parte con angoli smussati, che crescono al passaggio — */
:root { --tiles: clamp(420px, 40vw, 600px); --tile-r: 8px; --tile-r-hover: 16px; }
.tiles {
  flex: none; width: var(--tiles);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2);
  grid-template-rows: clamp(150px, 24vh, 250px) 48px clamp(130px, 20vh, 210px);
  grid-template-areas: "rotante rotante" "pill novita" "team novita";
}
@media (max-width: 900px) {
  .tiles { width: 100%; grid-template-rows: 150px 48px 150px; }
}
.tile {
  position: relative; overflow: hidden; display: block;
  color: var(--on-dark); text-decoration: none;
  border-radius: var(--tile-r);
  background: rgba(13, 13, 13, 0.6);
  backdrop-filter: blur(20px);
  transition: border-radius 0.25s ease, background-color 0.25s ease;
}
.tile:hover { border-radius: var(--tile-r-hover); background: rgba(13, 13, 13, 0.9); }
.tile :focus-visible, .tile:focus-visible, .tile-pill:focus-visible { outline-color: var(--on-dark); }
.tile-etichetta { position: absolute; left: var(--space-4); bottom: var(--space-4); font-size: 15px; line-height: 1.3; }
.tile-etichetta small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }

.tile-rotante { grid-area: rotante; }
.slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4);
  padding: 0 var(--space-4);
  color: inherit; text-decoration: none;
  visibility: hidden;
  transition: visibility 0s 0.9s;
}
.slide.is-active { visibility: visible; transition-delay: 0s; }
.slide-foto {
  display: block; align-self: center; height: calc(100% - 2 * var(--space-4));
  overflow: hidden; border-radius: 4px;
  transform: translateY(120%);
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}
.slide.is-active .slide-foto { transform: none; }
.slide.is-prev .slide-foto { transform: translateY(-120%); }
.slide-foto img { width: 100%; height: 100%; object-fit: cover; filter: var(--foto); }
.slide-testo { display: flex; flex-direction: column; gap: var(--space-2); padding-block: var(--space-4); opacity: 0; transition: opacity 0.4s ease; }
.slide.is-active .slide-testo { opacity: 1; transition-delay: 0.4s; }
.slide-titolo { display: flex; justify-content: space-between; gap: var(--space-2); font-size: 15px; font-weight: 500; line-height: 1.3; }
.slide-desc { font-size: 14px; line-height: 1.4; color: var(--on-dark-muted); }

.tile-pill {
  grid-area: pill;
  display: flex; align-items: center; justify-content: center;
  color: var(--on-dark); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  transition: background-color 0.3s ease;
}
.tile-pill:hover { background: rgba(255, 255, 255, 0.35); }

.tile-team { grid-area: team; background: var(--night); }
.tile-marchio { position: absolute; right: var(--space-4); top: var(--space-4); width: 48px; height: 48px; }
.tile-marchio img { width: 100%; height: 100%; }

.tile-novita { grid-area: novita; padding: var(--space-2); }
.tile-novita-foto { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 4px; }
.novita-slide {
  position: absolute; inset: 0; overflow: hidden;
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s 0.9s;
}
.novita-slide.is-active { visibility: visible; transform: none; transition-delay: 0s; }
.novita-slide.is-prev { transform: translateY(-100%); }
.novita-slide img { width: 100%; height: 100%; object-fit: cover; filter: var(--foto); transition: transform 0.8s var(--ease-out); }
.novita-slide::after { content: ""; position: absolute; inset: 0; background: rgba(13, 13, 13, 0.3); }
.novita-slide .tile-etichetta { z-index: 1; }
.tile-novita:hover img { transform: scale(1.04); }

/* tutto ciò che segue copre l'hero mentre si scorre */
.sopra-hero { position: relative; z-index: 1; background: var(--paper); }

/* — frase di apertura: le parole si accendono scorrendo — */
.statement { padding: var(--space-9) 0; }
.statement p {
  font-weight: 300;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 24em;
}

/* — elenco numerato: percorsi e servizi — */
.elenco { list-style: none; padding: 0; }
.elenco-voce { border-top: 1px solid var(--hairline); }
.elenco-voce:last-child { border-bottom: 1px solid var(--hairline); }
.elenco-riga {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: baseline;
  padding: var(--space-5) 0;
  text-decoration: none;
}
.elenco-num { font-size: 12px; font-weight: 500; color: var(--ink-muted); font-feature-settings: "tnum" 1; }
.elenco-titolo { font-weight: 400; font-size: clamp(20px, 2vw, 22px); line-height: 1.3; letter-spacing: -0.01em; }
.elenco-riga p { font-size: 14px; line-height: 1.55; color: var(--ink-muted); max-width: var(--text-max); margin-top: 4px; }
.elenco-freccia { margin-left: var(--space-5); transition: transform 0.2s ease; }
a.elenco-riga:hover .elenco-freccia { transform: translateX(4px); }

/* — progetti in vendita — */
.progetti { padding: var(--space-9) 0; }
.progetti-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; margin-bottom: var(--space-8); }
.progetti-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8) var(--space-4);
}
@media (max-width: 860px) { .progetti-grid { grid-template-columns: 1fr; } }

.progetto { display: flex; flex-direction: column; text-decoration: none; }
.progetto-img { position: relative; overflow: hidden; background: var(--stone); aspect-ratio: 16 / 10; }
.progetto-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: var(--foto);
  transition: transform 0.8s ease;
}
.progetto:hover .progetto-img img { transform: scale(1.02); }
.progetto-body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); padding-top: var(--space-5); }
.progetto-body h3 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin-top: -8px; }
.progetto-desc { max-width: var(--text-max); }
.progetto-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); width: 100%; }
.progetto-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: var(--foto); }
.progetto-facts {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6);
  list-style: none; padding: var(--space-4) 0 0; width: 100%;
  border-top: 1px solid var(--hairline);
}
.progetto-facts li { font-size: 14px; line-height: 1.55; color: var(--ink-muted); }
.progetto-facts b { display: block; font-size: clamp(28px, 2.6vw, 32px); line-height: 1.2; font-weight: 300; letter-spacing: -0.02em; color: var(--ink); font-feature-settings: "tnum" 1; }

/* — perché noi — */
.perche { background: var(--stone); }
.perche .container { padding-block: var(--space-9); }
.perche-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-8);
  align-items: center;
}
@media (max-width: 860px) { .perche-grid { grid-template-columns: 1fr; } }
.perche-text p { max-width: var(--text-max); margin-top: var(--space-5); }
.perche-img.prima-dopo { aspect-ratio: 1400 / 1252; }
.perche-img img { object-position: 60% center; }

/* ══ STUDIO (20%) ══ */
.foto-piena { overflow: hidden; }
.foto-piena img { width: 100%; height: clamp(260px, 42vw, 620px); object-fit: cover; filter: var(--foto); }
.studio { padding: var(--space-9) 0; }
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 800px) { .studio-grid { grid-template-columns: 1fr; } }
.studio-text p { max-width: var(--text-max); margin-top: var(--space-5); }
.studio-text .link-arrow { margin-top: var(--space-6); }

/* ══ SUITE ══
   In disparte, in fondo alla pagina: fascia Lago bassa, con due foto. */
.suite { background: var(--lago); color: var(--on-dark); }
.suite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-6) var(--space-8);
  align-items: center;
  padding-block: var(--space-6);
}
@media (max-width: 700px) { .suite-grid { grid-template-columns: 1fr; } }
.suite .kicker { color: var(--on-dark-muted); }
.suite .section-title { font-size: clamp(28px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -0.02em; }
.suite-text .link-arrow { margin-top: var(--space-4); }
.suite-photos { display: grid; grid-template-columns: 3fr 2fr; gap: var(--space-2); }
.suite-photos img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: var(--foto); }
.suite-photos img + img { aspect-ratio: auto; }
.suite :focus-visible { outline-color: var(--on-dark); }

/* — contatti — */
.contatti { background: var(--stone); }
.contatti .container { padding-block: var(--space-9); }
.contatti .section-title { margin-top: 0; max-width: 16em; }
.contatti-azioni { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--space-6); }

/* — footer — */
.footer { background: var(--night); color: var(--on-dark); font-size: 14px; line-height: 1.55; }
.footer .container { padding-block: var(--space-8) var(--space-6); }
.footer-logo { width: auto; height: 28px; }
.footer .kicker { color: var(--on-dark-muted); margin-bottom: var(--space-4); }
.contatti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6) var(--space-8);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.contatti-grid p + p { margin-top: 6px; }
.footer .link { color: var(--terracotta-on-dark); text-decoration-thickness: 1px; }
.footer .link:hover { color: var(--on-dark); }
.footer .muted { color: var(--on-dark-muted); }
.footer-base {
  display: flex; align-items: center; gap: 12px var(--space-6); flex-wrap: wrap;
  margin-top: var(--space-8);
  color: var(--on-dark-muted);
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: var(--on-dark); }
.footer :focus-visible { outline-color: var(--on-dark); }

/* ══ ANIMAZIONI ══
   Valgono solo con html.anim (vedi index.html); le classi le mette anim.js. */

/* parole e cifre che salgono da dietro una maschera */
.split-mask {
  display: inline-block; overflow: hidden;
  padding-block: 0.18em; margin-block: -0.18em;
  vertical-align: top;
  font-style: normal;
}
.split-item { display: inline-block; font-style: normal; }
.anim .split-item {
  transform: translateY(130%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 45ms);
}
.anim .in .split-item { transform: none; }

/* testi: salita leggera e dissolvenza, a cascata */
.anim .fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.anim .fade.in { opacity: 1; transform: none; }

/* immagini: si scoprono dal basso mentre tornano alla scala giusta */
.anim .reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 100ms);
}
.anim .reveal.in { clip-path: inset(0); }
.anim .reveal-zoom { overflow: hidden; }
.anim .reveal-zoom img {
  scale: 1.2;
  transition: scale 1.6s var(--ease-out), transform 0.8s ease;
}
.anim .reveal-zoom.in img { scale: 1; }

/* filetti che si disegnano da sinistra */
.anim .draw { position: relative; border-top-color: transparent; }
.anim .draw::before {
  content: ""; position: absolute; left: 0; right: 0;
  top: -1px; height: 1px;
  background: var(--line-color, var(--hairline));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 100ms);
}
.anim .draw.in::before { transform: none; }
.anim .contatti-grid.draw { --line-color: rgba(255, 255, 255, 0.2); }

/* riquadri: entrano uno dopo l'altro all'apertura */
@keyframes tile-in { from { opacity: 0; transform: translateY(24px); } }
.anim .tiles > * { animation: tile-in 0.9s var(--ease-out) both; animation-delay: 0.5s; }
.anim .tiles > :nth-child(2) { animation-delay: 0.6s; }
.anim .tiles > :nth-child(3) { animation-delay: 0.7s; }
.anim .tiles > :nth-child(4) { animation-delay: 0.8s; }

/* riga e logo grande: la riga si disegna, il logo sale da sotto */
.anim .hero-inner::before { transform: scaleX(0); transition: transform 1.4s var(--ease-out) 0.2s; }
.anim .hero.in .hero-inner::before { transform: none; }
.anim .hero-logo img { transform: translateY(105%); transition: transform 1.2s var(--ease-out) 0.3s; }
.anim .hero.in .hero-logo img { transform: none; }

/* hero: apertura al caricamento */
.anim .hero-bg { scale: 1.12; transition: scale 2.2s var(--ease-out); }
.anim .hero.in .hero-bg { scale: 1; }

/* ══ SOTTOPAGINE: La Storia, Studio Tecnico, Contatti ══ */
.link { color: var(--terracotta); text-decoration-thickness: 1px; }
.link:hover { color: var(--ink); }
.sezione { padding-block: var(--space-9); }
.footer-legale { margin-top: var(--space-8); color: var(--on-dark-muted); font-size: 12px; line-height: 1.6; }
.footer-legale + .footer-base { margin-top: var(--space-4); }

/* titolo enorme: una sola volta per pagina */
.titolo-pagina {
  font-size: clamp(56px, 11vw, 144px);
  line-height: 0.88;
  letter-spacing: -0.025em;
}

/* — apertura de La Storia: foto quadrata al centro che si allarga — */
:root { --quadrato: min(32vh, 34vw); }
.apertura {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  height: 100vh; height: 100svh; min-height: 520px;
  padding: var(--space-4) var(--gutter);
  background: var(--lago); color: var(--on-dark);
}
.apertura-foto { position: absolute; inset: 0; overflow: hidden; }
.apertura-foto img { width: 100%; height: 100%; object-fit: cover; filter: var(--foto); }
.apertura-foto::after { content: ""; position: absolute; inset: 0; background: rgba(13, 13, 13, 0.3); }
.apertura .titolo-pagina { position: relative; }
.anim .apertura-foto {
  clip-path: inset(calc(50vh - var(--quadrato)) calc(50vw - var(--quadrato)) round 8px);
  transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.5s;
}
.anim .apertura.in .apertura-foto { clip-path: inset(0 0 round 0); }
.anim .apertura-foto img { scale: 0.8; transition: scale 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.5s; }
.anim .apertura.in .apertura-foto img { scale: 1; }
.anim .apertura .split-item { transition-delay: calc(1.4s + var(--i, 0) * 70ms); }
.anim .apertura:not(.in) .split-item { transform: translateY(130%); }

/* — testata con indice a sinistra: Studio Tecnico e Contatti — */
.testa { padding-top: 88px; }
.testa-griglia {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-6) var(--space-8);
  padding-top: var(--space-4);
  border-top: 1px solid var(--hairline);
}
.testa-lato { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-6); }
.testa-indice { list-style: none; padding: 0; margin-top: var(--space-6); font-size: 12px; line-height: 1.4; }
.testa-indice a { display: flex; gap: var(--space-4); padding: 10px 0; border-top: 1px solid var(--hairline); text-decoration: none; transition: color 0.2s ease; }
.testa-indice a:hover { color: var(--terracotta); }
.testa-indice span { color: var(--ink-muted); font-feature-settings: "tnum" 1; }
.testa-intro { font-size: 14px; line-height: 1.55; max-width: 280px; }
.testa .titolo-pagina { font-size: clamp(52px, 8.4vw, 124px); margin-bottom: var(--space-5); }
.testa-foto img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: var(--foto); }
@media (max-width: 800px) {
  .testa-griglia { grid-template-columns: 1fr; }
  .testa-lato { order: 2; }
}

/* — blocco: testo a fianco di una foto; .scatola lo mette su fondo Stone — */
.blocco { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); align-items: stretch; }
.blocco-testo { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--space-5); padding-block: var(--space-6); }
.blocco-testo p { max-width: var(--text-max); }
.blocco-testo .section-title { margin-top: 0; }
.scatola { background: var(--stone); padding: clamp(32px, 5vw, 64px); min-height: clamp(420px, 44vw, 640px); }
.blocco-foto { min-height: 320px; }
.blocco-foto img { width: 100%; height: 100%; object-fit: cover; filter: var(--foto); }
.blocco--inverso .blocco-foto { order: -1; }
.blocco + .blocco { margin-top: var(--space-4); }
.titolo-medio { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
@media (max-width: 800px) {
  .blocco { grid-template-columns: 1fr; }
  .blocco--inverso .blocco-foto { order: 0; }
  .blocco-foto img { aspect-ratio: 4 / 3; height: auto; }
}

.coppia-foto { display: grid; grid-template-columns: 3fr 2fr; gap: var(--space-4); }
.coppia-foto img { width: 100%; height: clamp(240px, 34vw, 480px); object-fit: cover; filter: var(--foto); }

/* — tappe: l'anno al posto del numero — */
.elenco--anni .elenco-riga { grid-template-columns: clamp(96px, 16vw, 200px) minmax(0, 1fr); }
.elenco--anni .elenco-num { font-size: 14px; color: var(--ink); }
.intestazione { margin-bottom: var(--space-8); max-width: 44rem; }
.intestazione p { margin-top: var(--space-5); max-width: var(--text-max); }

/* — impegno: parole grandi su fondo Lago — */
.impegno { background: var(--lago); color: var(--on-dark); }
.impegno .kicker { color: var(--on-dark-muted); }
.parole { margin-top: var(--space-6); }
.parola { display: block; font-weight: 300; font-size: clamp(48px, 10vw, 144px); line-height: 1; letter-spacing: -0.025em; }
.impegno-griglia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-8); }
.impegno-voce { padding-top: var(--space-4); border-top: 1px solid rgba(255, 255, 255, 0.2); }
.impegno-voce h3 { font-weight: 400; font-size: 22px; line-height: 1.3; margin-bottom: var(--space-2); }
.impegno-voce p { font-size: 14px; line-height: 1.55; color: var(--on-dark-muted); }
@media (max-width: 800px) { .impegno-griglia { grid-template-columns: 1fr; } }

/* — team: ritratti in bianco e nero, poi elenco dei collaboratori — */
.team-grande { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--space-6) var(--space-4); }
.ritratto {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--stone); color: var(--ink-muted); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.ritratto img, .avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.persona-nome { font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; margin-top: var(--space-4); }
.persona-ruolo { font-size: 14px; line-height: 1.55; color: var(--ink-muted); }
.gruppi { margin-top: var(--space-8); }
.gruppo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--space-4); padding-block: var(--space-5); border-top: 1px solid var(--hairline); }
.gruppo-nome { font-weight: 400; font-size: 16px; line-height: 1.4; padding-top: 12px; }
.gruppo ul { list-style: none; padding: 0; }
.persona { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); align-items: center; padding-block: 12px; }
.persona + .persona { border-top: 1px solid var(--hairline); }
.persona .persona-ruolo { margin: 0; }
.avatar {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; overflow: hidden;
  background: var(--ink); color: var(--on-dark); font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .gruppo { grid-template-columns: 1fr; }
  .persona { grid-template-columns: 40px minmax(0, 1fr); }
  .persona .persona-ruolo { grid-column: 2; margin-top: -14px; }
}

/* — prima e dopo: si trascina la linea — */
.prima-dopo { --pos: 50%; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); }
.prima-dopo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--foto); }
.prima-dopo .pd-prima { clip-path: inset(0 calc(100% - var(--pos)) 0 0); filter: grayscale(1); }
.prima-dopo::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--on-dark); pointer-events: none; }
.prima-dopo::before {
  content: "↔"; position: absolute; z-index: 1; top: 50%; left: var(--pos);
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--on-dark); color: var(--ink); font-size: 16px; line-height: 1;
  border-radius: 50%;
  pointer-events: none;
}
.pd-etichetta { position: absolute; bottom: var(--space-4); z-index: 1; background: var(--stone); font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 16px; border-radius: var(--radius-pill); pointer-events: none; }
.pd-etichetta--prima { left: var(--space-4); }
.pd-etichetta--dopo { right: var(--space-4); }
.prima-dopo input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.prima-dopo:has(input:focus-visible) { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.nota { margin-top: var(--space-4); font-size: 12px; line-height: 1.5; color: var(--ink-muted); }

/* — rimandi a fine pagina — */
.rimandi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); padding-bottom: var(--space-4); margin-inline: var(--space-4); }
.rimandi .menu-card { min-height: clamp(280px, 30vw, 420px); }
.rimandi .menu-card:focus-visible { outline-color: var(--terracotta); }
@media (max-width: 700px) { .rimandi { grid-template-columns: 1fr; } }

/* — contatti — */
.contatti-griglia { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: start; }
@media (max-width: 860px) { .contatti-griglia { grid-template-columns: 1fr; } }
.modulo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-4); }
.modulo-largo { grid-column: 1 / -1; }
@media (max-width: 560px) { .modulo { grid-template-columns: 1fr; } }
.scelte { border: 0; padding: 0; margin: 0; min-width: 0; }
.scelte legend, .campo label { display: block; padding: 0; margin-bottom: var(--space-2); font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.scelte-voci { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.scelta { position: relative; cursor: pointer; }
.scelta input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.scelta span { display: block; padding: 12px 20px; font-size: 14px; font-weight: 500; line-height: 1.2; border: 1px solid var(--ink); border-radius: var(--radius-pill); transition: background-color 0.2s ease, color 0.2s ease; }
.scelta:hover span { background: var(--stone); }
.scelta input:checked + span { background: var(--ink); color: var(--on-dark); }
.scelta input:focus-visible + span { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.campo input, .campo textarea {
  display: block; width: 100%;
  font: inherit; font-size: 16px; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  padding: 10px 0;
}
.campo textarea { min-height: 140px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-bottom: 2px solid var(--terracotta); padding-bottom: 9px; }
.consenso { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.consenso input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.modulo-invio { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.modulo-invio .btn { font-family: inherit; cursor: pointer; }
.modulo-invio small { flex: 1 1 220px; font-size: 12px; line-height: 1.5; color: var(--ink-muted); }
.recapiti { display: grid; gap: var(--space-6); }
.recapito { padding-top: var(--space-4); border-top: 1px solid var(--hairline); font-size: 14px; line-height: 1.55; }
.recapito h2 { font-weight: 400; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: var(--space-2); }
.recapito p + p { margin-top: 4px; }
.recapito .link-arrow { margin-top: var(--space-4); }
.recapito-social { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.dati { background: var(--stone); }
.dati-griglia { margin-top: var(--space-6); }
.dati-riga { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--space-4); padding-block: 12px; border-top: 1px solid var(--hairline); font-size: 14px; line-height: 1.55; }
.dati-riga dt { color: var(--ink-muted); }
.dati-riga dd { margin: 0; }
@media (max-width: 560px) { .dati-riga { grid-template-columns: 1fr; gap: 0; } }

/* ══ COMUNI A QUESTO SITO: gallerie, schede, filtri ══ */
.galleria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.galleria button { display: block; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; }
.galleria button:first-child { grid-column: span 2; grid-row: span 2; }
.galleria img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: var(--foto); transition: transform 0.8s var(--ease-out); }
.galleria button:hover img { transform: scale(1.03); }
.galleria .nascosta { display: none; }
.galleria-tutte { margin-top: var(--space-4); }
@media (max-width: 700px) { .galleria { grid-template-columns: 1fr 1fr; } }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13, 13, 13, 0.96); color: var(--on-dark); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, 0.14); color: var(--on-dark); font: inherit; font-size: 14px; font-weight: 500; padding: 12px 18px; border-radius: var(--radius-pill); cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.28); }
.lb-chiudi { top: var(--space-4); right: var(--space-4); }
.lb-prec { left: var(--space-4); top: 50%; }
.lb-succ { right: var(--space-4); top: 50%; }
.lb-conto { position: absolute; bottom: var(--space-4); left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: 0.14em; }
.fatti { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-8); list-style: none; padding: var(--space-4) 0; border-block: 1px solid var(--hairline); }
.fatti li { font-size: 14px; line-height: 1.55; color: var(--ink-muted); }
.fatti b { display: block; font-size: clamp(28px, 2.6vw, 32px); line-height: 1.2; font-weight: 300; letter-spacing: -0.02em; color: var(--ink); }
.scheda-griglia { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-8); align-items: start; }
@media (max-width: 860px) { .scheda-griglia { grid-template-columns: 1fr; } }
.prosa p { max-width: var(--text-max); }
.prosa p + p { margin-top: var(--space-4); }
.prosa h2, .prosa h3 { font-weight: 400; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; margin: var(--space-6) 0 var(--space-2); }
.prosa ul { padding-left: 18px; max-width: var(--text-max); }
.prosa li + li { margin-top: 6px; }
.azioni { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }

/* ══ IDENTITÀ SUITE: grigio scuro e Lago al posto del terracotta ══ */
:root {
  --grafite: #26282a;
  --terracotta: #4d6b6c;
  --terracotta-soft: #dfe7e6;
  --terracotta-on-dark: #a9c0bf;
  --stone: #eceeec;
  --night: #26282a;
}
.hero, .apertura { background: var(--lago); }
.hero-logo-suite { width: min(100%, 34vw); }
.hero-logo-suite img { filter: brightness(0) invert(1); }
@media (max-width: 900px) { .hero-logo-suite { width: 62%; } }
.lago { background: var(--lago); color: var(--on-dark); }
.lago .kicker, .lago .muted { color: var(--on-dark-muted); }
.lago .accento { color: var(--terracotta-on-dark); }
.lago .btn-primary { background: var(--on-dark); color: var(--ink); }
.lago .btn-primary:hover { background: var(--on-dark-muted); }
.lago .btn-outline { border-color: var(--on-dark); color: var(--on-dark); }
.lago .btn-outline:hover { background: var(--on-dark); color: var(--ink); }
.lago :focus-visible { outline-color: var(--on-dark); }
.footer { background: var(--grafite); }
.quattro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-4); }
@media (max-width: 700px) { .quattro { grid-template-columns: 1fr; } }
.suite-carta { display: block; text-decoration: none; }
.suite-carta figure { overflow: hidden; }
.suite-carta img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: var(--foto); transition: transform 0.8s ease; }
.suite-carta:hover img { transform: scale(1.02); }
.suite-carta h3 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin-top: var(--space-4); }
.suite-carta p { font-size: 14px; color: var(--ink-muted); margin-top: 4px; }
.articoli { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--space-8) var(--space-4); }
.articolo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: var(--foto); }
.articolo h3 { font-weight: 400; font-size: 22px; line-height: 1.3; margin-top: var(--space-4); }
.articolo p { font-size: 14px; line-height: 1.55; color: var(--ink-muted); margin-top: 6px; }
.articolo a { font-size: 14px; }

/* ══ BLACKOUT: pagine di servizio, senza menu né collegamenti dal resto del sito ══ */
.bo { max-width: 720px; margin: 0 auto; padding: var(--space-6) var(--space-4) var(--space-8); }
.bo h1 { font-size: clamp(40px, 8vw, 64px); line-height: 1.05; letter-spacing: -0.025em; margin-top: var(--space-2); }
.bo-sotto { margin-top: var(--space-4); color: var(--ink-muted); font-size: 14px; }
.bo-scelte { display: grid; gap: var(--space-2); margin-top: var(--space-6); }
.bo-scelte a { display: block; padding: var(--space-6); background: var(--lago); color: var(--on-dark); text-decoration: none; font-weight: 300; font-size: 32px; line-height: 1.2; }
.bo-scelte small { display: block; font-size: 14px; font-weight: 400; color: var(--on-dark-muted); }
.bo-passi { list-style: none; padding: 0; margin-top: var(--space-6); counter-reset: passo; }
.bo-passo { counter-increment: passo; padding: var(--space-5) 0; border-top: 1px solid var(--hairline); }
.bo-passo > p:first-child { font-size: 18px; line-height: 1.45; }
.bo-passo > p:first-child::before { content: counter(passo); display: block; font-size: 12px; font-weight: 500; color: var(--ink-muted); margin-bottom: 4px; }
.bo-foto { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-top: var(--space-4); }
.bo-foto img { width: 100%; height: 100%; object-fit: cover; }
.bo-foto img:only-child { grid-column: 1 / -1; }
.bo-nota { margin-top: var(--space-4); padding: 12px var(--space-4); background: var(--stone); font-size: 14px; line-height: 1.5; }
.bo-aiuto { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--hairline); }

.sconto { margin-top: var(--space-4); max-width: var(--text-max); }
.foto-quadrata { margin-top: var(--space-6); overflow: hidden; }
.foto-quadrata img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: var(--foto); }
.rimandi--tre { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .rimandi--tre { grid-template-columns: 1fr; } }
/* richiamo a inoltre.com: foto a tutta larghezza, logo grande */
.richiamo { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: var(--grafite); }
.richiamo-foto { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: var(--foto); }
.richiamo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(13, 13, 13, 0.62); }
.richiamo-testo { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); padding-block: clamp(80px, 12vw, 160px); }
.richiamo-logo { width: auto; height: clamp(72px, 11vw, 150px); }
.richiamo .section-title { max-width: 16em; margin-top: 0; }
.richiamo p { max-width: var(--text-max); }
.btn-richiamo { background: var(--on-dark); color: var(--ink); }
.btn-richiamo:hover { background: var(--on-dark-muted); }
.richiamo :focus-visible { outline-color: var(--on-dark); }

/* — comune ai tre siti (brief 3/11) — */
picture { display: contents; }
picture > source { display: none; }
.famiglia { margin-top: var(--space-6); font-size: 14px; color: var(--on-dark-muted); }
.famiglia a { color: var(--on-dark-muted); text-decoration: none; }
.famiglia a:hover { color: var(--on-dark); }
.famiglia [aria-current="page"] { color: var(--on-dark); font-weight: 600; }
.da-confermare { background: #ffe58a; color: #000; font-size: 12px; padding: 2px 6px; }
a.novita-slide { display: block; color: inherit; text-decoration: none; }

/* — Suite: brief 3/11 — */
.logo-suite-piede { height: 56px; width: auto; filter: brightness(0) invert(1); }
.hero-prezzo { grid-column: 1 / -1; font-size: 12px; line-height: 1.4; color: var(--on-dark); text-shadow: 0 1px 6px rgba(13,13,13,0.7); }
.riga-prezzo { margin-top: var(--space-3, 12px); font-size: 12px; line-height: 1.5; opacity: 0.8; max-width: var(--text-max); }
.suite-prezzo { margin-top: var(--space-2) !important; font-size: 14px; font-weight: 500; color: var(--ink) !important; }
.quattro + .nota { margin-top: var(--space-6); }
.recensioni { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 1000px) { .recensioni { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .recensioni { grid-template-columns: 1fr; } }
.recensione { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); background: var(--stone); margin: 0; }
.stelle { font-size: 14px; letter-spacing: 0.1em; color: var(--ink); }
.recensione blockquote { margin: 0; flex: 1; font-size: 15px; line-height: 1.55; }
.recensione figcaption { font-size: 12px; color: var(--ink-muted); }
.richiamo-host { width: clamp(160px, 22vw, 280px); height: auto; }
.codici { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: var(--space-4) var(--space-6); margin-top: var(--space-8); font-size: 12px; color: var(--on-dark-muted); }
.codici dt { display: block; font-weight: 600; color: var(--on-dark); }
.codici dd { display: block; margin: 0; }
.codice-suite { margin-top: var(--space-5); font-size: 12px; line-height: 1.6; color: var(--ink-muted); }
.elenco-ol { list-style: none; padding: 0; }
.hero h1 { text-shadow: 0 1px 8px rgba(13, 13, 13, 0.55); }
.cani-regole { margin-top: var(--space-5); }
.cani-regole .elenco-riga { padding-block: var(--space-3, 12px); }
.biopiscina { margin-top: var(--space-4); }
.biopiscina .foto-piena img { height: clamp(320px, 52vw, 760px); }
.biopiscina .studio-text p + p { margin-top: var(--space-4); }
.cani { background: var(--stone); }

.esca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modulo-errore { color: var(--terracotta, #b00020); font-size: 14px; }
.legale h2 { margin-top: var(--space-6); }
.legale h2:first-of-type { margin-top: var(--space-4); }
.bozza { display: inline-block; padding: 4px 8px; background: #ffe58a; color: #000; font-size: 12px; }

/* sezione del cane: inquadratura un po' più in basso, per non tagliare le zampe */
.cani .blocco-foto img { object-position: center 70%; }

/* testata dei Dintorni: velo più leggero, scuro solo in basso dove sta il titolo */
.apertura--chiara .apertura-foto::after { background: linear-gradient(to top, rgba(13, 13, 13, 0.5), rgba(13, 13, 13, 0.08) 55%); }
