/* ==========================================================================
   landing.css — Bilancio Arboreo
   Tipografia: Cormorant Garamond (titoli) + DM Sans (corpo)
   Palette:    Verde foresta · Oro caldo · Crema
   ========================================================================== */


/* === VARIABILI ============================================================ */
:root {
  /* Colori principali */
  --forest-deep:   #0e1f13;
  --forest:        #1a3c22;
  --forest-mid:    #2d6840;
  --forest-light:  #4a8c5c;
  --forest-pale:   #d6e8da;

  /* Accento caldo */
  --amber:         #b87830;
  --amber-light:   #d4a050;
  --amber-pale:    #fdf4e4;

  /* Neutrali */
  --cream:         #f6f2e9;
  --cream-dark:    #ede8db;
  --white:         #ffffff;
  --text:          #181c18;
  --text-soft:     #3a3d3a;
  --text-muted:    #636763;
  --border:        #d4cfc6;
  --border-light:  #e6e2d8;

  /* Tipografia */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Layout */
  --max-width:    1280px;
  --radius:       8px;
  --radius-lg:    14px;
  --radius-xl:    20px;

  /* Ombre */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow:     0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 12px 36px rgba(0,0,0,0.12);
  --shadow-xl:  0 20px 56px rgba(0,0,0,0.15);

  /* Transizione */
  --ease: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* === RESET & BASE ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--ease);
}

ul { list-style: none; }


/* === TIPOGRAFIA =========================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest-deep);
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

em { font-style: italic; }

strong { font-weight: 600; }


/* === LAYOUT =============================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
  background: var(--white);
}

.section-alt {
  background: var(--cream);
}


/* === SECTION HEADER ======================================================= */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--amber);
}

.section-header h2 {
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
}


/* === BUTTONS ============================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Primary - verde pieno */
.btn-primary {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.btn-primary:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Outline - bordo verde */
.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

/* Ghost - sfondo morbido */
.btn-ghost {
  background: rgba(26, 60, 34, 0.08);
  color: var(--forest);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(26, 60, 34, 0.14);
}

/* White (su sfondo scuro) */
.btn-white {
  background: var(--white);
  color: var(--forest-deep);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-white-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* Outline amber (sezione Sylva) */
.btn-outline-amber {
  background: transparent;
  color: var(--amber);
  border-color: var(--amber);
}

.btn-outline-amber:hover {
  background: var(--amber);
  color: var(--white);
  transform: translateY(-2px);
}


/* === REVEAL ANIMATIONS ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1),
              transform 0.65s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.15s;
}


/* === HEADER =============================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--ease);
}

header.scrolled {
background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 1px 20px rgba(0,0,0,0.07);
  border-bottom-color: var(--border-light);
}

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

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest-deep);
  line-height: 1;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
}

/* Navigazione desktop */
nav#mainNav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

nav#mainNav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 8px 14px;
  border-radius: 6px;
  position: relative;
}

nav#mainNav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--forest);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}

nav#mainNav a:hover {
  color: var(--forest);
}

nav#mainNav a:hover::after {
  transform: scaleX(1);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: var(--ease);
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: var(--ease);
}

.burger:hover {
  border-color: var(--forest);
  background: rgba(26, 60, 34, 0.05);
}

/* Mobile nav */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  border-top: 1px solid var(--border-light);
  padding: 16px 0 24px;
}

.mobile-nav a {
  display: block;
  padding: 13px 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border-light);
}

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


/* === HERO ================================================================= */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--cream);
  overflow: hidden;
}

/* Decorazione SVG foglia/albero */
.hero-deco {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 420px;
  height: 520px;
  color: var(--forest-mid);
  pointer-events: none;
  opacity: 0.6;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--forest);
  margin-bottom: 20px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/static/img/landing/hero_trasparenza.jpg') center/cover no-repeat;
  opacity: 0.12;   /* ← regola qui: 0.08 = appena percettibile, 0.20 = più visibile */
  z-index: 0;
  pointer-events: none;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--forest-light);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-heading {
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
  line-height: 1.1;
}

.hero-heading em {
  color: var(--forest-mid);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-tagline-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}

.hero-tagline p {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

/* Hero card */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  transform: translateY(8px);
}

.hero-card-image {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.hero-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card:hover .hero-card-image img {
  transform: scale(1.04);
}

.hero-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(14, 31, 19, 0.4), transparent);
}

.hero-card-content {
  padding: 28px 32px;
}

.hero-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.hero-card-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* === STATS BAR ============================================================ */
.stats-bar {
  background: var(--forest-deep);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/static/img/landing/hero.jpg') center/cover no-repeat;
  opacity: 0.04;
}

.stats-grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat-item p {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}


/* === SERVICE CARDS ======================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--ease);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--forest-pale);
}

.service-image {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,0.95);
  color: var(--forest-deep);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-sm);
}

.service-content {
  padding: 28px 32px;
  border-top: 2px solid transparent;
  transition: var(--ease);
}

.service-card:hover .service-content {
  border-top-color: var(--forest-light);
}

.service-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--forest-deep);
}

.service-content p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* === BENEFITS ============================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--ease);
}

.benefit-card:hover {
  border-color: var(--forest-pale);
  box-shadow: var(--shadow);
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-check {
  width: 28px;
  height: 28px;
  background: var(--forest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item p {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.6;
}

/* Citazione */
.quote-block {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 44px 52px;
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: -60px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 14rem;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  pointer-events: none;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 500;
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
  position: relative;
  z-index: 1;
  letter-spacing: 0.01em;
}


/* === DEMO ================================================================= */
.demo-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: start;
}

.demo-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.demo-tag {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.demo-main h3 {
  font-size: 1.7rem;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.demo-main p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.demo-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.demo-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

.demo-preview {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 108px;
}

.demo-preview-image {
  height: 260px;
  overflow: hidden;
}

.demo-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-preview-content {
  padding: 22px 24px;
}

.demo-preview-tag {
  display: inline-block;
  background: rgba(26, 60, 34, 0.08);
  color: var(--forest);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.demo-preview-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* === PROCESS ============================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  position: relative;
  transition: var(--ease);
  overflow: hidden;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--forest-light);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.process-card:hover {
  border-color: var(--forest-pale);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.process-card:hover::before {
  transform: scaleY(1);
}

.process-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--forest-pale);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.process-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--forest-deep);
}

.process-card p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* === SYLVA AI ============================================================= */
.sylva-section {
  background: linear-gradient(160deg, #fdf4e4 0%, var(--white) 60%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.sylva-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.sylva-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: var(--amber-pale);
  border: 1px solid rgba(184, 120, 48, 0.25);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 20px;
}

.sylva-header h2 {
  margin-bottom: 16px;
}

.sylva-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Citazione Sylva */
.sylva-quote {
  background: var(--white);
  border: 1.5px solid var(--amber);
  border-left-width: 6px;
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  margin: 0 auto 52px;
  max-width: 860px;
  position: relative;
}

.sylva-quote::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 28px;
  font-family: var(--font-display);
  font-size: 9rem;
  color: rgba(184, 120, 48, 0.08);
  line-height: 1;
  pointer-events: none;
}

.sylva-quote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  font-style: italic;
  color: var(--forest-deep);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Grid card Sylva */
.sylva-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.sylva-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: var(--ease);
}

.sylva-card:hover {
  border-color: rgba(184, 120, 48, 0.35);
  box-shadow: 0 8px 28px rgba(184, 120, 48, 0.1);
  transform: translateY(-3px);
}

.sylva-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--forest-deep);
}

.sylva-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.sylva-note {
  background: rgba(184, 120, 48, 0.07);
  border: 1px solid rgba(184, 120, 48, 0.18);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin: 0 auto 36px;
  max-width: 760px;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  text-align: center;
}

.sylva-note strong {
  color: var(--amber);
}

.sylva-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}


/* === PIANO DEL VERDE ====================================================== */
.piano-verde-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.piano-verde-column {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--ease);
}

.piano-verde-column:hover {
  border-color: var(--forest-pale);
  box-shadow: var(--shadow);
}

.piano-verde-column h3 {
  font-size: 1.15rem;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--forest-deep);
}

.pv-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pv-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pv-icon {
  width: 22px;
  height: 22px;
  background: var(--forest);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.pv-list p {
  font-size: 0.975rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.pv-highlight {
  background: var(--white);
  border: 1.5px solid var(--forest-light);
  border-left-width: 5px;
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  max-width: 860px;
  margin: 0 auto;
}

.pv-highlight p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: var(--forest);
  line-height: 1.55;
  text-align: center;
}


/* === ABOUT ================================================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-highlight {
  background: rgba(26, 60, 34, 0.06);
  border-left: 4px solid var(--forest);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 28px;
  margin: 28px 0;
}

.about-highlight p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--forest);
  margin: 0;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest);
  border-bottom: 1.5px solid var(--forest-pale);
  padding-bottom: 3px;
  transition: var(--ease);
}

.about-link:hover {
  gap: 14px;
  border-bottom-color: var(--forest);
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}


/* === CTA / CONTATTI ======================================================= */
.cta-section {
   background: rgba(26, 60, 34, 0.75);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/static/img/landing/foote.jpg') center/cover no-repeat;
  opacity: 0.07;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.cta-content h2 em {
  color: rgba(255,255,255,0.75);
}

.cta-content > p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.975rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--ease);
}

.cta-contact-item:hover {
  color: var(--white);
}

.cta-contact-item svg {
  opacity: 0.7;
  flex-shrink: 0;
}


/* === FOOTER =============================================================== */
footer {
  background: var(--forest-deep);
  border-top: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 36px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 52px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-brand a {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

.footer-brand a:hover {
  color: var(--white);
}

.footer-links h4 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: var(--ease);
}

.footer-links ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: var(--ease);
}

.footer-bottom-links a:hover {
  color: var(--white);
}


/* === RESPONSIVE =========================================================== */

/* ── Tablet landscape (≤1024px) ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }

  /* Layout a colonna unica */
  .hero-content,
  .about-content,
  .demo-container { grid-template-columns: 1fr; gap: 36px; }

  .hero-deco { display: none; }
  .demo-preview { position: static; }

  /* Griglie → 1 colonna */
  .services-grid      { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .benefits-grid,
  .process-grid,
  .piano-verde-grid,
  .sylva-grid         { grid-template-columns: 1fr; gap: 18px; }

  /* Stats: verticale con separatori orizzontali */
  .stats-grid         { flex-direction: column; gap: 0; }
  .stat-item          { padding: 28px 20px; }
  .stat-divider       { width: 60px; height: 1px; margin: 0 auto; }

  .footer-content     { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Demo preview non sticky su tablet */
  .demo-preview-image { height: 220px; }
}

/* ── Tablet portrait (≤768px) ───────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Header */
  nav#mainNav                  { display: none; }
  .burger                      { display: flex; }
  .header-inner                { height: 64px; gap: 10px; }
  .header-actions .btn-outline { display: none; }
  .header-actions .btn-primary {
    padding: 9px 16px;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
  }
  .brand-logo  { width: 40px; height: 40px; }
  .brand-name  { font-size: 1rem; }
  .brand-sub   { font-size: 0.62rem; }
  .burger      { width: 40px; height: 40px; }

  /* Mobile nav voci */
  .mobile-nav a {
    padding: 15px 4px;
    font-size: 1.05rem;
  }

  /* Hero */
  .hero              { padding: 96px 0 56px; }
  .hero-heading      { font-size: clamp(2.2rem, 7vw, 3rem); }
  .hero-lead         { font-size: 1rem; line-height: 1.7; }
  .hero-card-image   { height: 240px; }
  .hero-actions      { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Sezioni */
  .section           { padding: 60px 0; }
  .section-header    { margin-bottom: 36px; }
  .section-header h2 { font-size: clamp(1.7rem, 5vw, 2.2rem); }

  /* Griglie → 1 colonna */
  .services-grid     { grid-template-columns: 1fr; }

  /* Card padding ridotto */
  .benefit-card,
  .process-card,
  .demo-main,
  .piano-verde-column,
  .sylva-card        { padding: 24px; }

  /* Quote */
  .quote-block       { padding: 28px 24px; }
  .quote-block p     { font-size: 1.15rem; }
  .sylva-quote       { padding: 24px 26px; }
  .sylva-quote p     { font-size: 1.05rem; }

  /* Demo */
  .demo-main         { padding: 32px 28px; }
  .demo-main h3      { font-size: 1.4rem; }
  .demo-actions      { flex-direction: column; }
  .demo-actions .btn { width: 100%; justify-content: center; }

  /* About */
  .about-image img   { height: 260px; }
  .about-text p      { font-size: 1rem; }

  /* Stats */
  .stat-number       { font-size: 2.8rem; }
  .stat-item p       { font-size: 0.75rem; }

  /* Sylva */
  .sylva-header h2   { font-size: clamp(1.6rem, 5vw, 2rem); }
  .sylva-cta         { flex-direction: column; align-items: center; }
  .sylva-cta .btn    { width: 100%; max-width: 320px; justify-content: center; }

  /* CTA */
  .cta-section       { padding: 60px 0; }
  .cta-content h2    { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  .cta-actions       { flex-direction: column; align-items: center; }
  .cta-actions .btn  { width: 100%; max-width: 320px; justify-content: center; }
  .cta-contacts      { gap: 14px; }

  /* Footer */
  .footer-content    { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom     { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── Mobile (≤480px) ────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Header minimal */
  .header-inner { height: 60px; }
  .brand-sub    { display: none; }
  .brand-name   { font-size: 0.95rem; }
  .brand-logo   { width: 36px; height: 36px; }
  .header-actions .btn-primary {
    padding: 8px 13px;
    font-size: 0.78rem;
  }
  .burger { width: 38px; height: 38px; }

  /* Hero */
  .hero            { padding: 82px 0 48px; }
  .hero-heading    { font-size: 2rem; letter-spacing: -0.01em; }
  .badge           { font-size: 0.65rem; padding: 7px 14px; }
  .hero-card-image { height: 200px; }
  .hero-card-content { padding: 20px; }
  .hero-tagline p  { font-size: 0.85rem; }

  /* Sezioni */
  .section        { padding: 48px 0; }
  .section-label  { font-size: 0.65rem; }

  /* Service image più bassa */
  .service-image  { height: 190px; }

  /* Bottoni full-width */
  .btn            { padding: 12px 20px; font-size: 0.85rem; width: 100%; justify-content: center; }

  /* Eccezione: bottoni già in row li lasciamo normali */
  .header-actions .btn,
  .footer .btn    { width: auto; }

  /* Stats compatte */
  .stat-number    { font-size: 2.4rem; }

  /* Quote e card */
  .quote-block,
  .sylva-quote,
  .demo-main      { padding: 22px 18px; }
  .benefit-card,
  .process-card   { padding: 22px 18px; }

  /* Process number decorativo più piccolo */
  .process-number { font-size: 2.8rem; }

  /* About */
  .about-image img { height: 220px; }
  .about-highlight { padding: 18px 20px; }

  /* CTA */
  .cta-section    { padding: 48px 0; }
  .cta-contacts   { align-items: flex-start; padding: 0 4px; }
  .cta-contact-item { font-size: 0.88rem; }

  /* Footer */
  .footer-brand h3  { font-size: 1.2rem; }
  .footer-links h4  { font-size: 0.65rem; }
  .footer-bottom p  { font-size: 0.8rem; }
}

/* ── Mobile piccolo (≤360px) ────────────────────────────────────────────── */
@media (max-width: 360px) {
  .container      { padding: 0 14px; }
  .hero-heading   { font-size: 1.8rem; }
  .brand-name     { font-size: 0.88rem; }
  .header-actions .btn-primary { padding: 7px 11px; font-size: 0.74rem; }
}
