/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-padding-top: 160px;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Rubik', sans-serif;
    background: #f4f4f4;
    color: #333;
  }
  
  /* Header */
  header {
    position: fixed;
    width: 100%;
    top: 0;
    background: #222;
    color: white;
    padding: 20px 0;
    z-index: 999;
    transition: all 0.3s ease;
  }
  
  .header-content {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo-container img {
    height: 50px;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover {
    color: #ff6600;
  }
  
  nav ul li a::after {
    content: '';
    display: block;
    height: 2px;
    background: #ff6600;
    width: 0%;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -5px;
    left: 0;
  }
  
  nav ul li a:hover::after {
    width: 100%;
  }
  
  /* Sticky header shrink */
  #main-header.shrink {
    padding: 10px 0;
    background-color: #111;
  }
  
  #main-header.shrink h1 {
    font-size: 1.5em;
  }
  
  /* Language switch */
  .language-switcher {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 0.95em;
    z-index: 1001;
  }
  
  .language-switcher a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .language-switcher a:hover {
    color: #ff6600;
  }
  
  /* Hero actualizado */
  .hero {
    padding: 120px 20px 60px;
    background: url('assets/images/fondo-industrial.jpg') center center/cover no-repeat;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  
  .hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: auto;
  }
  
  .hero-content h2 {
    font-size: 3em;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 3px solid white;
    display: inline-block;
    padding-bottom: 10px;
  }
  
  .hero-content p {
    font-size: 1.2em;
    color: white;
  }
  
  /* Secciones */
  section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    animation: fadeInUp 0.9s ease forwards;
    opacity: 0;
    transform: translateY(30px);
  }
  
  section[data-aos] {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
  }
  
  section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    text-align: left;
    color: black;
    position: relative;
    animation: fadeInUp 1s ease both;
  }
  
  /* Trabajos */
  .trabajos-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .trabajo-item img,
  .trabajo-item video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .trabajo-item img:hover,
  .trabajo-item video:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }
  
  /* Contacto */
  .contact-section {
    position: relative;
    color: white;
    background: url('assets/images/fondo-industrial.jpg') center center/cover no-repeat;
    z-index: 0;
  }
  
  .contact-section .overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .contact-section h2,
  .contact-section p,
  .contact-section label,
  .contact-section input,
  .contact-section textarea {
    color: white;
    position: relative;
    z-index: 2;
  }
  
  form {
    max-width: 600px;
    margin: auto;
    position: relative;
    z-index: 2;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  input,
  textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-size: 1em;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    transition: all 0.3s ease;
  }
  
  input:hover,
  textarea:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.6);
    transform: scale(1.03);
  }
  
  /* Botón animado */
  .btn-animado {
    background-color: #ff6600;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .btn-animado::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
  }
  
  .btn-animado:hover::after {
    left: 100%;
  }
  
  .btn-animado:hover {
    background-color: #e65c00;
    transform: scale(1.05);
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: white;
    font-size: 0.9em;
  }
  
  /* Animaciones */
  @keyframes fadeInUp {
    from {
      transform: translateY(30px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Responsive */
  .menu-toggle {
    display: none;
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      background: none;
      border: none;
      font-size: 2rem;
      color: white;
      cursor: pointer;
    }
  
    nav {
      display: none;
      width: 100%;
    }
  
    nav.show {
      display: block;
    }
  
    nav ul {
      flex-direction: column;
      align-items: center;
      gap: 15px;
      margin-top: 10px;
    }
  
    .header-content {
      flex-direction: column;
    }
  
    .language-switcher {
      position: static;
      margin-top: 10px;
    }
	
	.btn-container {
  text-align: center;
  margin-top: 40px;
}

.btn-modern {
  background: linear-gradient(135deg, #1a2b57, #2d4b7b);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-modern:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0d1a36, #1a2b57);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

 body {
      font-family: 'Rubik', sans-serif;
      background-color: #f6f9fc;
      margin: 0;
      padding: 0;
    }
    header, footer {
      background-color: #1a2b57;
      color: white;
      padding: 1rem;
      text-align: center;
    }
    main {
      padding: 20px;
    }
    .galeria-publica {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 20px;
      margin-top: 30px;
    }
    .galeria-item {
      background: white;
      padding: 10px;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
      text-align: center;
    }
    .galeria-item:hover {
      transform: scale(1.03);
    }
    .galeria-item img, .galeria-item video {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 8px;
      cursor: pointer;
    }
    .descripcion {
      margin-top: 8px;
      font-size: 14px;
      color: #555;
    }
    #modal {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.8);
      justify-content: center;
      align-items: center;
    }
    #modal img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 10px;
    }
    #modal span {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 30px;
      color: white;
      cursor: pointer;
    }

    .btn-container {
      text-align: center;
      margin-top: 40px;
    }

    .btn-modern {
      background: linear-gradient(135deg, #1a2b57, #2d4b7b);
      color: #fff;
      padding: 14px 28px;
      border-radius: 50px;
      font-size: 16px;
      font-weight: 600;
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      transition: all 0.3s ease;
    }

    .btn-modern:hover {
      transform: translateY(-2px);
      background: linear-gradient(135deg, #0d1a36, #1a2b57);
      box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  }
  .galeria-publica {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      padding: 20px;
      justify-content: center;
    }

    .galeria-item {
      background: white;
      border-radius: 18px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      text-align: center;
    }

    .galeria-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }

    .galeria-item img,
    .galeria-item video {
      width: 100%;
      height: 220px;
      object-fit: cover;
      border-bottom: 1px solid #eee;
      cursor: pointer;
    }

    .descripcion {
      padding: 12px 16px;
      font-size: 15px;
      color: #333;
      font-weight: 400;
      min-height: 60px;
      background: #fafafa;
      width: 100%;
      box-sizing: border-box;
    }

    .btn-container {
      text-align: center;
      margin-top: 40px;
    }

    .btn-modern {
      background: linear-gradient(135deg, #1a2b57, #2d4b7b);
      color: #fff;
      padding: 14px 28px;
      border-radius: 50px;
      font-size: 16px;
      font-weight: 600;
      text-decoration: none;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      transition: all 0.3s ease;
    }

    .btn-modern:hover {
      transform: translateY(-2px);
      background: linear-gradient(135deg, #0d1a36, #1a2b57);
      box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    }

    /* Modal nuevo */
    .modal-overlay {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.8);
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(4px);
      animation: fadeIn 0.3s ease;
    }

    .modal-overlay.show {
      display: flex;
    }

    .modal-content {
      position: relative;
      animation: scaleIn 0.3s ease;
    }

    .modal-content img,
    .modal-content video {
      max-width: 90vw;
      max-height: 90vh;
      border-radius: 10px;
    }

    .modal-content .close-btn {
      position: absolute;
      top: -10px;
      right: -10px;
      font-size: 32px;
      color: white;
      cursor: pointer;
      font-weight: bold;
    }

    @keyframes scaleIn {
      from { transform: scale(0.8); opacity: 0; }
      to   { transform: scale(1); opacity: 1; }
    }

    @keyframes fadeIn {
      from { background: rgba(0, 0, 0, 0); }
      to   { background: rgba(0, 0, 0, 0.8); }
    }
  }
  