:root {
  --verde-profesional: #045C4B;
  --verde-agua: #07B09B;
  --verde-claro: #75B214;
  --amarillo-verde: #33b14c;
  --tierra: #A67C52;
  --blanco: #ffffff;
  --gris-fondo: #f5f9f6;
  --negro: #333333;
}
/* Estilos para la página de Proyectos */
.projects-hero {
  background: linear-gradient(rgba(4, 92, 75, 0.8), rgba(4, 92, 75, 0.8)), url('/assets/images/projects-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 150px 0;
  text-align: center;
  position: relative;
  color: var(--blanco);
}

.projects-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    color: var(--verde-profesional);

}

.projects-filter {
  padding: 30px 0;
  background-color: var(--blanco);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  top: 0px;
  z-index: 90;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 25px;
  border: 2px solid var(--verde-profesional);
  background: transparent;
  color: var(--verde-profesional);
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--verde-profesional);
  color: var(--blanco);
}

.projects-gallery {
  padding: 80px 0;
  background-color: var(--gris-fondo);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--blanco);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(4, 92, 75, 0.8));
  color: var(--blanco);
}

.project-overlay h3 {
  margin-bottom: 5px;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  color: var(--verde-profesional);
  margin-bottom: 10px;
}

.project-stats {
  display: flex;
  gap: 15px;
  margin: 15px 0;
  font-size: 0.9rem;
  color: #555;
}

.project-stats i {
  margin-right: 5px;
  color: var(--verde-agua);
}

.project-link {
  color: var(--verde-profesional);
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: var(--verde-agua);
}

.project-link i {
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(5px);
}

.projects-stats {
  padding: 80px 0;
  background-color: var(--blanco);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 30px;
  background: var(--gris-fondo);
  border-radius: 8px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--verde-profesional);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.testimonials-section {
  padding: 80px 0;
  background-color: var(--gris-fondo);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: var(--blanco);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
}

.testimonial-content i {
  color: var(--amarillo-verde);
  font-size: 2rem;
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: #555;
  padding: 10px 0 20px 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--gris-fondo);
  padding-top: 20px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: var(--verde-profesional);
  margin-bottom: 5px;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .services-hero h1, .projects-hero h1 {
    font-size: 2.2rem;
  }
  
  .categories-grid, .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .services-hero, .projects-hero {
    padding: 100px 0;
  }
  
  .services-hero h1, .projects-hero h1 {
    font-size: 1.8rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .filter-options {
    justify-content: flex-start;
  }
}

@media (max-width: 992px) {
  .projects-hero h1 {
    font-size: 2.5rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .projects-hero {
    padding: 100px 0;
  }
  
  .filter-options {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
  
  .filter-btn {
    flex-shrink: 0;
  }
  
  .project-card {
    margin-bottom: 30px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .projects-hero h1 {
    font-size: 1.8rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .stat-card {
    padding: 20px;
  }
  
  .project-image {
    height: 200px;
  }
}