.footer-container {
  background-color: #121212;
  color: #fff;
}

.footer-content-wrapper {
  padding: 86px 80px 34px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 80px;
  align-items: start;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand img {
  width: min(210px, 100%);
  filter: invert(1) grayscale(1) contrast(1.12);
}

.footer-brand p {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.footer-actions a,
.footer-instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-reserve-link {
  background-color: #0083d7;
  border: 1px solid #0083d7;
  color: #fff;
}

.footer-map-link,
.footer-instagram-link {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.footer-actions a:hover,
.footer-instagram-link:hover {
  transform: translateY(-1px);
}

.footer-reserve-link:hover {
  background-color: #0092ee;
  border-color: #0092ee;
}

.footer-map-link:hover,
.footer-instagram-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.44);
}

.footer-info {
  display: grid;
  gap: 28px;
}

.footer-label {
  display: block;
  margin-bottom: 8px;
  color: var(--rental-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.footer-page-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.footer-page-links a:hover {
  color: #fff;
}

.footer-instagram-link {
  display: flex;
  width: fit-content;
  column-gap: 8px;
  min-height: 38px;
  margin-top: 20px;
  padding: 0 14px;
  font-size: 13px;
}

.footer-instagram-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media screen and (max-width: 767px) {
  .footer-content-wrapper {
    padding: 52px 24px 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 36px;
  }

  .footer-brand p {
    margin-top: 18px;
    font-size: 13px;
  }

  .footer-brand img {
    width: min(180px, 100%);
  }

  .footer-actions {
    flex-direction: column;
    gap: 10px;
  }

  .footer-actions a {
    width: 100%;
  }

  .footer-info {
    gap: 22px;
  }

  .footer-info p {
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 24px;
    font-size: 12px;
  }

  .footer-page-links {
    gap: 10px 16px;
  }

  .footer-instagram-link {
    min-height: 36px;
  }
}
