:root {
  --red: #981018;
  --red-dark: #65070d;
  --black: #111111;
  --white: #ffffff;
  --soft: #f6f6f6;
  --text: #1d1d1f;
  --muted: #666666;
  --border: #dedede;
  --radius: 6px;
  --shadow: 0 18px 45px rgba(0,0,0,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: #fff;
  border-bottom: 1px solid #e7e7e7;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo img {
  height: 55px;
  width: auto;
}
.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}
.menu a:hover { color: var(--red); }
.header-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .70rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
.language-switch a { color: #666; }
.language-switch a.active,
.language-switch a:hover { color: var(--red); }
.language-switch span { color: #bbb; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
  border-radius: 3px;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.outline { background: transparent; border-color: rgba(255,255,255,.78); color: #fff; }
.btn.dark { background: #111; border-color: #111; }
.btn.dark:hover { background: var(--red-dark); border-color: var(--red-dark); }

.service-hero {
  color: #fff;
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.22) 75%, rgba(0,0,0,.12) 100%),
    var(--hero-image) center right / cover no-repeat;
}
.service-hero.processing {
  --hero-image: image-set(
    url('img/lavorazione-carni.webp') type('image/webp'),
    url('img/lavorazione-carni.jpg')
  );
}
.service-hero.logistics {
  --hero-image: image-set(
    url('img/storage-center.webp') type('image/webp'),
    url('img/storage-center.jpg')
  );
}
.service-hero.packaging {
  --hero-image: image-set(
    url('img/lavorazione-carni.webp') type('image/webp'),
    url('img/lavorazione-carni.jpg')
  );
}
.hero-content { max-width: 700px; padding: 80px 0; }
.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  color: rgba(255,255,255,.78);
  font-size: .86rem;
}
.breadcrumb a { color: #fff; font-weight: 800; }
.eyebrow {
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 18px;
}
.section-title .eyebrow,
.content-block .eyebrow {
  color: var(--red);
}
h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.3rem);
  line-height: .96;
  font-weight: 900;
}
.lead {
  margin: 26px 0 28px;
  font-size: 1.15rem;
  max-width: 620px;
  color: rgba(255,255,255,.92);
}
.hero-actions,
.section-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-title {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-title.left { text-align: left; margin-left: 0; }
.section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: #111;
}
.section-title p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.title-line {
  width: 46px;
  height: 3px;
  background: var(--red);
  margin: 20px auto 0;
}
.section-title.left .title-line { margin-left: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.content-block p {
  color: var(--muted);
  font-size: 1.02rem;
}
.content-block h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}
.content-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.panel h3 {
  margin: 0 0 16px;
  text-transform: uppercase;
  font-size: 1rem;
}
.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.panel p + .list {
  margin-top: 18px;
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.list li {
  position: relative;
  padding-left: 24px;
  color: #333;
  font-size: .96rem;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.process-grid.spaced {
  margin-top: 28px;
}
.process-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.process-step strong {
  display: block;
  color: var(--red);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 14px;
}
.process-step h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  text-transform: uppercase;
}
.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.cta-band {
  background: linear-gradient(90deg, #151515, #0d0d0d);
  color: #fff;
  padding: 58px 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 32px;
  align-items: center;
}
.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}
.cta-band p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 1.02rem;
}
.cta-band .section-actions { justify-content: flex-end; }

footer {
  background: #111;
  color: #fff;
  padding: 54px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr 1fr;
  gap: 42px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.footer-logo img {
  height: 80px;
  width: auto;
  margin-left: 40px;
}
footer p,
footer a,
footer li {
  color: rgba(255,255,255,.78);
  font-size: .92rem;
}
footer h3 {
  margin: 0 0 14px;
  font-size: .95rem;
  text-transform: uppercase;
}
footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.copyright {
  padding-top: 22px;
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 1000px) {
  .menu { display: none; }
  .two-col,
  .cta-grid { grid-template-columns: 1fr; }
  .process-grid,
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band .section-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav { min-height: 74px; }
  .topbar .header-actions .btn { display: none; }
  .service-hero { min-height: 560px; background-position: center; }
  .hero-content { padding: 70px 0; }
  .hero-actions,
  .section-actions { flex-direction: column; align-items: flex-start; }
  .process-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .content-image img { height: 320px; }
  section { padding: 54px 0; }
}
