

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;

  transition: opacity 1s ease;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.hero-section.is-playing .hero-video-overlay {
  opacity: 0;
}

.hero-image {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  opacity: 0;
  animation: heroTitleReveal 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}

@keyframes heroTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 10;
  pointer-events: none;
  transform: translateY(25.5%);
  clip-path: inset(0 100% 0 0);
  animation: waveReveal 3s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}

.hero-section.is-playing .hero-image {
  animation: heroTitleHide 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-section.is-playing .hero-wave {
  animation: waveHide 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-video-controls {
  position: absolute;
  bottom: 50px;
  left: 50px;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
  display: flex;
  gap: 8px;
}

@media (max-width: 768px) {
  .hero-video-controls {
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
  }
}

.hero-section.controls-active .hero-video-controls {
  opacity: 1;
  visibility: visible;
}

.btn-hero-control {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 50px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  transition:
    background 0.3s ease,
    transform 0.3s ease;
  font-size: 1rem;
}

.btn-hero-control:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

@keyframes heroTitleHide {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(30px);
  }
}

@keyframes waveHide {
  0% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }

  100% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
}

@keyframes waveReveal {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

.intermedia-section {
  position: relative;
  width: 100%;
  height: 15vh;
  background-color: #ffffff;
  z-index: 1;
}

.slider-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding-bottom: 50px;
}

.slider-section .carousel {
  width: 100%;
}

.slider-section .carousel-inner,
.slider-section .carousel-item {
  height: 60vh;
  width: 100%;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.izuzu-indicators {
  bottom: -40px;
  margin-bottom: 0;
  gap: 12px;
}

.izuzu-indicators button {
  width: 40px !important;
  height: 4px !important;
  background-color: #808080 !important;
  border: none !important;
  opacity: 0.5 !important;
  border-radius: 2px;
  transition: all 0.4s ease;
  margin: 0 !important;
}

.izuzu-indicators button.active {
  background-color: #ff3c4b !important;
  opacity: 1 !important;
  width: 60px !important;
}

.tecnologia-section {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  background-color: #ffffff;
}

.tec-panel {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
}

.tec-left {
  flex: 2;
  align-items: center;
}

.tec-right {
  flex: 1;
  padding: 5% 10% 5% 5%;
}

.tec-left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 70%;
  background-color: #344251;
}

.tec-title {
  color: #344251;
  text-transform: uppercase;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  white-space: nowrap;
  position: absolute;
  top: 20%;
  z-index: 2;
}

.tec-vertical-slider-wrapper {
  width: 100%;
  height: 90vh;
  margin-top: 30px;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  z-index: 2;
  padding: 5%;
}

.tec-vertical-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.tec-slider-img {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 50%;
  object-fit: contain;
}

.tec-slider-img-3 {
  height: 100%;
}

.tec-right {
  align-items: flex-start;
  justify-content: center;
}

.tec-right::before {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  width: 20px;
  height: 70%;
  background-color: #344251;
  z-index: 5;
}

.tec-connections-img {
  position: absolute;
  right: -75%;
  top: 18%;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .tec-connections-img {
    display: none;
  }
}

.tec-subtitle {
  color: #344251;
  font-weight: bold;
  font-size: 2.2rem;
  margin-top: 0;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.tec-text {
  color: #344251;
  font-size: 1.2rem;
  margin-bottom: 5%;
  position: relative;
  z-index: 2;
}

.oferta-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.oferta-mobile {
  display: none;
}

.oferta-header {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 8%;
}

.oferta-bg-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18rem;
  font-weight: 800;
  color: #344251;
  opacity: 0.1;
  white-space: nowrap;
  z-index: 1;
  margin: 0;
  pointer-events: none;

  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0) 100%
  );
}

.oferta-title-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.oferta-title {
  font-size: 4rem;
  font-weight: bold;
  color: #344251;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.oferta-divider {
  width: 8vw;
  height: 2px;
  background-color: #ff3c4b;
  margin-top: 5vh;
  position: absolute;
  bottom: -60%;
}

.oferta-content {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.oferta-bg-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
}

.oferta-red-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 100%;
  background-color: #e50014;
  z-index: 3;
  transition:
    width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    background-color 0.6s ease;
  overflow: hidden;
}

.oferta-red-bar.is-expanded {
  width: 100%;
  background-color: rgba(229, 0, 19, 0.77);
}

.red-bar-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100vw;
  height: 100%;
  padding: 0 5%;
  box-sizing: border-box;
}

.red-bar-left {
  position: absolute;
  top: -20px;
  left: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.car-left.is-active .red-bar-left {
  opacity: 1;
  transition: opacity 0.6s ease 0.2s;
}

.red-bar-left img {
  max-width: 100%;
  height: auto;
  position: relative;
  display: block;
}

.red-bar-right {
  width: 40%;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: right;
}

.gama-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.gama-model {
  font-size: 1.5rem;
  margin: 0;
}

.gama-desc {
  font-size: 1.2rem;
  margin-top: 5px;
  margin-bottom: 25px;
}

.btn-conocelos {
  display: inline-block;
  background-color: #ffffff;
  color: #e50014;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 35px;
  border-radius: 50px;
  margin-top: 15px;
  font-size: 1.1rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.btn-conocelos:hover {
  background-color: #344251;
  color: #ffffff;
}

.oferta-cars-container {
  position: absolute;
  bottom: 5%;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 5%;
  box-sizing: border-box;
}

.car-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
}

.car-left {
  position: relative;
  z-index: 4;
  transition: opacity 0.4s ease;
}

.car-right {
  position: relative;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.oferta-red-bar.is-expanded ~ .oferta-cars-container .car-right {
  opacity: 0;
  pointer-events: none;
}

.oferta-white-bar.is-expanded ~ .oferta-cars-container .car-left {
  opacity: 0;
  pointer-events: none;
}

.car-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.car-left.is-active .car-img,
.car-right.is-active .car-img {
  transform: scale(1.08);
}

.oferta-white-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background-color: #ffffff;
  z-index: 1;
  transition:
    width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
    background-color 0.6s ease;
  overflow: hidden;
}

.oferta-white-bar.is-expanded {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.45);
}

.white-bar-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100vw;
  height: 100%;
  padding: 0 5%;
  box-sizing: border-box;
}

.white-bar-left {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gama-title-dark {
  color: #344251;
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.gama-model-dark {
  color: #344251;
  font-size: 1.5rem;
  margin: 0;
}

.gama-desc-dark {
  color: #344251;
  font-size: 1.2rem;
  margin-top: 5px;
  margin-bottom: 25px;
}

.btn-conocelos-red {
  display: inline-block;
  background-color: #e50014;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 35px;
  border-radius: 50px;
  margin-top: 15px;
  font-size: 1.1rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.btn-conocelos-red:hover {
  background-color: #344251;
  color: #ffffff;
}

.white-bar-right-title {
  position: absolute;
  top: 20px;
  right: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.car-right.is-active .white-bar-right-title {
  opacity: 1;
  transition: opacity 0.6s ease 0.2s;
}

.white-bar-right-title img {
  max-width: 100%;
  height: auto;
  position: relative;
  display: block;
  right: 5%;
}

.btn-more {
  display: block;
  cursor: pointer;
}

.btn-more img {
  height: 85px;
  width: auto;
  transition: transform 0.3s ease;
}

.btn-more:hover img {
  transform: scale(1.05);
}

