/* =========================================================================
   Automation Tech — Proposta B (si carica DOPO main.css)
   Direzione: industriale/editoriale, ripresa dalla presentazione aziendale.
   Pagina bianca, card grafite e ardesia, accento ambra, titoli Barlow Condensed maiuscoli,
   angoli vivi. Solo override di token e componenti specifici della variante.
   ========================================================================= */

@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

.theme-b {
  --bg: #ffffff;
  --bg-2: #f4f3f0;
  --surface: #ffffff;
  --surface-2: #f8f7f5;
  --line: rgba(22, 24, 28, 0.1);
  --line-strong: rgba(22, 24, 28, 0.2);
  --text: #16181c;
  --muted: #555c66;
  --dim: #737a85;
  --accent: #f07c1a;
  --accent-hi: #ff8f2e;
  --accent-2: #a84f06;
  --accent-soft: rgba(240, 124, 26, 0.12);
  --hover-bg: rgba(22, 24, 28, 0.05);

  --navy-1: #2a2e35;      /* grafite */
  --navy-2: #16181c;
  --blue-1: #34414e;      /* ardesia */
  --blue-2: #1c242d;
  --graphite-1: #3a3530;  /* grafite calda */
  --graphite-2: #1d1a17;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', system-ui, sans-serif;
  --radius: 6px;
  --radius-sm: 4px;
  --header-h: 84px;
  --shadow: 0 30px 60px -32px rgba(22, 24, 28, 0.45);
  --shadow-card: 0 20px 40px -26px rgba(22, 24, 28, 0.55);
}

/* Superfici scure della variante */
.theme-b .card, .theme-b .cert, .theme-b .news-feature, .theme-b .plate, .theme-b .specs, .theme-b .stats,
.theme-b .service-row, .theme-b .info-card, .theme-b .site-footer, .theme-b .page-hero--image,
.theme-b .cycle__detail, .theme-b .area-row, .theme-b .dt-band, .theme-b .topbar, .theme-b .norms {
  --bg: #16181c;
  --bg-2: #1d2025;
  --surface: #1f2228;
  --surface-2: #272b32;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f3f1ee;
  --muted: #c3c6cc;
  --dim: #949aa3;
  --accent-2: #ffab5e;
  --accent-soft: rgba(255, 171, 94, 0.14);
  --ghost-bg: rgba(255, 255, 255, 0.06);
  --hover-bg: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

/* ---------- Tipografia ---------- */
.theme-b h1, .theme-b h2, .theme-b h3, .theme-b .card__title, .theme-b .cert__code {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.005em; line-height: 1.02;
}
.theme-b h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.theme-b h3 { font-size: 1.35rem; }
.theme-b .card__title { font-size: 1.5rem; }
.theme-b .eyebrow { font: 600 0.95rem/1 var(--font-display); letter-spacing: 0.16em; color: var(--accent-2); }
.theme-b .eyebrow::before { width: 10px; height: 10px; background: var(--accent); opacity: 1; }
.theme-b .h-sm { font: 700 1.2rem var(--font-display); letter-spacing: 0.1em; color: var(--text); }
/* h2 "di servizio" che non devono ereditare la dimensione dei titoli di sezione */
.theme-b .site-footer__title, .theme-b .info-card__label { font: 600 0.88rem/1.3 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.theme-b .prose h2 { font-size: 1.6rem; }
.theme-b .form-panel > h2, .theme-b .specs h2 { font-size: 2rem; }
.theme-b .news-feature h2, .theme-b .service-row h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.theme-b .lead, .theme-b .section-head__lead { font-size: 1.15rem; }
.theme-b .display { font-size: clamp(3rem, 7vw, 5.4rem); }

/* ---------- Pulsanti e accenti ---------- */
.theme-b .btn { border-radius: var(--radius-sm); font: 600 1rem/1.2 var(--font-body); letter-spacing: 0.01em; }
.theme-b .btn--primary { color: #16181c; box-shadow: 0 12px 28px -12px rgba(240, 124, 26, 0.8); }
.theme-b .btn--primary:hover { color: #16181c; box-shadow: 0 16px 34px -12px rgba(240, 124, 26, 0.9); }
.theme-b .btn--dark { --btn-bg: #16181c; border-color: #16181c; color: #fff; }
.theme-b .btn--dark:hover { --btn-bg: #2a2e35; color: #fff; }
.theme-b .card__icon { border-radius: var(--radius-sm); border-color: rgba(255, 171, 94, 0.35); }
.theme-b .card--spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(240, 124, 26, 0.2), transparent 45%); }
.theme-b a.card:hover { border-color: rgba(255, 171, 94, 0.5); }
.theme-b .cert::after { background: linear-gradient(90deg, var(--accent), transparent); height: 3px; }
.theme-b .chip { border-radius: var(--radius-sm); font-weight: 500; }
.theme-b .field input:focus, .theme-b .field textarea:focus { box-shadow: 0 0 0 3px rgba(240, 124, 26, 0.25); }
.theme-b .video__play { box-shadow: 0 0 0 10px rgba(240, 124, 26, 0.3); }
.theme-b .video__play svg { color: #16181c; }
.theme-b .link-card { border-radius: var(--radius); }

/* ---------- Barra contatti + header ---------- */
.topbar { background: var(--bg); font-size: 0.86rem; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 38px; }
.topbar__item, .topbar__lang { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; }
.topbar__item svg, .topbar__lang svg { width: 15px; height: 15px; color: var(--accent-2); }
.topbar a:hover { color: #fff; }
.topbar__lang { margin-left: auto; }
.theme-b .site-header { background: #fff; border-bottom-color: var(--line); }
.theme-b .site-header.is-scrolled { background: rgba(255, 255, 255, 0.94); }
.theme-b .brand img { width: 44px; height: 44px; }
.theme-b .brand__text { display: flex; flex-direction: column; gap: 4px; font: 700 1.45rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; }
.theme-b .brand__text small { font: 500 0.68rem/1 var(--font-body); letter-spacing: 0.04em; text-transform: none; color: var(--dim); }
.theme-b .main-nav ul a { font: 600 1.02rem var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.theme-b .main-nav ul a[aria-current='page'] { color: var(--text); }
.theme-b .main-nav ul a[aria-current='page']::after { height: 3px; border-radius: 0; background: var(--accent); }
@media (max-width: 1179px) {
  .topbar { display: none; }
  .theme-b .main-nav ul a { font: 700 1.7rem/1.2 var(--font-display); color: var(--text); }
  .theme-b .brand__text small { display: none; }
}

/* ---------- Hero B ---------- */
.hero-b { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.hero-b::before { content: ''; position: absolute; inset: 0 0 0 58%; background: var(--bg-2); z-index: -1; }
.hero-b__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-b__title { font-size: clamp(2.8rem, 6.4vw, 5.8rem); line-height: 0.96; margin-bottom: 28px; }
.hero-b__line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-b__line > span { display: inline-block; }
.hero-b__line:nth-child(2) > span { color: var(--accent); }
.hero-b__lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 36em; margin-bottom: 36px; }
.hero-b__media { position: relative; margin: 0; }
.hero-b__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; clip-path: polygon(0 0, 100% 0, 100% 88%, 86% 100%, 0 100%); box-shadow: var(--shadow); }
.hero-b__media figcaption { position: absolute; left: -1px; bottom: 28px; }
.hero-b__media figcaption a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: #16181c; color: #fff; font: 600 0.95rem var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; }
.hero-b__media figcaption a svg { width: 16px; height: 16px; color: var(--accent); }
.hero-b__bracket { position: absolute; top: -16px; right: -16px; width: 96px; height: 96px; border-top: 4px solid var(--accent); border-right: 4px solid var(--accent); }
.motion [data-hero-line] > span { transform: translateY(105%); }
.motion [data-hero-media], .motion .hero-b__bracket { opacity: 0; }
.net__hub, .net__node { transform-box: fill-box; transform-origin: center; }
@media (max-width: 900px) {
  .hero-b::before { inset: 55% 0 0 0; }
  .hero-b__inner { grid-template-columns: 1fr; }
  .hero-b__media img { aspect-ratio: 3 / 2; }
  .hero-b__bracket { top: -10px; right: -6px; width: 64px; height: 64px; }
}

/* ---------- Striscia norme ---------- */
.norms { background: var(--bg); overflow: hidden; border-block: 1px solid #000; }
.norms__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.norms__group { display: flex; }
.norms__group li { display: flex; align-items: center; gap: 28px; padding: 18px 0 18px 28px; font: 600 1.15rem var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text); white-space: nowrap; }
.norms__group li::after { content: ''; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }

/* ---------- Ciclo dei servizi ---------- */
.cycle__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cycle__wheel { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-inline: auto; }
.cycle__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cycle__track { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 3 7; }
.cycle__progress { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; }
.cycle__inner { fill: var(--bg-2); stroke: var(--line); }
.cycle__center { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 44%; display: grid; justify-items: center; gap: 10px; text-align: center; font: 600 0.95rem/1.15 var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.cycle__center img { width: 64px; height: 64px; }
.cycle__node {
  position: absolute; translate: -50% -50%; width: 64px; height: 64px; padding: 0;
  display: grid; place-items: center; border-radius: 50%;
  border: 2px solid #16181c; background: #fff; color: #16181c; cursor: pointer;
  font: 700 1.3rem var(--font-display);
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.cycle__node:hover { transform: scale(1.08); }
.cycle__node[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 8px rgba(240, 124, 26, 0.2); }
.cycle__detail { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: linear-gradient(160deg, var(--navy-1), var(--navy-2)); box-shadow: var(--shadow); }
.cycle__panel-n { font: 700 3.2rem/1 var(--font-display); color: var(--accent); }
.cycle__panel h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 12px 0 14px; }
.cycle__panel p { color: var(--muted); font-size: 1.12rem; min-height: 4.8em; }
.cycle__list { display: grid; gap: 2px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.cycle__list button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 10px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--muted); text-align: left; cursor: pointer; font: 600 1rem var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; }
.cycle__list button span { color: var(--dim); min-width: 24px; }
.cycle__list button:hover { background: var(--hover-bg); color: var(--text); }
.cycle__list button[aria-pressed='true'] { color: var(--text); background: var(--hover-bg); }
.cycle__list button[aria-pressed='true'] span { color: var(--accent-2); }
@media (max-width: 900px) {
  .cycle__layout { grid-template-columns: 1fr; }
  .cycle__node { width: 46px; height: 46px; font-size: 1.05rem; }
  .cycle__center { font-size: 0.78rem; }
  .cycle__center img { width: 44px; height: 44px; }
}

/* ---------- Aree di competenza ---------- */
.section--alt { background: var(--bg-2); }
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area { min-height: 330px; padding-top: 32px; }
.areas .area:nth-child(2), .areas .area:nth-child(4) { --card-1: var(--blue-1); --card-2: var(--blue-2); }
.area__n { position: absolute; top: 18px; right: 22px; font: 700 3.4rem/1 var(--font-display); color: var(--accent); opacity: 0.9; }
.area .card__text { margin-bottom: 24px; }
.area__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font: 600 0.95rem var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; }
.area__more svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.area:hover .area__more svg { transform: translateX(4px); }
.team-grid .area__n { position: static; display: block; font-size: 2.4rem; margin-bottom: 18px; }
@media (max-width: 1000px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } .area { min-height: 0; } }

/* ---------- Rete di imprese ---------- */
.net-teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.net-teaser .lead { margin-bottom: 32px; }
.net-teaser--slim { grid-template-columns: 1fr auto; align-items: end; }
.net-teaser--slim .lead { margin: 0; }
.net-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 900px) { .net-teaser, .net-teaser--slim, .net-intro { grid-template-columns: 1fr; } }

.net-diagram { margin: 0; }
.net-diagram svg { width: 100%; height: auto; overflow: visible; }
.net__orbit { fill: none; stroke: var(--line-strong); stroke-dasharray: 3 7; }
.net__orbit--outer { stroke: var(--line); }
.net__link { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.net__link--group { stroke: #16181c; stroke-width: 2; }
.net__node circle { stroke-width: 3; }
.net__node--group circle { fill: var(--accent); stroke: #16181c; }
.net__node--partner circle { fill: #fff; stroke: #16181c; }
.net__node text { font: 700 15px var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; fill: var(--text); }
.net__node--partner text { font-weight: 600; fill: var(--muted); }
.net__hub circle { fill: #16181c; stroke: var(--accent); stroke-width: 4; }
.net-diagram__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 12px; font: 600 0.9rem var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.net-diagram__legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #16181c; }
.dot--group { background: var(--accent); }
.dot--partner { background: #fff; }
.net-diagram--compact .net__node text { font-size: 17px; }

.steps-b { display: grid; gap: 22px; margin-top: 28px; }
.steps-b li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.steps-b li > span { font: 700 2rem/1 var(--font-display); color: var(--accent); }
.steps-b h3 { margin-bottom: 6px; }
.steps-b p { color: var(--muted); margin: 0; }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner-card { padding: 28px 24px; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius-sm); background: #fff; }
.partner-card .card__icon { background: var(--accent-soft); color: var(--accent-2); border-color: rgba(240, 124, 26, 0.3); }
.partner-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.partner-card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
@media (max-width: 1000px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .partner-grid { grid-template-columns: 1fr; } }

/* ---------- Banda Drilling Tech ---------- */
.dt-band { position: relative; isolation: isolate; padding-block: var(--section); background: var(--bg); overflow: hidden; }
.dt-band__bg { position: absolute; inset: 0; z-index: -1; }
.dt-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.dt-band__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #16181c 30%, rgba(22, 24, 28, 0.55) 100%); }
.dt-band__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.dt-band__copy .lead { margin-bottom: 32px; }
.dt-band__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dt-band__stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 26px 24px; background: rgba(22, 24, 28, 0.85); }
.dt-band__stats dt { color: var(--muted); font-size: 0.95rem; }
.dt-band__stats dd { margin: 0; white-space: nowrap; font: 700 clamp(1.8rem, 3.2vw, 2.8rem)/1 var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.dt-band__stats small { font: 600 1rem var(--font-display); color: var(--text); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 900px) { .dt-band__inner { grid-template-columns: 1fr; } }

/* ---------- Organico e certificazioni ---------- */
.team-certs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.team-certs h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 28px; }
.roles li { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font: 600 1.15rem var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; }
.roles li span { color: var(--accent-2); font-size: 0.95rem; }
.cert-list { margin-top: 28px; border-top: 3px solid #16181c; }
.cert-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cert-list strong { font: 700 1.5rem/1.1 var(--font-display); text-transform: uppercase; }
.cert-list span { grid-column: 1; color: var(--muted); }
.cert-list em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 600 0.85rem var(--font-display); font-style: normal; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-2); }
.theme-b .team-certs .split__media img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .team-certs { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } }

/* ---------- Servizi (aree dettagliate) ---------- */
.area-list { display: grid; gap: 20px; }
.area-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: linear-gradient(160deg, var(--card-1, var(--navy-1)), var(--card-2, var(--navy-2))); box-shadow: var(--shadow-card); }
.area-row:nth-child(even) { --card-1: var(--blue-1); --card-2: var(--blue-2); }
.area-row__head { display: grid; align-content: start; gap: 12px; }
.area-row__n { font: 700 4rem/0.9 var(--font-display); color: var(--accent); }
.area-row__head .card__icon { margin: 0; }
.area-row__head h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 4px 0 0; }
.area-row__head p { color: var(--muted); margin: 0; }
.area-row__items { display: grid; gap: 14px; align-content: center; }
.area-row__items li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 1.05rem; }
.area-row__items svg { width: 20px; height: 20px; color: var(--accent-2); margin-top: 3px; }
@media (max-width: 800px) { .area-row { grid-template-columns: 1fr; } }

/* ---------- Hero pagine interne ---------- */
.theme-b .page-hero::before { background: radial-gradient(closest-side, rgba(240, 124, 26, 0.1), transparent); }
.theme-b .page-hero { border-bottom: 0; background: linear-gradient(90deg, var(--bg) 60%, var(--bg-2) 60%); }
.theme-b .page-hero--image { background: var(--bg); }
.theme-b .page-hero__title { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.98; }
.theme-b .page-hero__lead { font-size: 1.2rem; }

/* ---------- CTA ambra ---------- */
.theme-b .cta-band__box {
  --text: #16181c; --muted: #3f2c17; --ghost-bg: rgba(255, 255, 255, 0.35); --line-strong: rgba(22, 24, 28, 0.3);
  color: var(--text); border: 0; border-radius: var(--radius);
  background: linear-gradient(120deg, #f7a04d, #f07c1a 60%, #e0660a);
  box-shadow: 0 30px 60px -30px rgba(224, 102, 10, 0.6);
}
.theme-b .cta-band__box::before { background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.25), transparent 50%); }
.theme-b .cta-band__box .btn--primary { --btn-bg: #16181c; border-color: #16181c; color: #fff; box-shadow: none; }
.theme-b .cta-band__box .btn--primary:hover { --btn-bg: #2a2e35; color: #fff; }
.theme-b .cta-band h2 { max-width: 20ch; }

/* ---------- Footer ---------- */
.theme-b .site-footer { background: #16181c; padding-top: 56px; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 40px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.site-footer__claim { margin: 0; font: 700 clamp(1.8rem, 3.4vw, 2.8rem)/1 var(--font-display); text-transform: uppercase; }
.theme-b .site-footer__brand .brand__text { font-size: 1.5rem; }

/* ---------- Riduzione movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .norms__track { animation: none; width: auto; flex-wrap: wrap; }
  .norms__group[aria-hidden='true'] { display: none; }
  .norms__group { flex-wrap: wrap; justify-content: center; }
}
