/* EWP – ElettroWel Partners */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Lobster";
  src: url("../fonts/lobster-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --orange: #FF7F10;        /* arancio del logo: solo per superfici e segni grafici */
  --orange-ink: #A3480A;
  --orange-text: #D9610A;   /* arancio per titoli brevi in grassetto su fondo chiaro */    /* arancio leggibile per testo su fondo chiaro */
  --orange-soft: #FFE9D6;
  --ink: #16222D;           /* blu acciaio scuro */
  --ink-2: #22313E;
  --steel: #4E5B67;
  --line: #D5DCE2;
  --paper: #F4F6F8;
  --white: #FFFFFF;
  --on-ink: #E8EDF1;
  --on-ink-muted: #A9B6C1;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wide: 112%;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  --step-4: clamp(1.875rem, 1.35rem + 2.2vw, 3.25rem);
  --step-5: clamp(2.6rem, 1.6rem + 4.6vw, 5rem);

  --gutter: 16px;
  --section: clamp(48px, 6vw, 88px);
  --section-top: clamp(28px, 3vw, 44px);   /* spazio sopra il titolo di ogni sezione */
  --header: 69px;          /* altezza della barra in alto (68px + bordo) */
  --radius: 4px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: var(--step-0); line-height: 1.6;
  font-kerning: normal; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-stretch: var(--wide); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 650; font-stretch: 106%; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #FF9440; }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(22,34,45,.08); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header ---------- */
/* Barra del menu: bianca, sempre in primo piano */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
/* staccata dal contenuto quando si scorre */
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(22,34,45,.10); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand__name { font-family: "Montserrat", var(--font); font-weight: 800; font-stretch: normal; font-size: 2rem; line-height: 1; letter-spacing: .01em; color: var(--orange); }
.brand__tag { color: var(--steel); font-size: var(--step--1); line-height: 1.2; white-space: nowrap; display: none; }
@media (min-width: 560px) { .brand__tag { display: block; } }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 550; border-radius: var(--radius); }
.site-nav ul a:hover { background: rgba(255,255,255,.45); }
.site-nav .lang { margin-left: 8px; background: var(--white); border: 1px solid rgba(22,34,45,.25); font-weight: 700; font-stretch: 112%; font-size: var(--step--1); padding: 8px 12px; }
.site-nav .lang:hover { border-color: var(--ink); }
.site-nav .lang { display: inline-flex; align-items: center; gap: 8px; }
.flag { flex: none; width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(22,34,45,.18); }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
    background: var(--white); border: 1px solid rgba(22,34,45,.25); border-radius: var(--radius); font: inherit; font-weight: 600; color: var(--ink);
  }
  .site-nav { display: none; position: absolute; inset: 68px 0 auto 0; background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--paper); border-radius: 0; }
  .site-nav ul a:hover { background: var(--paper); }
  .site-nav .lang { align-self: flex-start; margin: 16px 0 0; border-radius: var(--radius); }
}

/* ---------- hero ---------- */
.hero { position: relative; color: var(--ink); background: var(--paper); overflow: hidden;
  display: flex; align-items: center; min-height: 560px; min-height: min(calc(100vh - 69px), 1100px); min-height: min(calc(100svh - 69px), 1100px); }
.hero picture { position: absolute; inset: 0; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
/* velo chiaro: lascia vedere la foto a destra e tiene leggibile il testo a sinistra */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.35) 62%, rgba(255,255,255,0) 82%); }
@media (max-width: 1023px) { .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.86) 32%, rgba(255,255,255,.86) 72%, rgba(255,255,255,.55) 100%); } }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(56px, 9vh, 120px); }
.hero h1 { font-family: "Montserrat", var(--font); font-weight: 800; font-stretch: normal; letter-spacing: 0; font-size: clamp(3.4rem, 2rem + 6.4vw, 7rem); line-height: 1; margin-bottom: 0.3em; color: var(--orange); }
.hero h1 span { display: block; font-family: "Lobster", cursive; font-weight: 400; font-size: .6em; line-height: 1.25; margin-top: .08em; color: var(--orange); }
.hero__lead { font-size: var(--step-1); line-height: 1.5; max-width: 34em; color: var(--ink-2); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- sezioni ---------- */
.section { padding-block: var(--section-top) var(--section); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section__head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.section__head h2 { max-width: 32ch; }
.section__head p { max-width: 46rem; margin-bottom: 0; }
.section__head p { font-size: var(--step-1); line-height: 1.5; color: var(--steel); }
.section--ink .section__head p { color: var(--on-ink-muted); }

/* ---------- ciclo di vita (elemento firma) ---------- */
.lifecycle { --c-band: var(--paper); }
.lifecycle__chart, .figure__chart { width: 100%; overflow: visible; font-family: var(--font); }
.lifecycle__chart .bands rect, .figure__chart .bands rect { fill: var(--paper); }
.axis { fill: none; stroke: var(--steel); stroke-width: 1.5; }
.axis-label { fill: var(--steel); font-size: 15px; }
.design-line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.curve { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.curve--old { stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 7 6; }
.hi-dots circle { fill: var(--orange); opacity: .9; }
.legend-text { fill: var(--steel); font-size: 13px; }
.phase-label { fill: var(--ink); font-size: 13.5px; font-weight: 650; font-stretch: 106%; }
.axis-arrow { fill: var(--steel); }
.bar rect { fill: var(--orange); transition: fill .15s; }
.bar:hover rect, .bar:focus-visible rect, .bar.is-active rect { fill: #E06A00; }
.bar:focus-visible { outline: none; }
.bar:focus-visible rect { stroke: var(--ink); stroke-width: 2; }
.bar-label { fill: var(--ink); font-size: 13px; font-weight: 700; }
.note { fill: var(--ink); font-size: 22px; font-weight: 650; font-stretch: 108%; }
.note--sub { fill: var(--steel); font-size: 17px; font-weight: 400; font-stretch: 100%; }
.figure__chart .axis-label { font-size: 17px; }

.phases { display: grid; gap: 24px; margin-top: 8px; }
.phase { border-top: 3px solid var(--ink); padding-top: 16px; }
.phase__name { font-size: 1.0625rem; font-weight: 700; font-stretch: 108%; color: var(--orange-text); letter-spacing: 0; margin-bottom: 12px; }
.phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.svc { display: block; padding: 14px 16px 16px; margin-inline: -16px; color: var(--ink); text-decoration: none; border-radius: var(--radius); transition: background-color .15s; }
.svc:hover, .svc:focus-visible, .svc.is-active { background: var(--orange-soft); }
.svc__title { display: block; font-weight: 700; font-stretch: 108%; font-size: var(--step-1); line-height: 1.25; margin-bottom: 6px; }
.svc:hover .svc__title, .svc:focus-visible .svc__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.svc__desc { display: block; color: var(--steel); font-size: 1rem; line-height: 1.5; }

@media (min-width: 1024px) {
  .phases { grid-template-columns: 25fr 16fr 36fr 23fr; gap: 0; }
  .phase { padding-inline: 0 24px; }
  .phase + .phase { padding-left: 16px; }
  .phase--commissioning, .phase--ageing { background: var(--paper); }
  .phase--commissioning, .phase--ageing { padding-inline: 16px; }
  .phase--operation ul { grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  .phase--commissioning .svc, .phase--ageing .svc { margin-inline: -8px; padding-inline: 8px; }
}
@media (max-width: 1023px) {
  .lifecycle__figure { display: none; }
}

/* ---------- interlocutori ---------- */
.audiences { display: grid; gap: 40px; }
@media (min-width: 900px) { .audiences { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.audience h3 { padding-top: 16px; border-top: 1px solid var(--line); }
.audience p { color: var(--steel); margin: 0; }

/* ---------- metodo ---------- */
.approach { display: grid; gap: 48px; }
@media (min-width: 900px) { .approach { grid-template-columns: 5fr 7fr; gap: 80px; } .approach__intro { position: sticky; top: 120px; align-self: start; } }
.approach__figure { margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.approach__figure strong { display: block; font-size: var(--step-4); font-stretch: 118%; font-weight: 700; color: var(--orange); line-height: 1; margin-bottom: 8px; }
.approach__figure span { color: var(--on-ink-muted); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 36px 64px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid var(--orange); color: var(--white); font-weight: 700; font-stretch: 112%;
}
.steps li::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: 6px; width: 2px; background: rgba(255,255,255,.14); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--on-ink-muted); margin: 0; }
.steps a { color: var(--orange); }

/* ---------- partner ---------- */
.partner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 900px) { .partner { grid-template-columns: 5fr 7fr; gap: 80px; } }
.partner__card { display: flex; gap: 20px; align-items: flex-start; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.partner__card img { flex: none; width: 60px; height: 60px; }
.partner__card h3 { margin-bottom: 4px; }
.partner__card p { color: var(--steel); margin-bottom: 12px; }

/* ---------- team ---------- */
.team { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .team { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.person { padding: 28px 0; border-bottom: 1px solid var(--line); }
.person__head { display: flex; align-items: center; gap: 12px; margin-bottom: 2px; }
.person__head h3 { margin: 0; }
.person h3 { font-size: var(--step-2); margin-bottom: 2px; }
.person__role { color: var(--orange-ink); font-weight: 600; margin-bottom: 12px; }
.person__in { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius); color: #0A66C2; transition: background-color .15s; }
.person__in:hover { background: var(--paper); }
.person__in svg { width: 22px; height: 22px; }
.person p { color: var(--steel); }
.person details summary { cursor: pointer; font-weight: 600; color: var(--ink); width: fit-content; list-style: none; }
.person details summary::-webkit-details-marker { display: none; }
.person details summary::after { content: " +"; color: var(--orange-ink); }
.person details[open] summary::after { content: " −"; }
.person details p { margin-top: 12px; }

/* ---------- contatti ---------- */
.contact { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact { grid-template-columns: 5fr 7fr; gap: 80px; } }
.contact__direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.contact__direct p { margin: 0 0 4px; color: var(--on-ink-muted); }
.contact__direct a { color: var(--white); font-size: var(--step-1); font-weight: 600; word-break: break-word; }

.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field span { font-weight: 600; font-size: var(--step--1); color: var(--on-ink); }
.field small { font-weight: 400; color: var(--on-ink-muted); font-size: inherit; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid transparent; border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316222D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; }
.field select:invalid { color: var(--steel); }
.field select option { color: var(--ink); }
.field [aria-invalid="true"] { border-color: #FF6B6B; background: #FFF4F4; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: var(--step--1); color: var(--on-ink-muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--orange); }
.consent input[aria-invalid="true"] { outline: 2px solid #FF6B6B; outline-offset: 2px; }
.consent a { color: var(--white); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__status { margin: 0; font-weight: 600; }
.form__status.is-ok { color: #8FE3A6; }
.form__status.is-err { color: #FFB4A8; }
.form__status a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- pagine servizio ---------- */
.svc-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.svc-hero__inner { padding-block: clamp(40px, 5vw, 72px); display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .svc-hero__inner--img { grid-template-columns: 7fr 5fr; gap: 64px; } }
.svc-hero h1 { font-size: var(--step-4); max-width: 24ch; }
.svc-hero .lead { font-size: var(--step-1); line-height: 1.5; color: var(--steel); max-width: 36em; margin: 0; }
.svc-hero__img { margin: 0; }
.svc-hero__img img { width: 100%; border-radius: var(--radius); }
.crumbs { margin: 0 0 16px; font-weight: 600; font-size: var(--step--1); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a::before { content: ""; display: inline-block; width: .45em; height: .45em; margin-right: .5em; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; transform: translateY(-.1em) rotate(45deg); }
.crumbs a:hover { color: var(--ink); }

.svc-layout { display: grid; gap: 64px; padding-block: clamp(48px, 7vw, 96px); }
@media (min-width: 1000px) { .svc-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; } }

.prose { max-width: 44rem; }
.prose h2 { font-size: var(--step-3); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--orange); }
.prose strong { font-weight: 650; }
.prose .callout { font-size: var(--step-1); line-height: 1.5; font-weight: 500; border-left: 4px solid var(--orange); padding: 4px 0 4px 20px; margin: 2em 0; }

.defs { display: grid; gap: 0; margin: 0 0 1.5em; border-top: 1px solid var(--line); }
.defs > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.defs dt { font-weight: 700; font-stretch: 106%; margin-bottom: 4px; }
.defs dd { margin: 0; color: var(--steel); }
.defs dd ul { margin: 8px 0 0; }

.process { list-style: none; padding: 0 !important; counter-reset: p; display: grid; gap: 0; margin: 0 0 1.5em; }
.process > li { counter-increment: p; position: relative; padding: 0 0 24px 56px; margin: 0; }
.process > li::before { content: counter(p); position: absolute; left: 0; top: -1px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: var(--step--1); }
.process > li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.process > li:last-child::after { display: none; }
.process strong { display: block; font-stretch: 106%; }
.process span { color: var(--steel); }

.benefits { list-style: none; padding: 0 !important; display: grid; gap: 12px; margin: 0 0 1.5em; }
@media (min-width: 600px) { .benefits { grid-template-columns: 1fr 1fr; } }
.benefits li { margin: 0; padding: 16px 18px; background: var(--paper); border-left: 3px solid var(--orange); }

.figure { margin: 2em 0; }
.figure figcaption { font-size: var(--step--1); color: var(--steel); margin-top: 10px; }
.figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.figure-row { display: grid; gap: 16px; margin: 2em 0; }
@media (min-width: 600px) { .figure-row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.figure-row .figure { margin: 0; }

.gauge text { font-family: var(--font); }

.next { display: flex; flex-direction: column; gap: 4px; margin-top: 64px; padding: 24px 0; border-top: 3px solid var(--ink); text-decoration: none; color: var(--ink); }
.next span { color: var(--steel); font-size: var(--step--1); font-weight: 600; }
.next strong { font-size: var(--step-2); font-stretch: 112%; }
.next strong::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .4em; border-top: 2px solid var(--orange-ink); border-right: 2px solid var(--orange-ink); transform: translateY(-.1em) rotate(45deg); }
.next:hover strong { color: var(--orange-ink); }

.aside { display: grid; gap: 32px; align-content: start; }
@media (min-width: 1000px) { .aside { position: sticky; top: 100px; } }
.aside h2 { font-size: var(--step--1); font-stretch: 112%; color: var(--steel); margin-bottom: 12px; letter-spacing: 0; }
.aside__nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.aside__nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 550; }
.aside__nav a:hover { color: var(--orange-ink); }
.aside__nav a[aria-current="page"] { font-weight: 700; box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
.aside__cta { background: var(--ink); color: var(--on-ink); padding: 28px; border-radius: var(--radius); }
.aside__cta h2 { color: var(--white); font-size: var(--step-1); }
.aside__cta p { color: var(--on-ink-muted); font-size: 1rem; }

/* ---------- pagina semplice (privacy) ---------- */
.plain-page { padding-block: clamp(48px, 7vw, 96px); }
.plain-page h1 { font-size: var(--step-4); }
.todo { background: #FFF3C4; padding: 0 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,.1); color: var(--on-ink-muted); padding-top: 64px; font-size: 1rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer h2 { font-size: var(--step--1); color: var(--white); letter-spacing: 0; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 5fr 4fr 3fr; gap: 64px; } }
.brand--footer { color: var(--white); margin-bottom: 16px; }
.brand--footer img { width: 36px; height: 36px; }
.brand--footer .brand__tag { display: block; color: var(--on-ink); font-size: 1rem; font-weight: 600; }
.site-footer a.brand--footer:hover { text-decoration: none; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px 28px; font-size: var(--step--1); }
.site-footer__base p { margin: 0; }
@media (max-width: 899px) { .lifecycle__chart .axis-label { font-size: 30px; } }
@media (max-width: 599px) { .figure__chart .note { font-size: 30px; } .figure__chart .note--sub { display: none; } .figure__chart .axis-label { font-size: 26px; } }

/* ---------- schermi molto stretti ---------- */
.partner__card > div { min-width: 0; }
.partner__card a { overflow-wrap: anywhere; }
@media (max-width: 479px) {
  .partner__card { flex-direction: column; gap: 16px; padding: 20px; }
}

/* ---------- home: sezioni a tutto schermo ----------
   Ogni sezione è alta almeno quanto lo schermo; lo scorrimento resta libero.
   I link del menu portano esattamente all'inizio della sezione (scroll-padding-top su html). */
@media (min-height: 560px) {
  .home main > .section {
    min-height: calc(100vh - var(--header)); min-height: calc(100svh - var(--header));
    display: flex; flex-direction: column; justify-content: flex-start;
  }
  .home main > .section > .container { width: 100%; }
}
