/*
  Contact page minimalist design.
*/

.contact-page {
  background: #eef1f6;
  color: #111827;
}

.contact-page__hero {
  padding: clamp(108px, 10vw, 142px) 0 clamp(52px, 5vw, 70px);
  background:
    radial-gradient(55% 100% at 50% 0%, rgba(48, 101, 255, 0.2), rgba(48, 101, 255, 0)),
    linear-gradient(102deg, #060f24 0%, #08142d 48%, #081938 100%);
}

.contact-page__hero-inner {
  width: min(1220px, calc(100% - 2rem));
  max-width: 1220px;
}

.contact-page__eyebrow {
  margin: 0;
  color: #73a7ff;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-page__title {
  margin: 12px 0 0;
  max-width: 760px;
  color: #fff;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: clamp(38px, 5.3vw, 62px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.contact-page__subtitle {
  margin: 12px 0 0;
  max-width: 560px;
  color: #a9b8d2;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.contact-page__content {
  padding: 0 0 92px;
}

.contact-page__content-inner {
  width: min(1220px, calc(100% - 2rem));
  max-width: 1220px;
}

.contact-page__panel {
  margin-top: -22px;
  border-radius: 20px;
  border: 1px solid #dde3ee;
  background: #fff;
  box-shadow: 0 16px 38px rgba(13, 23, 44, 0.08);
  padding: clamp(18px, 2.2vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(16px, 2.2vw, 28px);
}

.contact-page__details h2 {
  margin: 0;
  color: #0f172a;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-page__details p {
  margin: 10px 0 0;
  color: #5f6b81;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.contact-page__meta {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-page__meta li {
  border-radius: 14px;
  border: 1px solid #e4e8f1;
  background: #f8fafc;
  padding: 12px 14px;
}

.contact-page__meta-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-page__meta-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #d6ddee;
  background: #ffffff;
  color: #4a68a6;
  display: inline-grid;
  place-items: center;
}

.contact-page__meta-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-page__meta-title {
  display: inline-block;
  color: #7a8496;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-page__meta a {
  margin-top: 4px;
  display: inline-block;
  color: #1e293b;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.contact-page__map {
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid #dde3ee;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(14, 23, 42, 0.06);
  padding: clamp(14px, 1.8vw, 20px);
}

.contact-page__map h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-page__map-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d8dfec;
  background: #e9edf5;
}

.contact-page__map-frame iframe {
  width: 100%;
  height: clamp(280px, 36vw, 400px);
  border: 0;
  display: block;
}

.contact-page__map-directions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #2563eb;
  background: linear-gradient(145deg, #3270ff, #2659d6);
  color: #ffffff;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(19, 43, 101, 0.28);
}

.contact-page__map-directions:hover,
.contact-page__map-directions:focus-visible {
  outline: none;
  background: linear-gradient(145deg, #3a78ff, #2c65e2);
}

.contact-page__form-wrap {
  min-width: 0;
}

.contact-page__notice {
  margin: 0 0 12px;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.contact-page__notice p {
  margin: 0;
}

.contact-page__notice p + p {
  margin-top: 4px;
}

.contact-page__notice--success {
  border: 1px solid #bfead0;
  background: #ebfff3;
  color: #0f7a47;
}

.contact-page__notice--error {
  border: 1px solid #f1c3c3;
  background: #fff1f1;
  color: #a82626;
}

.contact-form {
  display: grid;
  gap: 12px;
}

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

.contact-form__field {
  display: grid;
  gap: 6px;
}

.contact-form__field label {
  color: #243247;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d3dae8;
  background: #ffffff;
  color: #172034;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  padding: 10px 12px;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: #4e86ff;
  box-shadow: 0 0 0 3px rgba(78, 134, 255, 0.16);
}

.contact-form__field--message {
  grid-column: 1 / -1;
}

.contact-form__submit {
  margin-top: 4px;
  appearance: none;
  border: 1px solid #2563eb;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 22px;
  background: linear-gradient(145deg, #3270ff, #2659d6);
  color: #fff;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  justify-self: start;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  outline: none;
  background: linear-gradient(145deg, #3a78ff, #2c65e2);
}

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

@media (max-width: 760px) {
  .contact-page__hero-inner,
  .contact-page__content-inner {
    width: min(1220px, calc(100% - 1.25rem));
  }

  .contact-page__hero {
    padding: 96px 0 42px;
  }

  .contact-page__title {
    font-size: clamp(34px, 11vw, 46px);
  }

  .contact-page__subtitle {
    font-size: 15px;
  }

  .contact-page__content {
    padding-bottom: 72px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-form__submit {
    width: 100%;
  }
}
