/* =========================================================
   Omino Verde — stile "botanical editorial"
   Palette: carta calda + verde bosco + terracotta romana
   ========================================================= */

:root {
  --paper: #FAF6EC;
  --paper-raised: #FFFFFF;
  --ink: #21261E;
  --ink-soft: #565143;
  --line: #E6DEC9;
  --forest: #2F4A34;
  --forest-deep: #1F3326;
  --terracotta: #C1602B;
  --terracotta-deep: #A34E21;
  --terracotta-tint: #F3E3D6;
  --forest-tint: #E7EEE5;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 140px;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;

  --shadow-card: 0 1px 2px rgba(33,38,30,0.04), 0 10px 30px -12px rgba(33,38,30,0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--forest-deep);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.04; font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.12; }
h3 { font-size: 1.28rem; line-height: 1.3; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--terracotta);
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(47,74,52,0.55);
}
.btn-primary:hover { background: var(--forest-deep); }
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--forest); }
.btn-whatsapp {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(193,96,43,0.55);
}
.btn-whatsapp:hover { background: var(--terracotta-deep); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,246,236,0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest-deep);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .mark { color: var(--terracotta); }
.nav-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--forest-deep); }
.nav-cta { display: flex; align-items: center; gap: var(--space-2); }
.nav-cta .btn-whatsapp { box-shadow: none; }
.nav-phone {
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ink);
  display: none;
}
.burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: all .2s ease;
}
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0 var(--space-6);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: stretch;
}
.hero-copy .cta-row {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--serif); font-size: 1.6rem; color: var(--forest-deep); }
.hero-trust span { font-size: 0.85rem; color: var(--ink-soft); }

.hero-art {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg { width: auto; height: 95%; max-width: 100%; }

.divider-leaf {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  color: var(--terracotta);
  opacity: 0.9;
}

/* ---------- Section shell ---------- */
section { padding: var(--space-6) 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto var(--space-5);
  text-align: center;
}
.section-head .lede { max-width: 52ch; margin: 0 auto; }
.alt-bg { background: var(--forest-tint); }

/* ---------- Perche / trust bullets ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.trust-card {
  background: var(--paper-raised);
  border-radius: var(--radius-m);
  padding: var(--space-3);
}
.trust-card .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--forest-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
  color: var(--forest);
}
.trust-card h4 { font-family: var(--sans); font-size: 1rem; margin-bottom: 6px; color: var(--ink); font-weight: 700; }
.trust-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Servizi ---------- */
.services-group-label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta-deep);
  margin: var(--space-5) 0 var(--space-3);
}
.services-group-label:first-of-type { margin-top: 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.service-card {
  background: var(--paper-raised);
  border-radius: var(--radius-m);
  padding: var(--space-3);
}
.service-card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--terracotta-tint);
  color: var(--terracotta-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
}
.service-card p { color: var(--ink-soft); font-size: 0.94rem; margin: 6px 0 10px; }
.service-price {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--forest-deep);
  font-size: 1.05rem;
}

/* ---------- Pacchetti ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: stretch;
}
.price-card {
  background: var(--paper-raised);
  border-radius: var(--radius-l);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  box-shadow: 0 20px 45px -20px rgba(47,74,52,0.45);
  transform: translateY(-8px);
}
.price-card .badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--forest);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card h3 { margin-bottom: 2px; }
.price-card .freq { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: var(--space-2); }
.price-card .amount {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--forest-deep);
  margin-bottom: var(--space-3);
}
.price-card .amount sup { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-card ul {
  list-style: none; margin: 0 0 var(--space-4); padding: 0;
  flex: 1;
}
.price-card li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.price-card li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--forest-tint);
  border: 1px solid var(--forest);
}

/* ---------- Come funziona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  position: relative;
}
.step {
  text-align: left;
  position: relative;
  padding-top: var(--space-2);
}
.step .num {
  font-family: var(--serif);
  font-size: 1rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--forest);
  color: var(--forest-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-2);
}
.step p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Zona ---------- */
.zone-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
  background: var(--forest);
  border-radius: var(--radius-l);
  padding: var(--space-5);
  color: #fff;
}
.zone-box h2 { color: #fff; }
.zone-box .lede { color: #D9E3D6; }
.zone-list {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: var(--space-3);
}
.zone-list span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}
.zone-figure {
  aspect-ratio: 1/1;
  border-radius: var(--radius-m);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
}
.zone-figure svg { width: 60%; height: 60%; opacity: 0.9; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-3) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--forest-deep);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--forest);
  position: relative;
  transition: transform .2s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--forest);
}
.faq-q .plus::before { top: 50%; left: 6px; right: 6px; height: 1.5px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 6px; bottom: 6px; width: 1.5px; transform: translateX(-50%); transition: opacity .2s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-a p { color: var(--ink-soft); padding-bottom: var(--space-3); margin: 0; max-width: 62ch; }

/* ---------- Contatti ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.contact-card {
  background: var(--paper-raised);
  border-radius: var(--radius-l);
  padding: var(--space-4);
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.contact-line:last-child { border-bottom: none; }
.contact-line .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--forest-tint);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-line strong { display: block; font-size: 0.95rem; }
.contact-line span { display: block; font-size: 0.82rem; color: var(--ink-soft); }

.form-field { margin-bottom: var(--space-2); }
.form-field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--forest);
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--forest-deep);
  color: #CFE0CC;
  padding: var(--space-5) 0 var(--space-3);
  font-size: 0.88rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { font-family: var(--serif); color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.footer-cols { display: flex; gap: var(--space-6); }
.footer-cols h5 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 var(--space-2); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a { text-decoration: none; color: #CFE0CC; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: var(--space-3);
  flex-wrap: wrap; gap: 10px;
  color: #9FB89A;
  font-size: 0.8rem;
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  gap: 10px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 340px; height: auto; aspect-ratio: 1/1.05; margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .steps { grid-template-columns: 1fr; gap: var(--space-4); }
  .zone-box { grid-template-columns: 1fr; }
  .zone-figure { max-width: 220px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 64px; }
}
@media (max-width: 620px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: var(--space-4); }
}
