@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
:root {
  /* COLORS */
  --primary: #14264c;
  --secondary: #223e7c;
  --thrid: #5f90ff;
  --text: #7D7D7D;
  --footer: #2D2D2D;
  /* FONTWEIGHT */
  --normal: 400;
  --medium: 500;
  --semi-bold: 600;
  --bold: 700;
  /* FONT */
  --title-1: calc(16px * 4);
  --title-2: calc(16px * 3.125);
  --title-3: calc(16px * 2.1875);
  --title-4: calc(16px * 1.25);
  --title-5: calc(16px * 1.125);
  --title-6: calc(16px * 0.875);
  /* Z-INDEX */
  --index-10: 10;
  --index-20: 20;
  --index-30: 30;
  --index-40: 40;
  --index-100: 100;
  --index-1000: 1000;
  --index-10000: 10000;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins","san-serif";
  line-height: 1;
}

img {
  max-width: 100%;
  object-fit: cover;
  display: flex;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

textarea {
  resize: none;
}

[class*="l-container"] {
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.l-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

@media screen and (max-width: 768px) {
  .l-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* ================ HEADER =============== */
.header {
  display: grid;
  grid-template-columns: 262px 1fr;
  grid-template-rows: 102px;
  height: 100%;
}

@media screen and (max-width: 1024px) {
  .header {
    grid-template-columns: 180px 1fr;
  }
}

@media screen and (max-width: 768px) {
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
}

.header__main {
  height: 102px;
  width: 100%;
  z-index: var(--index-10000);
  border-bottom: 1px solid #eee;
}

@media screen and (max-width: 768px) {
  .header__main {
    position: fixed;
    top: 0;
    background-color: #fff;
    height: 70px;
  }
  .header__img{
    width: 250px;
  }
}

.header__img {
  background-color: #fff;
  position: relative;
}

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

.header__buttom--toggle {
  border: 1px solid #eee;
  padding: 6px;
  border-radius: 3px;
  display: none;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .header__buttom--toggle {
    display: flex;
  }
}

.header__buttom--toggle svg {
  fill: #000;
  width: 20px;
}

.header__content {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .header__content {
    height: 100vh;
    position: absolute;
    top: 70px;
    left: 100%;
    display: flex;
    flex-direction: column;
    transition: all .5s ease;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100000;
  }
}

@media screen and (max-width: 414px){
  .header__main{
    height: 55px;
  }

  .header__img{
    width: 150px;
  }

  .header__content{
    top: 55px;
  }
}

.header__content.show__menu {
  left: 0;
}

.header__primary {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #fff;
  height: 40%;
}

@media screen and (max-width: 768px) {
  .header__primary {
    order: 2;
    padding: 10px;
    justify-content: center;
    height: initial;
  }
}

.header__icons {
  display: grid;
  grid-template-columns: 150px repeat(4, 50px);
  justify-items: center;
  margin-right: 2%;
}

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

.header__icons .header__icon:not(:last-child) .icon {
  background-color: var(--secondary);
  border-radius: 50%;
  padding: 8px;
}

.header__icons .header__icon .icon {
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__icons .header__icon .icon svg {
  fill: #fff;
  width: 20px;
  height: auto;
}

.header__icons .header__icon:last-child {
  border-left: 1px solid var(--secondary);
}

.header__icons .header__icon:last-child .icon {
  position: relative;
}

.header__icons .header__icon:last-child .icon svg {
  fill: none;
  width: auto;
}

.header__icons .header__icon--count {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--thrid);
  border-radius: 50%;
  top: 0;
  right: 8px;
  font-size: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__menu {
  background-color: var(--secondary);
  display: grid;
  grid-template-columns: 3fr 1fr;
  justify-content: flex-end;
  height: 60%;
}

@media screen and (max-width: 1024px) {
  .header__menu {
    grid-template-columns: 3fr 2fr;
  }
}

@media screen and (max-width: 768px) {
  .header__menu {
    grid-template-columns: 1fr;
    height: initial;
  }
}

.menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .menu {
    flex-direction: column;
    order: 2;
  }
}

@media screen and (max-width: 768px) {
  .menu__item {
    width: 100%;
  }
}

.menu__item{
  position: relative;
}

.menu__item:hover .submenu{
  display: block;
}

.menu__link {
  color: #fff;
  padding: 23px 20px;
  text-transform: uppercase;
  font-size: var(--title-6);
  letter-spacing: 0.2em;
  display: block;
}

@media screen and (max-width: 768px) {
  .menu__link {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(238, 238, 238, 0.4);
  }
}

@media screen and (max-width: 1024px) {
  .menu__link {
    font-size: 10px;
  }
}

.menu__link:hover {
  color: var(--thrid);
}

/* ======== SUBMENU ========== */
.submenu{
  position: absolute;
  width: 200%;
  z-index: 1000;
  left: -50%;
  background-color: var(--secondary);
  right: 50%;
  display: none;
}

.submenu__item{
  border-bottom: 1px solid rgba(238, 238, 238, 0.4);
}

.submenu__link{
  padding: 15px;
  color: #FFF;
  font-size: var(--title-6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  text-align: center;
}

.submenu__link:hover{
  color: var(--thrid);
}

@media screen and (max-width: 1024px) {
  .submenu__link {
    font-size: 10px;
  }
}

@media screen and (max-width: 768px) {
  .submenu {
    position: relative;
    left: 0;
  }

  .submenu__item{
    padding-left: 20px;
  }

  .submenu__link{
    text-align: left;
  }
}

.menu__search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
  cursor: pointer;
  transition: all .5s ease;
}



@media screen and (max-width: 768px) {
  .menu__search {
    padding: 20px;
    justify-content: flex-start;
    display: none;
  }
}

.menu__search svg {
  width: 25px;
  height: 25px;
}

@media screen and (max-width: 1024px) {
  .menu__search svg {
    width: 20px;
    height: 20px;
  }
}

.menu__input {
  align-items: center;
  padding-right: 10px;
  position: relative;
  display: none;
  transition: all .5s ease;
}

@media screen and (max-width: 768px) {
  .menu__input {
    padding-right: 0;
    border-bottom: 1px solid rgba(238, 238, 238, 0.4);
    display: flex !important;
  }
}

.menu__input--close {
  position: absolute;
  right: 10px;
  cursor: pointer;
  padding: 10px;
  line-height: .6;
  background-color: #eee;
  border-radius: 50%;
}

@media screen and (max-width: 768px) {
  .menu__input--close {
    right: 5px;
  }
}

.menu__input--search {
  display: block;
  width: 100%;
  padding: 10px 40px 10px 10px;
  outline: none;
  border: none;
  transition: all .5s ease;
}

@media screen and (min-width: 1024px) {
  .menu__input--search {
    position: absolute;
    right: 10px;
    width: 300px;
  }
}

@media screen and (max-width: 1024px) {
  .menu__input--search {
    padding: 15px;
    padding-right: 40px;
  }
}

.hiden__body {
  overflow: hidden;
}

.sp__main {
  position: absolute;
  top: 61px;
  right: 10px;
  z-index: var(--index-10000);
  background-color: #fff;
  width: calc(100% - 10px);
  height: 400px;
  overflow: auto;
  border: 1px solid #eee;
  border-width: 0 1px 1px;
}

@media screen and (min-width: 1024px) {
  .sp__main {
    width: 300px;
  }
}

@media screen and (max-width: 1024px) {
  .sp__main {
    width: 300px;
  }
}

@media screen and (max-width: 768px) {
  .sp__main {
    top: 45px;
    right: 0;
    width: 100%;
    height: 400px;
  }
}

.sp__item {
  padding: 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-top: 1px solid #eee;
}

.sp__item--img {
  width: 25px;
  margin-right: 10px;
}

.sp__item--text {
  font-size: var(--title-6);
  color: var(--text);
}

.sp__item:hover {
  background-color: var(--secondary);
}

.sp__item:hover .sp__item--text {
  color: #fff;
}

/* ===================== BANNER =========  */
.banner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: var(--index-10);
  transform: rotate(180deg);
}

@media screen and (max-width: 768px) {
  .banner {
    margin-top: 55px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.banner__main {
  background: linear-gradient(180deg, rgba(236, 236, 236, 0.8) 0%, rgba(243, 243, 243, 0.888542) 0.01%, rgba(192, 192, 192, 0.45) 100%);
  transform: rotate(-180deg);
  width: 100%;
}

@media screen and (max-width: 768px) {
  .banner__info {
    margin-bottom: 30px;
  }
}

.banner__title {
  margin-bottom: 20px;
  color: var(--secondary) !important;
}

.banner__navigation--item {
  color: var(--primary);
}

.banner__navigation--item:first-child {
  padding-right: 20px;
  border-right: 2px solid #fff;
}

.banner__navigation--item:last-child {
  padding-left: 20px;
  color: var(--thrid);
}

.banner__imagen {
  width: 450px;
}

@media screen and (max-width: 768px) {
  .banner__imagen {
    width: 70%;
  }
}

.categoriaProducto {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-gap: 50px;
  align-items: flex-start;
}

@media screen and (max-width: 768px) {
  .categoriaProducto {
    grid-template-columns: 1fr;
  }
}

.categoriaProducto__main {
  background-color: #fff;
}

.categoriaProducto__menu--item__header {
  background-color: #F1F1F1;
  height: 50px;
  padding: 0 5px;
  display: grid;
  grid-template-columns: 50px 1fr;
  grid-gap: 10px;
  align-items: center;
  cursor: pointer;
}

.categoriaProducto__menu--item:not(:last-child) {
  margin-bottom: 5px;
}

.categoriaProducto__menu--item__header.active {
  background-color: var(--secondary);
}

.categoriaProducto__menu--item__header.active .categoriaProducto__menu--item__text {
  color: #fff;
}

.categoriaProducto__menu--item__img {
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary);
}

.categoriaProducto__menu--item__body{
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s ease-in-out;
}

.categoriaProducto__menu--item__text {
  color: var(--secondary);
  font-weight: var(--bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--title-6);
}

.categoriaProducto__subcategoria{
  background-color: #F9F9F9;
  height: 50px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.categoriaProducto__subcategoria p{
  font-weight: var(--bold);
  color: var(--secondary)
}

.categoriaProducto__subcategoria img{
  width: 15px;
  height: 15px;
  margin-left: 20px;
  margin-right: 20px;
}

.categoriaProducto__video{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 501px;
  margin-bottom: 100px;
}

.categoriaProducto__video iframe{
  width: 70%;
  height: 100%;
}

@media screen and (max-width: 768px) {
  .categoriaProducto__video iframe{
    width: 100%;
  }
}


.categoriaProducto__subcategoria:not(:last-child){
  border-bottom: 1px solid #F1F1F1;
}

.categoriaProducto__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 50px 30px;
}

.categoriaProducto__list--title {
  font-size: var(--title-5);
  color: var(--secondary);
  font-weight: var(--bold);
  margin-bottom: 10px;
  line-height: 25px;
}

.categoriaProducto__list--menu {
  padding: 0 20px;
  margin-bottom: 20px;
}

.categoriaProducto__list--menu__item {
  list-style: disc;
  color: var(--secondary);
  margin-bottom: 5px;
}

.categoriaProducto__list--menu__link {
  font-size:var(--title-6);
  color: var(--text);
}

.categoriaProducto__list--button {
  color: var(--secondary);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: var(--medium);
  cursor: pointer;
  position: relative;
}

.categoriaProducto__list--button:after {
  content: ">";
  margin-left: 5px;
  font-size: 20px;
  vertical-align: middle;
}

.productoContacto__main {
  background-image: url("../img/producto/producto-contacto.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

.productoContacto__title {
  width: 50%;
  color: #fff;
  margin-bottom: 35px;
  font-size: 41px;
  line-height: 45px;
}

@media screen and (max-width: 1024px) {
  .productoContacto__title {
    font-size: var(--title-4);
    line-height: 30px;
    width: 100%;
  }
}

.productoContacto__button {
  padding: 10px 20px;
  letter-spacing: 0.3em;
  font-weight: var(--semi-bold);
  display: inline-block;
  text-transform: uppercase;
  position: relative;
  font-size: 12px;
  cursor: pointer;
  line-height: 12px;
  background-color: #fff;
  color: var(--secondary);
}

@media screen and (min-width: 768px) {
  .productoContacto__button {
    font-size: var(--title-6);
  }
}

.productoContacto__button:after {
  content: ">";
  margin-left: 15px;
  font-size: 20px;
  vertical-align: middle;
}

.productoContacto__button:active {
  transform: scale(0.99);
}

/* ===================  FOOTER ========================== */
.footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  padding: 64px 0;
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  .footer {
    grid-template-columns: 1fr;
    grid-gap: 40px;
  }
}

.footer__main {
  background-color: var(--footer);
  position: relative;
  width: 100%;
}

.footer__item:first-child {
  display: flex;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .footer__item:not(:last-child) {
    border-right: 2px solid #fff;
  }
}

@media screen and (max-width: 768px) {
  .footer__item:first-child {
    order: 1;
  }
}

.footer__item--title {
  color: #fff;
  font-size: var(--title-4);
  font-weight: var(--semi-bold);
  margin-bottom: 30px;
}

.footer__item--text {
  color: #fff;
  line-height: 20px;
}

.footer__item--links {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 28px;
}

@media screen and (max-width: 768px) {
  .footer__item--links {
    grid-template-columns: 1fr 1fr;
  }
}

.footer__item--link {
  cursor: pointer;
  color: #fff;
}

.footer__item--link:hover {
  color: var(--secondary);
}

.footer__item--icons {
  display: flex;
  align-items: center;
  height: 100%;
}

.footer__item--icon {
  cursor: pointer;
}

.footer__item--icon svg {
  width: 20px;
  height: 20px;
}

.footer__item--icon:not(:last-child) {
  margin-right: 20px;
  padding-right: 20px;
  border-right: 2px solid #fff;
}

@media screen and (min-width: 768px) {
  .footer__item--icon:not(:last-child) {
    padding-left: 20px;
  }
}

.title-1 {
  font-size: var(--title-1);
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .title-1 {
    font-size: var(--title-2);
  }
}

.title-2-primary {
  font-size: var(--title-2);
  color: #fff;
}

.title-2-secondary {
  font-size: var(--title-2);
  color: var(--secondary);
}

@media screen and (max-width: 1024px) {
  .title-2-secondary {
    font-size: var(--title-3);
  }
}

.title-3-primary {
  font-size: var(--title-3);
  color: #fff;
}

.title-3-primary-secondary {
  font-size: var(--title-3);
  color: #fff;
}

.title-3-secondary {
  font-size: var(--title-3);
  color: var(--secondary);
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}
