:root {
  --theme-orange: #ff751b;
  --theme-tangerine: #fe5a04;
  --theme-amber: #ffb444;
  --theme-gold: #ffd54a;
  --theme-peach: #ffe8ce;
  --theme-cream: #fff8ef;
  --theme-line: #f0d8bd;
  --theme-ink: #261c18;
  --theme-muted: #5f4a3e;
  --theme-accent: #984500;
  --theme-accent-strong: #793700;
  --theme-green: #087b4f;
}

.brand.site-brand {

  font: 700 24px/1.2 "Fredoka", system-ui, sans-serif;

  color: var(--theme-accent);

  text-decoration: none;

  white-space: nowrap;

}

.brand.site-brand:focus-visible {

  outline: 3px solid var(--theme-accent);

  outline-offset: 3px;

}

@media (max-width: 700px) {

  .brand.site-brand { font-size: 17px; }

}

@media (max-width: 360px) {

  .brand.site-brand { font-size: 15px; }

}

/* Common header. The compact menu replaces inline links before they can wrap. */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 5vw;
  background: #fff;
  box-shadow: 0 1px 0 var(--theme-line);
  font: 700 1rem/1.35 "Nunito", system-ui, sans-serif;
}
.hd > .site-header { position: relative; top: auto; }
.site-header__desktop {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 22px);
}
.site-header__desktop a,
.site-header__menu a {
  color: var(--theme-ink);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__desktop a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.site-header__desktop a[aria-current="page"],
.site-header__desktop a:hover { color: var(--theme-accent); }
.site-header .site-header__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 23px;
  border-radius: 999px;
  background: var(--theme-green);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px #087b4f44;
}
.site-header__whatsapp:hover { background: #08623f; }
.site-header :is(a,summary):focus-visible { outline: 2px solid var(--theme-accent); outline-offset: 3px; }
.site-header .site-header__toggle {
  display: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}
.site-header__toggle summary {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  background: var(--theme-cream);
  color: var(--theme-accent);
  cursor: pointer;
  list-style: none;
}
.site-header__toggle summary::-webkit-details-marker { display: none; }
.site-header__toggle summary::after { content: none; }
.site-header__toggle[open] summary { background: var(--theme-peach); }
.site-header__icon {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -5px currentColor, 0 5px currentColor;
}
.site-header__menu {
  position: absolute;
  top: 100%;
  inset-inline: 4vw;
  display: grid;
  gap: 4px;
  padding: 8px;
  box-sizing: border-box;
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--theme-line);
  border-radius: 14px;
  box-shadow: 0 12px 26px #29191629;
}
.site-header__toggle:not([open]) .site-header__menu { display: none; }
.site-header__menu a { padding: 9px 12px; border-radius: 8px; }
.site-header__menu a:is(:hover,:focus-visible,[aria-current="page"]) {
  background: #fff8db;
  color: #6d4700;
}
@media (max-width: 1150px) {
  .site-header__desktop { display: none; }
  .site-header .site-header__toggle { display: block; }
}
@media (max-width: 700px) {
  .site-header { padding: 8px 4vw; gap: 10px; }
  .site-header .site-header__whatsapp { min-height: 38px; padding: 8px 14px; font-size: 14px; }
}
@media (max-width: 360px) {
  .site-header { gap: 7px; }
  .site-header .site-header__whatsapp { padding-inline: 11px; font-size: 13px; }
}

/* Page translation links. The compact navigation includes its own language row. */
.site-header .site-language {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.site-header .site-language > summary {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--theme-line);
  border-radius: 10px;
  background: var(--theme-cream);
  color: var(--theme-accent-strong);
  font-size: .875rem;
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
}
.site-header .site-language > summary::-webkit-details-marker { display: none; }
.site-header .site-language > summary::after { content: none; }
.site-header .site-language[open] > summary { background: var(--theme-peach); }
.site-language__choices {
  position: absolute;
  z-index: 1;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--theme-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px #29191620;
}
.site-header .site-language__choices a,
.site-header .site-language__compact a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--theme-ink);
  text-decoration: none;
}
.site-header .site-language__choices a:hover,
.site-header .site-language__compact a:hover { background: var(--theme-cream); }
.site-header .site-language__caption {
  display: block;
  padding: 5px 12px;
  color: var(--theme-muted);
  font-size: .8rem;
}
.site-language__compact {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--theme-line);
}
.site-language__compact a { white-space: normal; }
@media (max-width: 1260px) {
  .site-header:has(.site-language) .site-header__desktop,
  .site-header .site-language { display: none; }
  .site-header:has(.site-language) .site-header__toggle { display: block; }
}
