.category-hero { position: relative; height: auto; min-height: 85vh; background: center/cover no-repeat; background-image: var(--img); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px 40px; }
.category-hero-overlay { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.35)); padding: 20px; width: 100%; }
.category-intro-img { 
  max-width: 90%; 
  width: 1200px; 
  height: auto; 
  margin: 0 0 30px 0; 
  padding: 0; 
  display: block; 
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}
.category-intro-img:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px rgba(30, 144, 255, 0.4)) drop-shadow(0 0 30px rgba(30, 144, 255, 0.2));
}

/* Blur personalizzati per ogni sezione */
.blur-waterflex .category-intro-img:hover {
  filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.4)) drop-shadow(0 0 30px rgba(0, 191, 255, 0.2)); /* azzurro acqua */
}

.blur-lattice .category-intro-img:hover {
  filter: drop-shadow(0 0 15px rgba(144, 238, 144, 0.5)) drop-shadow(0 0 30px rgba(144, 238, 144, 0.3)); /* verde chiaro */
}

.blur-molle-indipendenti .category-intro-img:hover {
  filter: drop-shadow(0 0 15px rgba(128, 128, 128, 0.4)) drop-shadow(0 0 30px rgba(128, 128, 128, 0.2)); /* grigio topo */
}

.blur-bonnel .category-intro-img:hover {
  filter: drop-shadow(0 0 15px rgba(188, 143, 143, 0.5)) drop-shadow(0 0 30px rgba(188, 143, 143, 0.3)); /* marrone rosa carne */
}

.blur-reti .category-intro-img:hover {
  filter: drop-shadow(0 0 15px rgba(169, 169, 169, 0.4)) drop-shadow(0 0 30px rgba(169, 169, 169, 0.2)); /* marrone/grigio chiaro */
}

.blur-guanciali .category-intro-img:hover {
  filter: drop-shadow(0 0 15px rgba(186, 85, 211, 0.4)) drop-shadow(0 0 30px rgba(186, 85, 211, 0.2)); /* viola chiaro */
}

.blur-accessori .category-intro-img:hover {
  filter: drop-shadow(0 0 15px rgba(0, 123, 255, 0.5)) drop-shadow(0 0 30px rgba(0, 123, 255, 0.3)); /* blu acceso */
}

.blur-contract .category-intro-img:hover {
  filter: drop-shadow(0 0 15px rgba(101, 67, 33, 0.5)) drop-shadow(0 0 30px rgba(101, 67, 33, 0.3)); /* marrone scuro */
}
.category-hero-overlay .carousel-motto { 
  margin-top: 0; 
  margin-bottom: 30px; 
  padding-top: 0; 
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  /* Header e Logo */
  .site-header {
    padding: 12px 0;
  }
  
  .logo {
    max-width: 120px;
    height: auto;
  }
  
  /* Hero Carousel Home */
  .hero-carousel {
    height: 50vh;
    min-height: 300px;
  }
  
  .carousel-motto {
    font-size: 1.2rem;
    padding: 12px;
    line-height: 1.4;
  }
  
  .category-hero {
    min-height: 70vh;
    padding: 80px 15px 30px;
  }
  .category-intro-img {
    max-width: 95%;
    width: 100%;
  }
  .category-intro-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 12px rgba(30, 144, 255, 0.35)) drop-shadow(0 0 25px rgba(30, 144, 255, 0.15));
  }
  .blur-waterflex .category-intro-img:hover { filter: drop-shadow(0 0 12px rgba(0, 191, 255, 0.35)) drop-shadow(0 0 25px rgba(0, 191, 255, 0.15)); }
  .blur-lattice .category-intro-img:hover { filter: drop-shadow(0 0 12px rgba(144, 238, 144, 0.45)) drop-shadow(0 0 25px rgba(144, 238, 144, 0.25)); }
  .blur-molle-indipendenti .category-intro-img:hover { filter: drop-shadow(0 0 12px rgba(128, 128, 128, 0.35)) drop-shadow(0 0 25px rgba(128, 128, 128, 0.15)); }
  .blur-bonnel .category-intro-img:hover { filter: drop-shadow(0 0 12px rgba(188, 143, 143, 0.45)) drop-shadow(0 0 25px rgba(188, 143, 143, 0.25)); }
  .blur-reti .category-intro-img:hover { filter: drop-shadow(0 0 12px rgba(169, 169, 169, 0.35)) drop-shadow(0 0 25px rgba(169, 169, 169, 0.15)); }
  .blur-guanciali .category-intro-img:hover { filter: drop-shadow(0 0 12px rgba(186, 85, 211, 0.35)) drop-shadow(0 0 25px rgba(186, 85, 211, 0.15)); }
  .blur-accessori .category-intro-img:hover { filter: drop-shadow(0 0 12px rgba(0, 123, 255, 0.45)) drop-shadow(0 0 25px rgba(0, 123, 255, 0.25)); }
  .blur-contract .category-intro-img:hover { filter: drop-shadow(0 0 12px rgba(101, 67, 33, 0.45)) drop-shadow(0 0 25px rgba(101, 67, 33, 0.25)); }
  .category-hero-overlay .carousel-motto {
    font-size: 1.2rem;
    padding: 0 10px;
  }
  .category-gallery img {
    height: 450px;
  }
  
  .motto-section {
    padding: 20px 20px 40px;
  }
}

@media (max-width: 480px) {
  .category-hero {
    min-height: 60vh;
    padding: 70px 10px 20px;
  }
  .category-intro-img {
    max-width: 98%;
  }
  .category-intro-img:hover {
    transform: scale(1.05);
  }
  .category-hero-overlay .carousel-motto {
    font-size: 1rem;
  }
  .category-gallery img {
    height: 350px;
  }
}
.category-gallery { overflow: hidden; }
.category-gallery .category-inner { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; padding: 24px 0; }
.category-gallery .marquee { display: flex; align-items: center; gap: 24px; width: max-content; padding: 24px 0; animation: marquee-left 60s linear infinite; }
.category-gallery:hover .marquee { animation-play-state: paused; }
.category-gallery img { width: auto; height: 650px; object-fit: cover; border-radius: 10px; border: 1px solid #e0e0e0; transition: transform .35s ease; }
.category-gallery img:hover { transform: scale(1.05); }
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
:root {
  --primary: #8B0000; /* CENTRO ROSSO primary */
  --secondary: #F5F5DC; /* beige */
  --accent: #FFD700; /* gold */
  --text: #333333;
  --muted: rgb(180,173,166);
  --bg: #C9B8A0; /* site background */
  --bg-soft: #f1e8da;
  --border: #d7cbb9;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

/* Menu orizzontale */
.horizontal-menu {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  padding: 24px 20px;
  background: #ffffff !important;
  border-bottom: 1px solid #e0e0e0;
  overflow: visible; /* NO scroll, tutto visibile */
  flex-wrap: wrap; /* Permette il wrap su schermi piccoli */
  position: relative;
  z-index: 50;
}

@media (max-width: 1200px) {
  .horizontal-menu {
    gap: 25px;
    padding: 20px 15px;
  }
  
  .menu-item > a {
    font-size: 16px;
    padding: 12px 16px;
  }
}

@media (max-width: 1024px) {
  .horizontal-menu {
    gap: 20px;
    padding: 18px 12px;
  }
  
  .menu-item > a {
    font-size: 15px;
    padding: 10px 14px;
    letter-spacing: 1.2px;
  }
}

@media (max-width: 768px) {
  .horizontal-menu {
    gap: 15px;
    padding: 16px 10px;
    justify-content: center;
  }
  
  .menu-item > a {
    font-size: 13px;
    padding: 8px 10px;
    letter-spacing: 1px;
  }
  
  .dropdown {
    min-width: 140px;
    font-size: 12px;
  }
  
  .dropdown a {
    font-size: 12px;
    padding: 10px 16px;
  }
}

@media (max-width: 600px) {
  .horizontal-menu {
    gap: 10px;
    padding: 14px 8px;
  }
  
  .menu-item > a {
    font-size: 11px;
    padding: 6px 8px;
    letter-spacing: 0.8px;
  }
}

.menu-item {
  position: relative;
  z-index: 10; /* Permette al dropdown di uscire dal contenitore */
}

.menu-item.has-dropdown:hover {
  z-index: 9999; /* Massima priorità quando il dropdown è aperto */
}

.menu-item > a {
  font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1.8px;
  color: #000000;
  text-decoration: none;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
  background: transparent !important;
}

.menu-item > a .arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.menu-item.has-dropdown:hover > a .arrow {
  transform: rotate(180deg);
}

.menu-item > a:hover {
  color: #666666;
}

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

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #ffffff !important;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10000; /* Z-index altissimo per essere sempre sopra tutto */
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  margin-top: 8px; /* Spazio dal menu principale */
}

@media (max-width: 768px) {
  .dropdown {
    min-width: 160px;
    padding: 8px 0;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
  }
}

.dropdown a {
  font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 1px;
  color: #000000 !important; /* Nero sempre */
  text-decoration: none;
  padding: 14px 28px;
  display: block;
  transition: background 0.2s ease;
  background: transparent !important;
  white-space: nowrap;
}

.dropdown a:hover {
  background: #f5f5f5 !important;
  color: #000000 !important; /* Nero anche in hover */
}

/* 4 Frame 2x2 grid con hover */
.four-frames-grid {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 16px;
  background: #ffffff !important;
}

.frame-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.frame-row:last-child {
  margin-bottom: 0;
}

.frame-card {
  display: flex;
  flex-direction: column;
}

.frame-image-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.frame-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease, filter 0.3s ease;
  background: #f5f5f5 !important;
}

.frame-image-wrapper:hover img {
  transform: scale(1.03);
  filter: grayscale(80%);
}

.frame-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255,255,255,0.92);
  color: #000;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.frame-image-wrapper:hover .frame-label {
  opacity: 1;
  transform: translateY(0);
}

.frame-link { text-decoration: none; color: inherit; display: block; }

.category-section { padding: 60px 20px; background: #ffffff; border-top: 1px solid #e0e0e0; }
.category-inner { max-width: 1100px; margin: 0 auto; }
.category-inner h2 { font-weight: 600; letter-spacing: 1px; margin: 0 0 10px; }
.category-inner p { margin: 0; color: #555; }

.frame-description {
  text-align: center;
  padding: 0 20px;
}

.frame-description h3 {
  font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 2px;
  color: #000000;
  margin: 0 0 8px 0;
  background: transparent !important;
}

.frame-description p {
  font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #666666;
  margin: 0;
  background: transparent !important;
}

@media (max-width: 768px) {
  /* Grid 4 immagini */
  .four-frames-grid { 
    padding: 24px 12px; 
  }
  
  .frame-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .frame-image-wrapper {
    height: 250px;
  }
  
  .frame-label {
    font-size: 1rem;
    padding: 8px 12px;
  }
}

/* Motto sotto i frame */
.motto-section {
  width: 100vw;
  padding: 40px 20px 40px;
  text-align: center;
  background: #ffffff !important;
}

.motto-wrap { display: inline-flex; align-items: center; gap: 10px; }
.note-dot { display: none; }

.carousel-motto {
  font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 4vw, 42px);
  color: #000000;
  text-align: center;
  padding: 0 20px;
  margin: 0;
  letter-spacing: 0.5px;
  background: transparent !important;
}

.motto-signature {
  display: block !important;
  margin-top: 10px;
  width: 100% !important;
  text-align: center !important;
}

.carousel-motto span.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px);
  will-change: transform, opacity;
}
.carousel-motto span.char.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 320ms ease, transform 320ms ease;
}

/* Carosello Hero con slide left e zoom out */
.hero-carousel {
  width: 100vw;
  height: 70vh;
  position: relative;
  overflow: hidden;
  background: #fff !important;
  background-color: #fff !important;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: #fff !important;
  background-color: #fff !important;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
  background: #fff !important;
  background-color: #fff !important;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  z-index: 1;
  background: #fff !important;
  background-color: #fff !important;
}

.carousel-slide.active {
  transform: translateX(0);
  z-index: 2;
}

.carousel-slide.next {
  transform: translateX(100%);
  z-index: 1;
}

.carousel-slide.sliding-in {
  animation: slideInFromRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  z-index: 3;
}

.carousel-slide.sliding-out {
  animation: slideOutToLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  z-index: 2;
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slideOutToLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff !important;
  background-color: #fff !important;
}

/* FORZA TUTTO BIANCO */
html, body {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

body {
  font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: #ffffff !important;
  line-height: 1.5;
}

/* Thick horizontal section bands */
html { scroll-behavior: smooth; }
.band { padding-top: clamp(56px, 8vh, 96px); padding-bottom: clamp(56px, 8vh, 96px); }
.site-header { scroll-margin-top: 0; }
.band { scroll-margin-top: 80px; }

/* Hero carousel overlay */
.hero.hero-has-bg h1 { color: #fff; }
.hero.hero-has-bg p { color: #eaf0ff; }
.hero-overlay { position: absolute; inset: 0; display: grid; align-items: center; background: linear-gradient(180deg, rgba(3,16,40,0.35), rgba(3,16,40,0.35)); pointer-events: none; }
.hero-overlay .hero-inner { pointer-events: auto; }

/* Fullscreen image frame */
.fullscreen { height: clamp(60vh, calc(100vw * 1510 / 2952), 92vh); }
.slider-viewport { width: 100%; height: 100%; overflow: hidden; position: relative; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; height: 100%; animation: slideX 24s infinite; }
.slider .slide { position: relative; }
.slider .slide::before { content: ""; position: absolute; inset: 0; background: center/cover no-repeat; background-image: var(--img); }
@keyframes slideX {
  0% { transform: translateX(0%); }
  20% { transform: translateX(0%); }
  25% { transform: translateX(-100%); }
  45% { transform: translateX(-100%); }
  50% { transform: translateX(-200%); }
  70% { transform: translateX(-200%); }
  75% { transform: translateX(-300%); }
  95% { transform: translateX(-300%); }
  100% { transform: translateX(0%); }
}

/* Half-height 2x2 square grid */
.halfframe { height: 50vh; padding: 0; }
.quad { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; gap: 0; width: 100vw; height: 100%; }
.tile { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; }
.tile::before { content: ""; position: absolute; inset: 0; background: center/cover no-repeat; background-image: var(--img); transition: transform .6s ease; }
.tile:hover::before { transform: scale(1.06); }

/* CENTRO ROSSO new sections */
.hero-split { background: var(--bg); }
.hero-split-inner { display: grid; grid-template-columns: 2fr 1fr; height: clamp(60vh, calc(100vw * 1510 / 2952), 92vh); }
.hero-main { position: relative; background: center/cover no-repeat; background-image: var(--img); }
.hero-overlay-copy { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; padding: 28px; }
.hero-overlay-copy h1 { color: #fff; font-size: clamp(24px, 4vw, 56px); text-shadow: 0 2px 16px rgba(0,0,0,0.35); max-width: 24ch; }
.hero-grid { display: grid; grid-template-rows: repeat(3, 1fr); }
.hero-grid .cell { background: center/cover no-repeat; background-image: var(--img); }

.product-intro { background: var(--bg); padding: 48px 0; }
.pi-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; width: min(1200px, 92vw); margin: 0 auto; align-items: center; }
.logo-tile { display: grid; place-items: center; }
.logo-mark { font-size: 28px; padding: 20px 28px; border-radius: 12px; background: var(--secondary); }
.text-block h2 { margin: 0 0 10px; color: var(--primary); }

.certs-strip { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.certs-track { display: grid; grid-auto-flow: column; gap: 18px; overflow: auto; padding: 12px 16px; scroll-snap-type: x mandatory; }
.certs-track .badge { display: inline-block; white-space: nowrap; padding: 8px 12px; border-radius: 999px; background: var(--secondary); border: 1px solid var(--border); color: var(--text); scroll-snap-align: start; font-weight: 700; }

.catalog-cta { background: var(--bg); display: grid; place-items: center; padding: 40px 0; }
.catalog-card { display: grid; gap: 12px; width: min(920px, 92vw); justify-items: center; }
.catalog-img { width: 100%; height: clamp(220px, 40vw, 420px); background: center/cover no-repeat; background-image: var(--img); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }

.collections { background: var(--bg); width: min(1200px, 92vw); margin: 0 auto; padding: 32px 0; display: grid; gap: 24px; }
.collections h2 { color: var(--primary); margin: 0 0 8px; text-align: center; }
.collection { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: center; }
.collection.alt { grid-template-columns: 1fr 1.2fr; }
.col-img { background: center/cover no-repeat; background-image: var(--img); height: clamp(240px, 40vw, 420px); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.col-copy h3 { margin: 0 0 8px; color: var(--text); }

.springs { background: var(--bg); padding: 32px 0; }
.springs-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: min(1200px, 92vw); margin: 0 auto; }
.spring-card { position: relative; background: center/cover no-repeat; background-image: var(--img); height: clamp(260px, 42vw, 460px); border-radius: 12px; overflow: hidden; display: grid; place-content: end start; gap: 12px; padding: 16px; }

.story { background: var(--bg); }
.story-img { position: relative; background: center/cover no-repeat; background-image: var(--img); height: clamp(320px, 48vw, 560px); }
.story-overlay { position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.35)); text-align: center; }
.story-overlay h3, .story-overlay p { color: #fff; }

.comfort { background: var(--bg); display: grid; place-items: center; padding: 40px 0; }
.comfort-card { display: grid; gap: 12px; width: min(920px, 92vw); justify-items: center; }
.comfort-img { width: 100%; height: clamp(220px, 40vw, 420px); background: center/cover no-repeat; background-image: var(--img); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }

.store-contact { background: var(--bg); display: grid; place-items: center; padding: 40px 0; }
.contact-card { display: grid; gap: 12px; width: min(920px, 92vw); justify-items: center; }
.contact-img { width: 100%; height: clamp(220px, 40vw, 420px); background: center/cover no-repeat; background-image: var(--img); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }

.stack-section { background: var(--bg); padding: 40px 0; }
.scroll-stack-scroller { position: relative; width: 100%; height: 80vh; overflow-y: auto; overflow-x: visible; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; transform: translateZ(0); will-change: scroll-position; }
.scroll-stack-inner { padding: 10vh 16px 40vh; min-height: 100%; display: grid; gap: 40px; }
.scroll-stack-card { height: clamp(240px, 45vw, 520px); border-radius: 24px; background: center/cover no-repeat; background-image: var(--img); box-shadow: var(--shadow); }
.scroll-stack-end { width: 100%; height: 1px; }

@media (max-width: 900px) {
  .hero-split-inner { grid-template-columns: 1fr; height: auto; }
  .hero-grid { grid-template-rows: 200px 200px 200px; }
  .collection, .collection.alt { grid-template-columns: 1fr; }
  .springs-inner { grid-template-columns: 1fr; }
}

/* Store locator band */
.store-locator { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.locator-card h2 { margin: 0 0 6px; }
.locator-actions { display: flex; align-items: stretch; gap: 8px; margin-top: 10px; }
.locator-input { flex: 1; min-width: 220px; border: 1px solid var(--border); border-radius: 10px; padding: 12px 12px; font-size: 16px; }
.locator-input:focus { outline: 2px solid rgba(11,95,255,0.2); border-color: var(--blue-600); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 16px 0;
}
.logo { height: 40px; width: auto; border-radius: 4px; }
.brand-link { display: inline-block; }
.logo { height: 140px; }
.main-nav { display: none; gap: 16px; align-items: center; justify-content: center; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 700; padding: 6px 10px; letter-spacing: 0.02em; }
.main-nav a:hover { color: var(--primary); }
.header-ctas { display: flex; gap: 8px; justify-content: center; }

.btn { 
  display: inline-flex; align-items: center; justify-content: center; 
  padding: 10px 16px; border-radius: 999px; text-decoration: none; 
  font-weight: 600; border: 1px solid transparent; cursor: pointer; 
}
.btn.primary, .btn.btn-primary { background: var(--primary); color: #fff; }
.btn.btn-primary:hover { background: #6f0000; }
.btn.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn.btn-outline:hover { background: var(--primary); color: #fff; }
.btn.btn-link { color: var(--primary); text-decoration: underline; }
.btn.full { width: 100%; }

.small { font-size: 12px; }
.muted { color: var(--muted); }

.hero { background: var(--secondary); border-bottom: 1px solid var(--border); }
.hero .container { padding-left: 32px; padding-right: 32px; }
.hero .lead { color: var(--muted); }
.hero-has-bg .lead { color: #eaf0ff; }
.hero-has-bg .btn.btn-outline { border-color: #fff; color: #fff; }
.hero-has-bg .btn.btn-outline:hover { background: #fff; color: var(--blue-900); }
.hero-has-bg .badges li { background: rgba(255,255,255,0.9); }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 56px 0; }
.hero-inner.single { max-width: 780px; }
.hero h1 { font-size: 42px; line-height: 1.2; margin: 0 0 12px; }
.hero .lead { font-size: 18px; color: var(--muted); margin: 0 0 16px; }
.hero-actions { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.badges { list-style: none; padding: 0; margin: 16px 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.badges li { background: rgba(255,255,255,0.95); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); text-align: center; }
.badges span { display: block; font-size: 22px; color: var(--blue-900); font-weight: 700; }

.hero-media { display: flex; align-items: center; justify-content: center; }
.hero-media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); background: #fff; }

.value { padding: 56px 0; }
.categories { padding: 40px 0; background: #fff; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.category-tile { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.category-tile img { width: 100%; height: 380px; object-fit: cover; display: block; transition: transform .4s ease; }
.category-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.45)); }
.category-tile .label { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,0.95); color: var(--blue-900); padding: 8px 12px; border-radius: 999px; font-weight: 700; border: 1px solid var(--border); }
.category-tile:hover img { transform: scale(1.04); }
.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.checklist { padding-left: 18px; }
.checklist li { margin: 10px 0; }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.pill { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--blue-900); font-weight: 600; }

.b2b { background: var(--bg-soft); padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }

.contact { padding: 56px 0; }
.form-card h2 { margin-top: 0; }
.grid-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; }
.field input, .field textarea { border: 1px solid var(--border); border-radius: 10px; padding: 12px 12px; font-size: 16px; }
.field input:focus, .field textarea:focus { outline: 2px solid rgba(11,95,255,0.2); border-color: var(--blue-600); }
.field input.invalid { border-color: #e11d48; outline-color: rgba(225,29,72,0.2); }
.field.checkbox { align-items: flex-start; }
.field.checkbox input { margin-right: 8px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.disclaimer { margin: 0; font-size: 12px; color: var(--muted); }

.site-footer { padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; }

/* Carousel */
.carousel { padding: 32px 0; }
.carousel .container { max-width: 1280px; padding: 0 16px; }
.carousel-viewport { position: relative; }
.carousel-track { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); background: #000; height: clamp(520px, 70vw, 820px); }
.carousel-track .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms ease; }
.carousel-track .slide.active { opacity: 1; position: absolute; }
.carousel-track img { width: 100%; height: 100%; object-fit: cover; display: block; animation: kenburns 12s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translateZ(0); } to { transform: scale(1.06) translateZ(0); } }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 999px; border: none; background: #c8d6ff; cursor: pointer; transition: background .2s ease; }
.carousel-dots button.active { background: var(--blue-600); }
.carousel-thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.carousel-thumbs button { border: 1px solid var(--border); border-radius: 8px; padding: 0; overflow: hidden; background: #fff; cursor: pointer; }
.carousel-thumbs img { width: 100%; height: 64px; object-fit: cover; display: block; }
.nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.9); border: 1px solid var(--border); width: 40px; height: 40px; border-radius: 999px; cursor: pointer; font-size: 22px; color: var(--blue-900); display: grid; place-items: center; }
.nav:hover { background: #fff; }
.nav.prev { left: 8px; }
.nav.next { right: 8px; }

/* Reveal animations */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].reveal-in { opacity: 1; transform: translateY(0); }

.popup {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center;
  background: rgba(0,10,30,0.45);
}
.popup[aria-hidden="false"] { display: flex; }
.popup-content { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 24px; width: min(520px, 92vw); box-shadow: var(--shadow); position: relative; }
.popup-close { position: absolute; top: 8px; right: 10px; background: transparent; border: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; align-items: flex-start; }
}

@media (min-width: 1000px) {
  .main-nav { display: flex; }
}

/* Mobile refinements */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero .container { padding-left: 24px; padding-right: 24px; }
  .hero-inner { padding: 28px 0; gap: 16px; }
  .hero h1 { font-size: 28px; }
  .hero .lead { font-size: 16px; }
  .badges { grid-template-columns: 1fr; gap: 10px; }
  .logo { height: 90px; }

  .carousel { padding: 16px 0 24px; }
  .carousel .container { padding: 0 12px; }
  .carousel-track { height: clamp(260px, 60vw, 420px); border-radius: 12px; }
  .nav { width: 36px; height: 36px; font-size: 20px; }
  .carousel-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .carousel-thumbs img { height: 56px; }

  .grid-form { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .category-grid { grid-template-columns: 1fr; gap: 16px; }
  .category-tile img { height: 240px; }
  .locator-actions { flex-direction: column; }
}

.tinos-regular {
  font-family: "Tinos", serif;
  font-weight: 400;
  font-style: normal;
}

.tinos-bold {
  font-family: "Tinos", serif;
  font-weight: 700;
  font-style: normal;
}

.tinos-regular-italic {
  font-family: "Tinos", serif;
  font-weight: 400;
  font-style: italic;
}

.tinos-bold-italic {
  font-family: "Tinos", serif;
  font-weight: 700;
  font-style: italic;
}

/* Sezione PRIVATI */
.privati-section {
  width: 100vw;
  padding: 80px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.privati-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.privati-content {
  padding: 40px;
}

.privati-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  letter-spacing: 0;
}

.privati-text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  font-weight: 400;
}

.privati-highlight {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin-top: 30px;
}

.privati-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privati-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.privati-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  /* Sezione Privati */
  .privati-section {
    padding: 40px 20px;
  }
  
  .privati-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .privati-content {
    padding: 15px;
  }
  
  .privati-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .privati-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .privati-highlight {
    font-size: 1.05rem;
    margin-top: 20px;
  }
  
  .privati-image img {
    max-width: 100%;
  }
}

/* Sezione AZIENDA - Immagine più grande e statica */
.azienda-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.azienda-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.azienda-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transition: none !important;
  transform: none !important;
}

.azienda-image:hover {
  transform: none !important;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 768px) {
  /* Sezione Azienda */
  .azienda-section {
    padding: 40px 20px;
  }
  
  .azienda-container {
    gap: 30px;
  }
  
  .azienda-image {
    max-width: 100%;
  }
}

/* Sezione WhatsApp */
/* Separator Classico */
.elegant-separator {
  width: 100vw;
  height: 8px;
  background: #1e5a8e;
  margin: 60px 0 0 0;
  padding: 0;
}

/* Sezione Contatti */
.whatsapp-section {
  width: 100vw;
  padding: 0 40px 80px 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
}

.whatsapp-container {
  max-width: 900px;
  margin: 0 auto;
}

.whatsapp-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e5a8e;
  margin-bottom: 20px;
  letter-spacing: 1px;
  padding-top: 30px;
  border-top: 8px solid #1e5a8e;
  display: inline-block;
}

.whatsapp-text {
  font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 40px;
}

.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 20px 50px;
  background: #ffffff;
  color: #333333 !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  min-width: 240px;
  justify-content: center;
}

.contact-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  color: #333333 !important;
  background: #f0f0f0;
}

.whatsapp-btn {
  background: #ffffff !important;
  color: #25D366 !important;
}

.whatsapp-btn:hover {
  background: #f0f0f0 !important;
  color: #25D366 !important;
}

.phone-btn {
  background: #ffffff !important;
  color: #007bff !important;
}

.phone-btn:hover {
  background: #f0f0f0 !important;
  color: #007bff !important;
}

.email-btn {
  background: #ffffff !important;
  color: #6c757d !important;
}

.email-btn:hover {
  background: #f0f0f0 !important;
  color: #6c757d !important;
}

.contact-icon {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
}

.contact-btn:hover .contact-icon {
  transform: rotate(15deg) scale(1.1);
}

/* Bottone Contattaci per altre pagine */
.contact-us-section {
  width: 100vw;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 40px;
  text-align: center;
}

.contact-us-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  color: #1e5a8e !important;
  padding: 22px 55px;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-us-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: #f0f0f0;
  color: #1e5a8e !important;
}

.contact-us-icon {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
}

.contact-us-btn:hover .contact-us-icon {
  transform: rotate(15deg) scale(1.15);
}

@media (max-width: 768px) {
  /* Separator */
  .elegant-separator {
    height: 3px;
    margin: 40px 0 0 0;
  }

  /* Sezione Contatti */
  .whatsapp-section {
    padding: 0 20px 50px 20px;
  }
  
  .whatsapp-title {
    font-size: 1.6rem;
    padding-top: 20px;
  }
  
  .whatsapp-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  
  .contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .contact-btn {
    padding: 14px 30px;
    font-size: 1rem;
    min-width: 280px;
    max-width: 100%;
  }
  
  .contact-icon {
    width: 22px;
    height: 22px;
  }

  .contact-us-section {
    padding: 40px 20px;
  }
  
  .contact-us-btn {
    padding: 16px 35px;
    font-size: 1.1rem;
  }
  
  .contact-us-icon {
    width: 24px;
    height: 24px;
  }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 480px) {
  .logo {
    max-width: 100px;
  }
  
  .hero-carousel {
    height: 40vh;
    min-height: 250px;
  }
  
  .carousel-motto {
    font-size: 1rem;
    padding: 10px;
  }
  
  .section-carousel {
    height: 50vh;
    min-height: 300px;
  }
  
  .section-carousel-motto {
    font-size: 1.1rem;
  }
  
  .frame-image-wrapper {
    height: 200px;
  }
  
  .frame-label {
    font-size: 0.9rem;
  }
  
  .nav-btn {
    font-size: 0.7rem;
    padding: 8px 12px;
  }
  
  .home-btn {
    font-size: 9px;
    padding: 4px 8px;
    top: 8px;
    left: 8px;
  }
  
  .home-btn .icon {
    font-size: 10px;
  }
  
  .contact-btn {
    font-size: 0.95rem;
    padding: 12px 25px;
    min-width: 260px;
  }
  
  .whatsapp-title {
    font-size: 1.4rem;
  }
  
  .privati-title {
    font-size: 1.6rem;
  }
  
  .privati-text {
    font-size: 0.9rem;
  }
}

/* Grande Carosello Sezioni */
.section-carousel {
  position: relative;
  width: 100vw;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  background: #fff !important;
  background-color: #fff !important;
}

.section-carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff !important;
  background-color: #fff !important;
}

.section-carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  background-color: #fff !important;
}

.section-carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.section-carousel-slide img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.5s ease;
  background: #fff !important;
  background-color: #fff !important;
}

.section-carousel-slide.active img:hover {
  transform: scale(1.05);
}

.section-carousel-overlay {
  width: 100%;
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
}

.section-carousel-motto {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  padding: 0;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.carousel-arrow.prev {
  left: 30px;
}

.carousel-arrow.next {
  right: 30px;
}

.carousel-indicators {
  display: none;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-indicator.active {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.15);
}

/* Bottone Fullscreen */
.fullscreen-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(30, 144, 255, 0.85); /* Celeste visibile */
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 25;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.fullscreen-btn:hover {
  background: rgba(30, 144, 255, 1);
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
}

.fullscreen-btn svg {
  width: 24px;
  height: 24px;
  color: #000000; /* Icona nera */
}

/* Animazione bounce dopo 10 secondi - salta 3 volte */
@keyframes bounce-attention {
  0%, 100% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(-20px);
  }
  20% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-15px);
  }
  40% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  60% {
    transform: translateY(0);
  }
}

.fullscreen-btn.bounce {
  animation: bounce-attention 1.5s ease;
}

.section-carousel:fullscreen {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-carousel:fullscreen .section-carousel-slide img {
  max-width: 95%;
  max-height: 95vh;
}

@media (max-width: 768px) {
  /* Carosello Sezioni */
  .section-carousel {
    height: 55vh;
    min-height: 350px;
  }

  .section-carousel-motto {
    font-size: 1.3rem;
    line-height: 1.4;
  }

  .section-carousel-overlay {
    padding: 30px 15px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }
  
  .fullscreen-btn {
    display: none; /* L'API fullscreen non funziona bene su mobile */
  }
}

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nav-buttons {
    padding: 20px 15px;
    gap: 10px;
  }
  
  .nav-btn {
    font-size: 0.75rem;
    padding: 10px 15px;
  }
  
  .nav-btn .arrow {
    font-size: 16px;
  }
  
  .home-btn {
    padding: 5px 10px;
    font-size: 10px;
    top: 10px;
    left: 10px;
  }
  
  .home-btn .icon {
    font-size: 12px;
  }
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #ffffff;
  border: 2px solid #333;
  border-radius: 50px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-btn:hover {
  background: #1e5a8e;
  color: #333 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 90, 142, 0.3);
}

.nav-btn:hover .arrow {
  color: #333 !important;
}

.nav-btn.prev:hover .arrow {
  transform: translateX(-4px);
}

.nav-btn.next:hover .arrow {
  transform: translateX(4px);
}

.nav-btn .arrow {
  transition: transform 0.3s ease;
  font-size: 20px;
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Home Button */
.home-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #ffffff;
  border: 2px solid #333;
  border-radius: 50px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.home-btn:hover {
  background: #1e5a8e;
  color: #333 !important;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(30, 90, 142, 0.3);
}

.home-btn .icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.home-btn:hover .icon {
  transform: translateX(-3px);
}


