/* ============================================================
   GRUPPO EMILI — v5
   Un solo blu (quello del logo), forme tonde, linee sottili, molta aria.
   Carattere: Outfit, geometrico e arrotondato come la scritta del logo.
   ============================================================ */
/* Carattere ospitato sul sito: nessuna richiesta a servizi esterni (Outfit, licenza OFL) */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/outfit-latin-ext.woff2) format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/outfit-latin.woff2) format('woff2'); 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; }

:root {
  --navy: #1B3556;
  --navy-deep: #112641;
  --blue: #3F6FB5;
  --sky: #E4EDF8;
  --mist: #F4F7FB;
  --white: #FFFFFF;
  --ink: #14243B;
  --grey: #46566D;
  --line: #DCE4EE;
  --shadow: 0 24px 60px -24px rgba(17,38,65,.28);
  --shadow-s: 0 8px 24px -10px rgba(17,38,65,.25);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --r: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 820px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ---------- Tipografia ---------- */
h1, h2, h3 { color: var(--navy); letter-spacing: -.02em; }
h1, .display { font-weight: 300; line-height: 1.04; }
h1.display { font-size: clamp(44px, 6.4vw, 92px); max-width: 17ch; }
h2 { font-weight: 300; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; margin-bottom: 28px; }
h3 { font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); font-weight: 300; max-width: 58ch; margin-top: 28px; color: var(--grey); line-height: 1.65; }
.lead-sm { max-width: 60ch; color: var(--grey); margin-bottom: 36px; font-weight: 300; font-size: 18px; }
.note { max-width: 62ch; padding: 20px 26px; border-radius: 22px; background: var(--sky); color: var(--navy); font-size: 16px; }
.note a { text-decoration: underline; text-underline-offset: 3px; }
.textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--navy); }
.textlink::after { content: ''; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--navy); background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3556' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); transition: background-color .2s, transform .2s; }
.textlink:hover::after { background-color: var(--sky); transform: translateX(4px); }

/* ---------- Pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; font-weight: 500; font-size: 15.5px; border: 1px solid var(--navy); border-radius: 999px; background: transparent; color: var(--navy); transition: background .2s, color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); }
.btn-ink, .btn-y { background: var(--navy); color: var(--white); }
.btn-ink:hover, .btn-y:hover { background: var(--navy-deep); }
.btn-line:hover { background: var(--sky); }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Header: barra flottante ---------- */
.top { position: sticky; top: 0; z-index: 100; padding: 14px 20px 0; pointer-events: none; }
.bar { pointer-events: auto; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 24px; height: 68px; padding: 0 12px 0 28px; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-s); }
.logo img { height: 32px; width: auto; max-width: none; }
.menu { display: flex; align-items: center; gap: 2px; margin-right: auto; margin-left: 12px; font-weight: 400; font-size: 15.5px; }
.menu > a, .dd > button { padding: 10px 18px; border-radius: 999px; background: none; border: 0; font-weight: 400; color: var(--navy); transition: background .15s; }
.menu > a:hover, .dd > button:hover { background: var(--mist); }
.menu a[aria-current="page"] { background: var(--sky); }
.dd { position: relative; }
.dd > button { background: var(--sky); font-weight: 500; }
.dd > button::after { content: ''; display: inline-block; margin-left: 9px; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-3px) rotate(45deg); }
.dd-panel { position: absolute; left: 0; top: calc(100% + 14px); min-width: 440px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); display: none; }
.dd.open .dd-panel { display: block; }
.dd-panel a { display: flex; flex-direction: column; padding: 14px 20px; border-radius: 18px; }
.dd-panel a:hover { background: var(--mist); }
.dd-panel strong { font-weight: 500; font-size: 17px; color: var(--navy); }
.dd-panel span { font-size: 14px; color: var(--grey); font-weight: 300; }
.bar-right { display: flex; align-items: center; gap: 14px; }
.tel { font-weight: 500; color: var(--navy); white-space: nowrap; padding: 0 6px; }
.burger { display: none; width: 46px; height: 46px; background: var(--sky); border: 0; border-radius: 50%; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 18px; height: 1.5px; background: var(--navy); border-radius: 2px; }
@media (max-width: 1080px) { .menu { display: none; } .burger { display: flex; } .bar-right { margin-left: auto; } }
@media (max-width: 720px) { .top { padding: 10px 12px 0; } .tel, .bar-right .btn { display: none; } .bar { height: 60px; padding-left: 20px; } .logo img { height: 28px; } }

.drawer { position: fixed; inset: 0; z-index: 300; background: var(--navy-deep); color: var(--white); padding: 22px 24px 110px; overflow-y: auto; display: none; }
.drawer.open { display: block; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.drawer-top img { height: 30px; }
.drawer-top button { background: rgba(255,255,255,.12); color: var(--white); border: 0; padding: 11px 20px; border-radius: 999px; font-weight: 500; }
.drawer-q { font-weight: 200; font-size: 40px; line-height: 1.1; margin-bottom: 10px; }
.drawer-list a { display: block; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 22px; font-weight: 300; line-height: 1.25; }
.drawer-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.drawer-more a { border: 1px solid rgba(255,255,255,.35); padding: 10px 20px; border-radius: 999px; }

.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 8px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
  .mbar .btn { padding: 13px 10px; }
  body { padding-bottom: 88px; }
}

/* ============================================================
   HOME — la frase
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 56px 0 96px; }
/* la "e" del logo, schiarita al 30%, come sfondo */
.hero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .05;
  background: url(logo-e.svg) no-repeat left -2% center / auto 92%; }
.hero .wrap { position: relative; z-index: 1; }
/* stessa "e" del logo, al centro della sezione */
.sec-e { position: relative; overflow: hidden; }
.sec-e::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .06; background: url(logo-e.svg) no-repeat 62% center / auto 92%; }
.sec-e > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-kicker { font-size: 16px; font-weight: 400; color: var(--blue); margin-bottom: 26px; letter-spacing: .01em; }
.say { font-weight: 300; font-size: clamp(34px, 4.3vw, 66px); line-height: 1.24; letter-spacing: -.025em; color: var(--navy); }
.say > span, .say-more > span { margin-right: .24em; }
.say-more { display: inline; }
.nb { white-space: nowrap; margin-right: .24em; }
.say .chip { display: inline-block; vertical-align: baseline; max-width: 100%; border: 0; border-radius: 999px; background-color: var(--sky); box-shadow: inset 0 0 0 1.5px rgba(27,53,86,.14); font: inherit; font-weight: 500; letter-spacing: inherit; line-height: 1.1; color: var(--navy); padding: .06em 1.4em .1em .55em; margin: 0; transition: background-color .2s, box-shadow .2s; cursor: pointer; text-align: left; white-space: normal; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3556' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .5em center; background-size: .45em; }
.say .chip:hover { background-color: #D4E3F6; box-shadow: inset 0 0 0 1.5px rgba(27,53,86,.3); }
.say .chip:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.say .chip-empty { color: var(--blue); font-weight: 400; }
.say .dot { margin-right: .24em; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; max-width: 760px; animation: say-in .35s ease both; }
.choices-label { flex-basis: 100%; font-size: 17px; color: var(--grey); font-weight: 300; margin-bottom: 2px; }
.choice { padding: 14px 24px; border-radius: 999px; border: 1px solid #C3D2E6; background: var(--white); color: var(--navy); font-size: 18px; font-weight: 400; line-height: 1.2; text-align: left; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.choice:hover { background: var(--sky); border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.choice[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.say select, .say input {
  display: inline-block; vertical-align: baseline; max-width: 100%;
  background-color: var(--sky); border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(27,53,86,.14);
  font: inherit; font-weight: 500; letter-spacing: inherit; line-height: 1.05; padding: .06em .5em .1em .55em; margin: 0;
  appearance: none; -webkit-appearance: none; text-overflow: ellipsis; color: var(--navy); transition: background-color .2s, box-shadow .2s;
}
.say select { padding-right: 1.5em; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3556' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .5em center; background-size: .5em; }
.say select:has(option[value=""]:checked) { color: var(--blue); }
.say input::placeholder { color: var(--blue); opacity: .8; font-weight: 400; }
.say select:hover, .say input:hover { background-color: #D4E3F6; box-shadow: inset 0 0 0 1.5px rgba(27,53,86,.3); }
.say select:focus-visible, .say input:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.say-more { animation: say-in .5s ease both; }
@keyframes say-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-hint { margin-top: 36px; max-width: 50ch; color: var(--grey); font-weight: 300; font-size: 18px; }
.hero-hint a { font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--navy); }

.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 36px; background: var(--sky); box-shadow: var(--shadow); transition: opacity .25s ease; }
.hero-photo img.swap { opacity: 0; }
.hero-photo figcaption { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: 84%; padding: 9px 18px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); color: var(--navy); font-size: 14px; font-weight: 400; text-align: center; }
@media (max-width: 960px) {
  .hero { padding: 24px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo img { aspect-ratio: 16/10; border-radius: 28px; }
}

/* risposta composta dalla frase */
.brief { padding: 0 0 40px; animation: say-in .5s ease both; }
.brief .wrap { }
.brief-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; padding: 64px; background: var(--mist); border-radius: 48px; }
.brief-body h2 { margin-bottom: 18px; }
.brief-body > h3 { margin: 40px 0 12px; font-size: 16px; font-weight: 500; color: var(--blue); }
.brief-form { position: sticky; top: 104px; }
.brief-body .steps h3 { font-size: 19px; color: var(--navy); margin: 0; }
.brief-text { font-size: 21px; font-weight: 300; max-width: 52ch; line-height: 1.55; color: var(--ink); }
.plain { margin: 18px 0 0; list-style: none; display: grid; gap: 10px; max-width: 62ch; }
.plain li { padding-left: 22px; position: relative; font-weight: 300; }
.plain li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.brief-body .textlink { margin-top: 32px; }
@media (max-width: 960px) { .brief-grid { grid-template-columns: 1fr; gap: 40px; padding: 32px 22px; border-radius: 32px; } }

/* ---------- Sezioni ---------- */
.sec { padding: 104px 0; }
.sec-tight { padding: 40px 0 88px; }
.sec-concrete { background: var(--mist); }
.sec-ink { background: var(--navy-deep); color: rgba(255,255,255,.88); border-radius: 56px 56px 0 0; }
.sec-ink h2 { color: var(--white); }
.sec-ink .lead-sm { color: rgba(255,255,255,.75); }
.h2-gap { margin-top: 80px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .sec { padding: 64px 0; } .two-col { grid-template-columns: 1fr; gap: 44px; } .sec-ink { border-radius: 36px 36px 0 0; } }

/* elenco con frecce tonde */
.ledger { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr) auto; align-items: center; gap: 24px; width: 100%; padding: 26px 24px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; border-radius: 0; transition: background .2s, border-radius .2s; }
.ledger .row:last-child { border-bottom: 1px solid var(--line); }
.row:hover { background: var(--mist); border-radius: 28px; }
.row-t { font-weight: 300; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.02em; color: var(--navy); }
.row-s { color: var(--grey); font-size: 16px; font-weight: 300; }
.row-go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--navy); font-size: 0; background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3556' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); transition: background-color .2s, transform .2s; }
.row:hover .row-go { background-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); transform: translateX(4px); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr auto; gap: 4px 14px; padding: 22px 8px; } .row-s { grid-column: 1; grid-row: 2; } .row-go { grid-row: 1 / span 2; grid-column: 2; width: 42px; height: 42px; } }

/* scheda aziendale */
.plate { background: var(--navy); color: var(--white); border-radius: 40px; padding: 12px; box-shadow: var(--shadow); }
.plate-head { padding: 26px 28px 20px; font-weight: 200; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.plate dl > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 15px 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: 16px; font-weight: 300; }
.plate dt { font-weight: 400; color: #9FB8DB; }
@media (max-width: 520px) { .plate dl > div { grid-template-columns: 1fr; gap: 0; } .plate-head { font-size: 26px; } }

.wall { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 14px; }
.wall img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; }
.wall img:first-child { grid-row: 1 / span 2; }
.wall img:nth-child(4) { grid-column: 2 / span 2; }
.wall-more { margin-top: 32px; }
@media (max-width: 720px) { .wall { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 150px 150px; } .wall img:first-child { grid-column: 1 / span 2; grid-row: 1; } .wall img:nth-child(4) { grid-column: 1 / span 2; } }

/* ============================================================
   PAGINE DI DETTAGLIO
   ============================================================ */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14.5px; color: var(--grey); margin-bottom: 28px; font-weight: 300; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.phero { padding: 56px 0 72px; }
.phero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.phero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.phero-photo img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: 36px; box-shadow: var(--shadow); }
.phero-plain { padding-bottom: 72px; }
/* la "e" del logo nelle testate di tutte le pagine */
.phero { position: relative; overflow: hidden; }
.phero::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .05; background: url(logo-e.svg) no-repeat left -2% center / auto 100%; }
.phero-plain::before { background-position: right 6% center; }
.phero > .wrap { position: relative; z-index: 1; }
@media (max-width: 720px) { .phero { padding: 28px 0 40px; } .phero-plain { padding-bottom: 28px; } .phero-photo img { aspect-ratio: 16/9; } }
@media (max-width: 960px) { .phero-grid { grid-template-columns: 1fr; gap: 36px; } .phero-photo { order: -1; } .phero-photo img { aspect-ratio: 16/11; border-radius: 28px; } }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 72px; align-items: start; padding-top: 56px; padding-bottom: 24px; }
.cols-main > section + section, .cols-main > section + .note, .cols-main > .note + section { margin-top: 88px; }
.cols-aside { position: sticky; top: 104px; }
@media (max-width: 1060px) { .cols { grid-template-columns: 1fr; gap: 56px; } .cols-aside { position: static; } }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { padding: 12px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-weight: 400; font-size: 15.5px; color: var(--navy); text-align: left; transition: all .2s; }
.tab:hover { background: var(--mist); border-color: #C6D3E4; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.panel { display: none; padding: 36px 40px; background: var(--mist); border-radius: 32px; }
.panel.show { display: block; animation: say-in .3s ease both; }
.panel > p { font-size: 22px; font-weight: 300; line-height: 1.5; max-width: 50ch; color: var(--navy); }
.panel ul { margin-top: 24px; list-style: none; max-width: 66ch; }
.panel li { padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; font-weight: 300; }
.panel li b { font-weight: 500; }
.panel .textlink { margin-top: 28px; }
@media (max-width: 560px) { .panel { padding: 26px 22px; } .panel > p { font-size: 19px; } }

.steps { list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--navy); display: grid; place-items: center; font-weight: 300; font-size: 21px; color: var(--navy); }
.steps h3 { grid-column: 2; }
.steps p { grid-column: 2; color: var(--grey); max-width: 58ch; margin-top: 4px; font-weight: 300; }
.steps-sm li { grid-template-columns: 52px 1fr; padding: 16px 0; }
.steps-sm li::before { width: 38px; height: 38px; font-size: 17px; }
.steps-sm p { font-size: 16px; }

.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checks li { position: relative; padding: 18px 20px 18px 62px; background: var(--mist); border-radius: 22px; font-size: 16px; line-height: 1.4; font-weight: 300; color: var(--ink); }
.checks li::before { content: ''; position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.brief .checks li { background: var(--white); }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }

.sec-next { margin-top: 64px; padding-bottom: 24px; }

/* tabella SOA e documenti */
.lead-sm + .soa { margin-top: 0; }
.soa { width: 100%; border-collapse: collapse; font-size: 16px; }
.soa th, .soa td { text-align: left; padding: 14px 14px 14px 0; border-top: 1px solid var(--line); vertical-align: baseline; font-weight: 300; }
.soa thead th { border-top: 0; font-size: 14px; font-weight: 500; color: var(--blue); }
.soa tbody th { font-weight: 300; font-size: 26px; color: var(--navy); letter-spacing: -.02em; }
.soa tbody tr:last-child th, .soa tbody tr:last-child td { border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .soa thead { display: none; } .soa tr { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; padding: 12px 0; border-top: 1px solid var(--line); } .soa th, .soa td { border: 0 !important; padding: 0; } .soa td:nth-child(3) { grid-column: 1 / span 2; } }
.docs { border-top: 1px solid var(--line); }
.docs > div { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; }
.docs dt { font-weight: 500; font-size: 20px; color: var(--navy); }
.docs dd { color: var(--grey); font-size: 16px; max-width: 62ch; font-weight: 300; }
.docs-dark { border-top-color: rgba(255,255,255,.2); }
.docs-dark > div { border-bottom-color: rgba(255,255,255,.2); }
.docs-dark dt { color: var(--white); }
.docs-dark dd { color: rgba(255,255,255,.75); }
@media (max-width: 760px) { .docs > div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Form ---------- */
.qform { background: var(--white); border: 1px solid var(--line); border-radius: 36px; padding: 34px; box-shadow: var(--shadow); }
.qform h3 { font-weight: 300; font-size: 32px; line-height: 1.1; letter-spacing: -.02em; }
.qform-intro { margin: 10px 0 24px; font-size: 16px; color: var(--grey); font-weight: 300; }
.f { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.f label { font-size: 14.5px; font-weight: 500; color: var(--navy); }
.f input[type=text], .f input[type=email], .f input[type=tel], .f input[type=file], .f select, .f textarea { width: 100%; padding: 14px 20px; background: var(--white); border: 1px solid #C9D5E4; border-radius: 18px; font-size: 16px; font-weight: 300; transition: border-color .2s, box-shadow .2s; }
.f textarea { border-radius: 22px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(63,111,181,.18); }
.f textarea { min-height: 124px; resize: vertical; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .f2 { grid-template-columns: 1fr; } .qform { padding: 26px 22px; border-radius: 28px; } }
.priv { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin: 8px 0 22px; line-height: 1.45; color: var(--grey); font-weight: 300; }
.priv input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.status { margin-top: 14px; font-weight: 500; font-size: 15px; }
.qform-alt { margin-top: 18px; font-size: 15px; color: var(--grey); font-weight: 300; text-align: center; }
.qform-alt a { font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--navy); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pill span { display: block; padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 400; font-size: 15.5px; color: var(--navy); transition: all .2s; }
.pill input:hover + span { background: var(--mist); border-color: #C6D3E4; }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Azienda ---------- */
.prose p { max-width: 60ch; margin-bottom: 20px; color: var(--grey); font-size: 19px; line-height: 1.7; font-weight: 300; }
.prose strong { font-weight: 500; color: var(--navy); }
blockquote { margin-top: 40px; padding: 34px 38px; background: var(--sky); border-radius: 36px; font-weight: 300; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.25; letter-spacing: -.02em; color: var(--navy); }
blockquote cite { display: block; margin-top: 14px; font-style: normal; font-weight: 400; font-size: 14.5px; color: var(--blue); letter-spacing: 0; }
.tl { list-style: none; }
.tl li { display: grid; grid-template-columns: 170px 1fr 2fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line); align-items: baseline; }
.tl li:last-child { border-bottom: 1px solid var(--line); }
.tl b { font-weight: 200; font-size: 58px; line-height: .95; color: var(--blue); letter-spacing: -.03em; }
.tl p { color: var(--grey); font-size: 17px; font-weight: 300; }
@media (max-width: 760px) { .tl li { grid-template-columns: 1fr; gap: 4px; } }
.vals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vals > div { padding: 38px; background: var(--mist); border-radius: 36px; }
.vals h3 { font-weight: 300; font-size: 30px; letter-spacing: -.02em; margin-bottom: 10px; }
.vals p { color: var(--grey); max-width: 44ch; font-weight: 300; }
.vals-3 { grid-template-columns: repeat(3, 1fr); }
.sec-concrete .vals > div { background: var(--white); }
@media (max-width: 860px) { .vals, .vals-3 { grid-template-columns: 1fr; } .vals > div { padding: 30px 26px; border-radius: 28px; } }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { padding: 10px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-weight: 400; font-size: 15px; color: var(--navy); transition: all .2s; }
.filters button:hover { background: var(--mist); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 14px; }
.gal figure { position: relative; aspect-ratio: 4/3; border-radius: 28px; cursor: zoom-in; overflow: hidden; background: var(--sky); }
.gal figure.tall { grid-row: span 2; aspect-ratio: auto; }
.gal figure[hidden] { display: none; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal figure:hover img { transform: scale(1.04); }
.gal figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--navy); font-size: 13.5px; }
@media (max-width: 900px) { .gal { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 520px) { .gal { grid-template-columns: 1fr; } .gal figure.tall { grid-row: auto; aspect-ratio: 4/5; } }
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vids video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--navy-deep); border-radius: 28px; }
@media (max-width: 900px) { .vids { grid-template-columns: 1fr; } }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(17,38,65,.94); display: none; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 28px; }

/* ---------- Contatti ---------- */
.cgrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 960px) { .cgrid { grid-template-columns: 1fr; gap: 56px; } }
.cform fieldset { border: 0; margin-bottom: 36px; min-width: 0; }
.cform legend { display: flex; align-items: center; gap: 14px; font-weight: 400; font-size: 21px; color: var(--navy); margin-bottom: 16px; }
.cform legend i { font-style: normal; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--navy); font-size: 15px; font-weight: 400; }
.who-call { background: var(--navy); color: var(--white); padding: 34px; border-radius: 36px; margin-bottom: 28px; display: grid; gap: 6px; }
.who-call p { color: #9FB8DB; font-weight: 400; }
.who-call a { font-weight: 200; font-size: clamp(34px, 4vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
.who-call span { font-size: 14.5px; color: rgba(255,255,255,.65); font-weight: 300; }
.who-list { margin-bottom: 40px; border-top: 1px solid var(--line); }
.who-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.who-list dt { font-size: 14.5px; color: var(--grey); font-weight: 300; margin-bottom: 4px; }
.who-list dd { display: grid; }
.who-list a { font-weight: 400; font-size: 18px; color: var(--navy); overflow-wrap: anywhere; }
.who-list a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.hazard { display: none; }
.foot { background: var(--navy-deep); color: var(--white); padding: 88px 0 32px; margin-top: 104px; border-radius: 56px 56px 0 0; }
.sec-ink + .foot { margin-top: 0; border-radius: 0; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.16); }
.foot-q { font-weight: 300; font-size: 20px; color: #9FB8DB; }
.foot-tel { display: block; font-weight: 200; font-size: clamp(46px, 8vw, 112px); line-height: 1; letter-spacing: -.035em; margin: 10px 0 18px; }
.foot-tel:hover { color: #BFD3F0; }
.foot-small { max-width: 46ch; color: rgba(255,255,255,.7); font-size: 16px; font-weight: 300; }
.foot .btn-y { background: var(--white); color: var(--navy); border-color: var(--white); }
.foot .btn-y:hover { background: var(--sky); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding: 52px 0; }
.foot h4 { font-size: 15px; color: #9FB8DB; margin-bottom: 16px; font-weight: 400; }
.foot ul { list-style: none; display: grid; gap: 11px; font-size: 16px; color: rgba(255,255,255,.8); font-weight: 300; }
.foot li a:hover { color: #BFD3F0; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14px; color: rgba(255,255,255,.6); font-weight: 300; }
.foot-links { display: flex; gap: 22px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 32px; } .foot { margin-top: 64px; border-radius: 36px 36px 0 0; padding-top: 60px; } }

/* leggibilità: i pesi sottili restano solo sui titoli grandi */
.lead, .lead-sm, .hero-hint, .brief-text, .plain li, .panel > p, .panel li, .steps p, .checks li, .soa th, .soa td, .docs dd, .qform-intro, .priv, .qform-alt, .prose p, .tl p, .vals p, .row-s, .who-call span, .who-list dt, .foot-small, .foot ul, .foot-bottom, .crumbs, .dd-panel span, .foot-q, .choices-label, .plate dl > div { font-weight: 400; }
.f input[type=text], .f input[type=email], .f input[type=tel], .f input[type=file], .f select, .f textarea { font-weight: 400; }
.soa tbody th { font-weight: 300; }
.plate dt { font-weight: 500; }
.hero-photo figcaption { max-width: 92%; }

.row-2 { grid-template-columns: 1fr auto; }
.row-dl { width: auto; height: auto; padding: 10px 22px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--navy); background-image: none; }
.row:hover .row-dl { background-color: var(--navy); color: var(--white); background-image: none; }
.h2-sm { font-size: clamp(24px, 2.4vw, 32px); margin: 44px 0 14px; }
.h2-sm:first-child { margin-top: 0; }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.muted-s { margin-top: 40px; font-size: 14.5px; }

/* link "salta al contenuto" */
.skip { position: absolute; left: 16px; top: -80px; z-index: 500; padding: 12px 20px; background: var(--navy); color: var(--white); border-radius: 999px; font-weight: 500; }
.skip:focus { top: 12px; }
.hero-hint .go-answer { display: inline-block; margin-top: 8px; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--navy); }

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