.contact-modern {
  padding: 72px 0 82px;
  background:
    radial-gradient(circle at 8% 8%, rgba(241, 75, 5, .08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7f7fa 100%);
  color: #171535;
}

.contact-modern-heading {
  max-width: 990px;
  margin-bottom: 44px;
}

.contact-modern-kicker,
.contact-modern-card-heading > span {
  display: inline-block;
  margin-bottom: 10px;
  color: #c43c04;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-modern-card-heading > span {
  display: block;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.contact-modern-heading h2 {
  margin: 0 0 14px;
  color: #171535;
  font-family: 'Raleway', sans-serif;
  font-size: 39px;
  font-weight: 700;
  line-height: 1.15;
}

.contact-modern-heading p {
  max-width: 940px;
  margin: 0;
  color: #66656f;
  font-size: 16px;
  line-height: 1.75;
}

.contact-modern-decor {
  display: block;
  width: 78px;
  height: 4px;
  margin-top: 22px;
  border-radius: 999px;
  background: #f14b05;
}

.contact-modern-map-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 10px;
  border: 1px solid #e4e3e9;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(23, 21, 53, .10);
}

.contact-modern-map-card #contact-page-google-map {
  width: 100%;
  height: 390px;
  border-radius: 18px;
}

.contact-modern-map-badge {
  position: absolute;
  left: 32px;
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #171535;
  box-shadow: 0 10px 28px rgba(23, 21, 53, .22);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.contact-modern-map-badge i {
  color: #c43c04;
}

.contact-modern-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .8fr);
  gap: 30px;
  align-items: stretch;
}

.contact-modern-form-card,
.contact-modern-details {
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(23, 21, 53, .09);
}

.contact-modern-form-card {
  padding: 42px;
  border: 1px solid #e5e4ea;
  background: #fff;
}

.contact-modern-details {
  padding: 42px 34px;
  background: #171535;
  color: #fff;
}

.contact-modern-card-heading {
  margin-bottom: 28px;
}

.contact-modern-card-heading h3 {
  margin: 0 0 11px;
  color: #171535;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-modern-card-heading p {
  margin: 0;
  color: #72717d;
  font-size: 15px;
  line-height: 1.7;
}

.contact-modern-card-heading-light h3,
.contact-modern-card-heading-light p {
  color: #fff;
}

.contact-modern-card-heading-light p {
  color: rgba(255, 255, 255, .70);
}

.contact-modern-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-modern-field-full {
  grid-column: 1 / -1;
}

.contact-modern-field label,
.contact-modern-security label {
  display: block;
  margin-bottom: 8px;
  color: #171535;
  font-size: 13px;
  font-weight: 800;
}

.contact-modern-field label span,
.contact-modern-security label span {
  color: #c43c04;
}

.contact-modern-field input,
.contact-modern-field textarea,
.contact-modern-security input {
  width: 100%;
  border: 1px solid #dedde5;
  border-radius: 13px;
  outline: none;
  background: #fafafd;
  color: #171535;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-modern-field input,
.contact-modern-security input {
  height: 54px;
  padding: 0 17px;
}

.contact-modern-field textarea {
  min-height: 145px;
  padding: 15px 17px;
  resize: vertical;
}

.contact-modern-field input:focus,
.contact-modern-field textarea:focus,
.contact-modern-security input:focus {
  border-color: #c43c04;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(241, 75, 5, .10);
}

.contact-modern-field small {
  display: block;
  margin-top: 7px;
  color: #666573;
  font-size: 12px;
  text-align: right;
}

.contact-modern-security {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 18px;
  border-radius: 14px;
  background: #f3f2f7;
}

.contact-modern-security label {
  margin-bottom: 4px;
}

.contact-modern-security p {
  margin: 0;
  color: #6f6e79;
  font-size: 13px;
}

.contact-modern-security input {
  flex: 0 0 112px;
  background: #fff;
  text-align: center;
}

.contact-modern-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}

.contact-modern-submit .thm-btn {
  flex: 0 0 auto;
  min-width: 190px;
  border: 0;
  border-radius: 13px;
  background: #f14b05;
  box-shadow: 0 12px 25px rgba(241, 75, 5, .22);
  color: #fff;
}

.contact-modern-submit .thm-btn:hover,
.contact-modern-submit .thm-btn:focus {
  background: #171535;
  color: #fff;
}

.contact-modern-submit p {
  margin: 0;
  color: #666573;
  font-size: 12px;
  line-height: 1.5;
}

.contact-modern-alert ul {
  margin-bottom: 0;
}

.contact-modern-list {
  display: grid;
  gap: 13px;
}

.contact-modern-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 86px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

a.contact-modern-item:hover,
a.contact-modern-item:focus {
  transform: translateY(-2px);
  border-color: rgba(241, 75, 5, .65);
  background: rgba(255, 255, 255, .10);
  color: #fff;
  text-decoration: none;
}

.contact-modern-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #f14b05;
  color: #fff;
  font-size: 19px;
}

.contact-modern-item strong {
  display: block;
  margin: 2px 0 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.contact-modern-item p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

@media (max-width: 991px) {
  .contact-modern-grid {
    grid-template-columns: 1fr;
  }

  .contact-modern-details {
    padding: 38px;
  }

  .contact-modern-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .contact-modern {
    padding: 48px 0 58px;
  }

  .contact-modern-heading {
    margin-bottom: 30px;
    text-align: center;
  }

  .contact-modern-heading h2 {
    font-size: 30px;
  }

  .contact-modern-kicker {
    font-size: 11px;
  }

  .contact-modern-heading p {
    font-size: 15px;
    line-height: 1.65;
  }

  .contact-modern-decor {
    margin-right: auto;
    margin-left: auto;
  }

  .contact-modern-map-card {
    margin-bottom: 22px;
    padding: 7px;
    border-radius: 19px;
  }

  .contact-modern-map-card #contact-page-google-map {
    height: 290px;
    border-radius: 14px;
  }

  .contact-modern-map-badge {
    right: 20px;
    bottom: 20px;
    left: 20px;
    justify-content: center;
  }

  .contact-modern-grid {
    gap: 22px;
  }

  .contact-modern-form-card,
  .contact-modern-details {
    padding: 28px 21px;
    border-radius: 19px;
  }

  .contact-modern-card-heading h3 {
    font-size: 27px;
  }

  .contact-modern-fields,
  .contact-modern-list {
    grid-template-columns: 1fr;
  }

  .contact-modern-security,
  .contact-modern-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-modern-security input,
  .contact-modern-submit .thm-btn {
    flex-basis: auto;
    width: 100%;
  }

  .contact-modern-submit p {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-modern-item,
  .contact-modern-field input,
  .contact-modern-field textarea,
  .contact-modern-security input {
    transition: none;
  }
}

.contact-modern-details .contact-modern-card-heading > span { color: #ff8b55; }
