 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Inter", Arial, sans-serif;
      color: #222;
      background-color: #fff;
      line-height: 1.6;
      scroll-behavior: smooth;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      width: 100%;
      display: block;
    }

    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
      z-index: 10;
    }

    nav {
      max-width: 1100px;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
    }

    .logo {
      font-weight: bold;
      font-size: 1.2rem;
    }

    .logo .e_logo{
        font-size: 1.8rem;
    }

    .menu a {
      margin-left: 2rem;
      font-size: 0.95rem;
      font-weight: 500;
      color: #333;
      transition: color 0.3s;
    }

    .menu a:hover {
      color: #0077ff;
    }

    .banner {
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
    position: relative;
    overflow: hidden;
  }

    .banner h1 {
    font-size: 2.5rem;
    background: rgba(0,0,0,0.4);
    padding: 1rem 2rem;
    border-radius: 8px;
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards 0.5s;
    text-transform: uppercase;
    margin-bottom: 2rem;
  }


    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    section {
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.8s ease;
    }

    section.visible {
      opacity: 1;
      transform: translateY(0);
    }

    section#informes {
      max-width: 1100px;
      margin: 4rem auto;
      margin-bottom: 2rem;
      padding: 1rem;
    }

    #informes h2 {
      font-size: 1.9rem;
      margin-bottom: 1rem;
      text-align: center;
    }

    #informes p {
      max-width: 850px;
      margin: auto;
      font-size: 1.3rem;
      color: #555;
      text-align: justify;
    }

  /* =========================
   Breadcrumb
   ========================= */
#informes .breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #666;
}

#informes .breadcrumb a {
  color: #222;
  text-decoration: none;
  transition: opacity .2s ease;
}

#informes .breadcrumb a:hover {
  opacity: .7;
}

#informes .breadcrumb span {
  color: #999;
  font-weight: 600;
}

/* =========================
   Título principal
   ========================= */
#informes h1 {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* =========================
   Bloque pertenece a la ruta
   ========================= */
#informes .belongs-route {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #444;
}

#informes .belongs-route a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.25);
}

#informes .belongs-route a:hover {
  border-bottom-color: #111;
}

/* =========================
   Fecha y botón back
   ========================= */
#informes .portfolio-meta {
  max-width: 850px;
  margin: 2rem auto 1rem auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #666;
}

#informes .portfolio-meta .date {
  font-size: 1rem;
}

#informes .portfolio-meta .back-link {
  text-decoration: none;
  color: #222;
  font-size: 1.8rem;
  transition: transform .2s ease;
}

#informes .portfolio-meta .back-link:hover {
  transform: translateX(-3px);
}

/* =========================
   Prev / Ruta / Next
   ========================= */
#informes .route-nav {
  max-width: 850px;
  margin: 1.5rem auto 3rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

#informes .route-nav a {
  text-decoration: none;
  color: #222;
  transition: opacity .2s ease;
}

#informes .route-nav a:hover {
  opacity: .7;
}

#informes .route-nav .route {
  font-weight: 600;
}

#informes .route-nav .is-disabled{
  color:#aaa;
  cursor: default;
  user-select:none;
}


    section#galeria {
      max-width: 1200px;
      margin: 4rem auto;
      padding: 2rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 10px;
    }

    #galeria img {
      border-radius: 8px;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

    #galeria img:hover {
      transform: scale(1.03);
      opacity: 0.9;
    }

    section#contacto {
      max-width: 700px;
      margin: 5rem auto;
      padding: 2rem;
      text-align: center;
      background: #f9f9f9;
      border-radius: 10px;
    }

    #contacto h2 {
      margin-bottom: 1.5rem;
      font-size: 1.6rem;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    input, textarea {
      padding: 0.8rem;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-family: inherit;
      font-size: 1rem;
    }

    button {
      padding: 0.8rem;
      background: #0077ff;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s;
      font-size: 1.3rem;
    }

    button:hover {
      background: #005fcc;
    }

    footer {
      background: #111;
      color: #fff;
      text-align: center;
      padding: 2rem 1rem;
      font-size: 0.9rem;
    }

    .redes {
      margin-top: 1rem;
    }

    .redes a {
      margin: 0 10px;
      color: #fff;
      font-size: 1.2rem;
      transition: opacity 0.3s;
    }

    .redes a:hover {
      opacity: 0.7;
    }

    @media (max-width: 768px) {
      .menu a {
        margin-left: 1rem;
      }

      .banner h1 {
        font-size: 2rem;
      }
    }
    
 /* ====== ESTILOS LIGHTBOX ====== */
    .lightbox-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.9);
      justify-content: center;
      align-items: center;
      z-index: 999;
      flex-direction: column;
      transition: opacity 0.3s ease;
    }

    .lightbox-img {
      max-width: 90%;
      max-height: 80vh;
      border-radius: 8px;
      box-shadow: 0 0 20px rgba(0,0,0,0.5);
      object-fit: contain;
    }

    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 2.2rem;
      color: #fff;
      cursor: pointer;
      transition: 0.3s;
    }

    .lightbox-close:hover {
      color: #0077ff;
    }

    .lightbox-nav {
      position: absolute;
      width: 100%;
      top: 50%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      padding: 0 30px;
    }

    .lightbox-nav .prev, 
    .lightbox-nav .next {
      font-size: 2.5rem;
      color: #fff;
      cursor: pointer;
      transition: color 0.3s;
      user-select: none;
    }

    .lightbox-nav .prev:hover,
    .lightbox-nav .next:hover {
      color: #0077ff;
    }

    @media (max-width: 768px) {
      .lightbox-img {
        max-width: 95%;
        max-height: 70vh;
      }
      .lightbox-nav .prev, 
      .lightbox-nav .next {
        font-size: 2rem;
      }
    }

/* Formulario */
 #formStatus {
  margin-top: 10px;
  font-size: 13px;
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  border-radius: 8px;
  padding: 10px;
}

/* Animaciones de estado */
#formStatus.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  opacity: 1;
}

#formStatus.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  opacity: 1;
}

#formStatus.sending {
  display: block;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #cbd5e1;
  opacity: 1;
}

/* Suaviza transición al ocultarse */
.fade-out {
  opacity: 0 !important;
  transition: opacity 0.8s ease;
}

/* Carrsuel Frases * /
/* ====== Carrusel integrado ====== */
  .introduction {
    color: #fff;
    text-align: center;
    padding: 0;
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 2;
  }

  .slider1 {
    position: relative;
    width: 100%;
  }

  .mask1 {
    overflow: hidden;
    height: 140px;
    position: relative;
  }

  .slide1 {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    background: rgba(0,0,0,0.3);
    line-height: 1.6;
    font-style: italic;
    padding: 1rem 2rem;
    border-radius: 6px;
     display: inline-block;
  }

  .slide1 h2 {
    font-size: 1.5rem;
  }

  .slide1 p {
    font-size: 1.3rem;
    text-align: end;
  }

  /* Animación automática */
  @keyframes slideAnimation {
    0%, 33% { opacity: 1; transform: translateY(0); }
    33.1%, 100% { opacity: 0; transform: translateY(30px); }
  }

  .firstanimation { animation: slideAnimation 15s infinite; animation-delay: 0s; }
  .secondanimation { animation: slideAnimation 15s infinite; animation-delay: 5s; }
  .thirdanimation { animation: slideAnimation 15s infinite; animation-delay: 10s; }

  /* Responsivo */
  @media (max-width: 768px) {
    .slide1 p {
      font-size: 1rem;
      padding: 1rem;
    }
    .mask1 { height: auto; }
  }

  @media (max-width: 656px){
    .introduction{
      display: none;
    }
  }

  /*Galeria home */


  #galeria .galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
  }

  #galeria img {
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s ease;
    display: block;
  }

  #galeria .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: opacity 0.4s ease;
    text-align: center;
    padding: 1rem;
  }

  #galeria .galeria-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
  }

  #galeria .galeria-item:hover .overlay {
    opacity: 1;
  }

  /* Responsivo */
  @media (max-width: 768px) {
    #galeria {
      padding: 1rem;
      gap: 6px;
    }
    #galeria .overlay {
      font-size: 0.95rem;
      padding: 0.5rem;
    }
  }