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

.footer {
  background: #000;
  color: #fff;
}

.footer__container.container {
  padding-top: 100px;
  padding-bottom: 40px;
}

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

/* Main row: copy left + form right */
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 517px);
  gap: 48px 64px;
  align-items: start;
  width: 100%;
}

.footer__copy-block {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
  max-width: 560px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.footer__lead {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 36em;
}

.footer__lead a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

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

.footer__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.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: 36px 32px;
  width: 100%;
  max-width: 517px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  box-sizing: border-box;
}

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

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

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

.field label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.95);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  background: #484c4d;
  border: 1px solid #636768;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.9);
  padding: 14px 16px;
  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.35);
}

.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: 140px;
  height: auto;
  resize: vertical;
}

.footer__submit {
  width: 100%;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: #121212;
  background: #e0bb7f;
  border: 0;
  padding: 15px 16px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.footer__submit:hover {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px #e0bb7f;
}

.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;
}

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

.footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  width: 100%;
}

.footer__brand-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.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: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

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

.footer__legal a {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer__title {
    max-width: none;
  }

  .footer__form {
    max-width: none;
    margin-left: 0;
  }

  .footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__legal {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 767px) {
  .footer__container.container {
    padding-top: 56px;
    padding-bottom: 28px;
  }

  .footer__inner {
    gap: 36px;
  }

  .footer__info {
    gap: 16px;
  }

  .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;
  }

  .footer__submit {
    font-size: 16px;
    padding: 14px 12px;
  }

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

  .footer__bar {
    padding-top: 24px;
  }

  .footer__copy,
  .footer__legal a {
    font-size: 13px;
  }
}

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

  .footer__legal {
    gap: 8px 16px;
  }
}
