* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: 'Bebas Neue', sans-serif;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  display: none;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.logo {
  width: 150px;
  height: 60px;
  cursor: pointer;
}

.garantia-section {
  background-image: url('../img/cedar.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10vh 0;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.garantia-info {
  width: 60vw;
  max-width: 100%;
  padding: 2rem;
  border-radius: 8px;
  background-color: rgba(206, 24, 24, 0.85);
  color: white;
  text-align: center;
}

.garantia-info h1 {
  font-size: 2.5rem;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 10px;
}

.garantia-info h3,
.garantia-info p,
.garantia-info li {
  font-size: 1.1rem;
}

.content-final {
  margin-top: auto;
  background-color: #0a0a0a;
  color: white;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contacto {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
}

.correo,
.redes-sociales {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.email,
.redes {
  background-color: #C00000;
  padding: 10px 40px;
  border-radius: 6px;
  border: 3px solid white;
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.info {
  font-style: italic;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
}

.iconos-redes {
  display: flex;
  gap: 15px;
}

.redes-sociales a {
  color: #0a0a0a;
  width: 33px;
  height: 34px;
  font-size: 24px;
  transition: transform 0.3s ease, color 0.3s ease;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.redes-sociales a.facebook:hover {
  color: #1877f2;
}

.redes-sociales a.whatsapp:hover {
  color: #25D366;
}

@media (max-width: 991px) {
  .garantia-info {
    width: 80vw;
    padding: 20px 15px;
  }

  .garantia-info h1 {
    font-size: 2rem;
    letter-spacing: 5px;
  }

  .contacto {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .garantia-info {
    width: 90vw;
  }

  .garantia-info h1 {
    font-size: 2rem;
    letter-spacing: 3px;
  }

  .garantia-info h3,
  .garantia-info p,
  .garantia-info li {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .garantia-info {
    padding: 20px 15px;
  }

  .garantia-info h1 {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }

  .content-final {
    font-size: 4vw;
  }

  .logo {
    width: 120px;
    height: auto;
  }

  .navbar-nav {
    gap: 1rem;
  }

  .nav-link {
    font-size: 1.1rem !important;
  }

  .contacto {
    flex-direction: column;
    gap: 20px;
  }
}

@media (min-width: 1024px) and (max-height: 650px) {
  .garantia-info {
    width: 90vw;
    padding: 20px;
  }

  .garantia-info h1 {
    font-size: 2rem;
  }

  .garantia-info h3,
  .garantia-info p,
  .garantia-info li {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) and (max-height: 850px) {
  .garantia-info {
    width: 85vw;
    padding: 25px;
  }

  .garantia-info h1 {
    font-size: 2rem;
  }

  .garantia-info h3,
  .garantia-info p,
  .garantia-info li {
    font-size: 1.2rem;
  }
}

@media (min-width: 820px) and (max-width: 1024px) and (min-height: 1000px) {
  .garantia-info {
    width: 80vw;
    padding: 3rem 2rem;
    min-height: 50vh;
  }

  .garantia-info h1 {
    font-size: 3.5rem;
    letter-spacing: 8px;
  }

  .garantia-info h3,
  .garantia-info p,
  .garantia-info li {
    font-size: 1.5rem;
  }

  .contacto {
    flex-direction: column;
    gap: 40px;
    padding: 20px 0;
  }

  .iconos-redes {
    gap: 20px;
  }

  .redes-sociales a {
    width: 30px;
    height: 30px;
    font-size: 22px;
  }
}