/* ==========================================================================
   Ossidiana — Collezione I · Autunno Inverno 2026
   Una sola struttura per ogni schermo: le griglie si riducono, il resto no.
   ========================================================================== */

:root {
  /* un solo nero, ovunque (anche dietro le foto e nei campi) */
  --bg: #000;
  --bg-alt: #000;
  --text: #e9eaec;
  --muted: #c2c5c9;
  --muted-2: #9a9fa5;
  --line: #2a2a2a;
  --accent: #b0132e;
  --accent-hover: #c8173a;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Archivo', sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 1px solid var(--text); outline-offset: 3px; }

/* ---------- Tipografia ---------- */

.label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.08;
  letter-spacing: -.005em;
  font-variant-numeric: lining-nums;
}
.title i { font-style: italic; }

.text {
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  max-width: 48ch;
}

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  cursor: pointer;
  transition: opacity .3s;
}
.link:hover { opacity: .65; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, border-color .3s, color .3s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-ghost {
  background: transparent;
  border-color: rgba(233, 234, 236, .5);
  color: var(--text);
}
.btn-ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }

/* Comparsa morbida, una volta sola (attiva solo con JS) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s;
}
.site-header.is-solid,
.site-header.menu-open {
  background: rgba(0, 0, 0, .96);
  border-bottom-color: var(--line);
}

.logo {
  grid-column: 2;
  grid-row: 1;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .42em;
  margin-right: -.42em; /* compensa la spaziatura dopo l'ultima lettera */
}

.nav-main, .nav-side {
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-main { grid-column: 1; }
.nav-side { grid-column: 3; justify-content: flex-end; }

.nav-main a, .nav-side a, .nav-toggle {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: opacity .3s;
}
.nav-main a:hover, .nav-side a:hover { opacity: .65; }
.nav-main a[aria-current="page"] { opacity: .55; }
/* area di tocco più ampia, aspetto invariato */
.nav-main a::before, .nav-side a::before, .nav-toggle::before {
  content: '';
  position: absolute;
  inset: -14px -8px;
}

.nav-toggle {
  display: none;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* Menu a schermo intero (telefono e tablet) */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--bg);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility 0s .35s;
  overflow-y: auto;
}
.menu-panel.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.menu-panel a {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.55;
}
.menu-panel a[aria-current="page"] { color: var(--muted-2); }
.menu-info {
  margin-top: auto;
  padding-top: 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .nav-main { display: none; }
  .nav-toggle { display: block; }
  /* telefono/tablet: header sempre visibile, sticky dentro la pagina, sfondo pieno, nessuna
     trasparenza o transizione). Occupa il suo spazio in cima, quindi non può coprire il testo:
     gli header fixed/trasparenti su iPhone si spostavano con la barra di Safari. */
  .site-header,
  .site-header.is-solid { position: sticky; top: 0; background: #000; border-bottom-color: var(--line); transition: none; }
}
@media (min-width: 901px) {
  .menu-panel { display: none; }
}

/* ---------- Hero (home) ---------- */

/* Le foto non vengono mai deformate né tagliate a caso: ogni riquadro ha le
   proporzioni della sua foto. Solo l'apertura su schermi molto larghi o
   verticali taglia, ancorata alla figura (piedi compresi). */
.hero {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 100vh;
  max-height: 100svh;
  width: 100%;
  overflow: hidden;
  color: #fff;
  background: #000;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}
@media (max-aspect-ratio: 1 / 1) {
  .hero { aspect-ratio: auto; height: 100vh; height: 100svh; min-height: 520px; }
  @media (max-width: 900px) { .hero { height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); } }
  .hero img { object-position: 70% 100%; }
}
.hero::before, .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 20%),
    linear-gradient(to top, rgba(0,0,0,.7) 0, rgba(0,0,0,0) 48%);
  pointer-events: none;
}
.hero-caption {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(28px, 6vh, 56px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  flex-wrap: wrap;
}
.hero-caption h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.8vw, 60px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: .005em;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.hero-caption h1 i { font-style: italic; font-weight: 300; white-space: nowrap; }
.hero-caption h1 em { font-style: normal; white-space: nowrap; }
/* lineetta sottile tra titolo e sottotitolo */
.hero-caption h1 span::before {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  margin-bottom: 16px;
  background: rgba(255,255,255,.8);
}
.hero-caption h1 span {
  display: block;
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  line-height: 1.6;
  text-shadow: 0 1px 12px rgba(0,0,0,.7);
  color: #fff;
}

/* ---------- Sezioni ---------- */

/* spazi contenuti: due sezioni vicine sommano i loro padding */
.section { padding: clamp(36px, 4.5vw, 64px) var(--gutter); }
.section-tight { padding-top: 0; }

/* Foto a tutta larghezza tra due sezioni, alle sue proporzioni */
.band { margin: 0; width: 100%; aspect-ratio: var(--ar, 16 / 9); max-height: 100vh; max-height: 100svh; overflow: hidden; background: var(--bg-alt); }
.band img { width: 100%; height: 100%; object-fit: cover; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head .label { display: block; margin-bottom: 16px; }

/* ---------- Collezione ---------- */

.looks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px) clamp(12px, 1.6vw, 24px);
}

.look {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.look-media {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.look-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .6s var(--ease);
}
.look-media .look-alt { opacity: 0; }
/* foto più lunghe del riquadro (Corvo, 1:2): intere, senza tagliare testa e piedi */
@media (hover: hover) {
  .look:hover .look-alt { opacity: 1; }
}
.look-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
}
.look-name {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}
.look-price { font-size: 15px; color: var(--muted); white-space: nowrap; }
.look-mat { display: block; margin-top: 4px; font-size: 14px; color: var(--muted-2); line-height: 1.5; }

@media (max-width: 900px) {
  .looks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .look-info { flex-direction: column; gap: 2px; margin-top: 12px; }
  .look-mat { font-size: 13px; }
}

/* ---------- Blocco diviso (Caldera, Atelier) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.split-media { overflow: hidden; background: var(--bg-alt); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.portrait { aspect-ratio: 3 / 4; }
.split-media.landscape { aspect-ratio: 16 / 9; }
.split-body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 520px; }
.split-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.price-line { font-size: 15px; color: var(--muted); letter-spacing: .04em; }

.info-list {
  display: grid;
  gap: 14px;
  width: 100%;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.info-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.info-list span { color: var(--muted-2); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-top: 2px; }

@media (min-width: 901px) {
  .split-reverse .split-media { order: 2; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .info-list div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Manifesto (home) ---------- */

/* Manifesto: solo testo, centrato */
.statement { text-align: center; padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(28px, 3vw, 40px); }
.statement-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 1100px; margin: 0 auto; }
.statement .quote {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 54px);
  line-height: 1.25;
  max-width: 22em;
}
.statement .quote i { color: var(--muted); }

/* Striscia di foto che scorre in orizzontale: foto intere (altezza fissa,
   larghezza dalle proporzioni), frecce per chi preferisce toccare. */
.strip-wrap { padding: 0 0 clamp(48px, 6vw, 88px); }
.strip {
  position: relative;
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.strip-item { margin: 0; flex: none; scroll-snap-align: start; }
.strip-item img {
  height: clamp(240px, 38vw, 600px);
  width: auto;
  max-width: none;
  aspect-ratio: var(--ar);
}
.strip-item figcaption { margin-top: 12px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
/* il salone è molto più chiaro delle altre foto: riportato in tono */
.strip-item:first-child img { filter: brightness(.72) contrast(1.08) saturate(.85); }
.strip-controls { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 16px var(--gutter) 0; }
.strip-count { margin-right: 12px; font-size: 13px; color: var(--muted); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.strip-btn {
  width: 48px; height: 48px;
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: border-color .3s, opacity .3s;
}
.strip-btn:hover:not(:disabled) { border-color: var(--muted); }
.strip-btn:disabled { opacity: .3; cursor: default; }
@media (max-width: 600px) {
  .strip-item img { height: 44vw; }
}

.statement-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 36px; }

/* Atelier: foto a tutta larghezza, testo a sinistra sopra la parte scura */
.feature::before { background: linear-gradient(to right, rgba(0,0,0,.8) 0, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 75%), linear-gradient(to top, rgba(0,0,0,.55) 0, rgba(0,0,0,0) 45%); }
.atelier .page-hero-text { max-width: 560px; top: 50%; bottom: auto; transform: translateY(-50%); }
.atelier .split-actions { margin-top: 28px; }

.info-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; border-top: 1px solid var(--line); padding-top: 28px; font-size: clamp(16px, 1.3vw, 19px); }
.info-row span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
@media (max-width: 700px) { .info-row { grid-template-columns: 1fr; } }

/* ---------- Pagine interne ---------- */

/* Foto alle sue proporzioni (--ar), mai più alta dello schermo; se deve
   tagliare, tiene la parte alta (--pos) dove ci sono i volti. */
.page-hero {
  position: relative;
  aspect-ratio: var(--ar, 16 / 9);
  max-height: 100vh;
  max-height: 100svh;
  width: 100%;
  overflow: hidden;
  color: #fff;
  background: #000;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 30%);
}
.page-hero-text {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(32px, 7vh, 72px);
  max-width: 760px;
}
.page-hero-text .label { display: block; margin-bottom: 18px; color: rgba(255,255,255,.8); }
.page-hero-text .text { margin-top: 18px; color: rgba(255,255,255,.85); }

/* Telefono e tablet: foto intera in alto, testo sotto (niente testo sopra la foto) */
@media (max-width: 900px) {
  .page-hero { aspect-ratio: auto; max-height: none; overflow: visible; color: var(--text); }
  .page-hero::before { display: none; }
  .page-hero img { position: static; height: auto; aspect-ratio: var(--ar, 16 / 9); }
  .feature img { margin-top: 0; }
  .feature .page-hero-text { padding-bottom: 8px; }
  .atelier .page-hero-text { transform: none; }
  /* telefono: foto verticale centrata sulla modella (a destra nella foto) */
  .atelier img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 74% 30%; }
  .page-hero-text { position: static; padding: 36px var(--gutter) 0; max-width: none; }
  .page-hero-text .label { color: var(--muted); }
  .page-hero-text .text { color: var(--muted); }
}

.narrow { max-width: 1120px; margin: 0 auto; }

.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px clamp(40px, 6vw, 96px);
}
.two-cols h3, .block-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.2;
  margin-bottom: 20px;
}
.block-title i { font-style: italic; }
.prose p { color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.8; }
.prose p + p { margin-top: 18px; }

/* stessa altezza per tutte, larghezza in proporzione a ogni foto: nessun taglio */
.gallery {
  display: flex;
  gap: clamp(8px, 1.4vw, 20px);
}
.gallery figure { flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); overflow: hidden; background: var(--bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px clamp(24px, 3vw, 48px);
}
.review { border-top: 1px solid var(--line); padding-top: 24px; }
.review blockquote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.4;
}
.review figcaption { margin-top: 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

.block + .block { margin-top: clamp(48px, 6vw, 80px); }
.block-head { max-width: 680px; margin-bottom: 28px; }
.block-head .label { display: block; margin-bottom: 16px; }
.block-head .text { max-width: 60ch; }

.props {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(24px, 3vw, 48px);
}
.props li { border-top: 1px solid var(--line); padding-top: 20px; }
.props b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 26px; margin-bottom: 10px; }
.props p { color: var(--muted); font-size: 16px; line-height: 1.7; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(40px, 6vw, 96px);
}
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li > span { font-size: 13px; color: var(--muted-2); letter-spacing: .1em; padding-top: 3px; }
.steps b { display: block; font-weight: 500; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 16px; line-height: 1.65; }

.nots { list-style: none; margin: 0 0 40px; padding: 0; max-width: 760px; }
.nots li { padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 17px; line-height: 1.65; }
.nots b { color: var(--text); font-weight: 500; }

@media (max-width: 900px) {
  .two-cols, .steps, .props, .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gallery { flex-direction: column; }
  .gallery figure { flex: none; width: 100%; }
}

/* ---------- Pagina Manifesto ---------- */

.stats {
  list-style: none;
  margin: 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.stats b {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.stats span { display: block; margin-top: 10px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }

/* Capitolo: foto a tutta larghezza (intera, mai più alta dello schermo), poi testo */
.chapter { padding-bottom: clamp(48px, 6vw, 88px); }
.chapter-media {
  margin: 0 auto;
  /* mai più alta dello schermo: si restringe in larghezza invece di tagliare la foto */
  width: min(100%, calc(100vh * var(--ar, 16 / 9)));
  width: min(100%, calc(100svh * var(--ar, 16 / 9)));
  aspect-ratio: var(--ar, 16 / 9);
  overflow: hidden;
}
.chapter-media img { width: 100%; height: 100%; object-fit: cover; }
.chapter-body { max-width: 1120px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) 0; }
.chapter-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.chapter-head .text { max-width: 60ch; }
.chapter-text-only .chapter-body { padding-top: clamp(24px, 3vw, 40px); }
.chapter .nots { margin: 0 auto; }
.chapter-cta { display: flex; justify-content: center; margin-top: 36px; }

.prop-n { display: block; font-family: var(--font-serif); font-size: 18px; color: var(--accent-hover); margin-bottom: 8px; letter-spacing: .1em; }

.step-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step-cards li { background: var(--bg); padding: clamp(24px, 3vw, 40px); }
.step-cards span {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1;
  color: var(--muted-2);
  margin-bottom: 18px;
  font-variant-numeric: lining-nums;
}
.step-cards b { display: block; font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.step-cards p { color: var(--muted); font-size: 16px; line-height: 1.65; }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .step-cards { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 5vw, 64px) var(--gutter) 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-logo { font-weight: 500; font-size: 15px; letter-spacing: .42em; margin-bottom: 28px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer-col .label { margin-bottom: 10px; color: var(--muted-2); }
.footer-col a, .footer-col button {
  padding: 8px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  color: var(--muted);
  text-align: left;
  transition: color .3s;
}
.footer-col a:hover, .footer-col button:hover { color: var(--text); }
.newsletter-title { font-family: var(--font-serif); font-size: 26px; margin-bottom: 10px; }
.newsletter-form { display: flex; max-width: 380px; border-bottom: 1px solid var(--muted-2); }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.newsletter-form input::placeholder { color: var(--muted-2); }
.newsletter-form button {
  padding: 12px 0 12px 16px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-bottom {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--muted-2);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}

/* ---------- Finestre (scheda abito, prenotazione, info) ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s .4s;
}
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.modal-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); }
.modal-close {
  min-height: 44px;
  padding: 0 16px;
  background: rgba(0, 0, 0, .9);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: border-color .3s;
}
.modal-close:hover { border-color: var(--muted-2); }

/* Pannello centrato (prenotazione, info) */
.modal-panel {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(640px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  transform: translate(-50%, calc(-50% + 16px));
  transition: transform .5s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 48px);
}
.modal.is-open .modal-panel { transform: translate(-50%, -50%); }
.modal-panel .modal-close { float: right; margin: -8px -8px 12px 16px; }
.modal-panel .label { display: block; margin-bottom: 14px; }
.modal-panel .title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.info-body p { color: var(--muted); line-height: 1.75; }
.info-body p + p { margin-top: 14px; }

@media (max-width: 600px) {
  .modal-panel {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    border: 0;
    transform: translateY(16px);
    padding: 20px var(--gutter) 40px;
  }
  .modal.is-open .modal-panel { transform: none; }
  .modal-panel .modal-close { margin: 0 0 16px 16px; }
}

/* Scheda abito: foto e testo affiancati, impilati sotto i 900px */
.look-sheet {
  position: relative;
  z-index: 2;
  height: 100%;
  background: var(--bg);
  display: grid;
  grid-template-columns: min(calc(100vh * var(--r, .6667)), 58%) minmax(0, 1fr);
  transform: translateY(16px);
  transition: transform .5s var(--ease);
}
.modal.is-open .look-sheet { transform: none; }
.look-sheet > .modal-close { position: absolute; top: 16px; right: 16px; z-index: 3; }
.sheet-media { position: relative; min-height: 0; background: var(--bg-alt); }
.sheet-media > img { width: 100%; height: 100%; object-fit: contain; }
.sheet-views {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}
.sheet-views button {
  width: 52px;
  height: 72px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.25);
  background: var(--bg);
  cursor: pointer;
  opacity: .6;
  transition: opacity .3s, border-color .3s;
}
.sheet-views button.active, .sheet-views button:hover { opacity: 1; border-color: #fff; }
.sheet-views img { width: 100%; height: 100%; object-fit: cover; }
.sheet-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(80px, 11vh, 120px) clamp(24px, 5vw, 72px) 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.sheet-mat { font-size: 15px; color: var(--muted-2); letter-spacing: .04em; margin-top: -6px; }
.sheet-price { font-size: 20px; letter-spacing: .02em; }
.sheet-note { width: 100%; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.65; }
.sheet-note span { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.sheet-small { font-size: 13px; color: var(--muted-2); line-height: 1.6; }

@media (max-width: 900px) {
  .look-sheet { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .look-sheet > .modal-close { position: fixed; }
  .sheet-media > img { height: auto; aspect-ratio: var(--r, .6667); }
  .sheet-body { overflow: visible; padding: 32px var(--gutter) 56px; }
}

/* ---------- Modulo prenotazione ---------- */

.form { display: grid; gap: 18px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted-2); font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
  transition: border-color .3s;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--muted); }

.cal { border: 1px solid var(--line); padding: 12px; text-transform: none; letter-spacing: 0; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font-size: 14px; color: var(--text); text-transform: capitalize; }
.cal-nav { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; font-size: 20px; }
.cal-nav:disabled { opacity: .25; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-dow span { padding: 4px 0; font-size: 12px; color: var(--muted-2); }
.cal-grid button {
  min-height: 44px;
  padding: 0;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  transition: border-color .2s, background .2s;
}
.cal-grid button:hover:not(:disabled) { border-color: var(--muted-2); }
.cal-grid button:disabled { color: #4a4a4a; cursor: default; }
.cal-grid button.is-today { text-decoration: underline; text-underline-offset: 4px; }
.cal-grid button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.form-note { font-size: 13px; color: var(--muted-2); line-height: 1.6; }

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .cal { padding: 8px 4px; }
  .cal-grid { gap: 2px; }
}
