/* NeDa — sito
 * Gesso e lavagna della sala pesi; i colori dei dischi olimpici (10 verde, 15 giallo, 20 blu, 25 rosso)
 * solo dove dicono qualcosa: i timbri del carnet e i tre piani. */
@font-face { font-family: "Heros Cn"; src: url("font/heroscn-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter EN"; src: url("font/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter EN"; src: url("font/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --gesso: #f4f5f1;
  --bianco: #ffffff;
  --lavagna: #16212a;
  --lavagna-2: #22303b;
  --testo: #2c3842;
  --gomma: #5d6873;
  --linea: #dde1da;
  --d10: #1f8a4c;
  --d15: #e9b10a;
  --d20: #2457c5;
  --d25: #d23a2b;
  --display: "Heros Cn", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Inter EN", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--gesso); color: var(--testo); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--d20); }
:focus-visible { outline: 3px solid var(--d20); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lavagna); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--lavagna); margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(50px, 6.6vw, 92px); line-height: .94; }
h2.sec { font-size: clamp(38px, 4.6vw, 56px); line-height: 1; }
h3 { font-size: 31px; line-height: 1.05; }
.sec-sub { max-width: 38em; color: var(--gomma); margin: 14px 0 0; font-size: 18px; }

/* ---------- pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 600 16px/1 var(--body); padding: 15px 22px; border-radius: 10px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn.sm { padding: 10px 15px; font-size: 15px; }
.btn.blue { background: var(--d20); color: #fff; }
.btn.blue:hover { background: #1c469f; }
.btn.ink { background: var(--lavagna); color: #fff; }
.btn.ink:hover { background: #26343f; }
.btn.line { border-color: var(--lavagna); color: var(--lavagna); background: transparent; }
.btn.line:hover { background: var(--lavagna); color: #fff; }
.btn.line.light { border-color: #9fb0bc; color: #fff; }
.btn.line.light:hover { background: #fff; color: var(--lavagna); }

/* ---------- testata */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--gesso) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.top-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lavagna); font: 700 27px/1 var(--display); }
.logo.sm { font-size: 22px; gap: 8px; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--testo); text-decoration: none; font-size: 15.5px; }
.links a:hover { color: var(--lavagna); text-decoration: underline; text-underline-offset: 5px; }

/* ---------- apertura */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: 64px 0 80px; }
.kicker { margin: 0 0 18px; font-weight: 600; color: var(--d20); font-size: 16px; }
.lead { font-size: 19px; line-height: 1.55; margin: 26px 0 0; max-width: 30em; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.fine { font-size: 14.5px; color: var(--gomma); margin: 14px 0 0; max-width: 30em; }

.hero-shot { position: relative; padding: 0 0 46px; }
.screen { border-radius: 12px; overflow: hidden; border: 1px solid #cfd5cc; background: #fff; box-shadow: 0 30px 60px -28px rgba(22, 33, 42, .38), 0 2px 6px rgba(22, 33, 42, .06); }
.phone { position: absolute; width: 31%; right: -14px; bottom: 0; border: 7px solid var(--lavagna); border-radius: 30px; overflow: hidden; background: var(--lavagna); box-shadow: 0 28px 50px -20px rgba(22, 33, 42, .5); }
.phone img { border-radius: 22px; }

/* ---------- in breve */
.facts { border-block: 1px solid var(--linea); background: var(--bianco); }
.facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-in > div { padding: 24px 22px 24px 0; display: grid; gap: 4px; }
.facts-in > div + div { padding-left: 22px; border-left: 1px solid var(--linea); }
.facts b { font: 700 23px/1.05 var(--display); color: var(--lavagna); }
.facts span { font-size: 15px; color: var(--gomma); line-height: 1.45; }

/* ---------- prima e dopo: la lavagna */
.board { background: var(--lavagna); color: #c9d3da; padding: 96px 0; }
.board h2.sec { color: #fff; max-width: 15ch; }
.board .sec-sub { color: #9fb0bc; }
.vs { margin-top: 48px; }
.vs-hd, .vs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; }
.vs-hd { padding-bottom: 14px; border-bottom: 2px solid #3a4a56; font: 700 26px/1 var(--display); }
.vs-hd span:first-child { color: #7f909c; }
.vs-hd span:last-child { color: #fff; }
.vs-row { border-bottom: 1px solid #2c3b46; }
.vs-row p { margin: 0; padding: 20px 0; }
.vs-row p:first-child { color: #8696a2; text-decoration: line-through; text-decoration-color: rgba(210, 58, 43, .75); text-decoration-thickness: 2px; }
.vs-row p:last-child { color: #fff; padding-left: 30px; position: relative; }
.vs-row p:last-child::before { content: ""; position: absolute; left: 0; top: 23px; width: 18px; height: 18px; border-radius: 50%; background: var(--d10) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- funzioni */
.feat { padding: 96px 0 40px; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid var(--linea); }
.feat .sec-sub + .row { margin-top: 48px; }
.row.flip .txt { order: 2; }
.row .txt p { margin: 16px 0 0; }
ul.ok { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
ul.ok li { position: relative; padding-left: 28px; line-height: 1.45; }
ul.ok li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--d10) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- app soci */
.app { background: var(--bianco); border-block: 1px solid var(--linea); padding: 96px 0; }
.app-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.app-phones { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.phone.solo { position: static; width: 100%; }
.verbs { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.verbs li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--d20); }
.verbs b { font: 700 28px/1 var(--display); color: var(--lavagna); }
.verbs span { color: var(--testo); line-height: 1.45; }

.carnet { margin: 36px 0 0; background: var(--gesso); border: 1px solid var(--linea); border-radius: 14px; padding: 18px 20px 16px; max-width: 500px; }
.carnet-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.carnet-hd b { font: 700 22px/1 var(--display); color: var(--lavagna); }
.carnet-hd span { font-size: 14px; color: var(--gomma); }
.punch { list-style: none; margin: 14px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.punch li { aspect-ratio: 1; border: 1.5px dashed #c3cac0; border-radius: 7px; display: grid; place-items: center; background: #fff; }
.punch li.on { border-style: solid; border-color: #e8dcb2; background: #fffbea; }
.punch i { width: 76%; aspect-ratio: 1; border-radius: 50%; border: 2.5px solid var(--d15); position: relative; transform: rotate(var(--r, -8deg)); }
.punch i::after { content: ""; position: absolute; inset: 22% 18% 30% 22%; border: solid var(--d15); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.punch li:nth-child(2n) i { --r: 11deg; }
.punch li:nth-child(3n) i { --r: -17deg; }
.carnet-ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.carnet-ft p { margin: 0; font-weight: 600; color: var(--lavagna); }
.carnet figcaption { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--gomma); }
@media (prefers-reduced-motion: no-preference) {
  .punch li.new i { animation: stamp .34s cubic-bezier(.3, 1.6, .5, 1) both; }
}
@keyframes stamp { from { opacity: 0; transform: scale(1.8) rotate(var(--r, -8deg)); } to { opacity: 1; transform: scale(1) rotate(var(--r, -8deg)); } }

/* ---------- per chi */
.who { padding: 96px 0 24px; }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 2px solid var(--lavagna); }
.who-grid > div { padding: 24px 28px 8px 0; }
.who-grid > div + div { padding-left: 28px; border-left: 1px solid var(--linea); }
.who-grid h3 { font-size: 27px; }
.who-grid p { margin: 12px 0 0; }

/* ---------- come si parte */
.start { padding: 72px 0 96px; }
.how { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.how li { display: flex; gap: 18px; align-items: flex-start; }
.how .n { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--lavagna); display: grid; place-items: center; font: 700 28px/1 var(--display); color: var(--lavagna); }
.how h3 { font-size: 27px; }
.how p { margin: 8px 0 0; }

/* ---------- prezzi */
.prices { background: var(--bianco); border-block: 1px solid var(--linea); padding: 96px 0; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--linea); border-radius: 16px; padding: 28px 24px 24px; display: flex; flex-direction: column; background: var(--gesso); }
.plan.best { background: var(--bianco); border: 2px solid var(--d20); box-shadow: 0 24px 50px -30px rgba(36, 87, 197, .55); }
.flag { position: absolute; top: -13px; left: 22px; margin: 0; background: var(--d20); color: #fff; font: 600 13.5px/1 var(--body); padding: 7px 11px; border-radius: 99px; }
.plan-hd { display: flex; align-items: center; gap: 12px; }
.plan-hd h3 { font-size: 34px; }
.plate { width: 34px; height: 34px; border-radius: 50%; flex: none; background: radial-gradient(circle, #d5d9dc 0 13%, #9aa1a7 14% 19%, var(--c) 20% 58%, color-mix(in srgb, var(--c) 78%, #000) 59% 63%, var(--c) 64% 100%); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 70%, #000); }
.plate.g { --c: var(--d10); } .plate.b { --c: var(--d20); } .plate.r { --c: var(--d25); }
.price { margin: 18px 0 0; display: flex; align-items: baseline; gap: 8px; }
.price b { font: 700 64px/1 var(--display); color: var(--lavagna); font-variant-numeric: tabular-nums; }
.price span { color: var(--gomma); }
.plan-for { margin: 8px 0 0; font-weight: 600; color: var(--lavagna); }
.plan ul.ok { margin-bottom: 26px; font-size: 16px; }
.plan .btn { margin-top: auto; }
.all { margin: 28px 0 0; max-width: 52em; font-size: 15px; color: var(--gomma); }

/* ---------- chi siamo */
.us { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; padding: 96px 0 24px; }
.mono { display: flex; gap: 12px; }
.mono span { width: 50%; max-width: 150px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font: 700 clamp(44px, 5vw, 64px)/1 var(--display); color: #fff; }
.mono span:first-child { background: var(--lavagna); }
.mono span:last-child { background: var(--d20); }
.us p { margin: 18px 0 0; max-width: 40em; font-size: 18px; }
.us b { color: var(--lavagna); }

/* ---------- domande */
.faq { padding: 96px 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.faq-list { border-top: 2px solid var(--lavagna); }
details { border-bottom: 1px solid var(--linea); }
summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 600; font-size: 18px; color: var(--lavagna); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border: solid var(--lavagna); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { margin: -4px 0 22px; max-width: 40em; }

/* ---------- contatti */
.contact { background: var(--lavagna); color: #dfe5e9; padding: 88px 0; }
.contact-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.contact h2 { color: #fff; font-size: clamp(40px, 4.8vw, 60px); line-height: 1; max-width: 12ch; }
.contact p { margin: 18px 0 0; max-width: 30em; }
.ways { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; color: #9fb0bc; }
.ways a { color: #fff; font-weight: 600; margin-left: 6px; }
.ask { background: var(--lavagna-2); border: 1px solid #33434f; border-radius: 16px; padding: 26px; display: grid; gap: 14px; }
.ask label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; color: #dfe5e9; }
.ask input, .ask select, .ask textarea { font: 400 16px/1.4 var(--body); color: var(--lavagna); background: #fff; border: 1.5px solid transparent; border-radius: 9px; padding: 11px 12px; width: 100%; }
.ask input:focus, .ask select:focus, .ask textarea:focus { outline: none; border-color: var(--d20); box-shadow: 0 0 0 3px rgba(36, 87, 197, .35); }
.ask [aria-invalid="true"] { border-color: var(--d25); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ask-go { display: flex; gap: 10px; flex-wrap: wrap; }
.ask-go .btn { flex: 1 1 180px; }
.ask-err { margin: 0; min-height: 0; color: #ffb4aa; font-size: 14.5px; }
.ask-err:empty { display: none; }
.ask-note { margin: 0; font-size: 13.5px; color: #9fb0bc; }

/* ---------- piede */
.foot { padding: 40px 0 36px; font-size: 14.5px; color: var(--gomma); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot p { margin: 12px 0 0; line-height: 1.6; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot a { color: var(--testo); }
.foot p.copy { margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--linea); }

/* ---------- pagina privacy */
.doc { padding: 56px 0 80px; max-width: 760px; }
.doc h1 { font-size: clamp(40px, 5vw, 60px); }
.doc h2 { font-size: 28px; margin-top: 36px; }
.doc p, .doc li { max-width: 42em; }

/* ---------- schermi piccoli */
@media (max-width: 980px) {
  .links { display: none; }
  .top-in { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 40px 0 64px; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .facts-in > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-in > div:nth-child(n+3) { border-top: 1px solid var(--linea); }
  .row, .row.flip { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .row.flip .txt { order: 0; }
  .app-in, .us, .faq, .contact-in { grid-template-columns: 1fr; gap: 36px; }
  .who-grid, .how, .plans { grid-template-columns: 1fr; }
  .plans { gap: 28px; }
  .who-grid > div, .who-grid > div + div { padding: 22px 0 6px; border-left: 0; border-top: 1px solid var(--linea); }
  .who-grid > div:first-child { border-top: 0; }
  .phone { right: -6px; width: 32%; border-width: 5px; border-radius: 22px; }
  .phone img { border-radius: 17px; }
  .phone.solo { border-width: 6px; border-radius: 26px; }
  .vs-hd, .vs-row { gap: 20px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .logo { font-size: 24px; }
  .ctas .btn { flex: 1 1 100%; }
  .facts-in { grid-template-columns: 1fr; }
  .facts-in > div, .facts-in > div + div { padding: 16px 0; border-left: 0; }
  .facts-in > div + div { border-top: 1px solid var(--linea); }
  .board, .feat, .app, .prices, .contact { padding: 64px 0; }
  .who, .us { padding-top: 64px; }
  .faq, .start { padding: 64px 0; }
  .vs-hd { display: none; }
  .vs-row { grid-template-columns: 1fr; gap: 0; padding: 16px 0; }
  .vs-row p { padding: 0; }
  .vs-row p:first-child { font-size: 15px; }
  .vs-row p:last-child { margin-top: 8px; }
  .vs-row p:last-child::before { top: 3px; }
  .app-phones { grid-template-columns: 1fr; }
  .phone.solo { width: 62%; margin-inline: auto; }
  .punch { gap: 4px; }
  .two { grid-template-columns: 1fr; }
  .ask { padding: 20px; }
  h3 { font-size: 28px; }
  .mono span { max-width: 110px; }
}
