:root {
  --chrome-green: var(--green, #0d4838);
  --chrome-copper: var(--copper, #bd7f55);
  --chrome-paper: var(--paper, #ffffff);
}

.site-header {
  width: min(100% - 96px, 1280px);
  height: 98px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  width: 108px;
  line-height: 0;
}

.site-header .brand img,
.site-header .brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(22px, 3vw, 48px);
  margin-left: auto;
  color: #242321;
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a {
  position: relative;
  padding: 0;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--chrome-green);
}

.desktop-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--chrome-copper);
}

.form-status {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

.form-status.is-loading {
  color: inherit;
}

.form-status.is-success {
  color: #0d4838;
}

.form-status.is-error {
  color: #9b1c1c;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 62px max(48px, calc((100vw - 1280px) / 2)) 58px;
  color: white;
  background: var(--chrome-green);
}

.site-footer.contact-footer {
  padding-top: 16px;
  padding-bottom: 43px;
}

.site-footer::before,
.site-footer::after {
  content: none;
}

.site-footer::before {
  left: 24px;
  transform: scaleX(-1);
}

.site-footer::after {
  right: 24px;
}

.site-footer > h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 28px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.18;
  text-align: center;
}

.footer-actions {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0 auto 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.footer-actions a {
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.footer-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.footer-info {
  position: relative;
  z-index: 1;
  width: min(100%, 1265px);
  margin: 38px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer.contact-footer .footer-info {
  margin-top: 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.footer-contact a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a {
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.site-footer svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.7;
}

.footer-actions svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

@media (max-width: 980px) {
  .site-header {
    width: min(100% - 48px, 820px);
    height: auto;
    padding: 26px 0 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .desktop-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-left: 0;
    font-size: 13px;
  }

  .footer-actions {
    grid-template-columns: 1fr;
  }

  .footer-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: min(100% - 28px, 480px);
    padding: 22px 0 16px;
  }

  .site-header .brand {
    width: 100px;
  }

  .desktop-nav {
    gap: 10px 14px;
    font-size: 12px;
  }

  .site-footer {
    padding: 44px 20px 48px;
  }
  .site-footer.contact-footer {
    padding-top: 16px;
    padding-bottom: 36px;
  }

  .footer-info {
    padding-top: 24px;
  }
}
