/* Public header only; shared content and footer styles remain unchanged. */
.topline--refined { background: #edf0e7; color: #5d665b; border-bottom: 1px solid #dfe3d9; font-size: 11px; line-height: 1.5; letter-spacing: .1px; }
.topline--refined .wrap { min-height: 40px; gap: 24px; }
.topline--refined :is(.topline__phone, .topline__contact) { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; color: #46513f; letter-spacing: 0; font-size: 11px; font-weight: 500; white-space: nowrap; transition: color .2s ease; }
.topline--refined a > svg { flex: 0 0 auto; }
.topline--refined :is(.topline__phone, .topline__contact):hover { color: #a73515; }
.topline--refined a:focus-visible { outline: 3px solid #b63c18; outline-offset: 3px; }
@media (max-width: 800px) {
  .topline--refined .wrap { justify-content: space-between; gap: 12px; min-height: 36px; }
  .topline--refined :is(.topline__phone, .topline__contact) { min-height: 36px; }
}
@media (max-width: 600px) {
  .topline--refined { font-size: 10px; letter-spacing: .1px; }
  .topline--refined :is(.topline__phone, .topline__contact) { font-size: 10px; gap: 6px; }
}

.site-header--refined {
  background: #fafaf6;
  border-bottom: 1px solid #dfe3d9;
  box-shadow: 0 3px 18px #17231a05;
}
.site-header--refined .header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 38px;
  height: 100px;
}
.site-header--refined .brand { display: flex; align-items: center; justify-content: center; height: 64px; min-width: 0; }
.site-header--refined .brand-image { width: 224px; height: auto; }
.site-header--refined .header-nav { position: static; display: flex; align-items: center; justify-content: space-between; gap: 26px; width: 100%; padding: 0; border: 0; background: none; box-shadow: none; }
.header-nav__links { display: flex; align-items: center; gap: 3px; padding: 5px; margin-inline: auto; border: 1px solid #e0e4d9; border-radius: 999px; background: #eeefe8; }
.header-nav__links > a { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 15px; border-radius: 999px; color: #525b50; font-size: 12px; font-weight: 500; line-height: 1.4; white-space: nowrap; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.header-nav__links > a:hover { color: var(--ink); background: #e2e6db; }
.header-nav__links > a[aria-current="page"] { color: var(--dark); background: #fff; box-shadow: 0 1px 5px #263b2010; font-weight: 600; }
.header-nav__links > a[aria-current="page"]::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: #c6441d; }
.site-header--refined .header-quote { flex-shrink: 0; gap: 18px; min-height: 50px; margin: 0; padding: 8px 9px 8px 21px; border-radius: 999px; font-size: 12px; box-shadow: 0 4px 12px #cb431b12; }
.site-header--refined .header-quote > span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ffffff1c; font-size: 19px; line-height: 1; transition: background-color .2s ease, transform .2s ease; }
.site-header--refined .header-quote:hover > span { background: #ffffff2e; transform: translate(1px, -1px); }
.site-header--refined .menu-toggle { display: none; }
.site-header--refined :is(a, button):focus-visible { outline: 3px solid #b63c18; outline-offset: 4px; }

@media (max-width: 1100px) and (min-width: 1001px) {
  .site-header--refined .header-inner { gap: 26px; }
  .site-header--refined .brand-image { width: 205px; }
  .site-header--refined .header-nav { gap: 20px; }
  .header-nav__links > a { padding-inline: 12px; }
}

@media (max-width: 1000px) {
  .site-header--refined .header-inner { grid-template-columns: minmax(0, 1fr) auto; height: 84px; gap: 24px; }
  .site-header--refined .brand { justify-content: flex-start; justify-self: start; }
  .site-header--refined .brand-image { width: 205px; }
  .site-header--refined .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; padding: 10px 16px; border: 1px solid #ccd3c5; border-radius: 999px; background: #fff; color: var(--dark); font-size: 12px; font-weight: 500; line-height: 1; }
  .menu-toggle__icon { position: relative; display: block; width: 17px; height: 14px; }
  .menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .2s ease, top .2s ease; }
  .menu-toggle__icon::before { top: 3px; }
  .menu-toggle__icon::after { top: 10px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { top: 6px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { top: 6px; transform: rotate(-45deg); }
  .site-header--refined .header-nav { display: none; position: absolute; top: calc(100% - 3px); left: 0; right: 0; width: auto; max-height: calc(100svh - 125px); overflow-y: auto; padding: 15px; border: 1px solid #dce1d5; border-radius: 20px; background: #fafaf6; box-shadow: 0 18px 40px #17231a21; }
  .site-header--refined .header-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .header-nav__links { flex-direction: column; align-items: stretch; gap: 4px; padding: 0; margin: 0; border: 0; border-radius: 0; background: none; }
  .header-nav__links > a { justify-content: flex-start; min-height: 46px; padding: 12px 15px; border-radius: 11px; font-size: 13px; }
  .site-header--refined .header-quote { justify-content: space-between; margin-top: 14px; width: 100%; }
}

@media (max-width: 600px) {
  .site-header--refined .header-inner { height: 78px; gap: 18px; }
  .site-header--refined .brand-image { width: 185px; }
  .site-header--refined .brand { height: 54px; }
}
@media (max-width: 380px) {
  .site-header--refined .brand-image { width: 164px; }
  .site-header--refined .menu-toggle { padding-inline: 13px; gap: 10px; }
}
