body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9fbfc;
    color: #222;
  }

  .logo {
    height: 80px;
  }
  
  header {
    background-color: #FAFAFA;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
  }
  
  nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    /*color: #005f99;*/
    color: #183B71;
    font-weight: 500;
  }


  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em;
    background-color: #FAFAFA;
    color: #183B71;
    position: relative; /* Esto es clave para que el menú use top correctamente */
    z-index: 10;
  }
  
  .logo {
    font-weight: bold;
    font-size: 1.2em;
  }
  
  .nav-links {
    display: flex;
    gap: 1em;
  }
  
  .nav-links a {
    margin-left: 1.5rem;
    text-decoration: none;
    /*color: #005f99;*/
    color: #183B71;
    font-weight: 500;
  }
  
  .hamburger {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      right: 0;
      background-color: #FAFAFA;
      width: 100%;
      text-align: center;
      padding: 1em 0;
      z-index: 999;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .hamburger {
      display: block;
    }
  }
  
  .hero {
    position: relative;
    background-image: url('img/DSCM_2352.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem;
    text-align: center;
  }
  
  .hero-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    display: inline-block;
    padding: 2rem;
    border-radius: 12px;
    color: #FAFAFA;
  }
  
  .hero button {
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: none;
    background-color: #007acc;
    color:  #FAFAFA;
    border-radius: 8px;
    cursor: pointer;
  }
  
  section {
    padding: 2rem 1.5rem;
    max-width: 1000px;
    margin: auto;
  }
  
  .services, .cases {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  /* .card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
    */

  .card {
    background: #FAFAFA;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: #00000014;
    border-left: 4px solid #007acc;
  }
  
  .card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
  }
  
  .contact-form button {
    margin-top: 1rem;
    background-color: #007acc;
    color: #FAFAFA;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
  }
  
  footer {
    background-color: #f1f1f1;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: #555;
  }
  
  .social-icons img {
    height: 24px;
    margin: 0 0.5rem;
  }

  #top-bar-whatsapp {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #3B82F6;;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 16px;
    font-family: 'Segoe UI', sans-serif;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: fadeInDown 0.4s ease-out;
  }
  
  #top-bar-whatsapp a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  
  .wa-icon {
    width: 20px;
    height: 20px;
  }
  
  body {
    padding-top: 40px;
  }
  
  @media (max-width: 600px) {
    #top-bar-whatsapp {
      font-size: 14px;
      padding: 6px 0;
    }
  
    .wa-icon {
      width: 18px;
      height: 18px;
    }
  }
  
  /* Animación suave de entrada */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .archivo-info-box {
    margin: 1rem auto;
    padding: 1.25rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    max-width: 500px;
    text-align: center;
  }
  
  .archivo-info-box p {
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  
  .archivo-botones {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
  }
  
  .archivo-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
  }
  
  .archivo-btn img {
    width: 24px;
    height: 24px;
  }
  
  .archivo-btn.whatsapp {
    background-color: #25D366;
  }
  
  .archivo-btn.whatsapp:hover {
    background-color: #1ebe5b;
  }
  
  .archivo-btn.email {
    background-color: #007BFF;
  }
  
  .archivo-btn.email:hover {
    background-color: #0069d9;
  }
  
  /* 🔁 Responsive: botones en fila en pantallas más grandes */
  @media (min-width: 600px) {
    .archivo-botones {
      flex-direction: row;
      justify-content: center;
    }
  }
  