/* help.availroom.com — cabecera (68 px escritorio, 56 px móvil), cajón móvil de 316 px y pie. Tokens en site.css. */
/* Cabecera */
.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.header-spacer {
  flex: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  display: block;
  height: 28px;
  width: auto;
}

.brand-suffix {
  padding-left: 12px;
  border-left: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.lang-switch ul {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 3px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.lang-switch a,
.lang-switch span {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch span {
  background: var(--blue);
  color: #fff;
}

.header-enter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background-color: var(--blue);
  background-image: linear-gradient(to bottom, var(--blue), var(--blue-2));
  color: #fff;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.header-enter:hover {
  background-image: linear-gradient(to bottom, var(--dark-blue), var(--blue));
  color: #fff;
}

.enter-short,
.header-search-link,
.header-menu {
  display: none;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
}

.icon-button:hover {
  color: var(--blue);
}

/* Cajón móvil (316 px). Sin JavaScript se abre con :target (#cajon) y se cierra yendo a #contenido. */
.drawer {
  display: none;
}

.drawer-veil {
  position: absolute;
  inset: 0;
  background: rgba(24, 16, 70, 0.5);
}

.drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 316px;
  max-width: 88vw;
  background: #fff;
  box-shadow: 20px 0 40px -20px rgba(0, 0, 0, 0.4);
}

.drawer-head {
  display: flex;
  align-items: center;
  flex: none;
  height: 56px;
  padding: 0 8px 0 18px;
  border-bottom: 1px solid var(--border);
}

.drawer-title {
  flex: 1;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 10px 24px;
}

.drawer-body .eyebrow {
  padding: 0 10px 8px;
  margin: 0;
}

.drawer-links {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.drawer-links a,
.drawer-current {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 10px;
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
}

.drawer-links a:hover {
  background: var(--soft);
}

.drawer-links a[aria-current],
.drawer-current {
  background: var(--tint);
  color: var(--dark-blue);
  font-weight: 600;
}

/* Pie */
.site-footer {
  margin-top: 80px;
  padding: 48px 0 32px;
  background: var(--dark-blue);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin: 0 0 8px;
}

.footer-brand img {
  display: block;
  height: 28px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  max-width: 280px;
}

.footer-heading {
  margin: 0 0 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer :focus-visible {
  outline-color: #fff;
}

.site-footer address {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.footer-note {
  margin-left: auto;
}

/* Móvil: cabecera de 56 px, cajón, objetivos táctiles de 44 px */
@media (max-width: 768px) {
  .header-inner {
    height: 56px;
    gap: 4px;
    padding-right: 8px;
  }

  .brand img {
    height: 22px;
  }

  .brand-suffix {
    padding-left: 8px;
    font-size: 14px;
  }

  .search-header,
  .header-lang,
  .enter-long,
  .header-enter .icon {
    display: none;
  }

  .enter-short {
    display: inline;
  }

  .header-enter {
    height: 44px;
    padding: 0 8px;
    background: none;
    color: var(--blue);
    font-size: 14px;
  }

  .header-enter:hover {
    background: none;
    color: var(--dark-blue);
  }

  .header-search-link,
  .header-menu {
    display: inline-flex;
  }

  .drawer:target,
  .drawer.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
  }

  .site-footer {
    margin-top: 48px;
    padding: 32px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-note {
    flex-basis: 100%;
    margin-left: 0;
  }

  .site-footer li a {
    min-height: 32px;
  }
}
