/* GENERALES */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 1000px;
  padding: 40px 20px;
  margin: auto;
  display: flex;
}

:root {
  --bg-texto: #2d2d2d;
  --strokes-texto: #ece2d8;
  --shader-img: #706c68;
  --bg-black: #101010;
}

body {
  background-color: #101010;
}

/* NO BORDERS */

.brd-left-no {
  border-left: 0 !important;
}

.brd-top-no {
  border-top: 0 !important;
}

/* BTN - HOVER */
.btn1:hover {
  background-color: var(--strokes-texto);
  color: var(--bg-texto);
}
.btn2:hover {
  background-color: var(--bg-black);
  color: var(--strokes-texto);
  border: 1px solid var(--strokes-texto);
}

.btn3:hover,
.form-button:hover {
  background-color: var(--strokes-texto);
  color: var(--bg-black);
  border: 1px solid var(--strokes-texto);
}

/* NAVBAR */

.navbar-container {
  background-color: #101010;
  width: 100%;
  border-bottom: 2px solid var(--strokes-texto);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--strokes-texto);
  margin: auto;
}

.logo-container {
  max-width: 80px;
  margin-left: 30px;
}

.logo-container img {
  width: 100%;
  padding-top: 5px;
}

.nav-list ul {
  height: 60px;
  display: flex;
}

.nav-list ul li {
  list-style-type: none;
  width: 155px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 2px solid var(--strokes-texto);
  border-top: none;
  border-bottom: none;
  border-right: none;
  cursor: pointer;
}

.nav-list ul li:hover {
  background-color: var(--strokes-texto);
  color: var(--bg-texto);
}

.active {
  background-color: var(--strokes-texto);
  color: var(--bg-texto);
}

/* BURGER BAR */

/* Ocultar el menú de navegación y mostrar el menú hamburguesa en pantallas pequeñas */
.hamburger-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
  margin-right: 20px;
}

.nav-list {
  display: flex;
}

.nav-list ul {
  display: flex;
}

@media (max-width: 900px) {
  .hamburger-menu {
    display: block; /* Mostrar menú hamburguesa */
  }

  .nav-list {
    display: none; /* Ocultar la lista */
    flex-direction: column;
    width: 100%;
    background-color: #101010;
    position: absolute;
    top: 53px;
    left: 0;
    z-index: 1000;
  }

  .nav-list ul {
    flex-direction: column; /* Cambiar la orientación de los elementos */
  }

  .nav-list ul li {
    width: 100%;
    border-right: none;
    border-left: none;
    cursor: pointer;
    padding: 10px;
  }

  .nav-list ul li:hover {
    background-color: var(--strokes-texto);
    color: var(--bg-texto);
  }

  .nav-list.open {
    display: flex; /* Mostrar la lista cuando el menú esté abierto */
    height: 165px;
  }
}

/* HERO */

.hero-container {
  width: 100%;
  height: 90vh;
  border-bottom: 1px solid var(--strokes-texto);
}

.bg-image {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../img/bg-hero.webp);
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

.hero {
  max-width: 800px;
  flex-direction: column;
  align-items: center;
  color: var(--strokes-texto);
}

.hero h1 {
  font-size: 160px;
  margin-top: 60px;
  text-shadow: 0px 5px rgba(0, 0, 0, 0.5);
  letter-spacing: 5px;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
}

.hero h2 {
  font-size: 24px;
  letter-spacing: 2px;
  text-shadow: 0px 2px rgba(0, 0, 0, 0.5);
  margin-top: -15px;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
}

.hero p {
  font-style: italic;
  font-size: 30px;
  text-align: center;
  margin-top: 60px;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
}

.btn1 {
  color: var(--strokes-texto);
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--strokes-texto);
  width: 100%;
  font-size: 24px;
  padding: 15px;
  margin-top: 60px;
  cursor: pointer;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: expandWidth 1s ease-in-out forwards;
  transition: 1.5s;
}
/* APARICION DE SECCIONES */

/* INICIO 2ND SECTION */

.s2-inicio-container {
  margin-top: 60px;
}

.bg2-image {
  background-image: url(../img/bg-2nd.webp);
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid var(--strokes-texto);
  border-top: 1px solid var(--strokes-texto);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.bg2-image.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-2-container {
  overflow: hidden;
  position: relative;
  display: flex;
  max-width: 90%;
  margin-left: auto;
  color: var(--strokes-texto);
  transition: transform 1s ease-out;
}

.section-2-info {
  display: flex;
  flex-direction: column;
  width: 50%;
  padding: 120px 0;
  justify-content: space-around;
}

.section-2-info h2 {
  font-size: 40px;
  text-align: center;
  text-shadow: 0px 3px rgba(0, 0, 0, 0.5);
}

.section-2-info p {
  font-style: italic;
  text-align: center;
  font-size: 22px;
}

.button-inicio-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
}

.btn2 {
  color: var(--bg-texto);
  background-color: var(--strokes-texto);
  border: 1px solid var(--strokes-texto);
  font-size: 24px;
  padding: 15px;
  width: 100%;
  cursor: pointer;
}

.btn3 {
  color: var(--strokes-texto);
  background-color: #101010;
  border: 1px solid var(--strokes-texto);
  font-size: 24px;
  padding: 15px;
  width: 100%;
  cursor: pointer;
}

.section-2-images {
  display: flex;
  flex-direction: column;
  width: 600px;
  margin-left: auto;
}

.section-2-img-1 {
  display: flex;
  width: 100%;
}
.section-2-img-1,
.section-2-img-2 {
  position: relative;
  opacity: 0;
  transform: translateX(100vw); /* Totalmente fuera sin generar scroll */
  transition: transform 1s ease-out, opacity 1s ease-out;
}
.section-2-img-1.animate-in,
.section-2-img-2.animate-in {
  opacity: 1;
  transform: translateX(0);
}
.section-2-img-1 img {
  max-width: 300px;
}

.section-2-img-2 {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.section-2-img-2 img {
  max-width: 300px;
}

/* 2DA SECCION */

/* CONSTRUCCIONES */

.construcciones-container {
  width: 100%;
}

.title {
  font-size: 40px;
  text-align: center;
  color: var(--strokes-texto);
  margin: 40px;
}

.swipe-hand{
  display: none;
}

.proyectos-container {
  display: flex;
  max-width: 1200px;
  max-height: 700px;
  margin: auto;
  margin-bottom: 20px;
  border: 1px solid var(--strokes-texto);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.proyectos-lista {
  width: 500px;
  overflow: hidden;
}

.proyecto-nombre {
  width: 100%;
  color: var(--strokes-texto);
  border: 1px solid var(--strokes-texto);
  display: flex;
  flex-direction: column;
  height: 140px;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.proyecto-nombre h3 {
  font-size: 38px;
  margin: 20px;
  width: 80%;
}

.proyecto-nombre h3 span {
  font-size: 45px;
}

.arrow-img {
  width: 50px;
  position: absolute;
  left: 85%;
  bottom: 10%;
}

.proyectos-info {
  display: flex;
  flex-direction: column;
  max-width: 700px;
}

.imagenes-proyecto-container {
  display: flex;
  max-width: 700px;
  width: 700px;
  background-color: var(--strokes-texto);
  gap: 2px;
  max-height: 450px;
  height: 450px;
  background-size: cover;
  background-repeat: no-repeat;
}

.proyecto-burela {
  background-image: url(../img/burela-full.webp);
}

.proyecto-virreyloreto {
  background-image: url(../img/virreyloreto-full.webp);
}

.proyecto-aviles {
  background-image: url(../img/aviles-full.webp);
}

.proyecto-zabala {
  background-image: url(../img/zabala-full.webp);
}

.proyecto-alvarezthomas{
  background-image: url(../img/alvarezthomas-collage.webp);
}

.info-proyecto-container {
  display: flex;
  flex-direction: column;
  color: var(--strokes-texto);
  padding: 5px 15px;
  overflow: hidden;
}

.info-proyecto-container h4 {
  font-size: 40px;
  margin-top: 5px;
  margin-bottom: 10px;
}

.info-proyecto-container p {
  margin-top: 5px;
  font-size: 20px;
}

.info-proyecto-container p i {
  margin-right: 5px;
  font-size: 20px;
}
.proyecto-active {
  background-color: var(--strokes-texto);
  color: var(--bg-texto);
}

.info-proyecto{
  font-size: 16px !important;
  margin-top: 10px;
  line-height: 28px;
}

.btn-proyecto{
  color: var(--strokes-texto);
  background-color: #101010;
  border: 1px solid var(--strokes-texto);
  font-size: 20px;
  padding: 10px;
  width: 50%;
  cursor: pointer;
  margin: auto;
  margin-top: 15px;
}

.btn-proyecto:hover {
  background-color: var(--strokes-texto);
  color: var(--bg-black);
  border: 1px solid var(--strokes-texto);
}

/* 3ER SECTION */
/* SERVICIOS */

.servicios-info-container {
  display: flex;
  flex-direction: column;
  width: 70%;
  /*height: 700px;*/
  margin: auto;
  margin-bottom: 40px;
  color: var(--strokes-texto);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.servicios-navbar {
  display: flex;
  width: 100%;
  justify-content: space-around;
}

.servicios-navbar li {
  list-style-type: none;
  border: 2px solid var(--strokes-texto);
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.servicios-navbar li:hover {
  background-color: var(--strokes-texto);
  color: var(--bg-texto);
}

.servicios-info {
  border: 2px solid var(--strokes-texto);
  border-top: none;
  padding: 30px;
}

.demoliciones-info,
.movimientos-info,
.excavaciones-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.info-left {
  display: flex;
  flex-direction: column;
  width: 535px;
  align-items: center;
}

.info-left img{
  width: 100%;
}

.info-right{
  width: 440px;
}

.info-right img {
  width: 100%;
}

.info-text-left p {
  margin-top: 15px;
  line-height: 23px;
}

.servicios-text {
  background-color: var(--strokes-texto);
  font-size: 50px;
  padding: 70px 0;
  margin: 80px 0;
}

.servicios-text p {
  width: 60%;
  margin: auto;
  text-align: center;
}

/* POP UP SERVICIOS */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 60%;
  max-width: 500px;
  text-align: center;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}



/* 5TA SECCION */
/* SOBRE NOSOTROS */

.sobrenosotros-container {
  display: flex;
  flex-direction: column;
  width: 70%;
  margin: auto;
  margin-bottom: 40px;
  color: var(--strokes-texto);
  align-items: center;
}

.nosotros-container {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.nosotros-left {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  width: 100%;
}

.nosotros-left p {
  font-size: 26px;
  line-height: 70px;
}

.nosotros-left-img {
  background-image: url(../img/nosotros1.webp);
  width: 298px;
  height: 355px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--strokes-texto);
}

.nosotros-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.images-nosotros-right {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 5px;
}

.nosotros-right-img1,
.nosotros-right-img2 {
  width: 100%;
  height: 163px;
  background-size: cover;
  background-position: center;
  max-width: 366px;
}

.nosotros-right-img1 {
  background-image: url(../img/nosotros2.webp);
  border: 1px solid var(--strokes-texto);
}

.nosotros-right-img2 {
  background-image: url(../img/nosotros3.webp);
  border: 1px solid var(--strokes-texto);
}

.text-right {
  color: var(--strokes-texto);
  margin-top: -14px;
  margin-bottom: 8px;
}

.text-right p {
  font-size: 17px;
  line-height: 45px;
}

.extra-rigth-container {
  display: flex;
  background-color: var(--strokes-texto);
  color: var(--bg-black);
  width: 100%;
  padding: 40px 20px;
  justify-content: space-between;
  align-items: center;
}

.extra-rigth-container h4 {
  font-size: 48px;
}

.extra-rigth-container p {
  font-size: 18px;
  font-family: "Montserrat", serif;
  font-weight: 500;
  font-style: normal;
}

/* EMPRESAS COLABORATIVAS */
.empresas-container {
  width: 100%;
  background-color: #252525;
}

.empresas-container h3 {
  color: var(--strokes-texto);
  font-size: 32px;
  padding: 20px;
  border-bottom: 1px solid var(--strokes-texto);
  border-top: 1px solid var(--strokes-texto);
}

.carousel {
  padding: 40px;
  position: relative;
  width: 100%;
  height: fit-content;
  overflow: hidden;
  margin-bottom: 20px;
  opacity: 0;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 200s linear infinite;
  gap: 120px;
}

.carousel img {
  width: 134px;
  height: 61px;
  object-fit: cover;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* NOSOTROS- TRABAJOS */

.trabajos-second-section {
  display: flex;
  flex-direction: column;
  width: 70%;
  margin: auto;
  color: var(--strokes-texto);
  gap: 20px;
  margin-top: 60px;
  margin-bottom: 60px;
  opacity: 0;
  flex-wrap: wrap;
}

.trabajos-second-container {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.trabajos-second-container {
  opacity: 0;
  transform: translateY(-50px);
  animation: slideIn 1s forwards;
}

.trabajos-second-container:nth-child(1) {
  animation-delay: 0.5s;
}

.trabajos-second-container:nth-child(2) {
  animation-delay: 0.8s;
}

.trabajos-second-container:nth-child(3) {
  animation-delay: 1.1s;
}
.trabajos-second-container:nth-child(4) {
  animation-delay: 1.4s;
}
.trabajos-second-container:nth-child(5) {
  animation-delay: 1.7s;
}
.trabajos-second-container:nth-child(6) {
  animation-delay: 2s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trabajos-second-container div {
  width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  background-size: cover;
  background-position: center;
  transition: filter 0.3s ease;
  cursor: pointer;
}

.trabajos-second-container div:hover {
  filter: brightness(1.5);
}

.construccion-burela {
  background-image: url(../img/burela-trabajos.webp);
}

.demolicion-elcano {
  background-image: url(../img/elcano-trabajos.webp);
}

.construccion-aviles {
  background-image: url(../img/aviles-trabajos.webp);
}

.excavacion-construye {
  background-image: url(../img/construye-trabajos.webp);
}

.construccion-loreto {
  background-image: url(../img/loreto-trabajos.webp);
}

.demolicion-realtor {
  background-image: url(../img/realtor-trabajos.webp);
}
.construccion-burela,
.demolicion-elcano,
.construccion-aviles,
.excavacion-construye,
.construccion-loreto,
.demolicion-realtor {
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size 1s ease-in;
  background-position: center;
}

/* Efecto hover */
.construccion-burela:hover,
.demolicion-elcano:hover,
.construccion-aviles:hover,
.excavacion-construye:hover,
.construccion-loreto:hover,
.demolicion-realtor:hover {
  background-size: 110%;
}


/* SOBRE NOSOTROS - FORM */
.contacto-form-2 {
  width: 70%;
  display: flex;
  flex-direction: column;
  margin: auto;
}
.contacto-form {
  width: 70%;
  display: flex;
  flex-direction: column;
  margin: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.contacto-form.visible {
  opacity: 1;
  transform: translateY(0);
}
.contacto-form-container {
  display: flex;
  margin: auto;
  color: var(--strokes-texto);
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}

.form-container {
  width: 100%;
  margin-top: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input {
  height: 50px;
  background-color: var(--bg-texto);
  color: var(--strokes-texto);
  border: 1px solid var(--strokes-texto);
  padding: 16px 8px;
}

textarea {
  background-color: var(--bg-texto);
  color: var(--strokes-texto);
  border: 1px solid var(--strokes-texto);
  padding: 16px 8px;
  height: 150px;
}

#form-response{
  text-align: center;
  position: relative;
  top: 20px;
  min-height: 1.5em; /* Espacio reservado */
  transition: opacity 0.5s ease;
}

.orza-info-contacto {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  justify-content: center;
}

.orza-info-contacto div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-button {
  background-color: var(--bg-black);
  color: var(--strokes-texto);
  border: 1px solid var(--strokes-texto);
  font-size: 24px;
  padding: 15px;
  width: 50%;
  margin: auto;
  margin-top: 20px;
  cursor: pointer;
}

/* FOOTER */

footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--strokes-texto);
  color: var(--strokes-texto);
  padding: 30px;
  gap: 30px;
  background-color: #212121;
}


.orza-info,
.copy-info {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  font-size: 16px;
}

.orza-info{
  align-items: flex-start;
}

.copy-info{
  justify-content: space-between;
}

.noob-info {
  display: flex;
  align-items: center;
  gap: 2px;
}

.noob-info img{
  width: 60px;
}

.hide {
  display: none;
}




/*---------------ANIMATIONS----------*/
.counters {
  width: 100%;
  display: flex;

  flex-wrap: wrap;
  justify-content: space-around;
}

.counter {
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  padding-right: 1.5rem;
  font-style: normal;
  transition: all 0.5s;
  position: relative;
}
.counter:not(:last-child)::before {
  content: "";
  position: absolute;
  width: 2px;
  top: 50%;
  transform: translateY(-50%);
}
.bg-image {
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
}



@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 91%;
  }
}
.section-2-img-1,
.section-2-img-2 {
  position: relative;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.section-2-img-1.animate-in,
.section-2-img-2.animate-in {
  opacity: 1;
  transform: translateX(0);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes deslizar {
  0% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  50% { transform: translateX(10px); }
  75% { transform: translateX(-10px); }
  100% { transform: translateX(0); }
}

.swipe-hand {
  transition: opacity 0.5s ease;
  opacity: 1;
}
.swipe-hand.hide {
  opacity: 0;
  pointer-events: none;
}


/* MEDIA Q - HOME  */

@media (min-width: 320px) and (max-width: 599px) { 
  .btn1{
    margin: 60px 0 40px 0;
  }
  .hero p{
    font-size: 20px;
  }
  .hero-container{
    height: 90vh;
  }
  .container{
    padding: 0 30px;
  }
  .hero h1{
    font-size: 100px;
    margin-top: 80px;
  }
  .btn2, .btn3,.form-button{
    font-size: 20px;
  }
  .button-inicio-container{
    flex-direction: column;
  }
  .section-2-container{
    max-width: 100%;
    padding: 0 20px;
  }
  .section-2-info h2{
    font-size: 34px;
    margin-bottom: 16px;
  }
  .section-2-info p{
    font-size: 18px;
    margin-bottom: 32px;
  }
  .section-2-info{
    width: 100%;
    padding: 60px 0;
  }
  .section-2-images{
    display: none;
  }
  .title{
    margin: 40px 0;
    font-size: 34px;
  }
  .contacto-form{
    width: 85%;
  }
  .form-button{
    margin-top: 0;
    width: 100%;
  }
  #form-response{
    font-size: 12px;
    margin-bottom: 20px;
  }
  .contacto-form-container{
    flex-direction: column;
    gap: 30px;
  }
  .orza-info, .copy-info{
    flex-direction: column;
  }
  footer{
    padding: 10px;
  }
  .noob-info{
    margin-top: 5px;
  }
  .noob-info p{
    font-size: 10px;
  }
  .noob-info img{
    width: 40px;
  }
  .copy-info, .orza-info{
    font-size: 14px;
  }
  .orza-info{
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    align-items: center;
  }
  .orza-info-contacto div{
    text-align: center;
  }
  .orza-info img{
    width: 20px;
  }
  .orza-info-contacto {
    gap: 65px;
  }
  .contacto-form-container {
    margin-bottom: 0;
  }
}

@media (min-width: 599px) and (max-width: 1024px) {
  .hero h1{
    margin-top: 30px;
  }
  .section-2-images{
    width: auto;
  }
  .section-2-container{
    max-width: 100%;
  }
  .section-2-info{
    width: 100%;
    padding: 20px 20px;
  }
  .section-2-img-1 img, .section-2-img-2 img{
    width: 253px;
  }
  .button-inicio-container{
    flex-direction: column;
  }
  .btn2, .btn3{
    font-size: 22px;
  }
  .section-2-info h2 {
    font-size: 36px;
    padding: 0 38px;
  }
  .section-2-info p {
    font-size: 19px;
  }
  .button-inicio-container {
  padding: 0 60px;
  }
  .contacto-form {
    width: 90%;
  }
  .orza-info-contacto{
    width: 70%;
    text-align: center;
  }
  .form-button{
    width: 100%;
    margin-top: 0;
  }
  .orza-info{
    align-items: flex-start;
    font-size: 14px;
  }
  .copy-info{
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    font-size: 14px;
  }
  .hero-container {
    width: 100%;
    height: 103vh;
    border-bottom: 1px solid var(--strokes-texto);
  }
}



@media (min-width: 1025px) and (max-width: 2000px) {
  .hero-container {
    height: 100vh;
}
}

/* MEDIA Q - CONSTRUCCIONES  */

@media (min-width: 320px) and (max-width: 628px) { 
  .swipe-hand{
    display: block;
    position: absolute;
    top: 188px;
    left: 86%;
    width: 40px;
    animation: deslizar 1.5s infinite;
    color: var(--strokes-texto);
    font-size: 30px !important;
  }
  .proyectos-container{
    flex-direction: column;
    max-height: 100%;
  }
  .proyectos-lista {
    width: 100%;
    overflow: hidden;
    display: flex;
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    -webkit-overflow-scrolling: touch;
  }

  .proyecto-nombre h3 {
    font-size: 16px;
    margin: 20px;
    width: auto;
  }
  .proyecto-nombre h3 span {
    font-size: 18px;
  }
  .proyecto-nombre{
    height: auto;
    justify-content: flex-start;
  }
  .arrow-img {
    width: 25px;
    position: absolute;
    left: 73%;
    bottom: 10%;
    transform: rotate(90deg);
  }
  .imagenes-proyecto-container{
    width: 100%;
    height:300px;
  }
  .info-proyecto-container h4 {
    font-size: 22px;
  }
  .info-proyecto-container{
    padding: 15px;
  }
  .info-proyecto-container p{
    font-size: 14px;
  }
  .btn-proyecto{
    width: 60%;
    font-size: 18px;
    margin-bottom: 5px;
  }

}

@media (min-width: 628px) and (max-width: 1024px) {
  .imagenes-proyecto-container {
    width: 100%;
    height: 382px;
  }
  .proyecto-nombre h3 {
  font-size: 26px;
  }
  .proyecto-nombre h3 span {
    font-size: 36px;
  }
  .swipe-hand{
    display: none;
  }
  .btn-proyecto{
    margin-top: 10%;
  }
}

/* MEDIA Q - SERVICIOS  */

@media (min-width: 320px) and (max-width: 768px) {
  .servicios-info-container{
    width: 100%;
  }
  .info-right,.info-right-img-excavaciones{
    display: none;
  }
  .servicios-text p{
    width: 95%;
  }
  .servicios-text{
    font-size: 30px;
  }
  .servicios-info {
    padding: 15px;
  }
  .info-left {
    width: 100%;
  }
  .servicios-navbar li{
    font-size: 14px;
    text-align: center;
  }
  .info-text-left{
    font-size: 14px;
  }
  .servicios-text {
    margin: 10px 0;
}
}

@media (min-width: 769px) and (max-width: 1000px){
  .servicios-info-container{
    width: 100%;
  }
}

/* MEDIA Q - SOBRE NOSOTROS  */

@media (min-width: 320px) and (max-width: 629px) {
  .nosotros-container{
    align-items: center;
    flex-direction: column;
    margin-bottom: 0;
  }
  .trabajos-second-section{
    width: 100%;
    gap: 10px;
  }
  .sobrenosotros-container {
    width: 100%;
  }
.text-right p {
  font-size: 16px;
  line-height: 32px;
  padding: 0px 10px;
  text-align: center;
  margin-top: 30px;
  }
  .counters {
  gap: 30px;
  justify-content: center;
  }
  .counter {
  text-align: center;
  }
  .nosotros-right {
  gap: 40px;
  }
  .trabajos-second-container {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
  }
  .carousel-track {
    gap: 60px;
  }
  .nosotros-left {
    max-width: none;
    width: 95%;
  }
  .nosotros-left-img{
    display: none;
  }
  .nosotros-left p{
    text-align: center;
    font-size: 20px;
    line-height: 50px;
  }
} 

@media (min-width: 629px) and (max-width: 768px) {
  .trabajos-second-container div {
    width: 180px;
    height: 180px;
  }
  .nosotros-left {
    flex-direction: row;
    max-width: none;
    align-items: center;
    padding: 0 10px;
  }
  .nosotros-container {
    flex-direction: column;
  }
  .sobrenosotros-container{
    width: 100%;
  }
  .nosotros-left-img {
    width: 100%;
  }
  .nosotros-left p {
    text-align: right;
  }
  .text-right {
    padding: 0 10px;
  }
  .counters {
    gap: 15px;
  }
  .counter{
    text-align: center;
  }
  .trabajos-second-section {
    width: 95%;
    margin-top: 0;
  }
  .trabajos-second-container{
    margin-top: 0;
    gap: 15px;
  }
  .sobrenosotros-container{
    margin-bottom: 0;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .trabajos-second-container div{
    width: 220px;
    height: 220px;
  }
  .trabajos-second-section {
    width: 95%;
    margin-top: 0;
  }
  .nosotros-container {
    flex-direction: column;
  }
  .nosotros-left {
    flex-direction: row;
    max-width: none;
    align-items: center;
    padding: 0 30px;
  }
  .nosotros-container {
    flex-direction: column;
  }
  .sobrenosotros-container{
    width: 100%;
  }
  .nosotros-left-img {
    width: 100%;
  }
  .nosotros-left p {
    text-align: right;
  }
  .text-right {
    padding: 0 30px;
  }
}