/* CO-ZONE brand layer
   Centraliza el logo gráfico y ofrece estilos mínimos de respaldo.
   Archivo de logo común: ../img/logo.png desde esta hoja CSS. */

:where(.site-header-shell, .site-footer-shell) {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

:where(.site-header-shell) { padding-top: 22px; }
:where(.site-footer-shell) { margin-top: 20px; padding-bottom: 18px; }

:where(.site-header-bar, .site-footer-bar) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--paper, rgba(255, 252, 247, 0.90));
  border: 1px solid var(--line, rgba(120, 95, 76, 0.18));
  border-radius: 24px;
  box-shadow: var(--shadow, 0 18px 45px rgba(71, 48, 31, 0.10));
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--ink, #1c1917);
  text-decoration: none;
  line-height: 1;
}

.site-logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: 190px;
  object-fit: contain;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.site-brand:hover .site-logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 5px 10px rgba(71, 48, 31, 0.14));
}

.site-footer-brand {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.site-logo--footer {
  height: 26px;
  max-width: 150px;
}

:where(.site-nav, .site-footer-links) {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

:where(.site-nav a, .site-footer-links a) {
  color: var(--ink, #1c1917);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

:where(.site-nav a:hover, .site-footer-links a:hover) {
  color: var(--accent-2, #2d6a73);
  border-color: var(--accent-2, #2d6a73);
}

@media (max-width: 700px) {
  .site-logo { height: 30px; max-width: 160px; }
  .site-logo--footer { height: 24px; }
  :where(.site-header-bar, .site-footer-bar) {
    flex-direction: column;
    align-items: flex-start;
  }
}
