/* =========================================================
   Luigi Santelli S.r.l. — Caseificio & forniture HORECA, Roma
   Concept: B2B bold / vetrina professionale HORECA
   Dark, alto contrasto, quasi industriale.
   ========================================================= */

:root {
  --ink:        #111111;   /* quasi-nero */
  --ink-2:      #181818;
  --ink-3:      #1f1f1f;
  --red:        #E4231B;   /* rosso segnale */
  --red-hover:  #ff3b31;
  --paper:      #f4f2ee;   /* bianco caldo */
  --white:      #ffffff;
  --cement:     #8a8a86;   /* grigio cemento */
  --cement-2:   #56565a;
  --line:       rgba(255, 255, 255, 0.14);
  --line-dark:  rgba(17, 17, 17, 0.12);

  --font-title: "Archivo Expanded", "Archivo", system-ui, sans-serif;
  --font-body:  "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:  "Archivo", system-ui, sans-serif;

  --container: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  font-size: clamp(15px, 1.05vw, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--red); color: var(--white); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(72px, 11vw, 150px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cement);
}
.eyebrow-red { color: var(--red); }

/* Accessibility */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  background: var(--red);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(17, 17, 17, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
}
.brand-mark { width: 38px; height: 38px; color: var(--red); }
.brand-word {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-accent { color: var(--red); }

.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
}
.nav-list a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  position: relative;
  padding-block: 6px;
  transition: color 0.2s var(--ease);
}
.nav-list a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-list a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius);
  transition: background 0.2s var(--ease);
}
.nav-cta:hover { background: var(--red-hover); }

/* burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  padding: 8px;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-hover); }

.btn-ghost { color: var(--paper); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(255,255,255,0.06); }

.btn-outline { color: var(--paper); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }

.btn-block { width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(70px, 10vh, 120px);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transform: scale(1.12);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17,17,17,0.55) 0%, rgba(17,17,17,0.25) 35%, rgba(17,17,17,0.94) 100%),
    linear-gradient(90deg, rgba(17,17,17,0.7) 0%, rgba(17,17,17,0.1) 60%);
}
.hero-content { position: relative; z-index: 2; }

.hero-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.7rem, 8.2vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 18px 0 26px;
}
.hero-title .line { display: block; }
.hero-title em {
  font-style: normal;
  color: var(--red);
}
.hero-sub {
  max-width: 54ch;
  color: rgba(244,242,238,0.82);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-index {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding-inline: var(--pad);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cement);
}
.scroll-cue em {
  font-style: normal;
  display: inline-block;
  animation: bob 1.8s var(--ease) infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* =========================================================
   MARQUEE cinetica
   ========================================================= */
.marquee {
  background: var(--red);
  color: var(--white);
  padding-block: 16px;
  overflow: hidden;
  border-block: 2px solid var(--ink);
}
.marquee-row {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(1.3rem, 3.2vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  animation: marquee-l 34s linear infinite;
}
.marquee-row i { font-style: normal; font-size: 0.6em; opacity: 0.85; }
.marquee-alt {
  animation-name: marquee-r;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--white);
  margin-top: 6px;
  animation-duration: 42s;
}
@keyframes marquee-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* =========================================================
   SHOWCASE — scroll orizzontale pinnato
   ========================================================= */
.showcase {
  position: relative;
  background: var(--ink);
}
.showcase-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.showcase-track {
  display: flex;
  align-items: stretch;
  gap: clamp(20px, 3vw, 40px);
  padding-inline: var(--pad);
  height: min(78vh, 640px);
  will-change: transform;
}

.panel {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
}

/* intro panel */
.panel-intro {
  width: min(90vw, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(20px, 4vw, 60px);
}
.panel-intro h2 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 16px 0 22px;
}
.panel-intro h2 em { font-style: normal; color: var(--red); }
.panel-lead { color: rgba(244,242,238,0.78); max-width: 42ch; }
.panel-hint {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.panel-hint em { font-style: normal; display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* product card panels */
.panel-card {
  width: min(84vw, 440px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.panel-media {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  min-height: 0;
}
.panel-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.panel-card:hover .panel-media img { transform: scale(1.06); }
.panel-num {
  position: absolute;
  top: 14px; left: 16px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1rem;
  color: var(--white);
  background: var(--red);
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.panel-body { padding: 22px 24px 26px; }
.panel-body h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.panel-body p { color: rgba(244,242,238,0.72); font-size: 0.96rem; }

/* feature panel */
.panel-feature {
  width: min(86vw, 480px);
  background: var(--red);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
}
.feature-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.92;
}
.panel-feature h3 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
}
.panel-feature p { max-width: 40ch; }
.feature-link {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.5);
  padding-bottom: 4px;
  width: fit-content;
  transition: gap 0.2s var(--ease), border-color 0.2s var(--ease);
}
.feature-link:hover { gap: 16px; border-color: var(--white); }

/* =========================================================
   PRODUZIONE / QUALITÀ
   ========================================================= */
.produzione { background: var(--ink); }
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.split-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  will-change: transform;
  transform: scale(1.08);
}
.media-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 3px;
  border-left: 3px solid var(--red);
}
.split-text h2 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}
.split-text h2 em { font-style: normal; color: var(--red); }
.split-text > p { color: rgba(244,242,238,0.78); max-width: 50ch; }

.steps { margin-top: 34px; display: grid; gap: 4px; }
.steps li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-n {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--red);
  flex: 0 0 auto;
}
.steps div { display: flex; flex-direction: column; gap: 6px; color: rgba(244,242,238,0.7); font-size: 0.94rem; }
.steps strong {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.stat-row {
  margin-top: clamp(48px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.stat {
  padding: clamp(26px, 3vw, 40px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat:last-child { border-right: 0; }
.stat-k {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--red);
}
.stat-v { color: rgba(244,242,238,0.72); font-size: 0.94rem; }

/* =========================================================
   AZIENDA
   ========================================================= */
.azienda { background: var(--ink-2); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head h2, .contatti-info h2 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 16px 0 22px;
}
.section-head h2 em, .contatti-info h2 em { font-style: normal; color: var(--red); }
.section-lead { color: rgba(244,242,238,0.78); font-size: clamp(1rem, 1.3vw, 1.14rem); max-width: 60ch; }

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.value {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(24px, 2.4vw, 34px);
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.value:hover { transform: translateY(-6px); border-color: var(--red); }
.value-n {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--red);
  display: block;
  margin-bottom: 18px;
}
.value h3 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.value p { color: rgba(244,242,238,0.68); font-size: 0.94rem; }

/* =========================================================
   CONTATTI
   ========================================================= */
.contatti { background: var(--ink); }
.contatti-split { align-items: start; }
.contact-list { margin: 30px 0; display: grid; gap: 2px; }
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-list li:last-of-type { border-bottom: 1px solid var(--line); }
.c-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cement);
}
.contact-list a, .contact-list span:not(.c-label) {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
}
.contact-list a { color: var(--paper); transition: color 0.2s var(--ease); }
.contact-list a:hover { color: var(--red); }

.map-wrap {
  margin-top: 30px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.05) brightness(0.85);
  transition: filter 0.4s var(--ease);
}
.map-wrap:hover { filter: grayscale(0) contrast(1) brightness(1); }
.map-wrap iframe { width: 100%; height: 320px; }

/* form */
.contatti-form {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 3vw, 44px);
  position: sticky;
  top: 100px;
}
.form-note {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.form-note.show { display: block; }
.form-note.ok { background: rgba(228,35,27,0.08); border: 1px solid var(--red); color: var(--paper); }
.form-note.err { background: rgba(228,35,27,0.14); border: 1px solid var(--red); color: #ffd7d4; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cement);
  margin-bottom: 8px;
}
.field .opt { color: var(--cement-2); font-weight: 400; letter-spacing: 0.04em; }
.field input, .field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 15px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--ink-3);
}
.field textarea { resize: vertical; min-height: 120px; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(52px, 6vw, 80px);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
}
.footer-brand { max-width: 42ch; }
.brand-footer { margin-bottom: 16px; }
.footer-brand p { color: rgba(244,242,238,0.6); font-size: 0.94rem; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  color: var(--paper);
}
.footer-col p { color: rgba(244,242,238,0.6); font-size: 0.94rem; }
.footer-col a { transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cement);
}

/* =========================================================
   REVEAL animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  clip-path: inset(0 0 8% 0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), clip-path 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* nav mobile */
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    background: var(--ink-2);
    border-left: 1px solid var(--line);
    padding: 40px var(--pad);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -30px 0 60px rgba(0,0,0,0.5);
  }
  .nav-list.open { transform: translateX(0); }
  .nav-list a { font-size: 1.1rem; }
  .nav-cta { padding: 12px 22px !important; }

  /* showcase → stack verticale (niente pin) */
  .showcase { height: auto !important; }
  .showcase-sticky {
    position: static;
    height: auto;
    overflow: visible;
    display: block;
  }
  .showcase-track {
    transform: none !important;
    flex-direction: column;
    height: auto;
    gap: 20px;
    padding-block: clamp(56px, 10vw, 90px);
  }
  .panel { width: 100% !important; height: auto; }
  .panel-intro { padding-right: 0; }
  .panel-card { min-height: 420px; }
  .panel-media { min-height: 260px; }

  /* split */
  .split { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }

  .contatti-form { position: static; }

  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-index span:first-child { display: none; }
}

/* =========================================================
   REDUCED MOTION — statico
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-row { animation: none; }
  .hero-media img,
  .split-media img { transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .showcase-track { transform: none !important; }
}
