@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/cormorant-500.woff') format('woff'); }
@font-face { font-family: 'Jost'; font-weight: 300; font-style: normal; font-display: swap; src: url('/fonts/jost-300.woff') format('woff'); }
@font-face { font-family: 'Jost'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/jost-400.woff') format('woff'); }
@font-face { font-family: 'Jost'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/jost-500.woff') format('woff'); }
:root {
  --bg: #F6F2EA; --panel: #EEE7DA; --ink: #1B1B1B; --muted: #5F5950; --line: #DDD4C4;
  --gold: #A1803F; --gold-text: #7A6030;
  --dark: #12161D; --on-dark: #ECE5D6; --gold-dark: #C9A96E; --muted-dark: #B4AC9E; --line-dark: #2E343F;
  --serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --sans: Jost, 'Helvetica Neue', Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: var(--gold-text); }
img, svg { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.serif { font-family: var(--serif); font-weight: 500; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-text); margin: 0; }
h1, h2, h3 { margin: 0; }
h2.big { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; }
p { margin: 0; }
.btn { display: inline-block; text-decoration: none; padding: 15px 28px; border-radius: 2px; font-weight: 400; border: 1px solid var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #000; color: var(--bg); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-name { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1; }
.brand-name span.l { letter-spacing: .3em; margin-right: -.3em; }
.dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 400; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a.btn { padding: 11px 20px; }

/* hero */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 88px; padding-bottom: 96px; }
.hero-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; }
.hero-lead { max-width: 560px; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-mark { flex: 1 1 300px; display: flex; justify-content: center; }
.hero-mark svg { width: 100%; max-width: 360px; height: auto; }

/* punti */
.points { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.points .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; padding-top: 56px; padding-bottom: 56px; }
.points h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.2; margin-bottom: 10px; }

/* metodo */
.method { background: var(--dark); color: var(--on-dark); }
.method .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 52px; }
.method .eyebrow { color: var(--gold-dark); }
.method ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 36px; }
.method li { border-top: 1px solid var(--gold-dark); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.method .num { font-family: var(--serif); font-size: 34px; color: var(--gold-dark); line-height: 1; }
.method h3 { font-size: 19px; font-weight: 500; }

/* valutazione */
.valuation { background: var(--panel); scroll-margin-top: 70px; }
.valuation .wrap { display: flex; flex-wrap: wrap; gap: 52px; padding-top: 96px; padding-bottom: 96px; }
.valuation-intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.form { flex: 1 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 400; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; font-weight: 300; padding: 13px 14px; border: 1px solid #8A8378; background: var(--bg); color: var(--ink); border-radius: 2px; width: 100%; }
.form textarea { min-height: 110px; resize: vertical; }
.form .full { grid-column: 1 / -1; }
.form .check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 300; }
.form .check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; padding: 0; }
.form button { justify-self: start; font: inherit; font-weight: 400; font-size: 17px; padding: 16px 34px; background: var(--ink); color: var(--bg); border: 0; border-radius: 2px; cursor: pointer; }
.form button:hover { background: #000; }
.hidden { position: absolute; left: -9999px; }

/* footer */
.site-footer { background: var(--dark); color: var(--on-dark); font-size: 15px; }
.site-footer a { color: var(--on-dark); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 44px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.footer-cols .brand-name { color: var(--on-dark); font-size: 26px; }
.footer-cols .dot { background: var(--gold-dark); }
.footer-cols .tag { font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-dark); margin-top: 10px; }
.footer-cols h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.legal { border-top: 1px solid var(--line-dark); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--muted-dark); }
.legal a { color: var(--muted-dark); }

/* pagine di testo */
.page .wrap { max-width: 820px; padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; margin-bottom: 8px; }
.page h2 { font-size: 18px; font-weight: 500; margin-top: 18px; }
.page ul { margin: 0; padding-left: 22px; }
.page .note { font-size: 14px; color: var(--muted); }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { position: static; }
  .nav { gap: 2px 18px; font-size: 14px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 64px; }
  .hero-mark svg { max-width: 220px; }
  .method .wrap, .valuation .wrap { padding-top: 64px; padding-bottom: 64px; }
}
