/* La app concentra todas sus secciones en el menú de la cabecera. */
.header #main-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .25rem 1.5rem;
  max-height: 65vh;
  max-height: 65dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem max(1.25rem, calc((100% - 70rem) / 2));
  background: white;
  box-shadow: 0 .6rem 1rem #0002;
  font-size: 1rem;
}
.header #main-nav.open { display: grid; }
.header #main-nav a { display: flex; align-items: center; min-height: 44px; }
.header #main-nav [hidden], .app-install[hidden], .app-install [hidden] { display: none; }
.header .menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 12px; }
.header .menu-toggle span { width: 24px; height: 2px; background: var(--primary); }

.app-install summary { cursor: pointer; font-weight: 700; padding: .5rem 0; }
.app-install a { color: #075957; text-decoration: underline; }
.app-install{padding:1rem 0}
.app-install p{margin:.65rem 0}
.app-install button{padding:.6rem 1rem;background:#075957;color:white;border:0;border-radius:6px;cursor:pointer}
@media (max-width: 620px) { .app-install p { line-height: 1.6; } }
