/* ============================================================
   FISIT S.r.l. — Stylesheet condiviso
   Stile: invariato rispetto al sito attuale
   Struttura: multi-pagina ispirata a BZM Advisory
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@600;700&family=Inter:wght@400;500;600;700;800&display=swap');

/* ---- Variabili ---- */
:root {
  --primary:     #1a5fb4;
  --secondary:   #1A2F5E;
  --accent-red:  #d90429;
  --white:       #ffffff;
  --text-main:   #1e293b;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --bg-light:    #f8fafc;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Utilità ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 72px 0; }
.section-padding-sm { padding: 48px 0; }

/* ---- Barra rossa superiore ---- */
.red-bar {
  height: 4px;
  background: var(--accent-red);
  width: 100%;
  border: none;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  position: absolute;
  top: 4px; left: 0; right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(13, 31, 60, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
header.static-header {
  position: relative;
  top: 0;
  background: var(--secondary);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
}
.logo span { color: var(--accent-red); }

.hamburger { display: none; }
.mobile-nav { display: none; }

@media (min-width: 993px) {
  .hamburger { display: none !important; }
  .mobile-nav { display: none !important; }
  nav.main-nav { display: flex !important; }
}

nav.main-nav { display: flex; gap: 20px; align-items: center; flex-shrink: 0; }
nav.main-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.8;
  transition: opacity 0.2s;
  white-space: nowrap;
}
nav.main-nav a:hover,
nav.main-nav a.active { opacity: 1; }

.btn-nav {
  padding: 10px 20px;
  font-weight: 700;
  font-size: 11px;
  color: #fff !important;
  background: var(--accent-red);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 1 !important;
  transition: background 0.2s;
}
.btn-nav:hover { background: #b5021f; }

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-red); }
.breadcrumb span.sep { margin: 0 8px; }

/* ============================================================
   HERO — homepage
   ============================================================ */
.hero {
  position: relative;
  padding: 150px 0 90px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(13,31,60,0.92) 45%, rgba(13,31,60,0.4) 100%),
    url('immagini/uffici.webp') center/cover no-repeat;
  color: #fff;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 25px;
}
.hero p.hero-sub {
  font-size: 1.15rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 560px;
}
/* Bottone rosso pieno — testo sempre bianco, mai ereditato */
.btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--accent-red);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-primary:hover { background: #b5021f; color: #fff !important; }

/* Bottone outline su sfondo SCURO (hero, cta-strip, portale-box) */
.btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: border-color 0.2s;
  text-decoration: none;
}
.btn-outline:hover { border-color: #fff; color: #fff !important; }

/* Bottone outline su sfondo CHIARO (pagine legali, 404, sezioni bianche) */
.btn-outline-light {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--border);
  color: var(--text-main) !important;
  font-weight: 700;
  font-size: 13px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-outline-light:hover { border-color: var(--accent-red); color: var(--accent-red) !important; }

/* ============================================================
   PAGE HERO — pagine interne
   ============================================================ */
.page-hero {
  background: var(--secondary);
  padding: 64px 0 48px;
  color: #fff;
  border-bottom: 4px solid var(--accent-red);
}
.page-hero .label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-red);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.05rem;
  opacity: 0.75;
  max-width: 600px;
}

/* ============================================================
   SEZIONI GENERICHE
   ============================================================ */
.section-title-wrap {
  margin-bottom: 36px;
  border-left: 6px solid var(--accent-red);
  padding-left: 25px;
}
.section-title-wrap h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
  margin-bottom: 8px;
}
.section-title-wrap .section-label {
  color: var(--accent-red);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}
.section-title-wrap p:not(.section-label) {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   GRIGLIA SERVIZI
   ============================================================ */
.grid-servizi {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.card-servizio {
  background: #fff;
  padding: 40px;
  border: 1px solid var(--border);
  border-bottom: 4px solid var(--border);
  transition: 0.3s;
}
.card-servizio:hover {
  border-bottom-color: var(--accent-red);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.07);
}
.card-servizio .card-icon {
  font-size: 28px;
  margin-bottom: 16px;
  opacity: 0.75;
}
.card-servizio h3 {
  font-size: 17px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.card-servizio p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}
.card-servizio .read-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-red);
  transition: gap 0.2s;
}
.card-servizio .read-more::after { content: ' →'; }

/* Servizio full (pagina servizi) */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 8px;
}
.service-detail h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.service-detail p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
}
.service-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  flex-shrink: 0;
}
.service-visual {
  background: var(--secondary);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(217,4,41,0.15) 100%);
}
.service-visual .big-num {
  position: absolute;
  top: -10px; right: 20px;
  font-size: 100px;
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}
.service-visual blockquote {
  position: relative;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  border-left: 3px solid var(--accent-red);
  padding-left: 20px;
}

/* ============================================================
   STRIP STATISTICHE
   ============================================================ */
.stats-strip {
  background: var(--secondary);
  padding: 44px 0;
  border-top: 4px solid var(--accent-red);
  border-bottom: 4px solid var(--accent-red);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-num span { color: var(--accent-red); }
.stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

/* ============================================================
   VALORI
   ============================================================ */
.valori-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 24px;
}
.valore-item {
  background: #fff;
  padding: 36px 30px;
  transition: background 0.2s;
}
.valore-item:hover { background: var(--bg-light); }
.valore-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}
.valore-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.valore-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   SETTORI
   ============================================================ */
.settori-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 24px;
}
.settore-item {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.settore-item:hover { background: var(--bg-light); }
.settore-icon { font-size: 24px; margin-bottom: 6px; }
.settore-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.team-card {
  border: 1px solid var(--border);
  padding: 36px 28px;
  border-bottom: 4px solid var(--border);
  transition: 0.3s;
}
.team-card:hover {
  border-bottom-color: var(--accent-red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.team-avatar {
  width: 60px; height: 60px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.team-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 4px;
}
.team-role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-red);
  margin-bottom: 12px;
}
.team-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  border: 1px solid var(--border);
}
.insight-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.insight-row:last-child { border-bottom: none; }
.insight-row:hover { background: var(--bg-light); }
.insight-date {
  background: var(--secondary);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.insight-date .year {
  font-size: 22px;
  font-weight: 800;
  color: rgba(255,255,255,0.25);
  line-height: 1;
}
.insight-date .tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-red);
  margin-top: 6px;
}
.insight-body { padding: 18px 24px; }
.insight-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.4;
}
.insight-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   CONTATTI / FORM
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-info-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:first-child { border-top: 1px solid var(--border); }
.contact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-red);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.5;
}
.portale-box {
  margin-top: 30px;
  background: var(--secondary);
  padding: 28px;
  border-left: 4px solid var(--accent-red);
}
.portale-box .portale-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-red);
  margin-bottom: 8px;
}
.portale-box p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--text-main);
  outline: none;
  border-radius: 4px;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent-red); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--accent-red);
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.form-check a { color: var(--accent-red); }
#formSuccess {
  display: none;
  padding: 24px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #22c55e;
  border-radius: 4px;
}
#formSuccess h4 { color: #15803d; margin-bottom: 6px; font-size: 15px; }
#formSuccess p { color: #166534; font-size: 14px; }

/* ============================================================
   QUOTE STRIP
   ============================================================ */
.quote-strip {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
}
.quote-strip blockquote {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--secondary);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.5;
}
.quote-strip blockquote::before { content: '"'; color: var(--accent-red); font-size: 3em; line-height: 0; vertical-align: -0.4em; margin-right: 6px; }
.quote-strip cite {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-style: normal;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--secondary);
  padding: 52px 0;
  border-top: 4px solid var(--accent-red);
}
.cta-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.cta-strip p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  max-width: 500px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--secondary);
  color: #fff;
  padding: 56px 0 32px;
  border-top: 4px solid var(--accent-red);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.footer-brand span { color: var(--accent-red); }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-red);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   LAYOUT CLASSES — griglie riutilizzabili nelle pagine
   Usare queste classi negli HTML invece di stili inline
   ============================================================ */

/* 2 colonne uguali */
.layout-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
/* 2 colonne uguali centrate verticalmente */
.layout-2col-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
/* colonna testo + colonna sidebar fissa */
.layout-main-aside {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
/* casi studio: corpo + sidebar stretta */
.layout-case {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
/* intro casi studio */
.layout-cases-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .grid-servizi       { grid-template-columns: repeat(2, 1fr); }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .valori-grid        { grid-template-columns: repeat(2, 1fr); }
  .settori-grid       { grid-template-columns: repeat(2, 1fr); }
  .team-grid          { grid-template-columns: repeat(2, 1fr); }
  .service-detail     { grid-template-columns: 1fr; gap: 30px; }
  .service-detail.reverse { direction: ltr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 30px; }
  .contact-layout     { grid-template-columns: 1fr; gap: 40px; }

  .layout-2col,
  .layout-2col-center,
  .layout-main-aside,
  .layout-cases-intro { grid-template-columns: 1fr; gap: 36px; }

  .layout-case        { grid-template-columns: 1fr; gap: 32px; }

  /* casi studio accordion */
  .case-header        { grid-template-columns: 56px 1fr auto; padding: 24px 20px; gap: 16px; }
  .case-num-badge     { font-size: 30px; }
  .case-body-inner    { grid-template-columns: 1fr; padding: 28px 20px 40px; }
  .case-kpi-row       { grid-template-columns: repeat(2, 1fr); }
  .cases-stats-grid   { grid-template-columns: repeat(2, 1fr); }

  /* Nav: nasconde menu desktop, mostra hamburger */
  nav.main-nav        { display: none !important; }
  .btn-nav            { display: none !important; }

  /* Hamburger button */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
  }
  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile nav drawer */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--secondary);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .mobile-nav.open { display: flex !important; }
  .mobile-nav a {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.3px;
  }
  .mobile-nav a:hover { color: var(--accent-red); }
  .mobile-nav-close {
    position: absolute;
    top: 24px; right: 24px;
    font-size: 28px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
  }

  /* Hero buttons — colonna con gap su mobile */
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hero-btns a { margin-left: 0 !important; }
  .section-padding    { padding: 48px 0; }
  .section-padding-sm { padding: 32px 0; }
  .hero               { padding-top: 120px; min-height: 55vh; }

  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .valori-grid        { grid-template-columns: 1fr; }
  .settori-grid       { grid-template-columns: repeat(2, 1fr); }
  .team-grid          { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr; gap: 30px; }
  .cta-strip-inner    { flex-direction: column; align-items: flex-start; }

  .layout-2col,
  .layout-2col-center,
  .layout-main-aside,
  .layout-case,
  .layout-cases-intro { grid-template-columns: 1fr; gap: 28px; }

  .case-sidebar       { position: static; }
}

@media (max-width: 600px) {
  .grid-servizi       { grid-template-columns: 1fr; }
  .settori-grid       { grid-template-columns: 1fr 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .insight-row        { grid-template-columns: 1fr; }
  .insight-date       { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 16px 20px; }
  .case-header        { grid-template-columns: 1fr auto; }
  .case-num-badge     { display: none; }
  .case-kpi-row       { grid-template-columns: repeat(2, 1fr); }
}
