/* =====================================================================
   pudypoint — foglio di stile
   Palette dal logo: carbone + terracotta su bianco caldo.
   Motivo ricorrente: l'arco (la porta del negozio) del marchio.
   ===================================================================== */

:root {
  --ink: #333333;
  --ink-2: #565350;
  --muted: #7B756E;
  --paper: #FFFFFF;
  --stone: #F5F2EE;
  --stone-2: #EBE6DF;
  --line: #E1DBD3;
  --brand: #C6653A;
  --brand-deep: #A4522C;
  --brand-tint: #FAEDE4;
  --open: #2F7A4E;
  --open-tint: #E5F1E9;
  --danger: #B3261E;
  --danger-tint: #FBEAE8;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --wrap: 1180px;
  --r-card: 18px;
  --r-ctl: 12px;
  --shadow: 0 10px 30px -18px rgba(51, 51, 51, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -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;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .6em; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.measure { max-width: 42em; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.bg-stone { background: var(--stone); }
.bg-ink { background: var(--ink); color: #EDE8E1; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .lead, .bg-ink .muted { color: #C9C2B9; }
.bg-ink a { color: #F3B08F; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.1; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1f1f1f; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.bg-ink .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.bg-ink .btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: .55rem 1.1rem; font-size: .95rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.08rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.03em; line-height: 1; color: var(--ink); white-space: nowrap; }
.brand-word span { color: var(--brand); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .98rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--ink); border-bottom-color: var(--brand); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; }
@media (max-width: 860px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; gap: .25rem; padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); background: #fff; }
  .mobile-nav a:not(.btn) { padding: .85rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--stone-2); }
  .mobile-nav .btn { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-proof { display: flex; gap: 1.5rem 2.2rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-proof div { flex: 1 1 140px; }
.hero-proof b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.hero-proof span { color: var(--muted); font-size: .92rem; }

/* La coppa: il marchio (arco aperto verso l'alto + punto) usato come cornice della mappa live */
.bowl-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: min(100%, 520px); margin-inline: auto; }
.arch {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 9.5;
  border-radius: 28px 28px 999px 999px;
  border: 10px solid var(--ink);
  overflow: hidden;
  background: var(--stone);
  box-shadow: 0 30px 60px -30px rgba(51,51,51,.45);
}
.arch .arch-map { position: absolute; inset: 0; z-index: 1; }
.arch .arch-map .leaflet-tile-pane { filter: grayscale(.55) saturate(.8) contrast(.95); }
.arch .arch-map .leaflet-control-container { display: none; }
.arch-badge {
  background: var(--brand); color: #fff; border-radius: 999px; padding: .6rem 1.15rem .6rem .85rem;
  display: inline-flex; align-items: center; gap: .6rem; box-shadow: var(--shadow);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.arch-badge i { width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.pin { width: 18px; height: 18px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.pin.pin-lg { width: 22px; height: 22px; }
.leaflet-container { font-family: var(--font-body); }
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: var(--shadow); }
.leaflet-popup-content { margin: .8rem 1rem; font-size: .92rem; line-height: 1.45; }
.leaflet-popup-content b { font-family: var(--font-display); font-size: 1rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .bowl-wrap { width: min(100%, 420px); }
  .arch { aspect-ratio: 10 / 9; }
}

/* ---------- Sequenza "come funziona" ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.6rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1.1rem;
  border-radius: 8px 8px 999px 999px; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.step h3 { margin-bottom: .45rem; }
.step p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Vantaggi ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.benefit { padding: 1.5rem; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); }
.benefit .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; margin-bottom: 1rem; }
.benefit .ico svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.benefit p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.benefit-big { grid-column: span 1; background: var(--ink); color: #EDE8E1; border-color: var(--ink); }
.benefit-big h3 { color: #fff; }
.benefit-big p { color: #C9C2B9; }
.benefit-big .ico { background: rgba(255,255,255,.08); color: #F3B08F; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Strumento: notifica al cliente ---------- */
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tool-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.tool-list li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; align-items: start; }
.tool-list li svg { width: 26px; height: 26px; color: #F3B08F; margin-top: .1rem; }
.tool-list b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: #fff; }
.tool-list span { color: #C9C2B9; font-size: .98rem; }

.phone {
  width: min(100%, 360px); margin-inline: auto;
  background: #fff; color: var(--ink); border-radius: 28px; padding: 1.1rem;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.msg { background: var(--stone); border-radius: 18px 18px 18px 6px; padding: 1rem 1.1rem; font-size: .95rem; line-height: 1.5; }
.msg + .msg { margin-top: .7rem; }
.msg .from { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 600; margin-bottom: .5rem; }
.msg .from img { width: 18px; height: 18px; }
.msg .code { display: inline-block; margin-top: .6rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .28em; font-size: 1.5rem; background: #fff; border: 1px dashed var(--line); border-radius: 10px; padding: .35rem .7rem .35rem .95rem; }
.msg .hours { margin-top: .6rem; font-size: .88rem; color: var(--ink-2); }
.msg.ok { background: var(--open-tint); }
.msg .time { display: block; text-align: right; font-size: .78rem; color: var(--muted); margin-top: .4rem; }
@media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr; } .phone { margin-top: 1rem; } }

/* ---------- Per chi ritira ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; }
.trio h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.trio p { margin: 0; color: var(--ink-2); }
.trio .mark-line { width: 34px; height: 4px; border-radius: 2px; background: var(--brand); margin-bottom: 1rem; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* ---------- Aipack ---------- */
.company { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.stats div { background: var(--paper); padding: 1.5rem 1.4rem; }
.stats b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; margin-bottom: .35rem; }
.stats span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .company { grid-template-columns: 1fr; } }

/* ---------- CTA finale ---------- */
.cta-band { border-radius: 28px; background: var(--brand); color: #fff; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin: 0 0 .4rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-band .btn-ink { background: var(--ink); }
.cta-band .btn-ink:hover { background: #1f1f1f; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Pagina punti ---------- */
.page-head { padding-block: clamp(2rem, 4vw, 3.5rem) 1.5rem; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.search {
  display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: .6rem; align-items: stretch;
  max-width: 760px;
}
.search input, .search select, .field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r-ctl); padding: .8rem 1rem; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.search-hint { margin-top: .6rem; color: var(--muted); font-size: .92rem; }
.search-hint button { background: none; border: 0; padding: 0; color: var(--brand-deep); font: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) { .search { grid-template-columns: 1fr 1fr; } .search .btn { grid-column: span 2; } }

.punti-layout { display: grid; grid-template-columns: minmax(320px, 440px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.punti-list { display: grid; gap: .8rem; max-height: 72vh; overflow: auto; padding-right: .3rem; }
.punto {
  display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.1rem 1.2rem;
  cursor: pointer; transition: border-color .15s ease;
}
.punto:hover, .punto.is-active { border-color: var(--ink); }
.punto h3 { font-size: 1.1rem; margin: 0; grid-column: 1; }
.punto .dist { grid-column: 2; grid-row: 1; font-family: var(--font-display); font-weight: 600; color: var(--brand-deep); white-space: nowrap; }
.punto .addr { grid-column: 1 / -1; color: var(--ink-2); font-size: .95rem; }
.punto .state { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: var(--muted); }
.punto .state i { width: 9px; height: 9px; border-radius: 50%; background: #B8B1A9; }
.punto .state.open { color: var(--open); }
.punto .state.open i { background: var(--open); }
.punto .more { grid-column: 1 / -1; display: none; padding-top: .7rem; margin-top: .4rem; border-top: 1px solid var(--stone-2); }
.punto.is-active .more { display: block; }
.punto table { border-collapse: collapse; font-size: .9rem; margin-bottom: .7rem; }
.punto td { padding: .12rem .8rem .12rem 0; vertical-align: top; color: var(--ink-2); }
.punto td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.punto .links { display: flex; gap: .5rem; flex-wrap: wrap; }
.punti-map { height: 72vh; min-height: 420px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); position: sticky; top: 92px; }
.punti-count { color: var(--muted); font-size: .95rem; margin: 0 0 .8rem; }
.notice { padding: 1rem 1.2rem; border-radius: var(--r-ctl); background: var(--stone); color: var(--ink-2); }
.notice.error { background: var(--danger-tint); color: var(--danger); }
@media (max-width: 900px) {
  .punti-layout { grid-template-columns: 1fr; }
  .punti-map { position: static; height: 50vh; order: -1; }
  .punti-list { max-height: none; }
}

/* ---------- Form diventa point ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.form-side { position: sticky; top: 96px; display: grid; gap: 1rem; }
.side-card { background: var(--stone); border-radius: var(--r-card); padding: 1.4rem 1.5rem; }
.side-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.side-card p, .side-card li { color: var(--ink-2); font-size: .97rem; }
.side-card ul { margin: 0; padding-left: 1.1rem; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } .form-side { position: static; } }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.5rem); }
fieldset { border: 0; padding: 0; margin: 0 0 2.2rem; min-width: 0; }
fieldset:last-of-type { margin-bottom: 1rem; }
legend { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; padding: 0; margin-bottom: .35rem; color: var(--ink); }
.legend-note { color: var(--muted); font-size: .95rem; margin: 0 0 1.2rem; }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.field { grid-column: span 6; display: flex; flex-direction: column; gap: .35rem; }
.field.c3 { grid-column: span 3; } .field.c2 { grid-column: span 2; } .field.c4 { grid-column: span 4; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field .help { font-size: .86rem; color: var(--muted); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field .err { display: none; color: var(--danger); font-size: .86rem; font-weight: 600; }
.field.is-invalid .err { display: block; }
.field textarea { min-height: 110px; resize: vertical; }
@media (max-width: 640px) { .field.c3, .field.c2, .field.c4 { grid-column: span 6; } }

.hours { display: grid; gap: .5rem; }
.hours-row { display: grid; grid-template-columns: 108px 1fr; gap: .8rem; align-items: start; padding: .65rem .8rem; border-radius: var(--r-ctl); background: var(--stone); }
.hours-row.closed { opacity: .72; }
.hours-day { display: flex; align-items: center; gap: .55rem; font-weight: 600; padding-top: .45rem; }
.hours-slots { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.hours-slot { display: inline-flex; align-items: center; gap: .4rem; }
.hours-slot[hidden] { display: none; }
.hours-slot input[type="time"] { font: inherit; font-size: .95rem; padding: .45rem .6rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.hours-slot input[type="time"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.hours-slot .lab { font-size: .85rem; color: var(--muted); }
.hours-row.closed .hours-slots { display: none; }
.hours-closed-lab { color: var(--muted); font-size: .95rem; padding-top: .45rem; display: none; }
.hours-row.closed .hours-closed-lab { display: block; }
.hours-tools { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .6rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand-deep); font: inherit; font-size: .92rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 560px) { .hours-row { grid-template-columns: 1fr; } .hours-day { padding-top: 0; } }

.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.check { display: flex; align-items: flex-start; gap: .6rem; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--r-ctl); cursor: pointer; font-size: .97rem; background: #fff; }
.check:has(input:checked) { border-color: var(--ink); background: var(--stone); }
.check input { width: 18px; height: 18px; margin: .2rem 0 0; accent-color: var(--brand); flex: none; }
.switch { border: 0; padding: 0; background: none; align-items: flex-start; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--ink-2); padding: .4rem 0; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--brand); flex: none; }
.consent.is-invalid { color: var(--danger); }

.file-drop { border: 1.5px dashed var(--line); border-radius: var(--r-ctl); padding: 1rem; display: flex; gap: 1rem; align-items: center; background: #fff; }
.file-drop input { font: inherit; font-size: .92rem; }
.file-drop img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; display: none; }
.file-drop img[src] { display: block; }

.form-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.5rem; }
.form-status { flex: 1 1 260px; font-size: .95rem; }
.form-status.error { color: var(--danger); font-weight: 600; }
.form-success { text-align: center; padding: 3rem 1.5rem; }
.form-success .mark-big { width: 72px; margin: 0 auto 1.5rem; }
.form-success h2 { margin-bottom: .6rem; }

/* ---------- Requisiti / FAQ ---------- */
.req-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
.req-list li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; color: var(--ink-2); }
.req-list li svg { width: 24px; height: 24px; color: var(--open); margin-top: .15rem; }
.req-list b { color: var(--ink); display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
@media (max-width: 720px) { .req-list { grid-template-columns: 1fr; } }

.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s ease; margin-right: .3rem; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--ink-2); margin: 0 0 1.2rem; max-width: 62ch; }

/* ---------- Testi legali ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal .draft { background: var(--brand-tint); color: var(--brand-deep); border-radius: var(--r-ctl); padding: .8rem 1rem; font-size: .92rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--stone); border-top: 1px solid var(--line); margin-top: clamp(3rem, 6vw, 5rem); padding-block: 3rem 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2rem; }
.footer-grid > div > a, .footer-grid > div > span { display: block; color: var(--ink-2); text-decoration: none; padding: .2rem 0; }
.footer-grid > div > a:hover { color: var(--brand-deep); }
.footer-brand .brand { display: inline-flex; margin-bottom: .8rem; }
.footer-brand p { color: var(--ink-2); max-width: 30ch; }
.footer-brand .payoff { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); margin-bottom: .3rem; }
.footer-h { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: .5rem; color: var(--ink); }
.footer-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
