

/* Variables de colores */
:root {
  --verde-oscuro: #2a542e;
  --verde-oscuro2: #142416;
  --verde-medio: #4caf50;
  --verde-claro: #83bc4e;
  --gris-claro: #f9f9f9;
  --gris-medio: #dbeedc;
  --gris-oscuro: #444;
  --blanco: #fff;
  --gris-footer: #414141;
  --gris-footer-text: #9e9797;
  --gris-borde: #e0e0e0;
  --verde-acento: #3d6b3d;
  --naranja: #e8954f;
  --amarillo: #f5cc60;
  --verde-aqua: #5a8f61;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--blanco);
  color: var(--gris-oscuro);
  line-height: 1.6;
}

a {
  color: var(--verde-medio);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--verde-oscuro);
}

.contenedor {
  padding: 60px 0;
  width: 90%;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
}

.titulo {
  color: var(--verde-oscuro);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
}

/* Header */

header {
  width: 100%;
  height: 600px;
  background: linear-gradient(
        rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url(images/vista01-Pica.png) no-repeat center center/cover;
    background-attachment: fixed;
  position: relative;
}

.logo {
  width: 20%;
  padding-left: 200px;
  height: auto;
}

nav {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 20px 0;
  font-weight: 700;
}

nav a {
  color: var(--blanco);
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
nav a:hover {
  color: var(--naranja);
}

.textos-header {
  position: relative;
  background-position: center;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--blanco);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  padding: 100px 0px;
}

.textos-header h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.textos-header h2 {
  font-size: 1.5rem;
  font-weight: 300;
}


.wave {
  position: absolute;
  bottom: -42%;
  width: 100%;
  height: 150px;
  overflow: hidden;
  line-height: 0;
}

.wave svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

/* Sobre Nosotros */

.sobre-nosotros .contenedor-sobre-nosotros {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.sobre-nosotros video.video {
  flex: 1 1 480px;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.contenido-textos {
  flex: 1 1 480px;
  max-width: 480px;
}

.contenido-textos h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 10px;
  position: relative;
}

.contenido-textos h3.promocion {
  text-align: center;
  color: var(--gris-claro);
  background-color: var(--verde-acento);
  border-radius: 8px;
  margin-top: 50px;
  margin-bottom: 30px;
}

.contenido-textos h3 span {
  background-color: var(--verde-aqua);
  color: var(--blanco);
  border-radius: 50%;
  padding: 6px 12px;
  margin-right: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  top: -3px;
}

.lotes-txt {
  margin-bottom: 1rem;
  font-weight: 400;
  color: var(--gris-oscuro);
}

.lotes {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 2rem;
  color: var(--verde-oscuro);
  font-weight: 600;
}

.lotes li {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
}

.tachado{
  color: #000000ab;
  font-style: italic;
  font-weight: 500;
  font-size: small;
}

.resaltado{
  color: var(--naranja);
  text-decoration: solid;
  font-weight: 700;
}

/* Galería */

.portafolio p{
  font-weight: 400;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: var(--gris-oscuro);
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16/9;  
  object-fit: cover;  
  border-radius: 6px;
  display: block;
  box-shadow: 0 4px 15px rgba(41, 59, 36, 0.205);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(41, 59, 36, 0.205);
}

/* Ventajas */

.ventajas {
  background: linear-gradient(to bottom, var(--blanco), var(--gris-medio));
  padding: 60px 20px;
  text-align: center;
}

.ventajas h2 {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--verde-oscuro);
}

.ventajas p {
  font-weight: 400;
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--gris-oscuro);
}

.ventajas p span{
  background-color: var(--naranja);
  border-radius: 6px;
  color: #e8f5e9;
  padding: 2px;
}

.beneficios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.beneficios .item {
  background: var(--blanco);
  border-radius: 15px;
  padding: 20px 30px;
  max-width: 260px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: var(--verde-oscuro);
  font-weight: 600;
  transition: box-shadow 0.3s ease;
  cursor: default;
}

.beneficios .item:hover {
  box-shadow: 0 6px 16px var(--verde-acento);
}

.beneficios .item h3 {
  margin-bottom: 15px;
  font-weight: 700;
}

.beneficios .item p {
  font-weight: 400;
  color: var(--gris-oscuro);
}

/* Contacto */

.contacto {
  margin-top: 50px;
  padding: 40px 20px;
  background: var(--verde-aqua);
  border-radius: 15px;
  color: var(--blanco);
  text-align: center;
}

.contacto h3 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contacto p {
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.contacto a {
  display: inline-block;
  margin: 8px 15px;
  padding: 14px 25px;
  border-radius: 50px;
  background: var(--verde-oscuro);
  color: var(--blanco);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.contacto a:hover {
  background: var(--verde-oscuro2);
}

/* Footer */

footer {
  background-color: var(--gris-footer);
  color: var(--gris-footer-text);
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}

.contenedor-footer {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.content-foo h4 {
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--blanco);
}

.content-foo p {
  font-weight: 400;
}

.titulo-final {
  font-weight: 600;
  color: var(--blanco);
}


@media screen and (max-width:900px){
    header{
        background-position: center;
    }

    .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

    .contenedor-sobre-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos{
        width: 90%;
    }

    .video{
        width: 90%;
    }

    /* Galeria */

    .imagen-port{
        width: 44%;
    }

}

@media (min-width: 711px) and (max-width: 1300px) {
  .wave{
    bottom: -80%;
  }
}

@media (min-width: 1301px) and (max-width: 1800px) {
  .wave{
    bottom: -60%;
  }
}

@media screen and (max-width:1111px){

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

    .contenido-textos ul li{
      list-style: none;
    }
}

@media screen and (max-width:500px){
    nav{
        display: none;
    }

    .gallery{
      grid-template-columns: 1fr;
    }

    .wave{
      bottom: -90%;
    }

    .textos-header h1{
        font-size: 35px;
    }

    .textos-header h2{
        font-size: 20px;
    }

    /* ABOUT US */

    .video{
        margin-bottom: 60px;
    }

    .sobre-nosotros .contenido-textos{
        width: 95%;
    }

    /* Galeria */

    .imagen-port{
        width: 100%;
    }

    /* Footer */

    .contenedor-footer{
        flex-direction: column;
        border: none;
    }

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

    .content-foo h4{
        border: none;
    }

    .content-foo p{
        color: #ccc;
        border-bottom: 1px solid #b4adad;
        padding-bottom: 5px;
    }

    .titulo-final{
        font-size: 20px;
    }

    .lotes li {
    flex-direction: column; 
    align-items: center;
    gap: 0;
  }
}

@media (max-width: 1500px){
   .logo{
      visibility: hidden;
    }
}