/* EasyAI — sito beta
   Layout: colonna centrale fino a 1200px, sezioni numerate come nella brochure;
   il quadratino oliva del punto di "ai.it" è il segno che ritorna in ogni titolo. */
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-display: swap; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 800; font-display: swap; src: url("../fonts/outfit-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }

:root {
  --ink: #1D3440;        /* testo */
  --pet: #44687D;        /* blu petrolio del logo */
  --az: #7CC0EF;         /* azzurro del logo */
  --az-tint: #E8F3FC;
  --az-soft: #F4F9FE;
  --ol: #AA9E2B;         /* oliva: solo il quadratino */
  --ol-tint: #F3F0D8;
  --mut: #4F6573;
  --line: #D6E4EE;
  --bg: #FFFFFF;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --max: 1200px;
  --r: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pet); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--az); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- segni ricorrenti ---------- */
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 3px; background: var(--ol); flex-shrink: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--pet); }
.lead { font-size: 19px; color: var(--mut); max-width: 62ch; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--pet); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--pet); color: var(--ink); }
.btn-az { background: var(--az); color: var(--ink); }
.btn-az:hover { background: #fff; color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check svg { flex-shrink: 0; margin-top: 4px; }
.icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--az-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo img { width: 132px; height: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--az-tint); }
.nav .btn { padding: 10px 18px; font-size: 15px; margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--ink); }
.nav a.btn-primary:hover { background: var(--pet); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 17px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 88px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin-top: 22px; }
.hero h1 span { color: var(--pet); display: block; }
.hero .lead { margin-top: 26px; font-size: 20px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--az-tint); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip { position: absolute; left: 18px; bottom: 18px; right: 18px; background: #fff; border-radius: 16px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(29,52,64,.12); }
.hero h1, .hero .lead, .hero-cta, .hero-photo { animation: sali .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .lead { animation-delay: .08s; } .hero-cta { animation-delay: .16s; } .hero-photo { animation-delay: .1s; }
@keyframes sali { from { transform: translateY(14px); } to { transform: none; } }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero-photo { aspect-ratio: 4 / 3; } }

/* mosaico delle applicazioni */
.mosaico { padding: 8px 0 72px; }
.mosaico-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile { --c: var(--az); --t: var(--ink); background: var(--c); color: var(--t); border-radius: 18px; padding: 18px 18px 16px; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(29,52,64,.16); color: var(--t); }
.tile strong { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.tile span { font-size: 13.5px; font-weight: 500; opacity: .9; }
.tile .freccia { position: absolute; top: 16px; right: 16px; opacity: 0; transform: translateX(-4px); transition: all .25s ease; }
.tile:hover .freccia, .tile:focus-visible .freccia { opacity: 1; transform: none; }
.tile.pet { --c: var(--pet); --t: #fff; } .tile.tint { --c: var(--az-tint); } .tile.ol { --c: var(--ol); }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { min-height: 96px; } }

/* ---------- sezioni ---------- */
.sezione { padding: 96px 0; }
.sezione.tinta { background: var(--az-soft); border-block: 1px solid var(--line); }
.sez-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 52px; }
.sez-head h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; margin-top: 16px; }
.sez-head .lead { font-size: 18px; }
@media (max-width: 860px) { .sez-head { grid-template-columns: 1fr; gap: 18px; } .sezione { padding: 72px 0; } }

/* 01 perché adesso */
.adesso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.citazione { background: var(--az); border-radius: var(--r); padding: 36px 40px; }
.citazione p { font-family: var(--display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin-top: 16px; }
.foto-larga { border-radius: var(--r); overflow: hidden; margin-top: 24px; aspect-ratio: 2 / 1; }
.foto-larga img { width: 100%; height: 100%; object-fit: cover; }
.punti { display: grid; gap: 26px; }
.punto { display: flex; gap: 16px; }
.punto h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.punto p { color: var(--mut); font-size: 16px; margin-top: 4px; }
.punti-titolo { font-family: var(--display); font-size: 24px; font-weight: 700; margin-bottom: 6px; }
@media (max-width: 860px) { .adesso { grid-template-columns: 1fr; } }

/* 02 approccio */
.confronto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.colonna { border-radius: var(--r); padding: 28px 30px 16px; }
.colonna h3 { font-size: 21px; font-weight: 700; display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.colonna li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid; font-size: 16.5px; }
.colonna.generico { background: #F3F5F7; color: var(--mut); }
.colonna.generico li { border-color: #DDE3E8; }
.colonna.tuo { background: var(--az-tint); border: 2px solid var(--az); }
.colonna.tuo li { border-color: #C5DFF3; }
.affermazione { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; margin: 64px 0 40px; max-width: 30ch; }
.affermazione span { color: var(--pet); }
.tre { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tre > div { border-top: 3px solid var(--az); padding-top: 16px; }
.tre h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.tre p { color: var(--mut); font-size: 16px; margin-top: 6px; }
@media (max-width: 760px) { .confronto, .tre { grid-template-columns: 1fr; } }

/* 03 consulenza */
.consulenza { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.comprende { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; display: grid; gap: 11px; }
.comprende h3 { font-size: 20px; font-weight: 700; display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.passi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.passo .num { display: flex; align-items: center; gap: 10px; }
.passo .num b { width: 48px; height: 48px; border-radius: 14px; background: var(--az); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 21px; flex-shrink: 0; }
.passo:last-child .num b { background: var(--pet); color: #fff; }
.passo .num i { height: 2px; flex-grow: 1; background: var(--line); }
.passo h3 { font-size: 18px; font-weight: 600; margin-top: 14px; letter-spacing: -0.01em; }
.passo p { color: var(--mut); font-size: 15px; margin-top: 6px; }
@media (max-width: 960px) { .consulenza { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .passi { grid-template-columns: repeat(2, minmax(0, 1fr)); } .passo .num i { display: none; } }

/* 04 know-how */
.voce { background: var(--az); border-radius: 26px; padding: 40px 44px; display: grid; grid-template-columns: minmax(0, .8fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.voce h3 { font-size: 30px; font-weight: 700; display: flex; gap: 12px; align-items: flex-start; }
.voce h4 { font-size: 19px; font-weight: 700; }
.voce p { font-size: 15.5px; margin-top: 8px; }
.principi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 36px; margin-top: 56px; }
@media (max-width: 960px) { .voce { grid-template-columns: 1fr 1fr; } .principi { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .voce { grid-template-columns: 1fr; padding: 30px 26px; } .principi { grid-template-columns: 1fr; } }

/* 05 assistente */
.assistente { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.assistente .punti { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; margin-top: 36px; }
.telefono { background: var(--az-tint); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; box-shadow: 0 30px 60px rgba(29,52,64,.12); max-width: 420px; justify-self: end; width: 100%; }
.tel-head { background: var(--pet); color: #fff; padding: 16px 20px; display: flex; gap: 12px; align-items: center; }
.tel-head .av { width: 38px; height: 38px; border-radius: 50%; background: var(--az); display: flex; align-items: center; justify-content: center; }
.tel-head b { font-family: var(--display); font-weight: 600; display: block; line-height: 1.2; }
.tel-head small { color: #D6EAF8; font-size: 12px; }
.tel-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ora { align-self: center; font-size: 12px; color: var(--mut); background: #fff; border-radius: 10px; padding: 2px 10px; }
.bolla { max-width: 84%; border-radius: 18px 18px 18px 4px; padding: 10px 14px; font-size: 14.5px; line-height: 1.45; background: #fff; border: 1px solid var(--line); align-self: flex-start; }
.bolla.mia { align-self: flex-end; background: var(--az); border: 0; border-radius: 18px 18px 4px 18px; }
.scrive { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.scrive i { width: 7px; height: 7px; border-radius: 50%; background: var(--pet); opacity: .35; animation: pulsa 1.2s infinite; }
.scrive i:nth-child(2) { animation-delay: .2s; } .scrive i:nth-child(3) { animation-delay: .4s; }
@keyframes pulsa { 50% { opacity: 1; transform: translateY(-2px); } }
@media (max-width: 960px) { .assistente { grid-template-columns: 1fr; } .telefono { justify-self: start; } }
@media (max-width: 600px) { .assistente .punti { grid-template-columns: 1fr; } }

/* 06 progetti */
.filtri { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filtri button { font: 600 15px var(--body); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.filtri button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.griglia { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29,52,64,.12); color: var(--ink); }
.card .foto { aspect-ratio: 16 / 10; overflow: hidden; background: var(--az-tint); }
.card .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .foto img { transform: scale(1.04); }
.card .corpo { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card h3 { font-size: 24px; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.card .tag { font-family: var(--display); font-weight: 600; color: var(--pet); font-size: 17px; line-height: 1.3; }
.card p { color: var(--mut); font-size: 15.5px; }
.card .vai { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--pet); display: inline-flex; gap: 8px; align-items: center; }
.card[hidden] { display: none; }
@media (max-width: 960px) { .griglia { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .griglia { grid-template-columns: 1fr; } }
.altro-settore { border: 2px dashed var(--az); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; justify-content: center; background: var(--az-soft); }
.altro-settore div { flex: 0 0 auto; }
.altro-settore h3 { font-size: 24px; font-weight: 700; }
.altro-settore p { color: var(--mut); margin-top: 6px; }
.sistema { margin-top: 56px; padding: 36px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; display: grid; gap: 26px; }
.sistema > div > h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin-top: 12px; letter-spacing: -0.01em; }
.sistema-cta { display: flex; gap: 18px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--az-soft); border-radius: 14px; padding: 20px 24px; }
.sistema-cta p { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--ink); max-width: 46ch; }
@media (max-width: 600px) { .sistema { padding: 26px 22px; } .sistema-cta { padding: 18px; } .sistema-cta .btn { width: 100%; justify-content: center; } }

/* 07 chi sono */
.chisono { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.chisono .ritratto { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; }
.chisono .ritratto img { width: 100%; height: 100%; object-fit: cover; }
.chisono h2 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; margin-top: 16px; }
.ruolo { font-size: 14px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--pet); margin-top: 10px; }
.motto { border-left: 4px solid var(--az); padding-left: 20px; margin: 28px 0; font-family: var(--display); font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.bio { display: grid; gap: 14px; max-width: 64ch; }
.clienti { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.clienti p { color: var(--mut); font-size: 15px; margin-top: 10px; }
@media (max-width: 860px) { .chisono { grid-template-columns: 1fr; } .chisono .ritratto { aspect-ratio: 16 / 10; } }

/* 08 contatti */
.contatti { background: var(--az); }
.contatti .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.contatti h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin-top: 18px; }
.contatti .lead { color: var(--ink); margin-top: 22px; }
.contatti .eyebrow { color: var(--ink); }
.contatti .dot { background: var(--ink); }
.box-contatti { background: #fff; border-radius: 24px; padding: 32px; display: grid; gap: 24px; }
.inizio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.inizio b { width: 36px; height: 36px; border-radius: 11px; background: var(--az-tint); color: var(--pet); display: flex; align-items: center; justify-content: center; font-family: var(--display); }
.inizio h3 { font-size: 17px; font-weight: 600; margin-top: 10px; }
.inizio p { color: var(--mut); font-size: 14.5px; margin-top: 4px; }
.recapiti { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; }
.recapiti a, .recapiti span { font-size: 17px; }
.recapiti .riga { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.copia { font: 600 13px var(--body); border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; cursor: pointer; color: var(--pet); }
@media (max-width: 860px) { .contatti .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .inizio { grid-template-columns: 1fr; } }

/* footer */
.footer { padding: 40px 0 56px; font-size: 14px; color: var(--mut); }
.footer .wrap { display: flex; gap: 24px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.footer img { width: 110px; height: auto; }
.footer details { max-width: 60ch; }
.footer summary { cursor: pointer; color: var(--pet); font-weight: 600; }
.footer details p { margin-top: 8px; }

/* ---------- vista progetto ---------- */
.progetto[hidden], .home[hidden] { display: none; }
.prog-hero { padding: 40px 0 72px; }
.indietro { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 600; margin-bottom: 28px; }
.prog-hero .wrap > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.prog-foto { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
.prog-foto img { width: 100%; height: 100%; object-fit: cover; }
.prog-hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; letter-spacing: -0.035em; display: flex; gap: 16px; align-items: center; margin-top: 18px; }
.progetto h1:focus { outline: none; }
.prog-hero h1 .dot { width: 18px; height: 18px; border-radius: 5px; }
.prog-hero .tagline { font-family: var(--display); font-size: clamp(21px, 2.2vw, 26px); font-weight: 600; color: var(--pet); margin-top: 14px; line-height: 1.25; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chips span { background: var(--az-tint); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; }
.problema { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.problema h2 { font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--pet); font-weight: 700; margin-bottom: 8px; }
.problema p { font-size: 16.5px; }
.funzioni { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
.funzioni > div { border-top: 2px solid var(--az); padding-top: 16px; }
.funzioni h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.funzioni p { color: var(--mut); font-size: 15.5px; margin-top: 6px; }
.doppio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ottieni { background: var(--az); border-radius: var(--r); padding: 30px 32px; }
.misura { border: 2px dashed var(--az); border-radius: var(--r); padding: 28px 30px; }
.ottieni h3, .misura h3 { font-size: 22px; font-weight: 700; display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.ottieni ul, .misura ul { display: grid; gap: 10px; }
.nota { color: var(--mut); font-size: 14px; margin-top: 14px; }
.prog-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 64px; }
.prog-nav a { text-decoration: none; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.prog-cta { background: var(--ink); color: #fff; border-radius: 26px; padding: 40px 44px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 64px; }
.prog-cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: #fff; max-width: 22ch; }
@media (max-width: 860px) { .prog-hero .wrap > div { grid-template-columns: 1fr; } .prog-foto { aspect-ratio: 16 / 10; } .problema, .doppio { grid-template-columns: 1fr; } .funzioni { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .funzioni { grid-template-columns: 1fr; } .passi.prog { grid-template-columns: 1fr; } }
