/* Concluding contacts and footer only; preceding sections remain unchanged. */
#contacts,
#contacts-footer {
  background: #f4efe9;
  color: #37332f;
}
#contacts { padding-block: 76px; }
#contacts .wrap,
#contacts-footer .wrap {
  width: calc(100% - 96px);
  max-width: 1280px;
}
#contacts .contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 100px;
  align-items: start;
}
#contacts .contacts-intro .eyebrow {
  margin: 0 0 20px;
  color: #68645e;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: .12em;
}
#contacts h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.04em;
}
#contacts .contacts-project {
  margin-top: 14px;
  color: #4d4943;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -.015em;
}
#contacts .contacts-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  width: 100%;
  max-width: 480px;
  min-width: 0;
  margin: 0;
  justify-self: end;
}
#contacts .contacts-list dt {
  margin: 0;
  color: #68645e;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#contacts .contacts-list dd {
  margin: 7px 0 0;
  color: #37332f;
  font-size: 20px;
  line-height: 1.5;
}
#contacts .contacts-phone-label {
  display: flex;
  align-items: center;
  height: 1.5em;
}
#contacts .contacts-phone-icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border: 1px solid #d4cec5;
  border-radius: 50%;
  color: #37332f;
}
#contacts .contacts-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -.025em;
  white-space: nowrap;
}
#contacts .contacts-phone:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
#contacts a:focus-visible,
#contacts-footer button:focus-visible,
#contacts-footer a:focus-visible {
  outline: 2px solid #526256;
  outline-offset: 4px;
}
#contacts-footer {
  border-top: 1px solid #d4cec5;
  padding: 20px 0 26px;
}
#contacts-footer .footer-top { display: block; }
#contacts-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
}
#contacts-footer .footer-links button {
  min-height: 44px;
  padding: 9px 0;
  color: #56514b;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
#contacts-footer .fine {
  max-width: none;
  margin-top: 8px;
  color: #68645e;
  font-size: 12px;
  line-height: 1.6;
}
#contacts-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 16px;
  padding-top: 0;
  border: 0;
  color: #68645e;
  font-size: 12px;
  line-height: 1.5;
}
#contacts-footer .back-top {
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  color: #37332f;
  font-size: 13px;
}
#contacts-footer .back-top:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 1100px) {
  #contacts { padding-block: 64px; }
  #contacts .wrap,
  #contacts-footer .wrap { width: calc(100% - 64px); }
  #contacts .contacts-grid { gap: 64px; }
  #contacts .contacts-address-break { display: none; }
}
@media (max-width: 900px) {
  #contacts .wrap,
  #contacts-footer .wrap { max-width: 680px; }
  #contacts .contacts-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  #contacts .contacts-list { max-width: none; }
}
@media (max-width: 600px) {
  #contacts { padding-block: 50px; }
  #contacts .wrap,
  #contacts-footer .wrap { width: calc(100% - 40px); }
  #contacts .contacts-grid { gap: 34px; }
  #contacts .contacts-intro .eyebrow { margin-bottom: 18px; letter-spacing: .1em; }
  #contacts h2 { font-size: 36px; }
  #contacts .contacts-project { margin-top: 12px; font-size: 20px; }
  #contacts .contacts-list { gap: 24px; }
  #contacts .contacts-list dd { font-size: 18px; }
  #contacts .contacts-phone { font-size: 26px; }
  #contacts-footer { padding: 18px 0 24px; }
  #contacts-footer .footer-links { flex-direction: column; align-items: start; gap: 0; }
  #contacts-footer .footer-bottom { align-items: start; flex-wrap: wrap; gap: 4px 18px; }
  #contacts-footer .footer-bottom > span { padding-top: 12px; }
}
@media (max-width: 360px) {
  #contacts .wrap,
  #contacts-footer .wrap { width: calc(100% - 32px); }
  #contacts .contacts-phone { font-size: 25px; }
}
