:root {
  --text: #1d1d1f;
  --muted: #6e6e73;
  --bg: #ffffff;
  --gray: #f5f5f7;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-link: #0066cc;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 44px);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 48px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1068px; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 60px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav__inner {
  max-width: 1068px; margin-inline: auto; padding-inline: var(--gutter);
  height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: clamp(18px, 3vw, 32px); font-size: 13px; }
.nav__short { display: none; }
.nav__progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--text); transform: scaleX(0); transform-origin: left; }
.nav__links a { color: var(--text); opacity: 0.8; transition: opacity 0.2s; }
.nav__links a:hover,
.nav__links a.is-active { opacity: 1; }
.nav__links a.is-active { font-weight: 500; }

/* ---------- Shared type ---------- */
.eyebrow { font-size: clamp(17px, 2vw, 21px); font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }

.link { color: var(--text); font-size: 17px; font-weight: 500; }
.link::after { content: "\2192"; display: inline-block; margin-left: 0.4em; transition: transform 0.3s var(--ease); }
a.link:hover::after,
a:hover > .link::after { transform: translateX(5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 48px);
  display: flex; align-items: flex-end;
  padding: clamp(56px, 9vw, 110px) 0 clamp(36px, 5vw, 64px);
}
.hero__inner { position: relative; z-index: 1; will-change: transform, opacity; }
.hero__title {
  margin-top: 16px;
  font-size: clamp(2.3rem, 9.2vw, 7.5rem); font-weight: 600;
  line-height: 1; letter-spacing: -0.045em;
}
.line--muted { color: var(--muted); }
.hero__foot {
  margin-top: clamp(32px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px;
}
.hero__lead {
  max-width: 24em;
  font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--muted);
}

.cta { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-weight: 600; letter-spacing: -0.02em; }
.cta i,
.row__arrow {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--text); color: #fff;
  transition: transform 0.45s var(--ease-out);
}
.cta:hover i { transform: translateX(8px); }

/* Parola che cambia */
.rotator { display: inline-grid; vertical-align: top; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.rot { grid-area: 1 / 1; transform: translateY(110%); opacity: 0; transition: transform 0.7s var(--ease-out), opacity 0.4s; }
.rot.is-on { transform: none; opacity: 1; }
.rot.is-out { transform: translateY(-110%); opacity: 0; }

/* Cerchi d'acqua */
.ripples { position: absolute; right: -6vmin; top: 42%; width: 0; height: 0; }
.ripples span {
  position: absolute; left: 50%; top: 50%; width: 120vmin; height: 120vmin; margin: -60vmin 0 0 -60vmin;
  border: 1px solid var(--line); border-radius: 50%;
  opacity: 0; animation: ripple 10s linear infinite;
}
.ripples span:nth-child(2) { animation-delay: -2.5s; }
.ripples span:nth-child(3) { animation-delay: -5s; }
.ripples span:nth-child(4) { animation-delay: -7.5s; }
@keyframes ripple {
  0% { transform: scale(0.05); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* ---------- Numeri ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats__grid li { padding: clamp(32px, 5vw, 64px) clamp(16px, 3vw, 40px) clamp(32px, 5vw, 64px) 0; }
.stats__grid li + li { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--line); }
.stats__num { font-size: clamp(3rem, 7.5vw, 5.5rem); font-weight: 600; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.stats__label { margin-top: 14px; max-width: 20em; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section--gray { background: var(--gray); }

.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.head__lead { margin-top: 20px; max-width: 28em; font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--muted); }
.head__title {
  margin-top: 8px;
  font-size: clamp(2rem, 5.4vw, 3.5rem); font-weight: 600;
  line-height: 1.08; letter-spacing: -0.03em;
}

/* ---------- Dire ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__photo { overflow: hidden; border-radius: 28px; background: var(--gray); }
.about__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 100%;
  transform-origin: 20% 60%; will-change: transform;
}
.about__text p + p { margin-top: 20px; }
.about__text p { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.4; }
.about__text .about__big {
  color: var(--text); font-weight: 600;
  font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.2; letter-spacing: -0.02em;
}

/* ---------- Tiles ---------- */
.tiles { display: grid; gap: 20px; }
.tiles--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--two .tile { padding: clamp(28px, 4vw, 48px); }
.tiles--two .tile h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
.about + .tiles { margin-top: clamp(48px, 8vw, 96px); }

.tile {
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(24px, 3vw, 36px); border-radius: 28px;
  background: var(--gray);
}
.tile--white { background: var(--bg); }
.tile h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.tile p { margin-top: 12px; color: var(--muted); }
.tile__role { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tile .tile__stat { margin: 20px 0 8px; color: var(--text); font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.tile__stat span { color: var(--muted); }
.tile .tile__zones { color: var(--text); font-size: 15px; font-weight: 500; }
.tile .link { margin-top: auto; padding-top: 28px; }
.tile--link { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.tile--link:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1); }

/* ---------- Grafico ---------- */
.chart { --plot: clamp(190px, 24vw, 280px); --a: var(--text); --b: #b9b9c0; margin-top: 20px; height: auto; padding: clamp(24px, 4vw, 48px); }
.chart__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.chart__head h3 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -0.03em; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; font-weight: 500; }
.chart__legend li { display: flex; align-items: center; gap: 8px; }
.chart__key { width: 12px; height: 12px; border-radius: 3px; background: var(--a); }
.chart__key--b { background: var(--b); }
.chart__bars { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
.chart__pair { display: flex; align-items: flex-end; gap: 4px; padding-right: clamp(10px, 3vw, 40px); }
.chart__col { flex: 1; max-width: 72px; display: flex; flex-direction: column; align-items: center; }
.chart__val { margin-bottom: 8px; font-size: clamp(10px, 1.5vw, 15px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.chart__bar { position: relative; width: 100%; height: calc(var(--plot) * var(--h, 0.5)); border-radius: 6px 6px 0 0; background: var(--a); }
.chart__col--b .chart__bar { background: var(--b); }
/* Anno in corso: barra piena fino al dato di oggi, tratteggio sopra per quello che manca */
.is-partial .chart__bar { border-radius: 0; }
.is-partial .chart__bar::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 20px;
  border: 1.5px dashed var(--muted); border-bottom: 0; border-radius: 6px 6px 0 0;
}
.is-partial .chart__val { margin-bottom: 28px; }
.chart__year { display: block; padding-top: 12px; border-top: 1px solid var(--line); font-size: clamp(13px, 1.6vw, 15px); font-weight: 600; color: var(--text); }
.chart__year small { display: block; margin-top: 2px; font-size: clamp(11px, 1.4vw, 13px); font-weight: 500; color: var(--muted); }
.chart .chart__note { margin-top: 16px; font-size: 13px; }
.js .chart__bar { transform: scaleY(0); transform-origin: bottom; transition: transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.09s + 0.2s); }
.js .chart__val { opacity: 0; transform: translateY(10px); transition: opacity 0.6s, transform 0.6s var(--ease-out); transition-delay: calc(var(--i, 0) * 0.09s + 0.9s); }
.js .chart.is-in .chart__bar { transform: none; }
.js .chart.is-in .chart__val { opacity: 1; transform: none; }

/* ---------- Fascia scorrevole ---------- */
.band { overflow: hidden; padding: 0 0 clamp(56px, 8vw, 100px); }
.band__track { display: flex; width: max-content; will-change: transform; }
.band__track span { font-size: clamp(3rem, 10vw, 8rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.045em; color: #e8e8ed; white-space: nowrap; }
.band__track span::after { content: "\00B7"; margin: 0 0.35em; }

/* ---------- Contatti ---------- */
#contatti { padding-top: 0; }
#contatti .head { margin-bottom: 8px; }
.contact__title {
  font-size: clamp(2.2rem, 7.6vw, 5.5rem); font-weight: 600;
  line-height: 1.03; letter-spacing: -0.04em;
}
.contact__lead {
  margin-top: 24px; max-width: 26em;
  font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--muted);
}
.rows { margin-top: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 4px 20px;
  padding: clamp(18px, 2.6vw, 30px) 0; border-top: 1px solid var(--line);
  transition: padding 0.45s var(--ease-out);
}
.row__label { font-size: 15px; font-weight: 600; color: var(--muted); }
.row__value { font-size: clamp(1.25rem, 4.2vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.row__arrow { background: var(--gray); color: var(--text); transition: transform 0.45s var(--ease-out), background 0.3s, color 0.3s; }
.row:hover { padding-left: 18px; }
.row:hover .row__arrow { background: var(--text); color: #fff; transform: rotate(-45deg); }

/* ---------- Modulo ---------- */
.form { margin-top: clamp(40px, 6vw, 72px); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 48px); }
.field { display: block; }
.field--wide { grid-column: 1 / -1; }
.field span { display: block; font-size: 15px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; margin-top: 4px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--text); font: inherit; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em;
  transition: border-color 0.3s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 3em; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right center / 20px; padding-right: 28px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--text); box-shadow: 0 1px 0 var(--text); }
.form.is-checked .field :invalid { border-bottom-color: #d70015; }
.check { display: flex; align-items: flex-start; gap: 12px; margin-top: 32px; color: var(--muted); font-size: 15px; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--text); }
.form.is-checked .check input:invalid + span { color: #d70015; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 32px; }
.form .cta { padding: 0; border: 0; background: none; color: inherit; font-family: inherit; cursor: pointer; }
.form .cta[disabled] { opacity: 0.5; cursor: default; }
.form__msg { font-weight: 500; }
.form__msg.is-error { color: #d70015; }
.rows__intro { margin-top: clamp(56px, 8vw, 100px); font-size: 15px; font-weight: 600; color: var(--muted); }
.rows__intro + .rows { margin-top: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--gray); font-size: 12px; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer a { color: #424245; }
.footer a:hover { text-decoration: underline; }

/* ---------- nordAcqua ---------- */
.note { margin-top: 28px; color: var(--muted); font-size: 15px; }

.tile--photo { padding: 0; overflow: hidden; }
.tile--photo figure { overflow: hidden; }
.tile--photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile--photo:hover img { transform: scale(1.04); }
.tile--photo > div { padding: clamp(24px, 3vw, 36px); }

.checks { margin-top: 20px; }
.checks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 6px; border-left: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(-45deg); }
.checks--big li { padding-block: 14px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }

.saving { margin-top: 20px; height: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(32px, 6vw, 80px); align-items: center; padding: clamp(28px, 4vw, 48px); }
.saving h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; }
.saving__bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; font-size: 15px; font-weight: 600; }
.saving__bars li + li { margin-top: 22px; }
.saving__bars span { color: var(--muted); }
.saving__bars i { grid-column: 1 / -1; grid-row: 2; height: 28px; width: calc(100% * var(--w)); border-radius: 6px; background: #b9b9c0; transform-origin: left; }
.saving__bars .is-us i { background: var(--text); }
.saving__bars .is-us span { color: var(--text); }
.js .saving__bars i { transform: scaleX(0); transition: transform 1.3s var(--ease-out) 0.3s; }
.js .saving.is-in .saving__bars i { transform: none; }

.range { margin-bottom: 20px; overflow: hidden; border-radius: 28px; }
.range img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 75%; }

.about--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.about__photo img { object-position: 50% 50%; }

.regions { border-bottom: 1px solid var(--line); }
.regions li {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: baseline; gap: 4px 20px;
  padding: clamp(14px, 2vw, 24px) 0; border-top: 1px solid var(--line);
  font-size: clamp(1.6rem, 5vw, 3.4rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.035em;
}
.regions span { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
#zone { padding-bottom: clamp(56px, 8vw, 100px); }

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0; transform: translateY(36px) scale(0.98);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.line > span { display: block; }
.js .lines .line > span { transform: translateY(115%); transition: transform 1s var(--ease-out); }
.js .lines .line:nth-child(2) > span { transition-delay: 0.12s; }
.js .lines .line:nth-child(3) > span { transition-delay: 0.24s; }
.js .lines.is-in .line > span { transform: none; }

.js .hero__foot { --delay: 0.5s; }

.js .about__photo.reveal { clip-path: inset(12% 12% 12% 12% round 28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), clip-path 1.2s var(--ease-out); }
.js .about__photo.reveal.is-in { clip-path: inset(0 round 28px); }

.w { transition: opacity 0.25s linear; }

.word { display: inline-block; overflow: hidden; padding: 0 0.04em 0.14em; margin: 0 -0.04em -0.14em; vertical-align: top; }
.word > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--i) * 45ms + 0.1s); }
.is-in .word > span { transform: none; }
.cta i { will-change: transform; }

.nav { animation: nav-in 0.8s var(--ease-out) both; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-100%); } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 440px; }
  .tiles--three, .tiles--two { grid-template-columns: 1fr; }
  .saving, .about--flip { grid-template-columns: 1fr; }
  .about--flip .about__photo { order: -1; }
  .tile--photo img { aspect-ratio: 4 / 3; }
  .range img { aspect-ratio: 1 / 1; object-position: 50% 70%; }
}

@media (max-width: 640px) {
  .chart__tot { display: none; }
  .chart__live { display: block; font-size: 11px; font-weight: 500; color: var(--muted); text-indent: -0.6em; overflow: hidden; }
  .chart__year { min-height: 66px; }
  .chart__pair { padding-right: 8px; }
  .nav__full { display: none; }
  .nav__short { display: inline; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__grid li, .stats__grid li + li { padding: 28px 0; border-left: 0; }
  .stats__grid li + li { border-top: 1px solid var(--line); }
  .form__grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row__label { grid-column: 1 / -1; }
  .regions li { grid-template-columns: 36px minmax(0, 1fr); }
  .row__arrow, .cta i { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; clip-path: none; }
  .js .lines .line > span { transform: none; }
  .js .chart__bar, .js .chart__val { transform: none; opacity: 1; }
}

/* ---------- Trentino Acqua: tema ---------- */
:root {
  --text: #0e2a3b;
  --muted: #5d7180;
  --gray: #eef4f7;
  --line: #cdd9e1;
  --blue: #0d5cad;
  --accent: #0d5cad;
  --radius: 12px;
}
.tile, .about__photo, .range { border-radius: var(--radius); }
.js .about__photo.reveal { clip-path: inset(12% round var(--radius)); }
.js .about__photo.reveal.is-in { clip-path: inset(0 round var(--radius)); }
.product__img { border-radius: 8px; }

.hero .line--muted { color: var(--accent); }

/* Onde che partono dall'angolo in alto a sinistra */
.flow { position: absolute; left: 0; top: 0; width: min(110vmin, 1000px); height: auto; overflow: visible; pointer-events: none; -webkit-mask-image: radial-gradient(circle at 0 0, #000 30%, transparent 66%); mask-image: radial-gradient(circle at 0 0, #000 30%, transparent 66%); }
.flow__group { transform-origin: 0 0; animation: flow-sway 18s ease-in-out infinite alternate; }
.flow__line { fill: none; stroke: var(--line); stroke-width: 1.3; vector-effect: non-scaling-stroke; opacity: var(--o); stroke-dasharray: 1; stroke-dashoffset: 1; animation: flow-draw 2.4s var(--ease-out) calc(var(--k) * 0.09s + 0.2s) forwards; }
.flow__line--accent { stroke: var(--accent); stroke-width: 1.6; }
.flow__line--dots { stroke-dasharray: 0.004 0.008; stroke-dashoffset: 0; stroke-linecap: round; stroke-width: 2; opacity: 0; animation: flow-fade 1.6s ease calc(var(--k) * 0.09s + 0.6s) forwards; }
.flow__drop { fill: var(--accent); opacity: 0; animation: flow-fade 1.2s ease 2.4s forwards; --o: 0.9; }
@keyframes flow-draw { to { stroke-dashoffset: 0; } }
@keyframes flow-fade { to { opacity: var(--o); } }
@keyframes flow-sway { from { transform: rotate(-2.5deg) scale(0.98); } to { transform: rotate(2.5deg) scale(1.03); } }
@media (prefers-reduced-motion: reduce) {
  .flow__line { stroke-dashoffset: 0; }
  .flow__line--dots, .flow__drop { opacity: var(--o); }
}

.eyebrow, .tile__role { color: var(--accent); }
.nav__progress { background: var(--accent); }
.cta i { background: var(--accent); }
.row:hover .row__arrow { background: var(--accent); }
.checks li::before { border-color: var(--accent); }
.saving__bars i { background: #c3d5e0; }
.saving__bars .is-us i { background: var(--accent); }
.saving__bars b { color: var(--accent); }
.band__track span { color: #dfeaf1; }
.regions span { color: var(--accent); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.check input { accent-color: var(--accent); }
.footer a { color: var(--text); }

/* Logo */
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark { width: auto; height: 24px; }
.nav__full { font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.nav__mark, .footer__logo { mix-blend-mode: multiply; }
.footer > .wrap:first-child { padding-top: 40px; }
.footer__logo { width: 120px; height: auto; }

/* Chiamata diretta */
:root { --accent-ink: #0a4a8c; }
.nav__links { margin-left: auto; }
.nav__call { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; transition: background 0.3s; }
.nav__call svg { width: 14px; height: 14px; }
.nav__call:hover { background: var(--accent-ink); }
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.call-link { color: var(--muted); font-size: 15px; }
.call-link b { color: var(--text); font-weight: 600; border-bottom: 2px solid var(--accent); }
.callout {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px;
  padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius); background: var(--accent); color: #fff;
  transition: background 0.3s, transform 0.4s var(--ease);
}
.callout:hover { background: var(--accent-ink); transform: translateY(-4px); }
.callout__text span { display: block; font-size: 15px; font-weight: 600; opacity: 0.85; }
.callout__text b { display: block; margin-top: 4px; font-size: clamp(1.4rem, 3.6vw, 2.4rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.callout i { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--accent-ink); transition: transform 0.45s var(--ease-out); }
.callout:hover i { transform: rotate(12deg) scale(1.08); }
#incluso .callout { margin-top: clamp(48px, 8vw, 96px); }
.fab { display: none; }
@media (max-width: 640px) {
  .nav__call { display: none; }
  .callout i { width: 44px; height: 44px; }
  .fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22); }
  .footer { padding-bottom: 72px; }
}
.nav__full, .nav__call { white-space: nowrap; }
@media (max-width: 860px) { .nav__full { display: none; } }

/* Progetto gemello */
.footer__sister { padding-top: 24px; font-size: 15px; color: var(--muted); }
.footer .footer__sister a { color: var(--text); font-weight: 600; border-bottom: 2px solid var(--accent); }
.footer .footer__sister a::after { content: " \2192"; }
.footer .footer__sister a:hover { text-decoration: none; color: var(--accent-ink); }

/* Carattere dei titoli: geometrico, vicino alla scritta del logo */
:root { --display: "Plus Jakarta Sans", var(--font); }
.hero__title, .head__title, .contact__title, .about__text .about__big, .tile h3, .saving h3, .callout__text b, .regions li, .row__value, .band__track span, .cta, .field input, .field select, .field textarea {
  font-family: var(--display);
}
.hero__title { font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; font-size: clamp(2.3rem, 8.4vw, 6.6rem); }
.head__title { font-weight: 400; letter-spacing: -0.02em; line-height: 1.12; }
.contact__title { font-weight: 300; letter-spacing: -0.03em; line-height: 1.06; }
.about__text .about__big { font-weight: 400; letter-spacing: -0.01em; line-height: 1.25; }
.tile h3, .saving h3 { font-weight: 500; letter-spacing: -0.01em; }
.callout__text b, .row__value, .regions li { font-weight: 400; letter-spacing: -0.02em; }
.band__track span { font-weight: 300; letter-spacing: -0.02em; }
.cta { font-weight: 500; letter-spacing: -0.01em; }
.field input, .field select, .field textarea { font-weight: 400; letter-spacing: -0.01em; }
.eyebrow, .tile__role, .regions span, .row__label { font-family: var(--display); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; font-size: 13px; }

/* Titoli più pieni */
.hero__title, .head__title, .contact__title { font-weight: 600; letter-spacing: -0.03em; }
.about__text .about__big, .callout__text b, .row__value, .regions li { font-weight: 600; letter-spacing: -0.02em; }
.tile h3, .saving h3, .cta { font-weight: 600; }
.band__track span { font-weight: 600; }
.field input, .field select, .field textarea { font-weight: 500; }
.eyebrow, .tile__role, .regions span, .row__label { font-weight: 600; }

/* Plus Jakarta Sans */
.hero__title, .head__title, .contact__title { font-weight: 700; letter-spacing: -0.04em; }
.about__text .about__big, .callout__text b, .row__value, .regions li, .band__track span { font-weight: 700; letter-spacing: -0.035em; }
.tile h3, .saving h3 { font-weight: 700; letter-spacing: -0.025em; }
.cta { letter-spacing: -0.02em; }
.hero__title, .head__title, .contact__title, .about__text .about__big, .tile h3, .saving h3, .callout__text b, .regions li, .band__track span, .cta { word-spacing: 0.1em; }

/* Dicono di noi */
.press { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px; align-items: stretch; }
.press__video, .press__article { padding: 12px; }
.press__video video { display: block; width: 100%; height: auto; aspect-ratio: 480 / 854; border-radius: 8px; background: var(--text); object-fit: cover; }
.press__video figcaption, .press__article > div { padding: 20px clamp(8px, 1.4vw, 16px) 12px; }
.press__article > div { display: flex; flex-direction: column; flex: 1; }
.press__article figure { overflow: hidden; border-radius: 8px; }
.press__article img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease-out); }
.press__article:hover img { transform: scale(1.04); }
.press blockquote { margin: 4px 0 0; font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; word-spacing: 0.1em; color: var(--text); }
.press .tile__role { display: block; }
@media (max-width: 860px) {
  .press { grid-template-columns: 1fr; }
  .press__video { max-width: 420px; }
}
