/* ============================================================
   ORIZZONTE CREDITO — Global Stylesheet
   Palette : bordeaux #5C1F33 / salvia #6E8F73 / ink #241820
   Font    : system stack (inherit dal browser)
   ============================================================ */

/* --- RESET & VARIABILI ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --vino:      #5C1F33;
  --vino-sc:   #3F1424;
  --vino-ch:   #F4DDE2;
  --salvia:    #6E8F73;
  --salvia-ch: #E4EDE5;
  --salvia-p:  #F2F7F2;
  --ink:       #241820;
  --grigio:    #6B6068;
  --grigio-ch: #D8D2D5;
  --bianco:    #ffffff;
  --oro:       #C8973A;

  --ff:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --r0:        0;       /* nessun border-radius — stile tagliente */
  --trans:     .18s linear;
  --shadow:    0 20px 60px -20px rgba(92,31,51,.18);
  --shadow-sm: 0 4px 18px rgba(36,24,32,.08);

  --max:       1200px;
  --gap:       clamp(20px, 4vw, 40px);
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bianco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* --- LAYOUT ------------------------------------------------ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}
.section { padding: clamp(60px, 8vw, 100px) 0; }

/* --- TIPOGRAFIA -------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3vw, 38px); }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; color: var(--vino); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px;
  background: var(--salvia); flex: none;
}
.eyebrow--chiaro { color: rgba(255,255,255,.7); }
.eyebrow--chiaro::before { background: var(--salvia); }

/* --- BOTTONI ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 700; padding: 15px 28px;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 15px; height: 15px; display: block; flex: none; }
.btn--primario {
  background: var(--vino); color: #fff;
  border: 2px solid var(--vino);
}
.btn--primario:hover { background: var(--vino-sc); border-color: var(--vino-sc); }
.btn--ghost {
  background: transparent; color: var(--vino);
  border: 2px solid var(--vino);
}
.btn--ghost:hover { background: var(--vino); color: #fff; }
.btn--bianco {
  background: #fff; color: var(--vino);
  border: 2px solid #fff;
}
.btn--bianco:hover { background: var(--salvia-ch); }
.btn--lg { font-size: 16px; padding: 17px 34px; }
.btn--sm { font-size: 13px; padding: 11px 20px; }

/* --- CARD -------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--grigio-ch);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow);
}

/* --- BADGE ------------------------------------------------- */
.badge {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  padding: 3px 10px; text-transform: uppercase; letter-spacing: .1em;
}
.badge--req   { background: var(--salvia-ch); color: var(--vino); }
.badge--opt   { background: #FFF8E7; color: #8A6020; }
.badge--vino  { background: var(--vino); color: #fff; }
.badge--salvia{ background: var(--salvia); color: #fff; }

/* --- SEZIONE HERO ----------------------------------------- */
.hero {
  background: var(--vino-sc);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--salvia);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap); align-items: center;
  padding: clamp(60px, 8vw, 100px) 0;
}
.hero-testo h1 { color: #fff; margin-bottom: 18px; }
.hero-testo h1 em { font-style: normal; color: var(--salvia-ch); }
.hero-lead {
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255,255,255,.72); margin-bottom: 28px; max-width: 480px;
  line-height: 1.7;
}
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px;
}
.chip {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500;
  padding: 7px 14px;
}
.chip svg { width: 13px; height: 13px; color: var(--salvia-ch); flex: none; display: block; }

/* Immagine hero */
.hero-img {
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- SIMULATORE HERO -------------------------------------- */
.sim {
  background: #fff; padding: 30px 26px 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
}
.sim-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.sim-tit  { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--grigio); }
.sim-tag  { font-size: 10.5px; font-weight: 700; color: var(--vino); background: var(--vino-ch); padding: 3px 10px; letter-spacing: .06em; text-transform: uppercase; }

.campo { margin-bottom: 18px; }
.campo-riga { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.campo-lab  { font-size: 12px; font-weight: 700; color: var(--grigio); text-transform: uppercase; letter-spacing: .1em; }
.campo-out  { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }

.slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3px; background: var(--salvia-ch);
  outline: none; border: none; cursor: pointer; display: block;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px; border-radius: 0;
  transform: rotate(45deg);
  background: var(--vino); cursor: pointer;
}
.slider::-moz-range-thumb {
  width: 20px; height: 20px; border: 0; border-radius: 0;
  transform: rotate(45deg); background: var(--vino); cursor: pointer;
}
.scala { display: flex; justify-content: space-between; font-size: 11px; color: #9C939A; margin-top: 8px; }

/* Risultato simulatore */
.sim-risultato {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--salvia-p); border-left: 3px solid var(--vino);
  padding: 16px 18px; margin: 20px 0 16px; gap: 12px;
}
.res-lab { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--grigio); margin-bottom: 5px; }
.res-rata { font-size: 30px; font-weight: 800; color: var(--vino); line-height: 1; letter-spacing: -.03em; }
.res-rata em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--grigio); }
.res-costo { font-size: 11.5px; color: #9C939A; margin-top: 4px; }
.res-taeg-lab { font-size: 10.5px; color: var(--grigio); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; text-align: right; }
.res-taeg-val { font-size: 22px; font-weight: 800; color: var(--salvia); letter-spacing: -.02em; }
.sim-disc { font-size: 10.5px; color: #9C939A; text-align: center; margin-top: 11px; line-height: 1.55; }

/* --- BANDA CIFRE ------------------------------------------ */
.cifre-sec { background: var(--vino); padding: clamp(40px, 5vw, 60px) 0; }
.cifre-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cifra { padding: 28px 20px; text-align: center; border-right: 1px dashed rgba(255,255,255,.18); }
.cifra:last-child { border-right: none; }
.cifra-val { font-size: clamp(28px, 3.8vw, 46px); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 7px; display: block; letter-spacing: -.035em; }
.cifra-val em { font-style: normal; color: var(--salvia-ch); font-size: .65em; }
.cifra-lab { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.5); display: block; }

/* --- SPLIT (immagine + testo) ----------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split-img { overflow: hidden; aspect-ratio: 4 / 4.5; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-content h2 { margin-bottom: 14px; }
.split-content h2 em { font-style: normal; color: var(--vino); }
.split-content .lead { font-size: 15px; line-height: 1.75; color: var(--grigio); margin-bottom: 28px; }
.check-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.check-li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.check-ico {
  width: 22px; height: 22px; background: var(--salvia-ch);
  display: flex; align-items: center; justify-content: center;
  flex: none; margin-top: 2px; transition: background var(--trans);
}
.check-li:hover .check-ico { background: var(--salvia); }
.check-ico svg { width: 11px; height: 11px; color: var(--vino); display: block; }
.check-li:hover .check-ico svg { color: #fff; }

/* --- GRIGLIA PRODOTTI ------------------------------------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.prod-card {
  border: 1px solid var(--grigio-ch); padding: 28px 22px;
  transition: border-color var(--trans), transform var(--trans);
  display: flex; flex-direction: column; gap: 12px;
}
.prod-card:hover { border-color: var(--vino); transform: translateY(-4px); }
.prod-ico { width: 50px; height: 50px; background: var(--salvia-ch); display: flex; align-items: center; justify-content: center; transition: background var(--trans), transform .38s cubic-bezier(.34,1.56,.64,1); }
.prod-card:hover .prod-ico { background: var(--vino); transform: rotate(45deg); }
.prod-ico svg { width: 22px; height: 22px; color: var(--vino); display: block; transition: color var(--trans), transform .38s cubic-bezier(.34,1.56,.64,1); }
.prod-card:hover .prod-ico svg { color: #fff; transform: rotate(-45deg); }
.prod-tit { font-size: 17px; font-weight: 700; }
.prod-desc { font-size: 13.5px; color: var(--grigio); line-height: 1.65; flex: 1; }
.prod-link { font-size: 13px; font-weight: 700; color: var(--vino); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--trans); }
.prod-card:hover .prod-link { gap: 10px; }
.prod-link svg { width: 13px; height: 13px; display: block; }

/* --- TESTIMONIANZE ---------------------------------------- */
.testi-sec { background: var(--vino-sc); padding: clamp(60px, 8vw, 88px) 0; }
.testi-tit { font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; color: #fff; margin-bottom: 40px; text-align: center; letter-spacing: -.024em; }
.testi-tit em { font-style: normal; color: var(--salvia-ch); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 26px; position: relative; overflow: hidden; transition: transform var(--trans); }
.testi-card:hover { transform: translateY(-4px); }
.stelle { color: var(--oro); font-size: 14px; letter-spacing: 2px; display: block; margin-bottom: 13px; }
.testi-quote { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.82); margin-bottom: 18px; }
.testi-autore { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.testi-av { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.testi-nome { font-size: 13.5px; font-weight: 700; color: #fff; display: block; }
.testi-ruolo { font-size: 12px; color: rgba(255,255,255,.5); display: block; }

/* --- FAQ (details/summary) -------------------------------- */
.faq-wrap { max-width: 840px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--grigio-ch); }
.faq details:first-child { border-top: 1px solid var(--grigio-ch); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 50px 22px 0;
  position: relative; font-size: 17px; font-weight: 700;
  color: var(--ink); letter-spacing: -.015em; line-height: 1.35;
  transition: color var(--trans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--vino); }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--vino); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq-r { padding: 0 60px 22px 0; font-size: 15px; line-height: 1.72; color: var(--grigio); }
.faq-r a { color: var(--vino); text-decoration: underline; }

/* --- ESEMPIO RAPPRESENTATIVO ------------------------------ */
.esempio-card { background: var(--salvia-p); border: 1px solid var(--grigio-ch); overflow: hidden; }
.es-banda {
  background: var(--vino); padding: 20px 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.es-banda-lab { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); display: block; margin-bottom: 2px; }
.es-taeg { font-size: 30px; font-weight: 800; color: var(--salvia-ch); letter-spacing: -.03em; }
.es-taeg span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.5); }
.es-grid { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; }
.es-cella { padding: 22px 16px; text-align: center; border-right: 1px solid var(--grigio-ch); }
.es-cella:last-child { border-right: none; }
.es-lab { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--grigio); display: block; margin-bottom: 8px; }
.es-val { font-size: 19px; font-weight: 800; color: var(--vino); display: block; letter-spacing: -.02em; }
.es-val--salvia { color: var(--salvia); }
.es-disc { padding: 16px 28px; border-top: 1px solid var(--grigio-ch); font-size: 12px; line-height: 1.65; color: var(--grigio); }

/* --- FORM ------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--grigio-ch); padding: clamp(26px, 3vw, 40px); }
.form-griglia { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-griglia--full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--grigio); }
.form-label span { color: var(--vino); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--grigio-ch);
  background: var(--salvia-p); color: var(--ink);
  font-family: var(--ff); font-size: 15px;
  outline: none; transition: border-color var(--trans), background var(--trans);
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--vino); background: #fff;
}
.form-input::placeholder, .form-textarea::placeholder { color: #B0AEB0; font-size: 14px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6068' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-consenso { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; color: var(--grigio); }
.form-consenso input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--vino); cursor: pointer; }
.form-consenso a { color: var(--vino); text-decoration: underline; }
.form-err { font-size: 11.5px; color: #CC4444; font-weight: 600; display: none; }
.field-error .form-input, .field-error .form-select, .field-error .form-textarea { border-color: #CC4444; }
.field-error .form-err { display: block; }
.form-ok { display: none; background: var(--salvia-ch); border: 1px solid var(--salvia); padding: 28px 24px; text-align: center; }
.form-ok svg { color: var(--salvia); display: block; margin: 0 auto 14px; }
.form-ok strong { display: block; font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.form-ok p { font-size: 14px; color: var(--grigio); line-height: 1.6; }

/* --- CTA FINALE ------------------------------------------- */
.cta-finale { background: var(--vino-sc); padding: clamp(60px, 8vw, 88px) 0; text-align: center; }
.cta-finale h2 { color: #fff; margin-bottom: 14px; }
.cta-finale h2 em { font-style: normal; color: var(--salvia-ch); }
.cta-finale p { font-size: 15px; color: rgba(255,255,255,.72); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* --- NOTA LEGALE ------------------------------------------ */
.legale { padding: 32px 0; border-top: 1px solid var(--grigio-ch); }
.legale p { font-size: 12px; line-height: 1.72; color: var(--grigio); margin-bottom: 10px; }
.legale p:last-child { margin: 0; }
.legale strong { color: var(--ink); }
.legale a { color: var(--vino); text-decoration: underline; }

/* --- ANIMAZIONI SCROLL ------------------------------------ */
/* Animations scroll : actives seulement si body a la classe .js-anim */
.js-anim .rv  { opacity: 0; transform: translateY(28px); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.js-anim .rl  { opacity: 0; transform: translateX(-36px); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.js-anim .rr  { opacity: 0; transform: translateX(36px);  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.js-anim .vis { opacity: 1 !important; transform: none !important; }
/* Sans .js-anim : tout visible par défaut */
.rv, .rl, .rr { opacity: 1; transform: none; }
.d1  { transition-delay: .1s !important; }
.d2  { transition-delay: .2s !important; }
.d3  { transition-delay: .3s !important; }
.d4  { transition-delay: .4s !important; }

@media (prefers-reduced-motion: reduce) {
  .rv, .rl, .rr { opacity: 1; transform: none; transition: none; }
}

/* --- FOOTER ----------------------------------------------- */
.footer { background: var(--vino-sc); }
.footer-cta {
  background: var(--vino); padding: 48px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.footer-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--salvia); }
.footer-cta-tit { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; color: #fff; letter-spacing: -.026em; max-width: 480px; }
.footer-cta-tit em { font-style: normal; color: var(--salvia-ch); }
.footer-body { padding: 56px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-nome { font-size: 23px; font-weight: 800; color: #fff; letter-spacing: -.02em; display: block; margin-bottom: 4px; }
.footer-nome span { color: var(--salvia-ch); }
.footer-etich { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--salvia); display: block; margin-bottom: 20px; }
.footer-desc { font-size: 14px; line-height: 1.72; color: rgba(255,255,255,.6); max-width: 280px; margin-bottom: 20px; }
.footer-ctt { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,.6); transition: color var(--trans); }
.footer-ctt:hover { color: var(--salvia-ch); }
.footer-ctt svg { width: 16px; height: 16px; color: var(--salvia); flex: none; display: block; margin-top: 2px; }
.footer-ctt strong { color: #fff; }
.footer-col-tit { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: #fff; display: block; margin-bottom: 18px; }
.footer-li { margin-bottom: 12px; }
.footer-li a { font-size: 14px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 7px; transition: color var(--trans); }
.footer-li a::before { content: ''; width: 5px; height: 1.5px; background: var(--salvia); display: inline-block; flex: none; transition: width var(--trans); }
.footer-li a:hover { color: var(--salvia-ch); }
.footer-li a:hover::before { width: 10px; }
.footer-ora { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer-ora:last-child { border-bottom: none; }
.footer-ora-g { color: rgba(255,255,255,.6); }
.footer-ora-h { color: #fff; font-weight: 600; font-size: 13px; }
.footer-ora-h.chiuso { color: var(--salvia-ch); }
.footer-taeg { display: inline-flex; flex-direction: column; gap: 3px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); margin-top: 22px; }
.footer-taeg .l { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.4); }
.footer-taeg .v { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.footer-taeg .v em { font-style: normal; color: var(--salvia-ch); }
.footer-disc { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0; }
.footer-disc p { font-size: 11.5px; line-height: 1.68; color: rgba(255,255,255,.35); margin-bottom: 14px; }
.footer-disc p:last-child { margin: 0; }
.footer-disc a { color: rgba(255,255,255,.4); text-decoration: underline; }
.footer-bot { background: var(--vino-sc); border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; }
.footer-bot-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-cp { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.35); transition: color var(--trans); }
.footer-links a:hover { color: var(--salvia-ch); }

/* --- HEADER ----------------------------------------------- */
.ozh { position: sticky; top: 0; z-index: 9990; background: #fff; border-bottom: 1px solid var(--grigio-ch); transition: box-shadow var(--trans); }
.ozh.scroll { box-shadow: 0 2px 18px rgba(36,24,32,.1); }
.ozh-top { background: var(--vino); }
.ozh-top .container { display: flex; align-items: center; justify-content: space-between; height: 36px; font-size: 12px; color: rgba(255,255,255,.82); }
.ozh-top-sx { display: flex; align-items: center; gap: 8px; letter-spacing: .04em; }
.ozh-top-sx svg { width: 14px; height: 14px; color: var(--salvia-ch); flex: none; }
.ozh-top-dx { display: flex; align-items: center; gap: 20px; }
.ozh-top-dx a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); font-weight: 500; transition: color var(--trans); }
.ozh-top-dx a:hover { color: #fff; }
.ozh-top-dx svg { width: 14px; height: 14px; color: var(--salvia-ch); flex: none; }
.ozh-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.ozh-logo { display: flex; align-items: center; gap: 11px; flex: none; transition: opacity var(--trans); }
.ozh-logo:hover { opacity: .82; }
.ozh-logo svg { flex: none; color: var(--vino); }
.ozh-logo-testo { display: flex; flex-direction: column; line-height: 1; }
.ozh-logo-nome { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.025em; }
.ozh-logo-nome span { color: var(--vino); }
.ozh-logo-etich { font-size: 9px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--salvia); margin-top: 4px; }
.ozh-nav { display: flex; align-items: center; gap: 0; margin-left: auto; }
.ozh-nav > li { position: relative; }
.ozh-nav > li > a, .ozh-nav > li > button {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 0 15px; height: 74px; position: relative; white-space: nowrap;
}
.ozh-nav > li > a::after, .ozh-nav > li > button::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 18px;
  height: 2px; background: var(--vino);
  transform: scaleX(0); transform-origin: left; transition: transform var(--trans);
}
.ozh-nav > li:hover > a::after, .ozh-nav > li:hover > button::after,
.ozh-nav > li > a[aria-current="page"]::after { transform: scaleX(1); }
.ozh-nav > li > button svg { width: 14px; height: 14px; color: var(--salvia); transition: transform var(--trans); }
.ozh-nav > li:hover > button svg, .ozh-nav > li:focus-within > button svg { transform: rotate(180deg); }
.ozh-tendina {
  position: absolute; top: 100%; left: 0; min-width: 310px;
  background: #fff; border: 1px solid var(--grigio-ch);
  border-top: 2px solid var(--vino); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--trans), transform var(--trans), visibility var(--trans);
  box-shadow: 0 12px 32px -8px rgba(36,24,32,.14);
}
.ozh-nav > li:hover .ozh-tendina, .ozh-nav > li:focus-within .ozh-tendina { opacity: 1; visibility: visible; transform: translateY(0); }
.ozh-tendina a { display: flex; gap: 14px; padding: 13px 22px; align-items: flex-start; transition: background var(--trans); }
.ozh-tendina a:hover { background: var(--salvia-ch); }
.ozh-tendina-ico { width: 38px; height: 38px; background: var(--salvia-ch); display: flex; align-items: center; justify-content: center; flex: none; transition: background var(--trans); }
.ozh-tendina a:hover .ozh-tendina-ico { background: var(--vino); }
.ozh-tendina-ico svg { width: 18px; height: 18px; color: var(--vino); display: block; transition: color var(--trans); }
.ozh-tendina a:hover .ozh-tendina-ico svg { color: #fff; }
.ozh-tendina b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.ozh-tendina small { display: block; font-size: 12px; color: var(--grigio); line-height: 1.45; }
.ozh-tendina-sep { margin: 6px 22px; border: none; border-top: 1px solid var(--grigio-ch); }
.ozh-ghost { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--grigio); padding: 10px 16px; border: 1.5px solid var(--grigio-ch); transition: border-color var(--trans), color var(--trans); white-space: nowrap; flex: none; }
.ozh-ghost:hover { border-color: var(--vino); color: var(--vino); }
.ozh-ghost svg { width: 16px; height: 16px; display: block; }
.ozh-cta-h { display: inline-flex; align-items: center; gap: 8px; background: var(--vino); color: #fff; font-size: 14px; font-weight: 700; padding: 12px 22px; border: 2px solid var(--vino); transition: background var(--trans); white-space: nowrap; flex: none; }
.ozh-cta-h:hover { background: var(--vino-sc); border-color: var(--vino-sc); color: #fff; }
.ozh-cta-h svg { width: 15px; height: 15px; display: block; }
.ozh-hamb { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); }
.ozh-hamb svg { width: 26px; height: 26px; display: block; }
.ozh-velo {
  position: fixed; inset: 0; background: rgba(36,24,32,.52);
  z-index: 9995; opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
  display: block;
}
.ozh-velo.aperto { opacity: 1; pointer-events: auto; }
.ozh-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); z-index: 9996; background: #fff; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ozh-drawer.aperto { transform: translateX(0); }
.ozh-drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--grigio-ch); background: var(--vino); }
.ozh-drawer-top .ozh-logo-nome { color: #fff; font-size: 20px; }
.ozh-drawer-top .ozh-logo-nome span { color: var(--salvia-ch); }
.ozh-drawer-chiudi { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.75); transition: color var(--trans); }
.ozh-drawer-chiudi:hover { color: #fff; }
.ozh-drawer-chiudi svg { width: 22px; height: 22px; display: block; }
.ozh-drawer-nav { padding: 6px 0; flex: 1; }
.ozh-drawer-nav > li { border-bottom: 1px solid var(--grigio-ch); }
.ozh-drawer-nav > li > a, .ozh-drawer-nav > li > button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 17px 20px; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; }
.ozh-drawer-nav > li > button .arr { width: 18px; height: 18px; color: var(--salvia); transition: transform .2s linear; flex: none; }
.ozh-drawer-nav > li.aperto > button .arr { transform: rotate(180deg); }
.ozh-sotto { max-height: 0; overflow: hidden; transition: max-height .26s ease; background: #FAFAF9; border-top: 1px solid var(--grigio-ch); }
.ozh-drawer-nav > li.aperto .ozh-sotto { max-height: 400px; }
.ozh-sotto a { display: flex; gap: 12px; padding: 14px 20px 14px 28px; font-size: 14.5px; color: var(--grigio); align-items: center; border-bottom: 1px solid var(--grigio-ch); }
.ozh-sotto a:last-child { border-bottom: none; }
.ozh-sotto a:hover { background: var(--salvia-ch); }
.ozh-sotto svg { width: 18px; height: 18px; color: var(--vino); flex: none; display: block; }
.ozh-sotto b { color: var(--ink); font-weight: 600; }
.ozh-drawer-piede { padding: 20px; border-top: 1px solid var(--grigio-ch); display: flex; flex-direction: column; gap: 10px; }
.ozh-drawer-piede .ozh-cta-h { justify-content: center; padding: 15px; }
.ozh-drawer-tel { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 18px; border: 1.5px solid var(--grigio-ch); font-size: 14.5px; font-weight: 600; color: var(--ink); transition: border-color var(--trans), color var(--trans); }
.ozh-drawer-tel:hover { border-color: var(--vino); color: var(--vino); }
.ozh-drawer-tel svg { width: 17px; height: 17px; color: var(--vino); flex: none; display: block; }
.ozh-drawer-oam { font-size: 11px; color: var(--grigio); text-align: center; line-height: 1.6; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--grigio-ch); }

/* --- RESPONSIVE GLOBALE ----------------------------------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero-img { display: none; }
  .cifre-grid { grid-template-columns: repeat(2, 1fr); }
  .cifra:nth-child(2) { border-right: none; }
  .cifra:nth-child(1), .cifra:nth-child(2) { border-bottom: 1px dashed rgba(255,255,255,.18); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .es-grid { grid-template-columns: repeat(3, 1fr); }
  .es-cella:nth-child(3) { border-right: none; }
  .ozh-nav, .ozh-ghost, .ozh-bar > .ozh-cta-h { display: none; }
  .ozh-hamb { display: flex; }
  .ozh-bar { height: 66px; }
  .ozh-top-sx { display: none; }
  .ozh-top .container { justify-content: flex-end; }
}
@media (max-width: 640px) {
  .form-griglia { grid-template-columns: 1fr; }
  .form-griglia--full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .cifre-grid { grid-template-columns: 1fr; }
  .cifra { border-right: none; border-bottom: 1px dashed rgba(255,255,255,.18); }
  .cifra:last-child { border-bottom: none; }
  .es-grid { grid-template-columns: repeat(2, 1fr); }
  .es-cella:nth-child(even) { border-right: none; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-bot-inner { flex-direction: column; text-align: center; gap: 8px; }
}

/* ============================================================
   FIX RESPONSIVE — grilles inline pages (preventivo, contatti, chi-siamo)
   ============================================================ */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.grid-form-col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .grid-2col,
  .grid-form-col { grid-template-columns: 1fr !important; }
  .preventivo-sim-sticky { position: static !important; }
}


/* Supprimer ozh-ghost (Area clienti supprimé) */
.ozh-ghost { display: none !important; }

/* Fix form sticky sur mobile */
@media (max-width: 900px) {
  [style*="position:sticky"][style*="top:110px"] {
    position: static !important;
  }
  .footer-cta .container { flex-direction: column; align-items: flex-start; }
}

/* Fix contatti info-col : ne pas être collapsée trop tôt */
@media (max-width: 900px) {
  .grid-form-col > *:last-child { order: -1; }
}