:root {
  --black: #151515;
  --white: #ffffff;
  --red: #800d08;
  --grey: #515152;
  --light-grey: #f0f0f0;
}

@font-face {
  font-family: "Avenir";
  src: url("../assets/fonts/Avenir-Regular.ttf") format("opentype");
  font-weight: 500;
}
html,
body {
  font-family: Open sans, "Avenir", sans-serif;
  font-size: 20px;
  color: var(--grey);
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
}

.d-pad {
  padding: 90px 9%;
}

h1 {
  font-size: 45px;
}

h2 {
  font-size: 35px;
}

h3 {
  font-size: 25px;
}

.fs-16 {
  font-size: 16px;
}

.text-red {
  color: var(--red);
}

.text-black {
  color: var(--black);
}

.btn-cta {
  padding: 10px 20px;
  font-size: 16px;
  display: inline-block;
  color: var(--white);
  background-color: var(--red);
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  border: none;
}
.btn-cta:hover {
  background-color: var(--black);
  color: var(--white);
}

.logo-gracias {
  width: 40%;
}

.mobile-item {
  display: none;
}

.header {
  background-image: url("../assets/img/ecn-header.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.header .logo {
  width: 60%;
  margin-bottom: 40px;
}
@media (max-width: 574px) and (min-width: 0px) {
  .header {
    background-image: url("../assets/img/ecn-header-res.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    padding: 70px 9% 230px;
  }
  .header .logo {
    width: 80%;
    margin-bottom: 35px;
  }
}

.sec1 {
  background-image: url("../assets/img/pleca-01.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 70px 9% 70px 16%;
}
@media (max-width: 574px) and (min-width: 0px) {
  .sec1 {
    padding: 70px 9%;
  }
}

.sec2 {
  background-image: url("../assets/img/ecn-img-09.webp");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: right bottom;
}
.sec2 .product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}
.sec2 .product-card .card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.sec2 .product-card .card-image .default-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.sec2 .product-card .card-image .hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(128, 13, 8, 0.8);
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.sec2 .product-card .card-image .hover-overlay .btn-cta-empaque {
  background: var(--white);
  color: var(--red);
  border: none;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 1;
}
.sec2 .product-card .card-image .hover-overlay .btn-cta-empaque:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.sec2 .product-card .card-text {
  background: var(--light-grey);
  padding: 20px;
  min-height: 110px;
  -ms-flex-line-pack: center;
      align-content: center;
}
.sec2 .product-card:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.sec2 .product-card:hover .card-image .hover-overlay {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media (max-width: 574px) and (min-width: 0px) {
  .sec2 {
    background-image: unset;
    padding: 70px 0 45px;
  }
  .sec2 .glide__slides {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 20px 0;
  }
  .sec2 .glide__slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .sec2 .product-card .card-text {
    min-height: 80px;
  }
}

.sec3 {
  background-image: url("../assets/img/pleca-02.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 90px 9% 90px 16%;
}
.sec3 .card {
  background-color: var(--black);
  color: var(--white);
  padding: 40px 15px;
  border-radius: 10px;
  min-height: 350px;
}
.sec3 .card .img-card-01 {
  background-image: url("../assets/img/icono-01-1.webp");
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 50px;
  margin-bottom: 45px;
  margin-left: 10px;
}
.sec3 .card .img-card-02 {
  background-image: url("../assets/img/icono-02-2.webp");
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 50px;
  margin-bottom: 45px;
  margin-left: 10px;
}
.sec3 .card .img-card-03 {
  background-image: url("../assets/img/icono-03-2.webp");
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 50px;
  margin-bottom: 45px;
  margin-left: 10px;
}
.sec3 .card:hover {
  background-color: var(--red);
}
.sec3 .card:hover .img-card-01 {
  background-image: url("../assets/img/icono-01-2.webp");
}
.sec3 .card:hover .img-card-02 {
  background-image: url("../assets/img/icono-02-1.webp");
}
.sec3 .card:hover .img-card-03 {
  background-image: url("../assets/img/icono-03-1.webp");
}
@media (max-width: 574px) and (min-width: 0px) {
  .sec3 {
    padding: 90px 9%;
  }
  .sec3 .card {
    min-height: 260px;
  }
}

.sec4 {
  background-image: url("../assets/img/ecn-img-09.webp");
  background-repeat: no-repeat;
  background-size: auto;
  background-position: right bottom;
}
.sec4 .text {
  margin-left: 25px;
}
.sec4 .text .text-red {
  color: var(--grey);
}
.sec4 .text:hover {
  border-bottom: 2px solid var(--red);
}
.sec4 .text:hover .text-red {
  color: var(--red);
}
.sec4 .img {
  width: 50px;
  height: 50px;
}
@media (max-width: 574px) and (min-width: 0px) {
  .sec4 {
    background-image: unset;
  }
}

.sec5 {
  background-image: url("../assets/img/ecn-img-11.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.sec6 {
  background-image: url("../assets/img/pleca-03.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 70px 16%;
}
@media (max-width: 574px) and (min-width: 0px) {
  .sec6 {
    padding: 70px 0;
  }
  .sec6 .glide__slides {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 20px 0;
  }
  .sec6 .glide__slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: 80px;
  }
}

.footer {
  background-image: url("../assets/img/ecn-footer.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.footer .copy {
  padding-top: 400px;
  padding-left: 15px;
}
.footer a {
  color: unset;
  text-decoration: none;
}
@media (max-width: 574px) and (min-width: 0px) {
  .footer {
    background-image: url("../assets/img/ecn-header-res.webp");
    background-color: var(--light-grey);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    padding: 70px 9% 45px;
  }
  .footer .copy {
    padding-top: 150px;
  }
  .footer .fs-16 {
    font-size: 12px;
  }
}

@media (max-width: 574px) and (min-width: 0px) {
  .mobile-item {
    display: block;
  }
  .desktop-item {
    display: none;
  }
  h1 {
    font-size: 35px;
  }
  h2 {
    font-size: 35px;
  }
  h3 {
    font-size: 20px;
  }
  .fs-16 {
    font-size: 15px;
  }
  body {
    font-size: 17px;
  }
  .btn-cta {
    font-size: 13px;
    width: 100%;
  }
  .logo-gracias {
    width: 100%;
  }
}