/* ==========================================================================
   Aggiudica — sito pubblico
   ========================================================================== */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 18px; }
.eyebrow .dot { background: #e2683c; }
.eyebrow-dark { color: #a6a89f; }
.eyebrow-dark .dot { background: var(--accent); }
.h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -.045em; font-weight: 500; }
.h2 .serif { font-size: 1.06em; }
.lead { color: var(--muted); font-size: 16px; max-width: 480px; }
.link-btn { font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 21px; letter-spacing: -.045em; }
.logo b { color: #8cad00; }
.logo-mark { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 18px; }
.logo-mark i { width: 4.5px; border-radius: 3px; background: currentColor; }
.logo-mark i:nth-child(1) { height: 9px; }
.logo-mark i:nth-child(2) { height: 18px; }
.logo-mark i:nth-child(3) { height: 13px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; margin: 12px; border-radius: var(--r-xl); overflow: hidden;
  background: #22241e; min-height: clamp(720px, calc(100vh - 24px), 1000px);
  isolation: isolate; display: flex; flex-direction: column; color: #fff;
}
/* foto a tutta altezza: scende più lenta della pagina (--py) e si avvicina appena (--ps), vedi site.js */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo {
  width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%;
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps, 1.04)); will-change: transform;
  animation: photoIn 1.8s var(--ease) both;
}
@keyframes photoIn { from { opacity: 0; scale: 1.08; } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 13, 10, .5) 0, rgba(12, 13, 10, 0) 26%),
    linear-gradient(0deg, rgba(12, 13, 10, .8) 0, rgba(12, 13, 10, .38) 40%, rgba(12, 13, 10, 0) 68%),
    linear-gradient(90deg, rgba(12, 13, 10, .52) 0, rgba(12, 13, 10, .12) 45%, rgba(12, 13, 10, 0) 64%);
}
.hero .logo { color: #fff; }
.hero .logo b { color: var(--accent); }
.hero .nav-links { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); backdrop-filter: blur(14px); }
.hero .nav-links a { color: rgba(255, 255, 255, .8); }
.hero .nav-links a:hover { color: #fff; }
.hero .nav-links a.is-active { background: #fff; color: var(--ink); }
.hero .nav-cta .btn-dark { background: #fff; color: var(--ink); }
.hero .nav-cta .btn-dark .btn-ico { background: var(--surface-2); }
.btn-accent .btn-ico { background: rgba(15, 16, 13, .1); }
.nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; gap: 16px; }
.nav-links { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(243, 243, 239, .8); }
.nav-links a { padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.nav-cta { display: flex; gap: 6px; align-items: center; }

.hero-inner { position: relative; z-index: 4; width: 100%; max-width: 1320px; margin: auto auto 0; padding: 40px 40px 40px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(12px);
  font-size: 13px; color: #fff; animation: rise .8s var(--ease) both;
}
.hero-title {
  font-size: clamp(44px, 6.6vw, 96px); line-height: .98; letter-spacing: -.05em; font-weight: 500;
  margin: 20px 0 18px; text-shadow: 0 2px 30px rgba(0, 0, 0, .18); animation: rise .9s .05s var(--ease) both;
}
.hero-title .serif { font-size: 1.08em; letter-spacing: -.03em; }
.hero-sub { max-width: 560px; margin: 0; color: rgba(255, 255, 255, .86); font-size: 17px; animation: rise .9s .1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* l'asta più vicina, in vetro sopra la foto */
.hero-next {
  position: absolute; z-index: 5; right: 28px; bottom: 40px; width: 330px; display: flex; align-items: center; gap: 12px;
  padding: 9px 12px 9px 9px; border-radius: 22px; color: #fff;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), 0 20px 50px -20px rgba(0, 0, 0, .5);
  backdrop-filter: blur(18px) saturate(1.2); transition: background .25s, transform .35s var(--ease);
  animation: rise .9s .3s var(--ease) both;
}
.hero-next:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.hero-next img { width: 66px; height: 66px; border-radius: 15px; object-fit: cover; flex: none; }
.hn-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.hn-k { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .78); }
.hn-t { font-size: 14px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hn-p { font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.hn-go { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); flex: none; }

/* ==========================================================================
   CONTATTI IN FONDO: telefono, email, sede e orari
   ========================================================================== */
.reach { margin: 12px; border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: 90px 0; }
.reach-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.reach-head .h2 { font-size: clamp(34px, 4vw, 54px); }
.reach-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reach-list li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background .25s; }
.reach-list li:hover { background: rgba(255, 255, 255, .08); }
.reach-ico { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--accent); }
.reach-list small { display: block; font-size: 12px; color: #a6a89f; }
.reach-list a, .reach-list b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: #fff; overflow-wrap: anywhere; }
.reach-list a:hover { color: var(--accent); }
.reach-list div > span { display: block; margin-top: 2px; font-size: 12.5px; color: #c9cbc3; }
.reach-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); }


/* ==========================================================================
   EXPLORE
   ========================================================================== */
.explore { padding-top: 96px; }
.explore-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.explore-head .lead { max-width: 430px; }
/* marker prezzo */
.pp {
  position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 6px)); display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px; border-radius: 999px; background: #fff; font-weight: 650; font-size: 12.5px; letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 4px 14px -2px rgba(15, 16, 13, .22), inset 0 0 0 1px rgba(15, 16, 13, .06); transition: transform .25s var(--ease), background .2s, color .2s, opacity .3s;
}
.pp::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; z-index: -1; }
.pp .pp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.pp.is-hl, .pp:hover { background: var(--ink); color: #fff; transform: translate(-50%, calc(-100% - 6px)) scale(1.08); }
.pp.is-out { opacity: .32; }
.pp-wrap.is-hl { z-index: 1000 !important; }
.pp-cluster { background: var(--ink); color: #fff; font-weight: 500; cursor: pointer; }
.pp-cluster b { font-weight: 700; }
.pp-cluster:hover { background: var(--accent); color: var(--accent-ink); }

/* card annuncio */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards-more { display: flex; justify-content: center; margin-top: 28px; }
.card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; animation: rise .5s var(--ease) both; }
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -18px rgba(15, 16, 13, .28); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.045); }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.card-fav { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); transition: .2s; }
.card-fav:hover { transform: scale(1.08); }
.card-fav.is-on { color: #e2683c; }
.card-fav.is-on svg { fill: currentColor; }
.card-when { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: rgba(15, 16, 13, .78); color: #fff; font-size: 12px; font-weight: 500; backdrop-filter: blur(8px); }
.card-when.is-soon { background: var(--accent); color: var(--accent-ink); }
.card-body { padding: 14px 16px 16px; }
.card-body h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.card-loc { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin-top: 3px; }
.card-specs { display: flex; gap: 12px; font-size: 12.5px; color: var(--ink-2); margin: 12px 0; flex-wrap: wrap; }
.card-specs span { display: inline-flex; align-items: center; gap: 5px; }
.card-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.card-price small { display: block; font-size: 11.5px; color: var(--muted); }
.card-price b { font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.card-price .stima { text-align: right; font-size: 12px; color: var(--muted); }
.card-price .stima s { display: block; }
.empty { text-align: center; padding: 56px 24px; background: #fff; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); display: grid; justify-items: center; gap: 10px; }
.empty h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.empty p { color: var(--muted); max-width: 360px; margin-bottom: 8px; }

/* ==========================================================================
   COME FUNZIONA: sei passi in verticale, la linea si riempie scorrendo
   ========================================================================== */
.how { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; padding-top: 110px; padding-bottom: 90px; }
.how-head { position: sticky; top: 40px; }
.how-head .lead { margin: 18px 0 26px; }
.how-steps { position: relative; }
.how-line { position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.how-line i { display: block; width: 100%; height: 100%; background: var(--ink); transform-origin: top; transform: scaleY(0); }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.how-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.how-step.is-in { opacity: 1; transform: none; }
.how-n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-2); font-family: var(--serif); font-style: italic; font-size: 27px; transition: background .4s, color .4s, box-shadow .4s; }
.how-step.is-on .how-n { background: var(--ink); color: var(--accent); box-shadow: none; }
.how-b { background: #fff; border-radius: 24px; padding: 22px 24px 24px; box-shadow: inset 0 0 0 1px var(--line); }
.how-k { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.how-b h3 { font-size: 24px; font-weight: 550; letter-spacing: -.035em; margin: 8px 0 6px; }
.how-b p { font-size: 15px; color: var(--ink-2); }
.how-b ul { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.how-b li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.how-b li .i { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }

/* ==========================================================================
   SERVIZI IN HOME: cinque righe da leggere, niente da toccare
   ========================================================================== */
.svc { margin: 12px; border-radius: var(--r-xl); background: var(--ink); color: #fff; padding: 100px 0; }
.svc-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.svc-head { position: sticky; top: 40px; }
.svc-head .lead { color: #a6a89f; margin: 18px 0 24px; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .12); opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.svc-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.svc-item.is-in { opacity: 1; transform: none; }
.svc-n { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--accent); }
.svc-item h3 { font-size: 22px; font-weight: 550; letter-spacing: -.03em; }
.svc-item p { max-width: 560px; margin-top: 6px; font-size: 15px; color: #c9cbc3; }
.svc-item .svc-you { color: var(--accent); font-size: 14px; }

/* ==========================================================================
   DOMANDE FREQUENTI
   ========================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; padding-top: 30px; padding-bottom: 110px; }
.faq-head { position: sticky; top: 40px; }
.faq-card { margin-top: 28px; padding: 24px; border-radius: 24px; background: var(--accent); color: var(--accent-ink); }
.faq-card > .i { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(15, 16, 13, .08); }
.faq-card h3 { font-size: 22px; font-weight: 550; letter-spacing: -.03em; margin: 14px 0 6px; }
.faq-card p { font-size: 15px; color: #3d4a10; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.faq-q .i { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--surface-2); transition: transform .35s var(--ease), background .2s, color .2s; }
.faq-item.is-open .faq-q .i { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { max-width: 640px; padding: 0 22px 22px; font-size: 15px; color: var(--ink-2); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ==========================================================================
   CONTATTI
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-top: 100px; padding-bottom: 110px; align-items: start; }
.contact-copy .lead { margin: 22px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.ticks .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.advisor { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.advisor .av { width: 44px; height: 44px; }
.advisor b { display: block; font-size: 14px; }
.advisor span { font-size: 12.5px; color: var(--muted); }
.advisor .badge { margin-left: 10px; }
.contact-form { position: relative; background: #fff; border-radius: 28px; padding: 28px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); display: grid; gap: 14px; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2 { grid-column: span 2; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; transition: .2s; }
.seg button.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.area-attached { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--accent-2); color: var(--accent-ink); font-size: 13px; font-weight: 500; }
.area-attached .link-btn { margin-left: auto; color: var(--accent-ink); }
.form-error { color: var(--danger); font-size: 13px; }
.cf-success { position: absolute; inset: 0; border-radius: 28px; background: #fff; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 32px; animation: rise .5s var(--ease); }
.cf-success h3 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.cf-success p { color: var(--muted); max-width: 340px; margin-bottom: 10px; }
.cf-check { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); margin-bottom: 6px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols div { display: grid; gap: 8px; align-content: start; font-size: 13.5px; color: var(--muted); }
.footer-cols h4 { font-size: 13px; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.footer-cols a:hover { color: var(--ink); }
.footer-legal { display: flex; justify-content: space-between; gap: 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.footer-legal p:first-child { max-width: 760px; }

/* ==========================================================================
   SCHEDA LOTTO (modale stile "dashboard")
   ========================================================================== */
.lm { position: fixed; inset: 0; z-index: 2000; }
.lm-backdrop { position: absolute; inset: 0; background: rgba(15, 16, 13, .42); backdrop-filter: blur(8px); animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; } }
.lm-sheet {
  position: absolute; inset: 20px; max-width: 1440px; margin: 0 auto; border-radius: 34px; background: #edf1ec;
  display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 12px; overflow: hidden;
  box-shadow: var(--shadow-lg); animation: sheetIn .55s var(--ease) both;
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.985); } }
.lm.closing .lm-sheet { animation: sheetOut .3s ease both; }
.lm.closing .lm-backdrop { animation: fadeOut .3s ease both; }
@keyframes sheetOut { to { opacity: 0; transform: translateY(14px) scale(.99); } }
@keyframes fadeOut { to { opacity: 0; } }

.lm-rail { display: flex; flex-direction: column; align-items: center; padding: 10px 0; gap: 10px; }
.lm-logo { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); }
.lm-tabs { display: grid; gap: 12px; margin: auto 0; }
.lm-tabs button { display: grid; justify-items: center; gap: 5px; font-size: 10.5px; font-weight: 550; color: var(--muted); }
.lm-tabs button .i { width: 46px; height: 46px; padding: 13px; border-radius: 50%; background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: .25s var(--ease); }
.lm-tabs button:hover .i { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm); }
.lm-tabs button.is-on { color: var(--ink); }
.lm-tabs button.is-on .i { background: var(--ink); color: #fff; box-shadow: none; }
.lm-rail-bottom { display: grid; gap: 10px; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: .2s; }
.rail-btn.is-dark { background: var(--ink); color: #fff; box-shadow: none; }

.lm-main { overflow-y: auto; display: flex; flex-direction: column; gap: 10px; border-radius: 24px; padding-bottom: 0; }
.lm-gallery { position: relative; height: 330px; flex: none; border-radius: 24px; overflow: hidden; background: #dfe3de; }
.lm-gallery img { width: 100%; height: 100%; object-fit: cover; animation: fade .5s ease; }
.lm-gallery .g-nav { position: absolute; inset: auto 12px 12px auto; display: flex; gap: 6px; align-items: center; }
.lm-gallery .g-nav button { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; backdrop-filter: blur(8px); }
.lm-gallery .g-count { height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(15, 16, 13, .7); color: #fff; font-size: 12.5px; display: inline-flex; align-items: center; backdrop-filter: blur(8px); }
.lm-gallery .g-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.lm-thumbs { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.lm-thumbs button { width: 52px; height: 38px; border-radius: 10px; overflow: hidden; opacity: .7; border: 2px solid transparent; transition: .2s; }
.lm-thumbs button.is-on { opacity: 1; border-color: #fff; }
.lm-thumbs img { animation: none; }

.lm-card { background: #fff; border-radius: 24px; padding: 20px; flex: none; }
.lm-title { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.lm-title h2 { font-size: 23px; font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
.lm-title p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.fav-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #e9a23b; flex: none; transition: .2s; }
.fav-btn:hover { background: var(--warn-bg); }
.fav-btn.is-on svg { fill: currentColor; }
.lm-codes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.tile { background: #f1f4f0; border-radius: 18px; padding: 14px; min-height: 124px; display: flex; flex-direction: column; justify-content: space-between; }
.tile .i { color: var(--ink-2); }
.tile small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.tile b { font-size: clamp(20px, 2vw, 28px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
.tile.is-dark { background: var(--ink); color: #fff; }
.tile.is-dark .i, .tile.is-dark small { color: #a6a89f; }
.tile .cd { display: flex; gap: 6px; font-variant-numeric: tabular-nums; }
.tile .cd span { display: grid; }
.tile .cd em { font-style: normal; font-size: 10px; color: #a6a89f; letter-spacing: .04em; text-transform: uppercase; }

.lm-sec-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.lm-sec-h h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.lm-descr { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-top: 14px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kv dt, .kv span { color: var(--muted); }
.kv dd, .kv b { margin: 0; font-weight: 550; text-align: right; }
.kv.one { grid-template-columns: 1fr; }
.flags { display: grid; gap: 8px; margin-top: 6px; }
.flag { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.flag .i { margin-top: 1px; }
.flag.ok { background: var(--ok-bg); color: #1f6b47; }
.flag.warn { background: var(--warn-bg); color: #7d4f0e; }
.flag.info { background: var(--info-bg); color: #24479a; }
.ai-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--accent-ink); background: var(--accent-2); padding: 4px 9px; border-radius: 999px; }

/* i documenti non si scaricano: li spiega il team a voce */
.ask-docs { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #f1f4f0; }
.ask-docs p { flex: 1; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.ask-docs p b { font-weight: 600; color: var(--ink); }
.ask-docs .mini-btn { flex: none; }
.mini-btn { height: 32px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 550; display: inline-flex; align-items: center; gap: 5px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.mini-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* storico esperimenti */
.history { display: grid; gap: 0; margin-top: 8px; }
.h-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; position: relative; font-size: 13.5px; }
.h-row::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.h-row:first-child::before { top: 50%; }
.h-row:last-child::before { bottom: 50%; }
.h-row i.hd { position: relative; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line-2); }
.h-row.is-now i.hd { border-color: var(--ink); background: var(--accent); }
.h-row b { font-weight: 600; }
.h-row small { color: var(--muted); display: block; font-size: 12px; }

/* calcolatore costi */
.calc-offer { padding: 16px; border-radius: 18px; background: #f1f4f0; }
.calc-offer label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.calc-offer output { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.04em; margin: 4px 0 10px; }
.range { width: 100%; accent-color: var(--ink); }
.calc-toggle { display: flex; gap: 6px; margin: 14px 0 4px; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; font-size: 15px; font-weight: 600; }
.calc-total b { font-size: 24px; letter-spacing: -.03em; }
.fine { font-size: 12px; color: var(--muted); margin-top: 10px; }

.lm-cta { position: sticky; bottom: 0; flex: none; padding-top: 4px; background: linear-gradient(transparent, #edf1ec 30%); }
.lm-cta .btn { height: 58px; border-radius: 18px; width: 100%; font-size: 15px; }

/* lato mappa */
.lm-side { position: relative; border-radius: 24px; overflow: hidden; background: #dfe3de; }
.lm-map { position: absolute; inset: 0; }
.lm-chips { position: absolute; z-index: 500; top: 14px; left: 14px; right: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.lm-chips span { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-sm); }
.lm-chips span .i { color: var(--muted); }
.lm-pin { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); }
.lm-pin .halo { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(233, 162, 59, .28); animation: halo 2.4s infinite; }
@keyframes halo { 50% { transform: translate(-50%, -50%) scale(1.25); opacity: .6; } }
.lm-pin .core { position: relative; width: 18px; height: 18px; border-radius: 50%; background: #e9a23b; border: 4px solid #1a1b17; }
.lm-tip {
  position: absolute; left: 0; bottom: 30px; transform: translateX(-50%); display: flex; align-items: stretch;
  background: var(--ink); color: #fff; border-radius: 22px; padding: 14px 6px; white-space: nowrap; box-shadow: var(--shadow-lg);
}
.lm-tip::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 16px; height: 16px; background: var(--ink); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.lm-tip div { padding: 0 16px; text-align: center; }
.lm-tip div + div { border-left: 1px dashed rgba(255, 255, 255, .25); }
.lm-tip b { display: block; font-size: 24px; font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.lm-tip small { font-size: 11px; color: #a6a89f; }

/* chat */
.chat {
  position: absolute; z-index: 600; right: 16px; bottom: 82px; width: 320px; max-width: calc(100% - 32px);
  background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  transform-origin: bottom right; transition: transform .4s var(--ease), opacity .3s;
}
.chat.is-closed { transform: scale(.85) translateY(10px); opacity: 0; pointer-events: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ink); color: #fff; font-size: 14px; }
.chat-logo { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.chat-logo .logo-mark { height: 13px; gap: 2px; }
.chat-logo .logo-mark i { width: 3.5px; }
.chat-logo .logo-mark i:nth-child(1) { height: 7px; } .chat-logo .logo-mark i:nth-child(2) { height: 13px; } .chat-logo .logo-mark i:nth-child(3) { height: 10px; }
.chat-status { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: #a6a89f; }
.chat-body { max-height: 300px; min-height: 140px; overflow-y: auto; padding: 14px 12px 6px; display: flex; flex-direction: column; gap: 8px; }
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; animation: rise .35s var(--ease) both; }
.msg .av { width: 26px; height: 26px; }
.msg p { padding: 9px 12px; border-radius: 16px 16px 16px 5px; background: #eef2ee; font-size: 13.5px; line-height: 1.4; }
.msg.me { align-self: flex-end; }
.msg.me p { background: var(--ink); color: #fff; border-radius: 16px 16px 5px 16px; }
.typing p { display: flex; gap: 4px; padding: 12px 14px; }
.typing p i { width: 6px; height: 6px; border-radius: 50%; background: #9aa09a; animation: blink 1.2s infinite; }
.typing p i:nth-child(2) { animation-delay: .15s; } .typing p i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
.quick { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 34px; animation: rise .35s var(--ease) both; }
.quick button { height: 30px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-2); background: #fff; transition: .2s; }
.quick button:hover { background: var(--ink); color: #fff; box-shadow: none; }
.chat-lead { margin-left: 34px; display: grid; gap: 6px; padding: 10px; border-radius: 16px; background: #f1f4f0; animation: rise .35s var(--ease) both; }
.chat-lead input { height: 38px; border-radius: 10px; border: 1px solid var(--line); padding: 0 10px; font-size: 13.5px; outline: none; background: #fff; }
.chat-lead input:focus { border-color: var(--ink); }
.chat-lead .btn { height: 38px; border-radius: 10px; }
.chat-input { display: flex; gap: 6px; padding: 10px 12px 12px; }
.chat-input input { flex: 1; height: 40px; border-radius: 999px; border: 1px solid var(--line); padding: 0 14px; font-size: 13.5px; outline: none; }
.chat-input input:focus { border-color: var(--ink); }
.chat-input button { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.chat-fab { position: absolute; z-index: 600; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); }
.chat-fab:hover { transform: scale(1.06); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .hero-next { display: none; }
}
@media (max-width: 1180px) {
  .docs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .lm-sheet { inset: 0; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: auto auto auto; overflow-y: auto; padding: 10px; display: block; }
  .lm-rail { position: sticky; top: -10px; z-index: 700; flex-direction: row; justify-content: space-between; padding: 6px 4px 10px; background: #edf1ec; }
  .lm-tabs { display: flex; gap: 6px; margin: 0; }
  .lm-tabs button span { display: none; }
  .lm-tabs button .i { width: 42px; height: 42px; padding: 11px; }
  .lm-rail-bottom { display: flex; }
  .lm-logo { display: none; }
  .lm-main { overflow: visible; }
  .lm-side { height: 560px; margin-top: 10px; }
  .lm-cta { position: static; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .hero-inner { padding: 40px 24px 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .docs-head, .contact { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact { gap: 40px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { margin: 8px; border-radius: 26px; min-height: min(760px, 92vh); }
  .hero-bg::after { background: linear-gradient(180deg, rgba(12, 13, 10, .45) 0, rgba(12, 13, 10, .15) 18%, rgba(12, 13, 10, .55) 40%, rgba(12, 13, 10, .86) 70%); }
  .nav { padding: 14px; }
  .hero-inner { padding: 150px 16px 16px; }
  .hero-sub { font-size: 15px; }
  .cards, .steps, .docs-grid, .cf-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .docs-sec { margin: 0 8px; padding: 70px 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles .tile:last-child { grid-column: span 2; }
  .kv { grid-template-columns: 1fr; }
  .lm-gallery { height: 250px; }
  .lm-thumbs { display: none; }
  .file-head { flex-wrap: wrap; }
  .file-head .btn { margin-left: 0; width: 100%; }
  .contact-form { padding: 20px; }
  .footer-legal { flex-direction: column; }
  .area-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .lm-tip b { font-size: 18px; }
  .lm-tip div { padding: 0 10px; }
}

/* pannelli: tablet e telefono */
@media (max-width: 900px) {
}
@media (max-width: 640px) {
}

/* etichetta fascicolo sulle card: sempre su una riga */

/* ==========================================================================
   PAGINA SERVIZI
   ========================================================================== */
.sv-hero { margin: 12px; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.sv-hero-in { max-width: 1240px; margin: 0 auto; padding: 84px 28px 72px; }
.sv-hero h1 { font-size: clamp(44px, 7.6vw, 108px); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.sv-hero h1 .serif { font-size: 1.05em; }
.sv-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 48px; }
.sv-hero .lead { font-size: 18px; max-width: 560px; }

/* il percorso: mazzo di fogli guidato dallo scroll */
.path-sec { position: relative; height: 520vh; margin: 0 12px; border-radius: var(--r-xl); background: #10110e; color: #fff; }
.path-sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; border-radius: var(--r-xl); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.path-now { min-height: 276px; }
.path-now h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.04; letter-spacing: -.045em; font-weight: 500; }
.path-now p { color: #a6a89f; font-size: 16.5px; line-height: 1.5; margin-top: 16px; max-width: 480px; }
.path-now .path-you { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.2; color: var(--accent); }
.path-now .swap { animation: nowIn .5s var(--ease) both; }
@keyframes nowIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.path-rail { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 2px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 14px; }
.path-rail button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px 0; text-align: left; font-size: 14px; color: #6f7168; transition: color .25s; }
.path-rail button:hover { color: #d7d9cf; }
.path-rail em { font-family: var(--serif); font-size: 19px; width: 18px; }
.path-rail .is-done { color: #a6a89f; }
.path-rail .is-on { color: #fff; font-weight: 550; }
.path-rail .is-on em { color: var(--accent); }
.path-stage { position: relative; height: 100%; display: grid; place-items: center; overflow: hidden; }
.path-deck { position: relative; width: min(430px, 100%); height: min(570px, 76vh); }
.sheet { position: absolute; inset: 0; padding: 24px 24px 40px; border-radius: 18px; background: #fbfaf6; color: #2a2b27; font-size: 13px; line-height: 1.4; overflow: hidden; will-change: transform; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .85); }
.sheet::after { content: ''; position: absolute; inset: 0; background: #10110e; opacity: var(--shade, 0); pointer-events: none; }
.sh-top { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8b8d84; padding-bottom: 11px; border-bottom: 1px solid #e7e5dd; }
.sh-top em { font-style: normal; color: #b0b2a8; }
.sh-title { font-family: var(--serif); font-size: 32px; line-height: 1.05; letter-spacing: -.01em; color: #10110e; margin: 16px 0 14px; }
.sh-lines { display: grid; gap: 7px; margin: 12px 0; }
.sh-lines i { display: block; height: 5px; border-radius: 3px; background: #e7e5dc; }
.sh-lines i:nth-child(3n) { width: 82%; } .sh-lines i:nth-child(4n) { width: 62%; }
.sh-table { width: 100%; border-collapse: collapse; }
.sh-table td { padding: 8px 0; border-bottom: 1px solid #eceae2; }
.sh-table td:last-child { text-align: right; font-weight: 650; }
.sh-found { display: flex; align-items: center; gap: 12px; margin: 16px 0; padding: 12px 14px; border-radius: 12px; background: #eef8c4; color: #1d2600; font-size: 12.5px; line-height: 1.25; font-weight: 550; }
.sh-found b { font-family: var(--serif); font-size: 42px; font-weight: 400; line-height: 1; }
.sh-rows { display: grid; gap: 8px; font-weight: 550; }
.sh-rows div { display: flex; align-items: center; gap: 9px; }
.sh-rows i { width: 8px; height: 8px; border-radius: 50%; background: #2f9a68; flex: none; }
.sh-rows em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 11.5px; color: #8b8d84; }
.sh-rows .is-off { color: #a3a59c; text-decoration: line-through; text-decoration-color: #cfcdc4; }
.sh-rows .is-off i { background: #cfcdc4; }
.sh-rows .is-off em { text-decoration: none; }
.sh-mark { font-family: var(--serif); font-size: 18px; line-height: 1.3; color: #4c4e45; }
.sh-mark mark { background: #eaf79b; color: #10110e; padding: 0 3px; border-radius: 3px; }
.sh-note { margin: 9px 0 0 18px; padding: 9px 12px; border-left: 2px solid #10110e; font-size: 12.5px; color: #33352f; background: #f3f2ec; border-radius: 0 10px 10px 0; }
.sh-note b { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #8b8d84; margin-bottom: 2px; }
.sh-plan { width: 100%; margin-bottom: 12px; }
.sh-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-weight: 550; }
.sh-check li { display: flex; align-items: center; gap: 9px; }
.sh-check li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #2f9a68; flex: none; }
.sh-check .is-warn { color: #b06e12; }
.sh-check .is-warn::before { background: #e2683c; }
.sh-time { display: grid; gap: 0; margin-bottom: 16px; }
.sh-time div { position: relative; padding: 0 0 15px 26px; }
.sh-time div::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: -6px; width: 2px; background: #e4e2d9; }
.sh-time div:last-child::before { display: none; }
.sh-time i { position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fbfaf6; border: 2px solid #cfcdc4; z-index: 1; }
.sh-time .is-done i { background: #10110e; border-color: #10110e; }
.sh-time .is-now i { background: #d8f15d; border-color: #10110e; }
.sh-time b { display: block; font-weight: 650; }
.sh-time span { color: #8b8d84; font-size: 12.5px; }
.sh-bar { padding: 12px 14px; border-radius: 12px; background: #10110e; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 12px; }
.sh-bar b { font-family: var(--serif); font-size: 22px; font-weight: 400; color: #d8f15d; line-height: 1; }
.sh-bar div { grid-column: 1 / -1; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.sh-bar i { display: block; width: 38%; height: 100%; background: #d8f15d; }
.sh-stamp { position: absolute; right: 26px; bottom: 58px; width: 104px; height: 104px; border-radius: 50%; border: 2.5px solid rgba(60, 111, 216, .55); display: grid; place-items: center; transform: rotate(-14deg); color: rgba(60, 111, 216, .72); font-size: 9.5px; font-weight: 800; letter-spacing: .13em; text-align: center; }
.sh-stamp::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(60, 111, 216, .45); }
.sh-sign { width: 130px; height: 44px; margin-top: 16px; }
.sh-foot { position: absolute; left: 24px; right: 24px; bottom: 15px; display: flex; justify-content: space-between; font-size: 10px; color: #a3a59c; letter-spacing: .05em; }

/* ricerca personalizzata */
.sv-search { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-top: 120px; padding-bottom: 120px; }
.sv-search .lead { margin-top: 22px; }
.sv-how { list-style: none; counter-reset: h; margin: 34px 0; padding: 0; }
.sv-how li { counter-increment: h; position: relative; padding: 16px 0 16px 50px; border-top: 1px solid var(--line); }
.sv-how li::before { content: counter(h); position: absolute; left: 0; top: 7px; font-family: var(--serif); font-style: italic; font-size: 38px; line-height: 1.2; color: #8cad00; }
.sv-how b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.sv-how span { color: var(--muted); font-size: 14.5px; }
.mail { background: #fff; border-radius: 26px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); transform: rotate(1.4deg); }
.mail-h { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mail-logo { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.mail-h b { display: block; font-size: 14px; line-height: 1.2; }
.mail-h small { color: var(--muted); font-size: 13px; }
.mail-h time { margin-left: auto; font-size: 12px; color: var(--faint); }
.mail-hi { margin: 16px 0; font-size: 15px; }
.mail-lot { border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.mail-lot img { width: 100%; height: 196px; object-fit: cover; }
.mail-lot-b { padding: 14px; }
.mail-lot-b > b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.mail-lot-b > small { color: var(--muted); font-size: 13px; }
.mail-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.mail-kv small { display: block; font-size: 11.5px; color: var(--muted); }
.mail-kv b { font-size: 14.5px; font-weight: 600; letter-spacing: -.02em; }
.mail-why { display: flex; align-items: center; gap: 8px; margin: 14px 0 8px; font-size: 13.5px; font-weight: 550; }
.mail-why .i { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.mail-sign { color: var(--muted); font-size: 13.5px; }

/* iscrizione annuale (attivabile) */
.sv-sub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: end; padding-bottom: 110px; }
.sv-sub .lead { margin-bottom: 22px; }

/* selezione */
.sv-select { margin: 0 12px; padding: 96px 0; border-radius: var(--r-xl); background: var(--accent); color: var(--accent-ink); }
.sv-select-t { font-size: clamp(30px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.045em; font-weight: 500; max-width: 1080px; }
.sv-select-t .serif { font-size: 1.05em; }
.sv-select-cta { margin-top: 40px; }
body.sv .footer { border-top: 0; }

@media (max-width: 900px) {
  /* i link restano raggiungibili anche su telefono: Servizi è una pagina a sé */
  .nav { flex-wrap: wrap; }
  .nav-links { display: flex; order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .nav-links a { white-space: nowrap; }
  .sv-hero-in { padding: 48px 20px 48px; }
  .path-sticky { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 18px; padding: 28px 20px 18px; min-height: 560px; }
  .path-now { min-height: 0; }
  .path-now h2 { font-size: 27px; }
  .path-now p { font-size: 14px; margin-top: 8px; }
  .path-now .path-you { font-size: 18px; }
  .path-rail { display: none; }
  .path-copy .eyebrow { margin-bottom: 10px; }
  .path-deck { width: min(330px, 100%); height: 100%; max-height: 440px; }
  .sheet { padding: 16px 16px 30px; font-size: 11.5px; }
  .sh-title { font-size: 24px; margin: 10px 0; }
  .sh-mark { font-size: 15px; }
  .sh-found b { font-size: 32px; }
  .sh-stamp { width: 80px; height: 80px; font-size: 7.5px; right: 14px; bottom: 40px; }
  .sv-search, .sv-sub { grid-template-columns: 1fr; gap: 44px; padding-top: 72px; padding-bottom: 72px; }
  .sv-sub { padding-top: 0; gap: 22px; }
  .mail { transform: none; }
  .sv-select { padding: 64px 0; }
}

/* ==========================================================================
   MUTUO TRAMITE BROKER
   ========================================================================== */
.mort { margin: 12px; padding: 88px 0; border-radius: var(--r-xl); background: var(--accent); color: var(--accent-ink); overflow: hidden; }
.mort-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.eyebrow-mort { color: #4b5a14; }
.eyebrow-mort .dot { background: var(--ink); }
.mort .lead { color: #3d4a10; margin: 22px 0 28px; }
.mort-fine { margin-top: 14px; font-size: 12.5px; color: #55631f; }
.mort-line { list-style: none; margin: 0; padding: 0; position: relative; }
.mort-line::before { content: ''; position: absolute; left: 7px; top: 12px; bottom: 40px; width: 2px; background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform 1.3s var(--ease); }
.mort.is-in .mort-line::before { transform: none; }
.mort-line li { position: relative; padding: 0 0 30px 44px; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mort-line li:last-child { padding-bottom: 0; }
.mort-line li::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--accent); }
.mort.is-in .mort-line li { opacity: 1; transform: none; }
.mort-line li:nth-child(2) { transition-delay: .18s; } .mort-line li:nth-child(3) { transition-delay: .36s; } .mort-line li:nth-child(4) { transition-delay: .54s; }
.mort-line b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -.01em; }
.mort-line span { display: block; margin-top: 4px; font-size: 15px; color: #3d4a10; }
.mort-note { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 14px; padding: 13px 14px; border-radius: 16px; background: var(--accent-2); color: var(--accent-ink); }
.mort-note b { display: block; font-size: 14px; font-weight: 600; }
.mort-note span { font-size: 13px; }
.mort-note .btn { flex: none; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nowrap { white-space: nowrap; }
@media (max-width: 900px) {
  .mort { padding: 56px 0; }
  .mort-in { grid-template-columns: 1fr; gap: 40px; }
}

/* link alla pagina Servizi dentro il percorso */
.path-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 550; color: var(--accent); }
.path-more:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .path-more { margin-top: 10px; font-size: 13px; } }

/* ==========================================================================
   CONTATTI IN EVIDENZA
   ========================================================================== */
.contact-call { margin-bottom: 18px; }
.contact-call p { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.hero-cta, .value-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-cta { margin-top: 24px; }

/* i due numeri di telefono, uno per pulsante */
.call-pair { display: flex; flex-wrap: wrap; gap: 8px; }
.call-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 8px; border-radius: 999px; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.call-btn:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm); }
.call-btn:active { transform: scale(.97); }
.call-ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); }
.call-btn b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.call-btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.call-btn-accent:hover { background: #cfe94e; box-shadow: none; }
.call-btn-accent .call-ico { background: rgba(15, 16, 13, .1); }

@media (max-width: 900px) {
  .hero-cta .btn, .value-cta, .value-cta .btn, .reach-cta > .btn, .contact-call, .call-pair, .call-btn { width: 100%; }
  .call-pair { flex-direction: column; }
  .call-btn { justify-content: center; }
}

/* sezioni della home: tablet e telefono */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .svc-in, .how, .faq { grid-template-columns: 1fr; gap: 32px; }
  .svc-head, .how-head, .faq-head { position: static; }
  .reach-in { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .explore { padding-top: 64px; }
  .cards { grid-template-columns: 1fr; }
  .svc { margin: 8px; padding: 64px 0; border-radius: 26px; }
  .svc-item { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .svc-n { font-size: 32px; }
  .how { padding-top: 72px; padding-bottom: 64px; }
  .how-step { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .how-n { width: 44px; height: 44px; font-size: 21px; }
  .how-line { left: 21px; }
  .how-b { padding: 18px; }
  .how-b h3 { font-size: 20px; }
  .faq { padding-bottom: 72px; }
  .faq-q { padding: 18px; font-size: 15.5px; }
  .faq-a p { padding: 0 18px 18px; }
  .reach { margin: 8px; border-radius: 26px; padding: 64px 0; }
  .reach-list { grid-template-columns: 1fr; }
  .reach-list li { padding: 18px; }
}
