/* ===== CORRECCIÓN PARA HEADER ===== */
    body {
      padding-top: 100px; /* Compensación para header fijo */
    }
    
    .header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
    }
    
    /* ===== MEJORAS PARA PROYECTOS ===== */
    .projects-hero {
      background: linear-gradient(rgba(45, 62, 80, 0.9), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') center/cover;
      color: white;
      padding: 120px 0 50px; /* Ajustado para compensar header */
      text-align: center;
      position: relative;
    }
    
    .projects-hero::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100px;
      background: linear-gradient(to top, white, transparent);
      z-index: 1;
    }
    
    .projects-hero .container {
      position: relative;
      z-index: 2;
    }
    
    .section-title {
      position: relative;
      margin-bottom: 30px; /* Reducido el espacio */
      text-align: center;
    }
    
    .section-title h2 {
      font-size: 36px;
      text-transform: uppercase;
      margin-bottom: 15px;
      position: relative;
      display: inline-block;
      padding-bottom: 15px;
    }
    
    .section-title h2::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background-color: var(--primary);
    }
    
    .gallery-filter {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      margin-bottom: 20px; /* Reducido el espacio */
    }
    
    .gallery-filter-btn {
      transition: all 0.3s ease;
      border: 2px solid var(--primary);
      border-radius: 50px;
      padding: 8px 20px;
      font-weight: 600;
      text-transform: uppercase;
      font-size: 14px;
      background: white;
    }
    
    .gallery-filter-btn:hover {
      background: rgba(242, 101, 34, 0.1);
    }
    
    .gallery-filter-btn.active {
      background: var(--primary);
      color: white !important;
      transform: translateY(-3px);
      box-shadow: 0 4px 10px rgba(242, 101, 34, 0.3);
    }
    
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 25px;
      margin-top: 30px; /* Añadido espacio superior */
    }
    
    .gallery-item {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      height: 350px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.1);
      transition: all 0.4s ease;
    }
    
    .gallery-item:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
    
    .gallery-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    
    .gallery-item:hover .gallery-img {
      transform: scale(1.05);
    }
    
    .gallery-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to top, rgba(45, 62, 80, 0.9), transparent 70%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 20px;
      opacity: 1;
      transition: all 0.4s ease;
    }
    
    .gallery-item:hover .gallery-overlay {
      background: linear-gradient(to top, rgba(45, 62, 80, 0.95), transparent 60%);
    }
    
    .gallery-title {
      color: white;
      font-size: 20px;
      margin-bottom: 8px;
      font-weight: 700;
      transition: all 0.3s ease;
    }
    
    .gallery-item:hover .gallery-title {
      transform: translateY(-5px);
    }
    
    .gallery-category {
      color: var(--primary);
      font-weight: 600;
      margin-bottom: 15px;
      display: inline-block;
      background: rgba(255,255,255,0.2);
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 13px;
    }
    
    .project-types {
      background: linear-gradient(to bottom, #f8f9fa, white);
      padding: 80px 0;
    }
    
    .project-type {
      background: white;
      border-radius: 12px;
      padding: 30px 25px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.08);
      transition: all 0.4s ease;
      height: 100%;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    
    .project-type::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    }
    
    .project-type:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }
    
    .project-type-icon {
      width: 80px;
      height: 80px;
      background: rgba(242, 101, 34, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      transition: all 0.4s ease;
    }
    
    .project-type:hover .project-type-icon {
      background: var(--primary);
      transform: scale(1.1);
    }
    
    .project-type-icon i {
      font-size: 30px;
      color: var(--primary);
      transition: all 0.4s ease;
    }
    
    .project-type:hover .project-type-icon i {
      color: white;
    }
    
    .project-type h3 {
      margin-bottom: 15px;
      font-size: 20px;
    }
    
    .pagination .page-item .page-link {
      color: var(--primary);
      border: 2px solid #e9ecef;
      margin: 0 5px;
      border-radius: 8px;
      min-width: 45px;
      height: 45px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    
    .pagination .page-item.active .page-link {
      background: var(--primary);
      border-color: var(--primary);
      color: white;
    }
    
    .pagination .page-item .page-link:hover {
      background: rgba(242, 101, 34, 0.1);
      border-color: var(--primary);
    }
    
    /* Animaciones */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .gallery-item, .project-type {
      animation: fadeInUp 0.6s ease-out;
      animation-fill-mode: both;
    }
    
    /* Responsive */
    @media (max-width: 992px) {
      .gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      }
      
      .projects-hero {
        padding: 100px 0 40px;
      }
      
      .gallery-filter {
        margin-bottom: 15px;
      }
    }
    
    @media (max-width: 768px) {
      .gallery {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 20px auto 0;
      }
      
      .gallery-filter {
        gap: 8px;
      }
      
      .gallery-filter-btn {
        padding: 6px 15px;
        font-size: 13px;
      }
      
      body {
        padding-top: 90px;
      }
    }