/* =========================================================
   RICCI 1895 — Pagina "Chi siamo"
   Usa i token colore e i font definiti in home.css
========================================================= */

/* ---------- Sezioni split (foto + testo) ---------- */
/*.cs-split .row { min-height: 560px; }*/

.cs-media {
  min-height: 380px;
  background: #e8e4de;             /* fallback se l'immagine non c'è ancora */
}
.cs-media-img {
  width: 100%; height: 100%; min-height: 380px;
  object-fit: cover; display: block;
}

.cs-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px clamp(28px, 6vw, 80px) 0;
  position: relative; overflow: hidden;
}
.cs-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1.4rem; }
.cs-text p  { line-height: 1.9; margin: 0; }

.cs-text.cream { background: var(--ric-cream); }
.cs-text.cream p { color: var(--ric-muted); }

.cs-text.green { background: var(--ric-green); color: #fff; }
.cs-text.green h2 { color: #fff; }
.cs-text.green p  { color: rgba(255, 255, 255, .9); }

/* ramo d'olivo decorativo nella sezione "La storia" */
.cs-branch {
  position: absolute; right: 24px; bottom: 16px;
  width: clamp(160px, 26%, 260px);
  opacity: .5; pointer-events: none;
}

/* ---------- Statistiche ---------- */
.cs-stat-card {
  background: var(--ric-brown); color: #fff;
  border-radius: 16px; text-align: center;
  padding: 48px 20px; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.cs-stat-card .num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; margin-bottom: .6rem;
}
.cs-stat-card .lbl {
  font-size: 1rem; color: rgba(255, 255, 255, .85); letter-spacing: .02em;
}

/* ---------- Certificazioni ---------- */
.cs-cert { text-align: center; }
.cs-cert h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 3rem; }
.cs-cert-logos {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(32px, 8vw, 90px);
}
.cs-cert-logo { max-height: 110px; max-width: 280px; width: auto; height: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .cs-split .row { min-height: 0; }
  .cs-text { padding: 48px 28px; }
  .cs-branch { position: static; display: block; margin: 1.5rem auto 0; opacity: .4; }
}
