/* ==========================================================
   Studio Uno · foglio di stile
   Palette e font sono definiti in :root, si cambiano da lì.
   ========================================================== */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F5F2ED;
  --white: #FFFFFF;
  --stone: #EBE6DE;
  --stone-dark: #D8D0C3;
  --ink: #121212;
  --ink-soft: #5B5852;
  --line: #DDD7CD;
  --red: #C3242C;
  --wa: #25D366;

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; }
::selection { background: var(--ink); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; }
.skip-link:focus { top: 16px; }
.icon { width: 20px; height: 20px; flex: none; }
.no-scroll { overflow: hidden; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 64px, var(--wrap)); } }

.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tight { padding-block: clamp(24px, 4vw, 48px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  margin: 0 0 1.1em;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); margin-bottom: .45em; }
.section-head p { color: var(--ink-soft); font-size: 1.125rem; max-width: 60ch; }
.muted { color: var(--ink-soft); }
.small { font-size: .92rem; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .8em;
  min-height: 54px; padding: 0 1.7em;
  border: 1.5px solid var(--ink); border-radius: 0;
  font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); }
.btn-sm { min-height: 44px; padding: 0 1.25em; font-size: .72rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 237, .9);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.logo { gap: 14px; }
.logo-mark { width: 44px; height: 44px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-weight: 300; font-size: 1rem; letter-spacing: .26em; text-transform: uppercase; }
.logo-name b { font-weight: 700; }
.logo-tag { margin-top: 6px; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 480px) { .logo-tag { letter-spacing: .08em; } .logo-name { letter-spacing: .2em; } }

.nav-toggle {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 0; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.nav {
  position: absolute; top: 100%; left: 0; right: 0;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  padding: 16px 16px 40px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 28px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 2.1rem; line-height: 1.1; text-decoration: none; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; height: auto; padding: 0; background: none; overflow: visible;
    flex-direction: row; align-items: center; gap: 32px;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav ul { display: flex; gap: 28px; }
  .nav li a {
    position: relative; padding: 6px 0; border: 0;
    font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  }
  .nav li a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav li a:hover::after { transform: scaleX(1); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.12fr .88fr; gap: 72px; } }
.hero h1 { font-size: clamp(2.9rem, 7.4vw, 5.9rem); line-height: .96; letter-spacing: -.025em; margin-bottom: .35em; }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; }
.hero-facts { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 22px clamp(28px, 5vw, 48px); margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts dt { font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 3rem); line-height: 1; white-space: nowrap; }
.hero-facts dt small { font-size: .45em; margin-left: .15em; }
@media (min-width: 560px) { .hero-facts { grid-template-columns: repeat(4, auto); } }
.hero-facts dd { margin: 6px 0 0; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }

.hero-art { position: relative; width: 100%; max-width: 500px; margin-inline: auto; }
.diamond {
  position: relative; aspect-ratio: 1;
  background: var(--stone); color: var(--white);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  display: grid; place-items: center;
}
.diamond > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diamond-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.diamond-line path { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.stamp {
  position: absolute; top: 2%; right: 0;
  width: clamp(104px, 17vw, 148px);
  animation: spin 30s linear infinite;
}
.stamp-bg { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.stamp-text { font-family: var(--font-body); font-size: 15px; font-weight: 700; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Nastro brand ---------- */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { display: flex; align-items: center; font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.1; white-space: nowrap; }
.marquee li::after { content: ""; width: 9px; height: 9px; margin-inline: clamp(24px, 3.5vw, 44px); background: currentColor; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Marchi ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 700px) { .brand-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .brand-wall { grid-template-columns: repeat(5, 1fr); } }
.brand-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 190px; padding: 28px 16px 22px;
  background: var(--white); text-decoration: none; text-align: center;
  transition: background-color .3s;
}
.brand-logo { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 84px; }
.brand-logo img { width: auto; height: auto; max-width: min(78%, 190px); max-height: 46px; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.brand-tile.tall .brand-logo img { max-height: 78px; }
.brand-name { margin-top: 14px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); transition: opacity .25s; }
.brand-cta {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.brand-cta .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.brand-tile:not(.brand-tile-cta) .brand-cta { position: absolute; left: 0; right: 0; bottom: 22px; justify-content: center; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease); }
.brand-tile:hover { background: var(--paper); }
.brand-tile:hover .brand-logo img { transform: scale(1.05); }
.brand-tile:hover .brand-name { opacity: 0; }
.brand-tile:hover .brand-cta { opacity: 1; transform: none; }
.brand-tile:hover .brand-cta .icon { transform: translateX(3px); }
.brand-tile-cta { grid-column: 1 / -1; align-items: flex-start; justify-content: space-between; gap: 20px; background: var(--ink); color: var(--white); text-align: left; padding: 28px 24px; }
.brand-tile-cta:hover { background: #000; }
.brand-cta-title { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; }
@media (min-width: 1000px) { .brand-tile-cta { grid-column: auto; } }
@media (max-width: 999px) { .brand-tile-cta { flex-direction: row; align-items: center; min-height: 0; } }
@media (hover: none) { .brand-name { opacity: 1 !important; } .brand-tile:not(.brand-tile-cta) .brand-cta { display: none; } }
.brand-more { margin: 36px 0 0; text-align: center; color: var(--ink-soft); }

/* ---------- Chi siamo ---------- */
.why { background: var(--white); }
.why-grid { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .why-grid { grid-template-columns: .9fr 1.1fr; gap: 96px; }
  .why-intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}
.why-intro h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: .45em; }
.why-intro p { color: var(--ink-soft); font-size: 1.125rem; margin-bottom: 1.8em; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-item { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 30px 0; border-top: 1px solid var(--ink); }
.why-item:last-child { border-bottom: 1px solid var(--ink); }
.why-num { font-family: var(--font-display); font-size: 2.6rem; line-height: .9; }
.why-item h3 { font-family: var(--font-body); font-size: 1.18rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; margin-bottom: .4em; }
.why-item p { margin: 0; color: var(--ink-soft); }

/* ---------- Come funziona ---------- */
.how { background: var(--ink); color: var(--white); }
.how .section-head p { color: #BDBAB4; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.steps::before { content: ""; position: absolute; left: 34px; top: 36px; bottom: 36px; border-left: 1.5px dashed rgba(255, 255, 255, .3); }
.step { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 20px; }
.step-num {
  width: 50px; height: 50px; margin: 10px;
  display: grid; place-items: center;
  border: 1.5px solid var(--white); background: var(--ink);
  transform: rotate(45deg);
}
.step-num span { transform: rotate(-45deg); font-family: var(--font-display); font-size: 1.75rem; line-height: 1; }
.step h3 { font-size: 1.9rem; margin: .1em 0 .4em; }
.step p { color: #BDBAB4; margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .steps::before { left: 35px; right: 10%; top: 35px; bottom: auto; border-left: 0; border-top: 1.5px dashed rgba(255, 255, 255, .3); }
  .step { display: block; }
  .step-num { margin: 10px 10px 34px; }
}

/* ---------- Zone (mappa) ---------- */
.zone-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .zone-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
@media (max-width: 959px) { .zone-copy { order: -1; } }
.zone-map { margin: 0; width: 100%; max-width: 540px; justify-self: center; }
.zone-map figcaption { margin-top: 8px; text-align: right; font-size: .7rem; color: var(--ink-soft); }
.map { width: 100%; height: auto; overflow: visible; }
.reg { fill: #E2DBD0; stroke: var(--paper); stroke-width: 1.2; stroke-linejoin: round; transition: fill .2s; }
.reg.on { fill: var(--ink); cursor: default; }
.reg.on:hover,
.zone-grid:has([data-r="lazio"]:hover) #reg-lazio,
.zone-grid:has([data-r="marche"]:hover) #reg-marche,
.zone-grid:has([data-r="umbria"]:hover) #reg-umbria,
.zone-grid:has([data-r="abruzzo"]:hover) #reg-abruzzo,
.zone-grid:has([data-r="molise"]:hover) #reg-molise,
.zone-grid:has([data-r="sardegna"]:hover) #reg-sardegna { fill: var(--red); }
.map-labels text { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink); pointer-events: none; }
.map-labels .map-roma-sub { font-size: 9px; font-weight: 600; fill: var(--ink-soft); }
.map-leader { fill: none; stroke: var(--ink); stroke-width: 1; }
.map-pin { fill: var(--red); stroke: var(--white); stroke-width: 2.5; }
@media (max-width: 600px) { .map-labels text { font-size: 17px; } .map-labels .map-roma-sub { font-size: 12px; } }
.zone-copy h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: .45em; }
.zone-copy > p { color: var(--ink-soft); font-size: 1.1rem; }
.zone-list { margin-top: 28px; }
.zone-list li { cursor: default; transition: color .2s; }
.zone-list li:hover,
.zone-grid:has(#reg-lazio:hover) [data-r="lazio"],
.zone-grid:has(#reg-marche:hover) [data-r="marche"],
.zone-grid:has(#reg-umbria:hover) [data-r="umbria"],
.zone-grid:has(#reg-abruzzo:hover) [data-r="abruzzo"],
.zone-grid:has(#reg-molise:hover) [data-r="molise"],
.zone-grid:has(#reg-sardegna:hover) [data-r="sardegna"] { color: var(--red); }

/* ---------- Showroom ---------- */
.showroom { background: var(--stone); }
.showroom-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .showroom-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.showroom-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.showroom-photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; background: var(--stone-dark); }
.showroom-photos .ph-main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ph-badge {
  position: absolute; left: 14px; top: 14px;
  display: flex; flex-direction: column; padding: 12px 16px;
  background: var(--white); border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.ph-badge strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1; }
.showroom-copy h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: .45em; }
.showroom-copy > p { color: var(--ink-soft); font-size: 1.1rem; }
.info-list { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 16px; }
.info-list li { display: flex; align-items: center; gap: 16px; line-height: 1.45; }
.info-list strong { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.info-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); }
.zones-label { margin-bottom: .4em; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.zones { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.25; }
.zones li { display: flex; align-items: center; }
.zones li:not(:last-child)::after { content: ""; width: 7px; height: 7px; margin-inline: 14px; background: currentColor; transform: rotate(45deg); }

/* ---------- Banda per i brand ---------- */
.band {
  position: relative; overflow: hidden;
  display: grid; gap: 28px; align-items: center;
  padding: clamp(32px, 5vw, 64px);
  background: var(--white); border: 1.5px solid var(--ink);
}
.band::after {
  content: none; position: absolute; right: -90px; top: -90px;
  width: 220px; height: 220px; border: 1.5px solid var(--ink); transform: rotate(45deg);
  pointer-events: none;
}
.band h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: .4em; }
.band p:not(.eyebrow) { color: var(--ink-soft); max-width: 58ch; margin: 0; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; gap: 64px; } .band .btn { margin-right: 60px; } .band::after { content: ""; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 96px; } }
.faq-list details { border-top: 1px solid var(--ink); }
.faq-list details:last-child { border-bottom: 1px solid var(--ink); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 52px 24px 0;
  font-size: 1.12rem; font-weight: 650; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 50%;
  width: 34px; height: 34px; margin-top: -17px;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 50%;
  font-size: 1.3rem; font-weight: 400; line-height: 1;
  transition: transform .25s var(--ease), background-color .2s, color .2s;
}
.faq-list summary:hover::after { background: var(--ink); color: var(--white); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 64ch; margin: -6px 0 0; padding: 0 0 26px; color: var(--ink-soft); }

/* ---------- Contatti e modulo ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; } }
.contact-copy h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: .45em; }
.contact-copy > p { color: var(--ink-soft); font-size: 1.1rem; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background-color .2s; }
.contact-list a:hover { border-color: var(--ink); background: var(--paper); }
.contact-list small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list strong { font-weight: 650; word-break: break-word; }
.ci { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--paper); }
.ci-wa { background: var(--wa); color: var(--white); }
.team { margin-top: 32px; }
.team-list { list-style: none; margin: 0; padding: 0; }
.team-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.team-list li:first-child { border-top: 1px solid var(--line); }
.team-list span { font-weight: 600; }
.team-list a { text-decoration: none; font-variant-numeric: tabular-nums; }
.team-list a:hover { text-decoration: underline; }

.form-card { padding: clamp(22px, 4vw, 40px); background: var(--paper); border: 1.5px solid var(--ink); }
.form-title { font-size: 2rem; margin-bottom: 20px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 22px; padding: 0; border: 1.5px solid var(--ink); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; padding: 13px 10px; text-align: center; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.segmented input:checked + span { background: var(--ink); color: var(--white); }
.segmented input:focus-visible + span { outline: 2px solid var(--red); outline-offset: -4px; }

.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field[hidden] { display: none; }
.field label { font-size: .88rem; font-weight: 650; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 0;
  font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23121212' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--stone-dark); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 18, 18, .12); }
.field input:user-invalid { border-color: var(--red); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.form-note { margin: 14px 0 0; text-align: center; font-size: .85rem; color: var(--ink-soft); }
.form-card.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(18, 18, 18, 0); } 30% { box-shadow: 0 0 0 8px rgba(18, 18, 18, .15); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9C6C0; padding: 72px 0 96px; font-size: .95rem; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-logo { display: inline-block; }
.footer-logo img { width: 132px; height: auto; }
.footer-about { max-width: 38ch; margin-top: 22px; }
.site-footer h3 { margin-bottom: 16px; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--white); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .84rem; color: #A19D96; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  width: 58px; height: 58px; justify-content: center;
  background: var(--wa); color: var(--white); border-radius: 50%;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45);
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-label { display: none; }
@media (min-width: 900px) {
  .wa-float { width: auto; height: 54px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--ink); }
  .wa-float .icon { width: 26px; height: 26px; color: var(--wa); }
  .wa-label { display: inline; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
}

/* ---------- Pagine semplici (privacy, grazie, 404, esito modulo) ---------- */
.page-simple { min-height: calc(100vh - var(--header-h)); padding-block: clamp(56px, 9vw, 112px); }
.page-simple h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: .4em; }
.page-simple .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: #33312D; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.next-steps { list-style: none; counter-reset: s; margin: 36px 0; padding: 0; display: grid; gap: 14px; max-width: 640px; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.next-steps li::before { content: counter(s); width: 34px; height: 34px; margin: 4px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-family: var(--font-display); font-size: 1.2rem; }
.error-list { margin: 18px 0 28px; padding-left: 1.2em; }

/* ---------- Animazioni di comparsa ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-track ul { flex-wrap: wrap; justify-content: center; }
  .marquee-track ul[aria-hidden="true"] { display: none; }
}
