@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Work+Sans:wght@400;500;600;700&display=swap');

/* Deliberate single-world palette: dark emerald + gold, premium/editorial.
   Not theme-switched — this is the design, on any host background. */
:root{
  --paper:#0e1613;
  --paper-deep:#0a100d;
  --ink:#f4efdf;
  --ink-soft:#b9c2b6;
  --pine:#1f7a52;
  --pine-line: 63,174,122;
  --pine-deep:#0f2b1e;
  --gold:#c9a227;
  --gold-line: 201,162,39;
  --gold-soft:#e2c15a;
  --card:#152420;
  --card-border: rgba(244,239,223,0.10);
  --hairline: rgba(244,239,223,0.13);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Work Sans', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;}

h1,h2,h3{
  font-family:'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight:400;
  line-height:1.05;
  text-wrap:balance;
  margin:0;
  color:var(--ink);
}
em{ color:var(--gold-soft); font-style:italic; }

.wrap{ max-width:1080px; margin:0 auto; padding:0 28px; }
.wrap-narrow{ max-width:760px; margin:0 auto; padding:0 28px; }
.eyebrow{
  font-size:12.5px;
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--pine);
}

p{ color:var(--ink-soft); line-height:1.62; max-width:60ch; }
.center p{ margin-left:auto; margin-right:auto; }

a{ color:inherit; }

/* ---------- header ---------- */
header{
  position:sticky; top:0; z-index:40;
  background:color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom:1px solid var(--hairline);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 28px;
  max-width:1080px; margin:0 auto;
  gap:20px;
}
.brand{
  font-family:'Instrument Serif', serif; font-size:22px;
  text-decoration:none; color:var(--ink); white-space:nowrap;
}
.nav-links{
  display:flex; align-items:center; gap:26px;
  font-size:14px; font-weight:500;
  flex:1; justify-content:center;
}
.nav-links a{ text-decoration:none; color:var(--ink-soft); white-space:nowrap; }
.nav-links a:hover{ color:var(--ink); }
.nav-links a.active{ color:var(--gold-soft); }
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--pine); color:var(--ink);
  padding:10px 18px; border-radius:999px;
  font-size:14px; font-weight:600; text-decoration:none;
  white-space:nowrap;
  border:1px solid rgba(var(--pine-line),0.5);
}
.nav-cta:hover{ background:color-mix(in srgb, var(--pine) 85%, white 6%); }
.nav-toggle{ display:none; }
@media (max-width:760px){
  .nav-links{ display:none; }
  .nav-toggle{
    display:inline-flex; align-items:center; justify-content:center;
    width:38px; height:38px; border-radius:50%;
    border:1px solid var(--hairline); background:transparent; color:var(--ink);
    cursor:pointer;
  }
  .nav-links.open{
    display:flex; flex-direction:column; align-items:flex-start; gap:4px;
    position:absolute; top:100%; left:0; right:0;
    background:var(--paper-deep); border-bottom:1px solid var(--hairline);
    padding:12px 28px 20px;
  }
  .nav-links.open a{ padding:10px 0; width:100%; }
}
@media (max-width:480px){
  .nav{ padding:14px 18px; }
  .brand{ font-size:18px; }
  .nav-cta{ padding:9px 14px; font-size:13px; }
}

/* ---------- hero ---------- */
.hero{ padding:76px 0 64px; }
.hero-inner{ max-width:760px; }
.hero h1{ font-size:clamp(34px,5.4vw,56px); margin-top:14px; }
.hero p.lead{ font-size:18px; margin-top:18px; max-width:52ch; }
.cta-row{ display:flex; flex-wrap:wrap; align-items:center; gap:18px; margin-top:32px; }
.hero-trust{ font-size:13px; color:var(--ink-soft); margin-top:16px; }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 26px; border-radius:999px;
  font-weight:600; font-size:15.5px; text-decoration:none;
  border:1px solid transparent;
}
.btn-primary{ background:var(--gold); color:#221704; }
.btn-primary:hover{ background:var(--gold-soft); }
.btn-ghost{
  color:var(--ink); border-color:var(--card-border);
}
.btn-ghost:hover{ border-color:rgba(var(--pine-line),0.6); }
.btn svg{ width:16px; height:16px; }

/* ---------- page header (non-hero pages) ---------- */
.page-head{ padding:64px 0 20px; }
.page-head h1{ font-size:clamp(30px,4.4vw,44px); margin-top:12px; }
.page-head p.lead{ font-size:16.5px; margin-top:16px; max-width:56ch; }

/* ---------- goal picker ---------- */
.section{ padding:64px 0; position:relative; }
.section-tight{ padding:40px 0; }
.section-head{ max-width:640px; margin:0 auto 40px; text-align:center; }
.section-head h2{ font-size:clamp(26px,3.4vw,36px); margin-top:10px; }
.section-head p{ margin:14px auto 0; text-align:center; }

.goals{
  display:grid; grid-template-columns:repeat(5,1fr); gap:14px;
}
@media (max-width:920px){ .goals{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .goals{ grid-template-columns:1fr; } }
.goal-card{
  background:var(--card); border:1px solid var(--card-border);
  border-radius:16px; padding:22px 16px;
  text-align:center; text-decoration:none; color:var(--ink);
  display:flex; flex-direction:column; align-items:center; gap:12px;
  transition:transform .15s ease, border-color .15s ease;
}
.goal-card:hover{ transform:translateY(-3px); border-color:rgba(var(--gold-line),0.55); }
.goal-icon{
  width:44px; height:44px; border-radius:50%;
  background:rgba(var(--pine-line),0.1);
  display:flex; align-items:center; justify-content:center;
}
.goal-icon svg{ width:22px; height:22px; stroke:var(--pine); fill:none; stroke-width:1.6; }
.goal-card span{ font-size:14.5px; font-weight:600; line-height:1.3; }

/* ---------- valutazione band ---------- */
.band{
  background:var(--pine-deep);
  color:#f1efe2;
  border-radius:24px;
  padding:52px 40px;
  text-align:center;
}
.band h2{ color:#f6f4e9; font-size:clamp(24px,3.2vw,32px); }
.band p{ color:#cfd6cd; margin:16px auto 0; }
.band .btn-primary{ margin-top:26px; }
.band-trust{ font-size:12.5px; color:#a9b3a6; margin-top:16px; }

/* ---------- percorso timeline ---------- */
.steps{
  display:grid; grid-template-columns:repeat(6,1fr); gap:0;
  counter-reset:step;
  position:relative;
}
.steps::before{
  content:"";
  position:absolute; top:17px; left:8%; right:8%; height:1px;
  background:var(--hairline);
}
@media (max-width:860px){
  .steps{ grid-template-columns:1fr; gap:22px; }
  .steps::before{ display:none; }
}
.step{ text-align:center; padding:0 8px; position:relative; }
@media (max-width:860px){ .step{ text-align:left; display:flex; gap:16px; align-items:flex-start; } }
.step-dot{
  width:34px; height:34px; border-radius:50%;
  background:var(--paper); border:1.5px solid rgba(var(--pine-line),0.5);
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:700; color:var(--pine);
  margin:0 auto 14px; position:relative; z-index:1;
}
@media (max-width:860px){ .step-dot{ margin:2px 0 0; flex:none; } }
.step h3{ font-size:16.5px; font-family:'Work Sans',sans-serif; font-weight:600; }
.step p{ font-size:13.5px; margin:8px auto 0; max-width:20ch; }
@media (max-width:860px){ .step p{ margin:6px 0 0; max-width:38ch; } }

/* ---------- step detail (come-funziona page) ---------- */
.step-detail{
  display:grid; grid-template-columns:56px 1fr; gap:20px;
  padding:26px 0; border-bottom:1px solid var(--hairline);
}
.step-detail:first-child{ padding-top:0; }
.step-detail:last-child{ border-bottom:none; }
.step-detail .step-dot{ margin:0; }
.step-detail h3{ font-size:19px; font-weight:600; font-family:'Work Sans',sans-serif; }
.step-detail p{ margin-top:8px; max-width:62ch; }

/* ---------- chi siamo / il progetto ---------- */
.people{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media (max-width:720px){ .people{ grid-template-columns:1fr; } }
.person{
  background:var(--card); border:1px solid var(--card-border);
  border-radius:18px; padding:30px;
}
.avatar{
  width:56px; height:56px; border-radius:50%;
  background:var(--pine); color:var(--paper);
  display:flex; align-items:center; justify-content:center;
  font-family:'Instrument Serif',serif; font-size:22px;
  margin-bottom:16px;
  overflow:hidden;
}
.avatar img{ width:100%; height:100%; object-fit:cover; }
.person h3{ font-size:20px; font-family:'Instrument Serif',serif; font-weight:400; }
.person .role{ font-size:12.5px; text-transform:uppercase; letter-spacing:0.08em; color:var(--gold-soft); font-weight:600; margin-top:4px; display:block; }
.person p{ margin-top:14px; font-size:14.5px; }

/* ---------- vantaggi ---------- */
.perks{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:860px){ .perks{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .perks{ grid-template-columns:1fr; } }
.perk{ padding:8px 2px; }
.perk .n{
  font-family:'Instrument Serif',serif; font-size:34px; color:var(--pine);
  display:block; margin-bottom:6px;
}
.perk h3{ font-size:15.5px; font-family:'Work Sans',sans-serif; font-weight:600; }
.perk p{ font-size:13.5px; margin-top:6px; }

/* ---------- product categories (prodotti page) ---------- */
.cat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media (max-width:860px){ .cat-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .cat-grid{ grid-template-columns:1fr; } }
.cat-card{
  background:var(--card); border:1px solid var(--card-border);
  border-radius:16px; padding:26px 22px;
  text-decoration:none; color:var(--ink);
  display:flex; flex-direction:column; gap:10px;
  transition:transform .15s ease, border-color .15s ease;
}
.cat-card:hover{ transform:translateY(-3px); border-color:rgba(var(--gold-line),0.55); }
.cat-card h3{ font-size:18px; font-family:'Instrument Serif',serif; font-weight:400; }
.cat-card p{ font-size:13.5px; margin:0; }
.cat-card .go{ font-size:13px; color:var(--gold-soft); font-weight:600; margin-top:4px; }

/* ---------- guarantee box ---------- */
.guarantee{
  background:var(--card); border:1px solid rgba(var(--gold-line),0.35);
  border-radius:18px; padding:30px 32px; margin-top:20px;
}
.guarantee h3{ font-size:19px; font-family:'Instrument Serif',serif; font-weight:400; margin-bottom:14px; }
.guarantee ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.guarantee li{ font-size:14.5px; color:var(--ink-soft); display:flex; gap:10px; align-items:flex-start; }
.guarantee li::before{ content:"✓"; color:var(--pine); font-weight:700; flex:none; }
.guarantee .fine{ font-size:12px; color:var(--ink-soft); margin-top:16px; opacity:0.85; }

/* ---------- FAQ ---------- */
.faq-item{
  border-bottom:1px solid var(--hairline);
  padding:20px 0;
}
.faq-item summary{
  cursor:pointer; list-style:none; font-size:16px; font-weight:600;
  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:"+"; color:var(--gold-soft); font-size:20px; flex:none; }
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{ margin-top:12px; font-size:14.5px; max-width:70ch; }

/* ---------- final cta ---------- */
.final{
  text-align:center; padding:70px 0 40px;
}
.final h2{ font-size:clamp(26px,3.6vw,38px); }
.final .cta-row{ justify-content:center; margin-top:30px; }

footer{
  border-top:1px solid var(--hairline);
  padding:34px 0 48px;
}
footer .wrap{ display:flex; flex-direction:column; gap:10px; }
footer .fbrand{ font-family:'Instrument Serif',serif; font-size:18px; }
footer p{ font-size:12.5px; color:var(--ink-soft); max-width:70ch; margin:0; }
footer .fmeta{ font-size:12.5px; color:var(--ink-soft); }
footer a{ text-decoration:underline; }

.section > .wrap{ position:relative; z-index:1; }
