/* ============================================================
   ORE — Outlook Rating ESG — design tokens
   ============================================================ */
:root{
  --navy: #14213D;
  --navy-deep: #0A1226;
  --navy-soft: #22304F;
  --navy-line: #2E3B5E;
  --gold: #B8860B;
  --gold-light: #D9A82E;
  --gold-soft: #F1E7C9;
  --offwhite: #F4F5F7;
  --paper: #FBFBFA;
  --line: #E2E4EA;
  --sage: #5B7A63;
  --sage-soft: #E4ECE6;
  --slate: #3F6482;
  --slate-soft: #E1E9F0;
  --clay: #A45C40;
  --clay-soft: #F1E1D8;
  --ink: #171B23;
  --muted: #62697A;
  --muted-light: #9AA3C0;
  --white: #FFFFFF;

  --serif: "Fraunces", "Cambria", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 45px -20px rgba(10, 18, 38, 0.35);
  --shadow-lg: 0 30px 70px -25px rgba(10, 18, 38, 0.45);
  --maxw: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ overflow-x: hidden; max-width: 100%; }
body{
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--serif); margin: 0; font-weight: 600; line-height: 1.08; }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }

:focus-visible{
  outline: 2.5px solid var(--gold-light);
  outline-offset: 3px;
}

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow{
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}
.eyebrow.on-light{ color: var(--gold); }

/* ============ buttons ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn-gold{ background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover{ background: var(--gold-light); box-shadow: 0 12px 24px -10px rgba(184,134,11,.55); }
.btn-outline-light{ border-color: rgba(255,255,255,.35); color:#fff; }
.btn-outline-light:hover{ border-color:#fff; background: rgba(255,255,255,.06); }
.btn-outline-dark{ border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover{ background: var(--navy); color:#fff; }
.btn-navy{ background: var(--navy); color:#fff; }
.btn-navy:hover{ background: var(--navy-soft); }
.btn-block{ width:100%; }

/* ============ header / nav ============ */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(20,33,61,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header.on-light{ background: rgba(255,255,255,.92); border-bottom: 1px solid var(--line); }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; padding: 16px 32px; max-width: var(--maxw); margin:0 auto; }
.brand{ font-family: var(--serif); font-weight:700; font-size: 21px; color:#fff; letter-spacing: .01em; }
.brand img{ height: 80px; display: block; }
.footer-brand .footer-logo{ height: 140px; display: block; }
.on-light .brand{ color: var(--navy); }
.nav-links{ display:flex; gap: 30px; }
.nav-links a{ font-size:14.5px; color: #C6CBE0; font-weight:500; transition: color .15s; position:relative; }
.on-light .nav-links a{ color: var(--muted); }
.nav-links a:hover{ color: #fff; }
.on-light .nav-links a:hover{ color: var(--navy); }
.nav-links a.active{ color: var(--gold-light); }
.on-light .nav-links a.active{ color: var(--gold); }
.nav-right{ display:flex; align-items:center; gap:18px; }
.nav-toggle{ display:none; background:none; border:none; padding:6px; }
.nav-toggle span{ display:block; width:22px; height:2px; background:#fff; margin:5px 0; }
.on-light .nav-toggle span{ background: var(--navy); }

/* ============ signature: diagonal panel ============ */
.diagonal-panel{
  position:absolute; inset:0; overflow:hidden; pointer-events:none;
}
.diagonal-panel .cut{
  position:absolute; background: var(--gold);
}
.cut-br{ width:60%; height:140%; right:-14%; bottom:-45%; clip-path: polygon(38% 0, 100% 0, 100% 100%, 0% 100%); }
.cut-tr{ width:46%; height:120%; right:-8%; top:-40%; clip-path: polygon(20% 0,100% 0,100% 100%,0 100%); }
.cut-bl{ width:46%; height:130%; left:-10%; bottom:-45%; clip-path: polygon(0 0,100% 0,80% 100%,0% 100%); background: var(--navy-soft); }

.ghost{
  position:absolute; font-family: var(--serif); font-weight:700; color: rgba(255,255,255,.045);
  line-height:1; user-select:none; pointer-events:none; white-space:nowrap;
}
.ghost.on-light{ color: rgba(20,33,61,.045); }
.ghost-2line{ white-space:normal; }
.ghost-2line .gl1{ font-size:56px; margin-bottom:10px; }
.ghost-2line .gl2{ font-size:30px; }
.hero-gold-title{
  font-family: var(--serif); font-weight:700; line-height:1.15; margin-bottom:20px; max-width:420px;
}
.hero-gold-title .gl1{ font-size:40px; color: var(--gold-light); margin-bottom:8px; }
.hero-gold-title .gl2{ font-family: var(--mono); font-size:13px; font-weight:600; color: var(--gold); letter-spacing:.02em; }
.notarile-banner{
  display:inline-flex; align-items:center; justify-content:center; gap:10px; margin-top:5px;
  background: var(--gold); color: var(--navy-deep); font-family: var(--serif); font-weight:700;
  font-size:25px; line-height:1.15; letter-spacing:.005em; padding:20px 24px; border-radius:20px;
  width:600px; text-align:center; box-shadow: 0 14px 30px -12px rgba(184,134,11,.6);
}
.notarile-banner .star{ display:block; font-size:16px; margin-bottom:4px; letter-spacing:.1em; font-family: var(--sans); }

/* ============ hero ============ */
.hero{ position:relative; background: var(--navy); overflow:hidden; padding-bottom: 70px; }
.hero-inner{ position:relative; z-index:2; display:grid; grid-template-columns: 1.15fr .85fr; gap: 40px; padding: 16px 32px 20px; max-width: var(--maxw); margin:0 auto; align-items:center; }
.hero h1{ font-size: clamp(38px,5vw,58px); color:#fff; margin: 18px 0 22px; letter-spacing:-.01em; }
.hero h1 em{ font-style:italic; color: var(--gold-light); }
.hero p.lead{ font-size: 17px; color:#C2C9DE; max-width: 520px; margin-bottom: 34px; line-height:1.6; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; min-height: 380px; }
.rating-badge{
  position:relative; width: 300px; height:300px; border-radius:50%;
  background: var(--navy-deep); border: 1px solid var(--navy-line);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg);
}
.rating-badge .ring{
  position:absolute; inset:12px; border-radius:50%;
  border: 12px solid transparent;
  border-top-color: var(--gold); border-right-color: var(--gold); border-bottom-color: var(--gold);
  transform: rotate(-35deg);
}
.rating-badge .grade{ font-family: var(--serif); font-size: 68px; font-weight:700; color:#fff; }
.rating-badge .grade-sub{ font-family: var(--sans); font-size: 14px; font-weight:600; color: var(--gold-light); letter-spacing:.03em; margin-bottom:6px; }
.rating-badge .score{ font-family: var(--mono); font-size: 13px; color: var(--gold-light); letter-spacing:.08em; margin-top:6px; }
.trust-row{ position:relative; z-index:2; max-width: var(--maxw); margin: 0 auto; padding: 26px 32px 0; border-top: 1px solid rgba(255,255,255,.09); display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.trust-row .label{ font-family: var(--mono); font-size:11.5px; letter-spacing:.1em; color:#7D86A6; text-transform:uppercase; }
.pill{ border:1px solid #38416B; border-radius:999px; padding:8px 16px; font-size:12.5px; color:#B7BEDA; }

/* ============ sections generic ============ */
section{ padding: 48px 0; }
section.tight{ padding: 72px 0; }
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head .eyebrow{ display:block; margin-bottom:14px; }
.section-head h2{ font-size: clamp(28px,3.6vw,38px); color: var(--ink); margin-bottom:14px; }
.section-head p{ color: var(--muted); font-size:16px; line-height:1.6; }
.bg-offwhite{ background: var(--offwhite); }
.bg-navy{ background: var(--navy); color:#fff; position:relative; overflow:hidden; }
.bg-navy .section-head h2{ color:#fff; }
.bg-navy .section-head p{ color:#C2C9DE; }

/* ============ numbers / stats ============ */
.stats-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items:stretch; }
.stat-hero{
  background: var(--navy); color:#fff; border-radius: var(--radius); padding: 44px 40px;
  position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:center; min-height: 380px;
}
.stat-hero .big{ font-family: var(--serif); font-size: 120px; font-weight:700; line-height:.9; color:#fff; margin: 14px 0 20px; }
.stat-hero p{ color:#C2C9DE; font-size:15px; max-width:380px; line-height:1.6; position:relative; z-index:2; }
.stat-side{ display:grid; gap:18px; }
.stat-card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); padding: 26px 28px;
  display:flex; align-items:center; gap: 24px; box-shadow: 0 10px 26px -18px rgba(20,33,61,.25);
}
.stat-card .num{ font-family: var(--serif); font-size: 46px; font-weight:700; color: var(--gold); min-width: 100px; }
.stat-card .desc{ color: var(--muted); font-size: 14px; line-height:1.5; }

/* ============ differentiator cards ============ */
.card-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; margin-top: 52px; }
.diff-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:28px; box-shadow: 0 10px 26px -18px rgba(20,33,61,.2); }
.diff-card .icon{ width:44px; height:44px; border-radius:10px; margin-bottom:18px; }
.diff-card h3{ font-size:17px; font-family: var(--sans); font-weight:700; margin-bottom:10px; }
.diff-card p{ color: var(--muted); font-size:14px; line-height:1.6; }

/* ============ comparison ============ */
.compare{ display:grid; grid-template-columns: .92fr 1.08fr; gap: 0; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); }
.compare .side{ padding: 40px 36px; }
.compare .bad{ background: var(--offwhite); }
.compare .good{ background: var(--navy); color:#fff; position:relative; overflow:hidden; }
.compare h4{ font-family: var(--mono); font-size:12.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:26px; }
.compare .good h4{ color: var(--gold-light); }
.compare-row{ display:flex; align-items:flex-start; gap:14px; padding: 13px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size:14.5px; }
.compare .good .compare-row{ border-bottom-color: rgba(255,255,255,.08); font-weight:500; }
.mark{ width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:11px; flex-shrink:0; margin-top:1px; }
.mark.x{ background:#B85C52; color:#fff; }
.mark.check{ background: var(--gold); color: var(--navy-deep); }

/* ============ process ladder ============ */
.ladder{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; align-items:end; }
.step{ border-radius: var(--radius); padding: 26px 24px; box-shadow: 0 14px 30px -20px rgba(20,33,61,.3); }
.step .n{ font-family: var(--serif); font-size:34px; font-weight:700; opacity:.5; }
.step h3{ font-family:var(--sans); font-size:15.5px; font-weight:700; margin:14px 0 10px; }
.step p{ font-size:13px; line-height:1.55; }
.step-0{ background: var(--offwhite); height: 260px; }
.step-0 .n{ color:#8A94AC; } .step-0 p{ color:var(--muted); }
.step-1{ background: var(--navy); color:#fff; height: 300px; }
.step-1 .n{ color:#7D86A6; } .step-1 p{ color:#C2C9DE; }
.step-2{ background: var(--slate); color:#fff; height: 340px; }
.step-2 .n{ color:rgba(255,255,255,.55); } .step-2 p{ color:#E3EAF1; }
.step-3{ background: var(--gold); color: var(--navy-deep); height: 380px; }
.step-3 .n{ color:rgba(20,33,61,.4); } .step-3 p{ color:#4A3B12; }

/* ============ product example card ============ */
.example-grid{ display:grid; grid-template-columns: 1.5fr 1fr; gap:26px; }
.example-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:36px; box-shadow: var(--shadow); }
.tag-pill{ display:inline-block; border:1px solid var(--slate); color:var(--slate); border-radius:999px; padding:6px 16px; font-family: var(--mono); font-size:11.5px; margin-bottom:18px; }
.example-card h3{ font-family:var(--serif); font-size:23px; margin-bottom: 22px; }
.q-label{ font-family: var(--mono); font-size:11px; letter-spacing:.1em; color:var(--muted); text-transform:uppercase; }
.q-text{ font-size:17px; margin: 12px 0 26px; line-height:1.5; }
.score-row{ display:flex; gap:10px; margin: 14px 0 30px; }
.score-btn{ width:46px; height:46px; border-radius:10px; border:1.5px solid var(--line); background: var(--offwhite); display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--muted); }
.score-btn.sel{ background: var(--gold); border-color: var(--gold); color:#fff; }
.evidence-box{ background: var(--offwhite); border:1px solid var(--line); border-radius: var(--radius-sm); padding:18px 20px; font-size:14px; color:var(--ink); }
.example-note{ background: var(--navy); color:#fff; border-radius: var(--radius); padding: 32px; position:relative; overflow:hidden; }
.example-note h4{ font-family:var(--sans); color: var(--gold-light); font-weight:700; font-size:15px; margin-bottom:16px; }
.example-note p{ color:#C2C9DE; font-size:14px; line-height:1.65; margin-bottom:18px; position:relative; z-index:2; }
.example-note .foot{ border-top:1px solid var(--navy-line); padding-top:18px; margin-top:auto; color:#8A93B8; font-size:12.5px; line-height:1.6; }

/* ============ pricing ============ */
.pricing-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; align-items:end; }
.plan{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.plan.featured{ background: var(--navy); color:#fff; box-shadow: var(--shadow-lg); padding-top: 44px; position:relative; transform: translateY(-14px); }
.plan-tag{ position:absolute; top:-16px; left:50%; transform:translateX(-50%); background: var(--gold); color: var(--navy-deep); font-size:11.5px; font-weight:700; letter-spacing:.06em; padding:7px 16px; border-radius:999px; }
.plan h3{ font-family: var(--serif); font-size: 25px; margin-bottom:8px; }
.plan .desc{ color: var(--muted); font-size:14px; margin-bottom:26px; }
.plan.featured .desc{ color:#C2C9DE; }
.plan-feats{ display:flex; flex-direction:column; gap:14px; margin-bottom: 30px; min-height:180px; }
.plan-feats li{ display:flex; gap:12px; align-items:flex-start; font-size:13.5px; }
.plan-feats .mark{ width:19px;height:19px;font-size:9.5px; }

/* ============ audience split ============ */
.audience-grid{ display:grid; grid-template-columns:1fr 1fr; gap: 26px; }
.aud-card{ border-radius: var(--radius); padding: 38px; }
.aud-card.light{ background: var(--offwhite); }
.aud-card.dark{ background: var(--navy); color:#fff; box-shadow: var(--shadow); }
.aud-icon{ width:52px; height:52px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.aud-card h3{ font-family: var(--serif); font-size:22px; margin: 6px 0 14px; }
.aud-card p{ color: var(--muted); font-size:14.5px; line-height:1.65; margin-bottom:24px; }
.aud-card.dark p{ color:#C2C9DE; }
.aud-list li{ display:flex; gap:12px; align-items:center; padding:9px 0; font-size:14px; }

/* ============ documento metodologico ============ */
.doc-list{ margin:0 0 20px; padding-left:0; }
.doc-list li{ display:flex; gap:14px; padding:10px 0; font-size:15px; line-height:1.65; color:var(--ink); }
.doc-list li::before{ content:"•"; color:var(--gold); font-weight:700; flex-shrink:0; }
.formula-box{ background:var(--offwhite); border:1px solid var(--line); border-radius:var(--radius); padding:28px 30px; margin:24px 0 32px; text-align:center; }
.formula-box p{ font-family:var(--serif); font-style:italic; color:var(--navy); font-size:15.5px; line-height:1.7; margin-bottom:10px; }
.formula-box p:last-child{ margin-bottom:0; font-size:13px; color:var(--muted); }
.formula-legend{ margin:0 0 32px; }
.formula-legend h5{ font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
.formula-legend-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:10px 28px; }
.formula-legend-grid dt{ font-family:var(--mono); font-weight:700; color:var(--navy); font-size:13px; display:inline; }
.formula-legend-grid dd{ display:inline; margin:0; color:var(--muted); font-size:13.5px; }
.formula-legend-grid dd::before{ content:" — "; color:var(--muted); }
.formula-legend-item{ padding:2px 0; }
.doc-meta{ text-align:right; color:var(--muted); font-size:13px; line-height:1.7; margin-bottom:20px; }
.doc-sign{ border-top:1px solid var(--line); padding-top:20px; margin-top:40px; }
.doc-sign .who{ font-weight:700; color:var(--ink); margin-bottom:4px; }
.doc-sign .role{ color:var(--muted); font-size:14px; }

.statement-box{ background:var(--navy); border-radius:var(--radius); padding:40px 44px; margin:8px 0 32px; position:relative; overflow:hidden; }
.statement-box::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:6px; background:var(--gold); }
.statement-box p{ font-family:var(--serif); font-size:26px; font-weight:600; line-height:1.35; color:#fff; margin:0; }

/* ============ messaggio della direzione (cornice a 3 colonne) ============ */
.direzione-frame{ display:grid; grid-template-columns: 1fr 1.35fr 1fr; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg); }
.direzione-side{ background:var(--navy); padding:44px 32px; display:flex; flex-direction:column; justify-content:flex-start; }
.direzione-side .brand-label{ font-family:var(--serif); font-weight:700; font-size:15px; color:var(--gold); letter-spacing:.04em; margin-bottom:26px; }
.direzione-side .eyebrow{ color:var(--gold-light); margin-bottom:14px; display:block; }
.direzione-side p{ color:#D9DEEA; font-size:15px; line-height:1.75; margin:0; }
.direzione-center{ background:#fff; padding:50px 44px; }
.direzione-center .eyebrow{ margin-bottom:12px; display:block; }
.direzione-center h2{ font-size:26px; margin-bottom:22px; }
.direzione-center p{ font-size:14px; line-height:1.75; color:var(--ink); margin:0 0 16px; }
.direzione-sign{ border-top:1px solid var(--line); margin-top:8px; padding-top:16px; font-weight:700; color:var(--ink); font-size:14px; }
@media (max-width:980px){
  .direzione-frame{ grid-template-columns:1fr; }
}

/* ============ faq ============ */
.faq-item{ background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); margin-bottom:14px; overflow:hidden; }
.faq-item summary{ list-style:none; cursor:pointer; padding:22px 26px; display:flex; align-items:center; gap:18px; font-weight:600; font-size:15.5px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .qmark{ width:32px; height:32px; border-radius:50%; background:var(--gold); color:var(--navy-deep); display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-weight:700; flex-shrink:0; }
.faq-item summary .chev{ margin-left:auto; color:var(--muted); transition:transform .2s; }
.faq-item[open] summary .chev{ transform: rotate(180deg); }
.faq-item .a{ padding: 0 26px 24px 76px; color: var(--muted); font-size:14.5px; line-height:1.65; }

/* ============ forms ============ */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size:13px; font-weight:600; color: var(--ink); }
.field input, .field select, .field textarea{
  border:1px solid var(--line); background: var(--offwhite); border-radius: var(--radius-sm);
  padding: 13px 16px; font-family: var(--sans); font-size:14.5px; color:var(--ink);
}
.field textarea{ resize:vertical; min-height:110px; font-family:var(--sans); }
.field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--gold-light); outline-offset:1px; background:#fff; }
.side-panel{ background: var(--navy); color:#fff; border-radius: var(--radius); padding:34px; }
.side-panel h4{ font-family: var(--sans); font-weight:700; font-size:16px; margin-bottom:22px; }
.side-step{ display:flex; gap:16px; margin-bottom:22px; }
.side-step .num{ width:28px; height:28px; border-radius:50%; background: var(--gold); color:var(--navy-deep); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0; }
.side-step p{ color:#DDE1EA; font-size:13.5px; line-height:1.5; }

/* ============ footer ============ */
footer{ background: var(--navy-deep); color:#fff; padding: 70px 0 30px; position:relative; overflow:hidden; }
.footer-top{ display:grid; grid-template-columns: 1.4fr repeat(3,1fr); gap:32px; padding-bottom:44px; position:relative; z-index:2; }
.footer-brand .brand{ margin-bottom:14px; display:inline-block; }
.footer-brand p{ color: var(--muted-light); font-size:13.5px; line-height:1.6; margin-bottom:18px; }
.reg-badge{ display:inline-block; border:1px solid var(--navy-line); border-radius:8px; padding:12px 16px; font-size:11.5px; color: var(--gold-light); font-weight:600; line-height:1.5; }
.footer-col h5{ font-family: var(--mono); font-size:11px; letter-spacing:.1em; color: var(--gold-light); text-transform:uppercase; margin-bottom:16px; }
.footer-col.on-gold h5{ color: var(--navy-deep); }
.footer-col.on-gold a{ color: var(--navy); font-weight:600; }
.footer-col.on-gold a:hover{ color: var(--navy-deep); }
.footer-col li{ margin-bottom:11px; }
.footer-col a{ color:#AEB6CC; font-size:13.5px; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid var(--navy-line); padding-top:26px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; position:relative; z-index:2; }
.footer-bottom .copy{ color: var(--muted-light); font-size:12.5px; }
.socials{ display:flex; gap:10px; }
.socials a{ width:36px; height:36px; border-radius:50%; border:1px solid var(--navy-line); display:flex; align-items:center; justify-content:center; font-size:13px; color:#AEB6CC; }
.socials a:hover{ border-color: var(--gold-light); color:#fff; }

/* ============ page hero (non-home) ============ */
.page-hero{ background: var(--navy); color:#fff; padding: 64px 0 60px; position:relative; overflow:hidden; }
.page-hero .wrap{ position:relative; z-index:2; }
.page-hero h1{ font-size: clamp(32px,4vw,46px); color:#fff; margin: 14px 0 12px; max-width:640px; }
.page-hero p{ color:#C2C9DE; font-size:16px; max-width:560px; }

/* ============ rating scale ============ */
.rating-scale{ display:flex; flex-direction:column; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); }
.scale-row{ display:flex; align-items:center; gap:26px; padding: 20px 30px; }
.scale-row .grade{ font-family: var(--serif); font-size: 20px; font-weight:700; width: 220px; flex-shrink:0; display:flex; flex-direction:column; }
.scale-row .grade .code{ font-family: var(--mono); font-size:30px; font-weight:600; letter-spacing:.06em; opacity:.75; margin-bottom:2px; }
.scale-row .desc h4{ font-family: var(--sans); font-size:18px; font-weight:700; margin-bottom:4px; }
.scale-row .desc p{ font-size:16px; opacity:.85; line-height:1.5; }
.scale-row .threshold{ font-family: var(--mono); font-size:18px; opacity:.7; margin-left:auto; white-space:nowrap; padding-left:20px; }

/* ============ misc ============ */
.mission-split{ display:grid; grid-template-columns: 1fr 1.15fr; }
.mission-left{ background: var(--offwhite); padding: 90px 60px; position:relative; overflow:hidden; }
.mission-left h2{ font-size: clamp(28px,3.2vw,36px); margin-bottom:22px; }
.mission-left .quote{ font-family: var(--serif); font-style:italic; font-size:19px; line-height:1.55; color: var(--ink); }
.mission-left .addr{ margin-top:60px; font-size:13px; color:var(--muted); }
.mission-right{ padding: 90px 60px; display:flex; flex-direction:column; gap:22px; justify-content:center; }
.value-row{ display:flex; gap:22px; align-items:flex-start; padding: 22px; border-radius: var(--radius); }
.value-row:nth-child(odd){ background: var(--offwhite); }
.value-icon{ width:48px;height:48px;border-radius:11px; flex-shrink:0; }
.value-row h3{ font-family:var(--sans); font-size:16.5px; font-weight:700; margin-bottom:8px; }
.value-row p{ color:var(--muted); font-size:14px; line-height:1.6; }

.info-box{ background: var(--navy); color:#fff; border-radius: var(--radius); padding:36px; }
.info-item{ margin-bottom:24px; }
.info-item .l{ font-family: var(--mono); font-size:11px; letter-spacing:.1em; color: var(--gold-light); text-transform:uppercase; margin-bottom:6px; }
.info-item .v{ font-size:16px; }
.map-block{ background: var(--navy-soft); border-radius: var(--radius-sm); height:130px; display:flex; align-items:center; justify-content:center; color:#AEB6CC; font-family:var(--mono); font-size:11px; letter-spacing:.1em; margin-top:8px; }

/* ============ app preview shell ============ */
.app-shell{ background: var(--offwhite); min-height: 70vh; }
.app-topbar{ background: var(--navy); color:#fff; padding:16px 32px; display:flex; justify-content:space-between; align-items:center; }
.app-body{ display:grid; grid-template-columns: 220px 1fr; }
.app-sidebar{ background: var(--navy-soft); min-height: calc(70vh - 60px); padding: 24px 14px; }
.app-sidebar a{ display:block; padding:12px 16px; border-radius:8px; color:#C9CEDA; font-size:14px; margin-bottom:4px; }
.app-sidebar a.active{ background: var(--navy); color: var(--gold-light); font-weight:600; }
.app-main{ padding: 34px 40px; }
.kpi-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin: 28px 0; }
.kpi-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm); padding:20px; }
.kpi-card .l{ font-family:var(--mono); font-size:10.5px; color:var(--muted); letter-spacing:.06em; text-transform:uppercase; }
.kpi-card .v{ font-family: var(--serif); font-size:28px; font-weight:700; margin-top:8px; }
.app-panels{ display:grid; grid-template-columns: 1.5fr 1fr; gap:20px; }
.panel{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:26px; }
.bar-row{ display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.bar-row .lab{ width:110px; font-size:13.5px; }
.bar-track{ flex:1; height:10px; background: var(--offwhite); border-radius:6px; overflow:hidden; }
.bar-fill{ height:100%; border-radius:6px; }
.panel-dark{ background: var(--navy); color:#fff; }
.panel-dark .big-num{ font-family: var(--serif); font-size:44px; font-weight:700; color: var(--gold-light); margin: 10px 0; }

/* ============ certificate ============ */
.cert-wrap{ display:flex; justify-content:center; padding: 60px 0; }
.certificate{ width: 560px; background:#fff; border-radius:6px; box-shadow: var(--shadow-lg); padding:6px; }
.certificate-inner{ border:1px solid var(--gold); border-radius:4px; padding: 46px 40px; text-align:center; }
.certificate .org{ font-family:var(--serif); font-size:22px; font-weight:700; color:var(--navy); }
.certificate .sub{ font-family:var(--mono); font-size:10px; letter-spacing:.14em; color:var(--muted); margin: 6px 0 26px; }
.certificate h2{ font-size:20px; margin-bottom:10px; }
.certificate .company{ color:var(--muted); font-size:13.5px; margin-bottom: 26px; }
.cert-badge{ width:150px; height:150px; border-radius:50%; background: var(--gold-soft); border:3px solid var(--gold); margin: 0 auto 18px; display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:44px; font-weight:700; color:var(--navy); }
.cert-score{ font-weight:700; font-size:14px; margin-bottom:20px; }
.esg-mini{ display:flex; justify-content:center; gap:10px; margin-bottom: 26px; }
.esg-mini div{ width:64px; padding:10px 0; border-radius:6px; color:#fff; font-size:11px; font-weight:700; }
.cert-meta{ font-size:11px; color:var(--muted); border-top:1px solid var(--line); padding-top:18px; }

/* ============ responsive ============ */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-visual{ min-height:320px; }
  .stats-grid, .compare, .example-grid, .audience-grid, .mission-split, .app-body, .app-panels{ grid-template-columns:1fr; }
  .card-grid, .pricing-grid, .ladder, .kpi-row{ grid-template-columns: 1fr 1fr; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .plan.featured{ transform:none; }
}
@media (max-width: 680px){
  .nav-links{ position:absolute; top:100%; left:0; right:0; background: var(--navy); flex-direction:column; padding:20px 32px; gap:16px; display:none; border-bottom:1px solid var(--navy-line); }
  .nav-links.show{ display:flex; }
  .nav-toggle{ display:block; }
  .nav-right .btn{ display:none; }
  .card-grid, .pricing-grid, .ladder, .kpi-row, .footer-top{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .field.half{ grid-column: 1/-1; }
  section{ padding: 64px 0; }
  .mission-left, .mission-right{ padding: 50px 28px; }
}
/* ============ pagina privacy: bottoni informative ============ */
.privacy-links{ display:flex; gap:24px; flex-wrap:wrap; margin:20px 0 40px; }
.privacy-btn{
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--navy); color:#fff; text-decoration:none;
  font-weight:700; font-size:14px; letter-spacing:.03em; text-transform:uppercase;
  padding:18px 28px; border-radius:8px;
  box-shadow:0 8px 18px -8px rgba(20,33,61,.4);
  transition:background .15s ease, transform .15s ease;
}
.privacy-btn:hover{ background:var(--navy-soft); transform:translateY(-1px); }
/* ============ pagina checklist fornitore rating (lead magnet) ============ */
.checklist-item{
  display:flex; gap:26px; align-items:flex-start;
  padding:28px 0; border-bottom:1px solid var(--line);
}
.checklist-item:last-child{ border-bottom:none; }
.checklist-num{
  font-family:var(--serif); font-weight:700; font-size:36px; color:var(--gold);
  flex-shrink:0; width:60px; line-height:1;
}
.checklist-item h3{ font-size:19px; margin-bottom:8px; color:var(--ink); }
.checklist-item p{ font-size:14.5px; line-height:1.7; color:var(--muted); margin:0; }
.checklist-item p a{ color:var(--slate); font-weight:600; }
/* ============ blog: indice e articoli ============ */
.blog-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; margin:20px 0 40px; }
@media (max-width:900px){ .blog-grid{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:600px){ .blog-grid{ grid-template-columns:1fr; } }
.blog-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:28px; display:flex; flex-direction:column; box-shadow:var(--shadow);
}
.blog-card .tag{ font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--gold); margin-bottom:12px; }
.blog-card h3{ font-size:19px; margin-bottom:10px; line-height:1.3; }
.blog-card p{ font-size:14px; color:var(--muted); line-height:1.6; margin-bottom:18px; flex-grow:1; }
.blog-card a.read-more{ font-size:13.5px; font-weight:700; color:var(--slate); text-decoration:none; }
.blog-card a.read-more:hover{ text-decoration:underline; }
 
.article-meta{ display:flex; gap:14px; align-items:center; color:var(--muted); font-size:13px; font-family:var(--mono); margin-bottom:8px; }
.article-body h2{ font-size:22px; margin:36px 0 14px; color:var(--ink); }
.article-body h2:first-child{ margin-top:0; }
.article-body p{ font-size:15.5px; line-height:1.8; color:var(--ink); margin-bottom:16px; }
.article-back{ display:inline-block; margin-top:8px; color:var(--slate); font-weight:600; font-size:14px; }
.pre-form{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:36px; box-shadow:var(--shadow); }
.pre-form h3{ font-size:18px; margin:36px 0 18px; color:var(--ink); border-bottom:2px solid var(--gold); padding-bottom:10px; }
.pre-form h3:first-child{ margin-top:0; }
.pre-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:8px; }
.pre-field label{ display:block; font-size:12.5px; font-weight:600; margin-bottom:6px; color:var(--ink); }
.pre-field input{ width:100%; padding:11px 14px; border:1px solid var(--line); border-radius:7px; font-size:14px; font-family:var(--sans); background:var(--offwhite); }
.pre-field input:focus{ outline:2px solid var(--gold-light); background:#fff; }
.req-mark{ color:#A33; font-weight:700; }

.doc-row{ border:1px solid var(--line); border-radius:var(--radius-sm); padding:16px 18px; margin-bottom:12px; background:#fff; }
.doc-row.missing-required{ border-color:#D98C86; background:#FBEAEA; }
.doc-row-label{ font-size:14px; color:var(--ink); margin-bottom:12px; line-height:1.5; }
.doc-row-label .req-mark{ margin-left:2px; }
.doc-row-status{ display:flex; gap:18px; flex-wrap:wrap; margin-bottom:10px; }
.doc-row-status label{ display:flex; align-items:center; gap:6px; font-size:13px; color:var(--muted); cursor:pointer; }
.doc-row-status input[type=radio]{ width:15px; height:15px; accent-color:var(--gold); }
.doc-row-upload{ display:none; }
.doc-row-upload.show{ display:block; }
.doc-row-upload input[type=file]{ font-size:12.5px; }
.doc-row-upload .file-name{ font-size:12.5px; color:var(--sage); margin-top:6px; }

.pre-submit{ text-align:center; margin-top:32px; }
.pre-error{ background:#FBEAEA; border:1px solid #E3B4B4; color:#A33; border-radius:8px; padding:12px 16px; font-size:13.5px; margin-bottom:20px; display:none; }
.pre-success{ text-align:center; padding:40px 10px; }
.pre-success .check{ width:60px; height:60px; border-radius:50%; background:var(--sage); display:flex; align-items:center; justify-content:center; margin:0 auto 22px; color:#fff; font-size:26px; }
.pre-form{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:36px; box-shadow:var(--shadow); }
.pre-form h3{ font-size:18px; margin:36px 0 18px; color:var(--ink); border-bottom:2px solid var(--gold); padding-bottom:10px; }
.pre-form h3:first-child{ margin-top:0; }
.pre-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:8px; }
.pre-field label{ display:block; font-size:12.5px; font-weight:600; margin-bottom:6px; color:var(--ink); }
.pre-field input, .pre-field select, .pre-field textarea{
  width:100%; padding:11px 14px; border:1px solid var(--line); border-radius:7px;
  font-size:14px; font-family:var(--sans); background:var(--offwhite); color:var(--ink);
}
.pre-field input:focus, .pre-field select:focus, .pre-field textarea:focus{ outline:2px solid var(--gold-light); background:#fff; }
.pre-field select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  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 1L6 6L11 1' stroke='%2362697A' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:36px;
  cursor:pointer;
}
.pre-field textarea{ resize:vertical; min-height:100px; }
.req-mark{ color:#A33; font-weight:700; }

.doc-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; margin-bottom:8px; }
@media (max-width:1100px){ .doc-grid{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:680px){ .doc-grid{ grid-template-columns:1fr; } }

.doc-row{ border:1px solid var(--line); border-radius:var(--radius-sm); padding:14px 16px; margin-bottom:0; background:#fff; }
.doc-row.missing-required{ border-color:#D98C86; background:#FBEAEA; }
.doc-row-label{ font-size:13.5px; color:var(--ink); margin-bottom:10px; line-height:1.45; min-height:38px; }
.doc-row-label .req-mark{ margin-left:2px; }
.doc-row-status{ display:flex; flex-direction:column; gap:6px; margin-bottom:8px; }
.doc-row-status label{ display:flex; align-items:center; gap:6px; font-size:12.5px; color:var(--muted); cursor:pointer; }
.doc-row-status input[type=radio]{ width:14px; height:14px; accent-color:var(--gold); flex-shrink:0; }
.doc-row-upload{ display:none; }
.doc-row-upload.show{ display:block; }
.doc-row-upload input[type=file]{ font-size:11.5px; max-width:100%; }
.doc-row-upload .file-name{ font-size:11.5px; color:var(--sage); margin-top:6px; word-break:break-word; }

.pre-submit{ text-align:center; margin-top:32px; }
.pre-error{ background:#FBEAEA; border:1px solid #E3B4B4; color:#A33; border-radius:8px; padding:12px 16px; font-size:13.5px; margin-bottom:20px; display:none; }
.pre-success{ text-align:center; padding:40px 10px; }
.pre-success .check{ width:60px; height:60px; border-radius:50%; background:var(--sage); display:flex; align-items:center; justify-content:center; margin:0 auto 22px; color:#fff; font-size:26px; }
/* ============ griglia a 3 colonne per Richiedi Preventivo ============ */
.pre-grid-3{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin-bottom:8px; }
@media (max-width:820px){ .pre-grid-3{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:560px){ .pre-grid-3{ grid-template-columns:1fr; } }
.field-hint{ font-size:11.5px; color:var(--muted); margin:6px 0 0; }
/* ============ ESG Insights: griglia card con fascia colorata ============ */
.insights-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; margin:20px 0 40px; }
@media (max-width:900px){ .insights-grid{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:600px){ .insights-grid{ grid-template-columns:1fr; } }

.insight-card{
  display:block; text-decoration:none; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  transition:transform .15s ease, box-shadow .15s ease;
}
.insight-card:hover{ transform:translateY(-3px); box-shadow:0 16px 30px -16px rgba(20,33,61,.3); }

.insight-stripe{
  height:110px; background:linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 55%, var(--gold) 130%);
  display:flex; align-items:flex-end; justify-content:space-between; padding:14px 18px;

}
.insight-stripe span{
  font-family:var(--mono); font-size:11px; font-weight:600; letter-spacing:.06em;
  text-transform:uppercase; color:#fff;
}
.insight-date{ font-family:var(--mono); font-size:10.5px; color:rgba(255,255,255,.75); font-weight:400; text-transform:none; letter-spacing:0; }
.insight-body{ padding:20px 22px 24px; }
.insight-body h3{ font-size:17px; line-height:1.35; color:var(--ink); margin-bottom:10px; }
.insight-body p{ font-size:13.5px; color:var(--muted); line-height:1.6; margin-bottom:16px; }
.insight-link{ font-size:13px; font-weight:700; color:var(--slate); }
.nav-socials{ display:flex; gap:8px; }
.nav-socials a{
  width:28px; height:28px; border-radius:50%; border:1px solid rgba(255,255,255,.3);
  display:flex; align-items:center; justify-content:center;
  color:#fff; text-decoration:none;
}
.nav-socials a:hover{ border-color:var(--gold-light); color:var(--gold-light); }
.nav-right .btn{ padding: 9px 16px; font-size: 13px; }
p{ text-align: justify; }
@media (max-width: 680px){
  .notarile-banner{ width:100%; max-width:320px; font-size:17px; padding:14px 18px; }
  p{ text-align: left; }
  .rating-badge{ width:240px; height:240px; }
  .rating-badge .grade{ font-size:54px; }
  .rating-badge img{ width:150px !important; }
  .scale-row{ flex-direction:column; align-items:flex-start; gap:14px; }
  .scale-row .grade{ width:auto; }
  .scale-row .threshold{ margin-left:0; padding-left:0; }
  .trust-row{ flex-direction:column; align-items:flex-start; }
  }
  /* ============ sezione di chiusura, prima del footer ============ */
.closing-cta{
  background: var(--navy); color:#fff; position:relative; overflow:hidden;
  padding:80px 0; text-align:center;
}
.closing-cta .diagonal-panel .cut{ width:26%; }
.closing-cta .inner{ position:relative; z-index:2; max-width:640px; margin:0 auto; padding:0 24px; }
.closing-cta .eyebrow{ display:block; margin-bottom:16px; }
.closing-cta h2{ font-family:var(--serif); font-size:clamp(28px,3.4vw,38px); color:#fff; margin-bottom:18px; }
.closing-cta p{ color:#C2C9DE; font-size:16px; line-height:1.6; margin-bottom:32px; }
.closing-cta .ctas{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.process-simple{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:44px; }
.process-simple .step-card{ text-align:left; }
.process-simple .num-circle{
  width:44px; height:44px; border-radius:50%; background:var(--navy); color:var(--gold-light);
  display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-weight:700;
  font-size:18px; margin-bottom:18px;
}
.process-simple h3{ font-size:18px; margin-bottom:10px; }
.process-simple p{ color:var(--muted); font-size:14.5px; line-height:1.6; }
.process-link{ display:inline-flex; align-items:center; gap:6px; margin-top:40px; color:var(--slate); font-weight:600; font-size:14.5px; text-decoration:none; }
@media (max-width:768px){ .process-simple{ grid-template-columns:1fr; } }
/* ============ home: a chi si rivolge ============ */
.who-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; margin-top:44px; }
.who-card{ padding:36px; border-radius:var(--radius); }
.who-card.light{ background:var(--offwhite); }
.who-card.dark{ background:var(--navy); color:#fff; }
.who-card h3{ font-size:20px; margin:12px 0 10px; }
.who-card.dark h3{ color:#fff; }
.who-card p{ font-size:14.5px; line-height:1.65; margin-bottom:18px; }
.who-card.light p{ color:var(--muted); }
.who-card.dark p{ color:#C2C9DE; }
.who-card a{ font-size:13.5px; font-weight:700; text-decoration:none; }
.who-card.light a{ color:var(--slate); }
.who-card.dark a{ color:var(--gold-light); }
@media (max-width:768px){ .who-grid{ grid-template-columns:1fr; } }
/* ============ home: ESG Insights - versione griglia statica ============ */
.insights-home-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; margin-top:44px; max-width:800px; }
.see-all-link{ display:inline-flex; align-items:center; gap:6px; margin-top:36px; color:var(--slate); font-weight:600; font-size:14.5px; text-decoration:none; }
@media (max-width:700px){ .insights-home-grid{ grid-template-columns:1fr; } }

/* ============ home: ESG Insights - versione carosello ============ */
.insights-carousel-wrap{ position:relative; margin-top:44px; }
.insights-carousel{
  display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding-bottom:8px; scrollbar-width:none;
}
.insights-carousel::-webkit-scrollbar{ display:none; }
.insights-carousel .insight-card{ flex:0 0 340px; scroll-snap-align:start; }
.carousel-arrow{
  position:absolute; top:45%; transform:translateY(-50%);
  width:42px; height:42px; border-radius:50%; background:#fff; border:1px solid var(--line);
  box-shadow:var(--shadow); display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:16px; color:var(--navy); z-index:2;
}
.carousel-arrow.prev{ left:-20px; }
.carousel-arrow.next{ right:-20px; }
@media (max-width:900px){ .carousel-arrow{ display:none; } }
/* ============ hero: invito a scorrere ============ */
.scroll-hint{
  position:absolute; bottom:22px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:6px; z-index:3;
}
.scroll-hint span{
  font-family:var(--mono); font-size:10.5px; letter-spacing:.08em;
  color:rgba(255,255,255,.55); text-transform:uppercase;
}
.scroll-hint svg{ animation: ore-scroll-bounce 1.8s ease-in-out infinite; }
@keyframes ore-scroll-bounce{
  0%, 100% { transform: translateY(0); opacity:.55; }
  50% { transform: translateY(7px); opacity:1; }
}
@media (max-width:768px){ .scroll-hint{ display:none; } }
/* ============ carosello post LinkedIn ============ 
.linkedin-carousel-wrap{ position:relative; margin-top:44px; }
.linkedin-carousel{
  display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding-bottom:8px; scrollbar-width:none;
}
.linkedin-carousel::-webkit-scrollbar{ display:none; }
.linkedin-post{ flex:0 0 340px; scroll-snap-align:start; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); background:#fff; }
.linkedin-post iframe{ display:block; width:100%; border:none; } */
/* ============ carosello post LinkedIn ============ */

.linkedin-carousel-wrap{
  position: relative;
  margin-top: 44px;
  width: 100%;
}

/* Contenitore dei post */
.linkedin-carousel{
  display: flex;
  gap: 24px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  padding-bottom: 8px;

  scrollbar-width: none;

  /* evita che le card si stirino in altezza */
  align-items: flex-start;
}

/* Nasconde scrollbar Chrome / Edge / Safari */
.linkedin-carousel::-webkit-scrollbar{
  display: none;
}

/* Singolo post */
.linkedin-post{
  flex: 0 0 calc((100% - 48px) / 3);

  min-width: 0;

  scroll-snap-align: start;

  border-radius: var(--radius);

  overflow: hidden;

  box-shadow: var(--shadow);

  background: #fff;

  align-self: flex-start;
}

/* iframe LinkedIn */
.linkedin-post iframe{
  display: block;

  width: 100% !important;
  max-width: 100% !important;

  height: 620px !important;

  border: none;
}


/* ============ FRECCE CAROSELLO ============ */

.linkedin-arrow{
  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  z-index: 10;

  width: 42px;
  height: 42px;

  border: 1px solid #ddd;

  border-radius: 50%;

  background: #fff;

  font-size: 20px;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow: 0 2px 8px rgba(0,0,0,.12);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

/* Freccia sinistra */
.linkedin-prev{
  left: -20px;
}

/* Freccia destra */
.linkedin-next{
  right: -20px;
}

/* Effetto hover */
.linkedin-arrow:hover{
  transform: translateY(-50%) scale(1.06);

  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}


/* ============ TABLET ============ */

@media (max-width: 900px){

  .linkedin-post{
    flex: 0 0 calc((100% - 24px) / 2);
  }

}


/* ============ SMARTPHONE ============ */

@media (max-width: 600px){

  .linkedin-post{
    flex: 0 0 100%;
  }

  .linkedin-post iframe{
    height: 650px !important;
  }

  .linkedin-prev{
    left: 5px;
  }

  .linkedin-next{
    right: 5px;
  }

  .linkedin-arrow{
    width: 38px;
    height: 38px;

    font-size: 18px;
  }

}