.contact-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--text-950);
}

.contact-hero__bg {
  position: absolute;
  inset: 0;
}

.contact-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, hsla(210, 45%, 8%, 0.94), hsla(210, 45%, 8%, 0.52)),
    linear-gradient(0deg, hsla(210, 45%, 8%, 0.35), transparent);
}

.contact-hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 90px;
}

.contact-hero__content span,
.contact-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  color: var(--primary-500);
  border-left: 3px solid var(--primary-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-hero__content h1 {
  max-width: 780px;
  color: white;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1.2rem;
}

.contact-hero__content p {
  max-width: 640px;
  color: hsla(0, 0%, 100%, 0.72);
  font-size: 1rem;
  line-height: 1.75;
}

.contact-section {
  padding: 6rem 0;
  background: var(--bg-100);
}

.contact-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2,
.quote-form h2 {
  color: var(--text-900);
  font-size: clamp(2.1rem, 3.8vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.contact-info > p,
.quote-form > p {
  color: var(--text-500);
  line-height: 1.75;
  margin-bottom: 1.7rem;
}

.contact-cards {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--bg-50);
  border: 1px solid var(--bg-300);
  border-radius: 16px;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px hsla(210, 45%, 8%, 0.08);
}

.contact-card svg {
  width: 24px;
  height: 24px;
  color: var(--primary-600);
  flex-shrink: 0;
}

.contact-card strong {
  display: block;
  color: var(--text-900);
  font-size: 0.98rem;
}

.contact-card span {
  color: var(--text-500);
  font-size: 0.84rem;
}

.contact-hours,
.contact-areas {
  padding: 1.2rem;
  background: var(--bg-50);
  border: 1px solid var(--bg-300);
  border-radius: 18px;
  margin-top: 1rem;
}

.contact-hours {
  display: flex;
  gap: 1rem;
}

.contact-hours svg {
  width: 26px;
  height: 26px;
  color: var(--primary-600);
  flex-shrink: 0;
}

.contact-hours h3,
.contact-areas h3 {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.contact-hours p,
.contact-areas p {
  color: var(--text-600);
  line-height: 1.6;
}

.contact-hours strong {
  display: block;
  color: var(--text-900);
}

.contact-hours span {
  display: block;
  margin-top: 0.65rem;
  color: var(--text-500);
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact-areas div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.contact-areas span {
  padding: 0.5rem 0.7rem;
  background: var(--bg-100);
  border-radius: 999px;
  color: var(--text-700);
  font-size: 0.8rem;
  font-weight: 700;
}

/* FORM */

.quote-form {
  padding: 2rem;
  background: var(--bg-50);
  border: 1px solid var(--bg-300);
  border-radius: 24px;
  box-shadow: 0 24px 70px hsla(210, 45%, 8%, 0.1);
}

.quote-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote-form__group {
  margin-bottom: 1rem;
}

.quote-form__group label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-800);
  font-size: 0.88rem;
  font-weight: 800;
}

.quote-form__group input,
.quote-form__group select,
.quote-form__group textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--bg-300);
  border-radius: 12px;
  background: var(--bg-100);
  color: var(--text-900);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-form__group input:focus,
.quote-form__group select:focus,
.quote-form__group textarea:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px hsla(12, 70%, 45%, 0.12);
}

.quote-form__group textarea {
  resize: vertical;
}

.quote-form__honeypot {
  display: none;
}

.quote-form__button {
  width: 100%;
  min-height: 52px;
  margin-top: 0.5rem;
  border: none;
  border-radius: 12px;
  background: var(--primary-600);
  color: white;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.quote-form__button:hover {
  background: var(--primary-500);
  transform: translateY(-2px);
}

.quote-form__button svg {
  width: 18px;
  height: 18px;
}

.quote-form__button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.quote-form__message {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-form__message.success {
  color: hsl(145, 63%, 34%);
}

.quote-form__message.error {
  color: var(--primary-700);
}

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

@media (max-width: 620px) {
  .contact-hero {
    min-height: 54vh;
  }

  .contact-hero__content,
  .contact-container {
    width: calc(100% - 32px);
  }

  .contact-section {
    padding: 4.5rem 0;
  }

  .quote-form {
    padding: 1.2rem;
    border-radius: 18px;
  }

  .quote-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-hours {
    flex-direction: column;
  }
}