*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:#dbe3ee;
  color:#1a1a1a;
  padding:40px;
}

a{
  text-decoration: none;
}


/* ========================= */
/* CONTENEDOR GENERAL */
/* ========================= */

body::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at top left,#d6c6b8 0%,transparent 35%),
    radial-gradient(circle at bottom right,#cfd9e8 0%,transparent 30%);
  z-index:-1;
}


/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar{
  width:100%;
  max-width:1250px;
  margin:auto;
  background:#f7f5f2;
  border-radius:32px 32px 0 0;
  padding:28px 50px;
  display:flex;
  align-items:center;
  justify-content:space-between;

  box-shadow:
  0 15px 40px rgba(0,0,0,0.08);
}


/* LOGO */

.logo{
  display:flex;
  align-items:center;
  gap:14px;
}


.logo img{
  width: 80px;
}

.logo span{
  font-size:15px;
  font-weight:600;
  letter-spacing:.5px;
  color:#1a1a1a;
}


/* LINKS */

.nav-links{
  display:flex;
  gap:40px;
}

.nav-links a{
  text-decoration:none;
  color:#444;
  font-size:15px;
  transition:.3s;
}

.nav-links a:hover{
  color:#b08d57;
}


/* BOTON */

.nav-btn{
  text-decoration:none;

  background:#1f2937;
  color:white;

  padding:14px 26px;

  border-radius:40px;

  font-size:14px;
  font-weight:500;

  transition:.3s;
}

.nav-btn:hover{
  background:#b08d57;
}


/* ========================= */
/* HERO */
/* ========================= */

.hero{
  width:100%;
  max-width:1250px;
  margin:auto;
  background:#f7f5f2;
  text-align:center;
}

.hero-content{
  max-width:75%;
  margin:auto;
}

.hero-tag{
  display:inline-block;
  margin-bottom:20px;
  font-size:13px;
  letter-spacing:2px;
  font-weight:600;
  color:#8b6b3f;
}

.hero h1{
  font-size:78px;
  line-height:1;
  font-weight:600;
  margin-bottom:30px;
  color:#111827;
}

.hero p{
  font-size:18px;
  line-height:1.5;
  color:#555;
  max-width:90%;
  margin:auto auto 20px;
}


/* BOTONES HERO */

.hero-buttons{
  display:flex;
  justify-content:center;
  gap:20px;
}

.primary-btn{
  text-decoration:none;
  background:#b08d57;
  color:white;
  padding:18px 34px;
  border-radius:60px;
  font-weight:600;
  transition:.5s;
  border: 1px solid #b08d57;
}

.primary-btn:hover{
  background-color: white;
  color: #b08d57;
  border: 1px solid #b08d57;
  transform: all;
  cursor: pointer;
}

.secondary-btn{
  text-decoration:none;
  border:1px solid #ccc;
  color:#010101;
  padding:18px 34px;
  border-radius:60px;
  transition:.3s;
  font-weight: bold;
}

.secondary-btn:hover{
  background:#ece7e0;
  
}


/* ========================= */
/* ESTADISTICAS */
/* ========================= */

.stats{
  width:100%;
  max-width:1250px;
  margin:auto;
  background:#f7f5f2;
  padding:50px 60px 50px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.stat-box h2{
  font-size:52px;
  color:#1a1a1a;
  margin-bottom:10px;
  margin: 0 auto;
  display: block;
  width: 100%;
  text-align: center;
}

.stat-box p{
  color:#666;
  font-size:16px;
  margin: 0 auto;
  display: block;
  width: 100%;
  text-align: center;
}


/* ========================= */
/* HERO IMAGE */
/* ========================= */

.hero-image{
  width:100%;
  max-width:1250px;
  margin:auto;
  background:#f7f5f2;
  overflow:hidden;
  padding-bottom:20px;
}

.hero-image img{
  width:100%;
  height:700px;
  object-fit:cover;
  border-radius:24px;
}


/* ========================= */
/* SECCIONES */
/* ========================= */

.section{
  width:100%;
  max-width:1250px;
  margin: 0 auto;
  background:#f7f5f2;
  padding:80px;
}

.section-header{
  margin-bottom:60px;
}

.section-header span{
  color:#8b6b3f;
  font-size:13px;
  font-weight:600;
  letter-spacing:2px;
}

.section-header h2{
  font-size:58px;
  margin-top:15px;
  color:#111827;
}

.section-header p{
  max-width:700px;
  margin-top:20px;
  color:#666;
  line-height:1.8;
}


/* ========================= */
/* PROYECTOS */
/* ========================= */

.projects{
  width:100%;
  max-width:1250px;
  margin:0px auto;
  background:#f7f5f2;
  padding: 0 40px;
  padding-top: 80px;
}


.projects-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px;
  padding-top: 40px;
}

.project-card{
  background:white;
  border-radius:24px;
  overflow:hidden;

  transition:.4s;

  box-shadow:
  0 10px 30px rgba(0,0,0,0.06);
}

.project-card:hover{
  transform:translateY(-8px);
}

.project-card img{
  width:100%;
  height:320px;
  object-fit:cover;
}

.project-content{
  padding:35px;
}

.project-content h3{
  font-size:28px;
  margin-bottom:18px;
}

.project-content p{
  color:#666;
  line-height:1.8;
}


/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:1100px){

  .hero h1{
    font-size:58px;
  }

  .projects-grid{
    grid-template-columns:1fr;
  }

  .navbar{
    flex-direction:column;
    gap:25px;
  }

  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
  }

}


@media(max-width:768px){

  body{
    padding:15px;
  }

  .hero h1{
    font-size:42px;
  }

  .hero p{
    font-size:16px;
  }

  .stats{
    grid-template-columns:1fr;
  }

  .hero,
  .navbar,
  .section,
  .stats{
    padding-left:25px;
    padding-right:25px;
  }

  .hero-image img{
    height:420px;
  }

  .section-header h2{
    font-size:38px;
  }

}


.split-section{
    display:grid;
    grid-template-columns:350px 1fr;
    gap:50px;
    align-items:start;
}

.section-intro span{
    color:#b08d57;
    font-size:13px;
    font-weight:600;
    letter-spacing:2px;
}

.section-intro h2{
    font-size:48px;
    margin:15px 0 20px;
    line-height:1.1;
}

.section-intro p{
    color:#666;
    line-height:1.8;
}

.section-intro a{
  display: block;
  width: 65%;
  margin-top: 15px;
}

.services-grid,
.about-grid,
.infra-grid{
    display:grid;
    gap:20px;
}

.services-grid{
    grid-template-columns:repeat(2,1fr);
}

.about-grid{
    grid-template-columns:repeat(2,1fr);
}

.infra-grid{
    grid-template-columns:repeat(3,1fr);
}

.service-card,
.about-card,
.infra-card{
    background:white;
    padding:35px;
    border-radius:22px;
    border:1px solid #ece7e0;
    transition:.3s;
}

.service-card:hover,
.about-card:hover,
.infra-card:hover{
    transform:translateY(-5px);
}

.service-card h3,
.about-card h3,
.infra-card h3{
    margin-bottom:15px;
    font-size:22px;
}

.service-card p,
.about-card p,
.infra-card p{
    color:#666;
    line-height:1.8;
}

/*Formulario*/
.contact-wrapper{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:60px;
    align-items:start;
}

.contact-info span{
    color:#b08d57;
    font-size:13px;
    font-weight:600;
    letter-spacing:2px;
}

.contact-info h2{
    font-size:52px;
    margin:15px 0 20px;
    line-height:1.1;
}

.contact-info p{
    color:#666;
    line-height:1.8;
}

.contact-data{
    margin-top:40px;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.contact-data h4{
    margin-bottom:8px;
    color:#111827;
}

.contact-form{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label{
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
    color:#333;
}

.form-group input,
.form-group textarea{

    width:100%;

    padding:18px;

    border:none;

    border-radius:16px;

    background:#ffffff;

    border:1px solid #ece7e0;

    font-family:inherit;
    font-size:15px;

    transition:.3s;
}

.form-group input:focus,
.form-group textarea:focus{

    outline:none;

    border-color:#b08d57;

    box-shadow:
    0 0 0 4px rgba(176,141,87,.15);

}

.full-width{
    grid-column:1 / -1;
}

.contact-form button{
    width:fit-content;
}

@media(max-width:992px){

    .contact-wrapper{
        grid-template-columns:1fr;
    }

    .contact-form{
        grid-template-columns:1fr;
    }

}



/* FOOTER */

.section-bg-footer{
  background: #f7f5f2;
  border-bottom-right-radius: 32px;
  border-bottom-left-radius: 32px;
  max-width: 1250px;
  margin: 0 auto;
}

footer{
    max-width:1250px;
    overflow:hidden;
    border-radius:32px;
    background:#111827;
    color:white;
}

.footer-container{
    padding:60px;
}

.footer-top{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
}

.footer-brand h2{
    margin-bottom:15px;
    font-size:32px;
}

.footer-brand p,
.footer-item p{
    color:#d1d5db;
    line-height:1.8;
}

.footer-item h4{
    margin-bottom:15px;
    color:#b08d57;
}

.footer-bottom{
    margin-top:40px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.1);

    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
}

@media(max-width:992px){

    .split-section{
        grid-template-columns:1fr;
    }

    .services-grid,
    .about-grid,
    .infra-grid{
        grid-template-columns:1fr;
    }

    .footer-top{
        grid-template-columns:1fr;
    }

    .footer-bottom{
        flex-direction:column;
    }

}

/*Animación Scroll*/
.contact-wrapper{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:60px;
    align-items:start;
}

.contact-info span{
    color:#b08d57;
    font-size:13px;
    font-weight:600;
    letter-spacing:2px;
}

.contact-info h2{
    font-size:52px;
    margin:15px 0 20px;
    line-height:1.1;
}

.contact-info p{
    color:#666;
    line-height:1.8;
}

.contact-data{
    margin-top:40px;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.contact-data h4{
    margin-bottom:8px;
    color:#111827;
}

.contact-form{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label{
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
    color:#333;
}

.form-group input,
.form-group textarea{

    width:100%;

    padding:18px;

    border:none;

    border-radius:16px;

    background:#ffffff;

    border:1px solid #ece7e0;

    font-family:inherit;
    font-size:15px;

    transition:.3s;
}

.form-group input:focus,
.form-group textarea:focus{

    outline:none;

    border-color:#b08d57;

    box-shadow:
    0 0 0 4px rgba(176,141,87,.15);

}

.full-width{
    grid-column:1 / -1;
}

.contact-form button{
    width:fit-content;
}

@media(max-width:992px){

    .contact-wrapper{
        grid-template-columns:1fr;
    }

    .contact-form{
        grid-template-columns:1fr;
    }

}