/*footer section*/
.footer {
  padding: 84px 0 36px;
  background: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 64px;
  align-items: start;
}

.footer__left {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 420px;
}

.footer__mark {
  width: 46px;
  height: 46px;
  display: block;
  flex-shrink: 0;
}

.footer__name {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.footer__tag {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin-bottom: 20px;
  font-size: 0.98rem;
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer__socials a:hover {
  color: #ffffff;
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 14px;
}

.footer__legal a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: #f8f6f1;
}

.footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.footer__right {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__heading {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.01em;
}

.footer__column a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  transition: color 0.2s ease;
}

.footer__column a:hover {
  color: #f8f6f1;
}

.footer__hours {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .footer__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .footer__right {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .footer__column:nth-child(3) { order: 1; }
  .footer__column:nth-child(1) { order: 2; }
  .footer__column:nth-child(2) { order: 3; }

  .footer__left {
    order: 4;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}
