/* Sky Angels · Torino e Cuneo
   Sistema visivo: cielo (gradiente blu e nuvole), titoli Outfit maiuscoli col punto blu notte,
   testo Inter, bottoni a pillola. Elemento che dà carattere: l'aureola (ellisse) ricorrente. */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --blue: #0055ff;
  --blue-deep: #003fd1;
  --sky-1: #0a5cff;
  --sky-2: #2f8dff;
  --sky-3: #7cc6ff;
  --ice: #d6f1ff;
  --navy: #0b1b3a;
  --bg: #ffffff;
  --bg-soft: #f2f8ff;
  --text: #0b1b3a;
  --muted: #44536f;
  --line: #dbe7f7;
  --card: #ffffff;
  --shadow: 0 18px 50px -20px rgba(11, 27, 58, .28);
  --radius: 28px;
  --bar-h: 76px;
  --wrap: 1200px;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06112a;
    --bg-soft: #0b1b3a;
    --text: #e8f1ff;
    --muted: #b3c3dd;
    --line: #1d3260;
    --card: #0f2349;
    --shadow: 0 18px 50px -20px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #ffb800; outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 999px; font-weight: 650; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- Titoli ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 850; line-height: 1.02; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 9vw, 4.6rem); text-transform: uppercase; overflow-wrap: break-word; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 750; line-height: 1.15; }
.dot { color: var(--navy); }
.on-dark .dot, .hero .dot { color: var(--navy); }
@media (prefers-color-scheme: dark) { .section .dot { color: var(--sky-3); } }
.hl { color: var(--navy); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--sky-3); } }
.eyebrow::before { content: ""; width: 26px; height: 9px; border: 2.5px solid currentColor; border-radius: 50%; flex: none; } /* l'aureola */
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 62ch; }

/* ---------- Bottoni ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 26px 8px 10px; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s; }
.btn .ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.btn .arr { transition: transform .2s ease; }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 10px 30px -10px rgba(0, 30, 120, .45); }
.btn-white .ic { background: #25d366; color: #fff; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -12px rgba(0, 85, 255, .7); }
.btn-blue .ic { background: rgba(255, 255, 255, .18); }
.btn-ghost { background: transparent; color: inherit; border: 2px solid currentColor; padding: 8px 24px; }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover .arr { transform: translateX(4px); }
}

/* ---------- Barra ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h); }
.bar-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: background-color .3s, box-shadow .3s; }
.bar.scrolled { background: rgba(10, 70, 230, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 6px 30px -12px rgba(0, 20, 80, .5); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-height: 44px; }
.logo svg { width: 40px; height: 40px; }
.logo b { font-family: var(--display); font-weight: 850; font-size: 19px; letter-spacing: .06em; line-height: 1; }
.logo small { display: block; font-family: var(--body); font-weight: 600; font-size: 14px; letter-spacing: .02em; opacity: .9; margin-top: 3px; }
.logo .halo { transform-origin: 50% 20%; }
@media (prefers-reduced-motion: no-preference) {
  .logo .halo { animation: halo 4s ease-in-out infinite; }
  @keyframes halo { 50% { transform: translateY(-2px); } }
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a, .nav button.lnk { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, .18); }
@media (hover: hover) and (pointer: fine) { .nav a:hover, .nav button.lnk:hover { background: rgba(255, 255, 255, .14); } }
.menu-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; margin-left: 6px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) { .nav .hide-m, .nav button.lnk.hide-m { display: none; } }

/* ---------- Menu a tutto schermo ---------- */
.menu { position: fixed; inset: 0; z-index: 45; color: #fff; padding: calc(var(--bar-h) + 28px) 0 40px; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s;
  background: radial-gradient(90% 60% at 100% 0%, rgba(47, 141, 255, .28), transparent 60%), var(--navy); }
.menu-open .menu { visibility: visible; opacity: 1; }
.menu-open .bar, .menu-open .bar.scrolled { background: var(--navy); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
.menu-open { overflow: hidden; }
.menu-in { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: start; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-3); margin: 0 0 14px; }
.menu-label::before { content: ""; width: 22px; height: 8px; border: 2px solid currentColor; border-radius: 50%; flex: none; }
.menu-sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-sectors a { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; border-radius: 20px; text-decoration: none; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background-color .2s, border-color .2s, transform .2s; }
.menu-sectors a[aria-current="page"] { border-color: var(--sky-3); background: rgba(124, 198, 255, .12); }
.menu .mi { width: 44px; height: 44px; border-radius: 14px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--sky-2)); }
.menu .mi svg { width: 22px; height: 22px; }
.menu .mt { min-width: 0; }
.menu b { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.menu small { display: block; font-size: 14px; line-height: 1.35; color: #b9c8e6; margin-top: 3px; }
.menu-side { display: grid; gap: 30px; }
.menu-side p { margin: 0; }
.menu-services a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); text-decoration: none; }
.menu-services a[aria-current="page"] b { color: var(--sky-3); }
.menu-about p:not(.menu-label) { font-size: 15px; line-height: 1.55; color: #cfdcf3; margin-bottom: 22px; }
.menu-zones { display: flex; flex-wrap: wrap; gap: 6px; }
.menu-zones li { font-size: 14px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #dbe6fb; }
@media (hover: hover) and (pointer: fine) {
  .menu-sectors a:hover { background: rgba(255, 255, 255, .09); border-color: rgba(124, 198, 255, .6); transform: translateY(-2px); }
  .menu-services a:hover b { color: var(--sky-3); }
}
@media (prefers-reduced-motion: no-preference) {
  .menu-open .menu-sectors li, .menu-open .menu-side > * { animation: menu-in .45s cubic-bezier(.2, .8, .2, 1) both; }
  .menu-open .menu-sectors li:nth-child(2) { animation-delay: .03s; } .menu-open .menu-sectors li:nth-child(3) { animation-delay: .06s; }
  .menu-open .menu-sectors li:nth-child(4) { animation-delay: .09s; } .menu-open .menu-sectors li:nth-child(5) { animation-delay: .12s; }
  .menu-open .menu-sectors li:nth-child(6) { animation-delay: .15s; } .menu-open .menu-sectors li:nth-child(7) { animation-delay: .18s; }
  .menu-open .menu-sectors li:nth-child(8) { animation-delay: .21s; }
  .menu-open .menu-side > :nth-child(1) { animation-delay: .12s; } .menu-open .menu-side > :nth-child(2) { animation-delay: .2s; } .menu-open .menu-side > :nth-child(3) { animation-delay: .28s; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(14px); } }
}
@media (max-width: 960px) { .menu-in { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 600px) { .menu-sectors { grid-template-columns: 1fr; } .menu-sectors a { min-height: 68px; } }

/* ---------- Cielo (hero e chiusura) ---------- */
.sky { position: relative; color: #fff; background: linear-gradient(180deg, #0a4ee6 0%, #1667f0 50%, #1c66e4 100%); overflow: clip; isolation: isolate; }
.sky .clouds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cloud { position: absolute; width: 520px; height: 180px; opacity: .55; filter: blur(2px); }
.cloud ellipse { fill: #fff; }
.c1 { top: 8%; left: -6%; } .c2 { top: 22%; right: -10%; width: 640px; opacity: .4; } .c3 { bottom: 4%; left: 20%; width: 760px; opacity: .5; } .c4 { top: 55%; left: -14%; width: 420px; opacity: .35; }
@media (prefers-reduced-motion: no-preference) {
  .c1 { animation: drift 46s linear infinite alternate; }
  .c2 { animation: drift 60s linear infinite alternate-reverse; }
  .c3 { animation: drift 72s linear infinite alternate; }
  .c4 { animation: drift 54s linear infinite alternate-reverse; }
  @keyframes drift { to { translate: 80px 0; } }
}
.hero { padding: calc(var(--bar-h) + 56px) 0 0; min-height: min(100svh, 980px); display: flex; flex-direction: column; }
.hero-in { flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-bottom: 56px; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { color: #fff; opacity: .95; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero .crumbs { font-size: 15px; margin-bottom: 18px; opacity: .95; }
.hero .crumbs a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.hero .crumbs span { margin: 0 8px; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .hero { min-height: 0; } }

/* Telefono con il feed */
.phone { justify-self: center; width: min(300px, 78vw); aspect-ratio: 9 / 18.5; border-radius: 44px; background: #0b1b3a; padding: 12px; box-shadow: 0 40px 80px -30px rgba(0, 20, 80, .7), inset 0 0 0 2px rgba(255, 255, 255, .15); rotate: 6deg; position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 90px; height: 24px; border-radius: 20px; background: #000; z-index: 2; }
.screen { height: 100%; border-radius: 34px; background: #fff; overflow: hidden; position: relative; color: var(--navy); }
.screen-top { position: relative; z-index: 1; background: #fff; display: flex; align-items: center; gap: 10px; padding: 52px 14px 10px; border-bottom: 1px solid #e6eef9; font-size: 14px; font-weight: 650; }
.screen-top i { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(#ffb800, #ff3d7f, #7a3dff, #ffb800); padding: 2px; }
.screen-top i::after { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--blue); border: 2px solid #fff; }
.feed { display: flex; flex-direction: column; gap: 10px; padding: 10px; }
@media (prefers-reduced-motion: no-preference) { .feed { animation: feed 18s linear infinite; } @keyframes feed { to { transform: translateY(-50%); } } }
.post { border-radius: 16px; aspect-ratio: 1; display: grid; place-items: center; position: relative; color: #fff; overflow: hidden; }
.post svg { width: 42%; height: 42%; opacity: .95; }
.post .tag { position: absolute; left: 10px; bottom: 10px; font-size: 14px; font-weight: 650; background: rgba(0, 0, 0, .28); padding: 2px 10px; border-radius: 999px; }
.post .likes { position: absolute; right: 10px; top: 10px; font-size: 14px; font-weight: 700; background: #fff; color: #e0245e; padding: 2px 10px; border-radius: 999px; }
.p1 { background: linear-gradient(135deg, #0055ff, #7cc6ff); } .p2 { background: linear-gradient(135deg, #ff6a3d, #ffb800); } .p3 { background: linear-gradient(135deg, #0b1b3a, #3d5a99); } .p4 { background: linear-gradient(135deg, #e0245e, #ff8fb1); }

/* Striscia dei pilastri in fondo all'hero */
.pillars { border-top: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 25, 110, .4); }
.pillars ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.pillars li { display: flex; align-items: center; gap: 12px; padding: 20px 16px; font-weight: 650; font-size: 15px; border-left: 1px solid rgba(255, 255, 255, .2); }
.pillars li:first-child { border-left: 0; }
.pillars svg { width: 24px; height: 24px; flex: none; }
@media (max-width: 760px) { .pillars ul { grid-template-columns: 1fr 1fr; } .pillars li:nth-child(3) { border-left: 0; } .pillars li { border-top: 1px solid rgba(255,255,255,.15); } }

/* ---------- Nastro dei comuni ---------- */
.ribbon { background: var(--navy); color: #fff; padding: 18px 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ribbon-track { display: flex; width: max-content; gap: 0; }
.ribbon-track span { font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.ribbon-track span::after { content: ""; width: 22px; height: 8px; border: 2px solid var(--sky-3); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon-track { animation: ribbon 40s linear infinite; }
  @keyframes ribbon { to { transform: translateX(-50%); } }
  @media (hover: hover) { .ribbon:hover .ribbon-track { animation-play-state: paused; } }
}

/* ---------- Sezioni ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 820px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } .grid-2 { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.card .ico { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, var(--blue), var(--sky-3)); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.card .ico svg { width: 28px; height: 28px; }
.card p { color: var(--muted); margin: 0; font-size: 17px; }
.card .kicker { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; display: block; }
@media (prefers-color-scheme: dark) { .card .kicker { color: var(--sky-3); } }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); } }

/* Schede settore (link) */
.sector { display: flex; flex-direction: column; text-decoration: none; min-height: 100%; overflow: hidden; }
.sector h3 { margin-top: 4px; }
.sector .go { margin-top: auto; padding-top: 22px; font-weight: 650; color: var(--blue); display: inline-flex; gap: 8px; align-items: center; font-size: 16px; }
@media (prefers-color-scheme: dark) { .sector .go { color: var(--sky-3); } }
.sector .go span { transition: transform .2s; }
.sector::after { content: ""; position: absolute; right: -40px; top: -26px; width: 130px; height: 46px; border: 3px solid var(--line); border-radius: 50%; transition: border-color .3s, transform .4s; }
@media (hover: hover) and (pointer: fine) { .sector:hover::after { border-color: var(--sky-3); transform: translateY(6px); } .sector:hover .go span { transform: translateX(4px); } }
.card.seo { background: linear-gradient(140deg, var(--navy), #13306a); color: #fff; border-color: transparent; }
.card.seo p { color: #cfdcf3; } .card.seo .go { color: var(--sky-3); }

/* Misuratori */
.meters { display: grid; gap: 18px; }
.meter { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 650; margin-bottom: 10px; font-size: 16px; }
.meter-top output { font-family: var(--display); font-weight: 850; font-size: 22px; color: var(--blue); }
@media (prefers-color-scheme: dark) { .meter-top output { color: var(--sky-3); } }
.meter-bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--sky-3)); transform-origin: left; }
.js .meter-bar i { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.js .meter.in .meter-bar i { transform: scaleX(1); }
.meter p { margin: 10px 0 0; font-size: 15px; color: var(--muted); }

/* Lista con aureole */
.halo-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.halo-list li { position: relative; padding-left: 40px; }
.halo-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 24px; height: 9px; border: 2.5px solid var(--blue); border-radius: 50%; }
@media (prefers-color-scheme: dark) { .halo-list li::before { border-color: var(--sky-3); } }
.halo-list strong { display: block; }

/* Calendario editoriale */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 12px; min-height: 150px; display: flex; flex-direction: column; gap: 8px; }
.day b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: .06em; }
.chip { font-size: 14px; font-weight: 600; line-height: 1.3; padding: 6px 10px; border-radius: 12px; background: var(--bg-soft); }
.chip.reel { background: #ffe6ef; color: #8a0d38; } .chip.story { background: #e3edff; color: #0a3aa8; } .chip.post { background: #fff1d6; color: #7a4a00; } .chip.ads { background: #dff7e9; color: #0d5a32; }
@media (max-width: 980px) { .week { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .week { grid-template-columns: 1fr 1fr; } }

/* Passi */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { counter-increment: s; }
.step::before { content: "0" counter(s); display: block; font-family: var(--display); font-weight: 850; font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--blue); margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .step::before { -webkit-text-stroke-color: var(--sky-3); } }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Numeri */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--radius); background: linear-gradient(160deg, var(--blue), #2f8dff); color: #fff; }
.stat b { display: block; font-family: var(--display); font-weight: 850; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 16px; font-weight: 500; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* Riquadro citazione */
.quote { font-family: var(--display); font-weight: 750; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.2; text-transform: uppercase; max-width: 26ch; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; padding: 18px 64px 18px 24px; font-weight: 650; position: relative; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--blue) 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'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); }

/* Chiusura */
.closing { text-align: center; padding: clamp(90px, 12vw, 150px) 0; }
.closing h2 { font-size: clamp(2.8rem, 8vw, 5.4rem); }
.closing .lead { color: #fff; margin: 0 auto 30px; }
.closing .eyebrow { color: #fff; justify-content: center; }

/* ---------- Piede ---------- */
.footer { background: var(--navy); color: #dbe6fb; padding: 72px 0 28px; }
.footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.footer h2 { font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--sky-3); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 16px; }
@media (hover: hover) and (pointer: fine) { .footer li a:hover { color: var(--sky-3); } }
.footer .contact-line { display: flex; gap: 12px; align-items: center; min-height: 44px; font-size: 16px; }
.footer .contact-line svg { width: 20px; height: 20px; flex: none; color: var(--sky-3); }
.footer .contact-line a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.footer .site-link { color: #fff; border-color: rgba(255,255,255,.5); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .footer .site-link:hover { border-color: var(--sky-3); color: var(--sky-3); } }
.foot-claim { font-family: var(--display); font-weight: 850; font-size: 30px; line-height: 1; text-transform: uppercase; color: #fff; margin: 18px 0 14px; }
.foot-bottom { margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; }
.credits a { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; gap: 6px; border-bottom: 0; }
.credits a span { color: var(--sky-3); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Comparse ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } .js .meter-bar i { transform: none; transition: none; } }

/* Ricerca simulata (pagina SEO) */
.serp { justify-self: center; width: min(440px, 100%); background: #fff; color: var(--navy); border-radius: 28px; padding: 20px; box-shadow: 0 40px 80px -30px rgba(0, 20, 80, .7); rotate: -2deg; }
.serp-bar { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #dbe7f7; font-weight: 600; font-size: 16px; }
.serp-bar svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.caret { width: 2px; height: 20px; background: var(--blue); }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1s steps(1) infinite; } @keyframes blink { 50% { opacity: 0; } } }
.serp-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.serp-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 18px; background: #f2f8ff; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.serp-list li b { display: block; font-size: 16px; color: #1a3fb0; }
.serp-list li small { display: block; font-size: 14px; color: #44536f; }
.serp-list li em { display: block; font-style: normal; font-size: 14px; color: #0d5a32; font-weight: 600; }
.serp-list .pos { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #dbe7f7; font-weight: 800; font-size: 14px; }
.serp-list .you { background: linear-gradient(135deg, #e3edff, #fff); box-shadow: inset 0 0 0 2px var(--blue); }
.serp-list .you .pos { background: var(--blue); color: #fff; }
.serp-list .you.rise { animation: rise .9s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: no-preference) { @keyframes rise { from { transform: translateY(170px); } } }

/* Nuvola di ricerche */
.kw { display: flex; flex-wrap: wrap; gap: 10px; }
.kw span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.kw span::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--blue); border-radius: 50%; box-shadow: 3px 3px 0 -1px var(--bg-soft), 4px 4px 0 0 var(--blue); }

/* 404 */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--bar-h) + 40px) 0 60px; }
.lost-halo { width: 160px; margin: 0 auto 26px; }
.lost input { width: min(460px, 100%); min-height: 52px; border-radius: 999px; border: 0; padding: 0 22px; font: inherit; font-size: 16px; color: var(--navy); }
.lost ul { list-style: none; padding: 0; margin: 16px auto 0; max-width: 460px; text-align: left; }
.lost li a { display: block; padding: 12px 18px; min-height: 44px; border-radius: 16px; background: rgba(255,255,255,.14); margin-bottom: 8px; text-decoration: none; }
.lost .hint { background: #fff; color: var(--blue); border-radius: 999px; padding: 10px 20px; display: inline-block; margin: 0 0 22px; font-weight: 650; text-decoration: none; }
