/* Navegación pública unificada de MenuDigital. */
.md-site-header {
  --md-green: #1b4332;
  --md-green-dark: #123126;
  --md-cream: #fffdf5;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--md-cream) 96%, white);
  border-bottom: 1px solid rgba(27, 67, 50, .10);
  box-shadow: 0 1px 8px rgba(20, 49, 38, .04);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.md-site-header *, .md-site-header *::before, .md-site-header *::after { box-sizing: border-box; }
.md-site-header__inner { max-width: 1240px; min-height: 64px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 26px; }
.md-site-header__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--md-green); text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 700; white-space: nowrap; }
.md-site-header__mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, #2d6a4f, #1b4332); color: #fff; font-family: system-ui, sans-serif; font-size: 18px; }
.md-site-header__nav { margin-left: auto; }
.md-site-header__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 25px); margin: 0; padding: 0; list-style: none; }
.md-site-header__links a, .md-site-header__more summary { color: #29342f; text-decoration: none; font-size: .875rem; font-weight: 500; white-space: nowrap; cursor: pointer; }
.md-site-header__links a:hover, .md-site-header__more[open] summary { color: var(--md-green); }
.md-site-header__more { position: relative; }
.md-site-header__more summary { list-style: none; }
.md-site-header__more summary::-webkit-details-marker { display: none; }
.md-site-header__more summary::after { content: "⌄"; margin-left: 4px; font-size: .85em; }
.md-site-header__more-menu { position: absolute; right: 0; top: calc(100% + 15px); min-width: 218px; padding: 8px; background: #fff; border: 1px solid #e3e9e4; border-radius: 12px; box-shadow: 0 14px 30px rgba(14, 45, 33, .14); }
.md-site-header__more-menu a { display: block; padding: 9px 10px; border-radius: 8px; }
.md-site-header__more-menu a:hover { background: #edf7f0; }
.md-site-header__actions { display: flex; align-items: center; gap: 10px; }
.md-site-header__button { display: inline-flex; justify-content: center; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--md-green); border-radius: 10px; color: var(--md-green); background: transparent; text-decoration: none; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.md-site-header__button:hover { background: #edf7f0; }
.md-site-header__button--primary { color: #fff; background: var(--md-green); }
.md-site-header__button--primary:hover { color: #fff; background: var(--md-green-dark); }
.md-site-header__toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid #b9c9bd; border-radius: 9px; color: var(--md-green); background: #fff; font-size: 22px; cursor: pointer; }
.md-site-header__mobile { display: none; border-top: 1px solid rgba(27, 67, 50, .09); padding: 14px 24px 18px; background: #fffdf8; }
.md-site-header.is-open .md-site-header__mobile { display: block; }
.md-site-header__mobile a { display: block; padding: 11px 0; color: #29342f; text-decoration: none; font-weight: 600; }
.md-site-header__mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 12px; }
.md-site-header__mobile-actions .md-site-header__button { width: 100%; }

@media (max-width: 900px) {
  .md-site-header__inner { min-height: 60px; padding: 0 16px; }
  .md-site-header__nav, .md-site-header__actions { display: none; }
  .md-site-header__toggle { display: inline-grid; place-items: center; }
}
@media (max-width: 420px) {
  .md-site-header__brand { font-size: 1.07rem; }
  .md-site-header__mark { width: 31px; height: 31px; }
  .md-site-header__mobile { padding-inline: 16px; }
}
