/* ---------- header (absolute over the page, 120px tall) ---------- */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 50; }
.topbar {
  height: 40px; background: var(--orange-hot); color: var(--white);
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 20px;
  font-size: 14px; line-height: 16.8px; text-transform: uppercase;
}
.topbar__text { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; white-space: nowrap; }
.topbar__text a { font-weight: 600; }
.topbar__text a:hover { text-decoration: underline; }
.topbar__dot { opacity: .7; }

.nav-row {
  height: 80px; padding-inline: var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; position: relative;
}
.logo { display: inline-flex; align-items: center; margin-left: 5px; }
.logo__img { height: 74px; width: auto; }
.logo__paw { width: 34px; height: 34px; fill: currentColor; flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: .02em; color: var(--brown); }
.logo__sub { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; font-size: 9px; letter-spacing: .14em; color: var(--brown); opacity: .75; margin-top: 4px; }

.nav { display: flex; gap: 40px; justify-self: center; }
.nav__item { position: relative; }
.nav__link { font-size: 14px; line-height: 16.8px; font-weight: 600; text-transform: uppercase; color: var(--brown); position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 20px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 16px; height: 1px; width: 100%; background: var(--brown); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav__link:hover::after, .nav__item--sub:hover .nav__link::after { transform: scaleX(1); }
.nav .ico { width: 14px; height: 14px; transition: transform .3s; }
.nav__item--sub:hover .ico, .nav__item--sub.is-open .ico { transform: rotate(180deg); }

/* dropdown */
.nav__dropdown {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, 10px);
  min-width: 220px; padding: 12px 0; background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 20px 40px rgba(60,20,2,.08);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.nav__item--sub:hover .nav__dropdown, .nav__item--sub:focus-within .nav__dropdown, .nav__item--sub.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.nav__dropdown a { display: block; padding: 12px 26px; font-size: 14px; line-height: 16.8px; font-weight: 600; text-transform: uppercase; color: var(--brown); white-space: nowrap; transition: color .3s, background .3s; }
.nav__dropdown a:hover { color: var(--red); background: var(--cream); }

.call-box {
  justify-self: end; align-self: start;
  width: 190px; height: 80px; padding: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(var(--orange-hot), var(--red-hot));
  border-radius: 0 0 10px 10px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 13px; line-height: 16px; color: var(--white); text-align: center;
}
.call-box p { font-size: 11px; opacity: .9; }
.header__wa { height: 46px; padding: 0 18px; gap: 8px; }
.header__wa .ico { width: 20px; height: 20px; }
.burger { display: none; width: 40px; height: 40px; justify-self: end; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; }
.burger span { display: block; height: 2px; width: 24px; background: var(--brown); transition: transform .3s var(--ease-out), opacity .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1359px) {
  .nav-row { grid-template-columns: auto 1fr auto; gap: 12px; }
  .nav, .call-box { display: none; }
  .burger { display: flex; }
  .header__wa { height: 42px; padding: 0 14px; }
  .nav.is-open {
    display: flex; position: absolute; top: 80px; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; background: var(--white); padding: 10px 30px 30px; border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 120px); overflow: auto;
  }
  .nav.is-open .nav__link { padding: 14px 0; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__link::after { display: none; }
  .nav__dropdown { position: static; transform: none; min-width: 0; display: none; padding: 0 0 10px 16px; border: 0; box-shadow: none; }
  .nav__item--sub.is-open .nav__dropdown { display: flex; opacity: 1; visibility: visible; transform: none; }
  .nav__item--sub:not(.is-open):hover .nav__dropdown, .nav__item--sub:not(.is-open):focus-within .nav__dropdown { display: none; }
  .nav__dropdown a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__dropdown a:hover { background: none; }
}
@media (max-width: 809px) {
  .topbar { display: none; }
  .nav-row { height: 84px; }
  .header__wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header__wa { width: 42px; padding: 0; justify-content: center; }
  .nav.is-open { top: 84px; padding-inline: 20px; }
}

@media (max-width: 809px) { .logo__img { height: 60px; } }
