/* ────────────────────────────────────────────────
 * Footer
 * Source: extracted from index.css lines 3953–4178
 * ──────────────────────────────────────────────── */

.footer{
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding-top: 48px;
}

.footer::before{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:120px;
  pointer-events:none;
  z-index:0;

  opacity:.24;
  mix-blend-mode: multiply;

  /* SVG с изогнутыми зубьями через feDisplacementMap */
  background-image:url("data:image/svg+xml,%3Csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient%20id='dent'%20x1='0%25'%20y1='0%25'%20x2='0%25'%20y2='100%25'%3E%3Cstop%20offset='0%25'%20stop-color='black'%20stop-opacity='0.42'/%3E%3Cstop%20offset='100%25'%20stop-color='black'%20stop-opacity='0.08'/%3E%3C/linearGradient%3E%3Cfilter%20id='bend'%20x='-30%25'%20y='-30%25'%20width='160%25'%20height='160%25'%3E%3CfeGaussianBlur%20in='SourceGraphic'%20stdDeviation='1.5'%20result='b'/%3E%3CfeTurbulence%20type='turbulence'%20baseFrequency='0.12'%20numOctaves='1'%20seed='3'%20result='n'/%3E%3CfeDisplacementMap%20in='b'%20in2='n'%20scale='10'%20xChannelSelector='R'%20yChannelSelector='G'/%3E%3C/filter%3E%3C/defs%3E%3Cg%20transform='rotate(-90%2060%2060)'%20filter='url(%23bend)'%3E%3Cpath%20d='M-20%2020%20L50%2055%20L50%2085%20L-20%2050%20Z'%20fill='url(%23dent)'/%3E%3Cpath%20d='M140%2020%20L70%2055%20L70%2085%20L140%2050%20Z'%20fill='url(%23dent)'/%3E%3C/g%3E%3C/svg%3E");

  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: 78px 120px;

  -webkit-mask-image: linear-gradient(to top, var(--color-pure-black) 0%, var(--color-pure-black) 55%, transparent 100%);
          mask-image: linear-gradient(to top, var(--color-pure-black) 0%, var(--color-pure-black) 55%, transparent 100%);
}

.footerBox {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-2xl);
  margin-bottom: 48px;
}

.footerInfo {
  flex: 1;
}

.footerData {
  flex: 1;
  display: flex;
  justify-content: center;
}

.footerSocials {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.footer .faqName svg {
  display: none;
}

@media (max-width: 62em) {
  .footerBox {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footerData {
    justify-content: center;
    width: 100%;
  }
  .footerInfo {
    text-align: center;
  }
  .footerContacts ul li {
    justify-content: center;
  }
  .footer .faqName svg {
    display: block;
  }
}

.footerLogo {
  margin-bottom: 24px;
  text-align: left;
}

.footerLogo svg {
  width: 180px;
  filter: drop-shadow(0 4px 8px var(--overlay-dark-30));
}

.footerContacts ul li {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.8125rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--color-text-light);
}

.footerContacts ul li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footerContacts ul li a:hover {
  color: var(--color-accent-text);
}

.footerData {
  display: flex;
  gap: 60px;
  justify-content: space-between;
}

.footerMenu h5 {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.875rem;
  line-height: 1;
  margin-bottom: 32px;
  letter-spacing: 0.1em;
  color: var(--color-accent-text);
}

.footerMenu li {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footerMenu li a {
  color: var(--color-text-muted);
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.footerMenu li a:hover {
  color: var(--color-text-light);
  padding-left: 5px;
}

.footerSocials {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  overflow: visible;
}

.footerSocials a {
  overflow: visible;
}

.footerSocials div {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 0;
  width: 44px;
  height: 44px;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1), 
              background 0.15s ease, 
              border-color 0.15s ease,
              box-shadow 0.15s ease;
  will-change: transform;
}

.footerSocials div:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.footerSocials div:active {
  transition-duration: 0.05s;
}

.footerSocials div svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text-light);
  transition: fill 0.3s ease;
}

.footerSocials div:hover svg {
  fill: var(--color-text-dark);
}

.footerSocials div:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.footerSocials div:hover svg path {
  fill: var(--color-text-dark);
}

.footerSocials div a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.footerCopyright {
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.6875rem;
  line-height: 100%;
  color: var(--color-text-gray);
  letter-spacing: 0.05em;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

