/* ============================================================
   RE IMPIANTI — Design System & Stili
   Realize Group · 2026
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — fedele al logo: NERO + BIANCO + accent LIME */
  --black-900: #0a0c0b;   /* nero più profondo */
  --black-800: #101312;   /* nero sezioni / hero */
  --black-700: #191d1b;   /* superfici scure / bottone scuro */
  --on-dark:      #e7ece9; /* testo chiaro su nero */
  --on-dark-soft: #a7b0a9; /* testo secondario su nero */

  /* Alias storici rimappati: sfondi -> nero, accenti -> lime */
  --green-900: #0a0c0b;
  --green-800: #101312;
  --green-700: #191d1b;
  --green-600: #4f7d22;   /* accent leggibile su bianco (lime scuro) */
  --green-500: #5c9329;
  --green-400: #89c948;
  --green-300: #a6e05a;   /* accent su nero (lime brillante) */
  --green-100: #d8eec0;
  --green-50:  #eef7e3;

  /* Lime brand (dal logo RE Impianti) — accent / CTA */
  --lime:        #89c948;
  --lime-bright: #a6e05a;
  --lime-dark:   #6fae34;
  --lime-ink:    #0a2a14;

  /* Ambra — solo per segnali "attenzione/problema" (pain points) */
  --amber-600: #d97c06;
  --amber-500: #f59e0b;
  --amber-400: #ffb020;
  --amber-300: #ffc857;

  /* Neutri */
  --ink:    #0f1a14;
  --ink-2:  #38473f;
  --muted:  #5b6b62;
  --line:   #e2e9e4;
  --bg:     #ffffff;
  --bg-soft:#f5f8f6;
  --bg-2:   #eef2ef;
  --white:  #ffffff;

  /* Sistema */
  --radius:   16px;
  --radius-sm:10px;
  --radius-lg:26px;
  --shadow-sm: 0 1px 2px rgba(10,40,25,.06), 0 2px 6px rgba(10,40,25,.05);
  --shadow:    0 6px 24px rgba(10,40,25,.09);
  --shadow-lg: 0 18px 50px rgba(10,40,25,.16);
  --container: 1160px;
  --gut: clamp(20px, 5vw, 48px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Manrope", var(--font);
  --t: .25s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.65rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; }
p  { color: var(--ink-2); }
strong { color: var(--ink); font-weight: 700; }
/* su fondi scuri il grassetto deve restare leggibile (bianco) */
.hero strong, .page-hero strong, .section--green strong, .cta-band strong,
.lp-hero strong, .trust-strip strong, .hv-card strong, .site-footer strong { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--green-600);
}
.eyebrow::before { content:""; width: 22px; height: 2px; background: var(--lime); border-radius: 2px; }
.eyebrow.on-dark { color: var(--green-300); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--soft { background: var(--bg-soft); }
.section--green { background: var(--green-700); color: #e7ece9; }
.section--green h2, .section--green h3 { color: #fff; }
.section--green p { color: #c0c9c2; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 60ch; }
.center .lead { margin-inline: auto; }
.head-block { max-width: 720px; margin-bottom: 52px; }
.center.head-block, .head-block.center { margin-inline: auto; }

.grid { display: grid; gap: 24px; }
@media (min-width: 640px){ .g-2 { grid-template-columns: repeat(2,1fr);} }
@media (min-width: 880px){ .g-3 { grid-template-columns: repeat(3,1fr);} .g-4{grid-template-columns:repeat(4,1fr);} }
@media (min-width: 640px) and (max-width: 879px){ .g-4 { grid-template-columns: repeat(2,1fr);} }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--lime); color: var(--lime-ink); box-shadow: 0 8px 22px rgba(137,201,72,.36); }
.btn-primary:hover { background: var(--lime-bright); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(137,201,72,.46); }
.btn-green { background: var(--green-700); color: #fff; box-shadow: 0 8px 22px rgba(11,79,48,.25); }
.btn-green:hover { background: var(--green-600); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--green-700); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--green-400); transform: translateY(-2px); }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow var(--t), border-color var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .logo { width: 42px; height: 42px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; line-height: 1; }
.brand-name span { color: var(--green-600); }
.brand-tag { display: block; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }

.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .96rem; color: var(--ink-2); transition: background var(--t), color var(--t); }
.nav-links a:hover, .nav-links a.active { background: var(--green-50); color: var(--green-700); }
.nav-cta { display: none; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; color: var(--green-700); font-size: 1rem; white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; flex: none; }

.burger { display: inline-flex; flex-direction: column; gap: 5px; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; background: var(--green-50); }
.burger span { width: 22px; height: 2.5px; background: var(--green-700); border-radius: 2px; transition: var(--t); }
.burger.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 74px 0 0; z-index: 55; background: #fff;
  transform: translateX(100%); transition: transform var(--t); padding: 24px var(--gut) 40px;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 15px 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.mobile-menu a svg { width: 18px; height: 18px; color: var(--green-400); }
.mobile-menu .menu-actions { margin-top: 20px; display: grid; gap: 12px; }

@media (min-width: 1000px){
  .nav-links, .nav-cta { display: flex; }
  .burger { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #eef1ef;
  background:
    radial-gradient(120% 130% at 85% 0%, #191d1b 0%, rgba(17,99,62,0) 55%),
    linear-gradient(160deg, #101312 0%, #0d100f 60%, #0a0c0b 100%);
}
.hero::after{
  content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg,#000,transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; padding: clamp(48px,7vw,84px) 0 clamp(56px,7vw,90px); }
@media (min-width: 940px){ .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; } }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--lime-bright); }
.hero-lead { font-size: clamp(1.08rem,2vw,1.28rem); color: #d3dbd5; margin-top: 20px; max-width: 54ch; }
.hero-pill { display:inline-flex; align-items:center; gap:9px; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); padding:7px 14px 7px 9px; border-radius:999px; font-size:.86rem; font-weight:600; color:#e7ece9; margin-bottom:22px; }
.hero-pill .dot { width:8px;height:8px;border-radius:50%; background: var(--green-300); box-shadow:0 0 0 4px rgba(92,193,137,.25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-trust li { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: #d3dbd5; }
.hero-trust svg { width: 19px; height: 19px; color: var(--green-300); flex: none; }

/* Hero visual (card impianto) */
.hero-visual { position: relative; }
.hv-card {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hv-card h3 { color: #fff; font-size: 1.15rem; }
.hv-list { display: grid; gap: 12px; margin-top: 18px; }
.hv-item { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; transition: var(--t); }
.hv-item:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.hv-ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(137,201,72,.18); color: var(--lime-bright); }
.hv-ic svg { width: 23px; height: 23px; }
.hv-item b { display:block; color:#fff; font-family:var(--font-head); font-size:.98rem; }
.hv-item span { font-size: .82rem; color: #9aa39c; }
.hv-badge { position: absolute; right: -10px; top: -18px; background: var(--lime); color:var(--lime-ink); font-family:var(--font-head); font-weight:800; font-size:.8rem; padding:10px 16px; border-radius:14px; box-shadow: var(--shadow); transform: rotate(3deg); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--green-900); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding-block: 22px; }
.trust-strip li { display: flex; align-items: center; gap: 10px; color: #c0c9c2; font-weight: 600; font-size: .94rem; }
.trust-strip svg { width: 20px; height: 20px; color: var(--green-300); }

/* ---------- Service cards ---------- */
.svc-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 26px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
}
.svc-card::before { content:""; position:absolute; left:0; top:0; height:4px; width:100%; background: linear-gradient(90deg,var(--green-500),var(--green-300)); transform: scaleX(0); transform-origin:left; transition: transform var(--t); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); margin-bottom: 20px; transition: var(--t); }
.svc-card:hover .svc-ic { background: var(--green-700); color: #fff; }
.svc-ic svg { width: 30px; height: 30px; }
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { font-size: .98rem; }
.svc-card .tag { display:inline-block; align-self:flex-start; background: var(--amber-500); color:#2a1900; font-family:var(--font-head); font-weight:700; font-size:.72rem; padding:4px 10px; border-radius:999px; margin-bottom:16px; letter-spacing:.02em; }
.svc-list { margin: 16px 0 22px; display: grid; gap: 9px; }
.svc-list li { position: relative; padding-left: 26px; font-size: .94rem; color: var(--ink-2); }
.svc-list li::before { content:""; position:absolute; left:0; top:7px; width:16px; height:16px; background: var(--green-100); border-radius:50%; }
.svc-list li::after { content:""; position:absolute; left:5px; top:11px; width:5px; height:8px; border:2px solid var(--green-600); border-top:0; border-left:0; transform: rotate(40deg); }
.svc-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; color: var(--green-700); font-size: .96rem; }
.svc-card .more svg { width: 17px; height: 17px; transition: transform var(--t); }
.svc-card:hover .more svg { transform: translateX(4px); }

/* ---------- Feature / Why ---------- */
.feat { display: flex; gap: 18px; align-items: flex-start; }
.feat-ic { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.feat-ic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 1.16rem; margin-bottom: 6px; }
.feat p { font-size: .97rem; }
.section--green .feat-ic { background: rgba(255,255,255,.1); color: var(--green-300); }

/* ---------- Steps (come lavoriamo) ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
@media(min-width:760px){ .steps{ grid-template-columns: repeat(4,1fr);} }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 22px 24px; }
.step-n { counter-increment: step; width: 46px; height: 46px; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 18px; }
.step-n::before { content: "0" counter(step); }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .94rem; }
.step .price { display:inline-block; margin-top:10px; background: rgba(137,201,72,.16); color: var(--green-700); font-family:var(--font-head); font-weight:800; font-size:.84rem; padding:4px 12px; border-radius:999px; }
@media(min-width:760px){
  .step:not(:last-child)::after{ content:""; position:absolute; right:-15px; top:52px; width:18px; height:2px; background: var(--green-300); z-index:1; }
}
.step--free .step-n { background: var(--lime); color: var(--lime-ink); }

/* ---------- Zona servita ---------- */
.zone-wrap { display: grid; gap: 40px; align-items: center; }
@media(min-width:900px){ .zone-wrap{ grid-template-columns: 1fr 1fr;} }
.zone-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.zone-chips span { background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: var(--t); }
.zone-chips span:hover { border-color: var(--green-400); color: var(--green-700); }
.zone-map { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg,#101312,#0a0c0b); box-shadow: var(--shadow-lg); display:grid; place-items:center; }
.zone-map .pin { position:absolute; }
.zone-map svg { width: 100%; height: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow var(--t), border-color var(--t); }
.faq-item[open] { box-shadow: var(--shadow); border-color: var(--green-200,#d3dbd5); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content:"+"; font-size: 1.5rem; color: var(--green-600); font-weight: 400; transition: transform var(--t); flex:none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 22px; color: var(--ink-2); font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(150deg,#101312,#0d100f); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px,6vw,68px) clamp(28px,5vw,64px); }
.cta-band::after{ content:""; position:absolute; right:-60px; bottom:-80px; width:280px; height:280px; border-radius:50%; background: radial-gradient(circle,rgba(137,201,72,.26),transparent 70%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #d3dbd5; position: relative; max-width: 52ch; }
.cta-band .hero-actions { margin-top: 26px; }

/* ---------- Form ---------- */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,4vw,40px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 16px; }
@media(min-width:560px){ .form-grid .half { grid-column: span 1; } .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink); }
.field label .req { color: var(--amber-600); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg-soft); color: var(--ink); transition: border-color var(--t), background var(--t), box-shadow var(--t); width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-400); background: #fff; box-shadow: 0 0 0 4px var(--green-50); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6b62' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--green-600); flex: none; }
.consent a { color: var(--green-700); text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.form-note svg { width: 15px; height: 15px; color: var(--green-500); flex:none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.contact-grid { display: grid; gap: 36px; align-items: start; }
@media(min-width:920px){ .contact-grid { grid-template-columns: .85fr 1.15fr; } }
.contact-info .info-row { display: flex; gap: 15px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-row:last-child { border-bottom: 0; }
.info-ic { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--green-50); color: var(--green-600); }
.info-ic svg { width: 22px; height: 22px; }
.info-row b { display:block; font-family:var(--font-head); }
.info-row a, .info-row span { color: var(--ink-2); }
.info-row a:hover { color: var(--green-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #9aa39c; padding-top: 64px; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 44px; }
@media(min-width:760px){ .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #9aa39c; transition: color var(--t); }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; font-size: .95rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name span { color: var(--green-300); }
.footer-brand p { color: #8c958e; font-size: .92rem; margin-top: 14px; max-width: 34ch; }
.footer-contact { display: grid; gap: 12px; font-size: .95rem; }
.footer-contact .row { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--green-300); flex: none; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .82rem; color: #7a837c; }
.footer-bottom a { color: #8c958e; }
.foot-social { display:flex; gap:10px; }
.foot-social a { width:38px; height:38px; border-radius:10px; background: rgba(255,255,255,.07); display:grid; place-items:center; }
.foot-social a:hover { background: var(--green-600); }
.foot-social svg { width:18px; height:18px; color:#d3dbd5; }

/* ---------- Mobile sticky call bar ---------- */
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(10,40,25,.1); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
.mobile-bar .btn { padding: 14px; font-size: .98rem; }
@media(min-width:1000px){ .mobile-bar { display: none; } }
body { padding-bottom: 0; }
@media(max-width:999px){ body.has-bar { padding-bottom: 78px; } }

/* ---------- Page hero (sottopagine) ---------- */
.page-hero { background: linear-gradient(155deg,#101312,#0a0c0b); color: #eef1ef; position: relative; overflow: hidden; }
.page-hero::after{ content:""; position:absolute; inset:0; opacity:.4; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg,#000,transparent); }
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(50px,7vw,82px); }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .hero-lead { margin-top: 18px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: #9aa39c; margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ul li { margin-bottom: 6px; }
.prose a { color: var(--green-700); text-decoration: underline; }
.prose strong { color: var(--ink); }

/* ---------- Misc ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media(min-width:900px){ .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.media-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(160deg,#191d1b,#0a0c0b); aspect-ratio: 5/4; position: relative; display: grid; place-items: center; color: #d3dbd5; }
.media-card .ph { text-align: center; padding: 30px; }
.media-card .ph svg { width: 64px; height: 64px; margin-inline: auto; color: var(--green-300); opacity: .8; }
.media-card .ph p { color: #9aa39c; font-size: .86rem; margin-top: 12px; }
.check-list { display: grid; gap: 13px; margin-top: 22px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink-2); }
.check-list li svg { position: absolute; left: 0; top: 1px; width: 22px; height: 22px; color: var(--green-500); }
.check-list.on-dark li { color: #d3dbd5; }
.check-list.on-dark li svg { color: var(--green-300); }

/* ---------- Foto reali ---------- */
.media-card img.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media-card.portrait { aspect-ratio: 4/5; }
.gallery { display: grid; gap: 18px; }
@media(min-width:740px){ .gallery { grid-template-columns: repeat(3,1fr); } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--black-800); }
.gallery img { width: 100%; height: 270px; object-fit: cover; display: block; transition: transform .45s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; font-family: var(--font-head); font-weight: 700; font-size: .94rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.78)); }

.stat-row { display: grid; gap: 18px; margin-top: 8px; }
@media(min-width:560px){ .stat-row{ grid-template-columns: repeat(3,1fr);} }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--lime-bright); line-height: 1; }
.stat span { font-size: .92rem; color: #c0c9c2; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; transition:none; } html{scroll-behavior:auto;} }
