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

html { background: #f4f5f7; }
body {
  font-family: 'Inter', sans-serif;
  background: transparent;
  color: #222;
  line-height: 1.7;
  position: relative;
  min-height: 100vh;
}

/* FONDO PARALLAX */
.parallax-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('../Images/logo-ecf.jpg');
  background-image: image-set(url('../Images/logo-ecf.webp') type('image/webp'), url('../Images/logo-ecf.jpg') type('image/jpeg'));
  background-size: min(60%, 650px) auto;
  background-repeat: no-repeat;
  background-position: center 110px;
  opacity: 0.50;
  filter: contrast(1.05) brightness(1.05);
  z-index: -1; will-change: transform;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
body.parallax-off .parallax-bg { opacity: 0; }

/* HEADER */
.header {
  background: #0A1931;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header .title { font-weight: 700; font-family: 'Libre Baskerville', serif; font-size: 1.5rem; }
.slogan { font-style: italic; font-weight: 400; opacity: 0.8; font-size: 0.9rem; margin-left: 1rem; }
.nav ul { list-style: none; display: flex; gap: 1.8rem; }
.nav a { color: white; text-decoration: none; font-weight: 600; font-size: 0.92rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: #C5A880; transition: width 0.25s; }
.nav a:hover::after { width: 100%; }
.nav a:hover { color: #C5A880; }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: transparent; border: none; cursor: pointer; }
.hamburger span { display: block; height: 3px; width: 100%; background: white; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

main { padding: 0 1.5rem 3rem; }

.content_qs {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2.5rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  border: 1px solid rgba(255,255,255,0.6);
}
.content_qs h1, .content_qs h2 { font-family: 'Libre Baskerville', serif; font-size: 2.1rem; margin-bottom: 1.5rem; border-left: 5px solid #C5A880; padding-left: 1rem; color: #0A1931; }
.content_qs p { margin-bottom: 1.2rem; text-align: justify; font-size: 1.05rem; }
.content_qs p a { color: #0A1931; font-weight: 600; }

/* LISTA DE PROYECTOS CON MALVINAS COMO VIÑETA */
.lista-proyectos {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}

.lista-proyectos li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: justify;
  font-size: 1.02rem;
}

.lista-proyectos li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 22px;
  height: 22px;
  background-image: url('../Images/malvinas.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.cta-text { margin-top: 1.8rem; }

/* LOGO ESTÁTICO FINAL */
.logo-estatico {
  background: transparent;
  padding: 2rem 1.5rem 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
}
.logo-estatico img {
  width: min(65%, 750px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.12));
}

footer { background: #0A1931; color: rgba(255,255,255,0.7); text-align: center; padding: 1.6rem; font-size: 0.85rem; }

@media (max-width: 820px) {
  .header { padding: 0.9rem 1.1rem; }
  .hamburger { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #0A1931; border-top: 1px solid rgba(255,255,255,0.1); max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-6px); transition: max-height 0.35s, opacity 0.25s, transform 0.25s; pointer-events: none; }
  .nav.active { max-height: 280px; opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav ul { flex-direction: column; gap: 0; padding: 0.5rem 0 1rem; }
  .nav a { display: block; padding: 0.9rem 1.2rem; }
  .content_qs { margin: 1.5rem auto; padding: 1.6rem 1.2rem; }
  .parallax-bg { background-size: min(84%, 480px) auto; background-position: center 90px; opacity: 0.35; }
  .logo-estatico { min-height: 60vh; padding: 2rem 1rem 3rem; }
  .logo-estatico img { width: 92%; }
  .lista-proyectos li { padding-left: 32px; }
  .lista-proyectos li::before { width: 20px; height: 20px; }
}