:root {
  --height-text-content: 450px;
}
.home {
  padding-top: var(--header-height);
}
/* SLAIDER */
.slaider {
  width: 100%;
  /* max-width: calc(100vh * 5); */
  height: 656px;
  position: relative;
  max-width: 100vw;
  overflow: hidden;
}
.slider__list {
  width: max-content;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  overflow: hidden;
  /* transition: all var(--transition-duration) ease; */
}
.slider__item {
  width: 100vw;
  height: 100%;
}
.slider__item-image {
  width: 100%;
  max-width: 100vw;
  /* height: calc(484px - var(--header-height)); */
  height: calc(370px - var(--header-height));
  object-fit: cover;
  object-position: 65% center;
  display: block;
}
.slider__image-content picture {
  display: flex;
  height: 100%;
}
.slider__item-image-noText {
  height: 700px;
  object-position: center;
}
.slider__item-image-general {
  object-position: 9% center;
}
.slider__banner-image {
  object-position: center 90%;
}
.slider__emzoom-r-style {
  object-position: center 90%;
}
.slider__emkoo-hev {
  object-position: center 90%;
}
.slider__aion-y-plus {
  object-position: center 90%;
}
.slider__aion-es {
  object-position: center 90%;
}
.slider__arrows {
  position: absolute;
  top: 34%;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding-inline: 1rem;
}
.slider__arrow--prev,
.slider__arrow--next {
  height: 32px;
  width: 32px;
  background-size: cover; /* Hace que la imagen de fondo cubra el botón */
  background-repeat: no-repeat; /* Evita que la imagen de fondo se repita */
  background-position: center;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background-color: transparent;
}
.slider__arrow--prev {
  background-image: url("../images/home/prev-arrow.svg");
}
.slider__arrow--next {
  background-image: url("../images/home/next-arrow.svg");
}
.slider__item-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.slider__text-content {
  background-color: var(--primary-color);
  padding-inline: 1rem;
  padding-top: 0.5rem;
  height: 100%;
}
.slider__title {
  color: var(--secondary-color);
  font-size: clamp(32px, 4vw + 1rem, 52px);
  /* text-transform: capitalize; */
}
.slider__title-main {
  max-width: 1045px;
  text-align: center;
  font-size: clamp(28px, 4vw, 52px);
}
.slider__description-main {
  font-size: clamp(14px, 4vw, 20px);
  text-align: center;
}
.slider__subtitle {
  color: var(--secondary-color);
  font-size: clamp(20px, 4vw, 32px);
  margin-top: 0.5rem;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 9.5%;
  text-underline-offset: 25%;
  text-underline-position: from-font;
  line-height: 1.5;
}
.slider__title-type {
  font-size: clamp(20px, 4vw + 1rem, 40px);
  color: var(--secondary-color);
  text-transform: capitalize;
}
.slider__description {
  color: var(--secondary-color);
  font-size: clamp(16px, 2vw, 20px);
  margin-top: 1rem;
  max-width: 450px;
}

.slider__buttons {
  margin-block: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.slider__button {
  padding: 10px 32px;
  font-size: 14px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.slider__button--white {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  z-index: 1;
}
.slider__button--black {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: solid 1px var(--secondary-color);
  z-index: 1;
}
.slider__dots {
  position: absolute;
  top: 95%;
  display: flex;
  width: 100%;
  height: 4px;
  gap: 0.5rem;
  padding-inline: 1rem;
}
.slider__dot {
  height: 4px;
  flex: 1 0 0;
  background: rgba(255, 255, 255, 0.33);
  list-style: none;
  transition: all var(--transition-duration) ease;
}
.slider__dot.active {
  background-color: var(--secondary-color);
}
.slider__image-content {
  position: relative;
}
.slider__image-content::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}
.complement__slider {
  height: 60px;
  background-color: var(--primary-color);
  display: none;
}
.img {
  width: 100%;
  display: block;
  height: auto;
}

/* SECCION 2, INFORMACION DE GACMOTOR */
.gac__intro-content {
  padding: 1.5rem 1rem 5rem 1rem;
}
.gac__intro-title {
  font-size: clamp(25px, 4vw, 40px);
  margin-block: 1rem 2rem;
}
.gac__intro-description {
  font-size: clamp(16px, 2.5vw, 20px);
}
.gac__stats {
  padding: 2rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.gac__stat-value {
  font-size: 48px;
  font-weight: 700;
  color: #d40021;
}
.gac__stat-label {
  font-size: 20px;
  font-weight: 600;
}

/* SECCION 3, GALLERY */
#gallery {
  padding-bottom: 60px;
  background-color: var(--primary-color);
}

/* SUSCRIBE */
.suscribe {
  background-image: url("../images/home/banner-suscribe-mobile.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--secondary-color);
  padding-inline: 1rem;
  min-height: 740px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding-block: 14rem 2rem;
}
.suscribe__container {
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
.suscribe__title {
  text-align: center;
  font-size: clamp(28px, 4vw, 35px);
}
.suscribe__description {
  text-align: center;
  font-size: 16px;
}
.suscribe__input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: var(--secondary-color);
  font-size: clamp(16px, 4vw, 18px);
}
.suscribe__form,
.suscribe__input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form__validation {
  width: 100%;
}
.form__error {
  color: rgb(255, 134, 134);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.suscribe__title-envio {
  font-size: clamp(32px, 4vw, 35px);
}
.suscribe__subtitle-envio {
  font-size: 16px;
}
.suscribe__title-envio,
.suscribe__subtitle-envio {
  text-align: center;
}
.suscribe__button {
  padding: 16px 40px;
  background-color: #d40021;
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 800;
  border: none;
  cursor: pointer;
}
.suscribe__consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.suscribe__checkbox {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  flex: none;
  align-self: start;
  display: flex;
  cursor: pointer;
}

.suscribe__label {
  padding-left: 30px;
  font-size: 16px;
  position: relative;
  font-weight: 500;
  cursor: pointer;
  color: var(--secondary-color);
}

/* El "cuadro" que simula el checkbox */
.suscribe__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background-color: #d9d9d9;
  transition: all 0.5s ease;
}

/* Estilos para el chulo (check) */
.suscribe__label::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  transform: translateY(-50%) scale(0);
  width: 15px;
  height: 15px;
  background: url("../images/cotizador/check-icon.svg") no-repeat center/contain;
  transition: transform 0.5s ease;
}

/* Estilos cuando el checkbox está marcado */
.suscribe__checkbox:checked + .suscribe__label::before {
  background-color: #fad4d8;
  /* Fondo suave rojo */
}

.suscribe__checkbox:checked + .suscribe__label::after {
  transform: translateY(-50%) scale(1);
  /* Mostrar el check */
}

.suscribe__link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 700;
}

/* SELECT STYLE */
.custom-select,
.form__select {
  position: relative;
  width: 100%;
  /* margin-block: 1rem 2rem; */
}
.custom-select__option {
  text-transform: uppercase;
}
.custom-select__trigger,
.form__select-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  color: var(--primary-color);
  padding: 16px 20px;
  cursor: pointer;
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.5);
  max-height: 56px;
}
.custom-select__options,
.cotizador__product-name {
  text-transform: capitalize;
}

.custom-select__options,
.form__select-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--primary-color);
  z-index: 1;
  border-radius: 4px;
}

.custom-select__option,
.form__option {
  padding: 16px 20px;
  cursor: pointer;
  font-size: clamp(16px, 4vw, 18px);
  font-weight: 600;
  background-color: #fff;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.custom-select__option.select,
.form__option.select {
  border-left: 3px solid #d40021;
}

.custom-select__option:hover,
.form__option:hover {
  background-color: #e0e0e0;
}

/* Mostrar opciones cuando el select está activo */
.custom-select.open .custom-select__options,
.form__select.open .form__select-options {
  display: block;
  max-height: 240px;
  overflow-y: auto;
}

.custom-select .arrow,
.form__select .form__select-arrow {
  transition: transform 0.3s ease;
  /* Añade una animación suave para la rotación */
}

.custom-select.open .arrow,
.form__select.open .form__select-arrow {
  transform: rotate(180deg);
}

/* VIDEO */

.video__container {
  width: 100%;
  display: flex;
}

.video__iframe {
  width: 100vw;
  height: 430px;
}
.video__home {
  display: flex;
  align-items: center;
  justify-content: center;
}
.video__home-iframe {
  aspect-ratio: 16 / 9; /* Relación de aspecto 16:9 */
  width: 100%;
}

/* CONTENT ABOUT */
.content__card {
  max-width: 500px;
}
.content__card-image-container {
  position: relative;
}
.content__card-image {
  width: 100%;
  height: auto;
  display: block;
}
.content__card-title-container {
  width: 100%;
  background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 100%);
  height: 157px;
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: end;
  color: var(--secondary-color);
}
.content__card-title {
  width: 100%;
  text-align: center;
  padding-bottom: 1.5rem;
  font-size: 20px;
}
.content__card-description {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 16px;
}
.content__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* DATE */
.date {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
}
.date__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.date__group-number {
  font-size: clamp(40px, 4vw, 80px);
  color: var(--secondary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.date__group-text {
  font-size: clamp(12px, 4vw, 16px);
  color: #e84e0f;
  font-weight: 500;
  text-align: center;
}
.equal {
  font-size: clamp(13px, 4vw, 16px);
  color: var(--secondary-color);
  font-weight: 800;
  display: flex;
  align-items: center;
}

/* INNOVATION */
.innovation {
  display: flex;
  flex-direction: column;
}
.innovation__picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.innovation__image,
.innovation__content {
  flex: 1;
}

.innovation__content {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding-block: 1rem 2rem;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.innovation__content .innovation__content-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.innovation__content .innovation__content-paragraph {
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 400;
}

.innovation__content .innovation__content-link {
  background-color: var(--secondary-color);
  padding: 16px 40px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  max-width: max-content;
}

/* COMPARATIVE */
.comparative {
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3vw, 3rem);
  justify-content: center;
  align-items: center;
}

.comparative__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.comparative__header-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
}

.comparative__header-paragraph {
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 400;
  text-align: center;
  max-width: 1122px;
}

.comparative__table {
  width: 100%;
  border-collapse: collapse;
}

.comparative__table thead {
  background-color: var(--primary-color);
  font-size: clamp(13px, 4vw, 16px);
}

.comparative__table tbody {
  background-color: #f9f9f9;
}

.comparative__table thead th {
  font-size: clamp(13px, 3vw, 16px);
  color: var(--secondary-color);
  padding: 20px 10px;
}

.data__bold,
.data__normal {
  text-align: center;
  padding: 20px 10px;
}

.comparative__table .data__bold {
  font-size: clamp(13px, 3vw, 15px);
}

.comparative__table .data__normal {
  font-size: clamp(12px, 3vw, 15px);
}
.table-wrapper {
  border-radius: 12px;
  overflow: hidden;
  max-width: 1050px;
  margin: 0 auto;
  width: 100%;
}

/* TEST DRIVER */
.testDriver {
  background: url("../images/home/bg-test-driver.webp") no-repeat center/cover;
  height: 438px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.testDriver__title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--secondary-color);
  max-width: 676px;
  text-align: center;
  font-weight: 400;
}
.testDriver__link {
  padding: 16px 40px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

/* REVIEWS */
.reviews {
  min-height: 375px;
  background-color: #f9f9f9;
  padding: 2.5rem 1rem;
  display: flex;
}
.reviews__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 4rem);
}
.reviews__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reviews__header-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

.reviews__header-paragraph {
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 400;
}
.reviews__items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reviews__item {
  padding: 20px;
  background-color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  color: var(--primary-color);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.reviews__item-data {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.reviews__item-title {
  font-size: 18px;
}
.reviews__item-data span {
  color: #d40021;
  font-size: 14px;
  font-weight: 700;
}
.desktop {
  display: none;
}
.reviews__btn {
  padding: 16px 40px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

/* REPAIRS AND DEALERSHIPS*/
.repairs__header-container, .dealerships__header-container{
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dealerships__header-container{
  background-color: var(--secondary-color);
}
.repairs__header, .dealerships__header{
  max-width: 522px;
  padding: 40px 20px 20px;
  color: var(--secondary-color);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 30px);
}
.dealerships__header{
  color: var(--primary-color);
}
.repairs__header-title, .dealerships__header-title{
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.repairs__header-paragraph, .dealerships__header-paragraph{
  font-size: clamp(16px, 4vw, 20px);
}
.repairs__header-btn, .dealerships__header-btn{
  font-size: 16px;
  padding: 16px 40px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.dealerships__header-btn{
  background-color: var(--primary-color);
  color: var(--secondary-color);
}
.repairs__picture img, .dealerships__picture img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.innovation, .repairs, .dealerships{
  max-width: 700px;
  margin: 0 auto;
}

/* @media (max-height: 750px) {
  .slider__item-image {
    height: calc(300px - var(--header-height));
  }
} */
@media (max-width: 500px) {
  .suscribe {
    background-position: top;
  }
}
@media (min-width: 580px) {
  .slider__item-image-noText {
    object-position: 80% center;
  }
  .slaider {
    height: calc(810px - var(--header-height));
  }
  .slider__item-image {
    height: calc(810px - var(--header-height));
    /* object-position: center; */
  }
  .slider__item-image-button {
    object-position: bottom;
  }
  .slider__arrows {
    top: 45%;
  }
  .slider__arrow--prev,
  .slider__arrow--next {
    height: 56px;
    width: 56px;
  }
  .slider__dots {
    justify-content: center;
    top: 93%;
  }
  .slider__dot {
    max-width: 40px;
  }
  .slider__text-content {
    position: absolute;
    top: 18%;
    left: 15%;
    background-color: transparent;
    /* max-width: 450px; */
  }
  .slider__subtitle-margin {
    margin-block: 2rem;
  }
  .slider__text-precios {
    max-width: 740px;
  }
  .slider__description-main {
    max-width: 825px;
    text-align: center;
  }
  .slider__text-precios-main {
    /* max-width: 1045px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 4rem;
    left: auto;
    width: 100%;
  }
  .slider__item-content {
    position: relative;
  }
  .slider__image-content::before {
    display: none;
  }
  .slider__image-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.4);  */
  }
  .slider__item-background {
    display: none;
  }
  .date {
    left: 15%;
    top: 28%;
    transform: none;
    padding-inline: 1rem;
    z-index: 1;
  }
  .slider__text-count {
    /* padding-top: 14rem; */
    top: 40%;
  }
  .complement__slider {
    display: none;
  }
 
}

@media (min-width: 1150px) {
  .innovation {
    flex-direction: row;
  }
}

@media (min-width: 1050px) {
  /* SLIDER */

  /* SECCION 2, INFORMACION DE GACMOTOR */
  .gac__container {
    padding: 2rem 6rem 0rem 6rem;
  }
  .gac__intro {
    display: flex;
    gap: clamp(4rem, 6vw, 8rem);
  }
  .gac__intro-logo {
    max-width: 519px;
  }
  .gac__intro-content,
  .video__home {
    flex: 1;
    padding: 0;
  }
  .gac__intro-image-container {
    display: flex;
    align-items: center;
  }

  .gac__intro-title {
    margin-bottom: 4rem;
  }
  .gac__stats {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding-top: 4rem;
  }
  .gac__stat-item {
    flex: 1;
  }

  /* SUSCRITE */
  .suscribe {
    background-image: url("../images/home/banner-suscribe.webp");
    padding-inline: 80px;
    min-height: 416px;
    padding-block: 2rem;
  }
  .suscribe__container {
    max-width: 700px;
  }

  .suscribe__input-group {
    flex-direction: row;
    gap: 1rem;
  }
  .suscribe__form {
    gap: 1rem;
  }
  .video__iframe {
    height: 712px;
  }
  /* CONTENT ABOUT */
  .content__card {
    max-width: none;
  }

  .content__container {
    display: flex;
    flex-direction: row;
    align-items: normal;
  }
  .content__card {
    flex: 1;
  }
  .content__card-description {
    max-width: 252px;
    padding: 1.5rem 0;
  }
  .content__card-description-container {
    display: flex;
    justify-content: center;
  }
  .comingSoon__price {
    align-items: center;
  }

  .comparative {
    min-height: calc(100vh - var(--header-height));
  }

   /* REVIEWS */
  .reviews__content,
  .reviews {
    flex-direction: row;
    align-items: center;
  }
  .reviews__content {
    /* max-width: 80%; */
    margin: 0 auto;
  }
  .reviews__header{
    max-width: 390px;
  }
  .reviews__items {
    flex-direction: row;
  }
  .reviews__items {
    height: max-content;
  }
  .reviews__item {
    max-width: 413px;
  }
  .desktop {
    display: flex;
  }
  .mobile {
    display: none;
  }
  .reviews__btn {
    max-width: max-content;
  }

  /* REPAIRS AND DEALERSHIPS*/
  .repairs, .dealerships{
    display: flex;
  }
  
  .repairs__header-container, .repairs__img, .dealerships__header-container, .dealerships__img{
    flex: 1;
  }
  .repairs__header-btn, .dealerships__header-btn{
    max-width: max-content;
  }
  .repairs__header, .dealerships__header{
    max-width: 522px;
  }
  .innovation, .repairs, .dealerships{
    max-width: 100%;
    margin: 0;
}
}
