* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
  color: #111;
  background: #fff;
  font-weight: 400;
}

section {
  scroll-margin-top: 90px;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 82px;
  z-index: 1000;
  background: rgba(6, 6, 6, 0.72);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  border-bottom: 1px solid rgba(215, 25, 32, 0.65);
  box-shadow: 0 12px 36px rgba(0,0,0,.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

/* DISTANZIA LA LINEA ROSSA SOTTO IT / EN */

.language-switcher .language-link {
  position: relative;
  padding-bottom: 6px !important;
}

.language-switcher .language-link::after {
  bottom: 0 !important;
}

.logo span {
  display: flex;
  color: #fff;
  font-size: 39px;
  letter-spacing: -1px;
    margin-bottom: -15px;
}

.logo small {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.red,
h1 span,
h2 span {
  color: #d71920;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.btn-nav {
  background: #d71920;
  padding: 15px 22px;
  border-radius: 15px 0px;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 32px;
}

.section-dark {
  background: #060606;
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 70px;
  overflow: hidden;
  background: #050505;
background-image: url("img/sfondo-top.jpg");
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}

/* Qui potrai inserire la foto reale come sfondo:
   background-image: url("images/hero-wrappy.jpg");
*/
.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.96) 0%,
      rgba(0,0,0,.88) 28%,
      rgba(0,0,0,.46) 48%,
      rgba(0,0,0,.12) 72%,
      rgba(0,0,0,.20) 100%
    ),
    url("img/sfondo-top.jpg");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 42%) 1fr 130px;
  align-items: center;
  gap: 34px;
  min-height: calc(100vh - 190px);
}

.hero h1 {
  font-size: clamp(82px, 8.8vw, 100px);
  line-height: .82;
  color: #fff;
  font-weight: lighter;
  letter-spacing: 0px;
}

.hero h2 {
  font-size: clamp(34px, 3.65vw, 35px);
  line-height: 1.08;
  margin: 30px 0 24px;
  text-transform: uppercase;
  letter-spacing: 0px;
  font-weight: lighter !important;
}

.hero p {
  font-size: clamp(18px, 1.65vw, 20px);
  line-height: 1.55;
  max-width: 560px;
  color: #f1f1f1;
  font-weight: lighter;
}

.hero-buttons {
  display: flex;
  gap: 24px;
  margin-top: 42px;
  margin-bottom: 70px;
}

.btn {
  display: inline-block;
  padding: 20px 34px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 15px;
}

.primary {
  background: #d71920;
  color: #fff;
border-radius: 20px 0px 20px 0px;
}

.secondary {
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}

.black {
  background: #111;
  color: #fff;
}

.placeholder {
  background: linear-gradient(135deg, #050505, #1b1b1b);
  border: 1px solid rgba(255,255,255,.15);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  text-align: center;
  font-weight: 900;
  letter-spacing: 1px;
}

.hero-icons {
  display: grid;
  gap: 28px;
  text-transform: uppercase;
  font-weight: 900;
  text-align: center;
  color: #fff;
}

.features {
  padding: 70px 0;
  background: #f4f4f4;
}

.features h2,
.gallery h2 {
  text-align: center;
  font-size: 34px;
  text-transform: uppercase;
  margin-bottom: 55px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.feature-grid article {
  padding: 0 25px;
  text-align: center;
  border-right: 1px solid #ccc;
}

.feature-grid article:last-child {
  border-right: 0;
}

.icon {
  color: #d71920;
  font-size: 46px;
  margin-bottom: 18px;
}

h3 {
  text-transform: uppercase;
  font-size: 17px;
  margin-bottom: 12px;
}

p {
  line-height: 1.55;
}

.technology {
  padding: 0px 0;
  background: radial-gradient(circle at 50% 50%, #252525, #060606 70%);
}

.tech-grid {
  display: grid;
  grid-template-columns: 28% 42% 30%;
  gap: 40px;
  align-items: center;
}

.tech-text h2,
.detail-title h2,
.parallax h2,
.cta h2 {
  font-size: clamp(36px, 4vw, 40px);
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.tech-list article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.tech-list p {
 margin-top: -20px !important;
}

.tech-list h3,
.tech-list p {
  grid-column: 2;
  font-weight: 300 !important;
}

.technology .tech-list article h3 {
  font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase;
  letter-spacing: -0.3px !important;
}


.circle.small {
  width: 86px;
  height: 86px;
  min-height: 86px;
  border-radius: 50%;
  grid-row: span 2;
}

.details {
  padding: 75px 0;
  background: #f5f5f5;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 26px;
}

.card-img {
  min-height: 170px;
  margin-bottom: 18px;
}

.parallax {
  padding: 90px 0;
  background: linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,.85)), #111;
  background-attachment: fixed;
}

.parallax-grid {
  display: grid;
  grid-template-columns: 32% 42% 26%;
  gap: 40px;
  align-items: center;
}

.placeholder.wide {
  min-height: 260px;
}

.parallax ul {
  list-style: none;
  border-left: 2px solid #d71920;
  padding-left: 30px;
}

.parallax li {
  margin-bottom: 18px;
  font-weight: 800;
}

.gallery {
  padding: 80px 0;
  background: #fff;
}

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

.gallery-grid .placeholder {
  min-height: 230px;
}

.cta {
  background: #d71920;
  color: #fff;
  padding: 55px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 40px;
  align-items: center;
}

.cta-icons {
  display: flex;
  gap: 35px;
  text-transform: uppercase;
  font-weight: 900;
}

footer {
  background: #050505;
  color: #fff;
  padding: 45px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* MOBILE */
@media (max-width: 900px) {
  .site-header {
    height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #050505;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 5%;
    display: none;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .btn-nav {
    text-align: center;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-grid,
  .tech-grid,
  .detail-grid,
  .parallax-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-icons {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 35px;
  }

  .hero-image {
    min-height: 320px;
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    border-right: 0;
    border-bottom: 1px solid #ddd;
    padding: 28px 0;
  }

  .tech-list article {
    grid-template-columns: 76px 1fr;
  }

  .circle.small {
    width: 70px;
    height: 70px;
    min-height: 70px;
  }

  .detail-title {
    margin-bottom: 25px;
  }

  .cta-icons,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Hero: area centrale libera perché la foto sarà di sfondo */
.hero-image.placeholder {
  min-height: 520px;
  background: transparent;
  border: 0;
  color: transparent;
}

/* Icone laterali hero */
.hero-icons {
  align-self: center;
}

.hero-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.icon-slot {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: rgba(255,255,255,.55);
  font-weight: 900;
}

.hero-icon-item span {
  display: block;
  font-family: 'Roboto Condensed', Arial, sans-serif !important;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 300 !important;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 55px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.82) 38%, rgba(0,0,0,.36) 70%, rgba(0,0,0,.88) 100%),
      radial-gradient(circle at 58% 42%, #222 0%, #111 48%, #050505 100%);
  }

  .hero-grid {
    min-height: auto;
    gap: 26px;
  }

  .hero h1 {
    font-size: clamp(58px, 19vw, 86px);
    letter-spacing: -3px;
  }

  .hero h2 {
    font-size: clamp(28px, 8vw, 42px);
  }

  .hero-buttons {
    margin-bottom: 70px;
  }

  .hero-image.placeholder {
    min-height: 320px;
  }

  .hero-icons {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }

  .icon-slot {
    width: 44px;
    height: 44px;
    font-size: 8px;
  }

  .hero-icon-item span {
    font-size: 10px;
  }
}


/* Font stile anteprima grafica */
.logo span,
.hero h1,
.hero h2,
.features h2,
.gallery h2,
.tech-text h2,
.detail-title h2,
.parallax h2,
.cta h2,
h3,
.btn,
.btn-nav,
.main-nav a,
.hero-icon-item span {
  font-family: 'Anton', 'Roboto Condensed', Arial, sans-serif;
  font-weight: 400;
}

.main-nav a,
.btn,
.btn-nav {
  letter-spacing: .45px;
}

p,
li,
.logo small {
  font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
}

/* Menu mobile con stesso effetto vetro/sfocato */
@media (max-width: 900px) {
  .main-nav {
    background: rgba(5,5,5,.86);
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    border-bottom: 1px solid rgba(215,25,32,.45);
  }
}


/* =========================
   PERSONALIZZAZIONI RAPIDE FONT
   Modifica questi valori quando vuoi
   ========================= */
:root {
  --menu-font-weight: 400;
  --hero-subtitle-font-weight: 300;
  --button-font-weight: 400;

  --hero-blur: 0px;
  --hero-parallax: 0px;
  --hero-dark: .20;
}

/* Hero background: blur + parallasse allo scroll */
.hero {
  background-image: none;
}

.hero::before {
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.96) 0%,
      rgba(0,0,0,.88) 28%,
      rgba(0,0,0,.46) 48%,
      rgba(0,0,0,.12) 72%,
      rgba(0,0,0,var(--hero-dark)) 100%
    ),
    url("img/sfondo-top.jpg");

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(var(--hero-blur));
  transform: translateY(var(--hero-parallax)) scale(1.04);
  transform-origin: center top;
  transition: filter .12s linear, transform .12s linear;
  will-change: filter, transform;
}

/* Font più gestibili: il font Anton non permette veri pesi diversi */
.main-nav a,
.btn,
.btn-nav,
.hero h2 {
  font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif !important;
}

.main-nav a,
.btn-nav {
  font-weight: var(--menu-font-weight) !important;
}

.hero h2 {
  font-weight: var(--hero-subtitle-font-weight) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: var(--button-font-weight) !important;
  letter-spacing: .35px;
}

.btn-icon-slot {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 7px;
  line-height: 1;
  opacity: .82;
}

/* Variante desktop: pulsanti più leggibili */
.primary,
.secondary,
.black {
  border-radius: 20px 0 20px 0;
}

.secondary {
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Mantiene la foto nella hero anche su mobile */
@media (max-width: 900px) {
  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,.93) 0%,
        rgba(0,0,0,.82) 38%,
        rgba(0,0,0,.38) 70%,
        rgba(0,0,0,.88) 100%
      ),
      url("img/sfondo-top.jpg");
    background-size: cover;
    background-position: center center;
  }

  .btn {
    width: 100%;
    justify-content: space-between;
  }
}


/* =========================
   EFFETTI HERO / MENU
   ========================= */

/* Sfumatura nera lato destro per rendere leggibili le icone */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(40vw, 600px);
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.46) 42%,
    rgba(0,0,0,0) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Porta testo, icone e contenuto sopra tutte le sfumature */
.hero-grid {
  z-index: 2;
}

/* Glow elegante dietro i pulsanti */
.hero-buttons .btn {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.hero-buttons .btn::before {
  content: "";
  position: absolute;
  inset: -16px -22px;
  border-radius: 28px 0 28px 0;
  opacity: .55;
  filter: blur(22px);
  z-index: -1;
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}

.hero-buttons .primary::before {
  background: radial-gradient(circle, rgba(215,25,32,.75) 0%, rgba(215,25,32,.26) 42%, rgba(215,25,32,0) 72%);
}

.hero-buttons .secondary::before {
  background: radial-gradient(circle, rgba(255,255,255,.38) 0%, rgba(255,255,255,.16) 42%, rgba(255,255,255,0) 72%);
}

.hero-buttons .btn:hover::before {
  opacity: .82;
  transform: scale(1.05);
  filter: blur(26px);
}

/* Menu: hover con testo leggermente sfocato */
.main-nav a {
  position: relative;
  transition: color .22s ease, opacity .22s ease, filter .22s ease, text-shadow .22s ease;
}

.main-nav a:hover {
  filter: blur(.45px);
  opacity: .82;
  text-shadow: 0 0 12px rgba(255,255,255,.42);
}

/* Voce menu attiva mentre sei nella sezione */
.main-nav a.active {
  color: rgba(255,255,255,.58);
  filter: blur(.15px);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: rgba(215,25,32,.68);
}

/* Il pulsante del menu attivo rimane leggibile */
.main-nav a.btn-nav.active {
  color: rgba(255,255,255,.78);
  background: rgba(215,25,32,.62);
}

.main-nav a.btn-nav.active::after {
  display: none;
}

@media (max-width: 900px) {
  .hero::after {
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.18) 48%,
      rgba(0,0,0,.70) 100%
    );
  }

  .main-nav a.active::after {
    bottom: 6px;
    right: auto;
    width: 44px;
  }
}


/* Stesso effetto sfocato del menu anche sui pulsanti principali */
.hero-buttons .btn,
.cta .btn,
.btn-nav {
  transition: color .22s ease, opacity .22s ease, filter .22s ease, text-shadow .22s ease, transform .22s ease;
}

.hero-buttons .btn:hover,
.cta .btn:hover,
.btn-nav:hover {
  filter: blur(.35px);
  opacity: .86;
  text-shadow: 0 0 14px rgba(255,255,255,.38);
  transform: translateY(-1px);
}


/* FIX hover pulsante rosso SCOPRI WRAPPY nella hero */
.hero-buttons .btn.primary {
  position: relative;
  transition:
    filter .22s ease,
    opacity .22s ease,
    text-shadow .22s ease,
    transform .22s ease,
    box-shadow .22s ease !important;
}

.hero-buttons .btn.primary:hover {
  filter: blur(.35px) !important;
  opacity: .88 !important;
  text-shadow: 0 0 14px rgba(255,255,255,.48) !important;
  transform: translateY(-1px) scale(1.015) !important;
  box-shadow:
    0 0 28px rgba(215,25,32,.48),
    0 0 55px rgba(215,25,32,.24) !important;
}

/* Effetto anche sul testo interno e sull'icona del pulsante */
.hero-buttons .btn.primary:hover span {
  filter: blur(.25px);
}

.hero-buttons .btn.primary:hover .btn-icon-slot {
  opacity: .95;
  box-shadow: 0 0 14px rgba(255,255,255,.35);
}

/* Icone PNG Hero */
.hero-icon-item .icon-slot {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.hero-icon-item .icon-slot img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}
@media (max-width: 900px) {
  .hero-icon-item .icon-slot img {
    width: 44px;
    height: 44px;
  }
}


/* Icone fascia rossa CTA */
.cta-icons {
  align-items: center;
}

.cta-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.cta-icon-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin-bottom: -15px;
}

.cta-icon-item span {
  font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: .6px;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .cta-icons {
    flex-direction: row;
    gap: 28px;
    align-items: center;
  }

  .cta-icon-item img {
    width: 54px;
    height: 54px;
  }

  .cta-icon-item span {
    font-size: 13px;
  }
}

.tech-image{height:100%;min-height:520px;display:flex;align-items:center;justify-content:center;border:0;background:transparent}.tech-image img{display:block;width:auto;height:100%;max-height:620px;max-width:100%;object-fit:contain;border:0}@media(max-width:900px){.tech-image{min-height:420px;height:60vh}.tech-image img{height:100%;max-height:none}}

.tech-list .circle.small{overflow:hidden;border:0;background:transparent}.tech-list .circle.small img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;border-radius:50%}

/* Effetto interattivo immagini Tecnologia */

.tech-list .circle.small {
  position: relative;
  cursor: pointer;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.tech-list .circle.small img {
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

/* Effetto al passaggio del mouse */

.tech-list article:hover .circle.small {
  transform: scale(1.8);
  
  box-shadow:
    0 0 0 2px rgba(215, 25, 32, 0.7),
    0 0 20px rgba(215, 25, 32, 0.55),
    0 0 45px rgba(215, 25, 32, 0.25);
}

/* Zoom interno della foto */

.tech-list article:hover .circle.small img {
  transform: scale(1.15);
  filter: brightness(1.15) contrast(1.08);
}

/* Immagini sezione Vantaggi */
.details .card-img{height:170px;min-height:170px;overflow:hidden;border:0;background:transparent; border-radius: 20px 0px;}
.details .card-img img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transition:transform .55s ease,filter .45s ease}
.details article{overflow:visible}
.details article:hover .card-img img{transform:scale(1.12);filter:brightness(1.08) contrast(1.06)}
@media(max-width:900px){.details .card-img{height:260px}}


/* Video YouTube sezione Applicazioni */
.video-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0;
  background: #000;
  box-shadow: 0 18px 45px rgba(0,0,0,.38);
}

.video-box iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 900px) {
  .video-box {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

.feature-grid .icon{height:64px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}.feature-grid .icon img{width:85px;height:85px;object-fit:contain;display:block;transition:transform .35s ease}.feature-grid article:hover .icon img{transform:scale(1.12)}@media(max-width:900px){.feature-grid .icon img{width:54px;height:54px}}

.faq-section{padding:92px 0 84px;background:radial-gradient(circle at 50% 0%,rgba(215,25,32,.10),transparent 34%),linear-gradient(180deg,#f6f6f6 0%,#fff 100%);overflow:hidden}
.faq-heading{max-width:760px;margin:0 auto 46px;text-align:center}
.faq-kicker{display:block;margin-bottom:10px;color:#d71920;font-size:13px;font-weight:500;letter-spacing:1.7px;text-transform:uppercase}
.faq-heading h2{margin-bottom:16px;font-family:'Anton','Roboto Condensed',Arial,sans-serif;font-size:clamp(38px,5vw,58px);font-weight:400;line-height:1;text-transform:uppercase}
.faq-heading p{color:#555;font-size:18px;font-weight:300}
.faq-slider-wrap{position:relative}
.faq-slider{display:flex;gap:24px;overflow-x:auto;padding:14px 4px 30px;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none;cursor:grab;touch-action:pan-x}
.faq-slider::-webkit-scrollbar{display:none}
.faq-card{position:relative;flex:0 0 calc((100% - 48px)/3);min-height:260px;padding:38px 32px 34px;overflow:hidden;scroll-snap-align:start;background:#f1f1f1;border:1px solid rgba(0,0,0,.08);border-radius:28px 0 28px 0;box-shadow:none;transition:.35s}
.faq-card:hover{transform:translateY(-8px);background:#ededed;border-color:rgba(215,25,32,.45);box-shadow:none}
.faq-number{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:28px;color:#fff;background:#d71920;border-radius:14px 0 14px 0;font-size:15px;font-weight:500;box-shadow:0 10px 26px rgba(215,25,32,.28)}
.faq-card h3{margin-bottom:16px;font-family:'Roboto Condensed',Arial,sans-serif!important;font-size:23px;font-weight:500!important;line-height:1.15;letter-spacing:-.35px;text-transform:none}
.faq-card p{color:#555;font-size:17px;font-weight:300;line-height:1.55}
.faq-arrow{position:absolute;top:50%;z-index:4;width:48px;height:48px;border:0;border-radius:50%;color:#fff;background:rgba(17,17,17,.9);font-size:34px;cursor:pointer;transform:translateY(-50%);transition:.25s}
.faq-arrow:hover{background:#d71920;transform:translateY(-50%) scale(1.08)}
.faq-prev{left:-24px}.faq-next{right:-24px}
.faq-dots{display:flex;justify-content:center;gap:8px;margin-top:8px}
.faq-dot{width:8px;height:8px;border:0;border-radius:999px;background:rgba(0,0,0,.2);transition:.25s}
.faq-dot.active{width:28px;background:#d71920}
.faq-swipe-hint{display:none;margin-top:14px;color:#777;font-size:13px;font-weight:300;text-align:center}
@media(max-width:1100px){.faq-card{flex-basis:calc((100% - 24px)/2)}.faq-prev{left:-10px}.faq-next{right:-10px}}
@media(max-width:700px){.faq-section{padding:70px 0 64px}.faq-heading{margin-bottom:30px}.faq-heading p{font-size:16px}.faq-slider{gap:16px}.faq-card{flex-basis:88%;min-height:245px;padding:32px 26px 30px}.faq-arrow{display:none}.faq-swipe-hint{display:block}}


/* BLOCCO VENDITE E VALUTAZIONE HERO - VERSIONE DEFINITIVA */
.hero-proof {
  width: fit-content;
  max-width: 100%;
  margin-top: 30px;
  padding: 14px 20px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 4px solid #d71920;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  color: #fff;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  border-radius: 0 14px 14px 0;
}

.hero-proof > div:first-child {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .35px;
}

.hero-proof strong {
  color: #d71920;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.hero-proof > div:last-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 14px;
  line-height: 1.2;
}

.hero-proof .proof-stars {
  color: #ffd21f;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(255, 210, 31, .28);
}

.hero-proof b {
  font-weight: 500;
  letter-spacing: .3px;
}

.hero-buttons {
  margin-top: 30px;
}

@media (max-width: 900px) {
  .hero-proof {
    width: 100%;
    margin-top: 24px;
    padding: 13px 15px;
  }

  .hero-proof > div:first-child {
    font-size: 14px;
  }

  .hero-proof strong {
    font-size: 27px;
  }

  .hero-proof > div:last-child {
    font-size: 12px;
  }

  .hero-proof .proof-stars {
    font-size: 19px;
  }
}


/* =========================================
   CTA INTERMEDIA
   ========================================= */
.mid-cta {
  background: #d71920;
  color: #fff;
  padding: 42px 0;
}

.mid-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.mid-cta-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: .85;
}

.mid-cta h2 {
  margin-bottom: 10px;
  font-family: 'Anton', 'Roboto Condensed', Arial, sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.mid-cta p {
  max-width: 720px;
  font-size: 18px;
  font-weight: 300;
}

.mid-cta-btn {
  color: #fff;
  background: #111;
  white-space: nowrap;
  border-radius: 20px 0 20px 0;
}

/* =========================================
   SPECIFICHE TECNICHE
   ========================================= */
.specs-section {
  padding: 78px 0;
  background: #fff;
}

.specs-heading {
  margin-bottom: 34px;
  text-align: center;
}

.specs-heading > span,
.comparison-heading > span {
  display: block;
  margin-bottom: 8px;
  color: #d71920;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.specs-heading h2,
.comparison-heading h2 {
  font-family: 'Anton', 'Roboto Condensed', Arial, sans-serif;
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.specs-grid article {
  min-height: 145px;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f2f2f2;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 22px 0 22px 0;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.specs-grid article:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: rgba(215,25,32,.38);
}

.specs-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #d71920;
  font-family: 'Anton', 'Roboto Condensed', Arial, sans-serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.specs-grid span {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

/* =========================================
   CONFRONTO
   ========================================= */
.comparison-section {
  padding: 84px 0;
  background: #efefef;
}

.comparison-heading {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-card {
  padding: 38px 38px 34px;
  border-radius: 28px 0 28px 0;
}

.comparison-card.traditional {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
}

.comparison-card.wrappy {
  color: #fff;
  background: linear-gradient(145deg, #171717, #050505);
  border: 1px solid rgba(215,25,32,.65);
}

.comparison-label {
  display: block;
  margin-bottom: 26px;
  font-family: 'Anton', 'Roboto Condensed', Arial, sans-serif;
  font-size: 27px;
  font-weight: 400;
  text-transform: uppercase;
}

.comparison-card ul {
  list-style: none;
}

.comparison-card li {
  position: relative;
  margin-bottom: 15px;
  padding-left: 30px;
  font-size: 17px;
  font-weight: 300;
}

.comparison-card li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.comparison-card.traditional li::before {
  content: "–";
  color: #777;
}

.comparison-card.wrappy li::before {
  content: "✓";
  color: #d71920;
}

.comparison-link {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .4px;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid #d71920;
}

/* =========================================
   BARRA MOBILE FISSA
   ========================================= */
.mobile-offer-bar {
  display: none;
}

@media (max-width: 900px) {
  body {
    padding-bottom: 86px;
  }

  .mobile-offer-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: block;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(6, 6, 6, .76);
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    border-top: 1px solid rgba(215,25,32,.72);
  }

  .mobile-offer-bar a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #d71920;
    border-radius: 16px 0 16px 0;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .4px;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mid-cta-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .mid-cta-btn {
    width: 100%;
    justify-content: center;
  }

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

@media (max-width: 560px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }

  .comparison-card {
    padding: 30px 26px;
  }
}


/* =========================================
   MENU MOBILE FULLSCREEN
   ========================================= */
@media (max-width: 900px) {
  .menu-toggle {
    position: relative;
    z-index: 1302;
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    margin: 0 auto;
    background: #fff;
    border-radius: 999px;
    transition:
      transform .35s ease,
      opacity .25s ease,
      width .35s ease;
    transform-origin: center;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1301;
    width: 100%;
    height: 100dvh;
    min-height: 100vh;
    padding: 96px 24px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(5,5,5,.97);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    border: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    transition:
      opacity .35s ease,
      visibility .35s ease,
      transform .35s ease;
  }

  .main-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    width: auto;
    padding: 8px 14px;
    color: #fff;
    font-size: clamp(21px, 6vw, 30px);
    font-weight: 300 !important;
    line-height: 1.05;
    letter-spacing: .2px;
    text-align: center;
  }

  .main-nav a.active::after {
    bottom: 2px;
    left: 50%;
    right: auto;
    width: 42px;
    transform: translateX(-50%);
  }

  .main-nav .btn-nav {
    margin-top: 12px;
    padding: 14px 22px;
    font-size: clamp(17px, 4.8vw, 22px);
    border-radius: 16px 0 16px 0;
  }

  body.menu-open {
    overflow: hidden;
  }
}


/* Regolazione posizione menu mobile */
@media (max-width: 900px) {
  .main-nav {
    justify-content: flex-start;
    padding-top: 125px;
  }
}


/* =========================================
   OTTIMIZZAZIONI MOBILE HERO / CARATTERISTICHE / TECNOLOGIA
   ========================================= */
@media (max-width: 900px) {

  /* Nasconde le 5 icone laterali presenti nella Hero */
  .hero-icons {
    display: none !important;
  }

  /* Migliore inquadratura per immagine verticale mobile */
  .hero::before {
    background-position: center center;
  }

  /* Caratteristiche trasformate in slider orizzontale */
  .features {
    overflow: hidden;
  }

  .features h2 {
    margin-bottom: 34px;
  }

  .feature-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 2px 26px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    overscroll-behavior-inline: contain;
  }

  .feature-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-grid article {
    flex: 0 0 88%;
    min-height: 280px;
    padding: 34px 26px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 28px 0 28px 0;
    background: #fff;
    scroll-snap-align: start;
    transition:
      transform .35s ease,
      border-color .35s ease,
      background .35s ease;
  }

  .feature-grid article:hover {
    transform: translateY(-6px);
    border-color: rgba(215,25,32,.45) !important;
  }

  .feature-grid .icon {
    height: 80px;
    margin-bottom: 20px;
  }

  .feature-grid .icon img {
    width: 78px;
    height: 78px;
  }

  .feature-grid article h3 {
    font-size: 21px;
    margin-bottom: 14px;
  }

  .feature-grid article p {
    font-size: 16px;
    font-weight: 300;
  }

  .feature-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
  }

  .feature-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,.22);
    transition: width .25s ease, background .25s ease;
  }

  .feature-dot.active {
    width: 28px;
    background: #d71920;
  }

  .feature-swipe-hint {
    display: block;
    margin-top: 14px;
    color: #777;
    font-size: 13px;
    font-weight: 300;
    text-align: center;
  }

  /* Margine superiore prima del titolo Tecnologia */
  .technology {
    padding-top: 20px;
  }

  .tech-text {
    padding-top: 20px;
  }
}

@media (min-width: 901px) {
  .feature-dots,
  .feature-swipe-hint {
    display: none;
  }
}


/* IMMAGINE HERO DEDICATA SOLO AL MOBILE */
@media (max-width: 900px) {
  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,.93) 0%,
        rgba(0,0,0,.82) 38%,
        rgba(0,0,0,.38) 70%,
        rgba(0,0,0,.88) 100%
      ),
      url("img/sfondo-top-mobile.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
}


/* =========================================
   HERO MOBILE: FOTO PIÙ VISIBILE E PULSANTI IN BASSO
   ========================================= */
@media (max-width: 900px) {

  .hero {
    min-height: 100svh;
    padding-top: 96px;
    padding-bottom: 0;
  }

  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,.72) 0%,
        rgba(0,0,0,.48) 28%,
        rgba(0,0,0,.16) 58%,
        rgba(0,0,0,.48) 100%
      ),
      url("img/sfondo-top-mobile.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: translateY(var(--hero-parallax)) scale(1.01);
  }

  /* Elimina lo spazio vuoto centrale: la macchina è già nello sfondo */
  .hero-image.placeholder {
    display: none;
  }

  .hero-grid {
    min-height: calc(100svh - 96px);
    display: block;
  }

  .hero-text {
    min-height: calc(100svh - 96px);
    display: flex;
    flex-direction: column;
  }

  .hero h1,
  .hero h2,
  .hero p,
  .hero-proof {
    position: relative;
    z-index: 2;
  }

  .hero h1,
  .hero h2,
  .hero p {
    text-shadow: 0 2px 14px rgba(0,0,0,.65);
  }

  /* I due pulsanti scendono in fondo alla Hero */
  .hero-buttons {
    margin-top: auto;
    margin-bottom: 20px;
    padding-top: 34px;
  }
}

/* HERO MOBILE PIÙ ALTA - TEST */
@media (max-width: 900px) {
  .hero { min-height: calc(100svh + 200px); }
  .hero::before {
    background-position: center 35%;
    background-color: #050505;
  }
  .hero-grid,
  .hero-text { min-height: calc(100svh + 104px); }
  .hero-buttons { margin-top: auto; margin-bottom: 20px; }
}

/* HERO MOBILE: INQUADRATURA PIÙ BASSA E ZOOM RIDOTTO */
@media (max-width: 900px) {
  .hero::before {
    background-size: auto 100%;
    background-position: center 70px;
    background-color: #050505;
    transform: translateY(var(--hero-parallax)) scale(1);
  }
}

/* HERO MOBILE: PRODOTTO PIÙ VISIBILE */
@media (max-width: 900px) {
  .hero::before {
    background:
      linear-gradient(180deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.45) 24%,rgba(0,0,0,.08) 52%,rgba(0,0,0,.42) 100%),
      url("img/sfondo-top-mobile.jpg");
    background-size: cover;
    background-position: 58% center;
    background-repeat: no-repeat;
    transform: translateY(var(--hero-parallax)) scale(1);
  }
}


/* =========================================
   TECNOLOGIA MOBILE: SFUMATURE SOPRA/SOTTO IMMAGINE WRAPPY
   ========================================= */
@media (max-width: 900px) {
  .tech-image {
    position: relative;
    margin-top: -18px;
    min-height: 400px;
    height: 56vh;
    overflow: hidden;
  }

  .tech-image::before,
  .tech-image::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .tech-image::before {
    top: 0;
    height: 90px;
    background: linear-gradient(
      180deg,
      rgba(6,6,6,1) 0%,
      rgba(6,6,6,.82) 34%,
      rgba(6,6,6,0) 100%
    );
  }

  .tech-image::after {
    bottom: 0;
    height: 110px;
    background: linear-gradient(
      0deg,
      rgba(6,6,6,1) 0%,
      rgba(6,6,6,.82) 34%,
      rgba(6,6,6,0) 100%
    );
  }

  .tech-image img {
    position: relative;
    z-index: 1;
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transform: translateY(-10px);
  }
}


/* =========================================
   FIX SCROLL VERTICALE SU SLIDER MOBILE
   Permette di continuare a scorrere la pagina anche
   quando il gesto inizia sopra Caratteristiche o FAQ.
   ========================================= */
@media (max-width: 900px) {
  .feature-grid,
  .faq-slider {
    touch-action: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
  }
}


/* Pulsante offerta nel menu: visibile solo su desktop */
.desktop-offer-btn {
  color: #fff !important;
  background: #d71920;
  padding: 15px 22px !important;
  border-radius: 15px 0 15px 0;
  white-space: nowrap;
}

.desktop-offer-btn::after {
  display: none !important;
}

.desktop-offer-btn:hover {
  background: #bb151b;
}

@media (max-width: 900px) {
  .desktop-offer-btn {
    display: none !important;
  }
}


/* =========================================
   GALLERIA PRODOTTO
   ========================================= */
.product-gallery {
  padding: 84px 0;
  background: #fff;
  overflow: hidden;
}

.product-gallery-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.product-gallery-heading > span {
  display: block;
  margin-bottom: 8px;
  color: #d71920;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.product-gallery-heading h2 {
  margin-bottom: 14px;
  font-family: 'Anton', 'Roboto Condensed', Arial, sans-serif;
  font-size: clamp(38px, 4.8vw, 56px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.product-gallery-heading p {
  color: #555;
  font-size: 18px;
  font-weight: 300;
}

.product-gallery-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.product-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px 0 20px 0;
  background: #eee;
  cursor: zoom-in;
}

.product-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease, filter .35s ease;
}

.product-gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.05) contrast(1.04);
}

.product-gallery-dots,
.product-gallery-swipe-hint {
  display: none;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 18px;
}

.gallery-lightbox-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px 0 20px 0;
  background: #111;
}

.gallery-lightbox-image-wrap img {
  width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
}

.gallery-lightbox-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  color: #fff;
  background: rgba(0,0,0,.58);
  border-radius: 12px 0 12px 0;
  font-size: 13px;
  font-weight: 400;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  border: 0;
  color: #fff;
  background: rgba(17,17,17,.88);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover {
  background: #d71920;
}

.gallery-lightbox-close {
  position: absolute;
  top: -18px;
  right: 40px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 31px;
  line-height: 1;
}

.gallery-lightbox-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
}

.gallery-lightbox-arrow:hover {
  transform: scale(1.08);
}

body.gallery-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .product-gallery {
    padding: 72px 0;
  }

  .product-gallery-heading {
    margin-bottom: 30px;
  }

  .product-gallery-heading p {
    font-size: 16px;
  }

  .product-gallery-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 6px 2px 24px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
  }

  .product-gallery-track::-webkit-scrollbar {
    display: none;
  }

  .product-gallery-item {
    flex: 0 0 88%;
    scroll-snap-align: start;
    aspect-ratio: 4 / 3;
  }

  .product-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
  }

  .product-gallery-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,.22);
    transition: width .25s ease, background .25s ease;
  }

  .product-gallery-dot.active {
    width: 28px;
    background: #d71920;
  }

  .product-gallery-swipe-hint {
    display: block;
    margin-top: 14px;
    color: #777;
    font-size: 13px;
    font-weight: 300;
    text-align: center;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox-dialog {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .gallery-lightbox-image-wrap img {
    max-height: 74vh;
  }

  .gallery-lightbox-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }

  .gallery-lightbox-arrow:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .gallery-lightbox-prev {
    left: 10px;
  }

  .gallery-lightbox-next {
    right: 10px;
  }

  .gallery-lightbox-close {
    top: -54px;
    right: 0;
  }
}

/* =========================================
   FIX DEFINITIVO GALLERIA WRAPPY
   Immagini intere + popup bianco
   ========================================= */

/* ANTEPRIME DESKTOP E MOBILE */
.product-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px 0 20px 0;
  background: #ffffff;
  cursor: zoom-in;
}

/* Mostra sempre tutta l'immagine senza ritagli */
.product-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain !important;
  object-position: center center;
  background: #ffffff;
  transition: transform .45s ease, filter .35s ease;
}

/* Zoom leggero senza tagliare l'immagine */
.product-gallery-item:hover img {
  transform: scale(1.03);
  filter: brightness(1.03) contrast(1.02);
}


/* POPUP LIGHTBOX */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Sfondo generale completamente bianco */
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Contenitore centrale */
.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 94vw);
  height: min(900px, 90vh);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 18px;
}

/* Area immagine completamente bianca */
.gallery-lightbox-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px 0 20px 0;
  background: #ffffff !important;
}

/* Immagine sempre completa e mai tagliata */
.gallery-lightbox-image-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain !important;
  object-position: center center;
  background: #ffffff;
}

/* Contatore */
.gallery-lightbox-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  color: #ffffff;
  background: rgba(0, 0, 0, .65);
  border-radius: 12px 0 12px 0;
  font-size: 13px;
  font-weight: 400;
}

/* Pulsanti */
.gallery-lightbox-close,
.gallery-lightbox-arrow {
  border: 0;
  color: #ffffff;
  background: rgba(17, 17, 17, .88);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover {
  background: #d71920;
}

.gallery-lightbox-close {
  position: absolute;
  top: -18px;
  right: 40px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 31px;
  line-height: 1;
}

.gallery-lightbox-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
}

.gallery-lightbox-arrow:hover {
  transform: scale(1.08);
}

body.gallery-open {
  overflow: hidden;
}


/* MOBILE */
@media (max-width: 900px) {

  .product-gallery-item {
    flex: 0 0 88%;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
    background: #ffffff;
  }

  .product-gallery-item img {
    object-fit: contain !important;
    object-position: center;
    background: #ffffff;
  }

  .gallery-lightbox {
    padding: 14px;
    background: #ffffff;
  }

  .gallery-lightbox-dialog {
    width: 100%;
    height: calc(100dvh - 28px);
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gallery-lightbox-image-wrap {
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #ffffff !important;
    border-radius: 0;
  }

  .gallery-lightbox-image-wrap img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain !important;
    object-position: center;
    background: #ffffff;
  }

  .gallery-lightbox-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }

  .gallery-lightbox-arrow:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .gallery-lightbox-prev {
    left: 8px;
  }

  .gallery-lightbox-next {
    right: 8px;
  }

  .gallery-lightbox-close {
    top: 8px;
    right: 8px;
  }

  .gallery-lightbox-counter {
    right: 10px;
    bottom: 10px;
  }
}

/* =========================================
   GALLERIA DESKTOP PIÙ GRANDE
   ========================================= */

@media (min-width: 901px) {

  .product-gallery .container {
    width: min(1500px, 96%);
  }

  .product-gallery-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
  }

  .product-gallery-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 260px;
    background: #ffffff;
  }

  .product-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
    background: #ffffff;
  }
}

/* =========================================
   SELETTORE LINGUA - MOBILE
   ========================================= */

@media (max-width: 900px) {

  .language-switcher {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; /* CENTRA IT | EN */
    gap: 10px;
    padding: 14px 0;

    /* ELIMINA LE RIGHE */
    border-top: none !important;
    border-bottom: none !important;
  }

  .language-switcher .language-link {
    width: auto !important;
    padding: 0 !important;
    font-size: 15px;
  }

  .language-separator {
    font-size: 15px;
  }
}

/* DISTANZIA LA LINEA ROSSA SOTTO IT / EN */

.language-switcher .language-link {
  position: relative;
  padding-bottom: 6px !important;
}

.language-switcher .language-link::after {
  bottom: 0 !important;
}

/* =========================================
   ICONE PULSANTI HERO
   ========================================= */

.hero-buttons .btn-icon-slot {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1.5px solid #ffffff;
  border-radius: 50%;

  color: #ffffff;
}


/* FRECCIA BIANCA VERSO IL BASSO */

.hero-buttons .arrow-down::before {
  content: "";
  width: 8px;
  height: 8px;

  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;

  transform: rotate(45deg) translate(-1px, -1px);

  animation: heroArrowBlink 1.2s ease-in-out infinite;
}


@keyframes heroArrowBlink {

  0%,
  100% {
    opacity: 1;
    transform: rotate(45deg) translate(-1px, -1px);
  }

  50% {
    opacity: 0.25;
    transform: rotate(45deg) translate(2px, 2px);
  }

}


/* ICONA PLAY BIANCA */

.hero-buttons .play-icon::before {
  content: "";

  width: 0;
  height: 0;

  margin-left: 3px;

  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #ffffff;
}


/* DISATTIVA EVENTUALI VECCHIE IMMAGINI PNG */

.hero-buttons .btn-icon-slot img {
  display: none !important;
}
/* SIMBOLO MARCHIO REGISTRATO ® */

.registered-mark {
  display: inline-block;
  margin-left: 5px;
  font-family: Arial, sans-serif;
  font-size: 0.22em;
  font-weight: 400;
  line-height: 0;
  vertical-align: top;
  transform: translateY(0.35em);
  color: #ffffff;
}

/* =========================================
   POPUP ISG PACK
   ========================================= */

.isg-popup {
  position: fixed;
  inset: 0;
  z-index: 5000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .28s ease,
    visibility .28s ease;
}

.isg-popup.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Sfondo scuro dietro il popup */
.isg-popup-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, .72);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Finestra bianca */
.isg-popup-dialog {
  position: relative;
  z-index: 1;

  width: min(560px, 100%);
  padding: 40px 38px 36px;

  color: #111111;
  background: #ffffff;

  border-radius: 20px 10px;

  text-align: center;

  box-shadow:
    0 28px 80px rgba(0, 0, 0, .34);

  transform: translateY(18px) scale(.97);

  transition:
    transform .3s ease;
}

.isg-popup.open .isg-popup-dialog {
  transform: translateY(0) scale(1);
}

/* Pulsante chiusura */
.isg-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;

  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  border: 0;
  border-radius: 50%;

  color: #444444;
  background: #f0f0f0;

  font-size: 28px;
  line-height: 1;

  cursor: pointer;

  transition:
    color .22s ease,
    background .22s ease,
    transform .22s ease;
}

.isg-popup-close:hover {
  color: #ffffff;
  background: #d71920;
  transform: rotate(90deg);
}

/* Logo ISG PACK */
.isg-popup-logo {
  min-height: 70px;
  margin: 0 auto 22px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.isg-popup-logo img {
  display: block;

  width: auto;
  max-width: 190px;
  max-height: 70px;

  object-fit: contain;
}

/* Titolo */
.isg-popup-dialog h2 {
  margin: 0 0 18px;

  color: #111111;

  font-family:
    'Anton',
    'Roboto Condensed',
    Arial,
    sans-serif;

  font-size: clamp(29px, 4vw, 39px);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}

.isg-popup-dialog h2 sup {
  position: relative;
  top: -.25em;

  margin-left: 2px;

  font-family: Arial, sans-serif;
  font-size: .32em;
}

/* Testo */
.isg-popup-dialog p {
  max-width: 470px;
  margin: 0 auto 30px;

  color: #4c4c4c;

  font-family:
    'Roboto Condensed',
    Arial,
    sans-serif;

  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
}

.isg-popup-dialog p strong {
  color: #111111;
  font-weight: 700;
}

/* Pulsanti */
.isg-popup-actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
}

.isg-popup-cancel,
.isg-popup-continue,
.isg-popup-call {
  min-height: 52px;
  padding: 15px 23px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px 8px;

  font-family:
    'Roboto Condensed',
    Arial,
    sans-serif;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;

  cursor: pointer;

  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease,
    color .22s ease,
    box-shadow .22s ease;
}

/* Pulsante secondario */
.isg-popup-cancel {
  border: 1px solid #cfcfcf;

  color: #333333;
  background: #ffffff;
}

.isg-popup-cancel:hover {
  color: #111111;
  background: #f2f2f2;
  border-color: #aaaaaa;

  transform: translateY(-1px);
}

/* Pulsante principale */
.isg-popup-continue {
  border: 1px solid #d71920;

  color: #ffffff;
  background: #d71920;

  box-shadow:
    0 12px 26px rgba(215, 25, 32, .24);
}

.isg-popup-continue:hover {
  color: #ffffff;
  background: #b9141a;
  border-color: #b9141a;

  transform: translateY(-2px);

  box-shadow:
    0 16px 32px rgba(215, 25, 32, .32);
}


/* Pulsante chiamata: nascosto su desktop */
.isg-popup-call {
  display: none;
  border: 1px solid #111111;
  color: #ffffff;
  background: #111111;
  gap: 10px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
}

.isg-popup-call:hover {
  color: #ffffff;
  background: #2a2a2a;
  border-color: #2a2a2a;
  transform: translateY(-2px);
}

/* Blocca lo scorrimento della pagina */
body.isg-popup-open {
  overflow: hidden;
}


/* MOBILE */
@media (max-width: 600px) {

  .isg-popup {
    padding: 16px;
  }

  .isg-popup-dialog {
    width: 100%;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;

    padding: 34px 21px 24px;

    border-radius: 20px 10px;
  }

  .isg-popup-close {
    top: 10px;
    right: 10px;

    width: 36px;
    height: 36px;

    font-size: 25px;
  }

  .isg-popup-logo {
    min-height: 56px;
    margin-bottom: 18px;
  }

  .isg-popup-logo img {
    max-width: 155px;
    max-height: 56px;
  }

  .isg-popup-dialog h2 {
    padding: 0 12px;

    font-size: 29px;
  }

  .isg-popup-dialog p {
    margin-bottom: 24px;

    font-size: 16px;
  }

  .isg-popup-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .isg-popup-cancel,
  .isg-popup-continue,
  .isg-popup-call {
    width: 100%;
    min-height: 54px;
  }

  .isg-popup-call {
    display: inline-flex;
  }
}

.footer-isg-logo img {
  width: 50%;
  height: auto;
  display: block;
}

.header-isg-logo img {
  width: 220px;
  height: auto;
  display: block;
  margin-left:260px;
}

@media (max-width: 900px) {
  .header-isg-logo img {
   width: 180px;
   margin-left:-5px;
  }
}

/* =========================================================
   MODULO RICHIESTA QUOTAZIONE WRAPPY 500B
   ========================================================= */
.isg-popup {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.isg-popup.open { display: flex; }

.isg-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.isg-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 32px 38px 34px;
  background: #fff;
  border: 1px solid rgba(215,25,32,.18);
  border-radius: 28px 10px;
  box-shadow: 0 30px 90px rgba(0,0,0,.44);
  text-align: left;
  scrollbar-width: thin;
  scrollbar-color: #d71920 #ededed;
}

.isg-popup-dialog::-webkit-scrollbar { width: 8px; }
.isg-popup-dialog::-webkit-scrollbar-track { background: #ededed; }
.isg-popup-dialog::-webkit-scrollbar-thumb { background: #d71920; border-radius: 10px; }

.isg-popup-logo {
  min-height: 48px;
  margin: 0 0 16px;
  justify-content: flex-start;
}

.isg-popup-logo img {
  max-width: 170px;
  max-height: 56px;
}

.isg-popup-heading {
  padding-right: 44px;
  margin-bottom: 24px;
}

.isg-popup-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #d71920;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.isg-popup-dialog .isg-popup-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 43px);
}

.isg-popup-dialog .isg-popup-heading p {
  max-width: 650px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.wrappy-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.wrappy-field-full { grid-column: 1 / -1; }

.wrappy-field label {
  display: block;
  margin-bottom: 7px;
  color: #171717;
  font-size: 14px;
  font-weight: 700;
}

.wrappy-field label > span:not(.wrappy-optional) { color: #d71920; }

.wrappy-optional {
  color: #747474;
  font-size: 12px;
  font-weight: 400;
}

.wrappy-field input,
.wrappy-field textarea {
  width: 100%;
  border: 1px solid #d2d2d2;
  border-radius: 13px 5px;
  padding: 13px 14px;
  color: #111;
  background: #fbfbfb;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.wrappy-field textarea {
  min-height: 104px;
  resize: vertical;
}

.wrappy-field input:focus,
.wrappy-field textarea:focus {
  border-color: #d71920;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(215,25,32,.10);
}

.wrappy-field input.is-invalid,
.wrappy-field textarea.is-invalid,
.wrappy-privacy.is-invalid {
  border-color: #d71920;
  box-shadow: 0 0 0 3px rgba(215,25,32,.09);
}

.wrappy-privacy {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin: 18px 0 14px;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #444;
  font-size: 13px;
  line-height: 1.42;
  cursor: pointer;
}

.wrappy-privacy input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #d71920;
}

.wrappy-privacy a {
  color: #b9141a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wrappy-form-error {
  min-height: 20px;
  margin-bottom: 8px;
  color: #b9141a;
  font-size: 14px;
  font-weight: 600;
}

.wrappy-submit,
.wrappy-success-close {
  width: 100%;
  min-height: 55px;
  border: 0;
  border-radius: 18px 7px;
  background: #d71920;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 15px 22px;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(215,25,32,.24);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.wrappy-submit:hover,
.wrappy-success-close:hover {
  background: #b9141a;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(215,25,32,.30);
}

.wrappy-submit:disabled {
  opacity: .65;
  cursor: wait;
  transform: none;
}

.wrappy-submit-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
}

.wrappy-phone-alternative {
  margin-top: 16px;
  text-align: center;
  color: #555;
  font-size: 14px;
}

.wrappy-phone-alternative span { margin-right: 5px; }

.wrappy-phone-alternative a {
  color: #111;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.wrappy-phone-alternative a:hover { color: #d71920; }

.wrappy-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.isg-success-view {
  padding: 32px 15px 12px;
  text-align: center;
}

.isg-success-view[hidden] { display: none !important; }

.isg-success-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf8ee;
  color: #1f8a43;
  font-size: 38px;
  font-weight: 900;
}

.isg-popup-dialog .isg-success-view h2 {
  margin-bottom: 13px;
  text-align: center;
}

.isg-popup-dialog .isg-success-view p {
  max-width: 560px;
  margin: 0 auto 25px;
  text-align: center;
}

.wrappy-success-close {
  max-width: 330px;
  margin: auto;
}

body.isg-popup-open { overflow: hidden; }

@media (max-width: 650px) {
  .isg-popup { padding: 10px; }

  .isg-popup-dialog {
    max-height: calc(100dvh - 20px);
    padding: 26px 18px 22px;
    border-radius: 21px 8px;
  }

  .isg-popup-logo {
    min-height: 42px;
    margin-bottom: 12px;
  }

  .isg-popup-logo img {
    max-width: 145px;
    max-height: 46px;
  }

  .isg-popup-heading {
    padding-right: 30px;
    margin-bottom: 19px;
  }

  .isg-popup-dialog .isg-popup-heading h2 {
    padding: 0;
    font-size: 30px;
  }

  .isg-popup-dialog .isg-popup-heading p {
    margin-bottom: 0;
    font-size: 15px;
  }

  .wrappy-form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .wrappy-field-full { grid-column: auto; }

  .wrappy-field input,
  .wrappy-field textarea {
    font-size: 16px;
    padding: 12px 13px;
  }

  .wrappy-field textarea { min-height: 88px; }

  .wrappy-privacy {
    margin: 14px 0 10px;
    padding: 9px 8px;
    font-size: 12.5px;
  }

  .wrappy-phone-alternative {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
}


/* =========================================================
   CTA E POPUP RICHIESTA DI RICHIAMATA
   ========================================================= */
.mid-cta-actions,
.cta-action-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.callback-btn {
  border: 2px solid #111;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-family: 'Roboto Condensed', Arial, sans-serif;
}

.callback-btn:hover {
  background: #111;
  color: #fff;
}

.callback-btn-dark {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.callback-btn-dark:hover {
  background: #fff;
  color: #111;
}

.callback-popup-dialog {
  max-width: 650px;
}

.callback-heading {
  text-align: center;
  padding-right: 0;
}

.callback-heading p {
  margin-left: auto !important;
  margin-right: auto !important;
}

.callback-grid {
  grid-template-columns: 1fr 1fr;
}

.wrappy-field select {
  width: 100%;
  border: 1px solid #d2d2d2;
  border-radius: 13px 5px;
  padding: 13px 42px 13px 14px;
  color: #111;
  background: #fbfbfb;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 16px;
  outline: none;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.wrappy-field select:focus {
  border-color: #d71920;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(215,25,32,.10);
}

.wrappy-field select.is-invalid {
  border-color: #d71920;
  box-shadow: 0 0 0 3px rgba(215,25,32,.09);
}

.callback-submit {
  background: #d71920;
}

.callback-service-hours {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 16px;
  text-align: center;
  color: #444;
  font-size: 14px;
  line-height: 1.4;
}

.callback-service-hours strong {
  color: #111;
}

.callback-success-view {
  padding: 32px 15px 12px;
  text-align: center;
}

.callback-success-view[hidden] {
  display: none !important;
}

.callback-success-view h2 {
  text-align: center;
}

.callback-success-view p {
  max-width: 520px;
  margin: 0 auto 25px;
  text-align: center;
}

@media (max-width: 900px) {
  .mid-cta-actions,
  .cta-action-stack {
    width: 100%;
  }

  .callback-btn {
    width: 100%;
  }
}

@media (max-width: 650px) {
  .callback-grid {
    grid-template-columns: 1fr;
  }

  .callback-popup-dialog {
    max-width: 100%;
  }
}


/* ===== CTA verde nella banda rossa ===== */
.mid-cta-actions{
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:center;
}

.mid-cta-actions .btn,
.mid-cta-actions .callback-btn{
  width:100%;
  max-width:360px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.mid-cta-actions .callback-btn{
background: #defb05;
    border: 2px solid #defb05;
    color: #000;
    border-radius: 20px 0px;
}

.mid-cta-actions .callback-btn:hover{
     background: #cdff0c;
    border: 2px solid #cdff0c;
    color: #000;
    border-radius: 20px 0px;
}


/* =========================================================
   PRIVACY NELLO STESSO POPUP
   ========================================================= */
.privacy-inline-link{
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  color:#d71920;
  font:inherit;
  font-weight:700;
  text-decoration:underline;
  cursor:pointer;
}

.privacy-inline-link:hover{
  color:#a90f15;
}

.privacy-view[hidden]{
  display:none !important;
}

.privacy-view{
  max-height:78vh;
  overflow-y:auto;
  padding:2px 8px 10px;
  scrollbar-width:thin;
}

.privacy-back{
  border:0;
  background:transparent;
  color:#d71920;
  font-family:'Roboto Condensed',Arial,sans-serif;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  padding:8px 0 16px;
}

.privacy-back:hover{
  text-decoration:underline;
}

.privacy-document{
  color:#222;
}

.privacy-header{
  text-align:center;
  padding:6px 12px 22px;
  border-bottom:1px solid #ececec;
  margin-bottom:22px;
}

.privacy-header img{
  display:block;
  width:100%;
  max-width:250px;
  height:auto;
  margin:0 auto 20px;
}

.privacy-header > span{
  display:block;
  color:#d71920;
  font-size:13px;
  font-weight:700;
  letter-spacing:.8px;
  text-transform:uppercase;
  margin-bottom:8px;
}

.privacy-header h2{
  margin:0 0 10px;
  font-size:clamp(25px,4vw,34px);
  line-height:1.12;
  text-transform:none;
}

.privacy-header p{
  margin:0;
  color:#666;
  font-size:14px;
}

.privacy-block{
  margin:0 0 16px;
  padding:18px 20px;
  background:#f8f8f8;
  border:1px solid #ececec;
  border-radius:14px 4px;
}

.privacy-block h3{
  margin:0 0 9px;
  color:#111;
  font-family:'Roboto Condensed',Arial,sans-serif;
  font-size:16px;
  font-weight:700;
  letter-spacing:.2px;
  text-transform:uppercase;
}

.privacy-block p{
  margin:0 0 9px;
  color:#444;
  font-size:14px;
  line-height:1.65;
}

.privacy-block p:last-child{
  margin-bottom:0;
}

.privacy-block a{
  color:#d71920;
  overflow-wrap:anywhere;
}

.privacy-external-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:8px;
  padding:12px 18px;
  background:#111;
  color:#fff !important;
  text-decoration:none;
  border-radius:12px 3px;
  font-size:14px;
  font-weight:700;
}

.privacy-external-link:hover{
  background:#d71920;
}

.privacy-trust-box{
  margin:20px 0;
  padding:18px 20px;
  background:#f1f2f3;
  border-left:4px solid #d71920;
  border-radius:4px 12px 12px 4px;
}

.privacy-trust-box strong{
  display:block;
  margin-bottom:7px;
  color:#111;
  font-size:15px;
}

.privacy-trust-box p{
  margin:0;
  color:#444;
  font-size:14px;
  line-height:1.55;
}

.privacy-back-bottom{
  display:block;
  margin:4px auto 0;
  padding:12px 18px;
}

@media(max-width:650px){
  .privacy-view{
    max-height:74vh;
    padding-right:2px;
  }

  .privacy-block{
    padding:15px;
  }

  .privacy-header{
    padding-left:4px;
    padding-right:4px;
  }

  .privacy-header img{
    max-width:210px;
  }
}


/* SEO/GEO: autorevolezza e collegamento alla scheda tecnica */
.solution-authority{
  margin-top:30px;
  padding:22px 24px;
  background:#fff;
  border:1px solid #e5e5e5;
  border-left:4px solid #d71920;
  border-radius:4px 16px 16px 4px;
  box-shadow:0 12px 30px rgba(0,0,0,.05);
}
.solution-authority h3{
  margin:0 0 9px;
  font-family:'Roboto Condensed',Arial,sans-serif;
  font-size:18px;
  font-weight:700;
  text-transform:none;
}
.solution-authority p{
  margin:0;
  font-size:16px;
  line-height:1.65;
}
.solution-authority a{
  color:#d71920;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}
.solution-authority a:hover{
  color:#a90f15;
}
