/* --- Variables --- */
:root {
  --green-dark: #1a3a2a;
  --green-mid: #2d5a3d;
  --green-light: #3d7a52;
  --gold: #c8973a;
  --gold-light: #e0b96a;
  --cream: #f7f3ec;
  --cream-dark: #eee6d9;
  --ink: #1c1c1c;
  --ink-light: #4a4a4a;
  --white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 90, 61, 0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--ink-light);
  padding-left: 16px;
  border-left: 1px solid var(--cream-dark);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  padding: 0 40px 80px;
  overflow: hidden;
}
.hero-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 58, 42, 0.92) 0%,
    rgba(26, 58, 42, 0.6) 50%,
    rgba(26, 58, 42, 0.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-top: 120px;
}
.hero-overline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}

/* --- Servizi --- */
.servizi {
  padding: 100px 40px;
  background: var(--white);
}
.servizi-header {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}
.servizi-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.servizi-header p {
  font-size: 18px;
  color: var(--ink-light);
}
.servizi-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--cream-dark);
  border: 1px solid var(--cream-dark);
}
.servizio-card {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.servizio-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
}
.servizio-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--green-dark);
}
.servizio-card p {
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.65;
  flex-grow: 1;
}

/* --- Chi --- */
.chi {
  padding: 100px 40px;
  background: var(--green-dark);
  color: var(--white);
}
.chi-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.chi-text h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.chi-text > p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 32px;
}
.chi-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.15);
}
.chi-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.chi-stat {
  text-align: center;
}
.chi-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}
.chi-desc {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 220px;
  margin: 16px auto 0;
  line-height: 1.5;
}

/* --- Modello --- */
.modello {
  padding: 100px 40px;
  background: var(--cream);
}
.modello-header {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}
.modello-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: -0.02em;
}
.modello-steps {
  max-width: 1100px;
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--cream-dark);
}
.step {
  background: var(--white);
  padding: 48px 40px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.step p {
  font-size: 15px;
  color: var(--ink-light);
  line-height: 1.65;
}
.modello-pricing {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}
.pricing-card {
  background: var(--green-dark);
  padding: 48px;
  color: var(--white);
}
.pricing-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing-amount span {
  font-size: 20px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}
.pricing-note {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  line-height: 1.6;
}

/* --- Closing --- */
.closing {
  padding: 120px 40px;
  background: var(--green-mid);
  color: var(--white);
}
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.closing-quote {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 40px;
}
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.closing-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Footer --- */
footer {
  padding: 48px 40px;
  background: var(--green-dark);
  color: var(--white);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.footer-copy p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-align: right;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .servizi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .chi-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .chi-visual {
    order: -1;
  }
  .modello-steps {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-copy p {
    text-align: left;
  }
}
@media (max-width: 600px) {
  .navbar { padding: 16px 24px; }
  .hero { padding: 0 24px 60px; }
  .servizi { padding: 64px 24px; }
  .chi { padding: 64px 24px; }
  .modello { padding: 64px 24px; }
  .closing { padding: 80px 24px; }
  footer { padding: 40px 24px; }
  .servizi-grid { grid-template-columns: 1fr; }
  .servizio-card { padding: 32px 24px; }
  .step { padding: 32px 24px; }
}