@import url("normalize.css");

body {
  background-color: #f7fafc;
  padding: 0 2rem;
}

.navegation_global {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  top: 0;
  z-index: 100;
}

.logo {
  height: 50px;
}

.navegation {
  position: relative;
}

.ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.ul li {
  list-style: none;
}

.a {
  display: block;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 1.6rem;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.a:hover {
  color: #de1d23;
  background-color: rgba(222, 29, 35, 0.1);
  border-radius: 0.5rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 101;
}

.menu-bar {
  width: 2.5rem;
  height: 0.3rem;
  background-color: #000;
  border-radius: 0.3rem;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .ul {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    display: none;
    text-align: center;
    padding: 1rem 2rem;
  }

  .ul.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-bar:nth-child(2) {
    opacity: 1;
  }

  .menu-toggle.active .menu-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .menu-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-bar {
  width: 25px;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  li {
    display: none;
  }

  .active li {
    display: block;
  }

  .ul {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .ul.active {
    display: flex;
    position: absolute;
    top: 60px;
    right: 0;
    flex-direction: column;
    background-color: #fff;
    padding: 20px;
    gap: 10px;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  }
}

.logo {
  height: 8rem;
}

.position {
  text-align: center;
}
.ul {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.container {
  max-width: 1280px;
  margin: 3rem auto 0 auto;
}

.a {
  font-size: 2rem;
  font-weight: 500;
}

.section_image {
  margin-top: 2rem;
  text-align: center;
  position: relative;
}

.image_section {
  padding: 4rem 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  text-align: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("/images/background.jpg");
  background-color: rgba(55, 65, 81, 0.7);
  background-blend-mode: multiply;
  border-radius: 1rem;

  @media (min-width: 1024px) {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.section_sub_text {
  font-size: 5rem;
  color: #de1d23;
  font-weight: 800;
}

.section_text {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  background-color: #de1d23;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #b0171b;
}

@media (max-width: 768px) {
  .section_sub_text {
    font-size: 4rem;
  }

  .section_text {
    font-size: 2rem;
  }

  .btn {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .section_sub_text {
    font-size: 3.5rem;
  }

  .section_text {
    font-size: 1.8rem;
  }

  .btn {
    font-size: 1.6rem;
    padding: 0.8rem 2rem;
  }
}

.section_text_two {
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section_text_two {
    display: flex;
  }
}

.btn {
  display: inline-block;
  background-color: #de1d23;
  color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 2rem;
  font-size: 2rem;
  font-weight: 500;
}

.section_text_box {
  margin-top: 7rem;
  padding: 2rem;
}

.sub_text {
  display: inline-block;
  color: #de1d23;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 3px solid #de1d23;
  padding-bottom: 0.5rem;
  margin: 0 auto;
  text-align: left;
}

.paragraph_text {
  text-align: start;
  color: #6b7280;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 45ch;
  margin: 2rem auto 0 0;
}

.section_text_two {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.image_text {
  max-width: 20%;
  height: auto;
  margin-right: 10%;
  border-radius: 2rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

@media (max-width: 1028px) {
  .section_text_two {
    flex-direction: column;
    text-align: center;
  }

  .image_text {
    max-width: 40%;
    margin: 2rem 0;
  }

  .paragraph_text {
    margin: 5rem auto 0 0;
    font-size: 2rem;
    max-width: 90%;
  }

  .sub_text {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .paragraph_text {
    font-size: 1.8rem;
    max-width: 100%;
  }

  .image_text {
    max-width: 70%;
    height: auto;
  }

  .sub_text {
    font-size: 2rem;
  }
}

.types_services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4rem;
  margin-top: 4rem;
}

.service {
  background-color: #fff;
  padding: 3rem;
  width: 30%;
  min-width: 35rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  border-radius: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: scale(1.05);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
}

.image {
  max-width: 100%;
  height: 25rem;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  margin-bottom: 1.5rem;
}

.sub {
  color: #111827;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.paragraph {
  max-width: 45rem;
  color: #6b7280;
  font-size: 1.8rem;
  line-height: 1.6;
}

.section_images {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.image_model {
  width: 30%;
  min-width: 25rem;
  height: auto;
  max-height: 25rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  border-radius: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image_model:hover {
  transform: scale(1.05);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
  .section_images {
    justify-content: center;
  }

  .image_model {
    width: 45%;
    min-width: 20rem;
  }
}

@media (max-width: 768px) {
  .section_images {
    flex-direction: column;
  }

  .image_model {
    width: 80%;
    min-width: 18rem;
  }
}

.image_model:hover {
  scale: 1.08;
}

.section_ubi {
  display: flex;
}

.ubi {
  margin: 5rem auto 5rem auto;
}

.social-media {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.social-link:hover {
  transform: scale(1.1);
}

.social-icon {
  height: 56px;
  width: 56px;
  border-radius: 50%;
}
