.contact-hero {
  position: relative;
  min-height: clamp(250px, 34vw, 390px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(95deg, rgba(11, 15, 23, 0.86), rgba(11, 15, 23, 0.76)),
    url("../assets/images/home/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}

.contact-hero-inner {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem;
  padding-inline: clamp(1rem, 5vw, 5.5rem);
}

.contact-hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-hero-copy h1 {
  margin-top: 0.55rem;
  font-family: "Space Grotesk", sans-serif;
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1;
}

.contact-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.35rem;
  font-family: "Space Grotesk", sans-serif;
}

.contact-breadcrumbs a {
  color: inherit;
}

.contact-main {
  padding-inline: clamp(0.6rem, 2.4vw, 2.2rem);
}

.contact-info-section {
  background: #f3f3f3;
  padding: clamp(2rem, 4vw, 3.4rem) 0;
}

.contact-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  padding-inline: clamp(0.6rem, 2.4vw, 2.2rem);
}

.contact-info-card {
  background: #fff;
  border: 1px solid #ededed;
  text-align: center;
  padding: 2rem 1.2rem 1.65rem;
}

.contact-info-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #f4f3f8;
  color: #141923;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.contact-info-icon i {
  width: 31px;
  height: 31px;
  color: inherit;
}

.contact-info-card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.45rem;
  color: #11151e;
}

.contact-info-card p {
  color: #666d75;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info-card a {
  color: inherit;
}

.contact-message-box {
  border: 1px solid #d8d8d8;
  padding: clamp(1.2rem, 4vw, 3.4rem) clamp(1rem, 4vw, 3.6rem);
  background: transparent;
}

.contact-message-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  color: #121722;
}

.contact-message-form {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-message-form input,
.contact-message-form select,
.contact-message-form textarea {
  border: 0;
  border-radius: 0;
  background: #efeff5;
  padding: 1rem 1.05rem;
  color: #121722;
}

.contact-message-form textarea {
  grid-column: 1 / -1;
  min-height: 180px;
  resize: vertical;
}

.contact-submit-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  min-height: 58px;
  padding: 0.85rem 2.1rem;
  background: linear-gradient(135deg, #df0b3d, #be0934);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.contact-submit-btn:hover {
  background: linear-gradient(135deg, #be0934, #a9082d);
}

.contact-submit-feedback {
  grid-column: 1 / -1;
  display: none;
  margin-top: 0.2rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #b7e6c5;
  background: #edf9f1;
  color: #1f7a3f;
  font-weight: 600;
}

.contact-submit-feedback.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .contact-hero-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 2.2rem;
    padding-inline: clamp(0.7rem, 3.2vw, 1.4rem);
  }

  .contact-breadcrumbs {
    font-size: 1.05rem;
  }

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

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

@media (max-width: 640px) {
  .contact-hero {
    min-height: 220px;
    background:
      linear-gradient(95deg, rgba(11, 15, 23, 0.9), rgba(11, 15, 23, 0.8)),
      url("../assets/images/home/hero-bg.jpg");
    background-position: 64% center;
  }

  .contact-hero-kicker {
    font-size: 0.82rem;
  }

  .contact-breadcrumbs {
    font-size: 0.95rem;
  }

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

  .contact-info-card {
    padding: 1.4rem 1rem 1.2rem;
  }

  .contact-info-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 0.8rem;
  }

  .contact-info-icon i {
    width: 26px;
    height: 26px;
  }

  .contact-message-form {
    margin-top: 1rem;
    gap: 0.7rem;
  }

  .contact-message-form input,
  .contact-message-form select,
  .contact-message-form textarea {
    padding: 0.85rem 0.9rem;
  }

  .contact-message-form textarea {
    min-height: 150px;
  }

  .contact-submit-btn {
    min-height: 50px;
    padding: 0.72rem 1.5rem;
    font-size: 0.84rem;
  }
}
