.siteHeader {
  position: sticky;
  top: 0;
  z-index: 20;
  background: hsla(181, 14%, 96%, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.headBar {
  position: relative;
  max-width: var(--wrap);
  height: 3.5rem;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.brandLink {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.brandLink img {
  width: 3.6rem;
  height: auto;
}

.brandSuffix {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--inkSoft);
  line-height: 1.4;
}

.mainNav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.mainNav a {
  display: block;
  padding: 0.2rem 0;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
}

.mainNav a:hover {
  color: var(--accent);
}

.mainNav a[aria-current="page"] {
  color: var(--main);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.langSwitch {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--inkSoft);
}

.langSwitch a {
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  color: var(--inkSoft);
  text-decoration: none;
}

.langSwitch a:hover {
  color: var(--accent);
}

.langSwitch .langCurrent,
.langSwitch .langCurrent:hover {
  background: var(--ink);
  color: #ffffff;
}

.navToggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.toggleBars {
  width: 0.9rem;
  height: 0.6rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.kicker {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.leadText {
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--inkSoft);
}

.buttonRow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.pillButton {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.45rem;
  border: 2px solid var(--main);
  border-radius: 999px;
  background: var(--main);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.pillButton:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.pillGhost {
  background: transparent;
  color: var(--main);
}

.heroBlock,
.introGrid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 4.5rem var(--pad) 3.5rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.heroText,
.introText {
  grid-column: 1 / 8;
  padding-top: 1rem;
}

.heroArt,
.introArt {
  grid-column: 8 / 13;
  margin-top: 4.5rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: -1.25rem 1.25rem 0 var(--grey);
}

.section {
  padding: 5rem var(--pad);
}

.sectionInner {
  max-width: var(--wrap);
  margin: 0 auto;
}

.sectionHead {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 38rem;
}

.sectionHead h2 {
  margin-bottom: 0.35em;
}

.sectionHead p {
  color: var(--inkSoft);
}

.headShift {
  margin-left: 25%;
}

.numMark {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 2px solid var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.servicesSection {
  padding-bottom: 8rem;
}

.serviceGrid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.75rem 0 0 16%;
  padding: 0;
}

.serviceCard {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
}

.serviceCard:nth-child(even) {
  transform: translateY(3rem);
}

.serviceCard p {
  margin: 0;
  color: var(--inkSoft);
}

.cardNum {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.cardNum::after {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2px;
  margin-left: 0.6rem;
  vertical-align: middle;
  background: var(--line);
}

.figureBand {
  background: var(--mainDeep);
  color: var(--onDeep);
}

.figureBand h2 {
  color: #ffffff;
}

.figureBand .numMark {
  border-color: var(--accentSoft);
  color: var(--accentSoft);
}

.figureList {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
}

.figureItem {
  padding-top: 1rem;
  border-top: 2px solid hsla(181, 30%, 70%, 0.35);
}

.figureItem:nth-child(odd) {
  margin-top: 2.5rem;
}

.figureValue {
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accentSoft);
}

.figureLabel {
  display: block;
  font-size: 0.95rem;
  color: var(--onDeep);
}

.valuesLayout,
.storyLayout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.valuesText,
.storyText {
  grid-column: 1 / 7;
}

.valuesPhoto,
.storyPhoto {
  grid-column: 8 / 13;
  margin-top: 5rem;
}

.valuesPhoto img,
.storyPhoto img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--grey);
  box-shadow: 1.25rem 1.25rem 0 var(--grey);
}

.storyPhoto figcaption {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--inkSoft);
}

.storyText p {
  color: var(--inkSoft);
}

.valueList {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.valueItem {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.valueItem:nth-child(2) {
  margin-left: 2.5rem;
}

.valueItem:nth-child(3) {
  margin-left: 5rem;
}

.valueItem h3 {
  margin-bottom: 0.3em;
}

.valueItem p {
  margin: 0;
  color: var(--inkSoft);
}

.contactBlock {
  max-width: 40rem;
  margin-left: auto;
  padding: 2.25rem;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  background: var(--surface);
  color: var(--ink);
}

.contactBlock p {
  color: var(--inkSoft);
}

.contactBlock .pillGhost {
  color: var(--main);
}

.contactBlock .pillGhost:hover {
  color: #ffffff;
}

.stepGrid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2.75rem 0 0;
  padding: 0;
}

.stepCard {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.stepCard:nth-child(2) {
  margin-top: 2rem;
}

.stepCard:nth-child(3) {
  margin-top: 4rem;
}

.stepCard:nth-child(4) {
  margin-top: 6rem;
  border-color: var(--main);
  background: var(--main);
  color: #ffffff;
}

.stepCard:nth-child(4) .cardNum {
  color: var(--accentSoft);
}

.stepCard p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--inkSoft);
}

.stepCard:nth-child(4) p {
  color: hsl(181, 30%, 92%);
}

.legalWrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 4rem var(--pad) 5rem;
}

.legalHead {
  max-width: 44rem;
}

.legalDate {
  font-size: 0.9rem;
  color: var(--inkSoft);
}

.legalBody {
  max-width: 44rem;
  margin: 2.5rem 0 0 16%;
  padding: 2.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.legalBody section + section {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--grey);
}

.legalBody h2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.legalBody h2 .numMark {
  width: 2.2rem;
  height: 2.2rem;
  font-size: 0.75rem;
}

.legalBody p {
  color: var(--inkSoft);
}

.legalBody p:last-child {
  margin-bottom: 0;
}

.siteFooter {
  padding: 3.75rem var(--pad) 2rem;
  background: var(--ink);
  color: hsl(181, 10%, 80%);
  text-align: center;
}

.footContacts {
  max-width: 30rem;
  margin: 0 auto;
  font-style: normal;
}

.footContacts img {
  width: 4rem;
  height: auto;
  margin: 0 auto 1.25rem;
}

.footName {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.footLines {
  margin: 0;
  line-height: 1.9;
}

.siteFooter a {
  color: #ffffff;
  text-decoration-color: var(--accentSoft);
  text-underline-offset: 0.2em;
}

.siteFooter a:hover {
  color: var(--accentSoft);
}

.footLegal {
  max-width: 30rem;
  margin: 2.25rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid hsla(181, 10%, 80%, 0.25);
  font-size: 0.85rem;
}

.footLegal p {
  margin: 0.3rem 0;
}

@media (max-width: 960px) {
  .stepGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stepCard:nth-child(3) {
    margin-top: 0;
  }

  .stepCard:nth-child(4) {
    margin-top: 2rem;
  }
}

@media (max-width: 860px) {
  .heroText,
  .introText,
  .heroArt,
  .introArt,
  .valuesText,
  .storyText,
  .valuesPhoto,
  .storyPhoto {
    grid-column: 1 / -1;
  }

  .heroArt,
  .introArt {
    margin: 0 0 1.25rem 1.25rem;
  }

  .valuesPhoto,
  .storyPhoto {
    margin: 1rem 1.25rem 1.25rem 0;
  }

  .figureList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .headShift {
    margin-left: 0;
  }

  .legalBody {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .headBar {
    gap: 0.6rem;
  }

  .navToggle {
    display: inline-flex;
  }

  .mainNav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .navOpen .mainNav {
    display: block;
  }

  .mainNav ul {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem var(--pad) 1.25rem;
  }

  .mainNav a {
    font-size: 1rem;
  }

  .mainNav a[aria-current="page"] {
    box-shadow: none;
  }

  .serviceGrid {
    grid-template-columns: minmax(0, 1fr);
    margin-left: 0;
  }

  .serviceCard:nth-child(even) {
    transform: none;
    margin-left: 1.5rem;
  }

  .servicesSection {
    padding-bottom: 5rem;
  }
}

@media (max-width: 560px) {
  :root {
    --pad: 1rem;
  }

  .section {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .heroBlock,
  .introGrid {
    padding-top: 2.75rem;
  }

  .figureItem:nth-child(odd) {
    margin-top: 0;
  }

  .figureItem:nth-child(even) {
    margin-top: 1.5rem;
  }

  .valueItem:nth-child(2) {
    margin-left: 1rem;
  }

  .valueItem:nth-child(3) {
    margin-left: 2rem;
  }

  .stepGrid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stepCard:nth-child(n) {
    margin-top: 0;
  }

  .stepCard:nth-child(even) {
    margin-left: 1.25rem;
  }

  .contactBlock,
  .legalBody {
    padding: 1.5rem;
  }

  .sectionHead {
    gap: 0.75rem;
  }

  .numMark {
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media (max-width: 380px) {
  .langSwitch a {
    padding: 0.2rem 0.45rem;
  }

  .navToggle {
    padding: 0.4rem 0.65rem;
  }
}
