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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* BASE STYLES */

body {
  background-color: rgb(253, 253, 253); /*rgb(255, 250, 238);*/
  font-family: "Inter", sans-serif;
  /*max-width: auto; /*1400px;*/
  /*min-height: 1500px;*/
  padding-top: 6rem;
}

/* KEYFRAMES */

@keyframes fade-in-from-right {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

/* NORMAL STYLES */

.header {
  background-color: white;
  position: fixed;
  width: 100%;
  top: 0;
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Los separa la máxima distancia posible */
  min-height: 6rem; /* min-height it's been used insted of height for responsiveness */
  max-width: 1080px; /*Cota máxima de separación*/
  padding: 0 30px; /*0 = top|bottom  30=left|right  */
  /*margin: 0 auto; /*0 = top|bottom  auto =left|right*/
}

.logo__img {
  height: 70px;
  display: block;
}

.isotipo {
  color: #16777f;
  font-family: "nunito", sans-serif;
  font-size: xx-large;
  font-weight: bolder;
  font-style: normal;
}

.nav {
}

.nav__list {
  display: flex;
  column-gap: 40px;
}

.nav_item {
}

.btn {
  transition: transform 0.3s ease;
  display: inline-block;
}

.btn:hover {
  transform: scale(1.1);
}

.wrapper {
  display: flex;
  width: 100%;
  height: 90vh;
}

.left_panel {
  position: relative;
  background-color: #f8b159;
  flex: 0.2;
}

.intro {
  position: relative;
  flex: 1;
  display: flex;
  /* -- Parametrizo la imagen dentro del section -- */
  background-image: url(/img/images/intro.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.intro__logo {
  position: absolute;
  top: 80px;
  right: 40px;
  width: 200px;
  height: 100px;
}

.right_panel {
  position: relative;
  background-color: #3a6b7e; /*#177880*<-Otra tonalidad*/
  flex: 0.4;
}

.info-section {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  color: #1e2d35;
  max-width: 1100px;
  margin: 4rem auto; /* Centrado horizontal y separación vertical */
  padding: 2rem 2rem; /* Espaciado lateral para móviles */
}

.custom-box {
  padding: 1.5rem;
  text-align: center;
  border-radius: 1rem;
  background-color: #f6f7f7;
}

.custom-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #3a6b7e;
}

.custom-text {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

/* ==========================================*/

.product-section {
  height: 100vh;
  width: auto;
  background: linear-gradient(rgba(255, 0, 0, 0.2), rgba(0, 20, 0, 0.1)),
    url("/img/images/wooden.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
  padding: 0 5rem; /*0 = top|bottom  30=left|right  */
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: whitesmoke;
  border-radius: 20px;
  width: 400px;
  overflow: hidden;
  align-items: center;
  transition: transform 0.5s ease;
}

.product-card:hover {
  transform: scale(1.05);
}

.product-card__image-wrapper {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__content p,
h2 {
  text-align: center;
  color: #02235c;
}

.product-card__header p,
.product-card__header h2 {
  text-align: center;
  color: #02235c;
  margin: 0.3em 0;
}

.product-card__header__logo {
  height: 3rem;
}

.product-card__description {
  text-align: justify;
  padding: 0.5rem;
}

.product-card__footer {
  height: 50px;
  width: 100%;
  background-color: #959100;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer {
  background-color: #3a6b7e;
  color: #ccc;
  padding: 4rem 1.5rem;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer__column {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__logo {
  height: 36px;
  filter: grayscale(100%) invert(100%);
}

.brand__name {
  font-size: 1.5rem;
  font-weight: bold;
}

.footer__heading {
  font-size: 1.1rem;
  font-weight: bold;
}

.footer a {
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

.footer__text {
  line-height: 1.6;
}

.wa_button {
  position: fixed;
  inset: auto 1rem 15rem auto;
}

/* Responsive */

@media (max-width: 970px) {
  .product-section {
    flex-direction: column;
    height: auto;
    row-gap: 20px;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .footer__container {
    flex-direction: column;
  }
  .footer__column {
    gap: 0.4rem;
  }
}

@media (max-width: 550px) {
  .isotipo {
    display: none;
  }

  .wrapper {
    flex-direction: column;
    height: 100vh;
  }

  .left_panel,
  .right_panel {
    height: 100px;
  }

  .intro {
    height: auto;
    width: auto;
  }
}

@media (max-width: 415px) {
  .product-card {
    width: 300px;
    /*overflow: hidden;
    align-items: center;*/
  }
}

/*
.product-card {
  display: flex;
  flex-direction: column;
  background-color: whitesmoke;
  border-radius: 20px;
  width: 400px;
  overflow: hidden;
  align-items: center;
  transition: transform 0.5s ease;
}*/