:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #efede8;
  --text: #1c1c1c;
  --muted: #6f6b64;
  --accent: #f28a00;
  --accent-dark: #d66f00;
  --dark: #151515;
  --dark-2: #202020;
  --line: #dfdcd6;
  --shadow: 0 18px 48px rgba(0, 0, 0, .10);
  --radius: 6px;
  --max: 1240px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button,
input,
textarea,
select {
  font: inherit
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto
}

.section {
  padding: 88px 0
}

.section-sm {
  padding: 56px 0
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.055em;
  margin-bottom: 24px
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  margin-bottom: 22px
}

h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  margin-bottom: 12px
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 720px
}

.muted {
  color: var(--muted)
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px)
}

.btn-outline {
  border-color: #b9b3aa;
  background: transparent
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent)
}

.link-arrow {
  font-weight: 800;
  color: var(--accent)
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line)
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto
}

.brand img {
  height: 50px;
  width: auto
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto
}

.nav-links a {
  font-size: .92rem;
  font-weight: 650
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent)
}

.nav-cta {
  margin-left: 6px
}

.menu-btn {
  margin-left: auto;
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  position: relative
}

.menu-btn span::before {
  position: absolute;
  top: -7px
}

.menu-btn span::after {
  position: absolute;
  top: 7px
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  background: var(--surface)
}

.hero-copy {
  padding: 72px max(40px, 6vw);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  align-items: stretch
}

.split .copy {
  padding: 54px 0 54px 4vw
}

.split .media img {
  height: 100%;
  min-height: 380px;
  object-fit: cover
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.product-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #111
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .72))
}

.product-card:hover img {
  transform: scale(1.03)
}

.product-card .content {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: #fff
}

.product-card .num {
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 3px
}

.feature {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  background: var(--dark);
  color: white
}

.feature-copy {
  padding: 54px
}

.feature-media img {
  width:  50%;
  min-height: 430px;
  object-fit: cover;
  margin: auto;
}

.feature-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #d9d4cc;
  margin-top: 24px;
  font-size: .92rem
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px
}

.step {
  padding-top: 18px;
  border-top: 1px solid var(--line)
}

.step .n {
  color: var(--accent);
  font-weight: 900;
  font-size: 1.3rem
}

.materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.material {
  position: relative;
  min-height: 250px;
  background: #111;
  color: white;
  overflow: hidden
}

.material img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .68
}

.material .content {
  position: absolute;
  inset: auto 24px 20px;
  z-index: 1
}

.horeca {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  background: var(--surface)
}

.horeca .copy {
  padding: 50px
}

.horeca img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  width: 100%
}

.cta-dark {
  background: var(--dark);
  color: white
}

.cta-dark .cta-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center
}

.cta-dark .copy {
  padding: 58px 0
}

.cta-dark img {
  height: 320px;
  width: 100%;
  object-fit: cover
}

.site-footer {
  background: #111;
  color: #ddd;
  padding: 56px 0 24px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 44px
}

.footer-logo {
  width: 160px;
  filter: brightness(0) invert(1);
  opacity: .9;
  margin-bottom: 18px
}

.footer-title {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #999;
  margin-bottom: 16px
}

.footer-links {
  display: grid;
  gap: 8px
}

.footer-links a:hover {
  color: var(--accent)
}

.footer-bottom {
  border-top: 1px solid #2b2b2b;
  margin-top: 44px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8d8d8d;
  font-size: .88rem
}

.page-hero {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  background: white
}

.page-hero .copy {
  padding: 70px max(32px, 5vw);
  display: flex;
  justify-content: center;
  flex-direction: column
}

.page-hero img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white
}

.catalog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

.catalog-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: white;
  min-height: 320px
}

.catalog-card:nth-child(even) .media {
  order: 2
}

.catalog-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.catalog-card .copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.catalog-card .code {
  color: var(--accent);
  font-weight: 900
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  text-align: center
}

.icon-box {
  padding: 24px 14px;
  border-top: 1px solid var(--line)
}

.icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 8px
}

.timeline {
  display: grid;
  gap: 0
}

.timeline-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}

.timeline-row .media img {
  width: 100%;
  height: 260px;
  object-fit: cover
}

.timeline-row .copy .n {
  color: var(--accent);
  font-weight: 900
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px
}

.about-card {
  background: white;
  padding: 34px
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover
}

.contact-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 28px
}

.contact-list {
  display: grid;
  gap: 12px
}

.contact-card {
  background: white;
  padding: 24px;
  border: 1px solid var(--line)
}

.contact-card .link-arrow {
  display: inline-block;
  margin-top: 6px
}

.contact-card .feature-meta {
  margin-top: 14px
}

.faq {
  display: grid;
  gap: 8px
}

.faq-item {
  background: white;
  border: 1px solid var(--line)
}

.faq-q {
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: white;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between
}

.faq-a {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted)
}

.faq-item.open .faq-a {
  display: block
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.badge {
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: white
}

@media(max-width:980px) {

  .nav-links,
  .nav-cta {
    display: none
  }

  .menu-btn {
    display: flex
  }

  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line)
  }

  .hero-grid,
  .page-hero,
  .split,
  .feature,
  .horeca,
  .cta-dark .cta-grid,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr
  }

  .hero-copy,
  .page-hero .copy {
    padding: 56px 24px
  }

  .hero-media {
    order: 2
  }

  .hero-media img,
  .page-hero img {
    min-height: 430px
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .steps {
    grid-template-columns: repeat(2, 1fr)
  }

  .materials {
    grid-template-columns: 1fr
  }

  .catalog {
    grid-template-columns: 1fr
  }

  .icon-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .timeline-row {
    grid-template-columns: 1fr
  }

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

@media(max-width:640px) {
  .container {
    width: min(calc(100% - 28px), var(--max))
  }

  .section {
    padding: 64px 0
  }

  .brand img {
    height: 44px
  }

  h1 {
    font-size: 3.2rem
  }

  .product-grid,
  .steps,
  .footer-grid,
  .gallery {
    grid-template-columns: 1fr
  }

  .product-card {
    min-height: 230px
  }

  .catalog-card {
    grid-template-columns: 1fr
  }

  .catalog-card:nth-child(even) .media {
    order: 0
  }

  .catalog-card .media img {
    height: 240px
  }

  .icon-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .footer-bottom {
    flex-direction: column
  }

  .hero-media img,
  .page-hero img {
    min-height: 350px
  }

  .feature-copy,
  .horeca .copy {
    padding: 34px 24px
  }
}
/* ==================================================================
   Pulsante flottante "Scrivici su WhatsApp" (sempre visibile)
   ================================================================== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 50px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: #25d366;
  color: #fff;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.whatsapp-float__icon {
  width: 36px;
  height: 36px;
  flex: none;
}

@media (max-width: 520px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 16px;
    font-size: 14px;
  }

  .whatsapp-float__icon {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }

  .whatsapp-float:hover,
  .whatsapp-float:focus-visible {
    transform: none;
  }
}