/* ============================================================
   ACQUA FIUGGI — Concept RIFLESSO · prototipo mobile-first
   ============================================================ */

:root {
  --blu: #171647;
  --blu-profondo: #0e0d33;
  --carta: #f7f6f1;
  --bianco: #ffffff;
  --silver: #515151;
  --rosso: #6a0000;
  --grigio: #bebebe;
  --linea: rgba(23, 22, 71, 0.14);
  --linea-chiara: rgba(255, 255, 255, 0.18);

  --serif: "Cormorant Garamond", "Untitled Serif", Georgia, serif;
  --sans: "Barlow Semi Condensed", "Fakt Semi Condensed", "Helvetica Neue", sans-serif;

  --sides: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--blu);
  background: var(--carta);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--blu); color: var(--carta); }

/* ---------- tipografia ---------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.display em { font-style: italic; font-weight: 300; }

.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.prose {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

/* prosa lunga degli articoli (editorials / partner) */
div.prose { max-width: 680px; margin: 0 auto; padding: 0 var(--sides); }
div.prose p { margin: 0 0 1.5em; }
div.prose p:last-child { margin-bottom: 0; }
div.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 6vw, 38px); line-height: 1.15; margin: 1.6em 0 0.7em; }
div.prose h2:first-child { margin-top: 0; }
div.prose h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 5.5vw, 34px); line-height: 1.2; margin: 1.6em 0 0.8em; }
div.prose h2 em, div.prose h3 em { font-style: italic; font-weight: 300; }

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--sides);
  mix-blend-mode: difference;
  color: #fff;
}

.header .wordmark {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header .menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.menu-btn .bars {
  width: 22px; height: 10px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu-btn .bars span {
  height: 1.5px; background: currentColor; display: block;
  transition: transform 0.4s var(--ease);
}

/* ---------- menu overlay ---------- */

.menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--blu);
  color: var(--carta);
  display: flex; flex-direction: column;
  padding: 24px var(--sides) 40px;
  transform: translateY(-100%);
  transition: transform 0.65s var(--ease);
  overflow-y: auto;
}
.menu.open { transform: translateY(0); }

.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8vh; }
.menu-close { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; padding: 8px 0; }

.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu nav a {
  font-family: var(--serif);
  font-size: clamp(32px, 8.5vw, 64px);
  line-height: 1.18;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.menu.open nav a { opacity: 1; transform: none; }
.menu nav a em { font-style: italic; font-weight: 300; }
.menu nav a:nth-child(1) { transition-delay: 0.10s; }
.menu nav a:nth-child(2) { transition-delay: 0.15s; }
.menu nav a:nth-child(3) { transition-delay: 0.20s; }
.menu nav a:nth-child(4) { transition-delay: 0.25s; }
.menu nav a:nth-child(5) { transition-delay: 0.30s; }
.menu nav a:nth-child(6) { transition-delay: 0.35s; }
.menu nav a:nth-child(7) { transition-delay: 0.40s; }

.menu-foot {
  margin-top: auto; padding-top: 6vh;
  display: flex; justify-content: space-between; align-items: end;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.7;
}

/* ---------- nav a pillola (mobile) ---------- */

.pill-nav {
  position: fixed;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  z-index: 55;
  display: flex; align-items: center; gap: 4px;
  padding: 6px;
  border-radius: 100px;
  background: rgba(23, 22, 71, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--carta);
  box-shadow: 0 12px 40px rgba(14, 13, 51, 0.35);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  max-width: calc(100vw - 32px);
  overflow-x: auto;
  scrollbar-width: none;
}
.pill-nav::-webkit-scrollbar { display: none; }
.pill-nav.hidden { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }

.pill-nav a {
  flex: 0 0 auto;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 13px;
  border-radius: 100px;
  opacity: 0.62;
  transition: opacity 0.3s, background 0.3s;
  white-space: nowrap;
}
.pill-nav a.active { opacity: 1; background: rgba(247, 246, 241, 0.16); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  background: linear-gradient(180deg, #12113c 0%, var(--blu) 55%, #1d1c5a 100%);
  color: var(--carta);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0 var(--sides);
}

/* superficie d'acqua: onde svg animate, leggerissime */
.hero .waves {
  position: absolute; inset: auto 0 -2px 0;
  height: 34vh; min-height: 220px;
  pointer-events: none;
  opacity: 0.55;
}
.hero .waves svg { width: 220%; height: 100%; display: block; }
.hero .w1 { animation: drift 13s linear infinite; }
.hero .w2 { animation: drift 21s linear infinite reverse; opacity: 0.5; }
.hero .w3 { animation: drift 34s linear infinite; opacity: 0.3; }
@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 12vw, 120px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; font-weight: 300; display: block; }

/* riflesso del titolo: il claim reso interfaccia */
.hero .reflection {
  font-family: var(--serif);
  font-size: clamp(44px, 12vw, 120px);
  line-height: 1.02;
  font-style: italic; font-weight: 300;
  transform: scaleY(-1) translateY(-6px);
  mask-image: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.5) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.5) 100%);
  filter: blur(1.5px);
  opacity: 0.4;
  animation: shimmer 5s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}
@keyframes shimmer {
  0%, 100% { transform: scaleY(-1) translateY(-6px) skewX(0deg); }
  50%      { transform: scaleY(-1) translateY(-4px) skewX(1.2deg); }
}

.hero-sub {
  margin-top: 30px;
  max-width: 420px;
  font-size: 15px; line-height: 1.6;
  opacity: 0.78;
}

.scroll-cue {
  position: absolute; bottom: 84px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  opacity: 0.6;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 42px;
  background: linear-gradient(var(--carta), transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- capitoli ---------- */

.chapter { padding: clamp(80px, 16vw, 160px) 0; position: relative; }
.chapter-head { padding: 0 var(--sides); margin-bottom: clamp(36px, 8vw, 72px); }

.kicker {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 22px;
}
.kicker .num {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; opacity: 0.55;
}
.kicker .rule { flex: 0 0 34px; height: 1px; background: currentColor; opacity: 0.3; align-self: center; }

.chapter h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 9vw, 76px);
  line-height: 1.05;
}
.chapter h2 em { font-style: italic; font-weight: 300; }

.chapter .intro {
  margin-top: 22px;
  max-width: 560px;
  font-size: 16.5px; line-height: 1.65;
  opacity: 0.85;
}

.dark { background: var(--blu); color: var(--carta); }
.dark ::selection { background: var(--carta); color: var(--blu); }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- sorgente ---------- */

.figure-full { margin: 0 var(--sides); position: relative; border-radius: 18px; overflow: hidden; }
.figure-full img { width: 100%; height: clamp(320px, 70vw, 640px); object-fit: cover; }
.figure-full figcaption {
  position: absolute; left: 18px; bottom: 16px;
  color: #fff; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.altitude {
  display: flex; gap: clamp(24px, 6vw, 80px);
  padding: 44px var(--sides) 0;
  flex-wrap: wrap;
}
.altitude .stat .v {
  font-family: var(--serif); font-size: clamp(38px, 9vw, 64px); line-height: 1;
}
.altitude .stat .v sup { font-size: 0.45em; font-style: italic; }
.altitude .stat .k {
  margin-top: 8px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6;
}

/* ---------- storia: timeline orizzontale ---------- */

.timeline {
  display: flex; gap: 14px;
  overflow-x: auto;
  padding: 0 var(--sides) 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.timeline::-webkit-scrollbar { display: none; }

.t-card {
  flex: 0 0 min(78vw, 340px);
  scroll-snap-align: start;
  border: 1px solid var(--linea-chiara);
  border-radius: 18px;
  padding: 28px 24px 30px;
  display: flex; flex-direction: column;
  min-height: 300px;
  background: rgba(247, 246, 241, 0.04);
}
.t-card .year {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(40px, 9vw, 56px); line-height: 1;
}
.t-card h3 {
  margin: 18px 0 10px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.t-card p { font-size: 14.5px; line-height: 1.6; opacity: 0.8; }
.t-card .quote {
  font-family: var(--serif); font-style: italic;
  font-size: 17px; line-height: 1.5; opacity: 0.95;
}
.t-card .src { margin-top: auto; padding-top: 18px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.55; }

.t-hint { padding: 0 var(--sides); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.45; }

/* ---------- l'acqua: analisi come poesia ---------- */

.acqua-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--linea);
  border-block: 1px solid var(--linea);
}
.a-cell {
  background: var(--carta);
  padding: clamp(26px, 6vw, 54px) var(--sides);
}
.a-cell .v {
  font-family: var(--serif);
  font-size: clamp(40px, 10vw, 88px);
  line-height: 1; letter-spacing: -0.02em;
}
.a-cell .v .u { font-size: 0.36em; font-style: italic; letter-spacing: 0; }
.a-cell .k { margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.6; }
.a-cell .d { margin-top: 6px; font-size: 13.5px; line-height: 1.5; opacity: 0.72; }

.acqua-note { padding: 22px var(--sides) 0; font-size: 12px; opacity: 0.55; }

/* ---------- gamma: carosello swipe ---------- */

.gamma-scroller {
  display: flex; gap: 14px;
  overflow-x: auto;
  padding: 0 var(--sides) 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gamma-scroller::-webkit-scrollbar { display: none; }

.g-card {
  flex: 0 0 min(74vw, 320px);
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #edece6 100%);
  border: 1px solid var(--linea);
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease);
}

.g-card .g-img {
  height: 300px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-top: 26px;
  overflow: hidden;
}
.g-card .g-img img {
  height: 115%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(23, 22, 71, 0.18));
  transition: transform 0.6s var(--ease);
}
.g-card:hover .g-img img { transform: translateY(-8px); }

.g-body { padding: 20px 22px 24px; border-top: 1px solid var(--linea); }
.g-body .g-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; }
.g-body h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 6px 0 8px; }
.g-body p { font-size: 13.5px; line-height: 1.55; opacity: 0.75; min-height: 3.2em; }

.g-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dot-nat { background: #515151; }
.dot-friz { background: #171647; }
.dot-viv { background: #6a0000; }
.g-cta { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- mondo: marquee + editorial ---------- */

.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--linea-chiara);
  padding: 20px 0;
  margin-bottom: clamp(40px, 9vw, 80px);
}
.marquee .track { display: inline-flex; gap: 54px; animation: drift 30s linear infinite; padding-right: 54px; }
.marquee .track span {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 5.5vw, 34px);
  opacity: 0.85;
}
.marquee .track span::after { content: "·"; margin-left: 54px; opacity: 0.4; }

.edit-grid {
  display: grid; gap: 16px;
  padding: 0 var(--sides);
}
.edit-grid.duo { max-width: 900px; margin: 0 auto; }
.e-card { border-radius: 18px; overflow: hidden; position: relative; aspect-ratio: 4 / 5; }
.e-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.e-card:hover img { transform: scale(1.04); }
.e-card .e-info {
  position: absolute; inset: auto 0 0 0;
  padding: 46px 20px 20px;
  background: linear-gradient(transparent, rgba(14, 13, 51, 0.85));
  color: #fff;
}
.e-card .e-info .label { opacity: 0.7; font-size: 10px; }
.e-card .e-info h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; margin-top: 6px; }

/* ---------- terme ---------- */

.terme-grid { display: grid; gap: 16px; padding: 0 var(--sides); }
.f-card {
  border: 1px solid var(--linea);
  border-radius: 20px; overflow: hidden;
  background: #fff;
}
.f-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.f-body { padding: 24px 22px 26px; }
.f-body h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.f-body p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; opacity: 0.8; }
.f-info { margin-top: 18px; display: grid; gap: 6px; font-size: 13px; }
.f-info div { display: flex; gap: 10px; }
.f-info .ic { opacity: 0.5; flex: 0 0 auto; }
.f-cta {
  display: inline-block; margin-top: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--blu); border-radius: 100px;
  padding: 12px 22px;
  transition: background 0.3s, color 0.3s;
}
.f-cta:hover { background: var(--blu); color: var(--carta); }

/* ---------- sostenibilità ---------- */

.sos-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--linea-chiara);
  border-block: 1px solid var(--linea-chiara);
}
.s-cell { background: var(--blu); padding: clamp(26px, 6vw, 54px) var(--sides); }
.s-cell .v { font-family: var(--serif); font-size: clamp(36px, 9vw, 80px); line-height: 1; }
.s-cell .v .u { font-size: 0.4em; font-style: italic; }
.s-cell .k { margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.65; }
.s-cell .d { margin-top: 6px; font-size: 13.5px; line-height: 1.5; opacity: 0.7; }

.pillars { padding: clamp(40px, 9vw, 80px) var(--sides) 0; display: grid; gap: 14px; }
.pillar { display: flex; gap: 18px; align-items: baseline; border-bottom: 1px solid var(--linea-chiara); padding-bottom: 14px; }
.pillar .rn { font-family: var(--serif); font-style: italic; font-size: 18px; opacity: 0.6; flex: 0 0 34px; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 5.5vw, 32px); }

/* ---------- cta finale ---------- */

.finale {
  text-align: center;
  padding: clamp(90px, 20vw, 200px) var(--sides);
  background:
    radial-gradient(120% 90% at 50% 110%, rgba(23, 22, 71, 0.16), transparent 60%),
    var(--carta);
}
.finale h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 10vw, 90px); line-height: 1.05; }
.finale h2 em { font-style: italic; font-weight: 300; }
.finale .f-cta { margin-top: 34px; }

/* ---------- footer ---------- */

.footer { background: var(--blu-profondo); color: var(--carta); padding: 60px var(--sides) 110px; }
.footer .wordmark { font-family: var(--serif); font-size: 26px; letter-spacing: 0.12em; text-transform: uppercase; }

.news { margin-top: 34px; max-width: 440px; }
.news .label { opacity: 0.6; }
.news form { margin-top: 12px; display: flex; border-bottom: 1px solid var(--linea-chiara); }
.news input {
  flex: 1; background: none; border: 0; color: inherit;
  font: inherit; font-size: 15px; padding: 12px 0; outline: none;
}
.news input::placeholder { color: rgba(247, 246, 241, 0.4); }
.news button { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }

.f-cols { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.f-cols h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; margin-bottom: 14px; }
.f-cols ul { list-style: none; display: grid; gap: 9px; font-size: 14.5px; }
.f-cols a { opacity: 0.85; }

.f-legal { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--linea-chiara); font-size: 11.5px; opacity: 0.5; line-height: 1.8; }

/* ============================================================
   PAGINA GAMMA (template Luxury)
   ============================================================ */

.g-hero {
  min-height: 86svh;
  background: linear-gradient(180deg, #101033, var(--blu));
  color: var(--carta);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--sides) 56px;
  position: relative; overflow: hidden;
}
.g-hero .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.5;
}
.g-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(transparent 30%, rgba(14, 13, 51, 0.88));
}
.g-hero > * { position: relative; z-index: 2; }
.g-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 11vw, 100px); line-height: 1.02; }
.g-hero h1 em { font-style: italic; font-weight: 300; }
.g-hero .sub { margin-top: 16px; max-width: 480px; font-size: 15.5px; line-height: 1.6; opacity: 0.85; }

/* configuratore */
.config { padding: clamp(60px, 12vw, 120px) 0; text-align: center; }

.variant-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; padding: 6px; border: 1px solid var(--linea); border-radius: 32px; max-width: calc(100% - var(--sides) * 2); margin: 0 var(--sides); }
@media (min-width: 480px) { .variant-tabs { border-radius: 100px; } }
.variant-tabs button {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 11px 18px; border-radius: 100px;
  opacity: 0.6; transition: all 0.3s var(--ease);
}
.variant-tabs button i { width: 10px; height: 10px; border-radius: 50%; }
.variant-tabs button.active { opacity: 1; background: var(--blu); color: var(--carta); }

.stage {
  margin: 40px auto 0;
  height: clamp(340px, 62vw, 480px);
  display: flex; align-items: flex-end; justify-content: center;
  position: relative;
}
.stage::after {
  content: "";
  position: absolute; bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: min(60vw, 280px); height: 26px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(23,22,71,0.22), transparent 70%);
}
.stage img {
  height: 100%; width: auto; object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(23, 22, 71, 0.22));
  transition: opacity 0.35s var(--ease);
}
.stage img.swap { opacity: 0; }

.formats { margin-top: 34px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 0 var(--sides); }
.formats button {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  border: 1px solid var(--linea); border-radius: 100px;
  padding: 11px 20px;
  transition: all 0.3s var(--ease);
}
.formats button.active { background: var(--blu); color: var(--carta); border-color: var(--blu); }

.config .desc { margin: 44px auto 0; max-width: 560px; padding: 0 var(--sides); font-size: 16px; line-height: 1.7; opacity: 0.85; text-align: left; }

/* faq */
.faq { padding: 0 var(--sides) clamp(70px, 14vw, 140px); max-width: 760px; margin: 0 auto; }
.faq h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 8vw, 56px); margin-bottom: 30px; }
.faq-item { border-top: 1px solid var(--linea); }
.faq-item:last-child { border-bottom: 1px solid var(--linea); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 0;
  font-family: var(--serif); font-size: 19px;
}
.faq-q .pm { font-size: 22px; font-weight: 300; transition: transform 0.35s var(--ease); flex: 0 0 auto; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a .inner { padding: 0 0 24px; font-size: 15px; line-height: 1.7; opacity: 0.8; }

.campaign { position: relative; }
.campaign img { width: 100%; height: clamp(380px, 80vw, 680px); object-fit: cover; }
.campaign .cap {
  position: absolute; left: var(--sides); bottom: 34px;
  color: #fff;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(24px, 6vw, 44px);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.back-home {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 26px var(--sides) 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
}

/* ---------- desktop ---------- */

@media (min-width: 768px) {
  .edit-grid { grid-template-columns: repeat(3, 1fr); }
  .edit-grid.duo { grid-template-columns: 1fr 1fr; }
  .terme-grid { grid-template-columns: 1fr 1fr; }
  .acqua-grid { grid-template-columns: repeat(4, 1fr); }
  .sos-stats { grid-template-columns: repeat(4, 1fr); }
  .f-cols { grid-template-columns: repeat(4, 1fr); }
  .g-card { flex-basis: 320px; }
  .t-card { flex-basis: 360px; }
  .footer { padding-bottom: 60px; }
}

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