* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #555;
  background: #7e852e;
  font-family: Arial, Helvetica, sans-serif;
}
body > header,
body > main,
body > footer {
  max-width: 1280px;
  margin: auto;
  background: #fff;
}
.hero {
  position: relative;
  min-height: 820px;
  padding: 0 0 70px 0;
}
.heroimg {
  width: 48%;
  height: auto;
  display: block;
}
.logo {
  position: absolute;
  width: 27%;
  right: 10%;
  top: 105px;
}
.intro {
  max-width: 650px;
  margin: 80px auto 0;
  text-align: center;
}
.intro h1 {
  font-size: 25px;
  line-height: 1.35;
}
.intro p {
  font-size: 15px;
  line-height: 1.55;
}
.product {
  min-height: 540px;
  display: grid;
  align-items: center;
  gap: 5%;
  /* overflow: hidden; */
  position: relative;
  grid-template-columns: 0.8fr 0.9fr;
  padding: 45px 2% 45px 45%;
}

@media screen and (max-width: 1199px) {
  .product.product--last {
    padding: 45px 25px 45px 0;
  }
}

@media screen and (min-width: 1200px) {
  .product.product--last {
    padding: 45px 5% 45px 40%;
  }
}

.product.reverse {
  grid-template-columns: 0.9fr 0.8fr;
  padding: 45px 35% 45px 10%;
  margin-top: 100px;
  margin-bottom: 100px;
}

.product > img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}
.product > img.product-img {
  width: initial;
  max-height: initial;
  object-fit: initial;
}

@media screen and (max-width: 1199px) {
  .product > img.product-img {
    max-width: 100%;
    height: auto;
    width: 440px;
  }
}

@media screen and (min-width: 1200px) {
  .product > img.product-img {
    position: absolute;
    height: 120%;
  }
}

.product > img.product-img.product-img--cera {
  left: 0;
}

.product > img.product-img.product-img--murs {
  right: 0;
  margin-left: auto;
}

.product > img.product-img.product-img--racifix {
  left: 0;
}

.product h2,
.videos h2,
.about h2 {
  color: #7e852e;
  text-transform: uppercase;
  font-size: 23px;
  line-height: 1.15;
}
.product h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.05;
  margin: 14px 0 28px;
}
.tint {
  background: #e5e5cc;
}
.btn {
  display: inline-flex;
  align-items: center;
  background: #7e852e;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  border-radius: 6px;
  padding: 10px 16px;
  transition: background 0.3s ease;
}

.btn:hover,
.btn:focus {
  background: #585e20;
}

.btn svg {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

.videos {
  text-align: center;
  padding: 80px 8%;
}
.videos > h2 {
  margin-bottom: 35px;
}
.videos img {
  display: block;
  max-width: 620px;
  width: 80%;
  margin: 0 auto 30px;
}
.about {
  background: #ddd;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 6%;
  padding: 70px 8%;
  align-items: start;
}

@media screen and (min-width: 1200px) {
  .about > img {
    width: 440px;
    margin-left: -102px;
  }
}

.about h2 {
  font-size: 20px;
}
.about h3 {
  font-size: 17px;
  margin: 18px 0 3px;
}
.about p {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}
.about .btn {
  margin-top: 25px;
}
footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 40px 8% 70px;
  font-size: 13px;
}
footer img {
  width: 240px;
  max-width: 100%;
}
.phone {
  border: 2px solid #7e852e;
  padding: 10px 30px;
  color: #7e852e;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  border-radius: 6px;
}
.legal {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  color: #666;
  font-size: 11px;
}

.mentions-legales {
  padding: 70px 8%;
  align-items: start;
}

.mentions-legales a:not(.btn) {
  color: #7e852e;
}

/* MOBILE */
@media (max-width: 1199px) {
  body {
    background: #fff;
  }
  .hero {
    min-height: 0;
    padding: 0 25px 50px;
  }
  .heroimg {
    width: 100%;
    margin-left: -25px;
  }
  .logo {
    position: static;
    width: 62%;
    display: block;
    margin: 30px auto;
  }
  .intro {
    margin: 40px auto 0;
  }
  .intro h1 {
    font-size: 21px;
  }
  .intro p {
    font-size: 14px;
    text-align: left;
  }
  .product,
  .product.reverse {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 25px;
    text-align: center;
  }

  .product {
    padding: 45px 25px 45px 0;
  }

  .product.reverse {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 45px 0 45px 25px;
  }

  .product > img {
    max-height: 300px;
  }
  .product .catalog {
    max-height: 260px;
  }
  .product h2 {
    font-size: 20px;
  }
  .product h3 {
    font-size: 38px;
    margin: 8px 0 20px;
  }
  .videos {
    padding: 55px 25px;
  }
  .videos h2 {
    font-size: 20px;
  }
  .videos img {
    width: 100%;
  }
  .about {
    grid-template-columns: 1fr;
    padding: 55px 25px;
  }
  .about > img {
    width: 400px;
    max-width: 100%;
    margin: 0 10px 0 -30px;
    /* margin: auto; */
  }
  .about h2 {
    font-size: 19px;
  }
  .about p {
    font-size: 14px;
  }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 25px 80px;
  }
  footer img {
    margin: auto;
  }
  .phone {
    font-size: 19px;
  }
  .legal {
    bottom: 28px;
  }
}
