:root{
  --bg: #e3ded5;
  --card: #f6f4f1;
  --text: #26221e;
  --muted: #5f5b56;
  --brand: #9b8458;
  --border: rgba(38,34,30,0.14);
}



*{ box-sizing:border-box; }
html,body{
  margin:0; padding:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1100px 600px at 15% 0%, rgba(201,106,58,.10), transparent),
    radial-gradient(900px 520px at 90% 10%, rgba(184,135,74,.10), transparent),
    var(--bg);
  color:var(--text);
}

a{ color: inherit; text-decoration: none; }
.container{ width:min(1100px, 92%); margin:0 auto; }

/* NAV */
.nav{
  position: sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(251,247,240,0.86);
  border-bottom: 1px solid var(--border);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0; gap:16px;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:0.2px; }
.brand img{
  height: 46px;     /* logo orizzontale */
  width: auto;
  display:block;
}
.menu{ display:flex; gap:14px; flex-wrap:wrap; }
.menu a{
  padding:10px 12px; border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
  font-weight:600;
}
.menu a:hover{
  color:var(--text);
  border-color: var(--border);
  background: rgba(201,106,58,0.08);
}

/* HERO */
.hero{
  margin:18px 0 0;
  border:1px solid var(--border);
  border-radius:24px;
  overflow:hidden;
  background: linear-gradient(90deg, rgba(255,255,255,0.92), rgba(255,255,255,0.70));
}
.hero-grid{ display:grid; grid-template-columns: 1.2fr 1fr; gap:0; }
.hero-left{ padding:34px; }
.kicker{
  color: var(--brand);
  font-weight:800;
  letter-spacing:0.14em;
  text-transform:uppercase;
  font-size:12px;
}
h1{ margin:10px 0 10px; font-size:40px; line-height:1.08; }
.sub{ color:var(--muted); font-size:16px; line-height:1.6; max-width:60ch; }

.cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px; border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.75);
  font-weight:800;
  color: var(--text);
}
.btn:hover{ background: rgba(255,255,255,0.95); }
.btn.primary{
  border-color: rgba(201,106,58,0.40);
  color: #8f3f1f;
  background: linear-gradient(135deg, rgba(201,106,58,0.14), rgba(184,135,74,0.12));
}

/* Hero image */
.hero-right{
  min-height:280px;
  background: url("assets/hero.jpg") center/cover no-repeat;
  position: relative;
}
.hero-right::after{
  content:"";
  position:absolute; inset:0;
  /* velo leggero sabbia -> trasparente */
  background: linear-gradient(90deg, rgba(251,247,240,0.40), rgba(251,247,240,0.08));
}

/* SEZIONI / CARD */
.section{ padding:26px 0; }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.card{
  border:1px solid var(--border);
  background: rgba(255,255,255,0.86);
  border-radius:18px;
  padding:16px;
  box-shadow: 0 10px 24px rgba(35,26,20,0.08);
}

.card h3{ margin:6px 0 8px; }
.card p{ margin:0; color:var(--muted); line-height:1.55; }
.card p + p{ margin-top:10px; }

.card .mini{
  display:inline-flex; gap:8px; align-items:center;
  margin-top:12px; color: var(--brand);
  font-weight:900;
}

.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  border:1px solid var(--border);
  color: #8f3f1f;
  background: rgba(201,106,58,0.10);
  font-size:13px;
  font-weight:700;
}

/* PAGINE  ARTICOLO  */
.page-title{ font-size:32px; margin:18px 0 8px; }
.subwide{ max-width: 75ch; }
.wide{ grid-column: span 2; }

.box-grid-2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
  margin-top:8px;
}

.soft{
  background: rgba(251,247,240,0.65);
  box-shadow: none;
}

/* Liste definizioni */
.deflist{ margin:0; }
.deflist dt{ font-weight:900; margin-top:12px; }
.deflist dt:first-child{ margin-top:6px; }
.deflist dd{ margin:6px 0 0; color:var(--muted); line-height:1.55; }

.footer{
  padding:22px 0 40px;
  color: var(--muted);
  border-top:1px solid var(--border);
  margin-top: 20px;
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-right{ min-height:220px; }
  h1{ font-size:34px; }
  .grid{ grid-template-columns: 1fr; }
  .wide{ grid-column: span 1; }
  .box-grid-2{ grid-template-columns: 1fr; }
  .brand img{ height: 42px; }
}

.hero-wide{
  width: 100%;
  height: 360px;                /* puoi provare 300 / 400 */
  margin: 28px 0;
  background: url("assets/hero2.jpg") center/cover no-repeat;
  border-radius: 24px;
}


.image-full{
  width: 100%;
  display: block;
  border-radius: 12px;
}

.image-link{
  display: block;
}

.partners-img{
  width: 100%;
  display: block;
  margin: 12px 0;
}

.video-box{
  max-width: 700px;   /* rende il video più compatto */
}

.video-title{
  margin-bottom: 10px;
}

.action-list{
  margin: 0;
}

.action-list dt{
  font-weight: 900;
  margin-top: 12px;
}

.action-list dt:first-child{
  margin-top: 6px;
}

.action-list dd{
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}


.video-small{
  width: 100%;
  border-radius: 12px;
}

