body.preview { background: #f4f3f0; }

.contact-footer {
  color: #192236;
  background: #f4f3f0;
  padding-inline: var(--gutter, 5vw);
  font-family: Jost, "Segoe UI", sans-serif;
}

.contact-footer__inner { max-width: 80rem; margin-inline: auto; }
.contact-footer__main {
  display: grid;
  grid-template-columns: minmax(17.1875rem, 1.1fr) minmax(18.75rem, 1fr) auto;
  align-items: start;
  column-gap: clamp(1.5rem, 5vw, 4.875rem);
  padding-block: clamp(2.5rem, 4.6vw, 4.375rem);
}

.contact-footer__identity { display: flex; align-items: center; gap: 1.125rem; }
.contact-footer__identity img { display: block; width: 4rem; height: auto; mix-blend-mode: multiply; }
.contact-footer__name { margin: 0; font-weight: 500; font-size: 1.5rem; line-height: 1.3; letter-spacing: -.025em; }
.contact-footer__role { margin: 0.3125rem 0 0; font-size: 0.9375rem; line-height: 1.4; color: #484b52; }
.contact-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.contact-footer__nav > div { display: grid; align-content: start; justify-items: start; gap: 0.3125rem; }
.contact-footer a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: .24em;
}
.contact-footer a:focus-visible { text-decoration-color: currentColor; }
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .contact-footer a:hover { text-decoration-color: currentColor; }
}
.contact-footer__nav a { line-height: 1.5; font-size: 1rem; text-wrap: pretty; }
.contact-footer__telegram {
  display: inline-block;
  font-size: clamp(1.25rem, 1.7vw, 1.5625rem);
  letter-spacing: -.025em;
}
.contact-footer a.contact-footer__telegram { text-decoration-color: rgb(25 34 54 / .38); }
.contact-footer a.contact-footer__telegram:focus-visible { text-decoration-color: currentColor; }
@media (min-width: 861px) and (hover: hover) and (pointer: fine) {
  .contact-footer a.contact-footer__telegram:hover { text-decoration-color: currentColor; }
}
.contact-footer__telegram span { margin-left: 0.4375rem; }
.contact-footer__base {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.5rem clamp(1.25rem, 3vw, 3rem);
  padding: 1.125rem 0 1.25rem;
  border-top: 1px solid #cecdc9;
  color: #484b52;
}
.contact-footer__base small, .contact-footer__base a { font-size: 0.875rem; }
.contact-footer__base a { justify-self: start; padding-block: 0.3125rem; }
.contact-footer__credit { line-height: 1.55; }
.contact-footer__credit strong { font-weight: 500; color: #192236; white-space: nowrap; }
.contact-footer__base a span { margin-left: 0.25rem; }
.contact-footer a span[aria-hidden] { display: inline-block; }
.contact-footer a:focus-visible { outline: 2px solid #355075; outline-offset: 0.25rem; }
@media (prefers-reduced-motion: no-preference) {
  .contact-footer a { transition: text-decoration-color .32s cubic-bezier(.22,1,.36,1); }
  .contact-footer a span[aria-hidden] { transition: transform .32s cubic-bezier(.22,1,.36,1); }
  .contact-footer__telegram:focus-visible span, .contact-footer__credit:focus-visible span { transform: translate(2px,-2px); }
  @media (min-width: 861px) and (hover: hover) and (pointer: fine) {
    .contact-footer__telegram:hover span, .contact-footer__credit:hover span { transform: translate(2px,-2px); }
  }
  .contact-footer__top:focus-visible span { transform: translateY(-2px); }
  @media (min-width: 861px) and (hover: hover) and (pointer: fine) {
    .contact-footer__top:hover span { transform: translateY(-2px); }
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .contact-footer__main { grid-template-columns: 1fr 1fr; grid-template-areas: "identity nav" "contact nav"; row-gap: 20px; align-content: start; grid-template-rows: auto 1fr; }
  .contact-footer__identity { grid-area: identity; }
  .contact-footer__contact { grid-area: contact; }
  .contact-footer__nav { grid-area: nav; }
}
@media (max-width: 1000px) {
  .contact-footer__base { grid-template-columns: 1fr auto; }
  .contact-footer__base > :nth-child(even) { justify-self: end; }
}
@media (max-width: 760px) {
  .contact-footer__main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "identity" "contact" "nav";
    gap: 24px;
    padding-block: 34px 28px;
  }
  .contact-footer__identity { grid-area: identity; gap: 13px; }
  .contact-footer__identity img { width: 50px; }
  .contact-footer__name { font-size: 22px; }
  .contact-footer__role { margin-top: 3px; }
  .contact-footer__contact { grid-area: contact; }
  .contact-footer__nav { grid-area: nav; max-width: 420px; }
  .contact-footer__nav a { padding-block: 4px; line-height: 1.4; }
  .contact-footer__base { grid-template-columns: 1fr auto; gap: 2px 10px; }
  .contact-footer__base > :nth-child(2), .contact-footer__credit { grid-column: 1 / -1; justify-self: start; }
  .contact-footer__top { grid-row: 1; grid-column: 2; }
}

