@import url(https://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,regular,italic,500,500italic,700,700italic,900,900italic);

* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: 'Kargen';
  src: url('fonts/Kargen-Bold.woff2') format('woff2'),
      url('fonts/Kargen-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  font-family: "Roboto";
  overflow-x: hidden;
}

.logo-nav {
  width: auto;
  height: 58px;
}

header {
  width: 100%;
  position: fixed;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 24px;
  box-sizing: border-box;
  z-index: 10;
}

.nav-elems {
  display: flex;
  flex-direction: row;
  gap: 64px;
}

.nav-elems a {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
}

.nav-redes {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.nav-redes img {
  width: 36px;
  height: 36px;
}

.menu-elems {
  display: none;
  filter: invert(1);
}

.hero {
  background: rgb(26, 182, 206);
  background: linear-gradient(
    320deg,
    rgba(26, 182, 206, 1) 10%,
    rgba(44, 69, 104, 1) 69%,
    rgba(239, 77, 54, 1) 85%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 200px 24px 88px;
}

.hero h1 {
  max-width: 896px;
  font-size: 48px;
  text-align: center;
  margin-bottom: 44px;
  color: white;
}

.obra-hero {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: row;
  border: 1px solid white;
}

.img-obra-hero {
  width: 50%;
  display: flex;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid white;
}

.img-obra-hero img {
  width: 100%;
  display: flex;
}

.text-obra-hero {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prestation-obra-hero {
  height: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 24px;
  gap: 24px;
  font-size: 20px;
  color: white;
  font-weight: 500;
}

.prestation-obra-hero h3 {
  font-family: "Kargen";
  color: #61c0e9;
  font-weight: bold;
}

.info-obra-hero {
  height: 20%;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-top: 1px solid white;
  color: white;
  font-family: "Kargen";
  font-weight: bold;
}

.sobre-nosotros {
  display: flex;
  background-color: #2b4164;
}

.sobre-nosotros img {
  display: flex;
  width: 50%;
}

.sb-container {
  display: flex;
  width: 50%;
  margin: 0 24px;
  border-left: 1px solid white;
  border-right: 1px solid white;
}

.sb-text {
  width: 100%;
  padding: 32px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 64px 0;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

.sb-text div {
  max-width: 448px;
}

.sb-text span {
  font-size: 20px;
  margin-bottom: 32px;
  color: #61c0e9;
  font-weight: bold;
}

.sb-text p {
  font-size: 20px;
  color: #e9eae9;
}

.sb-text h2 {
  font-size: 56px;
  margin-top: 48px;
  margin-bottom: 24px;
  color: #ff4c2f;
  font-weight: bold;
}

.proyectos {
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.proyecto-unit {
  position: relative;
  width: 33.33%;
}

.proyecto-unit > img {
  display: flex;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.text-proyecto {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(2 62 98 / 70%);
  opacity: 1;
  transition: ease-in-out 0.5s;
}

.text-proyecto span {
  font-size: 20px;
  color: #ff4c2f;
  font-weight: 300;
  text-align: center;
}

.proyecto-unit:hover .text-proyecto {
  opacity: 0;
}

.flecha-container {
  display: flex;
  justify-content: center;
  width: 32px;
  aspect-ratio: 1;
  box-sizing: border-box;
  position: absolute;
  bottom: 32px;
  right: 32px;
  border: 1px solid #ff4c2f;
  transition: ease-in-out 0.5s;
}

.proyecto-unit:hover .flecha-container {
  background-color: #ff4c2f;
}

.flecha-container img {
  display: flex;
  width: 8px;
  height: auto;
}

.foto-enorme {
  position: relative;
  display: flex;
  width: 100%;
}

.img-fondo {
  width: 100%;
  height: 672px;
  object-fit: cover;
}

.img-medio {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-height: 572px;
}

.nuestros-servicios {
  display: flex;
}

.ns-slider {
  display: flex;
  width: 50%;
}

.slick-slider .slick-list {
  height: 100%;
}

.slick-slider .slick-track {
  height: 100%;
}

.ns-slider img {
  width: 100%;
  object-fit: cover;
}

.ns-container {
  display: flex;
  width: 50%;
  margin: 0 24px;
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.ns-text {
  width: 100%;
  padding: 32px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 64px 0;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

.ns-text h2 {
  font-size: 56px;
  margin-bottom: 24px;
  color: #ff4c2f;
}

.ns-text p {
  font-size: 20px;
  color: #9b9c9f;
}

.ns-text-container {
  max-width: 576px;
  padding: 0px 72px;
}

.ns-items {
  justify-content: center;
  display: flex;
  margin-top: 72px;
  padding: 0 24px;
  gap: 32px;
}

.ns-items div {
  max-width: 144px;
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.ns-items div span {
  color: #9b9c9f;
  font-size: 12px;
  font-weight: 500;
}

.ns-items div img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
}

.contacto {
  padding: 128px;
  background-color: #ef4d36;
  display: flex;
  flex-direction: column;
}

.contacto h3 {
  font-size: 40px;
  font-weight: bold;
  color: white;
  padding-bottom: 36px;
}

.contacto p {
  max-width: 484px;
  font-size: 18px;
  font-weight: 300;
  color: white;
  padding-bottom: 48px;
}

.input-contacto {
  display: flex;
  font-family: "Roboto";
}

.input-contacto input {
  width: 300px;
  display: flex;
  padding: 24px 56px;
  border: 0;
}

.input-contacto input::placeholder {
  color: rgb(150, 150, 150);
  font-weight: 600;
  font-family: "Roboto";
}

.input-contacto button {
  background-color: #343238;
  border: 0;
  padding: 24px 44px;
  font-weight: bold;
  color: white;
  font-family: "Roboto";
}

footer {
  background-color: #343238;
  display: flex;
  padding: 96px 64px 172px;
  justify-content: center;
}

.footer-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.logo-footer {
  display: flex;
  width: auto;
  height: 44px;
}

.direccion-footer,
.contacto-footer {
  display: flex;
  flex-direction: column;
  color: white;
  font-weight: 300;
}

.contacto-footer a{
  color: white;
  text-decoration: none;
}

.redes-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.redes-footer img {
  width: 36px;
  height: 36px;
}

#popup-space-floor-plan {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 9999;
}

#popup-floor-plan {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  width: fit-content;
  height: fit-content;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 36px;
}

.close-popup-floor-plan {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .sobre-nosotros {
    flex-direction: column;
    border-top: 1px solid black;
  }

  .sobre-nosotros img {
    width: auto;
    order: 1;
    height: 448px;
    object-fit: cover;
  }

  .sb-container {
    width: auto;
  }

  .proyecto-unit {
    position: relative;
    width: 50%;
  }

  .nuestros-servicios {
    flex-direction: column;
    border-top: 1px solid black;
  }

  .ns-container {
    width: auto;
  }

  .ns-slider {
    width: auto;
    order: 1;
    height: 448px;
    object-fit: cover;
  }

  .ns-items {
    width: 100%;
    flex-wrap: wrap;
    gap: 0;
  }

  .ns-items div {
    max-width: none;
    width: 50%;
    margin-bottom: 64px;
  }

  .ns-items div:nth-child(3),
  .ns-items div:nth-child(4) {
    margin-bottom: 0;
  }

  footer {
    padding: 64px;
  }

  .footer-container {
    flex-wrap: wrap;
  }

  .footer-container div:first-child {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .logo-footer {
    margin: 0;
  }

  .footer-container div {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 33.33%;
    margin: 0;
    margin-bottom: 32px;
  }
}

@media (max-width: 896px) {
  header {
    justify-content: space-between;
    flex-direction: column;
    align-items: start;
  }

  .nav-elems {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
    background-color: #00000038;
    backdrop-filter: blur(6px);
    border-radius: 6px;
    padding: 16px;
    box-sizing: border-box;
  }

  .menu-elems {
    position: absolute;
    right: 24px;
    top: 48px;
    display: flex;
  }

  .open-nav {
    display: flex;
    filter: invert(1);
  }

  .close-nav {
    display: none;
    filter: invert(1);
  }

  .obra-hero {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 36px;
  }

  .img-obra-hero {
    width: auto;
    border-right: 0;
    border-bottom: 1px solid white;
  }

  .text-obra-hero {
    width: 100%;
  }

  .info-obra-hero {
    height: auto;
    padding: 24px;
  }

  .sb-text span {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .sb-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
    margin-top: 8px;
  }

  .sb-text p {
    font-size: 16px;
  }

  .ns-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
    margin-top: 8px;
  }

  .ns-text p,
  .ns-text span {
    font-size: 16px;
  }

  .contacto {
    padding: 64px;
  }

  .contacto h3 {
    font-size: 32px;
    font-weight: bold;
    color: white;
    padding-bottom: 16px;
  }

  .footer-container div {
    width: 100%;
    margin: 0;
    margin-bottom: 32px;
  }

  .footer-container div:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 672px) {
  .hero h1 {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .prestation-obra-hero {
    gap: 8px;
    padding: 16px;
  }
  .prestation-obra-hero h3 {
    font-size: 20px;
  }

  .prestation-obra-hero p {
    font-size: 16px;
  }

  .img-obra-hero {
    padding: 16px;
  }

  .info-obra-hero {
    padding: 16px;
  }

  .sb-text {
    padding: 32px;
  }

  .proyecto-unit {
    position: relative;
    width: 100%;
  }

  .img-fondo {
    height: 448px;
  }

  .img-medio {
    width: 90%;
  }

  .ns-text-container {
    padding: 0 32px;
  }

  .ns-items div {
    max-width: none;
    width: 100%;
    margin-bottom: 48px;
  }

  .ns-items div:nth-child(3) {
    margin-bottom: 48px;
  }

  .ns-items div:nth-child(4) {
    margin-bottom: 0;
  }

  .contacto {
    padding: 32px;
  }

  .contacto p {
    padding-bottom: 32px;
  }

  .input-contacto {
    flex-direction: column;
  }

  .input-contacto input {
    width: auto;
    padding: 24px;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 48px;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 4px;
  max-width: 90%;
  max-height: 90vh;
  overflow: hidden;
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  top: -4px;
  right: 4px;
  color: #7b7b7b;
  font-size: 25px;
  cursor: pointer;
}

.carousel img {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
}

.thumbnails {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.thumbnails img {
  width: 80px;
  margin: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.thumbnails img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .thumbnails img {
      width: 60px;
  }

  .carousel img {
      max-height: 50vh;
  }
}

@media (max-width: 480px) {
    .hero h1 {
      font-size: 18px;
      margin-bottom: 24px;
    }

  .thumbnails img {
      width: 50px;
  }

  .modal-content {
      padding: 20px 10px;
  }
}