/* ==========================================================================
   Supporto Universitario · Rediseño oscuro (sistema visual inspirado en newminds.studio)
   Fondo #05060A · acento lima #D8FF65 · hielo #B9EAF2 · Manrope + DM Mono
   ========================================================================== */
:root {
  --bg: #05060A;
  --bg-2: #0a0c13;
  --card: #0d1018;
  --card-2: #131a24;
  --ink: #f5f3ef;
  --muted: #9c9a97;
  --lime: #d8ff65;
  --ice: #b9eaf2;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --radius: 18px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--bg); }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--muted); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: #05060a; }
svg { width: 1em; height: 1em; }
em { font-style: normal; color: var(--lime); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: #05060a; padding: 10px 16px; z-index: 999; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; z-index: 200; }

/* ---------- tipografia ---------- */
.eyebrow, .tag, .pill, .num, .svc-n, .f-head, .sc-top, .sc-foot, .stat span {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(216, 255, 101, .15); }
.display { font-size: clamp(44px, 7.4vw, 108px); line-height: .96; letter-spacing: -.045em; font-weight: 700; color: var(--ink); }
.display .line { display: block; }
.h2 { font-size: clamp(34px, 5.6vw, 84px); line-height: 1; letter-spacing: -.04em; font-weight: 700; color: var(--ink); max-width: 18ch; }
.lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 56ch; margin-top: 28px; }
.sec-head { margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head > p { max-width: 58ch; margin-top: 24px; }
section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }

/* ---------- pulsanti (pastiglia) ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; border: 1px solid var(--line-2); background: #07080d; color: var(--ink);
  font-weight: 700; font-size: 15px; box-shadow: 0 22px 80px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .075); transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); border-color: var(--lime); }
.btn:hover svg { transform: translateX(4px); }
.btn--sun { background: var(--lime); color: #05060a; border-color: var(--lime); }
.btn--sun:hover { background: #e6ff93; border-color: #e6ff93; }
.btn--ghost { background: transparent; }
.btn--wa { background: transparent; color: var(--ice); border-color: rgba(185, 234, 242, .4); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0; transition: background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.scrolled { background: rgba(5, 6, 10, .78); backdrop-filter: blur(18px) saturate(1.4); padding: 10px 0; border-color: var(--line); }
.logo { display: inline-flex; color: var(--ink); position: relative; z-index: 3; }
.logo { align-items: center; gap: 10px; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-txt { font-size: 19px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.logo-txt b { color: var(--lime); font-weight: 700; margin-left: 4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s, background .3s; }
.nav a:not(.btn):hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav .btn { padding: 11px 20px; font-size: 14px; margin-left: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; position: relative; z-index: 3; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: url(../img/fotos/confianza.jpg) center / cover no-repeat; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 6, 10, .92) 0%, rgba(5, 6, 10, .74) 45%, rgba(5, 6, 10, .42) 100%), linear-gradient(180deg, rgba(5, 6, 10, .4), transparent 35%, var(--bg) 100%); }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.on { opacity: 1; }
.hero .lead, .hero .trust-row { color: #c9cbd0; }
.hero-video-toggle { position: absolute; right: var(--gutter); bottom: 24px; z-index: 2; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 6, 10, .7); color: var(--ink); font: 12px var(--mono); }
.hero::before { content: ""; position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; right: -18vw; top: -18vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 101, .16), rgba(185, 234, 242, .06) 45%, transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 0%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; z-index: 1; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { color: var(--lime); width: 15px; height: 15px; }

.status-card { background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; box-shadow: 0 40px 120px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08); }
.sc-top, .sc-foot { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.pill { padding: 5px 11px; border-radius: 999px; background: rgba(216, 255, 101, .12); color: var(--lime); }
.sc-title { font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin: 18px 0 20px; }
.sc-steps { display: grid; gap: 12px; margin-bottom: 24px; font-size: 15px; }
.sc-steps li { display: flex; align-items: center; gap: 12px; }
.dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; border: 1px solid var(--line-2); flex: none; }
.sc-steps .done, .sc-steps .now { color: var(--ink); }
.sc-steps .done .dot { background: var(--lime); color: #05060a; border-color: var(--lime); }
.sc-steps .now .dot { border-color: var(--lime); color: var(--lime); }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 12px; }
.bar i { display: block; height: 100%; width: 0; background: var(--lime); border-radius: 6px; transition: width 1.6s var(--ease); }
.in .bar i, .bar.in i { width: 72%; }
.chip-float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(13, 16, 24, .85); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.chip-float svg { color: var(--lime); }
.chip-1 { top: -18px; right: -8px; } .chip-2 { bottom: -18px; left: -14px; }

/* ---------- marquesina ---------- */
.marquee-wrap { overflow: hidden; border-block: 1px solid var(--line); padding: 0; background: var(--bg-2); }
.marquee { overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--mono); font-size: clamp(13px, 1.4vw, 16px); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; padding: 0 26px; display: inline-flex; align-items: center; gap: 52px; }
.marquee span::after { content: "✦"; color: var(--lime); font-size: .9em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- pain ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pain-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 30px; transition: border-color .4s, transform .5s var(--ease); }
.pain-card:hover { border-color: rgba(216, 255, 101, .5); transform: translateY(-6px); }
.pain-photo { height: 220px; border-radius: 12px; background-size: cover; background-position: center; filter: grayscale(.4) brightness(.8); margin-bottom: 24px; }
.num { color: var(--lime); display: block; padding: 0 14px; }
.pain-card .q { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); margin: 14px 14px 12px; font-weight: 700; }
.pain-card p { padding: 0 14px; font-size: 15.5px; }
.pain-bridge { margin-top: clamp(40px, 6vw, 72px); font-size: clamp(24px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.035em; color: var(--ink); font-weight: 700; max-width: 22ch; }

/* ---------- servizi (bento) ---------- */
.svc-photo { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line); }
.svc-photo img { width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; filter: grayscale(.35) brightness(.7); }
.svc-photo figcaption { position: absolute; left: 24px; bottom: 20px; right: 24px; color: var(--ink); font-size: clamp(18px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.03em; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.svc { grid-column: span 4; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-height: 320px; display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden; transition: border-color .4s, transform .5s var(--ease), background .4s; }
.svc::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% -10%, rgba(216, 255, 101, .14), transparent 55%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.svc:hover { border-color: rgba(216, 255, 101, .55); transform: translateY(-5px); }
.svc:hover::before { opacity: 1; }
.svc--big, .svc--wide { grid-column: span 6; }
.svc--big { background: linear-gradient(160deg, var(--card-2), var(--card)); }
.svc--blue { background: linear-gradient(160deg, #10202a, var(--card)); }
.svc-n { color: var(--muted); display: flex; justify-content: space-between; }
.svc-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(216, 255, 101, .10); color: var(--lime); display: grid; place-items: center; font-size: 26px; }
.svc h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.12; letter-spacing: -.03em; color: var(--ink); font-weight: 700; }
.svc-desc { font-size: 15.5px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.svc-tags li { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ice); }
.svc-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--lime); }
.svc-more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.svc:hover .svc-more svg { transform: translateX(5px); }
.svc-cta { grid-column: span 12; min-height: 0; flex-direction: row; align-items: center; flex-wrap: wrap; background: var(--lime); border-color: var(--lime); color: #05060a; justify-content: space-between; }
.svc-cta h3 { color: #05060a; font-size: clamp(24px, 2.4vw, 34px); }
.svc-cta .svc-desc { color: rgba(5, 6, 10, .75) !important; }
.svc-cta .btn { background: #05060a; color: var(--lime); border-color: #05060a; }
.svc-cta:hover { border-color: #e6ff93; background: #e6ff93; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .75); backdrop-filter: blur(8px); animation: fade .3s; }
.modal-box { position: relative; width: min(100%, 620px); max-height: 88vh; overflow: auto; background: var(--card); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(26px, 4vw, 44px); animation: pop .5s var(--ease); color: var(--muted); }
.modal-box h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; color: var(--ink); line-height: 1.05; padding-right: 40px; }
.m-sub { margin: 14px 0 22px; }
.modal-box ul { display: grid; gap: 8px; margin-bottom: 28px; }
.modal-box li { padding-left: 24px; position: relative; font-size: 15.5px; color: var(--ink); }
.modal-box li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); }
.modal-close:hover { border-color: var(--lime); color: var(--lime); }
@keyframes fade { from { opacity: 0; } } @keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* ---------- processo ---------- */
.process { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.step { padding: 32px 26px 36px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.step + .step { padding-left: 26px; }
.step:last-child { border-right: 0; }
.step-n { font-size: clamp(54px, 7vw, 96px); letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--lime); font-weight: 700; }
.step h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.12; letter-spacing: -.03em; color: var(--ink); font-weight: 700; }
.step p { font-size: 15.5px; }
.tag { align-self: flex-start; margin-top: auto; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ice); }
.process-cta { margin-top: clamp(48px, 7vw, 90px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-2); }
.process-cta p { font-size: clamp(24px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; color: var(--ink); }

/* ---------- fiducia ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.trust-grid > .rv > p { margin-top: 24px; max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1px solid var(--line-2); }
.stat { padding: 22px 16px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stat b { font-size: clamp(44px, 5.6vw, 80px); line-height: 1; letter-spacing: -.05em; color: var(--lime); font-weight: 700; }
.stat span { color: var(--muted); font-size: 11px; }
.trust-photo { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.trust-photo img { width: 100%; height: 260px; object-fit: cover; filter: grayscale(.4) brightness(.75); }
.pillar { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(216, 255, 101, .10); color: var(--lime); font-size: 22px; }
.pillar h3 { font-size: 20px; letter-spacing: -.025em; color: var(--ink); margin-bottom: 4px; font-weight: 700; }
.pillar p { font-size: 15px; }

/* ---------- pubblico ---------- */
.aud-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.aud { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; isolation: isolate; transition: border-color .4s, transform .5s var(--ease); }
.aud--photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; filter: grayscale(.5) brightness(.55); transition: transform .8s var(--ease), filter .5s; }
.aud::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(5, 6, 10, .92)); }
.aud:hover { border-color: var(--lime); transform: translateY(-5px); }
.aud:hover::before { transform: scale(1.06); filter: grayscale(.1) brightness(.65); }
.aud b { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); font-weight: 700; }
.aud span { font-size: 14.5px; color: #cfcdca; }

/* ---------- etica ---------- */
.ethics { padding-top: 0; }
.ethics-box { display: grid; grid-template-columns: auto 1fr 360px; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 24px; background: var(--card); border: 1px solid var(--line-2); }
.ethics-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(185, 234, 242, .10); color: var(--ice); font-size: 30px; }
.ethics-box h2 { font-size: clamp(24px, 3vw, 40px); line-height: 1.05; letter-spacing: -.04em; color: var(--ink); font-weight: 700; margin-bottom: 14px; }
.ethics-box p { font-size: 15.5px; }
.ethics-photo { margin: 0; border-radius: 14px; overflow: hidden; }
.ethics-photo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; filter: grayscale(.4) brightness(.8); }

/* ---------- galleria ---------- */
.gal-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; grid-auto-rows: 240px; gap: 14px; }
.gal { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.gal img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.85); transition: transform .8s var(--ease), filter .5s; }
.gal:hover img { transform: scale(1.05); filter: none; }
.gal--tall { grid-row: span 2; }
.gal figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(5, 6, 10, .75); backdrop-filter: blur(8px); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line-2); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side > p { margin-top: 22px; }
.faq-side .btn { margin-top: 26px; }
.faq-photo { margin: 30px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.faq-photo img { width: 100%; height: 220px; object-fit: cover; filter: grayscale(.4) brightness(.75); }
details { border-top: 1px solid var(--line-2); }
details:last-child { border-bottom: 1px solid var(--line-2); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .4s var(--ease), background .3s, border-color .3s; }
summary i::before, summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: background .3s; }
summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] summary i { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); }
details[open] summary i::before, details[open] summary i::after { background: #05060a; }
.ans { padding: 0 56px 26px 0; font-size: 16px; }
.ans a { color: var(--ice); text-decoration: underline; }

/* ---------- preventivo / modulo ---------- */
.quote { background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.quote::before { content: ""; position: absolute; left: -20vw; bottom: -25vw; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(216, 255, 101, .10), transparent 65%); pointer-events: none; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; position: relative; }
.quote-side > p { margin-top: 24px; max-width: 46ch; }
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.checks svg { color: var(--lime); width: 18px; height: 18px; flex: none; }
.contact-lines { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line-2); display: grid; gap: 8px; }
.contact-lines > :first-child { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.contact-lines a { color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.contact-lines a:hover { color: var(--lime); }

.form-card { background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(22px, 3.4vw, 42px); box-shadow: 0 40px 120px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .07); }
.f-head { display: flex; justify-content: space-between; color: var(--lime); margin-bottom: 12px; }
.f-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 30px; }
.f-bar i { display: block; height: 100%; width: 33%; background: var(--lime); border-radius: 4px; transition: width .6s var(--ease); }
.fstep { display: none; }
.fstep.active { display: block; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } }
.fstep > h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.035em; color: var(--ink); line-height: 1.1; font-weight: 700; }
.fstep > p { margin: 8px 0 26px; font-size: 15px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .lbl { font-size: 13px; font-weight: 600; color: var(--ink); }
.field small, .lbl small { color: var(--muted); font-weight: 400; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; transition: border-color .3s, box-shadow .3s, background .3s; color-scheme: dark; }
select option { background: #0d1018; color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6a6967; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(216, 255, 101, .12); background: rgba(255, 255, 255, .06); }
.msg { display: none; font-size: 12.5px; color: #ff6b76; font-weight: 600; }
.field.err input, .field.err select, .field.err textarea { border-color: #ff6b76; box-shadow: 0 0 0 4px rgba(255, 107, 118, .12); }
.field.err .msg { display: block; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opts.three { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--muted); transition: all .3s; }
.opt:hover span { border-color: rgba(216, 255, 101, .5); color: var(--ink); }
.opt input:checked + span { background: var(--lime); border-color: var(--lime); color: #05060a; }
.opt input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; font-size: 13.5px !important; color: var(--muted) !important; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--lime); flex: none; }
.consent a { color: var(--ice); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 30px; }
.f-actions .btn:only-child { margin-left: auto; }
.f-back { background: none; border: 0; padding: 12px 6px; color: var(--muted); font-weight: 700; font-size: 14px; }
.f-back:hover { color: var(--ink); }
.f-note { margin-top: 18px; font-size: 13px; text-align: center; }
.f-error { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 107, 118, .10); border: 1px solid rgba(255, 107, 118, .4); color: #ffb3b9; font-size: 14px; }
.f-error.show { display: block; }
.f-error a { color: var(--ink); }
.f-ok { display: none; text-align: center; padding: 30px 6px; }
.f-ok.show { display: block; animation: pop .6s var(--ease); }
.f-ok h3 { font-size: 34px; letter-spacing: -.035em; color: var(--ink); margin: 20px 0 10px; }
.f-ok p { margin-bottom: 24px; }
.f-ok b { color: var(--lime); }
.tick { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--lime); color: #05060a; }
.tick svg { width: 34px; height: 34px; }

/* ---------- CTA finale ---------- */
.final-cta { overflow: hidden; text-align: center; padding: clamp(110px, 16vw, 230px) 0; }
.final-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(.6) brightness(.32); }
.final-cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(216, 255, 101, .12), transparent 60%), linear-gradient(180deg, var(--bg-2), transparent 30%, var(--bg)); }
.final-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.final-in p { font-size: clamp(38px, 8vw, 120px); line-height: .96; letter-spacing: -.045em; font-weight: 700; color: var(--ink); max-width: 14ch; }

/* ---------- footer ---------- */
.footer { padding: 80px 0 34px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-top p { margin-top: 18px; font-size: 15px; }
.footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); font-weight: 500; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--ink); } .footer li a:hover { color: var(--lime); }
.big-word { font-size: clamp(34px, 7.3vw, 116px); font-weight: 800; letter-spacing: -.06em; line-height: .9; margin: 70px 0 30px; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16); user-select: none; }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; }
.foot-bot a { text-decoration: underline; }

/* ---------- flottanti ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #05060a; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.wa-float svg { width: 28px; height: 28px; }
.m-cta { display: none; }

/* ---------- pagine legali ---------- */
.legal { padding: clamp(130px, 14vw, 190px) 0 clamp(70px, 9vw, 120px); min-height: 80vh; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1; letter-spacing: -.04em; color: var(--ink); font-weight: 700; margin-bottom: 28px; }
.legal h2 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.025em; color: var(--ink); margin: 38px 0 10px; font-weight: 700; }
.legal p { margin-bottom: 12px; }
.legal strong { color: var(--lime); }
.legal a { color: var(--ice); text-decoration: underline; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .aud-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; } .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ethics-box { grid-template-columns: auto 1fr; } .ethics-photo { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-media::after { background: linear-gradient(180deg, rgba(5, 6, 10, .82), rgba(5, 6, 10, .68) 45%, var(--bg) 100%); }
  .hero-grid, .trust-grid, .faq-grid, .quote-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .pain-grid { grid-template-columns: 1fr; }
  .svc, .svc--big, .svc--wide, .svc-cta { grid-column: span 12; min-height: 0; }
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gal--tall { grid-row: auto; }
  .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; }
  .burger { display: block; }
  .nav { position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; padding: 90px var(--gutter) 40px; transform: translateY(-100%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; z-index: 2; }
  .nav.open { transform: none; visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
  .nav a:not(.btn) { font-size: clamp(30px, 8vw, 46px); font-weight: 700; letter-spacing: -.04em; color: var(--ink); padding: 8px 0; }
  .nav .btn { margin: 24px 0 0; font-size: 16px; padding: 16px 26px; }
  .header.menu-open { background: var(--bg); }
  .chip-1 { right: 8px; } .chip-2 { left: 8px; }
  .m-cta { display: block; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 95; transform: translateY(140%); transition: transform .5s var(--ease); }
  .m-cta .btn { width: 100%; justify-content: center; }
  .m-cta.show { transform: none; }
  .wa-float { bottom: 84px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); }
  .aud-row { grid-template-columns: 1fr; } .aud { min-height: 260px; }
  .fgrid, .opts { grid-template-columns: 1fr; } .opts.three { grid-template-columns: 1fr 1fr 1fr; }
  .stats { grid-template-columns: 1fr; } .stat { flex-direction: row; align-items: baseline; gap: 16px; padding-bottom: 12px; }
  .ans { padding-right: 0; }
  .logo-mark { width: 32px; height: 32px; } .logo-txt { font-size: 17px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .gal-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video, .hero-video-toggle { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
