/* ===== CONTACT PAGE ===== */

.contact-page {
  background: #ffffff;
  padding: 32px 0 72px;
}

.contact-page__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  color: #2f2a26;
}

.contact-page__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #b0a79f;
  margin-bottom: 10px;
}

.contact-page__breadcrumbs a {
  color: #8b5b3c;
  text-decoration: none;
  font-weight: 700;
}

.contact-page__sep {
  color: #c1b7ad;
}

.contact-page__header {
  margin-bottom: 22px;
}

.contact-page__title {
  margin: 0 0 6px;
  font-size: 34px;
  font-weight: 800;
  color: #2f251f;
  letter-spacing: -0.01em;
}

.contact-page__subtitle {
  margin: 0;
  font-size: 18px;
  color: #5d4f45;
}

.contact-card {
  background: #f7f1ea;
  border: 1px solid #eadfd3;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.05);
}

.contact-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.contact-card__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
}

.contact-card__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.contact-card__title {
  font-weight: 800;
  color: #3c2c22;
  margin: 0 0 6px;
  font-size: 16px;
}

.contact-card__text {
  color: #4c4037;
  font-size: 14px;
  line-height: 1.5;
}

.contact-card__text a {
  color: inherit;
  text-decoration: none;
}

.contact-card__text a:hover {
  text-decoration: underline;
}

.contact-card__note {
  color: #7a6e64;
}

.contact-card__icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-card__icons img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.contact-map {
  margin-top: 18px;
}

.contact-map__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: stretch;
}

.contact-map__frame {
  position: relative;
  width: 100%;
  min-height: 420px;
  border: 1px solid #eadfd3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

.contact-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-map__form {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f7f1ea;
  border: 1px solid #eadfd3;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.05);
}

.contact-map__form-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #3c2c22;
}

.contact-map__form-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-map__form .contact-input {
  height: 44px;
  background: #ffffff;
  border: 1px solid #eadfd3;
  border-radius: 12px;
}

.contact-map__form .contact-textarea {
  height: 96px;
  padding-top: 10px;
  resize: none;
  overflow-y: auto;
}

.contact-map__form .contact-submit-btn {
  height: 44px;
  margin-top: 4px;
}

.contact-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #4b2f23;
  line-height: 1.4;
}

.contact-checkbox input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.contact-textarea__counter {
  margin-top: 4px;
  font-size: 12px;
  color: #8f8b87;
  text-align: right;
}

.contact-map__link {
  position: absolute;
  color: #eee;
  font-size: 12px;
  text-decoration: none;
  z-index: 2;
  padding: 4px 8px;
}

.contact-map__link:first-of-type {
  top: 0;
  left: 0;
}

.contact-map__link:last-of-type {
  top: 14px;
  left: 0;
}

@media (max-width: 1024px) {
  .contact-map__layout {
    grid-template-columns: 1fr;
  }

  .contact-map__frame {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .contact-card__grid {
    grid-template-columns: 1fr;
  }

  .contact-page__title {
    font-size: 30px;
  }

  .contact-page__subtitle {
    font-size: 16px;
  }
}
/* ===== FOOTER ===== */

.footer {
  margin-top: 0;
}

.footer-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 24px;
}

/* сам баннер */
.footer-banner {
  position: relative;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  height: 260px;
  background: url("/static/img/footer/footer-bg.png") center/cover no-repeat;
}

/* затемнение */
.footer-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(60, 30, 20, 0.9) 0%,
    rgba(60, 30, 20, 0.7) 30%,
    rgba(60, 30, 20, 0.4) 60%,
    rgba(60, 30, 20, 0.9) 100%
  );
}

/* контент */
.footer-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  align-items: center;
  padding: 40px 80px;
  color: #fff;
}

/* левая */
.footer-title {
  font-size: 26px;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.footer-features {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 30px;
}

.footer-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.footer-feature img {
  width: 16px;
  opacity: 0.9;
}

/* центр */
.footer-subtitle {
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  font-size: 14px;
}

.footer-links a:hover {
  opacity: 1;
}

/* контакты */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-contact-item img {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
}

.footer-contact-item a:hover {
  text-decoration: underline;
}

/* соцсети */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-socials img {
  width: 28px;
  height: 28px;
  display: block;
}

/* нижняя полоса */
.footer-bottom {
  display: none;
}

@media (max-width: 900px) {
  .footer-banner {
    border-radius: 0 0 18px 18px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 0 16px;
  }

  .footer-banner {
    height: auto;
    border-radius: 0 0 16px 16px;
  }

  .footer-overlay {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 18px 22px;
  }

  .footer-desc {
    margin-bottom: 14px;
  }

  .footer-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-subtitle {
    margin-top: 4px;
  }

  .footer-socials {
    margin-top: 8px;
  }
}
