/* =============================================================
   OtticoSolidale — styles.css
   Palette + tipografia gestite via CSS variables.
   Il pannello Tweaks cambia queste variabili a runtime.
   ============================================================= */

/* ---------- TEMA: CALDO CLASSICO (default, dal logo ufficiale) ---------- */
:root {
  /* Colori — estratti dal logo OtticoSolidale */
  --bg:           #F4EEE3;   /* cream paper (fondo logo) */
  --bg-soft:      #ECE3CE;   /* warm beige soft */
  --bg-dark:      #0F5C2F;   /* dark forest green (dal logo, arco superiore) */
  --ink:          #1A1F1B;   /* ink molto scuro con sfumatura verde */
  --ink-soft:     #4F5A50;
  --line:         #D8CDB8;
  --primary:      #25B22E;   /* bright green (dal logo, arco inferiore) */
  --primary-deep: #0F5C2F;   /* dark green (dal logo) */
  --accent:       #E08545;   /* warm orange (terzo colore brand) */
  --accent-soft:  #F2B98A;
  --white:        #FBF7EF;

  /* Tipografia — default MODERN: Bricolage + Geist */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body:    "Geist", system-ui, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, monospace;
  --display-weight: 700;
  --display-tracking: -0.045em;
  --display-italic: normal;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 18px;
  --radius-lg: 28px;
}

/* Variante: EDITORIAL */
html[data-palette="editorial"] {
  --bg:           #F6F2EA;
  --bg-soft:      #EAE3D2;
  --bg-dark:      #1B2A18;
  --ink:          #14110E;
  --ink-soft:     #4A4540;
  --line:         #D2C9B6;
  --primary:      #2F4A2A;
  --primary-deep: #1B2A18;
  --accent:       #C9551E;
  --accent-soft:  #E8A57E;
  --white:        #FFFDF8;
}

/* Variante: SOLE */
html[data-palette="sole"] {
  --bg:           #FBF1E1;
  --bg-soft:      #F6E2C2;
  --bg-dark:      #4A2A12;
  --ink:          #2B1A0F;
  --ink-soft:     #6B5040;
  --line:         #ECD6B0;
  --primary:      #D86A2A;
  --primary-deep: #A14A18;
  --accent:       #6D8A52;
  --accent-soft:  #B5C99A;
  --white:        #FFFAF0;
}

/* Font pair: UNBOUNDED + MANROPE — geometrico, espressivo */
html[data-fontset="unbounded"] {
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.03em;
  --display-italic: normal;
}
/* Font pair: INSTRUMENT SERIF + FAMILJEN GROTESK — editoriale caldo */
html[data-fontset="editorial"] {
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body:    "Familjen Grotesk", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.02em;
  --display-italic: italic;
}

/* ============================================================= */
/* RESET                                                          */
/* ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* Texture paper background (subtle SVG noise) */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(at 12% 4%, rgba(127,166,107,0.10) 0, transparent 38%),
    radial-gradient(at 96% 18%, rgba(224,133,69,0.08) 0, transparent 42%),
    radial-gradient(at 60% 92%, rgba(127,166,107,0.06) 0, transparent 50%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============================================================= */
/* TIPOGRAFIA                                                     */
/* ============================================================= */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}

.display {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(48px, 8.6vw, 124px);
  line-height: 0.96;
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
  font-optical-sizing: auto;
}
.display em, .h2 em {
  font-style: var(--display-italic);
  color: var(--primary-deep);
  font-weight: var(--display-weight);
}
.display .accent { color: var(--accent); font-style: var(--display-italic); }

.h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 1.0;
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
  font-optical-sizing: auto;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(18px, 1.4vw, 21px);
  color: var(--ink-soft);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ============================================================= */
/* LAYOUT                                                         */
/* ============================================================= */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left:  var(--gutter);
  padding-right: var(--gutter);
}
section {
  padding-block: clamp(40px, 5vw, 80px);
  position: relative;
}
.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(24px, 3vw, 44px);
  max-width: 780px;
}

/* ============================================================= */
/* NAV                                                            */
/* ============================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img {
  height: 64px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .nav-brand img { height: 48px; }
}
.nav-brand span {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-cta {
  background: var(--ink);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .2s, background .2s;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--primary-deep); }

/* Instagram icon nel nav */
.nav-ig {
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink);
  transition: background .25s, color .25s, transform .2s, border-color .25s;
  flex-shrink: 0;
}
.nav-ig svg { width: 20px; height: 20px; }
.nav-ig:hover {
  background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}
.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  margin-left: auto;
}
.nav-burger span {
  display: block; width: 16px; height: 1.5px;
  background: var(--ink);
  margin: 4px auto;
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 24px;
    gap: 4px;
  }
}/* ============================================================= */
/* HERO                                                           */
/* ============================================================= */
.hero {
  padding-top:    clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

/*
 * Flexbox — più robusto di grid per garantire affiancamento.
 * Le due colonne (testo | illustrazione) partono dalla stessa Y.
 */
.hero-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  gap: clamp(24px, 4vw, 56px);
  align-items: flex-start;   /* entrambe le colonne: top allineato */
}

/* — Colonna testo — */
.hero-copy {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  gap: 22px;
  align-content: start;
}

.hero-bullets {
  display: flex; flex-wrap: wrap;
  gap: 10px; margin-top: 4px;
}
.hero-bullets li {
  display: inline-flex; align-items: center;
  gap: 8px; padding: 8px 14px;
  border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 14px;
}
.hero-bullets li::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%; background: var(--primary);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.btn {
  display: inline-flex; align-items: center;
  gap: 10px; padding: 16px 26px;
  border-radius: 999px; font-weight: 500; font-size: 16px;
  transition: transform .2s, background .25s, color .25s;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* — Colonna illustrazione —
 * Nessun bordo, nessun box, sfondo uguale alla sezione:
 * l'illustrazione è integrata nella pagina, non in un riquadro.
 * align-self: stretch → si allunga quanto la colonna testo.
 */
.hero-visual {
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
  position: relative;
  min-height: clamp(400px, 60vh, 680px);
  /* Nessun background diverso dalla sezione → illustrazione integrata */
  background: transparent;
  /* Nessun border-radius, nessuna box-shadow → niente riquadro */
}

/* Wrapper animazione — riempie tutto il contenitore */
.hero-visual-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-float 7s ease-in-out infinite;
  will-change: transform;
  /* Nessun padding → nessun bordo bianco */
}
.hero-visual-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;        /* illustrazione sempre intera, mai tagliata */
  object-position: center top; /* parte dall'alto, allineata col titolo */
  display: block;
  /* Nessun filtro extra */
}

/* Badge — piccolo elemento sovrapposto */
.hero-visual .badge {
  position: absolute;
  bottom: 24px; right: 0;
  width: 116px; height: 116px;
  background: var(--accent); color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 15px; line-height: 1.15;
  text-align: center; padding: 10px;
  transform: rotate(-8deg);
  box-shadow: 0 8px 28px -6px rgba(224,133,69,0.4);
  pointer-events: none;
}
.hero-visual .ph-tag {
  position: absolute; bottom: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 11px;
  background: var(--white); padding: 5px 9px;
  border-radius: 6px; color: var(--ink-soft);
}

@media (max-width: 860px) {
  .hero-grid {
    flex-direction: column;
  }
  .hero-visual {
    align-self: auto;
    width: 100%;
    min-height: clamp(240px, 60vw, 380px);
  }
}

/* ============================================================= */
/* ANIMAZIONI                                                     */
/* ============================================================= */
@keyframes hero-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(0.5deg); }
  66%       { transform: translateY(-5px) rotate(-0.5deg); }
}
@keyframes pendolo {
  0%   { transform: rotate(-9deg); }
  50%  { transform: rotate(9deg); }
  100% { transform: rotate(-9deg); }
}
@keyframes corda-sway {
  0%, 100% { transform: skewX(-4deg); }
  50%       { transform: skewX(4deg); }
}
.sospeso-pendolo {
  animation: pendolo 5s ease-in-out infinite;
  transform-origin: top center;
  will-change: transform;
}
.sospeso-corda {
  animation: corda-sway 4s ease-in-out infinite;
  transform-origin: top center;
  will-change: transform;
}

/* ============================================================= */
/* IDEA — 4 punti                                                 */
/* ============================================================= */
.idea {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  margin: 0 var(--gutter);
  padding-inline: clamp(24px, 5vw, 72px);
}
.idea-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.idea-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 14px;
  position: relative;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.idea-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -28px rgba(0,0,0,.18);
}
.idea-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  color: var(--primary);
  line-height: 1;
}
.idea-card p { color: var(--ink-soft); }

@media (max-width: 760px) {
  .idea-grid { grid-template-columns: 1fr; }
  .idea { margin: 0; border-radius: 0; }
}

/* ============================================================= */
/* SERVIZI                                                        */
/* ============================================================= */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
/* Riduce padding bottom della sezione servizi (il sospeso ha il bordo accent) */
section.servizi-wrap { padding-bottom: clamp(32px, 4vw, 56px); }
.servizio {
  padding: 36px 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid;
  gap: 12px;
  align-content: start;
  position: relative;
  transition: background .25s;
}
.servizi-grid .servizio:nth-child(3n) { border-right: 0; }
.servizio:hover { background: var(--bg-soft); }
.servizio .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: grid; place-items: center;
  color: var(--white);
  margin-bottom: 8px;
}
.servizio .icon svg { width: 22px; height: 22px; }
.servizio p { color: var(--ink-soft); font-size: 15.5px; }

@media (max-width: 900px) { .servizi-grid { grid-template-columns: repeat(2, 1fr); }
  .servizi-grid .servizio:nth-child(3n) { border-right: 1px solid var(--line); }
  .servizi-grid .servizio:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) { .servizi-grid { grid-template-columns: 1fr; }
  .servizi-grid .servizio { border-right: 0 !important; }
}

/* ============================================================= */
/* OCCHIALE SOSPESO                                               */
/* ============================================================= */
.sospeso {
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  margin: 0 var(--gutter);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 48px -8px rgba(15,92,47,0.35);
}
/* Section wrapper sospeso → sfondo soft-cream, padding ridotto */
section:has(> .sospeso) {
  background: var(--bg-soft);
  padding-bottom: clamp(32px, 4vw, 56px);
}
/* Section wrapper instagram → sfondo cream puro (--bg), uguale padding.
   Il cambio bg-soft → bg crea separazione visiva leggibile senza bordi duri. */
section:has(> .instagram) {
  background: var(--bg);
  padding-block: clamp(32px, 4vw, 56px);
}
/* Separatore sopra sospeso: linea accent */
.sospeso::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 50%, var(--accent) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ---- Hero row: testo + occhiale affiancati ---- */
.sospeso-inner { padding-block: clamp(48px, 6vw, 88px); }
.sospeso .eyebrow { color: var(--accent-soft); }
.sospeso .lede { color: rgba(251,247,239,0.80); max-width: 480px; }
.sospeso .h2 em { color: var(--accent-soft); }

.sospeso-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.sospeso-hero-text { display: grid; gap: 20px; }
.sospeso-hero-text .h2 { font-size: clamp(28px, 3.5vw, 48px); }

/* ---- Pendolo wrap ---- */
.sospeso-pendolo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
}
.sospeso-gancio {
  display: flex;
  justify-content: center;
  opacity: 0.6;
  animation: corda-sway 4s ease-in-out infinite;
  transform-origin: top center;
}
.sospeso-corda {
  width: 2px;
  height: clamp(40px, 6vw, 72px);
  background: linear-gradient(to bottom, var(--accent-soft), transparent);
  border-radius: 2px;
  animation: corda-sway 4s ease-in-out infinite;
  transform-origin: top center;
}
.sospeso-pendolo {
  animation: pendolo 4s ease-in-out infinite;
  transform-origin: top center;
  will-change: transform;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sospeso-img-frame {
  width: clamp(260px, 36vw, 460px);   /* più grande */
  border-radius: var(--radius-lg);
  overflow: visible;
  position: relative;
  /* Glow atmosferico nel colore primario del tema */
  filter: drop-shadow(0 0 40px rgba(37,178,46,0.22));
}
/* Maschera aggressiva: vignetta forte — spariscono i bordi netti */
.sospeso-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  -webkit-mask-image:
    radial-gradient(ellipse 82% 86% at 50% 46%,
      black 0%, black 16%, rgba(0,0,0,0.65) 40%, transparent 70%);
  mask-image:
    radial-gradient(ellipse 82% 86% at 50% 46%,
      black 0%, black 16%, rgba(0,0,0,0.65) 40%, transparent 70%);
  filter: brightness(0.82) saturate(0.68) sepia(0.10) hue-rotate(100deg);
  mix-blend-mode: luminosity;
}
/* Glow centrale — dà profondità e fa "leggere" l'occhiale */
.sospeso-img-frame::before {
  content: "";
  position: absolute;
  inset: 10% 18%;
  background: radial-gradient(ellipse at 50% 46%, rgba(37,178,46,0.20) 0%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}
/* Overlay bordi — usa var(--bg-dark) → funziona con QUALSIASI tema colore */
.sospeso-img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(to bottom, var(--bg-dark) 0%, transparent 18%, transparent 82%, var(--bg-dark) 100%),
    linear-gradient(to right,  var(--bg-dark) 0%, transparent 14%, transparent 86%, var(--bg-dark) 100%);
  pointer-events: none;
  z-index: 2;
}
.sospeso-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 7px 14px;
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px -4px rgba(224,133,69,0.50);
}

/* ---- Steps ---- */
.sospeso-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  position: relative;
}
.sospeso-step {
  display: grid;
  gap: 18px;
  text-align: left;
}
.step-illu {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  max-width: 280px;
}
.step-illu .glyph { width: 60%; height: 60%; }
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
}
.sospeso-step h3 { color: var(--white); }
.sospeso-step p { color: rgba(251,247,239,0.70); font-size: 15.5px; }

.sospeso-cta {
  display: flex;
  justify-content: flex-start;
}
.btn-on-dark { background: var(--accent); color: var(--white); }
.btn-on-dark:hover { background: var(--white); color: var(--ink); }

@media (max-width: 900px) {
  .sospeso-hero-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .sospeso-hero-text { align-items: center; }
  .sospeso .lede { margin-inline: auto; }
  .sospeso-cta { justify-content: center; }
  .sospeso-pendolo-wrap { padding-top: 0; }
  .sospeso-img-frame { width: clamp(200px, 58vw, 340px); }
}
@media (max-width: 760px) {
  .sospeso { margin: 0; border-radius: 0; }
  .sospeso-steps { grid-template-columns: 1fr; }
  .step-illu { max-width: 220px; }
}

/* ============================================================= */
/* EVENTI                                                         */
/* ============================================================= */
.eventi-list {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
}
.evento {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: clamp(20px, 3vw, 48px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding .25s;
}
.evento:hover { padding-inline: 12px; }
.evento-date {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.evento-date strong { display: block; font-family: var(--font-display); font-style: var(--display-italic); font-size: clamp(28px, 3vw, 38px); color: var(--ink); letter-spacing: var(--display-tracking); margin-bottom: 4px; font-weight: var(--display-weight); line-height: 1; }
.evento-body { display: grid; gap: 8px; }
.evento-body p { color: var(--ink-soft); font-size: 15.5px; max-width: 60ch; }
.evento-luogo { font-size: 13px; color: var(--ink-soft); font-family: var(--font-mono); }
.evento-arrow {
  align-self: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background .25s, color .25s, transform .25s;
}
.evento:hover .evento-arrow { background: var(--ink); color: var(--white); transform: rotate(-45deg); }

.eventi-foot {
  margin-top: 32px;
  display: flex; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.eventi-foot .lede { margin: 0; }

@media (max-width: 760px) {
  .evento { grid-template-columns: 1fr; gap: 12px; }
  .evento-arrow { display: none; }
}

/* ============================================================= */
/* DOVE SIAMO                                                     */
/* ============================================================= */
.dove-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}
.dove-info {
  display: grid;
  gap: 28px;
  align-content: start;
}
.info-block h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.info-block .indirizzo {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
}
.orari li {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.orari li:last-child { border-bottom: 0; }
.orari .giorni { color: var(--ink); }
.orari .ore { color: var(--ink-soft); font-family: var(--font-mono); font-size: 13px; }
.contatti { display: grid; gap: 12px; }
.contatti a {
  display: flex; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s;
}
.contatti a:hover { color: var(--primary-deep); }
.contatti .lab { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.06em; text-transform: uppercase; }

.mappa {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 480px;
  background: var(--bg-soft);
  position: relative;
}
.mappa iframe {
  border: 0;
  width: 100%; height: 100%;
  display: block;
  filter: saturate(0.85) contrast(1.02);
}

@media (max-width: 900px) {
  .dove-grid { grid-template-columns: 1fr; }
  .mappa { min-height: 360px; }
}

/* ============================================================= */
/* FOOTER                                                         */
/* ============================================================= */
.footer {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(36px, 4vw, 64px);
}
.footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: 56px;
}
.footer-brand { display: grid; gap: 16px; max-width: 36ch; }
.footer-brand .lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .lockup img {
  height: 96px;
  width: auto;
  display: block;
  background: var(--bg);
  padding: 8px;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: contain;
}
.footer-brand .lockup span { display: none; }
.footer-brand p { color: rgba(251,247,239,0.7); font-size: 15px; }
.footer h5 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(251,247,239,0.55);
  margin: 0 0 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(251,247,239,0.85); font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--accent-soft); }
.footer-meta { color: rgba(251,247,239,0.55); font-size: 13px; }
.footer-bottom {
  border-top: 1px solid rgba(251,247,239,0.12);
  padding-top: 28px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 13px;
  color: rgba(251,247,239,0.55);
}
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links a:hover { color: var(--accent-soft); }

@media (max-width: 760px) {
  .footer .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================= */
/* TWEAKS PANEL                                                   */
/* ============================================================= */
.tweaks-btn {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 80;
  background: var(--ink);
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 16px 30px -16px rgba(0,0,0,0.4);
  transition: transform .25s;
}
.tweaks-btn:hover { transform: scale(1.06); }
.tweaks-btn svg { width: 22px; height: 22px; }

.tweaks-panel {
  position: fixed;
  bottom: 88px; right: 22px;
  z-index: 90;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.35);
  padding: 20px;
  display: none;
  font-family: var(--font-body);
}
.tweaks-panel.open { display: block; }
.tweaks-panel h6 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.tweaks-panel .swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.tweaks-panel .swatch {
  aspect-ratio: 1.5;
  border-radius: 10px;
  border: 2px solid transparent;
  display: flex;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.tweaks-panel .swatch:hover { transform: translateY(-1px); }
.tweaks-panel .swatch.active { border-color: var(--ink); }
.tweaks-panel .swatch span { flex: 1; height: 100%; }
.tweaks-panel .fonts { display: grid; gap: 6px; }
.tweaks-panel .font-opt {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  transition: border-color .2s, background .2s;
}
.tweaks-panel .font-opt:hover { background: var(--bg-soft); }
.tweaks-panel .font-opt.active { border-color: var(--ink); background: var(--bg-soft); }
.tweaks-panel .font-opt .sample { font-size: 18px; line-height: 1; }
.tweaks-panel .font-opt .name   { font-size: 12px; color: var(--ink-soft); }
.tweaks-panel .panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px;
}
.tweaks-panel .panel-head strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
}
.tweaks-panel .close {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-soft);
}
.tweaks-panel .close:hover { background: var(--bg-soft); color: var(--ink); }

/* ============================================================= */
/* PLACEHOLDER IMAGE                                              */
/* ============================================================= */
.ph {
  width: 100%; height: 100%;
  position: relative;
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0 14px,
      color-mix(in oklab, var(--ink) 6%, transparent) 14px 15px);
  background-color: var(--bg-soft);
}

/* small reveal */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================= */
/* MARQUEE / TICKER                                               */
/* ============================================================= */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  padding: 18px 0;
  margin-block: clamp(20px, 4vw, 40px);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}
.ticker-item {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: var(--display-tracking);
  color: var(--ink);
  font-style: var(--display-italic);
}
.ticker-item:nth-child(4n+2) { color: var(--primary-deep); }
.ticker-item:nth-child(4n+3) { color: var(--accent); font-style: italic; }
.ticker-dot {
  color: var(--primary);
  font-size: 14px;
  line-height: 1;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ============================================================= */
/* TWEAKS: HERO BADGE più moderno (rimuovo rotazione)             */
/* ============================================================= */
.hero-visual .badge {
  transform: none;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.02em;
  font-size: 15px;
  text-transform: lowercase;
  border: 3px solid var(--bg);
}
html[data-fontset="editorial"] .hero-visual .badge {
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  text-transform: none;
}

/* ============================================================= */
/* IDEA: numeri grandi + layout asimmetrico                       */
/* ============================================================= */
.idea-card .num {
  font-size: clamp(56px, 7vw, 88px);
  font-weight: var(--display-weight);
  font-style: var(--display-italic);
  letter-spacing: var(--display-tracking);
  color: var(--primary);
  margin-bottom: 4px;
}

/* ============================================================= */
/* EYEBROW: aggiungo un pallino accent                            */
/* ============================================================= */
.eyebrow::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-left: 4px;
}

/* ============================================================= */
/* HERO COPY: gap migliorato                                      */
/* ============================================================= */
.hero-copy { gap: 28px; }

/* Modern grotesk hero: tightening + uppercase variant on display */
html[data-fontset="modern"] .display,
html[data-fontset="modern"] .h2 {
  font-feature-settings: "ss01", "cv01";
}
html[data-fontset="unbounded"] .display,
html[data-fontset="unbounded"] .h2 {
  text-transform: none;
}

/* ============================================================= */
/* SERVIZI: icona più moderna, bordo sottile                      */
/* ============================================================= */
.servizio .icon {
  background: transparent;
  color: var(--primary-deep);
  border: 1.5px solid var(--primary);
  width: 48px; height: 48px;
}
.servizio:hover .icon {
  background: var(--primary);
  color: var(--white);
}

/* ============================================================= */
/* OCCHIALE SOSPESO: numerazione step più moderna                 */
/* ============================================================= */
.step-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.step-num::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--accent-soft);
  display: inline-block;
}

/* ============================================================= */
/* Display accent helper                                          */
/* ============================================================= */
.display em, .h2 em {
  position: relative;
}
.display em::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%;
  bottom: 0.08em;
  height: 0.08em;
  background: var(--accent);
  opacity: 0.5;
  border-radius: 4px;
}

/* ============================================================= */
/* INSTAGRAM                                                       */
/* ============================================================= */

/*
 * La sezione Instagram è una card con border-radius, come .sospeso e .idea,
 * con margini laterali (var(--gutter)) per staccarsi dallo sfondo della page.
 * Lo sfondo della section wrapper è var(--bg) (cream) — lo stesso della page —
 * così c'è un chiaro gap visivo rispetto al sospeso (bg-soft + card bg-dark).
 */
.instagram {
  background: #1C2333;   /* blu-antracite: distinto dal verde sospeso */
  color: var(--white);
  border-radius: var(--radius-lg);
  margin: 0 var(--gutter);
  overflow: hidden;
  position: relative;
  padding-block: clamp(40px, 5vw, 72px);
  box-shadow: 0 8px 48px -8px rgba(28,35,51,0.45);
}

/* Accento cromatico in cima: sottile linea sfumata IG */
.instagram::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #DD2A7B 60%, #8134AF 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.instagram .eyebrow { color: var(--accent-soft); }

/* Blob decorativi sfondo */
.ig-bg-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ig-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}
.ig-blob--1 {
  width: 520px; height: 520px;
  background: var(--primary);
  top: -120px; left: -100px;
}
.ig-blob--2 {
  width: 400px; height: 400px;
  background: var(--accent);
  bottom: -80px; right: -60px;
}

.ig-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  position: relative;
}

/* ---- Card brand sinistra ---- */
.ig-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 28px;
}

.ig-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ig-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  display: grid; place-items: center;
  padding: 8px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}
.ig-avatar img { width: 100%; height: 100%; object-fit: contain; }
.ig-card-identity {
  display: grid;
  gap: 2px;
  flex: 1;
}
.ig-card-identity strong {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.ig-card-identity span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.ig-verified {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.ig-verified svg { width: 18px; height: 18px; }

/* Stats row */
.ig-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.ig-stat {
  flex: 1;
  display: grid;
  gap: 3px;
  text-align: center;
}
.ig-stat strong {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--accent-soft);
  line-height: 1;
}
.ig-stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.ig-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  margin-inline: 8px;
}

/* Mosaic 2×2 */
.ig-card-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  height: 72px;
}
.ig-m-tile {
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 24px;
  transition: transform .3s ease;
}
.ig-m-tile:hover { transform: scale(1.08); }
.ig-m-1 { background: var(--primary); }
.ig-m-2 { background: rgba(255,255,255,0.1); }
.ig-m-3 { background: var(--accent); }
.ig-m-4 { background: rgba(255,255,255,0.06); }

/* ---- Colonna copy destra ---- */
.ig-copy {
  display: grid;
  gap: 24px;
  color: var(--white);
}
.ig-title em {
  color: var(--accent-soft);
  font-style: normal;
}
.ig-title em::after {
  background: linear-gradient(90deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
  opacity: 0.8;
}
.ig-copy .lede {
  color: rgba(255,255,255,0.65);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
}
.ig-disclaimer {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  transition: background-position .5s ease, transform .2s, box-shadow .25s;
  box-shadow: 0 16px 40px -12px rgba(221,42,123,0.5);
  width: max-content;
  border: none;
}
.btn-ig-icon {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.btn-ig-icon svg { width: 16px; height: 16px; }
.btn-instagram:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -12px rgba(221,42,123,0.65);
}

@media (max-width: 880px) {
  .ig-wrap {
    grid-template-columns: 1fr;
  }
  .ig-card { order: 2; }
  .ig-copy { order: 1; }
  .ig-card-mosaic { height: 56px; }
}

/* ============================================================= */
/* PAGINA CHI SIAMO / LA NOSTRA STORIA                           */
/* ============================================================= */

/* ============================================================= */
/* PAGINA CHI SIAMO                                               */
/* ============================================================= */

/* ── Hero ── */
.chi-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 88px);
}
.chi-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.chi-hero-copy { display: grid; gap: 18px; }
.chi-hero-copy .eyebrow { margin-bottom: 0; }
.chi-hero-titolo { font-size: clamp(36px, 5vw, 60px); }
.chi-hero-copy .lede { font-size: clamp(16px, 1.8vw, 20px); color: var(--ink-soft); line-height: 1.65; }
.chi-hero-illu { display: flex; align-items: center; justify-content: center; }
.chi-hero-svg  { width: 100%; max-width: 480px; height: auto; border-radius: var(--radius-lg); }

/* ── Bio ── */
.chi-bio { padding-block: clamp(48px, 6vw, 88px); }
.chi-bio-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.chi-bio-testo { display: grid; gap: 20px; align-content: start; }
.chi-bio-testo .h2 em { font-style: normal; color: var(--primary); }
.chi-bio-testo .h2 em::after { display: none; }
.chi-bio-testo p { color: var(--ink-soft); line-height: 1.75; font-size: clamp(15px, 1.6vw, 17px); }
.chi-bio-cta { width: max-content; margin-top: 8px; }

.chi-bio-foto-inline {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.chi-bio-foto-inline img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  max-height: 320px;
}
.chi-bio-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  margin-top: 12px;
  box-shadow: 0 4px 16px -4px rgba(0,0,0,0.10);
}
.chi-bio-badge strong { color: var(--ink); font-weight: 600; }
.chi-bio-badge span   { color: var(--ink-soft); }

/* Card identità */
.chi-bio-card {
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
  box-shadow: 0 16px 48px -12px rgba(15,92,47,0.35);
}
.chi-bio-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chi-bio-card-glyph {
  font-size: 28px;
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.chi-bio-card-top strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.chi-bio-card-top span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.chi-bio-card-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.chi-bio-card-list {
  display: grid;
  gap: 12px;
}
.chi-bio-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.80);
  line-height: 1.4;
}
.chi-bio-card-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.chi-bio-card-footer {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Timeline ── */
.chi-timeline {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 88px);
}
.chi-tl {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: clamp(32px, 4vw, 56px);
}
.chi-tl-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}
.chi-tl-item {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: start;
  gap: 0;
  padding-block: clamp(20px, 3vw, 36px);
  position: relative;
}
.chi-tl-item--left  .chi-tl-body { grid-column: 1; text-align: right; padding-right: clamp(24px, 3vw, 40px); }
.chi-tl-item--left  .chi-tl-dot  { grid-column: 2; }
.chi-tl-item--right .chi-tl-body { grid-column: 3; text-align: left; padding-left: clamp(24px, 3vw, 40px); }
.chi-tl-item--right .chi-tl-dot  { grid-column: 2; }

.chi-tl-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  font-size: 22px;
  border: 3px solid var(--bg-soft);
  box-shadow: 0 0 0 2px var(--primary);
  position: relative;
  z-index: 1;
  justify-self: center;
}
.chi-tl-body { display: grid; gap: 8px; padding-top: 8px; }
.chi-tl-label {
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 700;
  color: var(--primary-deep);
  letter-spacing: -0.01em;
}
.chi-tl-body p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

/* ── Valori ── */
.chi-valori { padding-block: clamp(48px, 6vw, 88px); }
.chi-valori-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: clamp(28px, 3.5vw, 48px);
}
.chi-valore {
  border-radius: var(--radius);
  padding: clamp(20px, 2.5vw, 30px);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: transform .25s, box-shadow .25s;
}
.chi-valore:hover { transform: translateY(-4px); box-shadow: 0 12px 32px -8px rgba(15,92,47,0.15); }
.chi-valore--green  { background: var(--primary); color: var(--white); }
.chi-valore--white  { background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.chi-valore--accent { background: var(--accent); color: var(--white); }
.chi-valore-glyph { font-size: 26px; line-height: 1; display: block; }
.chi-valore h3 { font-size: 15px; font-weight: 700; line-height: 1.3; }
.chi-valore--green p, .chi-valore--accent p { color: rgba(255,255,255,0.80); font-size: 13.5px; line-height: 1.6; }
.chi-valore--white p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; }

/* ── CTA finale ── */
.chi-cta-finale {
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  margin: 0 var(--gutter);
  margin-bottom: var(--gutter);
  padding: clamp(40px, 5vw, 72px);
  box-shadow: 0 8px 48px -8px rgba(15,92,47,0.30);
}
.chi-cta-finale-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.chi-cta-finale-copy { display: grid; gap: 12px; flex: 1; min-width: 240px; }
.chi-cta-finale-copy .h2 { color: var(--white); }
.chi-cta-finale-copy .h2 em { font-style: normal; color: var(--accent-soft); }
.chi-cta-finale-copy .h2 em::after { display: none; }
.chi-cta-finale-copy p { color: rgba(255,255,255,0.65); font-size: clamp(14px, 1.6vw, 16px); line-height: 1.65; margin: 0; }
.chi-cta-finale-azioni { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
  background: transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .chi-hero-inner    { grid-template-columns: 1fr; }
  .chi-hero-illu     { order: -1; }
  .chi-hero-svg      { max-width: 340px; margin-inline: auto; }
  .chi-bio-inner     { grid-template-columns: 1fr; }
  .chi-bio-card      { position: static; }
  .chi-valori-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .chi-tl-line       { left: 27px; }
  .chi-tl-item       { grid-template-columns: 56px 1fr; }
  .chi-tl-item--left .chi-tl-body,
  .chi-tl-item--right .chi-tl-body {
    grid-column: 2;
    text-align: left;
    padding-left: clamp(16px, 3vw, 24px);
    padding-right: 0;
  }
  .chi-tl-item--left .chi-tl-dot,
  .chi-tl-item--right .chi-tl-dot { grid-column: 1; }
  .chi-valori-grid   { grid-template-columns: 1fr; }
  .chi-cta-finale-azioni { flex-direction: column; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .chi-bio-inner { grid-template-columns: 1fr; }
  .chi-bio-foto img { aspect-ratio: 4 / 3; }
  .chi-valori-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .chi-valori-grid { grid-template-columns: 1fr; }
  .chi-footer-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================= */
/* SEZIONE UNIFICATA CHI SIAMO                                   */
/* ============================================================= */
.chi-unificata {
  padding-block: clamp(56px, 7vw, 100px);
  background: var(--bg);
}
.chi-unificata-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.chi-unificata-testo { display: grid; gap: 0; align-content: start; }

/* Blocchi interni con separatore */
.chi-blocco {
  padding-block: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
}
.chi-blocco:first-child { padding-top: 0; }
.chi-blocco:last-of-type { border-bottom: none; }

/* Label di sezione */
.chi-label-sezione {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(15,92,47,0.07);
  border-radius: 4px;
  padding: 4px 10px;
  width: max-content;
}

/* Testo introduttivo più grande */
.chi-testo-lead {
  font-size: clamp(16px, 1.7vw, 18px) !important;
  color: var(--ink) !important;
  font-weight: 500;
  line-height: 1.7;
}
.chi-unificata-testo p {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: clamp(15px, 1.6vw, 17px);
  margin: 0;
}

/* Storia: tappe verticali */
.chi-storia-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.chi-storia-dot {
  width: 40px; height: 40px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
}
.chi-storia-item strong {
  font-size: 15px;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}
.chi-storia-item p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

/* Servizi: lista puntata */
.chi-servizi-list {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 12px;
}
.chi-servizi-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(14px, 1.5vw, 15.5px);
  color: var(--ink-soft);
  line-height: 1.55;
}
.chi-servizi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* CTA */
.chi-bio-cta { margin-top: 28px; width: max-content; }

/* Colonna foto */
.chi-unificata-foto {
  position: sticky;
  top: 100px;
}
.chi-foto-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 48px -8px rgba(15,92,47,0.22);
}
.chi-foto-frame img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.chi-foto-badge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  padding: 40px 20px 20px;
  display: grid;
  gap: 4px;
}
.chi-foto-badge strong {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
}
.chi-foto-badge span {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}

/* Responsive */
@media (max-width: 900px) {
  .chi-unificata-inner {
    grid-template-columns: 1fr;
  }
  .chi-unificata-foto {
    position: static;
    max-width: 440px;
    margin: 0 auto;
    order: -1;
  }
}

/* ============================================================= */
/* CHI SIAMO — layout aggiornato (bio+foto / storia / servizi)   */
/* ============================================================= */
.chi-main {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--bg);
}

/* ── BLOCCO BIO + FOTO: 2 colonne ── */
.chi-bio-foto-row {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(36px, 4vw, 60px);
  align-items: start;
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.chi-bio-testo-col {
  display: grid;
  gap: 20px;
  align-content: start;
}
.chi-testo-lead {
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}
.chi-testo-body {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: clamp(15px, 1.6vw, 17px);
  margin: 0;
}

/* Foto */
.chi-foto-col { position: sticky; top: 100px; width: 300px; flex-shrink: 0; }
.chi-foto-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 48px -8px rgba(15,92,47,0.22);
  max-height: 440px;
}
.chi-foto-frame img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.chi-foto-badge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  padding: 40px 20px 20px;
  display: grid;
  gap: 4px;
}
.chi-foto-badge strong { font-size: 15px; color: #fff; font-weight: 600; }
.chi-foto-badge span   { font-size: 13px; color: rgba(255,255,255,0.78); }

/* ── BLOCCHI FULL WIDTH: storia + servizi ── */
.chi-blocco-full {
  display: grid;
  gap: 24px;
  padding-bottom: clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(36px, 4vw, 56px);
}
.chi-blocco-full:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Label sezione */
.chi-label-sezione {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(15,92,47,0.07);
  border-radius: 4px;
  padding: 4px 10px;
  width: max-content;
}

/* Storia: griglia 2 colonne */
.chi-storia-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.chi-storia-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.chi-storia-dot {
  width: 40px; height: 40px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
}
.chi-storia-item strong {
  font-size: 15px; color: var(--ink);
  display: block; margin-bottom: 4px; font-weight: 600;
}
.chi-storia-item p {
  font-size: 14px; color: var(--ink-soft);
  line-height: 1.65; margin: 0;
}

/* Servizi */
.chi-servizi-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.chi-servizi-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(14px, 1.5vw, 15.5px);
  color: var(--ink-soft); line-height: 1.55;
}
.chi-servizi-dot {
  width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
  flex-shrink: 0;
}

/* CTA row */
.chi-cta-row { margin-top: clamp(28px, 3vw, 44px); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .chi-bio-foto-row {
    grid-template-columns: 1fr;
  }
  .chi-foto-col {
    position: static;
    width: 100% !important;
    max-width: 360px;
    margin: 0 auto;
    order: -1;
  }
  .chi-storia-grid { grid-template-columns: 1fr; }
  .chi-servizi-list { grid-template-columns: 1fr; }
}

/* Asterisco ISEE */
.chi-asterisco { font-size: 11px; color: var(--primary); vertical-align: super; }
.chi-nota-asterisco {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.chi-nota-asterisco sup { color: var(--primary); font-size: 11px; }

/* ============================================================= */
/* PAGINE LEGALI (Privacy Policy / Cookie Policy)                */
/* ============================================================= */
.legal-page { background: var(--bg); }

.legal-hero {
  background: var(--bg-dark);
  color: var(--white);
  padding-block: clamp(48px, 6vw, 80px);
}
.legal-hero .eyebrow { color: var(--accent-soft); }
.legal-hero .display { color: var(--white); margin-block: 12px 16px; }
.legal-hero .lede    { color: var(--ink-soft); max-width: 560px; }

.legal-content { padding-block: clamp(48px, 6vw, 88px); }

.legal-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

/* Corpo testo */
.legal-body { display: grid; gap: 0; }
.legal-body h2 {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 10px;
  font-weight: 700;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: clamp(15px, 1.5vw, 16px);
  color: var(--ink);
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}
.legal-body p {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: clamp(14.5px, 1.5vw, 16px);
  margin-bottom: 12px;
}
.legal-body ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}
.legal-body ul li {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: clamp(14px, 1.4vw, 15.5px);
}
.legal-body a { color: var(--primary); text-decoration: underline; }

/* Sidebar */
.legal-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}
.legal-sidebar-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 8px;
}
.legal-sidebar-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.legal-sidebar-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 760px) {
  .legal-wrap { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
}

/* ============================================================= */
/* CHI SIAMO v3 — storia + foto affiancati, servizi sotto        */
/* ============================================================= */
.chi-main {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--bg);
}

/* Row principale: testo sinistra, foto destra */
.chi-storia-row {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: clamp(32px, 4vw, 52px);
  align-items: start;
}

/* Colonna testo */
.chi-storia-testo {
  display: grid;
  gap: 20px;
  align-content: start;
  text-align: left;
}
.chi-testo-lead {
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.72;
  margin: 0;
}
.chi-testo-body {
  font-size: clamp(15px, 1.55vw, 17px);
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
}

/* Tappe storia */
.chi-tappe {
  display: grid;
  gap: 18px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.chi-tappa {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}
.chi-tappa-icona {
  width: 38px; height: 38px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex-shrink: 0;
}
.chi-tappa strong {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 3px;
}
.chi-tappa p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.62;
  margin: 0;
}
.chi-storia-cta { margin-top: 8px; width: max-content; }

/* Colonna foto */
.chi-storia-foto {
  position: sticky;
  top: 88px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px -8px rgba(15,92,47,0.20);
}
.chi-storia-foto img {
  width: 100%;
  height: auto;
  max-height: 320px;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* ── SEZIONE SERVIZI ── */
.chi-servizi-section {
  background: var(--bg-soft);
  padding-block: clamp(48px, 6vw, 80px);
  border-block: 1px solid var(--line);
}
.chi-servizi-section .chi-label-sezione { margin-bottom: 8px; }
.chi-servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: 28px;
}
.chi-servizio-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2vw, 28px);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  transition: box-shadow .2s ease, transform .2s ease;
}
.chi-servizio-card:hover {
  box-shadow: 0 4px 20px -4px rgba(15,92,47,0.15);
  transform: translateY(-2px);
}
.chi-servizio-icona {
  font-size: 22px;
  line-height: 1;
  padding-top: 2px;
}
.chi-servizio-card strong {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
  line-height: 1.3;
}
.chi-servizio-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .chi-storia-row {
    grid-template-columns: 1fr;
  }
  .chi-storia-foto {
    position: static;
    max-width: 380px;
    margin: 0 auto;
    order: -1;
  }
  .chi-servizi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .chi-servizi-grid { grid-template-columns: 1fr; }
}

/* ============================================================= */
/* POPUP ASTERISCO ISEE                                          */
/* ============================================================= */
#isee-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}
#isee-popup-overlay.isee-popup-visible {
  display: flex;
}
#isee-popup {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px -12px rgba(0,0,0,0.35);
  animation: iseePopupIn .22s ease;
}
@keyframes iseePopupIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
#isee-popup-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 32px; height: 32px;
  border: none; background: none; cursor: pointer;
  font-size: 22px; color: var(--ink-soft);
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background .15s;
}
#isee-popup-close:hover { background: var(--bg-soft); color: var(--ink); }
.isee-popup-label {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}
#isee-popup-msg {
  font-size: clamp(14.5px, 1.5vw, 16px);
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* Asterisco cliccabile */
.isee-asterisco {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  vertical-align: super;
  line-height: 1;
  margin-left: 2px;
  text-decoration: none;
  transition: background .15s, transform .15s;
  flex-shrink: 0;
}
.isee-asterisco:hover {
  background: var(--primary-deep);
  transform: scale(1.15);
}


/* ════════════════════════════════════════════════════════
   CHI SIAMO — REDESIGN 4 giugno 2026
════════════════════════════════════════════════════════ */

/* ── Sezione intro ── */
.chi-intro-section {
  background: var(--bg-soft);
  padding-block: clamp(64px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}
.chi-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

/* Eyebrow decorativo */
.chi-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.chi-eyebrow-line {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--ink);
  flex-shrink: 0;
}
.chi-eyebrow-text {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.chi-eyebrow-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Titolo — dimensione massima con gerarchia cromatica */
.chi-intro-titolo {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  margin: 0 0 28px;
  letter-spacing: -.01em;
}
.chi-titolo-dark  {
  color: var(--ink);
  display: block;
}
.chi-titolo-green {
  color: var(--primary);
  display: block;
  position: relative;
}
.chi-titolo-green::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 10px;
}

/* Testo corpo */
.chi-intro-testo {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.80;
  color: var(--ink-soft);
  max-width: 540px;
}

/* ── Foto card (polaroid con bordo tratteggiato) ── */
.chi-foto-card {
  position: relative;
  border: 2.5px dashed var(--primary);
  border-radius: 18px;
  overflow: visible;
  aspect-ratio: 3 / 4;
  max-width: 380px;
  justify-self: center;
  background: var(--white);
}
.chi-foto-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Placeholder quando manca la foto */
.chi-foto-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 32px 24px;
  text-align: center;
}
.chi-placeholder-svg { width: 64px; height: auto; margin-bottom: 6px; }
.chi-foto-placeholder strong  { font-size: 15px; font-weight: 700; color: var(--primary-deep); }
.chi-foto-placeholder span    { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.chi-foto-placeholder code    {
  font-size: 10.5px;
  color: var(--primary);
  background: rgba(15,92,47,.07);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: monospace;
  text-align: center;
  line-height: 1.6;
}

/* Badge "Clara & Laura" */
.chi-foto-badge {
  position: absolute;
  bottom: -16px;
  left: 20px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.12);
  white-space: nowrap;
}

/* ── Sezione team (due card fondatrici) ── */
.chi-team-section {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--white);
}
.chi-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
}
.chi-team-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 3.5vw, 44px);
  transition: box-shadow .25s;
}
.chi-team-card:hover {
  box-shadow: 0 12px 36px -8px rgba(15,92,47,.13);
}

/* Avatar circolare */
.chi-team-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(15,92,47,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  flex-shrink: 0;
}
.chi-team-avatar svg { width: 32px; height: 32px; }
.chi-team-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Nome */
.chi-team-nome {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -.01em;
}

/* Ruolo in verde caps */
.chi-team-ruolo {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 22px;
}

/* Bio */
.chi-team-bio {
  font-size: clamp(14px, 1.5vw, 15.5px);
  line-height: 1.78;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.chi-team-bio:last-child { margin-bottom: 0; }

/* Separatore orizzontale tra ruolo e bio */
.chi-team-card .chi-team-ruolo::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--primary);
  opacity: .35;
  margin-top: 10px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .chi-intro-inner { grid-template-columns: 1fr; }
  .chi-foto-card   { max-width: 320px; margin-inline: auto; aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  .chi-team-grid { grid-template-columns: 1fr; }
  .chi-intro-titolo { font-size: clamp(36px, 9vw, 54px); }
}

/* ============================================================= */
/* CHI SIAMO — REDESIGN v3.4                                     */
/* ============================================================= */

/* ── Hero: pulisci bordo tratteggiato → clean card ── */
.chi-foto-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 400px;
  justify-self: center;
  background: var(--bg-soft);
  box-shadow: 0 24px 64px -16px rgba(15,92,47,.22);
  border: none !important;  /* rimuovi bordo tratteggiato precedente */
}
.chi-foto-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 20px;
}
.chi-foto-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,92,47,.45) 0%, transparent 55%);
  pointer-events: none;
  border-radius: 20px;
}
.chi-foto-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  border: none;
  box-shadow: none;
}
/* CTA nel hero */
.chi-intro-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ── Stats strip ── */
.chi-stats-strip {
  background: var(--bg-dark);
  color: var(--white);
  padding-block: 0;
}
.chi-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.chi-stat {
  padding: clamp(28px,4vw,48px) clamp(20px,3vw,36px);
  border-right: 1px solid rgba(255,255,255,.10);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.chi-stat:last-child { border-right: none; }
.chi-stat-num {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--accent-soft);
  line-height: 1;
  letter-spacing: -.02em;
  font-family: var(--font-display);
}
.chi-stat-num sup {
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: super;
  color: var(--accent);
}
.chi-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.45;
  max-width: 160px;
}

/* ── Team header ── */
.chi-team-header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.chi-team-header .eyebrow { display: block; margin-bottom: 10px; }
.chi-team-header .h2 em { font-style: normal; color: var(--primary); }
.chi-team-header .h2 em::after { display: none; }

/* ── Team card redesign: foto grande in cima ── */
.chi-team-section {
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--bg-soft);
}
.chi-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.chi-team-card {
  background: var(--white);
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px -8px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.chi-team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px -16px rgba(15,92,47,.20);
}
/* Foto grande in cima */
.chi-team-photo-wrap {
  position: relative;
  overflow: hidden;
  height: clamp(280px, 36vw, 420px);
  flex-shrink: 0;
}
.chi-team-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease;
}
.chi-team-card:hover .chi-team-photo-wrap img {
  transform: scale(1.05);
}
.chi-team-photo-ph {
  width: 100%; height: 100%;
  background: rgba(15,92,47,.07);
  display: flex; align-items: center; justify-content: center;
}
/* Gradiente sovrapposto in basso */
.chi-team-photo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to top, rgba(15,92,47,.55) 0%, transparent 100%);
  pointer-events: none;
}
/* Tag specialità sulla foto */
.chi-team-photo-tag {
  position: absolute;
  bottom: 14px; left: 16px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-deep);
  letter-spacing: .05em;
  text-transform: uppercase;
}
/* Corpo testo */
.chi-team-body {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.chi-team-nome {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -.01em;
}
.chi-team-ruolo {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
}
.chi-team-bio {
  font-size: clamp(14px, 1.5vw, 15.5px);
  line-height: 1.78;
  color: var(--ink-soft);
  margin: 0;
}

/* ── Valori: 2×2 uniforme con bordo sinistro ── */
.chi-valori {
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--bg);
}
.chi-valori-header {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.chi-valori-header .eyebrow { display: block; margin-bottom: 10px; }
.chi-valori-header .h2 em { font-style: normal; color: var(--primary); }
.chi-valori-header .h2 em::after { display: none; }
.chi-valori-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.chi-valore {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: box-shadow .25s, transform .25s;
}
.chi-valore:hover {
  box-shadow: 0 12px 32px -8px rgba(15,92,47,.12);
  transform: translateX(4px);
}
.chi-valore-icon {
  font-size: 28px;
  line-height: 1;
  color: var(--primary);
  display: block;
}
.chi-valore h3 {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.chi-valore p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .chi-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .chi-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.10); }
  .chi-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.10); }
}
@media (max-width: 640px) {
  .chi-team-grid { grid-template-columns: 1fr; }
  .chi-valori-grid { grid-template-columns: 1fr; }
  .chi-stats-grid { grid-template-columns: 1fr 1fr; }
  .chi-intro-titolo { font-size: clamp(36px, 9vw, 54px); }
  .chi-intro-ctas { flex-direction: column; }
}

