
/* ===== Ajuste header por barra superior ===== */

.header {
  top: 0px !important;
}



/* ===== SECCIÓN PROYECTOS GRID ===== */

.proyectos-grid-section {
  padding: 120px 8%;
  background-color: #f5f3ee;
}

/* Título */

/* ===== tamaño título TODOS LOS PROYECTOS ===== */


/* ===== TÍTULO PROYECTOS — ESTILO SUAVE ===== */

#proyectos .proyectos-header h2 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #181818;
  margin-bottom: 30px;
}


/* Grid */

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  
}

/* Card */

.proyecto-card {
  text-decoration: none;
  color: #111;
  display: block;
}

/* Imagen */

.proyecto-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

/* Hover elegante */

.proyecto-card:hover img {
  transform: scale(1.04);
}

/* Título */

.proyecto-card h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  margin-top: 14px;
  letter-spacing: .5px;
}

/* ===== TABLET ===== */

@media (max-width: 1100px) {
  .proyectos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== MÓVIL — 2 COLUMNAS ===== */

@media (max-width: 768px) {

  .proyectos-grid-section {
    padding: 80px 5%;
  }

  .proyectos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .proyecto-card img {
    height: 200px;
  }

  .proyecto-card h3 {
    font-size: 13px;
  }

}
/* ===== FIX GRID PROYECTOS MOBILE ===== */

@media screen and (max-width: 768px) {

  .proyectos-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px;
  }

  .proyecto-card {
    width: 100% !important;
  }

}





/* ===== FIX TAMAÑO DE LOGO PARA PAGINA PROYECTOS ESPECIFICAMENTE ===== */

.logo img {
  height: 60px !important;
  width: auto;
  object-fit: contain;
}
