:root {
  --gold: #c08f2d;
  --dark: #161412;
  --panel: #2b2a29;
  --muted: #b3a190;
  --muted-2: #bfbfc0;
  --frame: 1440px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--dark);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.contact {
  width: min(100%, var(--frame));
  margin: 0 auto;
  background: var(--dark);
  position: relative;
}

.contact-hero {
  position: relative;
  height: 442px;
  overflow: hidden;
}

.contact-hero__bg {
  position: absolute;
  left: -113px;
  right: -113px;
  top: 0;
  height: 100%;
}

.contact-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(-6%);
  filter: saturate(1.05) contrast(1.05);
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.contact-hero__content {
  position: absolute;
  left: 50%;
  top: 210px;
  transform: translateX(-50%);
  width: 667px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  text-align: center;
}

.contact-hero__title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 59.952px;
  line-height: 1.072;
  color: #ede8de;
  text-transform: uppercase;
}

.contact-hero__subtitle {
  margin: 0;
  font-size: 20.384px;
  line-height: 1.63;
  color: var(--muted);
  text-transform: capitalize;
}

.contact-hero__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.contact-main {
  position: relative;
}

.contact-panel {
  padding: 80px 0 0;
}

.contact-panel__inner {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 565px 635px;
  gap: 0;
  align-items: start;
}

.contact-info__title,
.contact-form__title {
  margin: 0 0 34px;
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 33px;
  line-height: 1.072;
  color: var(--gold);
  text-transform: uppercase;
}

.contact-info {
  padding-left: 0;
}

.contact-info__item {
  display: flex;
  gap: 13.392px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-info__icon {
  width: 49.718px;
  height: 51.79px;
  border-radius: 100px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.contact-info__icon-img {
  width: 24.859px;
  height: 24.859px;
  object-fit: contain;
}

.contact-info__label {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.contact-info__text {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted-2);
  text-transform: capitalize;
  max-width: 320px;
}

.contact-form {
  padding-left: 0;
}

.contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 11.16px;
}

.field__label {
  font-size: 16.74px;
  color: #fff;
  text-transform: capitalize;
}

.field__input {
  width: 100%;
  height: 36.828px;
  border: 0;
  outline: none;
  border-radius: 8.928px;
  background: var(--panel);
  padding: 11.16px;
  color: #fff;
  font-size: 14px;
}

.field__input--textarea {
  height: 64.728px;
  resize: none;
}

.field__input::placeholder {
  color: #bcbcbc;
  text-transform: capitalize;
}

.contact-form__btn {
  margin-top: 6px;
  height: 52.452px;
  border: 0;
  border-radius: 8.928px;
  background: var(--gold);
  color: var(--dark);
  font-size: 16.74px;
  text-transform: capitalize;
  cursor: pointer;
}

.contact-form__btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.contact-form__status {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--muted);
}

.contact-form__status.is-success {
  color: var(--gold);
}

.contact-form__status.is-error {
  color: #ffb4b4;
}

.contact-panel__divider {
  margin-top: 53px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.contact-map {
  height: 354px;
  overflow: hidden;
}

.contact-map__embed {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1100px) {
  .contact-panel__inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-info__text {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .contact-hero__content {
    width: calc(100% - 48px);
  }

  .contact-hero__title {
    font-size: clamp(34px, 6.2vw, 60px);
  }

  .contact-hero__subtitle {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .contact-panel {
    padding-top: 56px;
  }

  .contact-info__title,
  .contact-form__title {
    font-size: 26px;
    margin-bottom: 22px;
  }

  .contact-map {
    height: 260px;
  }
}
