/* Stabile Miriam — stili */
:root {
  --bg: #fcfaf8;          /* crema */
  --fg: #2b2b2b;          /* antracite */
  --primary: #2d493c;     /* verde bosco */
  --on-primary: #fcfaf8;
  --accent: #c6a995;      /* sabbia */
  --border: #e6e1db;
  --secondary: #e6e1db;
  --display: "Playfair Display", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
ul { list-style: none; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
svg.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex-shrink: 0; }

.display { font-family: var(--display); letter-spacing: -0.01em; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .wrap, .wrap-narrow { padding: 0 40px; } }

.section { padding: 96px 0; }
@media (min-width: 768px) { .section { padding: 160px 0; } }
.bg-bg { background: var(--bg); }
.bg-card { background: var(--bg); }
.bg-primary { background: var(--primary); overflow: hidden; }
.bg-accent { background: var(--accent); }
.border-t { border-top: 1px solid var(--border); }
.center { text-align: center; }
.mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mb-10 { margin-bottom: 40px; } .mb-16 { margin-bottom: 64px; }

.kicker { color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: .25em; margin-bottom: 24px; font-weight: 500; }
.kicker.on-accent { color: rgba(255,255,255,.7); }
.kicker-sm { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 4px; }
.kicker-sm.muted { color: rgba(252,250,248,.5); }
.h2 { font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; }
@media (min-width: 768px) { .h2 { font-size: 48px; } }
@media (min-width: 1024px) { .h2 { font-size: 60px; } }
.h2.on-primary { color: var(--on-primary); }
.h2.white { color: #fff; }
.lead { color: rgba(43,43,43,.8); font-size: 18px; font-weight: 300; line-height: 1.7; }
.body { color: rgba(43,43,43,.7); font-size: 16px; font-weight: 300; line-height: 1.7; }
@media (min-width: 768px) { .lead { font-size: 20px; } .body { font-size: 18px; } }

/* Bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 28px; font-size: 13px; text-transform: uppercase; letter-spacing: .18em; font-weight: 500; transition: background .2s, color .2s, opacity .2s; }
.btn-lg { height: 56px; padding: 0 40px; }
.btn-dark { background: var(--fg); color: var(--bg); }
.btn-dark:hover:not(:disabled) { background: var(--primary); color: var(--on-primary); }
.btn-dark:disabled { opacity: .3; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #fff; color: var(--fg); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: rgba(43,43,43,.6); }
.btn-ghost:hover:not(:disabled) { color: var(--fg); }
.btn-ghost:disabled { opacity: .3; }

/* Navigazione */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(252,250,248,.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); font-size: 24px; letter-spacing: -0.01em; }
.brand-name { color: #fff; transition: color .5s; }
.brand-place { color: var(--accent); }
.nav.scrolled .brand-name { color: var(--fg); }
.nav-links { display: none; gap: 40px; align-items: center; }
.nav-links a { font-size: 13px; text-transform: uppercase; letter-spacing: .18em; font-weight: 500; color: rgba(255,255,255,.9); transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a { color: var(--fg); }
.nav.scrolled .nav-links a:hover { color: var(--accent); }
.nav-cta { display: none; }
.nav-toggle { color: #fff; font-size: 26px; display: inline-flex; }
.nav.scrolled .nav-toggle, .nav.open .nav-toggle { color: var(--fg); }
.nav.open { background: var(--bg); }
.nav.open .brand-name { color: var(--fg); }
.nav-mobile { background: var(--bg); border-top: 1px solid var(--border); }
.nav-mobile ul { padding: 24px; display: grid; gap: 20px; }
.nav-mobile a:not(.btn) { font-size: 14px; text-transform: uppercase; letter-spacing: .18em; font-weight: 500; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 11px; letter-spacing: .12em; }
  .nav-cta { padding: 0 16px; font-size: 11px; }
  .brand { font-size: 20px; }
}

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.4), rgba(0,0,0,.2), rgba(0,0,0,.6)); }
.hero-content { position: relative; z-index: 10; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 80px; }
@media (min-width: 768px) { .hero-content { padding-bottom: 112px; } }
.hero-kicker { color: rgba(255,255,255,.8); font-size: 12px; text-transform: uppercase; letter-spacing: .3em; margin-bottom: 24px; font-weight: 500; }
.hero-title { color: #fff; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; max-width: 1024px; }
@media (min-width: 640px) { .hero-title { font-size: 60px; } }
@media (min-width: 768px) { .hero-title { font-size: 72px; } .hero-kicker { font-size: 13px; } }
@media (min-width: 1024px) { .hero-title { font-size: 96px; } }
.hero-lead { margin-top: 32px; color: rgba(255,255,255,.85); font-size: 18px; max-width: 672px; font-weight: 300; line-height: 1.6; }
@media (min-width: 768px) { .hero-lead { font-size: 20px; } }
.hero-actions { margin-top: 48px; display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; align-items: flex-end; gap: 64px; } }
.hero-stats { display: flex; gap: 40px; }
.hero-num { color: #fff; font-size: 48px; line-height: 1; }
@media (min-width: 768px) { .hero-num { font-size: 60px; } }
.hero-label { color: rgba(255,255,255,.7); font-size: 11px; text-transform: uppercase; letter-spacing: .2em; margin-top: 8px; }
.hero-divider { width: 1px; background: rgba(255,255,255,.3); }
.hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 96px; background: linear-gradient(to top, var(--bg), transparent); pointer-events: none; }

/* Lo stabile */
.split-5-7 { display: grid; gap: 48px; }
.stats4 { margin-top: 80px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); }
.stats4 > div { padding: 40px 24px; }
.stats4 > div:nth-child(even) { border-left: 1px solid var(--border); }
.stat-num { font-size: 48px; line-height: 1; }
.stat-label { margin-top: 16px; color: rgba(43,43,43,.6); font-size: 12px; text-transform: uppercase; letter-spacing: .2em; }
@media (min-width: 768px) { .stat-num { font-size: 60px; } .stats4 > div { padding: 56px 24px; } }
@media (min-width: 1024px) {
  .split-5-7 { grid-template-columns: 5fr 7fr; gap: 80px; }
  .split-5-7 .pt { padding-top: 16px; }
  .stats4 { grid-template-columns: repeat(4, 1fr); }
  .stats4 > div { padding: 56px 40px; border-left: 1px solid var(--border); }
  .stats4 > div:first-child { border-left: 0; }
}

/* Appartamenti */
.split-4-8 { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) {
  .split-4-8 { grid-template-columns: 4fr 8fr; gap: 64px; }
  .sticky { position: sticky; top: 112px; }
}
.legend { margin-top: 40px; display: grid; gap: 16px; }
.legend > div { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(43,43,43,.7); }
.swatch { width: 16px; height: 16px; border: 1px solid var(--border); background: var(--bg); }
.swatch-res { background: rgba(43,43,43,.1); }
.tower { border: 1px solid var(--border); }
.tower-roof { height: 32px; background: var(--primary); }
.tower-base { height: 24px; background: var(--primary); }
.floor { display: grid; grid-template-columns: 60px 1fr; border-top: 1px solid var(--border); }
#floors .floor:first-child { border-top: 0; }
.floor-num { display: flex; align-items: center; justify-content: center; background: var(--bg); border-right: 1px solid var(--border); padding: 24px 0; font-size: 24px; color: rgba(43,43,43,.4); }
.units { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .units { grid-template-columns: repeat(5, 1fr); } }
.unit { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 20px; min-height: 140px; text-align: left; background: var(--bg); color: var(--fg); border-color: var(--border); border-style: solid; border-width: 0; transition: background .3s, color .3s; }
.units .unit:nth-child(even) { border-left-width: 1px; }
.units .unit:nth-child(n+3) { border-top-width: 1px; }
@media (min-width: 768px) {
  .unit { padding: 24px; }
  .units .unit { border-left-width: 1px; border-top-width: 0; }
  .units .unit:first-child { border-left-width: 0; }
}
.unit:hover:not(:disabled) { background: var(--primary); color: var(--on-primary); }
.unit:disabled { background: rgba(43,43,43,.1); color: rgba(43,43,43,.4); cursor: not-allowed; }
.unit-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.unit-id { font-family: var(--display); font-size: 24px; }
.unit-top .icon { font-size: 14px; opacity: 0; transition: opacity .3s; }
.unit:hover .unit-top .icon { opacity: 1; }
.unit-info { font-size: 13px; font-weight: 500; }
.unit-price { font-size: 12px; opacity: .6; }
.parking { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px; font-size: 14px; }
.parking span { color: rgba(43,43,43,.6); font-weight: 300; }
.parking strong { color: rgba(43,43,43,.8); font-weight: 500; white-space: nowrap; }

/* Pannello dettaglio */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 60; opacity: 0; transition: opacity .4s; }
.drawer-backdrop.show { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 448px; background: var(--bg); z-index: 70; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden; }
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer-inner { padding: 32px; }
@media (min-width: 768px) { .drawer-inner { padding: 40px; } }
.d-head { display: flex; align-items: flex-start; justify-content: space-between; }
.d-kicker { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .25em; margin-bottom: 8px; }
.d-id { font-family: var(--display); font-size: 48px; }
.d-close { color: rgba(43,43,43,.6); font-size: 24px; }
.d-close:hover { color: var(--fg); }
.tabs { margin-top: 32px; display: flex; border: 1px solid var(--border); }
.tab { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; font-size: 12px; text-transform: uppercase; letter-spacing: .15em; color: rgba(43,43,43,.5); transition: background .2s, color .2s; }
.tab + .tab { border-left: 1px solid var(--border); }
.tab:hover { color: var(--fg); }
.tab.active { background: var(--fg); color: var(--bg); }
.tab .icon { font-size: 14px; }
.d-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.d-grid > div { background: var(--bg); padding: 24px; }
.d-label { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: rgba(43,43,43,.5); margin-bottom: 8px; }
.d-val { font-family: var(--display); font-size: 24px; }
.d-val.lg { font-size: 30px; }
.d-val.accent { color: var(--accent); }
.d-list { margin-top: 32px; display: grid; gap: 12px; color: rgba(43,43,43,.7); font-size: 14px; font-weight: 300; line-height: 1.6; }
.d-plan-meta { margin-top: 24px; margin-bottom: 16px; color: rgba(43,43,43,.5); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; }
.d-plan { border: 1px solid var(--border); background: rgba(230,225,219,.3); padding: 16px; }
.d-plan img { width: 100%; object-fit: contain; }
.d-note { margin-top: 16px; color: rgba(43,43,43,.4); font-size: 11px; font-weight: 300; line-height: 1.6; }
.d-download { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px; border: 1px solid var(--border); color: rgba(43,43,43,.7); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; transition: border-color .2s, color .2s; }
.d-download:hover { border-color: var(--fg); color: var(--fg); }
.d-apply { margin-top: 40px; width: 100%; height: 56px; text-align: center; }
.d-pos { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; color: rgba(43,43,43,.7); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; }
.d-pos:hover { color: var(--accent); }

/* Qualità */
.q-head { display: flex; flex-direction: column; gap: 32px; margin-bottom: 64px; }
@media (min-width: 768px) { .q-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.q-title { max-width: 672px; }
.q-lead { color: rgba(252,250,248,.6); font-size: 16px; font-weight: 300; max-width: 448px; line-height: 1.6; }
@media (min-width: 768px) { .q-lead { font-size: 18px; } }
.q-scroll { overflow-x: auto; padding-bottom: 24px; scrollbar-width: none; }
.q-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .q-scroll { padding-bottom: 40px; } }
.q-track { display: flex; gap: 32px; padding: 0 24px; width: max-content; }
@media (min-width: 768px) { .q-track { padding: 0 40px; } }
.q-card { width: 340px; flex-shrink: 0; }
@media (min-width: 768px) { .q-card { width: 440px; } }
.q-imgbox { position: relative; overflow: hidden; }
.q-imgbox img { width: 100%; height: 420px; object-fit: cover; transition: transform .7s; }
@media (min-width: 768px) { .q-imgbox img { height: 520px; } }
.q-card:hover .q-imgbox img { transform: scale(1.05); }
.q-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); opacity: 0; transition: opacity .5s; display: flex; align-items: flex-end; padding: 24px; }
.q-overlay p { color: rgba(255,255,255,.9); font-size: 14px; font-weight: 300; line-height: 1.6; }
.q-card:hover .q-overlay { opacity: 1; }
@media (hover: none) { .q-overlay { opacity: 1; } }
.q-meta { margin-top: 24px; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid rgba(252,250,248,.15); padding-bottom: 16px; }
.q-meta h3 { color: var(--on-primary); font-size: 24px; }
@media (min-width: 768px) { .q-meta h3 { font-size: 30px; } }
.q-meta span { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .2em; }
.q-spec { margin-top: 12px; color: rgba(252,250,248,.5); font-size: 12px; text-transform: uppercase; letter-spacing: .15em; }
.q-facts { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(252,250,248,.1); }
@media (min-width: 768px) { .q-facts { grid-template-columns: repeat(4, 1fr); } }
.q-facts > div { background: var(--primary); padding: 32px 24px; }
.q-facts .display { color: var(--accent); font-size: 24px; white-space: nowrap; }
@media (min-width: 768px) { .q-facts .display { font-size: 30px; } }
.q-facts .display + div { margin-top: 8px; color: rgba(252,250,248,.5); font-size: 11px; text-transform: uppercase; letter-spacing: .2em; }

/* Posizione */
.split-2 { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) {
  .split-2 { grid-template-columns: 1fr 1fr; gap: 80px; }
  .pos-text { order: 1; }
  .pos-media { order: 2; }
}
.pos-text { order: 2; }
.pos-media { order: 1; position: relative; }
.pos-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 640px) { .pos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pos-grid { grid-template-columns: repeat(3, 1fr); } }
.pos-grid > div { background: var(--bg); padding: 24px; }
.pos-grid .icon { font-size: 24px; color: var(--accent); margin-bottom: 16px; display: block; }
.pos-grid h3 { font-size: 20px; margin-bottom: 8px; }
.pos-grid p { color: rgba(43,43,43,.6); font-size: 14px; font-weight: 300; line-height: 1.6; }
.pos-media img { width: 100%; height: 420px; object-fit: cover; }
@media (min-width: 768px) { .pos-media img { height: 640px; } }
.pos-address { position: absolute; bottom: 24px; left: 24px; right: 24px; background: rgba(252,250,248,.9); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 24px; }
.pos-address .display { font-size: 24px; }

/* Domanda */
.apply-lead { margin: 24px auto 0; color: rgba(255,255,255,.8); font-size: 16px; font-weight: 300; max-width: 576px; line-height: 1.6; }
@media (min-width: 768px) { .apply-lead { font-size: 18px; } }
.apply { background: var(--bg); padding: 32px; }
@media (min-width: 768px) { .apply { padding: 56px; } }
.steps { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.st { display: flex; align-items: center; gap: 16px; }
.st-dot { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; font-size: 12px; font-weight: 500; background: var(--secondary); color: rgba(43,43,43,.4); transition: background .2s, color .2s; }
.st-dot .icon { font-size: 16px; }
.st-name { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: rgba(43,43,43,.4); }
.st.on .st-dot { background: var(--fg); color: var(--bg); }
.st.on .st-name { color: var(--fg); }
.st-line { width: 32px; height: 1px; background: var(--border); }
@media (max-width: 560px) { .st-name { display: none; } .steps { gap: 10px; } .st { gap: 10px; } }
.step { animation: stepIn .3s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.step.narrow { max-width: 448px; margin: 0 auto; text-align: center; }
.step-q { text-align: center; color: rgba(43,43,43,.6); font-size: 14px; margin-bottom: 32px; }
.choices { display: grid; gap: 16px; }
.choices-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .choices-4 { grid-template-columns: repeat(4, 1fr); } }
.choices-2 { grid-template-columns: repeat(2, 1fr); }
.choice { padding: 32px 12px; border: 1px solid var(--border); text-align: center; transition: all .2s; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.choice:hover { border-color: var(--fg); }
.choice.selected { border-color: var(--accent); background: var(--accent); color: #fff; }
.choice .display { font-size: 24px; }
.choice small { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; opacity: .7; }
.field { display: block; text-align: left; }
.field > span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: rgba(43,43,43,.6); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; height: 48px; border: 1px solid var(--border); background: var(--bg); padding: 0 16px; color: var(--fg); font: inherit; border-radius: 0; outline: none; -webkit-appearance: none; appearance: none; }
.field textarea { height: auto; padding: 16px; resize: none; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.fields { display: grid; gap: 24px; max-width: 672px; margin: 0 auto; }
@media (min-width: 768px) { .fields { grid-template-columns: 1fr 1fr; } .span2 { grid-column: span 2; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { font-size: 14px; color: #dc2626; }
.form-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; }
.form-nav .btn { padding: 0 32px; font-size: 12px; }
.form-nav .icon { font-size: 16px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done { text-align: center; padding: 40px 0; animation: stepIn .4s ease; }
.done-icon { margin: 0 auto 24px; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.done h3 { font-size: 30px; margin-bottom: 12px; }
.done p { color: rgba(43,43,43,.7); font-weight: 300; max-width: 448px; margin: 0 auto; }

/* Footer */
.footer { background: var(--fg); color: var(--bg); }
.map { position: relative; height: 420px; overflow: hidden; }
@media (min-width: 768px) { .map { height: 520px; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.25); opacity: .6; }
.map-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--fg), rgba(43,43,43,.4), transparent); pointer-events: none; }
.map-info { position: relative; height: 100%; display: flex; align-items: flex-end; pointer-events: none; }
.map-info .wrap { width: 100%; padding-bottom: 48px; pointer-events: auto; }
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact { display: flex; align-items: flex-start; gap: 12px; font-weight: 300; }
.contact > .icon { font-size: 20px; color: var(--accent); margin-top: 4px; }
.contact a:hover { color: var(--accent); }
.timeline-wrap { border-top: 1px solid rgba(252,250,248,.1); padding: 64px 0; }
.timeline { display: grid; gap: 32px; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline > div { text-align: center; }
@media (min-width: 768px) { .timeline > div { text-align: left; } }
.tl-dot-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 12px; }
@media (min-width: 768px) { .tl-dot-row { justify-content: flex-start; } }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(252,250,248,.3); }
.tl-dot.done { background: var(--accent); border-color: var(--accent); }
.tl-line { display: none; flex: 1; height: 1px; background: rgba(252,250,248,.15); }
@media (min-width: 768px) { .tl-line { display: block; } }
.timeline .display { font-size: 24px; }
.tl-label { color: rgba(252,250,248,.5); font-size: 14px; font-weight: 300; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(252,250,248,.1); }
.footer-row { padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 768px) { .footer-row { flex-direction: row; } }
.footer-brand { font-size: 20px; }
.footer-row p { color: rgba(252,250,248,.4); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; text-align: center; }

/* Animazioni all'ingresso */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .step, .done { animation: none; }
}
