:root {
  --color-rosso: #630f30;
  --color-giallo: #bc9850;
  --color-rosso-button: #bb6f92;
  --color-testo-bianco: #fff6fd;
  --color-testo-grigio-chiaro: rgba(17, 17, 17, 0.5);
  --color-testo-grigio: #111111;
  --color-testo-grigio-badge: #1f1f1f;
  --color-test-progetto-nero: #151515;
  --color-bianco-body: #fff6fd;
  --font-size-12: 12px;
  --font-size-13: 13px;
  --font-size-16: 16px;
  --font-size-20: 20px;
  --font-size-25: 25px;
  --font-size-30: 30px;
  --font-size-70: 70px;
  --font-title: "din-condensed", sans-serif;
  --font-body: "avenir", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bianco-body);
  color: var(--color-testo-grigio);
  font-size: var(--font-size-16);
  line-height: 1.2;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title) !important;
  line-height: 1.2;
}

h2 {
  color: var(--color-rosso);
  font-size: var(--font-size-70);
}

@media (max-width: 480px) {
  h2 {
    color: var(--color-rosso);
    font-size: 40px;
    letter-spacing: -1px;
  }
}

h3 {
  font-size: var(--font-size-25);
  color: var(--color-testo-grigio);
}

h4 {
  font-size: var(--font-size-25);
  color: var(--color-testo-grigio);
  opacity: 0.5;
}

@media (max-width: 480px) {
  h4 {
    font-size: var(--font-size-20);
    color: var(--color-testo-grigio);
    opacity: 0.5;
  }
}

h6 {
  font-size: var(--font-size-30);
  color: var(--color-bianco-body);
}

@media (max-width: 480px) {
  h6 {
    font-size: var(--font-size-20);
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  font-family: var(--font-title);
  cursor: pointer;
  border: none;
  outline: none;
  letter-spacing: 0px;
}

.button {
  color: var(--color-bianco-body);
  background-color: var(--color-rosso-button) !important;
  padding: 0.5rem 2rem;
  border-radius: 24px;
  font-size: var(--font-size-20);
}

.button-progetto {
  padding: 0.5rem !important;
}

@media (min-width: 1400px) {
  html {
    font-size: 112.5%;
  }
}

@media (min-width: 1600px) {
  html {
    font-size: 125%;
  }
  .container {
    max-width: 1500px;
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 137.5%;
  }
  .container {
    max-width: 1700px;
  }
}

/***********************************************************************************/
/********************************* BANNER ANIMATO **********************************/
/***********************************************************************************/

.banner {
  background-color: var(--color-rosso);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  overflow: hidden;
  padding: 0;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  height: 25px;
}

.banner-column {
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.banner-center {
  padding: 0 3rem;
  justify-content: center;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.banner-text-center {
  color: var(--color-bianco-body);
  font-size: 13px;
  margin: 0;
  text-align: center;
  font-weight: 400;
}

.banner-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.banner-track {
  display: inline-flex;
  gap: 1rem;
  will-change: transform;
}

.banner-scroll-left .banner-track {
  animation: scroll-to-right 25s linear infinite;
}

.banner-scroll-right .banner-track {
  animation: scroll-to-left 25s linear infinite;
}

.banner-scroll-left {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.banner-scroll-right {
  mask-image: linear-gradient(
    to left,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to left,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.banner-item {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  margin: 0;
  white-space: nowrap;
}

.banner-text {
  color: var(--color-bianco-body);
  font-size: var(--font-size-12);
  white-space: nowrap;
  font-weight: 300;
  opacity: 0.8;
}

@keyframes scroll-to-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes scroll-to-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 820px) {
  .banner-grid {
    grid-template-columns: 1fr;
    height: 30px;
  }

  .banner-scroll-left,
  .banner-scroll-right {
    display: none;
  }

  .banner-center {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .banner-grid {
    height: 30px;
  }

  .banner-text-center strong {
    display: block;
  }
}

/***********************************************************************************/
/*********************************** HEADER ****************************************/
/***********************************************************************************/

.header {
  position: fixed;
  top: 25px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
}

.header-container {
  max-width: 100%;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.logo-img {
  height: 40px;
  width: auto;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-12);
}

.info-label {
  color: var(--color-bianco-body);
  font-weight: 500;
}

.info-date {
  color: var(--color-bianco-body);
  font-weight: 500;
}

.hamburger {
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-giallo);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.vai-shop {
  color: var(--color-giallo);
  font-size: var(--font-size-14);
}

.vai-shop:hover {
  text-decoration: underline;
}

.nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh; /* SEMPRE 100vh */
  background-color: var(--color-rosso);
  z-index: 1002;
  overflow-y: auto;
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu.active {
  left: 0;
}

.nav-menu-inner {
  height: 100vh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

.nav-close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}

.nav-close:hover {
  transform: rotate(90deg);
}

.close-line {
  position: absolute;
  width: 32px;
  height: 2px;
  background-color: var(--color-giallo);
  top: 50%;
  left: 50%;
  border-radius: 2px;
}

.close-line-1 {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-line-2 {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 4rem;
  max-width: 800px;
  align-items: end;
  padding-bottom: 3rem;
}

.nav-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-column-left {
  align-self: end;
}

.nav-column-right {
  align-self: end;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.nav-link-main {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--color-testo-bianco);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  line-height: 1.1;
  display: inline-block;
}

.nav-link-main:hover {
  color: var(--color-giallo);
  transform: translateX(10px);
}

.nav-submenu {
  list-style: none;
  padding: 0;
  margin: 0rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-sublink {
  font-family: var(--font-body);
  font-size: var(--font-size-16); /* SEMPRE 16px */
  color: rgba(255, 246, 253, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.nav-sublink::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1.5px;
  background-color: var(--color-giallo);
  transition: width 0.3s ease;
}

.nav-sublink:hover {
  color: var(--color-testo-bianco);
  padding-left: 16px;
}

.nav-sublink:hover::before {
  width: 8px;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  z-index: 998;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .header-container {
    padding: 0.75rem 1.5rem;
  }

  .header-left {
    gap: 1rem;
  }

  .logo-img {
    height: 35px;
  }

  .header-info {
    font-size: 14px;
  }
}

@media (max-width: 820px) {
  .header {
    top: 30px;
  }

  .header-container {
    padding: 0.6rem 1.5rem;
  }

  .header-left {
    gap: 0.75rem;
  }

  .logo-img {
    height: 32px;
  }

  .header-info {
    font-size: 13px;
  }

  .info-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem 1rem;
  }

  .header-info {
    display: none;
  }

  .logo-img {
    height: 28px;
  }

  .hamburger {
    width: 28px;
    height: 20px;
  }
}

@media (min-width: 1400px) {
  .nav-link-main {
    font-size: 2.75rem;
  }
}

@media (max-width: 1024px) {
  .nav-menu-inner {
    height: 100vh;
  }

  .nav-content {
    gap: 1.5rem 3rem;
    padding-bottom: 3rem;
  }

  .nav-column {
    gap: 1.5rem;
  }

  .nav-link-main {
    font-size: 2.25rem;
  }

  .nav-sublink {
    font-size: var(--font-size-16);
  }
}

@media (max-width: 820px) {
  .nav-menu-inner {
    height: 100vh;
    padding: 1.5rem;
  }

  .nav-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .nav-column {
    gap: 1.5rem;
  }

  .nav-link-main {
    font-size: 2rem;
  }

  .nav-sublink {
    font-size: var(--font-size-16);
  }
}

@media (max-width: 480px) {
  .nav-menu-inner {
    height: 100vh;
    padding: 1rem;
  }

  .nav-link-main {
    font-size: var(--font-size-30);
  }

  .nav-logo-img {
    height: 32px;
  }

  .nav-content {
    gap: 1.25rem;
    padding-bottom: 6rem;
  }

  .nav-column {
    gap: 1.25rem;
  }

  .nav-section {
    gap: 0.1rem;
  }

  .nav-sublink {
    font-size: var(--font-size-20);
  }
}

/***********************************************************************************/
/*********************************** HERO SECTION **********************************/
/***********************************************************************************/

.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

@media (min-width: 1700px) {
  .video-hero {
    height: 80vh;
  }
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.video-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: 2;
  pointer-events: none;
}

.box-hero {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
}

.hero-item {
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-item > * {
  transform: none;
}

.logo-hero {
  opacity: 0;
  width: 250px;
}

.split-hero {
  opacity: 0;
}

.cta-arrow {
  opacity: 0;
}

.text-hero {
  font-size: var(--font-size-16);
  color: var(--color-bianco-body);
  max-width: 510px;
  text-align: center;
  line-height: 1.6;
  font-weight: 500;
  font-family: var(--font-title);
}

.cta-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-hero {
  color: var(--color-giallo);
  font-size: var(--font-size-13);
  text-decoration: none;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.cta-arrow {
  width: 15px;
  height: 15px;
}

@media (max-width: 820px) {
  .video-hero {
    height: 100vh;
  }

  .box-hero {
    padding: 0 30px;
  }

  .logo-hero {
    width: 130px;
  }
}

@media (max-width: 480px) {
  .video-hero {
    height: 100vh;
  }

  .box-hero {
    padding: 0 24px;
    max-width: 100%;
  }

  .logo-hero {
    width: 200px;
  }

  .text-hero {
    line-height: 1.5;
    max-width: 100%;
  }
}

@media (max-width: 375px) {
  .box-hero {
    padding: 0 20px;
  }

  .logo-hero {
    width: 180px;
  }
}

/***********************************************************************************/
/********************************* SECTION 1 ***************************************/
/***********************************************************************************/

.section-1 {
  padding: 2% 5%;
  margin-top: 3rem;
}

.section-1 h2 {
  font-family: var(--font-title);
  font-size: var(--font-size-70);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.slider-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 0 0;
}

.asymmetric-slider {
  position: relative;
  width: 100%;
  max-width: 1400px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 1%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.card {
  flex: 0 0 24%;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  color: var(--color-testo-grigio);
  display: flex;
  flex-direction: column;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.card.hero {
  flex: 0 0 49%;
  transform: scale(1);
}

.image-wrapper {
  position: relative;
  height: 380px;
  overflow: hidden;
  border-radius: 24px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card.hero .image-wrapper img {
  transform: scale(1.02);
}

@media (min-width: 1450px) {
  .asymmetric-slider {
    max-width: 1400px;
  }

  .image-wrapper {
    height: 450px;
  }
}

@media (min-width: 1800px) {
  .asymmetric-slider {
    max-width: 1400px;
  }

  .image-wrapper {
    height: 500px;
  }
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 15, 26, 0.28);
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  opacity: 1;
  transition: opacity 0.6s ease;
  border-radius: 24px;
}

.overlay-text {
  text-align: left;
  padding: 1.5rem;
}

.overlay-text h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: var(--font-size-25);
  text-transform: uppercase;
  color: var(--color-bianco-body);
  line-height: 1;
}

.overlay-text p {
  margin: 0.5rem 0 0;
  font-family: var(--font-body);
  font-size: var(--font-size-13);
  color: var(--color-bianco-body);
}

.card-content {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.card-content h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: var(--font-size-25);
  text-transform: uppercase;
  line-height: 1;
}

.card-content p {
  margin: 0 !important;
  font-family: var(--font-body);
  font-size: var(--font-size-13);
  color: var(--color-testo-grigio);
  padding-top: 0 !important;
}

.card.hero .overlay {
  opacity: 0;
  pointer-events: none;
}

.card.hero .card-content {
  opacity: 1;
  transform: translateY(0);
}

.box-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  gap: 0.5rem;
}

.controls {
  position: absolute;
  bottom: 10%;
  right: 2rem;
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.controls button {
  background: var(--color-rosso-button);
  border: none;
  color: var(--color-bianco-body);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

#prev {
  font-size: 26px;
}

#next {
  font-size: 26px;
}

@media (min-width: 1600px) {
  .asymmetric-slider {
    max-width: 1600px;
  }

  .card {
    flex: 0 0 24%;
  }

  .card.hero {
    flex: 0 0 49%;
  }

  .image-wrapper {
    height: 450px;
  }
}

@media (max-width: 1400px) {
  .image-wrapper {
    height: 350px;
  }

  .overlay-text h3,
  .card-content h3 {
    font-size: var(--font-size-20);
  }

  .overlay-text p,
  .card-content p {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .section-1 {
    padding: 2% 3%;
  }

  .asymmetric-slider {
    max-width: 100%;
  }

  .card {
    flex: 0 0 32%;
  }

  .card.hero {
    flex: 0 0 50%;
  }

  .image-wrapper {
    height: 320px;
  }

  .controls {
    bottom: 8%;
    right: 1.5rem;
  }

  .controls button {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
}

@media (max-width: 820px) {
  .section-1 {
    padding: 5%;
  }

  .section-1 h2 {
    font-size: 3rem;
  }

  .slider-section {
    padding: 0;
    margin: 1.5rem 0 0 0;
  }

  .asymmetric-slider {
    width: 100%;
    max-width: 100%;
  }

  .slider-track {
    gap: 0;
  }

  .card {
    flex: 0 0 100% !important;
  }

  .card.hero {
    flex: 0 0 100% !important;
  }

  .image-wrapper {
    height: 400px;
    border-radius: 20px;
  }

  .overlay {
    display: none !important;
  }

  .card-content {
    opacity: 1 !important;
    transform: none !important;
    padding: 1.5rem 0 0.5rem 0;
    max-width: 200px;
  }

  .controls {
    bottom: 5%;
    right: 0.4rem;
    gap: 0.75rem;
  }

  .controls button {
    width: 48px;
    height: 48px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section-1 {
    padding: 5% 4%;
    margin: 3.5rem 0;
  }

  .image-wrapper {
    height: 380px;
  }

  .card-content h3 {
    font-size: var(--font-size-20);
  }

  .card-content p {
    font-size: 14px;
  }

  .scopri-section-1 {
    font-size: 14px;
  }

  .controls button {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }

  #prev {
    font-size: 24px;
  }

  #next {
    font-size: 24px;
  }

  .box-card {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    padding: 0 1rem;
  }

  .controls-progetto {
    bottom: 13% !important;
  }
}

/***********************************************************************************/
/********************************* SECTION 2 ***************************************/
/***********************************************************************************/
.section-2 {
  padding: 2% 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-section-2 {
  background-image: url("petrolio-super-coffee-img/homepage-section-2.webp");
  background-position: center;
  background-size: cover;
  height: 500px;
  width: 100%;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  padding: 3%;
}

.title-section-2 {
  color: var(--color-bianco-body) !important;
  font-size: 70px;
}

.text-section-2 {
  color: var(--color-bianco-body);
  max-width: 420px;
}

@media (max-width: 480px) {
  .title-section-2 {
    color: var(--color-bianco-body) !important;
    font-size: 40px;
  }

  .box-section-2 {
    align-items: start;
    justify-content: end;
    text-align: start;
    padding: 10% 5%;
    height: 400px;
  }

  .text-section-2 {
    color: var(--color-bianco-body);
    margin: 0 auto;
    text-align: start;
  }
}

.split-move {
  opacity: 0;
  transform: translateY(120%);
}

/***********************************************************************************/
/********************************* SECTION 3 ***************************************/
/***********************************************************************************/

.section-3 {
  padding: 2% 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* AGGIUNTO */
}

.box-section-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%; /* AGGIUNTO */
  max-width: 100vw; /* AGGIUNTO */
  overflow: hidden; /* AGGIUNTO */
}

.slider-section-3 {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%; /* AGGIUNTO */
}

.slider-container-3 {
  position: relative;
  width: 100%;
  overflow: hidden; /* AGGIUNTO */
}

.slider-wrapper-3 {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  width: 100%; /* AGGIUNTO */
}

.slider-track-3 {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 30px;
  padding: 0 calc(50% - 140px);
  width: max-content;
  touch-action: pan-y;
  user-select: none;
}

.slide {
  flex: 0 0 280px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.5;
  transform: scale(1.2);
  will-change: transform, opacity; /* AGGIUNTO per performance */
}

.slide.active {
  opacity: 1;
  transform: scale(1.8);
}

.slide-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block; /* AGGIUNTO */
}

.slider-arrows-3 {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  pointer-events: none;
  z-index: 10;
}

.arrow-3 {
  width: 50px;
  height: 50px;
  background: var(--color-rosso-button);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
}

.arrow-3 svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.slider-content-3 {
  text-align: center;
  transition: opacity 0.4s ease;
  padding: 0 20px; /* AGGIUNTO per evitare overflow del testo */
}

.process-title-3 {
  font-size: var(--font-size-30);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tags-container-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.tag {
  padding: 0.3rem 1rem;
  background: transparent;
  border: 0.5px solid var(--color-testo-grigio-badge) !important;
  border-radius: 30px;
  font-size: var(--font-size-14);
  color: var(--color-testo-grigio-badge);
  transition: all 0.3s ease;
  cursor: default;
}

.cta-button-3 {
  display: inline-block;
  background-color: var(--color-rosso-button) !important;
  color: var(--color-bianco-body);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-title);
  cursor: pointer;
  padding: 0.5rem 2rem;
  border-radius: 24px;
  font-size: var(--font-size-20);
}

@media (max-width: 1024px) {
  .slider-track-3 {
    gap: 25px;
    padding: 0 calc(50% - 125px);
  }

  .slide {
    flex: 0 0 250px;
    transform: scale(1.1);
  }

  .slide.active {
    transform: scale(1.5); /* RIDOTTO da 1.6 */
  }

  .slider-arrows-3 {
    padding: 0 20px;
  }

  .slide-image {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .section-3 {
    padding: 2% 0; /* MODIFICATO per evitare overflow laterale */
  }

  .slider-track-3 {
    gap: 15px; /* RIDOTTO */
    padding: 0 calc(50% - 100px); /* AGGIUSTATO */
  }

  .slide {
    flex: 0 0 200px; /* RIDOTTO */
    transform: scale(1);
  }

  .slide.active {
    transform: scale(1.3); /* RIDOTTO da 1.4 */
  }

  .slider-arrows-3 {
    padding: 0 10px;
  }

  .arrow-3 {
    width: 35px;
    height: 35px;
  }

  .arrow-3 svg {
    width: 18px;
    height: 18px;
  }

  .slide-image {
    height: 340px;
  }
}

@media (max-width: 540px) {
  .section-3 {
    padding: 2% 0; /* MODIFICATO */
  }

  .slider-track-3 {
    gap: 15px;
    padding: 0 calc(50% - 75px); /* AGGIUSTATO */
  }

  .slide {
    flex: 0 0 150px; /* RIDOTTO da 180px */
    transform: scale(1);
  }

  .slide.active {
    transform: scale(1.5); /* RIDOTTO da 1.8 */
  }

  .slider-arrows-3 {
    padding: 0 5px;
  }

  .arrow-3 {
    width: 40px; /* RIDOTTO */
    height: 40px;
  }

  .arrow-3 svg {
    width: 16px;
    height: 16px;
  }

  .slide-image {
    height: 320px; /* RIDOTTO */
  }

  .tags-container-3 {
    max-width: 340px;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  .tag {
    padding: 0.25rem 0.8rem;
    font-size: var(--font-size-14);
  }

  .slider-content-3 {
    padding: 0 15px; /* AGGIUNTO */
  }
}

/***********************************************************************************/
/********************************* SECTION 4 ***************************************/
/***********************************************************************************/
.section-4 {
  padding: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-1-section-4 {
  width: 600px;
  height: 500px;
  border-radius: 30px;
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%),
    url("petrolio-super-coffee-img/box-degustazione.webp");
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
}

.box-2-section-4 {
  width: 600px;
  height: 500px;
  border-radius: 30px;
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%),
    url("petrolio-elite-supercoffee-categorie/categorie-prodotti-petrolio-elite-supercoffee/ceado-touch-attrezzatura-1.webp");
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
}

.box-2a-section-4 {
  background-image: url("petrolio-super-coffee-img/Brew-guides.webp");
  background-position: center;
  background-size: cover;
  height: 400px;
  width: 100%;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  padding: 3%;
}

.box-3-section-4 {
  width: 600px;
  height: 500px;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.box-4-section-4 {
  width: 600px;
  height: 500px;
  border-radius: 30px;
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%),
    url("petrolio-super-coffee-img/Eddy-Righi.webp");
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
}

.title-section-4 {
  color: var(--color-rosso) !important;
  line-height: 0.9;
}

@media (max-width: 820px) {
  .box-1-section-4 {
    width: 100%;
    height: 400px;
    align-items: center;
    justify-content: end;
    text-align: center;
  }

  .box-2-section-4 {
    width: 100%;
    height: 400px;
    align-items: center;
    justify-content: end;
    text-align: center;
  }

  .box-2a-section-4 {
    width: 100%;
    height: 400px;
    align-items: center;
    justify-content: end;
    text-align: center;
    margin-top: 3rem;
  }

  .box-3-section-4 {
    width: 100%;
    height: 400px;
    align-items: start;
    text-align: start;
  }

  .box-4-section-4 {
    width: 100%;
    height: 400px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

/***********************************************************************************/
/********************************* SECTION 5 ***************************************/
/***********************************************************************************/

.section-5 {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.section-5 .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (max-width: 820px) {
  .section-5 {
    background-image: url("petrolio-super-coffee-img/img-hero-section-5-mobile.webp");
    height: 400px;
  }
}

.data {
  color: var(--color-bianco-body);
  font-weight: 300;
}

.section-5 {
  position: relative;
  background-image: url("petrolio-super-coffee-img/img-hero-section-5-desktop.webp");
  height: 400px;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
}

.section-5::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.section-5 h2 {
  position: relative;
  z-index: 2;
  color: var(--color-bianco-body);
}

@media (max-width: 820px) {
  .section-5 {
    height: 450px;
  }

  .awards-scroll-track {
    gap: 2rem;
    animation: scrollAwards 15s linear infinite;
  }
}

@media (max-width: 480px) {
  .section-5 {
    height: 400px;
  }
}

.awards-scroll-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
  margin-top: 2rem;
}

.awards-scroll-track {
  display: flex;
  gap: 3rem;
  animation: scrollAwards 20s linear infinite;
  width: fit-content;
}

.award-item {
  flex: 0 0 auto;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.award-item h6 {
  color: var(--color-bianco-body);
  font-weight: 500;
  margin: 0.5rem 0;
  text-transform: uppercase;
}

.data {
  color: var(--color-bianco-body);
  font-weight: 300;
  margin: 0;
}

@keyframes scrollAwards {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 820px) {
  .section-5 {
    background-image: url("petrolio-super-coffee-img/img-hero-section-5-mobile.webp");
    height: 450px;
  }

  .awards-scroll-track {
    gap: 2rem;
    animation: scrollAwards 15s linear infinite;
  }

  .award-item {
    min-width: 220px;
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .section-5 {
    height: 400px;
  }

  .awards-scroll-container {
    margin-top: 3rem;
  }

  .awards-scroll-track {
    gap: 1.5rem;
    animation: scrollAwards 20s linear infinite;
  }

  .award-item {
    min-width: 200px;
  }
}

/***********************************************************************************/
/********************************* SECTION 6 ***************************************/
/***********************************************************************************/

.box-section-6 {
  background-image: url("petrolio-super-coffee-img/img-box-section-6.webp");
  background-position: center;
  background-size: cover;
  height: 500px;
  width: 100%;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  padding: 3%;
}

@media (max-width: 480px) {
  .box-section-6 {
    align-items: start;
    justify-content: end;
    text-align: start;
    padding: 10% 5%;
    height: 400px;
  }
}

/***********************************************************************************/
/********************************* SECTION 7 ***************************************/
/***********************************************************************************/
.section-7 {
  background-image: url("petrolio-super-coffee-img/img-box-section-7.webp");
  height: 450px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  padding: 3%;
}

@media (max-width: 480px) {
  .section-7 {
    background-image: url("petrolio-super-coffee-img/img-box-section-7-mobile.webp");
    align-items: start;
    justify-content: end;
    text-align: start;
    padding: 10% 5%;
    height: 500px;
  }
}

/***********************************************************************************/
/********************************* PAGINA CONTATTI **********************************/
/***********************************************************************************/

.contacts-section img.main-image {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  margin-left: auto; /* Allinea a destra invece che al centro */
  display: block;
}

.contacts-section h1 span {
  display: inline-block;
  position: relative;
  margin: 0 8px;
}

.contacts-section h1 {
  line-height: 1;
  font-size: 70px;
  color: var(--color-rosso);
}

.contacts-section h1 span img {
  height: 40px;
  width: auto;
  vertical-align: middle;
  position: relative;
  top: -8px;
}

@media (max-width: 1024px) {
  .contacts-section h1 {
    font-size: 50px;
  }

  .contacts-section img.main-image {
    width: 80%;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .contacts-section h1 {
    font-size: 40px;
  }

  .contacts-section h1 span img {
    height: 30px; /* Riduci il logo proporzionalmente */
    top: -6px;
  }

  .contacts-section img.main-image {
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 390px) {
  .contacts-section h1 {
    font-size: 35px;
  }

  .contacts-section h1 span img {
    height: 25px; /* Ancora più piccolo */
    top: -5px;
  }

  .contacts-section img.main-image {
    width: 100%;
    margin: 0 auto;
  }
}

.contact-form-section {
  max-width: 980px;
}

.contact-form-section label {
  font-weight: 400;
  margin-bottom: 8px;
  display: block;
}

.contact-form-section input,
.contact-form-section select,
.contact-form-section textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #ccc;
  border-radius: 0;
  background-color: #fff;
  font-size: 12px;
  font-style: italic;
  transition: border-color 0.3s ease;
}

.contact-form-section input:focus,
.contact-form-section select:focus,
.contact-form-section textarea:focus {
  outline: none;
  border-color: #999;
  color: #333;
}

.contact-form-section textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-section select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23333' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  cursor: pointer;
}

.form-group {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .contact-form-section input,
  .contact-form-section select,
  .contact-form-section textarea {
    padding: 12px 15px;
  }
}

/***********************************************************************************/
/********************************* PAGINA WHOLESALES *******************************/
/***********************************************************************************/

.text-form {
  max-width: 640px;
  margin: 0 auto;
}

.p-text-form {
  font-size: 14px;
}

.p-text-section-1-wholeseales {
  max-width: 640px;
}

.box-w {
  width: 100%;
  height: 300px;
  border-radius: 24px;
  position: relative;
  padding: 2%;
}

.title-box-w {
  position: absolute;
  bottom: 30%;
  font-family: var(--font-title);
  font-size: var(--font-size-30);
  color: var(--color-bianco-body);
  font-weight: 500;
}

.text-box-w {
  position: absolute;
  bottom: 5%;
  font-size: var(--font-size-14);
  color: var(--color-bianco-body);
}

.box-w-1 {
  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 0, 0, 0) 70%
    ),
    url("petrolio-super-coffee-img/box-w-1.webp");
  background-size: cover;
  background-position: center;
}

.box-w-2 {
  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 0, 0, 0) 70%
    ),
    url("petrolio-super-coffee-img/box-w-2.webp");
  background-size: cover;
  background-position: center;
}

.box-w-3 {
  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 0, 0, 0) 70%
    ),
    url("petrolio-super-coffee-img/box-w-3.webp");
  background-size: cover;
  background-position: center;
}

.box-w-4 {
  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 0, 0, 0) 70%
    ),
    url("petrolio-super-coffee-img/box-w-4.webp");
  background-size: cover;
  background-position: center;
}

@media (max-width: 1024px) {
  .title-box-w {
    bottom: 35%;
    font-size: var(--font-size-25);
  }

  .text-box-w {
    bottom: 5%;
  }
}

@media (max-width: 820px) {
  .title-box-w {
    bottom: 40%;
    font-size: var(--font-size-25);
  }

  .text-box-w {
    bottom: 5%;
  }
}

@media (max-width: 490px) {
  .box-w {
    padding: 5%;
  }

  .text-box-w {
    max-width: 360px;
  }
}

/***********************************************************************************/
/************************************* FAQ *****************************************/
/***********************************************************************************/
.h1-faq {
  font-size: var(--font-size-70);
  color: var(--color-rosso);
}

@media (max-width: 820px) {
  .h1-faq {
    font-size: 48px !important;
  }
}

.text-title-faq {
  max-width: 680px;
  margin: 0 auto;
}

.container-section {
  max-width: 1200px;
  margin: 0 auto;
}

.title-faq {
  font-size: var(--font-size-30) !important;
  font-weight: 500;
}

.accordion-button {
  background-color: #fff !important;
  color: var(--color-rosso) !important;
  box-shadow: none !important;
  font-family: "din-condensed", sans-serif !important;
  font-size: var(--font-size-18) !important;
}

.accordion-button:hover,
.accordion-button:focus,
.accordion-button:not(.collapsed) {
  background-color: #fff !important;
  color: var(--color-rosso) !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23630f30'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-item {
  background-color: #fff !important;
  border: none !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

.accordion-body {
  background-color: #fff !important;
  color: #333 !important;
  font-family: "avenir", sans-serif !important;
  font-size: var(--font-size-16) !important;
}

/* ========================================
   ============ IL PROGETTO ===============
   ======================================== */
.progetto-section {
  height: 100vh;
  width: 100%;
  background-color: var(--color-rosso-button);
  padding: 10% 5% 3% 5%;
}

@media (min-width: 1500px) {
  .progetto-section {
    height: 90vh;
    width: 100%;
    background-color: var(--color-rosso-button);
    padding: 10% 5% 3% 5%;
  }
}

.progetto-section .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.progetto-h1 {
  text-transform: uppercase;
  color: var(--color-testo-bianco);
  line-height: 1;
  max-width: 790px;
}

@media (min-width: 1500px) {
  .progetto-h1 {
    font-size: 70px;
    max-width: 1100px;
  }
}

.text-hero-progetto {
  color: var(--color-testo-bianco);
  max-width: 420px;
  font-weight: 400;
}

.video-box {
  position: absolute;
  height: 250px;
  width: 450px;
  right: 0;
  bottom: 0;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .progetto-section {
    height: auto;
    padding: 15% 5% 3% 5%;
  }

  .video-box {
    height: 200px;
    width: 350px;
  }

  .progetto-h1 {
    max-width: 600px;
  }

  .text-hero-progetto {
    margin-top: 10rem;
  }
}

@media (max-width: 820px) {
  .progetto-section {
    height: auto;
    padding: 15% 5% 5% 5%;
  }

  .progetto-section .container {
    position: static;
  }

  .video-box {
    position: static;
    width: 100%;
    height: 250px;
    margin: 3rem 0;
    order: 0;
  }

  .progetto-h1 {
    max-width: 100%;
    order: -1;
  }

  .text-hero-progetto {
    max-width: 100%;
    order: 1;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .progetto-h1 {
    font-size: var(--font-size-30);
  }

  .progetto-section {
    height: auto;
    padding: 30% 5% 5% 5%;
  }

  .video-box {
    height: 200px;
  }
}

.section-1-progetto {
  padding: 10% 5% 5% 5%;
}

.box-section-1-progetto {
  display: flex;
  flex-direction: column;
  max-width: 780px;
}

.text-scetion-1-progetto {
  color: var(--color-test-progetto-nero);
  font-weight: 500;
  font-family: var(--font-title);
  font-size: var(--font-size-25);
  letter-spacing: -0.4px;
}

@media (max-width: 480px) {
  .section-1-progetto {
    padding: 15% 5% 5% 5%;
  }

  .text-scetion-1-progetto {
    font-size: var(--font-size-20);
    letter-spacing: -0.6px;
  }
}

.section-2-progetto {
  padding: 3% 0 5% 0; /* Solo padding verticale, NO padding laterale */
  width: 100%;
  overflow: hidden; /* Previene overflow orizzontale */
}

.img-section-2-progetto {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
}

@media (min-width: 1500px) {
  .img-section-2-progetto {
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .section-2-progetto {
    padding: 5% 0;
  }
}

@media (max-width: 480px) {
  .img-section-2-progetto {
    height: 150px;
  }
}

.section-3-progetto {
  padding: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text-section-3-progetto {
  color: var(--color-rosso);
  text-transform: uppercase;
  text-align: center;
  font-size: var(--font-size-30);
  font-family: var(--font-title);
  max-width: 920px;
}

@media (max-width: 480px) {
  .section-3-progetto {
    padding: 10% 5%;
  }

  .text-section-3-progetto {
    font-size: var(--font-size-20);
  }
}

.section-5-progetto {
  padding: 10% 5%;
}

.text-section-5-progetto {
  font-size: var(--font-size-18);
  color: var(--color-testo-grigio-badge);
}

@media (max-width: 820px) {
  .card-content-progetto {
    max-width: 480px !important;
  }

  .controls-progetto {
    bottom: 10% !important;
  }
}

@media (max-width: 540px) {
  .section-5-progetto {
    padding: 15% 5%;
  }

  .controls-progetto {
    bottom: 12% !important;
  }
}

.modal-backdrop {
  z-index: 1040 !important;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal {
  z-index: 1050 !important;
}

.modal-dialog {
  z-index: 1060 !important;
  position: relative;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0 auto;
}

.modal-content {
  position: relative;
  z-index: 1070 !important;
  background-color: var(--color-bianco-body);
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background-color: var(--color-rosso-button);
  color: var(--color-bianco-body);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom: none;
}

.modal-title {
  color: var(--color-bianco-body);
}

.modal-header .btn-close {
  filter: invert(1);
  opacity: 1;
}

.modal-body {
  background-color: var(--color-bianco-body);
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  background-color: var(--color-bianco-body);
  border-top: 1px solid #dee2e6;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

@media (max-width: 991px) {
  .modal-dialog {
    margin: 1rem;
  }

  .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    border-radius: 8px;
  }

  .modal-header {
    padding: 1rem;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }

  .modal-body {
    padding: 1rem;
    max-height: 65vh;
  }

  .modal-footer {
    padding: 0.75rem 1rem;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .modal-title {
    font-size: 1.1rem;
  }
}

.modal-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

@media (min-width: 992px) {
  .modal-lg {
    max-width: 600px;
  }
}

@media (max-width: 576px) {
  .modal-img {
    border-radius: 4px;
  }

  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-content {
    border-radius: 8px;
  }
}

.section-6-progetto {
  padding: 5% 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.title-section-6-progetti {
  max-width: 760px;
  text-align: center;
}

.title-box-section-6-progetto {
  color: var(--color-rosso);
  font-size: 60px;
}

@media (max-width: 820px) {
  .section-6-progetto {
    padding: 10% 5%;
  }

  .title-section-6-progetti {
    max-width: 760px;
    text-align: left;
  }

  .title-box-section-6-progetto {
    color: var(--color-rosso);
    font-size: 40px;
  }
}

.section-7-progetto {
  padding: 10% 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text-section-7-progetto {
  color: var(--color-rosso);
  text-transform: uppercase;
  text-align: center;
  font-size: var(--font-size-30);
  font-family: var(--font-title);
  max-width: 1024px;
}

.text-1-section-7-progetto {
  max-width: 780px;
}

@media (max-width: 480px) {
  .section-7-progetto {
    padding: 15% 5%;
  }

  .text-section-7-progetto {
    color: var(--color-rosso);
    text-transform: uppercase;
    text-align: center;
    font-size: var(--font-size-20);
    font-family: var(--font-title);
    max-width: 1120px;
  }
}

/* ========================================
   ============ CHI SIAMO =================
   ======================================== */

.hero-about {
  height: auto;
  padding: 10% 5% 25% 5%;
  background-color: var(--color-rosso-button);
  position: relative;
}

.h1-about {
  text-transform: uppercase;
  color: var(--color-bianco-body);
  max-width: 840px;
}

.img-hero-about {
  position: absolute;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1300px;
  height: auto;
  object-fit: cover;
}

@media (min-width: 1500px) {
  .h1-about {
    max-width: 1100px;
    font-size: 70px;
  }

  .img-hero-about {
    max-width: 1400px;
  }
}

@media (max-width: 1300px) {
  .img-hero-about {
    max-width: 1150px;
  }
}

@media (max-width: 1100px) {
  .hero-about {
    padding: 15% 5% 25% 5%;
    background-color: var(--color-rosso-button);
    position: relative;
  }

  .img-hero-about {
    max-width: 920px;
  }
}

@media (max-width: 820px) {
  .hero-about {
    padding: 20% 5% 25% 5%;
    background-color: var(--color-rosso-button);
    position: relative;
  }

  .img-hero-about {
    max-width: 740px;
  }
}

@media (max-width: 768px) {
  .hero-about {
    padding: 20% 5% 25% 5%;
    background-color: var(--color-rosso-button);
    position: relative;
  }

  .img-hero-about {
    max-width: 690px;
  }
}

@media (max-width: 540px) {
  .hero-about {
    padding: 25% 5% 25% 5%;
    background-color: var(--color-rosso-button);
    position: relative;
  }

  .img-hero-about {
    max-width: 490px;
  }
}

@media (max-width: 480px) {
  .hero-about {
    padding: 30% 5% 25% 5%;
    background-color: var(--color-rosso-button);
    position: relative;
  }

  .img-hero-about {
    max-width: 380px;
  }
}

@media (max-width: 390px) {
  .hero-about {
    padding: 35% 5% 25% 5%;
    background-color: var(--color-rosso-button);
    position: relative;
  }

  .img-hero-about {
    max-width: 340px;
  }
}

.section-1-about {
  padding: 35% 5% 10% 5%;
}

.section-2-about {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: var(--color-rosso-button);
}

@media (max-width: 480px) {
  .section-1-about {
    padding: 55% 5% 30% 5%;
  }

  .section-2-about {
    height: auto;
  }
}

.paragraphs-container {
  width: 100%;
  max-width: 900px;
  padding: 0 40px;
  text-align: center;
  position: relative;
  height: auto;
}

.paragraph h4 {
  color: #fff6fd;
}

.paragraph {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 80px);
  opacity: 0;
  transition: opacity 0.4s ease; /* 🔥 Rallentato a 0.4s */
}

.paragraph.active {
  opacity: 1;
}

.paragraph p {
  color: var(--color-bianco-body);
  font-family: var(--font-title);
  font-size: var(--font-size-20);
  max-width: 680px;
  margin: 0 auto;
}

.text-timeline {
  transition: opacity 0.25s ease; /* 🔥 Rallentato */
}
.section-3-about {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-rosso-button);
  padding: 5%;
}

.img-1-section-3-about {
  width: 100%;
  max-width: 1300px;
  height: auto;
  object-fit: cover;
}

@media (min-width: 1500px) {
  .img-1-section-3-about {
    max-width: 1400px;
  }
}

@media (max-width: 1300px) {
  .img-1-section-3-about {
    max-width: 1150px;
  }
}

@media (max-width: 1100px) {
  .img-1-section-3-about {
    max-width: 920px;
  }
}

@media (max-width: 820px) {
  .img-1-section-3-about {
    max-width: 740px;
  }
}

@media (max-width: 768px) {
  .img-1-section-3-about {
    max-width: 690px;
  }
}

@media (max-width: 540px) {
  .img-1-section-3-about {
    max-width: 490px;
  }
}

@media (max-width: 480px) {
  .img-1-section-3-about {
    max-width: 380px;
  }
}

@media (max-width: 390px) {
  .img-1-section-3-about {
    max-width: 340px;
  }
}

.section-4-about {
  background-color: var(--color-rosso-button);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10% 5%;
  height: auto;
}

.text-section-4-about {
  color: var(--color-bianco-body);
  font-family: var(--font-title);
  font-size: var(--font-size-20);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.section-5-about {
  padding: 10% 5%;
  height: 100%;
}

.box-number-about {
  max-width: 540px;
}

.number-about {
  color: var(--color-rosso);
  font-family: var(--font-title);
  font-size: var(--font-size-25);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.number-about:hover {
  color: var(--color-rosso-button);
  transform: scale(1.1);
}

.number-about.active {
  color: var(--color-rosso-button);
}

.text-timeline {
  min-height: 60px;
  transition: opacity 0.3s ease;
}

@media (max-width: 540px) {
  .section-4-about {
    padding: 25% 6%;
  }

  .section-5-about {
    padding: 30% 5% 15% 5%;
    height: 100%;
  }
}

/***********************************************************************************/
/************************************* FOOTER **************************************/
/***********************************************************************************/
.footer-section {
  background-color: #f5e6ed;
  padding: 4rem 0 2rem 0;
}

.footer-main {
  margin-bottom: 3rem;
}

.footer-column {
  margin-bottom: 2rem;
}

.footer-header {
  display: block;
}

.footer-title {
  font-family: var(--font-title);
  font-size: var(--font-size-25);
  color: var(--color-rosso-button);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-toggle {
  display: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-family: var(--font-title);
  font-size: var(--font-size-20);
  color: var(--color-testo-grigio);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-rosso-button);
  text-decoration: underline;
}

.footer-newsletter {
  max-width: 100%;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-rosso-button);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: var(--font-size-16);
  color: var(--color-testo-grigio);
  background-color: transparent;
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(17, 17, 17, 0.5);
}

.newsletter-input:focus {
  border-color: var(--color-rosso-button);
  box-shadow: 0 0 0 3px rgba(187, 111, 146, 0.1);
}

.newsletter-form .button {
  width: 100%;
}

.newsletter-msg {
  margin: 0.5rem 0 0;
  font-family: var(--font-body);
  font-size: var(--font-size-14);
  min-height: 1.2em;
}

.newsletter-msg--ok {
  color: #2e7d32;
}

.newsletter-msg--err {
  color: var(--color-rosso-button);
}

.footer-bottom {
  margin-top: 1rem;
}

.footer-credits p {
  font-family: var(--font-body);
  font-size: var(--font-size-14);
  color: var(--color-testo-grigio);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.social-link {
  font-family: var(--font-title);
  font-size: var(--font-size-14);
  color: var(--color-testo-grigio);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--color-rosso-button);
}

.footer-email a {
  font-family: var(--font-title);
  font-size: var(--font-size-14);
  color: var(--color-testo-grigio);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-email a:hover {
  color: var(--color-rosso-button);
}

@media (max-width: 991px) {
  .footer-section {
    padding: 4rem 0 2rem 0;
  }

  .footer-column {
    margin-bottom: 0;
  }

  .footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 0;
    border-bottom: 0.5px solid var(--color-giallo);
  }

  .footer-title {
    margin-bottom: 0;
    text-align: left;
  }

  .footer-toggle {
    display: block;
    font-size: 2rem;
    color: var(--color-giallo);
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
  }

  .footer-column.active .footer-toggle {
    transform: rotate(90deg);
  }

  .footer-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 0;
    text-align: left;
  }

  .footer-column.active .footer-links {
    max-height: none;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }

  .footer-newsletter {
    margin-top: 1rem;
  }

  .footer-newsletter .footer-title {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .footer-section {
    padding: 4rem 0 2rem 0;
  }

  .footer-main {
    margin-bottom: 3rem;
  }

  .footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
  }

  .footer-credits,
  .footer-social,
  .footer-email {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .footer-social {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .footer-section {
    padding: 4rem 0 2rem 0;
  }

  .footer-title {
    font-size: var(--font-size-20);
  }
}

/* ========================================
   ============ POPUP SUCCESS =============
   ======================================== */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  position: relative;
  background-color: var(--color-bianco-body);
  border-radius: 12px;
  padding: 3rem 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.popup-close .close-line {
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-rosso-button);
  transition: background-color 0.3s ease;
}

.popup-close .close-line:first-child {
  transform: rotate(45deg);
}

.popup-close .close-line:last-child {
  transform: rotate(-45deg);
}

.popup-close:hover .close-line {
  background-color: #a05578;
}

.popup-body {
  text-align: center;
}

.popup-body h3 {
  color: var(--color-testo-grigio);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.popup-body p {
  color: var(--color-testo-grigio);
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 576px) {
  .popup-content {
    padding: 2.5rem 1.5rem;
  }

  .popup-body h3 {
    font-size: 1.25rem;
  }

  .popup-body p {
    font-size: 0.95rem;
  }
}

/* ========================================
   ============ COMMING SOON =============
   ======================================== */

.coming-soon-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5% 0;
  position: relative;
  overflow: hidden;
}

.coming-soon-content {
  position: relative;
  z-index: 2;
}

.coming-soon-subtitle {
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 4rem auto 3rem;
}

.coming-soon-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 30px rgba(99, 15, 48, 0.15);
}

.coming-soon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.coming-soon-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .coming-soon-images {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem auto 2rem;
  }

  .coming-soon-features {
    gap: 2rem;
    margin-top: 3rem;
  }

  .feature-item {
    max-width: 100%;
  }
}