/* ----------- CUSTOM PROPERTIES - GLOBALES ----------- */
:root {
  --blanco-roto: #F4F4F4;
  --verde-logo: #006633;
  --verde-claro: #4D8C6A;
  --gris: #C4C4C4;	
  --gris-claro: #dadada;	
}

/* ----------- RESET ----------- */
html {
  box-sizing: border-box;
  min-height: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

p {
  line-height: 2;
}

/* Estilos del Sitio */
@media (max-width: 412px) {
  header img {
    width: 25%;
 }
}

.titulos {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: var(--verde-logo);
}

.texto-emocional {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.texto-general {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: var(--verde-logo);
}

body {
  min-height: 100%;
  overflow-x: hidden;
  background-color: var(--blanco-roto);
}

header {
  padding: 1.4rem;
  color: var(--rosa);
  background-color: var(--blanco-roto);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  text-align: start!important;
  margin-top: -3rem;
  margin-bottom: 5rem;
}

h2 span {
  font-size: 1.8rem;
}
h1, h2, h3 {
  text-align: center;
}
@media (max-width: 412px) {
  h1 {
    font-size: 2rem;
    text-align: center!important;
    margin-top: 8rem;
    margin-bottom: 3rem;
  }
  .sub-h1 {
    font-size: 1.2rem!important;
  }
}

.sub-h1 {
  font-size: 1.8rem;
  margin-top: .4rem;
}

h2 {
  font-size: 2.8rem;
  color: var(--verde-logo);
  margin-bottom: 2rem;
  margin-top: 6.5rem;
}
h3 {
  color: var(--rosa);
  font-size: 1.6rem;
}

.degradado {
  background-image: linear-gradient(to bottom, white 30%, var(--verde-claro) 400%);
}

.contenedor {
  margin: 0 auto;
  max-width: 1200px;
}

.sombra {
  padding: 2rem;
  margin-bottom: 3rem;
  background-color: var(--verde-claro);
  -webkit-box-shadow: 0px 11px 15px -9px rgba(0,0,0,0.63);
  -moz-box-shadow: 0px 11px 15px -9px rgba(0,0,0,0.63);
  box-shadow: 0px 11px 15px -9px rgba(0,0,0,0.63);
}

.nav {
  border-top: var(--verde-claro) 1px solid;
}

.navegacion {
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--blanco-roto);
  margin: 0 auto;
}

@media (min-width:768px) {
  .navegacion {
    flex-direction: row;
  }
}

.navegacion a {
  padding: 1rem 2rem;
  color: var(--verde-claro);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  background-color: var(--blanco-roto);
  text-align: center;
}

.navegacion a:hover {
  background-color: var(--gris-claro);
  color: var(--verde-logo);
}

@media (max-width: 412px) {
  .navegacion a:hover {
    padding-left: 100%;
    padding-right: 100%;
 }
}

.navegacion a:last-of-type {
  margin-bottom:0;
}

@media (min-width:768px) {
  .navegacion a{
    margin-bottom: 0;
    border: 0;
  }
}

/*----------------------- HERO --------------------*/
.hero {
  max-width: 100%;
  height: 38rem;
  background-image: url(/img/hero.jpg);
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.9;
  overflow: hidden;
  background-position: center bottom; /* x y*/
  color: white;
}

.hero p {
  max-width: 20rem;
}

.contenido-hero {
  max-width: 80rem;
  margin: 10rem auto;
}

.boton {
  background-color: var(--verde-logo);
  color: var(--blanco-roto);
  padding: .5rem 5rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.4rem;
  border: none;
}

.contenedor-enviar {
  display: flex;
  justify-content: flex-end;
}

/*       ---------- MQ ----------        */
@media (max-width: 1024px) {
  .contenido-hero p {
    padding-left: 1.6rem;
  }

  .contenedor-enviar {
    justify-content: center;
  }
}

@media (max-width: 412px) {
  .contenido-hero {
    padding: 0 .5rem;
    margin: 1rem auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .contenido-hero p {
    padding-left: 0;
  }
}

/*--------------------- MAIN - SERVICIOS ------------------*/
.degradado {
  padding-top: .1rem;
}

.mis-servicios {
  display: flex;
  justify-content: space-around;
  color: var(--blanco-roto);
}


.servicio {
  height: 30rem;
  width: 33.33%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--verde-logo);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
@media (max-width: 412px) {
  .mis-servicios {
    flex-direction: column;
  }
  .servicio {
    width: 100%;
  }
}

.servicio1 {
  background-image: url(/img/obra-civil.jpg);
  background-color: rgba(255, 255, 255, 0.7); /* Color blanco con 30% de opacidad */
  background-blend-mode: lighten;
  background-repeat: no-repeat;
  background-size: cover;
}
.servicio2 {
  background-image: url(/img/diseno-interiores.jpg);
  background-color: rgba(255, 255, 255, 0.7); /* Color blanco con 30% de opacidad */
  background-blend-mode: lighten;
  background-repeat: no-repeat;
  background-size: cover;
}
.servicio3 {
  background-image: url(/img/maquetas.jpg);
  background-color: rgba(255, 255, 255, 0.8); /* Color blanco con 30% de opacidad */
  background-blend-mode: lighten;
  background-repeat: no-repeat;
  background-size: cover;
}
.servicio p {
  margin: auto 6rem;
}
.servicio4 {
  background-image: url(/img/diseno-arquitectonico.jpg);
  background-color: rgba(255, 255, 255, 0.7); /* Color blanco con 30% de opacidad */
  background-blend-mode: lighten;
  background-repeat: no-repeat;
  background-size: cover;  
}
.servicio5 {
  background-image: url(/img/remodelaciones.jpg);
  background-color: rgba(255, 255, 255, 0.7); /* Color blanco con 30% de opacidad */
  background-blend-mode: lighten;
  background-repeat: no-repeat;
  background-size: cover;
}
.servicio6 {
  background-image: url(/img/tramites.jpg);
  background-color: rgba(255, 255, 255, 0.7); /* Color blanco con 30% de opacidad */
  background-blend-mode: lighten;
  background-repeat: no-repeat;
  background-size: cover;
}

.nosotros {
  display: flex;
}
@media (max-width: 412px) {
  .nosotros {
    flex-direction: column;
  }
  .nosotros div {
    width: 100%;
    margin: 0;
    padding: 1.5rem;
  }
  div.acerca {
    padding: 0;
    height: auto;
  }
  .historia {
    border-top: 1px solid var(--verde-logo);
  }
}

.acerca {
  background-repeat: no-repeat;
  background-size: cover;
  width: 60%;
  height: 20rem;
  overflow: hidden;
}
.acerca2 {
  background-repeat: no-repeat;
  background-size: cover;
  width: 60%;
  height: 54rem;
  overflow: hidden;
}

.acerca img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.acerca2 img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.texto-acerca {
  margin: auto 4rem;
  width: 40%; 
  display: flex;
  flex-direction: column;
  text-align: justify;
  justify-content: center;
}

.iconos i {
  font-size: 2rem;
  color: var(--verde-logo);
}

/*----------------------- FORM --------------------*/
.formulario {
  background-color: var(--verde-claro);
  padding: 2rem;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  margin: 0;
}

.contenedor-campos {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.campo {
  margin-bottom: 1rem;
  width: 100%;
}

@media (min-width:480px) {
  .campo {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .campo{
    flex: 0 0 calc(50% - .5rem)
  }
}

@media (min-width:480px) {
  .campo label {
    flex: 0 0 90px;
  }
}

.campo input[type="text"],
.campo input[type="tel"],
.campo input[type="email"],
.campo textarea {
  width: 100%;
  padding: .5rem;
  border: none;
}

@media (min-width: 768px) {
  :is(.campo) :is( 
    input[type="text"],   
    input[type="email"] , 
    textarea ) {
    flex: 1;
  }
}

.w-100{
  flex: 0 0 100%;
}

.campo textarea {
  height: 4rem;
}

.footer {
  text-align: center;
  color: var(--blanco-roto);
  background-color: var(--verde-logo);
  margin: 0;
  padding: .5rem 0;
  font-size: 14px;
}

.footer a {
  color: var(--blanco-roto);
  text-decoration: none;
  font-weight: 600;
}

.contenedor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto 2rem;
}

.text-center {
  text-align: center;
}

.none {
  display: none;
}

.boton:hover {
  cursor: pointer;
  background-color: var(--verde-logo);
}

.enviar {
  padding: .7rem 5.6rem;
}

@media (max-width: 768px) {
  .enviar {
    font-size: 1.2rem;
    text-align: center;
    margin: 0 auto;
    padding: 0.7rem 3rem;
  }
}

@media (max-width: 412px) {
  .contenedor-enviar {
    padding: 0 8rem;
    background-color: var(--verde-logo);
  }
  .enviar {
    padding: 0.7rem 6.2rem;
  }
  .boton-hero {
    padding: 0.7rem 7.2rem;
  }
  h2 {
    font-size: 2.5rem;
  }
}

/***** Botón de Whatsapp *****/
.whatsapp-button {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 70px;
  height: 70px;
}

.whatsapp-button img {
  background-color: #25D366;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

.whatsapp-button img:hover {
  filter: contrast(1.25);
}

/* ********* FOTOS ************ */
@media (max-width: 800px) {
  .carousel-container {
    width: 150%;
  }
  #fotos p {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .carousel-container {
    width: 150%;
  }
  #fotos p {
    display: none;
  }
}

#fotos pre {
  font-weight: 700;
}

.galeria-fotos {
  color: var(--claro-color);
  background-color: var(--main-color);
}

@media (max-width: 1300px) {
  .galeria-fotos pre {
    padding-right: 5rem;
  }
}
@media (max-width: 700px) {
  .galeria-fotos pre {
    display: none;
  }
}

.contenedor-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.rem120 {
  max-width: 120rem;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-container button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  padding: 10px;
  transition: background-color 0.3s;
}

.carousel-container button:hover {
  background-color: var(--secondary-color);
  color: var(--claro-color);
}

/* Adaptable para pantallas pequeñas */
@media (max-width: 600px) {
  .carousel-container button {
    font-size: 1.5rem;
    padding: 5px;
  }
}

@media (max-width: 800px) {
  .carousel-container {
    width: 150%;
  }
  #fotos p {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .carousel-container {
    width: 150%;
  }
  #fotos p {
    display: none;
  }
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  transition: opacity 1s;
}

.carousel-slide img {
  width: 100%;
  display: block;
}

.carousel-container button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  padding: 10px;
  transition: background-color 0.3s;
}

.carousel-container button:hover {
  background-color: var(--secondary-color);
  color: var(--claro-color);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.text-center {
  text-align: center;
}

.block {
  display: block;
}

.altura-carrusel {
  max-height: 10rem;
}

.mb4 {
  margin-bottom: 4rem;
}

.pb4 {
  padding-bottom: 4rem;
}

.redes-sociales {
  background-color: var(--verde-claro);
}

@media (max-width: 412px) {
  .footer {
    font-size: 12px;
  }
  .contenedor-footer {
    display: flex;
    gap: 1rem;
  }
  .contenedor-footer p {
    line-height: 1.4;
  }
}

.todo-contacto {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.redes-sociales {
  background-color: transparent;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  max-width: 80rem;
  margin: auto 0;
}

.tres-redes {
  max-width: 80rem;
  background-color: var(--verde-claro);
  color: var(--blanco-roto);
  display: flex;
  align-items: center;
  justify-content: center;
}

.line {
  font-size: xx-large;
  padding-bottom: .2rem;
}

h4 {
  font-size: 1.5rem;
}

@media (max-width:412px) {
  .formulario {
    max-width: 400px;
  }
  .todo-contacto {
    display: block;
  }
  .tres-redes {
    padding-top: 2rem;
  }
  .acerca2 {
    display: none;
  }
}

.nosotros .historia-pre {
  max-width: 40rem;
  padding: 0;
}

