* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #050505;
  color: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   CAROSELLO
   ========================= */

.hero {
  width: 100%;
  padding: 0;
  background: #000;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  cursor: pointer;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: clamp(42px, 5vw, 72px);
  height: clamp(42px, 5vw, 72px);
  border: 1px solid rgba(230, 174, 49, 0.85);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #e6ae31;
  font-size: clamp(24px, 3vw, 42px);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.94);
}

.prev {
  left: clamp(10px, 2vw, 30px);
}

.next {
  right: clamp(10px, 2vw, 30px);
}

.counter {
  position: absolute;
  z-index: 10;
  right: clamp(12px, 2vw, 30px);
  bottom: clamp(10px, 2vw, 24px);
  padding: 7px 12px;
  border: 1px solid rgba(230, 174, 49, 0.75);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.58);
  color: #e6ae31;
  font-size: clamp(12px, 1.2vw, 16px);
}

/* =========================
   VIDEO
   ========================= */

.videos {
  width: min(94%, 1500px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 80px) 0;
}

.video-section {
  scroll-margin-top: 20px;
  margin-bottom: clamp(45px, 7vw, 100px);
}

.video-section h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(24px, 3vw, 46px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e6ae31;
}

.video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(230, 174, 49, 0.7);
  border-radius: clamp(8px, 1.2vw, 18px);
  background: #000;
  box-shadow: 0 0 28px rgba(230, 174, 49, 0.10);
}

.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: #cfcfcf;
  font-size: clamp(15px, 1.7vw, 22px);
  background:
    radial-gradient(circle at center, rgba(230,174,49,0.10), transparent 45%),
    #050505;
}

.video-placeholder strong {
  color: #e6ae31;
}

/* =========================
   TELEFONO
   ========================= */

@media (max-width: 700px) {
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .counter {
    padding: 5px 9px;
  }

  .videos {
    width: 96%;
    padding-top: 30px;
  }

  .video-section {
    margin-bottom: 48px;
  }

  .video-section h2 {
    margin-bottom: 10px;
  }
}
