body{
  margin: 0;
  padding: 0;               /* importante para que en mobile no se rompa el ancho */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: #ffffff;
  color: #111;
  overflow-x: hidden;       /* blindaje anti scroll horizontal */
}

h1{
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

/* ===== HEADER ===== */

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;            /* CLAVE: menú clickeable siempre */
}

.site-title{
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
  color: #111;
}

.site-nav a{
  margin-left: 14px;
  text-decoration: none;
  color: #111;
  opacity: 0.9;
}

.site-nav a:hover{
  text-decoration: underline;
}

/* ===== HOME HERO ===== */

.hero{
  height: 100vh;
  padding-top: 70px;        /* deja lugar al header fijo */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 0;               /* queda por debajo del header */
}

.hero-video{
  display: block;
}

/* Desktop: mostrar solo horizontal */
.hero-video--desktop{
  width: 100%;
  max-width: 1200px;
  height: auto;
}

/* Mobile: oculto por defecto */
.hero-video--mobile{
  display: none;
}

/* Mobile */
@media (max-width: 768px){
  .site-header{
    padding: 18px 18px;
  }

  .hero-video--desktop{
    display: none;
  }

  .hero-video--mobile{
    display: block;
    width: 100vw;
    height: calc(100vh - 70px);
    object-fit: cover;
  }
}

/* ===== páginas internas ===== */

.page{
  padding-top: 120px; /* espacio para el header fijo */
}

.page-inner{
  max-width: 720px;
  padding: 0 40px;
}

.page-title{
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 30px 0;
}

.about-photo{
  max-width: 260px;
  width: 100%;
  margin: 0 0 30px 0;
  display: block;
}

.page a{
  color: #111;
  text-decoration: underline;
}

.page a:hover{
  opacity: 0.7;
}

.works-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.works-list li{
  margin: 0 0 12px 0;
}

.works-list a{
  text-decoration: none;
  color: #111;
}

.works-list a:hover{
  text-decoration: underline;
}

.gallery{
  margin-top: 40px;
}

.gallery img{
  width: 100%;
  max-width: 100%;
  margin: 0 0 30px 0;
  display: block;
}

.video-block{
  margin: 60px 0 0 0;
}

.video-block video{
  width: 100%;
  max-width: 100%;
  display: block;
}

/* ===== Inventarios (solo esta página) ===== */

.inventarios .video-block{
  margin: 40px 0;
}

.inventarios .video-block video{
  width: 100%;
  display: block;
  margin: 0;
}

.inventarios .gallery img{
  width: 100%;
  display: block;
  margin: 0 0 30px 0;
}

/* Mobile general padding páginas */
@media (max-width: 768px){
  .page-inner{
    padding: 0 18px;
  }
}
