/*  
	Theme Name: 21Nova 
	Version: 1.0 2025
    Página: Home
	Author: hctr
*/

/* Brands */

.homeBrands {
  width: 100%;
  padding: 5.6rem 0 9.5rem 0;
}

.homeBrands__contenido {
  width: 100%;
}

.homeBrands__header {
  width: 100%;
  padding: 0 5.4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.homeBrands__header h1 {
  display: block;
  font-size: var(--size--24);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  text-wrap: inherit;
}

.homeBrands__header--left span {
  display: none;
}

.homeBrands__header--left div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.homeBrands__header p {
  font-size: var(--size--14);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.homeBrands__header p::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--color--primary);
}

.homeBrands__header a {
  font-size: var(--size--14);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  color: var(--color--primary);
}

.homeBrands__header--right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.homeBrands__header--right span {
  font-size: var(--size--13);
  text-transform: uppercase;
}

.homeBrands__header--right .swiper-button-next {
  width: 13px;
  height: 8px;
  position: relative !important;
  right: inherit !important;
  top: inherit !important;
  left: inherit !important;
  bottom: inherit !important;
  margin: 0 !important;
}

.homeBrands__header--right .swiper-button-next::after {
  width: 13px;
  height: 8px;
  background-image: url("../img/arrow-black.svg");
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.homeBrands__slide {
  width: 100%;
  margin-top: 2.1rem;
}

.homeBrands__item div {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 1.9rem 1.6rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.homeBrands__item div p {
  font-size: var(--size--13);
  text-transform: uppercase;
  text-align: justify;
  hyphens: auto;
  line-height: 1.2;
  color: var(--color--secondary);
}

.homeBrands__item div p a {
  font-size: var(--size--13);
  color: var(--color--secondary);
  text-decoration: none;
}

.homeBrands__item figure {
  max-width: 100%;
}

.homeBrands__item figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.homeBrands__item picture {
  display: block;
  width: 100%;
  aspect-ratio: 380 / 540;
  overflow: hidden;
}

.homeBrands__item picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 639px) {
  .homeBrands__header {
    padding: 0 4.5rem 0 5.4rem;
  }
  .homeBrands__header--right {
    display: none;
  }
  .homeBrands__header--left {
    flex: 1;
    width: 100%;
  }
  .homeBrands__header h1 {
    max-width: 65%;
    margin-bottom: 15px;
  }
  .homeBrands__header--left span {
    display: block;
    font-size: 14px;
    color: #c4c4c4;
  }
  .homeBrands__header--left div {
    justify-content: space-between;
  }
  .homeBrands__header--left div:first-child {
    align-items: flex-start;
  }
}

/* Services */

.homeServices {
  width: 100%;
}

.homeServices__contenido {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  counter-reset: homeServices;
}

.homeServices__titulo {
  flex: 1 0.2 20%;
  display: block;
  padding: 3rem 2rem 2.5rem 6.1rem;
  border: 0.1rem solid var(--color--tertiary);
  background-color: var(--color--tertiary);
  color: var(--color--primary);
  font-size: var(--size--24);
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.homeServices h2 {
  flex: 1 0.2 20%;
  border: 0.1rem solid var(--color--tertiary);
}

.homeServices h2::before {
  counter-increment: homeServices;
  content: "(" counter(homeServices) ")";
  position: absolute;
  z-index: 1;
  bottom: 0.5rem;
  right: 1rem;
  color: var(--color--primary);
  font-size: var(--size--14);
  font-weight: 400;
}

.homeServices h2 a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 3rem 2rem 2.5rem 2rem;
  color: var(--color--primary);
  font-size: var(--size--24);
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
  display: flex;
  align-items: center;
}

.homeServices h2 a:hover {
  background-color: var(--color--tertiary);
}

@media (max-width: 799px) {
  .homeServices__contenido {
    padding: 0 10px;
    flex-wrap: wrap;
  }
  .homeServices__titulo {
    flex: 1 0 100%;
    justify-content: center;
  }
  .homeServices h2 {
    flex: 1 0.5 50%;
  }
}
@media (max-width: 639px) {
  .homeServices h2 {
    min-height: 97px;
  }
  .homeServices h2 a {
    font-size: 20px;
    padding: 5rem 3rem 4.5rem 3rem;
  }
}
@media (max-width: 479px) {
  .homeServices h2 a {
    font-size: 16px;
    padding: 4rem 3rem 3.5rem 3rem;
  }
}

/* Slide */

.homeSlide {
  width: 100%;
  margin-top: 8.9rem;
}

.homeSlide__contenido {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.homeSlide__contenido a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 6.8rem 3.6rem 3rem 3.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}

.homeSlide__top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.homeSlide__top h2 {
  font-size: var(--size--24);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color--secondary);
}

.homeSlide__top p {
  font-size: var(--size--14);
  color: var(--color--secondary);
}

.homeSlide__top span:last-child {
  display: block;
  width: 32.5rem;
}

.homeSlide__aviso {
  font-size: var(--size--24);
  text-transform: uppercase;
  color: var(--color--secondary);
}

.homeSlide__bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.homeSlide__bottom h3 {
  font-size: var(--size--16);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color--secondary);
}

.homeSlide__slide {
  z-index: 0 !important;
  width: 100%;
  aspect-ratio: 1728 / 883;
  overflow: hidden;
}

.homeSlide__slide picture {
  width: 100%;
  height: 100%;
}

.homeSlide__slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homeSlide .swiper-pagination {
  width: fit-content !important;
  height: 0.3rem !important;
  top: 8rem !important;
  bottom: inherit !important;
  left: calc(100% - 16rem) !important;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  transform: none !important;
}

.homeSlide .swiper-pagination span.swiper-pagination-bullet-active {
  background-color: var(--color--secondary) !important;
  opacity: 1 !important;
}

.homeSlide .swiper-pagination span {
  position: relative !important;
  left: 0 !important;
  top: 0 !important;
  right: inherit !important;
  bottom: inherit !important;
  width: 3.8rem !important;
  height: 0.3rem !important;
  min-width: 3.8rem !important;
  min-height: 0.3rem !important;
  border-radius: 0.3rem !important;
  background-color: var(--color--secondary) !important;
  opacity: 0.5 !important;
  margin: 0 !important;
  transform: none !important;
}

@media (max-width: 799px) {
  .homeSlide__slide {
    aspect-ratio: 440 / 662;
  }
  .homeSlide__top {
    position: absolute;
    top: 0;
    left: 0;
    height: 50%;
    padding: 10rem 3.6rem 0 3.6rem;
    flex-direction: column;
    justify-content: space-between;
    flex-direction: column;
  }
  .homeSlide__top span:last-child {
    display: none;
  }
  .homeSlide__bottom {
    position: absolute;
    bottom: 10rem;
    left: 0;
    padding: 0 10rem 0 3.6rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .homeSlide .swiper-pagination {
    height: 3px !important;
    top: calc(100% - 30px) !important;
    left: calc(100% - 100px) !important;
  }
  .homeSlide .swiper-pagination span {
    height: 3px !important;
  }
}

/* Columns */

.homeColumns {
  width: 100%;
  padding: 6.3rem 0 6.7rem 0;
}

.homeColumns__container {
  width: 100%;
  padding: 0 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0.9rem;
}

.homeColumns__left {
  flex: 1 0.5 50%;
  max-width: 50%;
  display: block;
}

.homeColumns__left picture {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 852 / 791;
  overflow: hidden;
}

.homeColumns__left picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homeColumns__right {
  flex: 1 0.5 50%;
  max-width: 50%;
  display: block;
}

.homeColumns__right picture {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 852 / 791;
  overflow: hidden;
}

.homeColumns__right picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homeColumns__contenido {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2.1rem 3.1rem 2.2rem 4.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.homeColumns__contenido--top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.homeColumns__contenido--top h2 {
  font-size: var(--size--16);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color--secondary);
}

.homeColumns__contenido--top p {
  font-size: var(--size--14);
  color: var(--color--secondary);
  margin-bottom: 1.5rem;
}

.homeColumns__contenido--top a {
  font-size: var(--size--14);
  color: var(--color--secondary);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  text-transform: uppercase;
}

.homeColumns__contenido--bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20%;
}

.homeColumns__contenido--bottom p {
  font-size: var(--size--13);
  color: var(--color--secondary);
  line-height: 1.3;
  text-align: justify;
  hyphens: auto;
}

.homeColumns__contenido--bottom a {
  font-size: var(--size--14);
  color: var(--color--secondary);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.homeColumns__right .swiper {
  z-index: 0 !important;
}

.homeColumns__right h2 {
  font-size: var(--size--13);
  font-weight: 400;
  padding-top: 2rem;
}

.homeColumns__bottom--acciones {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 2rem;
}

.homeColumns__navegador {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.homeColumns__navegador .swiper-pagination {
  position: relative !important;
  right: inherit !important;
  top: inherit !important;
  left: inherit !important;
  bottom: inherit !important;
  margin: 0 !important;
  font-size: var(--size--13);
  color: var(--color--secondary);
  white-space: nowrap;
}

.homeColumns__bottom--acciones .swiper-button-next {
  position: relative !important;
  right: inherit !important;
  top: inherit !important;
  left: inherit !important;
  bottom: inherit !important;
  margin: 0 !important;
  width: 13px !important;
  height: 8px !important;
}

.homeColumns__bottom--acciones .swiper-button-next::after {
  width: 13px;
  height: 8px;
  background-image: url("../img/arrow-white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: 100%;
  overflow: hidden;
  white-space: nowrap;
}

@media (max-width: 799px) {
  .homeColumns {
    padding: 13rem 5rem 6.7rem 5rem;
  }
  .homeColumns__container {
    flex-direction: column;
    gap: 8rem;
  }
  .homeColumns__left,
  .homeColumns__right {
    flex: 1;
    max-width: 100%;
  }
  .homeColumns__contenido--top h2 {
    font-size: 13px;
  }
  .homeColumns__contenido--top p {
    font-size: 13px;
  }
  .homeColumns__contenido--top figure {
    width: 64px;
    min-width: 64px;
  }
  .homeColumns__contenido--top figure img {
    width: 100%;
  }
  .homeColumns__contenido--top a {
    font-size: 13px;
  }
  .homeColumns__contenido--bottom {
    position: initial;
    flex-direction: column;
    gap: 15px;
  }
  .homeColumns__right .homeColumns__contenido--bottom {
    flex-direction: row;
  }
  .homeColumns__bottom--acciones {
    position: initial;
  }
  .homeColumns__right .homeColumns__contenido--bottom a {
    position: absolute;
    top: 8rem;
    left: 4.6rem;
    font-size: 13px;
  }
  .homeColumns__right h2 {
    font-size: 13px;
  }
  .homeColumns__contenido--bottom p {
    font-size: 12px;
  }
  .homeColumns__contenido--bottom a {
    font-size: 13px;
  }
}
@media (max-width: 639px) {
  .homeColumns__contenido {
    padding: 4rem 3rem 4rem 3rem;
  }
  .homeColumns__contenido--top {
    height: 100%;
    gap: 10%;
  }
  .homeColumns__contenido--top > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .homeColumns__contenido--top h2 {
    margin: 0 0 auto 0;
  }
  .homeColumns__contenido--top p {
    max-width: 196px;
  }
  .homeColumns__contenido--bottom {
    position: absolute;
    z-index: 1;
    bottom: 4rem;
    right: 3.1rem;
    width: auto;
  }
  .homeColumns__left .homeColumns__contenido--bottom div {
    display: none;
  }
  .homeColumns__right .homeColumns__contenido--bottom div {
    position: absolute;
    top: 8rem;
    left: 3rem;
  }
  .homeColumns__right h2 {
    padding-top: 0;
  }
  .homeColumns__right .homeColumns__contenido--bottom {
    position: initial;
  }
  .homeColumns__navegador {
    display: none;
  }
  .homeColumns__right .homeColumns__contenido--bottom a {
    top: 0;
    left: 0;
  }
}
@media (max-width: 479px) {
  .homeColumns__left picture {
    aspect-ratio: 376 / 429;
  }
  .homeColumns__right picture {
    aspect-ratio: 376 / 429;
  }
}
