:root {
  /* Palette reale da logo */
  --blu: #002469;
  --blu-scuro: #001a4d;
  --blu-medio: #003080;
  --blu-chiaro: #1a3d8a;
  --blu-surface: #0d2060;
  --verde: #00662b;
  --rosso: #ff0000;
  --bianco: #ffffff;
  --bianco-off: #f0f2f7;
  --testo-sec: #8a9abf;
  --bordo: #1a3060;
  --card-bg: #041840;
  --nero: #010d2e;
  --grigio: #4a5568;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", sans-serif;
  background: var(--nero);
  color: var(--bianco);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 36, 105, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bordo);
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo-img {
  height: 70px;
  padding: 20px;
  width: auto;
}

.nav-flag {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 28px;
}

.nav-flag span {
  display: block;
  height: 3px;
  border-radius: 1px;
}

.nav-flag .f-verde {
  background: var(--verde);
}
.nav-flag .f-bianco {
  background: var(--bianco);
}
.nav-flag .f-rosso {
  background: var(--rosso);
}

.nav-brand {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--bianco);
  text-transform: uppercase;
}

.nav-brand span {
  color: var(--testo-sec);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--testo-sec);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--bianco);
}

/* ── NAV DROPDOWN ── */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a svg {
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s;
  position: relative;
  top: 1px;
}

.nav-dropdown:hover > a svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: #0b2469;
  border: 1px solid var(--bordo);
  border-top: 2px solid var(--verde);
  min-width: 200px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--testo-sec);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
  border-bottom: 1px solid var(--bordo);
}

.nav-dropdown-menu li:last-child a {
  border-bottom: none;
}

.nav-dropdown-menu li a:hover {
  color: var(--bianco);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  background: var(--verde) !important;
  color: white !important;
  padding: 8px 20px;
  transition: opacity 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.85;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--bianco);
  transition: all 0.3s;
}

/* ── HERO ── */
#hero {
  height: 100vh;
  min-height: 700px;
  padding-top: 68px;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 0 60px;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 68px);
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 1.2s ease,
    transform 8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(1, 13, 46, 0.88) 0%,
    rgba(1, 13, 46, 0.75) 50%,
    rgba(1, 13, 46, 0.45) 100%
  );
}

.hero-flag-accent {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  height: 4px;
  display: flex;
  z-index: 2;
}

.hero-flag-accent span {
  flex: 1;
}
.hero-flag-accent .fa-verde {
  background: var(--verde);
}
.hero-flag-accent .fa-bianco {
  background: var(--bianco);
}
.hero-flag-accent .fa-rosso {
  background: var(--rosso);
}

.hero-text {
  max-width: 680px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--testo-sec);
}

.hero-tag::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--verde);
}

.hero-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 6rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .line-verde {
  color: var(--verde);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
  text-align: left;
}

.stat-num {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--verde);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--testo-sec);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.btn-primary {
  background: var(--verde);
  color: white;
  padding: 14px 32px;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    opacity 0.2s,
    transform 0.15s;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--bianco);
  padding: 14px 0;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--bordo);
  transition:
    border-color 0.2s,
    color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--verde);
  color: var(--verde);
}

/* ── SEZIONI BASE ── */
section {
  padding: 100px 5%;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--testo-sec);
}

.section-tag::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--verde);
}

.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--testo-sec);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 60px;
}

.accent-divider {
  height: 3px;
  display: flex;
  width: 60px;
  margin-bottom: 32px;
  background: linear-gradient(
    to right,
    var(--verde) 33%,
    var(--bianco) 33%,
    var(--bianco) 66%,
    var(--rosso) 66%
  );
}

/* ── SEZIONI CHIARE ── */
.section-light {
  background: var(--bianco-off) !important;
  border-color: #d0d8ee !important;
}

.section-light .section-tag {
  color: var(--verde);
}

.section-light .section-tag::before {
  background: var(--verde);
}

.section-light .section-title {
  color: var(--blu);
}

.section-light .section-subtitle {
  color: var(--grigio);
}

.section-light .accent-divider {
  opacity: 0.8;
}

.section-light .service-card {
  background: var(--bianco);
  border: 1px solid #d0d8ee;
  box-shadow: 0 2px 12px rgba(0, 36, 105, 0.06);
}

.section-light .service-card:hover {
  background: var(--bianco);
  box-shadow: 0 4px 24px rgba(0, 36, 105, 0.12);
}

.section-light .service-card::after {
  background: var(--verde);
}

.section-light .service-name {
  color: var(--blu);
}

.section-light .service-desc {
  color: var(--grigio);
}

.section-light .value-item {
  background: var(--bianco);
  border: 1px solid #d0d8ee;
}

.section-light .value-name {
  color: var(--blu);
}

.section-light .value-desc {
  color: var(--grigio);
}

.section-light .azienda-text p {
  color: var(--grigio);
}

.section-light .azienda-text p strong {
  color: var(--blu);
}

.section-light .founded-badge {
  background: var(--blu);
  border-color: var(--blu-medio);
}

.section-light .founded-text {
  color: rgba(255, 255, 255, 0.7);
}

.section-light .azienda-main-img {
  background: #d0d8ee;
  border-color: #b8c4de;
}

/* ── SERVIZI ── */
#servizi {
  border-top: 1px solid var(--bordo);
  border-bottom: 1px solid var(--bordo);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.service-card-body .service-icon {
  width: 44px;
  height: 44px;
}

.service-card-body .service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card {
  background: var(--card-bg);
  position: relative;
  overflow: hidden;
  transition:
    background 0.25s,
    box-shadow 0.25s;
}

.service-card:hover {
  background: var(--blu-surface);
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--verde);
  transition: width 0.35s ease;
}

.service-card:hover::after {
  width: 100%;
}

.service-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--blu-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.04);
}

/* Placeholder quando non c'è immagine */
.service-card-img:not(:has(img[src])) {
  background: var(--blu-surface);
}

.service-card-body {
  padding: 32px 36px 40px;
}

/* ── PRODOTTI ── */
#prodotti {
  background: var(--nero);
}

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

.products-cta {
  text-align: center;
  margin-top: 48px;
}

.products-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--testo-sec);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--bordo);
  padding-bottom: 4px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.products-cta a:hover {
  color: var(--verde);
  border-color: var(--verde);
}

.products-cta a svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.2s;
}

.products-cta a:hover svg {
  transform: translateX(3px);
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--bordo);
  overflow: hidden;
  transition: border-color 0.25s;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--verde);
}

.product-img-svg {
  aspect-ratio: 16/9;
  background: var(--bianco);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
  padding: 24px;
}

.product-img-svg svg {
  width: 100%;
  max-width: 160px;
  height: auto;
  color: var(--testo-sec);
  transition: color 0.25s;
}

.product-img-svg img {
  width: auto;
  height: 170px;
  max-width: 100%;
  object-fit: contain;
}

.product-card:hover .product-img-svg svg {
  color: var(--bianco);
}

.product-info {
  padding: 20px;
  border-top: 1px solid var(--bordo);
}

.product-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--testo-sec);
  line-height: 1.5;
  margin-bottom: 14px;
}

.product-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--verde);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.product-link svg {
  width: 12px;
  height: 12px;
  fill: var(--verde);
  transition: transform 0.2s;
}

.product-card:hover .product-link svg {
  transform: translateX(3px);
}

.product-card,
.product-card:visited,
.product-card:hover {
  text-decoration: none;
  color: var(--bianco);
}

.product-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verde);
  background: rgba(0, 102, 43, 0.12);
  padding: 3px 10px;
  margin-bottom: 8px;
}

/* ── AZIENDA ── */
#azienda {
  border-top: 1px solid var(--bordo);
}

.azienda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.azienda-text p {
  font-size: 0.97rem;
  color: var(--testo-sec);
  line-height: 1.75;
  margin-bottom: 18px;
}

.azienda-text p strong {
  color: var(--bianco);
}

.azienda-values {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.value-item {
  background: var(--card-bg);
  border: 1px solid var(--bordo);
  padding: 24px;
}

.value-dot {
  width: 6px;
  height: 6px;
  background: var(--verde);
  margin-bottom: 12px;
}

.value-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.value-desc {
  font-size: 0.82rem;
  color: var(--testo-sec);
  line-height: 1.5;
}

.azienda-image-col {
  position: sticky;
  top: 100px;
}

.azienda-main-img {
  aspect-ratio: 3/4;
  background: var(--blu-surface);
  border: 1px solid var(--bordo);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.azienda-main-img svg {
  width: 64px;
  height: 64px;
  fill: var(--blu-chiaro);
  opacity: 0.35;
}

.azienda-main-img .founder-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(
    to top,
    rgba(1, 13, 46, 0.95) 0%,
    transparent 100%
  );
}

.azienda-logo-box {
  background: var(--blu);
  border: 1px solid #d0d8ee;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  height: 100%;
  min-height: 280px;
}

.azienda-logo-box img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}

.azienda-logo-box .azienda-logo-label {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  width: 100%;
}

.azienda-logo-box .founder-name {
  color: var(--bianco);
}

.azienda-logo-box .founder-role {
  color: var(--verde);
}

.founder-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.founder-role {
  font-size: 0.78rem;
  color: var(--verde);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.founded-badge {
  margin-top: 16px;
  background: var(--blu);
  border: 1px solid var(--bordo);
  padding: 14px 20px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.founded-year {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--verde);
}

.founded-text {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--testo-sec);
}

/* ── ASSISTENZA ── */
#assistenza {
  background: var(--nero);
  border-top: 1px solid var(--bordo);
}

.assistenza-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.assistenza-card {
  background: var(--card-bg);
  padding: 36px 30px;
  border: 1px solid var(--bordo);
  border-top: 3px solid transparent;
  transition:
    border-color 0.25s,
    background 0.25s;
}

/* Alternanza colori bordo superiore */
.assistenza-card:nth-child(odd) {
  border-top-color: var(--verde);
}

.assistenza-card:nth-child(even) {
  border-top-color: var(--blu-chiaro);
}

.assistenza-card:hover {
  background: var(--blu-surface);
}

.assistenza-num {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 16px;
}

/* Alternanza colore numero */
.assistenza-card:nth-child(even) {
  background: var(--bianco-off);
  border-color: #d0d8ee;
  border-top: 3px solid var(--blu-chiaro);
}

.assistenza-card:nth-child(even):hover {
  background: var(--bianco);
}

.assistenza-card:nth-child(even) .assistenza-num {
  color: var(--blu-chiaro);
}

.assistenza-card:nth-child(even) .assistenza-name {
  color: var(--blu);
}

.assistenza-card:nth-child(even) .assistenza-desc {
  color: var(--grigio);
}
.assistenza-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.assistenza-desc {
  font-size: 0.88rem;
  color: var(--testo-sec);
  line-height: 1.65;
}

.assistenza-resume {
  font-size: 1.1rem;
  color: var(--blu-surface);
  line-height: 1.65;
  padding: 20px 0;
}

/* ── CONTATTI ── */
#contatti {
  background: var(--blu-scuro);
  border-top: 1px solid var(--bordo);
}

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--testo-sec);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--bordo);
  color: var(--bianco);
  padding: 13px 16px;
  font-family: "Barlow", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--verde);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--blu-chiaro);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9abf' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: var(--blu-scuro);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  background: var(--verde);
  color: white;
  border: none;
  padding: 15px 24px;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  opacity: 0.88;
}

.form-oppure {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--testo-sec);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 26px;
}

.form-oppure::before,
.form-oppure::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bordo);
}

.whatsapp-btn--form {
  width: 100%;
  justify-content: center;
  padding: 15px 24px;
  font-size: 0.88rem;
  margin-top: 0;
}

/* Adatta colore bordo su sfondo chiaro */
.page-section .form-oppure::before,
.page-section .form-oppure::after {
  background: #d0d8ee;
}

.contatti-info {
  padding-top: 12px;
}

.info-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--bordo);
}

.info-block:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--verde);
  margin-bottom: 8px;
}

.info-value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.info-value a {
  color: var(--bianco);
  text-decoration: none;
  transition: color 0.2s;
}

.info-value a:hover {
  color: var(--verde);
}

.info-note {
  font-size: 0.83rem;
  color: var(--testo-sec);
  margin-top: 4px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  background: #25d366;
  color: white;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.whatsapp-btn:hover {
  opacity: 0.88;
}

.whatsapp-btn svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  background: var(--blu-chiaro);
  color: white;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
}

.maps-btn:hover {
  opacity: 0.88;
}

.maps-btn svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* ── CONTATTI HOME ── */
.contatti-home-grid {
  max-width: 680px;
}

.contatti-home-row:hover {
  color: var(--bianco);
}

.contatti-home-row svg {
  width: 18px;
  height: 18px;
  fill: var(--verde);
  flex-shrink: 0;
}

/* ── FOOTER ── */
footer {
  background: #0b2469;
  border-top: 1px solid var(--bordo);
  padding: 60px 5% 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--bordo);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

.footer-address {
  font-size: 0.88rem;
  color: var(--testo-sec);
  line-height: 1.8;
}

.footer-col--links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--testo-sec);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

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

.footer-col--contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--testo-sec);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-contact-row:hover {
  color: var(--bianco);
}

.footer-contact-row svg {
  width: 16px;
  height: 16px;
  fill: var(--verde);
  flex-shrink: 0;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  background: #25d366;
  color: white;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
  width: fit-content;
}

.footer-whatsapp:hover {
  opacity: 0.88;
}

.footer-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.footer-maps {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  background: var(--blu-chiaro);
  color: white;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: opacity 0.2s;
  width: fit-content;
}

.footer-maps:hover {
  opacity: 0.88;
}

.footer-maps svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--testo-sec);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--blu-scuro);
  border-bottom: 1px solid var(--bordo);
  z-index: 99;
  padding: 24px 5%;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu a {
  color: var(--bianco);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── ANIMAZIONI ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-delay-1 {
  transition-delay: 0.1s;
}
.fade-delay-2 {
  transition-delay: 0.2s;
}
.fade-delay-3 {
  transition-delay: 0.3s;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  cursor: pointer;
  padding: 16px 24px;
  pointer-events: auto;
}

.scroll-indicator span {
  font-size: 0.65rem;
  color: var(--testo-sec);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--verde), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.01% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--bianco-off);
  padding: 120px 5% 80px;
  border-bottom: 1px solid #d0d8ee;
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--blu);
}

.page-hero-desc {
  font-size: 1.05rem;
  color: var(--grigio);
  max-width: 560px;
  line-height: 1.7;
}

.page-section {
  padding: 80px 5%;
  background: var(--bianco-off);
}

.contatti-form-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  color: var(--blu);
}

/* Form su sfondo chiaro */
.page-section .form-label,
.page-section .info-note {
  color: var(--grigio);
}

.page-section .form-input,
.page-section .form-select,
.page-section .form-textarea {
  background: var(--bianco);
  border-color: #d0d8ee;
  color: var(--blu);
}

.page-section .form-input::placeholder,
.page-section .form-textarea::placeholder {
  color: #9aa5c0;
}

.page-section .info-value a {
  color: var(--blu);
}

.page-section .info-block {
  border-bottom-color: #d0d8ee;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--verde);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  opacity: 0.85;
}

/* ── PAGE AZIENDA ── */
.azienda-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.azienda-page-grid--reverse {
  direction: rtl;
}

.azienda-page-grid--reverse > * {
  direction: ltr;
}

.azienda-page-text p {
  font-size: 0.97rem;
  color: var(--testo-sec);
  line-height: 1.75;
  margin-bottom: 18px;
}

.azienda-page-text p strong {
  color: var(--bianco);
}

.azienda-page-img .azienda-main-img {
  aspect-ratio: 4/3;
}

.azienda-page-img .azienda-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Numeri */
.azienda-numeri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.azienda-numero {
  background: var(--bianco);
  border: 1px solid #d0d8ee;
  padding: 40px 30px;
  text-align: center;
}

.azienda-numero-val {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 12px;
}

.azienda-numero-label {
  font-size: 0.85rem;
  color: var(--grigio);
  line-height: 1.5;
}

/* Valori grandi */
.azienda-valori-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 20px;
}

.value-item-large {
  background: var(--blu-surface);
  padding: 32px 28px;
  border: 1px solid var(--bordo);
  border-top: 3px solid var(--verde);
  transition: background 0.25s;
}

.value-item-large:hover {
  background: var(--blu-medio);
}

.value-item-large:nth-child(even) {
  background: var(--bianco-off);
  border-color: #d0d8ee;
  border-top: 3px solid var(--blu-chiaro);
}

.value-item-large:nth-child(even):hover {
  background: var(--bianco);
}

.value-item-large:nth-child(even) .value-name-large {
  color: var(--blu);
}

.value-item-large:nth-child(even) .value-desc-large {
  color: var(--grigio);
}

.value-item-large:nth-child(odd) .value-name-large {
  color: var(--bianco);
}

.value-item-large:nth-child(odd) .value-desc-large {
  color: var(--testo-sec);
}

.value-name-large {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  color: var(--bianco);
}

.value-desc-large {
  font-size: 0.88rem;
  color: var(--testo-sec);
  line-height: 1.65;
}

.section-light .azienda-page-text p {
  color: var(--grigio);
}

.section-light .azienda-page-text p strong {
  color: var(--blu);
}

/* ── PAGE ASSISTENZA ── */
.assistenza-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.assistenza-intro-img .azienda-main-img {
  aspect-ratio: 4/3;
}

.assistenza-intro-img .azienda-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── PAGE SERVIZI ── */
.servizio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.servizio-grid--reverse {
  direction: rtl;
}

.servizio-grid--reverse > * {
  direction: ltr;
}

.servizio-img .azienda-main-img {
  aspect-ratio: 4/3;
}

.servizio-img .azienda-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.servizio-text .service-icon {
  margin-bottom: 20px;
}

/* Perché sceglierci */
.perche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.perche-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.perche-icon {
  width: 32px;
  height: 32px;
  background: var(--verde);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.perche-name {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  color: var(--bianco);
}

.perche-desc {
  font-size: 0.85rem;
  color: var(--testo-sec);
  line-height: 1.5;
}

/* ── ARCHIVIO RIMORCHI ── */
.rimorchi-filtri {
  background: var(--blu-scuro);
  padding: 24px 5%;
  border-bottom: 1px solid var(--bordo);
}

.filtri-inner {
  display: flex;
  gap: 12px;
  align-items: center;
}

.filtro-btn {
  padding: 8px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--testo-sec);
  border: 1px solid var(--bordo);
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.filtro-btn:hover,
.filtro-btn.active {
  color: var(--bianco);
  border-color: var(--verde);
  background: rgba(0, 102, 43, 0.1);
}

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

.rimorchio-card {
  background: var(--card-bg);
  border: 1px solid var(--bordo);
  overflow: hidden;
  text-decoration: none;
  color: var(--bianco);
  transition:
    border-color 0.25s,
    transform 0.25s;
  display: flex;
  flex-direction: column;
}

.rimorchio-card:hover {
  border-color: var(--verde);
  transform: translateY(-2px);
}

.rimorchio-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--blu-surface);
}

.rimorchio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.rimorchio-card:hover .rimorchio-card-img img {
  transform: scale(1.04);
}

.rimorchio-card-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rimorchio-card-no-img svg {
  width: 48px;
  height: 48px;
  fill: var(--blu-chiaro);
  opacity: 0.4;
}

.rimorchio-badge {
  position: absolute;
  top: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  color: white;
}

.rimorchio-badge--condizione {
  left: 12px;
}

.rimorchio-badge--condizione.nuovo {
  background: var(--verde);
}

.rimorchio-badge--condizione.usato {
  background: var(--blu-chiaro);
}

.rimorchio-badge--riservato {
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
}

.rimorchio-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--bordo);
}

.rimorchio-card-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  margin-top: 6px;
}

.rimorchio-card-marca {
  font-size: 0.82rem;
  color: var(--testo-sec);
  margin-bottom: 16px;
}

.rimorchio-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--bordo);
}

.rimorchio-card-prezzo {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--verde);
}

.rimorchio-card-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--testo-sec);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.rimorchio-card:hover .rimorchio-card-link {
  color: var(--verde);
}

.rimorchio-card-link svg {
  fill: currentColor;
  transition: transform 0.2s;
}

.rimorchio-card:hover .rimorchio-card-link svg {
  transform: translateX(3px);
}

.rimorchi-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--testo-sec);
}
.filtri-sep {
  color: var(--bordo);
  font-size: 0.8rem;
}

/* ── SINGLE RIMORCHIO ── */
.rimorchio-breadcrumb {
  background: var(--blu-scuro);
  padding: 14px 5%;
  border-bottom: 1px solid var(--bordo);
  font-size: 0.78rem;
  color: var(--testo-sec);
  margin-top: 36px;
}

.rimorchio-breadcrumb a {
  color: var(--testo-sec);
  text-decoration: none;
  transition: color 0.2s;
}

.rimorchio-breadcrumb a:hover {
  color: var(--bianco);
}

.rimorchio-breadcrumb span {
  margin: 0 8px;
}

.rimorchio-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* Titolo */
.rimorchio-title-block {
  margin-bottom: 24px;
}

.rimorchio-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.rimorchio-badge-inline {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  color: white;
}

.rimorchio-badge-inline.nuovo {
  background: var(--verde);
}
.rimorchio-badge-inline.usato {
  background: var(--blu-chiaro);
}
.rimorchio-badge-inline.riservato {
  background: rgba(255, 255, 255, 0.15);
}

.rimorchio-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--nero);
}

.rimorchio-codice {
  font-size: 0.78rem;
  color: var(--testo-sec);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Foto */
.rimorchio-foto-principale {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--blu-surface);
  margin-bottom: 8px;
  border: 1px solid var(--bordo);
}

.rimorchio-foto-principale img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rimorchio-no-foto {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--testo-sec);
  font-size: 0.85rem;
}

.rimorchio-no-foto svg {
  width: 48px;
  height: 48px;
  fill: var(--blu-chiaro);
  opacity: 0.4;
}

/* ── GALLERIA RIMORCHIO ── */
.rimorchio-galleria {
  margin-bottom: 40px;
}

.rimorchio-galleria .wp-block-gallery {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding-top: 0 !important;
}

.rimorchio-galleria figure,
.rimorchio-galleria .wp-block-image {
  margin: 0 !important;
  width: calc(50% - 4px) !important;
  display: inline-block !important;
  vertical-align: top !important;
  line-height: 0;
}

.rimorchio-galleria .wp-block-image img,
.rimorchio-galleria figure img {
  width: 100% !important;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 1px solid var(--blu-scuro);
  vertical-align: top !important;
  margin-top: 4px !important;
}

.rimorchio-galleria .wp-block-image:hover img,
.rimorchio-galleria figure:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .rimorchio-galleria figure,
  .rimorchio-galleria .wp-block-image {
    width: calc(50% - 4px) !important;
  }
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* Scheda */
.rimorchio-scheda {
  background: var(--card-bg);
  border: 1px solid var(--bordo);
  padding: 32px;
}

.rimorchio-scheda-title {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bordo);
  color: var(--bianco);
}

.rimorchio-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.rimorchio-table tr {
  border-bottom: 1px solid var(--bordo);
}

.rimorchio-table tr:last-child {
  border-bottom: none;
}

.rimorchio-table-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--testo-sec);
  padding: 12px 16px 12px 0;
  width: 40%;
  vertical-align: top;
}

.rimorchio-table-value {
  font-size: 0.92rem;
  color: var(--bianco);
  padding: 12px 0;
  vertical-align: top;
}

.rimorchio-detail-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--bordo);
}

.rimorchio-detail-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--testo-sec);
  margin-bottom: 8px;
}

.rimorchio-detail-text {
  font-size: 0.92rem;
  color: var(--bianco);
  line-height: 1.65;
}

.rimorchio-note {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border: 1px solid var(--bordo);
  margin-top: 24px;
}

/* Sidebar */
.rimorchio-sidebar-inner {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rimorchio-prezzo-box {
  background: var(--card-bg);
  border: 1px solid var(--bordo);
  border-top: 3px solid var(--verde);
  padding: 24px;
}

.rimorchio-prezzo-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--testo-sec);
  margin-bottom: 8px;
}

.rimorchio-prezzo {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--verde);
  line-height: 1;
}

.rimorchio-prezzo-su-richiesta {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--testo-sec);
}

.rimorchio-venduto,
.rimorchio-riservato {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rimorchio-venduto {
  color: var(--rosso);
}
.rimorchio-riservato {
  color: var(--testo-sec);
}

.rimorchio-info-rapide {
  background: var(--card-bg);
  border: 1px solid var(--bordo);
  padding: 20px;
}

.rimorchio-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--bordo);
  gap: 12px;
}

.rimorchio-info-row:last-child {
  border-bottom: none;
}

.rimorchio-info-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--testo-sec);
  flex-shrink: 0;
}

.rimorchio-info-value {
  font-size: 0.88rem;
  color: var(--bianco);
  text-align: right;
}

.rimorchio-back {
  font-size: 0.78rem;
  color: var(--testo-sec);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
  text-align: center;
}

.rimorchio-back:hover {
  color: var(--bianco);
}

/* ── CATEGORIE FILTRI ── */
.categorie-filtri-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.categoria-filtro-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--bianco);
  border: 1px solid #d0d8ee;
  text-decoration: none;
  color: var(--blu);
  transition:
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
}

.categoria-filtro-item:hover,
.categoria-filtro-item.active {
  border-color: var(--verde);
  color: var(--blu);
  background: var(--bianco);
  box-shadow: 0 2px 12px rgba(0, 102, 43, 0.15);
}

.categoria-filtro-item.empty {
  opacity: 0.4;
  pointer-events: none;
}

.categoria-filtro-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.3;
  color: var(--blu);
}

.categoria-filtro-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--verde);
}

.categoria-filtro-icon {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.categoria-filtro-icon img {
  width: auto;
  height: 90px;
  object-fit: contain;
}

.categoria-filtro-icon svg {
  width: 100%;
  height: 100%;
}

.categoria-filtro-item.active .categoria-filtro-count {
  color: var(--verde);
}

@media (max-width: 1024px) {
  .categorie-filtri-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .categorie-filtri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive single */
@media (max-width: 1024px) {
  .rimorchio-layout {
    grid-template-columns: 1fr 280px;
  }
}

@media (max-width: 768px) {
  .rimorchio-layout {
    grid-template-columns: 1fr;
  }

  .rimorchio-sidebar-inner {
    position: static;
  }
}

/* ── PRIVACY / COOKIE ── */
.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.privacy-block h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--blu);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--verde);
}

.privacy-block p {
  color: var(--grigio);
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 0.97rem;
}

.privacy-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.privacy-block ul li {
  color: var(--grigio);
  font-size: 0.97rem;
  padding-left: 16px;
  position: relative;
}

.privacy-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--verde);
  border-radius: 50%;
}

.privacy-block a {
  color: var(--verde);
  text-decoration: none;
}

.privacy-block a:hover {
  text-decoration: underline;
}

/* ── PRODUCTS SLIDER ── */
.products-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.products-slider {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.products-slider-hint {
  display: none;
  text-align: center;
  font-size: 0.72rem;
  color: var(--testo-sec);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 16px;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .products-slider-hint {
    display: flex;
  }
}

.products-slider::-webkit-scrollbar {
  display: none;
}

.products-slider .product-card {
  flex: 0 0 calc(25% - 2px);
  scroll-snap-align: start;
  min-width: 220px;
}

.products-slider-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--verde);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  z-index: 2;
}

.products-slider-btn:hover {
  opacity: 0.85;
}

.products-slider-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 768px) {
  .products-slider .product-card {
    flex: 0 0 calc(50% - 2px);
  }

  .products-slider-btn {
    display: none;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .assistenza-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .azienda-numeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .azienda-valori-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .perche-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rimorchi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 4%;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  section {
    padding: 72px 4%;
  }

  .hero-inner {
    padding: 40px 0;
  }

  .hero-stats {
    display: none;
  }
  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-actions {
    margin-bottom: 32px;
  }

  .stat-num {
    font-size: 1.6rem;
  }

  .scroll-indicator {
    bottom: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .azienda-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .azienda-image-col {
    position: static;
  }
  .azienda-values {
    grid-template-columns: 1fr;
  }
  .assistenza-grid {
    grid-template-columns: 1fr;
  }
  .contatti-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .contatti-home-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-col--links {
    align-items: center;
  }
  .footer-links {
    align-items: center;
  }
  .footer-col--brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-col--contacts {
    align-items: center;
  }

  .footer-whatsapp,
  .footer-maps {
    margin: 8px auto 0;
  }

  .hero-title {
    font-size: 3rem;
  }

  .page-hero {
    padding: 100px 4% 60px;
  }

  .azienda-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .azienda-page-grid--reverse {
    direction: ltr;
  }
  .azienda-numeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .azienda-valori-grid {
    grid-template-columns: 1fr;
  }
  .assistenza-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .servizio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .servizio-grid--reverse {
    direction: ltr;
  }
  .perche-grid {
    grid-template-columns: 1fr;
  }
  .rimorchi-grid {
    grid-template-columns: 1fr;
  }
  .filtri-inner {
    flex-wrap: wrap;
  }
  .rimorchio-breadcrumb {
    margin-top: 22px;
  }
  .hero-flag-accent {
    top: 22px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-inner {
    padding: 20px 0 40px;
  }
  .hero-stats {
    display: none;
  }
  .hero-actions {
    margin-bottom: 32px;
  }
  .scroll-indicator {
    bottom: 16px;
  }
}

@media (min-width: 769px) and (max-width: 1280px) {
  .hero-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
  }
  .hero-inner {
    padding: 10px 0 40px;
  }
  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }
  .hero-actions {
    margin-bottom: 28px;
  }
  .hero-stats {
    padding-top: 20px;
    gap: 32px;
  }
}
