@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text/golos-text.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

.agency-head, .agency-contact-strip {
  --lime: #5edb5c;
  --orange: #f6a21a;
  --ink: #232522;
  --rule: #dcded2;
  font: 500 1rem/1.35 "Golos Text", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(105deg, #f1f8e9, #fffdf6 65%, #fcfaf1);
}
.agency-head {
  position: sticky;
  inset-block-start: 0;
  z-index: 25;
  box-shadow: 0 1px 0 #52674620;
}
.agency-contact-strip { border-bottom: 1px solid var(--rule); }
/* Clipping keeps the document as the sticky scroll container on legacy layouts. */
html:has(.agency-head), body:has(> .agency-head) { overflow-x: clip !important; }
html:has(.agency-head) {
  scroll-padding-top: calc(var(--agency-header-height, 78px) + 8px);
}

.agency-head *, .agency-head *::before, .agency-head *::after { box-sizing: border-box; }
.agency-head a, .agency-service a { color: inherit; text-decoration: none; }
.agency-head svg, .agency-service svg { flex: none; width: 20px; height: 20px; }
.agency-main {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 7px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand catalog controls";
  align-items: center;
  column-gap: 24px;
  row-gap: 3px;
}

.agency-signature {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
}
.agency-seal {
  position: relative;
  width: 62px;
  aspect-ratio: 1;
  flex: none;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.agency-seal img {
  position: absolute;
  width: 117.1875%;
  max-width: none;
  height: auto;
  top: -1.5625%;
  left: -8.59375%;
}
.agency-wordmark {
  display: grid;
  justify-items: start;
  gap: 3px;
}
.agency-domain {
  color: #51604d;
  font-size: .75rem;
  font-weight: 550;
  line-height: 1.05;
  letter-spacing: .045em;
}
.agency-name {
  font-size: clamp(1.875rem, 2.4vw, 2.125rem);
  font-weight: 730;
  line-height: .99;
  letter-spacing: -.035em;
}

.agency-catalog, .agency-controls, .agency-service, .agency-office, .agency-contact {
  display: flex;
  align-items: center;
}
.agency-catalog {
  grid-area: catalog;
  justify-content: space-between;
  gap: 14px;
}
.agency-catalog a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  white-space: nowrap;
  font-size: 1.0625rem;
  font-weight: 625;
  letter-spacing: -.025em;
}
.agency-catalog a:is(:hover, [aria-current="page"]), .agency-service a:hover {
  color: #764010;
}

.agency-controls { grid-area: controls; justify-content: flex-end; gap: 8px; }
.agency-head .agency-request, .agency-menu nav .agency-menu-request {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 15px;
  border-radius: 12px;
  font-size: 1.0625rem;
  font-weight: 680;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--ink);
  background: var(--orange);
}
.agency-request svg, .agency-menu-request svg { width: 23px; height: 23px; stroke-width: 2.4; }
.agency-head .agency-request:hover, .agency-menu nav .agency-menu-request:hover { background: #ffb137; }

.agency-menu { position: relative; }
.agency-menu summary {
  width: 48px;
  height: 48px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  border: 1px solid #bfc3b8;
  border-radius: 12px;
  background: #fffdf6;
}
.agency-menu summary::-webkit-details-marker { display: none; }
.agency-menu summary:is(:hover, :focus-visible), .agency-menu[open] summary { background: #e8f4df; }
.agency-menu summary span {
  width: 22px;
  height: 2.5px;
  background: var(--ink);
  transition: transform .15s ease;
}
.agency-menu[open] summary span:first-child { transform: translateY(4.25px) rotate(45deg); }
.agency-menu[open] summary span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.agency-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 3;
  width: min(320px, calc(100vw - 24px));
  max-height: 72vh;
  max-height: min(72dvh, calc(100dvh - 95px));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px;
  background: #fffef9;
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 10px 26px #272b251a;
}
.agency-menu nav :is(a, button) {
  display: flex;
  align-items: center;
  min-height: 46px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 580;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.agency-menu nav :is(a, button):hover { background: #eef5e7; }
.agency-menu nav a[aria-current="page"] { color: #764010; }
.agency-menu-catalog, .agency-menu nav .agency-menu-request { display: none; }
.agency-head :is(a, summary, button):focus-visible { outline: 3px solid #874500; outline-offset: 2px; }

.agency-service {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  justify-content: space-between;
  gap: 12px;
  font-size: .90625rem;
  color: #4a4c44;
}
.agency-service a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  white-space: nowrap;
}
.agency-office { flex-wrap: wrap; gap: 4px 12px; }
.agency-office span { white-space: nowrap; }
.agency-office svg { width: 18px; height: 18px; }
.agency-contact { gap: 16px; color: var(--ink); font-weight: 610; }
.agency-contact a, .agency-contact img { flex: none; }
.agency-contact img { width: 20px; height: 20px; border-radius: 5px; }
.agency-contact .icon-fill { fill: currentColor; stroke: none; }
.agency-phone { font-size: 1rem; font-weight: 680; letter-spacing: -.025em; }
.agency-phone svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: color-mix(in srgb, var(--lime) 26%, #fffdf4); }

@media (max-width: 1179px) {
  .agency-main {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand controls";
    padding-block: 7px;
  }
  .agency-catalog { display: none; }
  .agency-menu-catalog {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 6px;
    margin-bottom: 4px;
  }
  .agency-seal { width: 62px; }
}

@media (max-width: 760px) {
  .agency-office { display: none; }
  .agency-contact { flex: 1; }
  .agency-phone { margin-right: auto; }
}

@media (max-width: 700px) {
  .agency-head .agency-request { display: none; }
  .agency-menu nav .agency-menu-request { display: flex; margin-top: 6px; }
}

@media (max-width: 600px) {
  .agency-main {
    width: calc(100% - 28px);
    padding-block: 6px;
    column-gap: 8px;
    row-gap: 5px;
  }
  .agency-service { width: calc(100% - 28px); }
  .agency-seal { width: clamp(46px, 12vw, 54px); }
  .agency-signature { gap: 8px; }
  .agency-name { font-size: clamp(1.4rem, 6.8vw, 1.875rem); }
  .agency-contact { gap: clamp(7px, 3vw, 18px); }
  .agency-service { font-size: clamp(.875rem, 3.8vw, .96875rem); }
  .agency-phone { font-size: clamp(.90625rem, 4.1vw, 1.0625rem); }
  .agency-service a { gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .agency-menu summary span { transition: none; }
}

@media (max-width: 379px) {
  .agency-contact { gap: 7px; }
}

@media (max-width: 359px) {
  .agency-phone svg { display: none; }
}
