/* Portale Studio VD'A — design system "fintech editoriale caldo".
   Aesthetics-first: mesh gradients, glassmorphism, smooth animations, outfits. */

:root {
  --bone: #f7f5f0; /* Sabbia Chiarissimo / Warm Sand */
  --bone-2: #ebd4c2; /* Sabbia/Rame soft */
  --paper: #ffffff; /* Sfondo candido */
  --ink: #1f1611; /* Castano Intenso / Cioccolato */
  --ink-2: #6b5c52; /* Cenere / Muted Sand */
  --line: rgba(28, 20, 17, 0.14); /* Castano chiarissimo trasparente */
  --forest: #c2410c; /* Rosso Rame Intenso (Primary CRM) */
  --forest-2: #9a3412; /* Mogano Profondo (Primary Hover CRM) */
  --lime: #f7e6d8; /* Crema Rame caldissimo (Accent) */
  --lime-deep: #dfb28c; /* Sabbia Calda (Accent Hover) */
  --coral: #e8643c; /* Rame vivo */
  --ok: #059669; /* Smeraldo */
  --err: #dc2626; /* Rosso pericolo */
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 4px 20px rgba(28, 20, 17, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --maxw: 1120px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Outfit", "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  /* mesh gradient caldo e tridimensionale */
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 520px at 78% -8%, rgba(194, 65, 12, 0.10), transparent 60%),
    radial-gradient(900px 480px at 8% 80%, rgba(126, 111, 99, 0.12), transparent 55%),
    radial-gradient(600px 400px at 50% 20%, rgba(245, 196, 150, 0.15), transparent 50%);
  background-color: var(--bone);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .4em; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.container { width: min(var(--maxw), 92vw); margin: 0 auto; }
.muted { color: var(--ink-2); }
.center { text-align: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -.03em; display: flex; align-items: center; gap: 8px; }
.brand .mark { width: 28px; height: 28px; border-radius: 9px; background: var(--forest); color: var(--lime); display: grid; place-items: center; font-size: .9rem; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 600; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--forest); }
.nav-links .btn { padding: 9px 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; border: 1px solid transparent; border-radius: 12px;
  padding: 12px 24px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  text-decoration: none; background: linear-gradient(135deg, var(--forest), var(--forest-2)); color: #fff;
  transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), background .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 12px rgba(194, 65, 12, 0.15);
}
.btn:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(194, 65, 12, 0.22); }
.btn:active { transform: translateY(0); }
.btn.lime { background: linear-gradient(135deg, #f7e6d8, #dfb28c); color: var(--ink); border: 1px solid rgba(28,20,17,0.12); box-shadow: 0 4px 12px rgba(28,20,17,0.06); }
.btn.lime:hover { background: linear-gradient(135deg, #ebd4c2, #d5a37e); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--paper); border-color: var(--forest); }
.btn.paypal { background: #ffc439; color: #11264b; }
.btn.paypal:hover { background: #f0b72e; }
.btn.block { display: flex; width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 54px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--forest);
  background: rgba(194, 65, 12, 0.08); border: 1px solid rgba(194, 65, 12, 0.15);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; color: var(--ink); }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--forest); }
.hero h1 .hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .28em; background: var(--lime); z-index: -1; border-radius: 3px; opacity: 0.7; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 42ch; margin: 0 0 28px; line-height: 1.5; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-2); font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .tick { width: 18px; height: 18px; border-radius: 50%; background: var(--forest); color: var(--lime); display: grid; place-items: center; font-size: .7rem; font-weight: 800; }

/* Hero card prezzo */
.price-card { 
  background: rgba(31, 22, 17, 0.96); 
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--paper); 
  border-radius: 24px; 
  padding: 30px; 
  position: relative; 
  overflow: hidden; 
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -15px rgba(31, 22, 17, 0.35); 
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 70px -10px rgba(31, 22, 17, 0.45);
}
.price-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(194, 65, 12, 0.35), transparent 70%); }
.price-card .tag { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--lime-deep); font-weight: 700; }
.price-card .amount { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1; margin: 10px 0 4px; color: var(--lime); }
.price-card .per { color: #ebd4c2; font-size: .95rem; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 24px; }
.price-card li { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .95rem; display: flex; gap: 10px; }
.price-card li::before { content: "✓"; color: var(--lime-deep); font-weight: 800; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 2px 8px rgba(28, 20, 17, 0.02);
}
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.section.paper .step { background: rgba(247, 245, 240, 0.5); }
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 65, 12, 0.3);
  box-shadow: 0 20px 38px -12px rgba(194, 65, 12, 0.08);
}
.step .n { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--forest); line-height: 1; }
.step h3 { font-size: 1.25rem; margin: 12px 0 6px; font-weight: 700; color: var(--ink); }
.step p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.step .arrow { position: absolute; top: 30px; right: -16px; color: var(--forest); font-weight: 800; z-index: 2; }
.step:last-child .arrow { display: none; }

/* Gruppi servizi (pagina Servizi) */
.service-group { margin-bottom: 44px; }
.service-group:last-child { margin-bottom: 0; }
.service-group-title { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.service-group-intro { color: var(--ink-2); font-size: .98rem; margin: 0 0 18px; }

/* Card-gruppo servizi (landing) */
.service-group-card { display: flex; flex-direction: column; }
.service-group-card p { color: var(--ink-2); font-size: .95rem; margin: 0 0 14px; }
.service-highlights { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.service-highlights li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .92rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.service-highlights li:last-child { border-bottom: 0; padding-bottom: 0; }
.service-highlights li span { color: var(--ink); }
.service-highlights li strong { color: var(--forest); font-weight: 700; white-space: nowrap; }

/* Trust */
.trust { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.trust h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.feat { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.feat:first-of-type { border-top: 0; }
.feat .ic {
  flex: 0 0 44px; height: 44px; border-radius: 12px;
  background: rgba(194, 65, 12, 0.08); color: var(--forest);
  display: grid; place-items: center; font-size: 1.15rem;
}
.feat h4 { margin: 0 0 2px; font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.feat p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.cta-panel {
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  color: var(--paper);
  border-radius: 24px;
  padding: 34px;
  text-align: center;
  box-shadow: 0 20px 45px -10px rgba(194, 65, 12, 0.25);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.cta-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -5px rgba(194, 65, 12, 0.32);
}
.cta-panel h3 { color: #fff; font-size: 1.6rem; font-weight: 700; }
.cta-panel p { color: #f7e6d8; margin: 0 0 20px; }

/* ---------- Recensioni (vetrina) ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.review-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px; }
.review-stars { color: var(--forest); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 8px; }
.review-text { color: var(--ink); font-size: .95rem; margin: 0 0 12px; line-height: 1.5; }
.review-footer { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--ink-2); }
.review-author { font-weight: 600; color: var(--ink); }

/* ---------- Footer ---------- */
/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 24px 16px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.3rem; font-weight: 700; color: var(--forest); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); font-size: .96rem; line-height: 1.55; }

.footer { padding: 40px 0; background: var(--ink); color: #c0b8b0; font-size: .9rem; border-top: 1px solid rgba(28, 20, 17, 0.2); }
.footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--lime-deep); text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--lime); text-decoration: underline; }

/* ---------- Flow (pratica) ---------- */
.flow { padding: 48px 0 72px; }
.flow-wrap { max-width: 660px; margin: 0 auto; }
.progress { display: flex; gap: 8px; margin-bottom: 28px; }
.progress .dot { flex: 1; height: 7px; border-radius: 4px; background: rgba(28, 20, 17, 0.1); transition: background .3s ease; }
.progress .dot.active { background: var(--forest); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.card h2 { font-size: 1.7rem; font-weight: 700; color: var(--ink); }
.card > ul { padding-left: 18px; color: var(--ink-2); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; color: var(--ink); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=password], .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 1rem; background: #fff; font-family: inherit; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.12); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); padding: 12px 0; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--forest); }
.doc-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc-row:last-child { border-bottom: 0; }
.doc-row .cat { font-weight: 600; text-transform: capitalize; color: var(--ink); }
.doc-row .state.up { color: var(--ok); font-weight: 700; font-size: .9rem; }
.doc-row input[type=file] { font-size: .85rem; max-width: 200px; }
.doc-row .state.missing { color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.docs-checklist { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 20px; }
.docs-checklist .chk-row { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--ink); }
.docs-checklist .chk-mark { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .72rem; font-weight: 800; border: 1px solid var(--line); color: var(--ink-2); margin-top: 1px; }
.docs-checklist .chk-text { display: flex; flex-direction: column; gap: 2px; }
.docs-checklist .chk-hint { font-size: .8rem; color: var(--ink-2); font-weight: 400; }
.docs-checklist .chk-row.done .chk-mark { background: var(--ok); border-color: var(--ok); color: #fff; }
.docs-checklist .chk-row.done { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(28,20,17,0.25); }
.docs-checklist .chk-row.done .chk-hint { text-decoration: none; }

/* Timeline stato pratica — CSS economico: solo bordi/colori, niente ombre/filtri GPU. */
.status-timeline { display: flex; align-items: flex-start; justify-content: space-between; margin: 18px 0 22px; width: 100%; }
.status-timeline .tl-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.status-timeline .tl-step::before {
  content: "";
  position: absolute;
  top: 13px;
  left: -50%;
  width: 100%;
  height: 3px;
  background: var(--line);
  z-index: 0;
}
.status-timeline .tl-step:first-child::before { display: none; }
.status-timeline .tl-step.done::before { background: var(--forest); }
.status-timeline .tl-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 800;
  position: relative; z-index: 1;
}
.status-timeline .tl-step.done .tl-dot { background: var(--forest); border-color: var(--forest); color: #fff; }
.status-timeline .tl-step.current .tl-dot { background: var(--lime); border-color: var(--forest); color: var(--forest); }
.status-timeline .tl-label { margin-top: 8px; font-size: .74rem; font-weight: 600; color: var(--ink-2); line-height: 1.25; max-width: 80px; }
.status-timeline .tl-step.current .tl-label { color: var(--forest); font-weight: 800; }
.status-timeline .tl-step.done .tl-label { color: var(--ink); }
@media (max-width: 560px) {
  .status-timeline .tl-label { font-size: .64rem; max-width: 60px; }
  .status-timeline .tl-dot { width: 22px; height: 22px; font-size: .7rem; }
}
.operator-line { font-size: .92rem; color: var(--ink-2); margin: -6px 0 16px; }
.operator-line strong { color: var(--forest); }
.pay-row { display: grid; gap: 12px; margin-top: 18px; }
.pay-amount-big { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--forest); }
.notice { padding: 13px 16px; border-radius: 12px; font-size: .93rem; margin: 14px 0; border: 1px solid transparent; }
.notice.info { background: rgba(194, 65, 12, 0.05); color: var(--forest-2); border-color: rgba(194, 65, 12, 0.12); }
.notice.err { background: #fdecea; color: var(--err); border-color: #f5c6cd; }
.notice.ok { background: rgba(5, 150, 105, 0.08); color: var(--ok); border-color: rgba(5, 150, 105, 0.20); }
.notice.warn { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.hidden { display: none !important; }
.row-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--forest); color: var(--lime); display: grid; place-items: center; font-size: 2rem; margin-bottom: 16px; }

/* ---------- Auth / Area cliente ---------- */
.auth-wrap { max-width: 440px; margin: 56px auto; }
.auth-wrap .card { padding: 34px; }
.auth-tabs { display: flex; gap: 6px; background: rgba(28, 20, 17, 0.06); border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.auth-tabs button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; font-family: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.auth-tabs button.active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.auth-alt { text-align: center; margin-top: 16px; font-size: .9rem; }

.area { padding: 40px 0 72px; }
.area-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.area-head h1 { font-size: 1.9rem; margin: 0; }
.prac-list { display: grid; gap: 14px; }
.prac { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; transition: transform .12s ease, border-color 0.2s; }
.prac:hover { transform: translateY(-2px); border-color: var(--forest); }
.prac .t { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.prac .meta { color: var(--ink-2); font-size: .85rem; margin-top: 2px; }
.empty { text-align: center; padding: 50px 20px; color: var(--ink-2); border: 1px dashed var(--line); border-radius: 16px; background: rgba(255,255,255,0.4); }

/* ---------- Recensione pratica (area cliente) ---------- */
.prac-review { flex: 1 1 100%; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 14px; }
.prac-review .review-status { color: var(--ink-2); font-size: .88rem; }
.prac-review .review-status strong { color: var(--ink); }
.star-picker { display: flex; gap: 4px; font-size: 1.5rem; line-height: 1; margin-bottom: 10px; }
.star-picker span { cursor: pointer; color: var(--line); }
.star-picker span.on { color: var(--forest); }
.review-form textarea { width: 100%; }
.review-char-count { font-size: .8rem; color: var(--ink-2); margin: 4px 0 10px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.b-draft { background: #efe9da; color: #8a7a4a; }
.badge.b-paid { background: rgba(194, 65, 12, 0.08); color: var(--forest); }
.badge.b-docs { background: #e9f0fb; color: #2b5fa0; }
.badge.b-sent { background: #efe7fb; color: #6b46c1; }
.badge.b-work { background: #fdf0e6; color: #b5651d; }
.badge.b-done { background: rgba(5, 150, 105, 0.10); color: var(--ok); }

/* Notifiche messaggi non letti (nav, tab pratiche, card pratica) */
.notif-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dc2626;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 1;
  border-radius: 999px;
  padding: 0 5px;
  margin-left: 6px;
}

/* Legal page */
.legal { max-width: 740px; margin: 48px auto; }
.legal h3 { margin-top: 26px; font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: var(--ink); }

/* ---------- Reveal on load ---------- */
.reveal { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; } .d4 { animation-delay: .35s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .trust { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .step .arrow { display: none; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- Chat: allegati ---------- */
.chat-attach-btn {
  flex: 0 0 auto; cursor: pointer; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font-size: 1.1rem; padding: 0 12px; line-height: 1;
}
.chat-attach-btn:hover { border-color: var(--forest); }
.chat-attach-btn:disabled { opacity: .5; cursor: not-allowed; }
.chat-attachment {
  cursor: pointer; text-decoration: underline; color: var(--forest); font-size: 0.9rem;
}
.chat-attachment:hover { color: var(--forest-2); }

