/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --surface-alt: #F2F0EB;
  --accent: #4A7055;
  --accent-dark: #315040;
  --accent-light: #E8EFE9;
  --text: #1C1C1A;
  --text-muted: #787870;
  --border: #E2DDD6;
  --radius: 20px;
  --radius-sm: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.09);
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p { color: var(--text-muted); font-weight: 300; }
strong { color: var(--text); font-weight: 500; }
img { display: block; max-width: 100%; }

/* ─── Layout ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.section { padding: 110px 0; }
.section-alt { background: var(--surface-alt); }

.section-label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 24px;
}

.center { text-align: center; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  white-space: nowrap;
  letter-spacing: .01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(74,112,85,.3); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  font-weight: 400;
  padding-left: 0;
}
.btn-ghost:hover { color: var(--text); }

.btn-white {
  background: #fff;
  color: var(--accent-dark);
  font-weight: 600;
}
.btn-white:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-full { width: 100%; justify-content: center; }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 40px;
  background: rgba(248,247,244,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.04);
}

.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

.nav-links a {
  font-size: .82rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: .02em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ─── Hero ─── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px 0;
  display: grid;
  grid-template-columns: 1fr 400px;
  column-gap: 64px;
  align-items: end;
}

.hero-col-text {
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
}

.hero-label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero-sub {
  font-size: .95rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: .72rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ─── Hero photo ─── */
.hero-photo-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 10% 5% 0;
  background: var(--accent-light);
  border-radius: var(--radius) var(--radius) 0 0;
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 95% 10%, rgba(74,112,85,.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ─── About image ─── */
.about-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  pointer-events: none;
}
.about-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Approccio image ─── */
.approccio-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ─── Cards ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .3s, transform .3s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ─── Card image ─── */
.card-img-wrap {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--surface-alt);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-img-wrap img { transform: scale(1.05); }

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 10px;
}

.card p { font-size: .875rem; line-height: 1.7; }

/* ─── Steps ─── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1.2;
  flex-shrink: 0;
  width: 32px;
  opacity: .6;
}

.step h4 {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: .01em;
}

.step p { font-size: .875rem; }

/* ─── CTA Band ─── */
.cta-band {
  background: var(--accent);
  padding: 110px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.cta-band h2 em { font-style: italic; opacity: .8; }

.cta-band p {
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  font-weight: 300;
  margin-bottom: 36px;
}

/* ─── Contact ─── */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-list a, .contact-list span {
  font-size: .9rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: color .2s;
}
.contact-list a:hover { color: var(--accent); }

/* ─── Form ─── */
.col-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .75rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); background: #fff; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #c0bbb4; font-weight: 300; }

.form-note {
  font-size: .76rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 300;
}

/* ─── Footer ─── */
.footer {
  background: var(--text);
  padding: 52px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-logo {
  height: 48px;
  width: auto;
  opacity: .7;
  filter: brightness(0) invert(1);
  margin-bottom: 4px;
}

.footer-info, .footer-copy {
  font-size: .78rem;
  font-weight: 300;
  color: rgba(255,255,255,.38);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--bg);
    align-items: center;
    justify-content: center;
    gap: 32px;
    font-size: 1.1rem;
  }
  .nav.open .nav-cta { display: inline-flex; }

  .hero-inner { padding: 60px 24px 0; grid-template-columns: 1fr; }
  .hero-photo-wrap { display: none; }
  .hero-col-text { padding-bottom: 60px; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }

  .cards { grid-template-columns: 1fr; gap: 16px; }
  .cta-band { padding: 72px 0; }
  .form-row { grid-template-columns: 1fr; }
  .col-form { padding: 28px 24px; }
}
