/* --- Base --- */
* { box-sizing: border-box; }
html, body { margin: 0; font-family: Arial, sans-serif; }

/* Opcional: ocultar barra pero mantener scroll */
/*
body::-webkit-scrollbar { display: none; }
body { scrollbar-width: none; }
*/

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header flotante/transparente con auto-ocultar --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;         /* transparente al inicio */
  color: #fff;
  padding: 14px 0;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

/* Ocultar header al bajar */
.site-header.hide {
  transform: translateY(-100%);
}

/* Fondo al hacer scroll para mejor contraste */
.site-header.scrolled {
  background: rgba(0,0,0,0.55);
  backdrop-filter: saturate(120%) blur(6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.site-header .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* --- Menú escritorio --- */
.menu-list {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.menu-list a {
  color: #fff;
  font-weight: 700;
}

/* --- Botón hamburguesa (oculto en desktop) --- */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.hamburger {
  position: relative;
  width: 20px;
  height: 2px;
  background: #fff;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fff;
}
.hamburger::before { top: -6px; }
.hamburger::after  { top:  6px; }

/* --- Hero e imágenes (sin espacio arriba) --- */
.hero { padding-top: 0; position: relative; }
.img-desktop, .img-mobile {
  display: block;
  width: 100%;
  height: auto;
}
.img-mobile { display: none; }

/* --- Contenido --- */
.content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px 60px;
  color: #222;
}

/* --- Footer estilo imagen 2 --- */
.site-footer {
  background: #3f3f3f;
  color: #fff;
  padding-top: 32px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.footer-col h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.9;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.footer-list .chev {
  margin-right: 8px;
  font-weight: 900;
}
.footer-copy {
  text-align: center;
  padding: 16px 24px 24px;
  font-weight: 800;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  /* Mostrar hamburguesa y colapsar menú */
  .menu-toggle { display: inline-flex; }

  nav .menu-list {
    display: none;
    position: absolute;
    top: 56px;             /* bajo el header */
    right: 16px;
    width: 240px;
    flex-direction: column;
    gap: 0;
    background: rgba(0,0,0,0.85);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  }
  nav .menu-list li { border-bottom: 1px solid rgba(255,255,255,0.12); }
  nav .menu-list li:last-child { border-bottom: 0; }
  nav .menu-list a { display: block; padding: 14px 16px; color: #fff; }
  nav .menu-list.show { display: flex; }

  /* Hero: imagen vertical en móvil */
  .img-desktop { display: none; }
  .img-mobile  { display: block; }

  /* Footer en una columna */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
