/* Footer / Inquire — clean, balanced layout */

.footer {
  background: #000;
  color: #fff;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.footer__container.container {
  max-width: 1440px;
  padding: 80px 64px 52px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

/* Main row: copy left + form right */
.footer__grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
  min-height: 715px;
}

.footer__copy-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 89px;
  min-width: 0;
  width: 624px;
  max-width: 624px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 558px;
  max-width: 558px;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  line-height: 68px;
  color: #fff;
  margin: 0;
  width: 395px;
  max-width: 395px;
}

.footer__lead {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: #fff;
  margin: 0;
  max-width: 558px;
}

.footer__lead a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__lead a:hover {
  color: #f0d4a8;
}

/* Contact list */
.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__contact {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 19.6px;
  color: #fff;
}

.footer__contact img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 0;
  opacity: 1;
  filter: none;
}

.footer__contact a,
.footer__contact span {
  color: inherit;
}

.footer__contact a {
  transition: color 0.2s;
}

.footer__contact a:hover {
  color: var(--color-gold);
}

/* Form panel */
.footer__form {
  background: #3c4142;
  padding: 32px;
  width: 517px;
  height: 715px;
  max-width: 517px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  position: relative;
  box-sizing: border-box;
}

.footer__form-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  line-height: 46px;
  color: #fff;
  margin: 0;
}

.footer__form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.field label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 19.6px;
  color: #fff;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  background: #484c4d;
  border: 1px solid #636768;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.38);
  height: 38px;
  padding: 8px 12px;
  outline: none;
  margin: 0;
  box-sizing: border-box;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #7a8082;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-gold);
  color: #fff;
  background: #4e5253;
}

.field select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field select option {
  color: #000;
  background: #fff;
}

.field textarea {
  min-height: 168px;
  height: 168px;
  resize: vertical;
}

.footer__submit {
  width: 100%;
  height: 45.6px;
  margin-top: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 19.6px;
  color: #121212;
  background: #e0bb7f;
  border: 0;
  padding: 13px 12px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.footer__submit:hover {
  background: #e0bb7f;
  color: #121212;
  box-shadow: none;
}

.footer__submit:active {
  transform: translateY(1px);
}

.form-status {
  display: none;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  padding: 12px 14px;
  border-radius: 0;
}

.form-status.is-success {
  display: block;
  background: #1b5e20;
  color: #fff;
}

.form-status.is-error {
  display: block;
  background: #5e1b1b;
  color: #fff;
}

body.inquire-modal-open {
  overflow: hidden;
}

.inquire-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.85);
}

.inquire-modal.is-open {
  display: flex;
}

.inquire-modal__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.inquire-modal__panel {
  position: relative;
  z-index: 1;
  width: 517px;
  height: 715px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 32px;
  box-sizing: border-box;
  background: #3c4142;
}

.inquire-modal__panel:focus {
  outline: none;
}

.inquire-modal__title {
  width: 100%;
}

.inquire-modal .footer__form-title {
  display: inline-block;
  width: auto;
}

.inquire-modal__group {
  width: 100%;
  margin: 0 0 15px;
}

.inquire-modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.inquire-modal__item.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0;
}

.inquire-modal .inquire-modal__label {
  display: block;
  margin: 0 0 5px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  letter-spacing: 0;
}

.inquire-modal .inquire-modal__field {
  display: block;
  width: 100%;
  height: 38px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #636768;
  border-radius: 0;
  background-color: #484c4d;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  box-sizing: border-box;
  outline: none;
}

.inquire-modal .inquire-modal__field::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.inquire-modal .inquire-modal__field:focus {
  border-color: var(--color-gold);
  color: #fff;
}

.inquire-modal .inquire-modal__field:is(select) {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.inquire-modal .inquire-modal__message {
  height: 168px;
  min-height: 168px;
  resize: vertical;
}

.inquire-modal__submit.footer__submit {
  display: block;
  width: 100%;
  height: 45.6px;
  margin: 0;
  padding: 13px 12px;
  background-color: #e0bb7f;
  color: #121212;
  border: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 19.6px;
  text-align: center;
  box-shadow: none;
  transform: none;
  cursor: pointer;
}

.inquire-modal__submit.footer__submit:hover,
.inquire-modal__submit.footer__submit:focus-visible {
  background-color: #e0bb7f;
  color: #121212;
  box-shadow: none;
}

.inquire-modal__close {
  position: absolute;
  top: 35.7px;
  right: 25.8px;
  z-index: 2;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.inquire-modal__close img {
  display: block;
  width: 24px;
  height: 24px;
}

/* Bottom bar */
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 32px;
  width: 100%;
}

.footer__bar-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
  width: 100%;
}

.footer__brand-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: 0;
  transition: opacity 0.2s;
}

.footer__social-link:hover {
  opacity: 0.75;
}

.footer__social-link img {
  width: 24px;
  height: 25px;
  filter: none;
  opacity: 1;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #fff;
  margin: 0;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

.footer__legal a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--color-gold);
}

/* —— Responsive —— */
@media screen and (max-width: 1100px) {
  .footer__grid {
    gap: 40px;
  }
}

@media screen and (max-width: 991px) {
  .footer__container.container {
    padding: 48px 32px;
  }

  .footer__grid {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 32px;
  }

  .footer__copy-block {
    width: 100%;
    max-width: none;
    gap: 32px;
  }

  .footer__info {
    width: 100%;
    max-width: none;
  }

  .footer__title {
    width: auto;
    max-width: none;
  }

  .footer__form {
    width: 100%;
    height: auto;
    max-width: none;
    margin-left: 0;
  }

}

@media screen and (max-width: 767px) {
  .footer__container.container {
    padding: 32px 16px;
  }

  .footer__inner {
    gap: 40px;
  }

  .footer__lead {
    font-size: 16px;
  }

  .footer__title {
    font-size: 32px;
    line-height: 1.2em;
  }

  .footer__form {
    padding: 24px 16px;
    gap: 22px;
  }

  .footer__form-title {
    font-size: 24px;
    line-height: 1.2em;
  }

  .footer__form-fields {
    gap: 16px;
  }

  .field label {
    font-size: 12px;
    line-height: 15.6px;
    letter-spacing: 0.04em;
  }

  .field input,
  .field select,
  .field textarea {
    height: 52.4px;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 22.4px;
    color: rgba(255, 255, 255, 0.9);
  }

  .field textarea {
    height: 142px;
    min-height: 120px;
  }

  .footer__submit {
    font-size: 16px;
    padding: 14px 12px;
    height: 50.4px;
    line-height: 22.4px;
    font-weight: 600;
  }

  .inquire-modal {
    padding: 0;
  }

  .inquire-modal__panel {
    height: 665.8px;
    max-height: calc(100vh - 32px);
    padding: 16px;
  }

  .inquire-modal__close {
    top: 33.3px;
    right: 17.9px;
  }

  .inquire-modal__message {
    min-height: 168px;
  }

  .field textarea {
    min-height: 120px;
  }

  .footer__bar {
    padding-top: 32px;
  }

  .footer__copy,
  .footer__legal a {
    font-size: 14px;
    line-height: 19.6px;
  }
}

@media screen and (max-width: 479px) {
  .footer__contact {
    font-size: 13px;
  }

  .footer__legal {
    flex-wrap: nowrap;
    gap: 16px;
  }
}
