:root {
  --ink: #1b1c18;
  --ink-soft: #4a4c44;
  --paper: #f7f5ef;
  --paper-raised: #ffffff;
  --line: #e2ddcf;
  --accent: #27392f;
  --accent-2: #8a6a3f;
  --radius: 2px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.wrap-narrow {
  max-width: 760px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 16px; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

em { font-style: italic; color: var(--ink); }

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.brand span { color: var(--accent-2); font-weight: 400; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav a:hover { color: var(--ink); }

.nav-cta {
  padding: 8px 18px;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--radius);
}

.nav-cta:hover { background: #1c291f; color: #fff !important; }

.hero {
  padding: 120px 0 88px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin: 0 0 20px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 28px;
  max-width: 14ch;
}

.hero-lead {
  font-size: 19px;
  max-width: 56ch;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1c291f; }

.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }

.kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  font-weight: 600;
  margin: 0 0 14px;
}

h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 20px; line-height: 1.15; }

.tesi p, .focus p, .chi-siamo p, .contatti p {
  font-size: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}

.card {
  background: var(--paper-raised);
  padding: 32px 28px;
}

.card-num {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent-2);
  margin-bottom: 16px;
  font-weight: 600;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.card p { font-size: 15px; margin-bottom: 0; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 20px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 68ch;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--accent-2);
  border-radius: 50%;
}

.contatti { text-align: left; }
.contatti .btn { margin-top: 12px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .nav { display: none; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { padding: 88px 0 64px; }
  section { padding: 64px 0; }
}

@media (max-width: 540px) {
  .wrap { padding: 0 20px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
