.contact-hero {
  padding: 82px 0 72px;
  background:
    radial-gradient(circle at 12% 20%, rgba(52, 116, 232, .14), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #eef4fb 100%);
  border-bottom: 1px solid #e6edf6;
}

.contact-hero h1 {
  max-width: 760px;
  color: #0f172a;
  font-size: clamp(2.4rem, 4.7vw, 4.2rem);
  letter-spacing: -.05em;
}

.contact-hero > .wrap > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: #475569;
  font-size: 1.06rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-actions .button,
.map-button {
  min-width: 150px;
  justify-content: center;
  border-radius: 10px;
  box-shadow: none;
}

.button-ghost {
  background: #fff;
  color: #2563eb;
  border: 1px solid #dbe7f6;
}

.contact-modern {
  background: #fff;
}

.contact-modern-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.contact-info-list {
  display: grid;
  gap: 16px;
}

.contact-info-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid #e6edf6;
  border-radius: 18px;
  background: #f8fafc;
}

.contact-info-list article span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #eaf1ff;
  color: #2563eb;
  font-size: 1.35rem;
}

.contact-info-list h2 {
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 1.15rem;
}

.contact-info-list p {
  margin: 0;
  color: #475569;
}

.contact-info-list a {
  color: inherit;
  text-decoration: none;
}

.contact-info-list a:hover {
  color: #2563eb;
}

.map-button {
  width: fit-content;
  margin-top: 8px;
}

.contact-modern-form,
.faq-form {
  border: 1px solid #e4ebf5 !important;
  border-radius: 20px !important;
  background: #fff !important;
  color: #0f172a !important;
  box-shadow: 0 22px 55px rgba(15, 23, 42, .09) !important;
}

.contact-modern-form {
  display: grid;
  gap: 15px;
  padding: 38px;
}

.contact-modern-form h2,
.faq-form h3 {
  color: #0f172a !important;
}

.contact-modern-form label,
.faq-form label {
  color: #334155 !important;
  font-weight: 700;
}

.contact-modern-form input,
.contact-modern-form textarea,
.faq-form input,
.faq-form textarea {
  border: 1px solid #dbe4ef !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04) !important;
  outline: 0;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.contact-modern-form input:focus,
.contact-modern-form textarea:focus,
.faq-form input:focus,
.faq-form textarea:focus {
  border-color: #7aa7f7 !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .13) !important;
}

.contact-modern-form .button,
.faq-form .button {
  justify-content: center;
  border-radius: 10px;
  box-shadow: none;
}

.callout p a {
  text-decoration: none;
}

.callout-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.callout-actions .button {
  min-width: 148px;
  justify-content: center;
}

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

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

  .contact-actions,
  .callout-actions {
    flex-direction: column;
  }

  .contact-actions .button,
  .callout-actions .button,
  .map-button {
    width: 100%;
  }

  .contact-info-list article {
    grid-template-columns: 46px 1fr;
    padding: 20px;
  }

  .contact-info-list article span {
    width: 46px;
    height: 46px;
  }

  .contact-modern-form {
    padding: 26px 22px;
  }
}


/* Contact readability and balance polish */
.contact-actions{gap:14px}.contact-actions .button,.map-button{min-height:48px;padding:15px 22px;color:#fff !important;font-family:Raleway,Arial,sans-serif;font-size:.86rem;font-weight:800;letter-spacing:.01em;line-height:1.15;text-decoration:none}.contact-actions .button{background:#2563eb}.contact-actions .button:hover{background:#1d4ed8;color:#fff !important}.contact-actions .button-light{background:#fff;color:#1d4ed8 !important;border:1px solid #d8e5f7}.contact-actions .button-light:hover{background:#eff6ff;color:#1e40af !important}.contact-actions .button-ghost,.map-button{background:#0f172a;color:#fff !important;border:1px solid #0f172a}.contact-actions .button-ghost:hover,.map-button:hover{background:#2563eb;border-color:#2563eb;color:#fff !important}.map-button{display:inline-flex;align-items:center;justify-content:center;width:max-content;margin-top:14px}.contact-modern-grid{align-items:stretch}.contact-info-list,.contact-modern-form{height:100%}.contact-info-list{grid-auto-rows:1fr}.contact-info-list article{align-content:center}.contact-modern-form{align-content:start}.contact-modern-form .button{min-height:50px;color:#fff !important;font-size:.86rem;font-weight:800;letter-spacing:.01em}.contact-modern-form .button:hover{color:#fff !important}@media(max-width:880px){.contact-info-list,.contact-modern-form{height:auto}.contact-info-list{grid-auto-rows:auto}}@media(max-width:560px){.contact-actions{gap:14px}.contact-actions .button,.map-button{min-height:48px}}


/* Focused contact CTA alignment polish */
.contact-modern-grid{align-items:stretch}.contact-info-list{display:flex;flex-direction:column;height:100%;gap:14px}.contact-info-list article{flex:1;min-height:0}.map-button{margin-top:auto;min-height:54px;padding:17px 26px;border-radius:11px;background:#0f172a !important;border:1px solid #0f172a !important;color:#fff !important;font-size:.96rem !important;font-weight:900 !important;letter-spacing:.005em !important;line-height:1.1 !important;box-shadow:0 12px 28px rgba(15,23,42,.14) !important}.map-button:hover{background:#2563eb !important;border-color:#2563eb !important;color:#fff !important}.contact-modern-form{height:100%;min-height:100%}@media(max-width:880px){.contact-info-list,.contact-modern-form{height:auto}.map-button{margin-top:10px}}@media(max-width:560px){.map-button{width:100%;min-height:52px;font-size:.92rem !important}}


/* Heading readability safety override */
h1,h2,.page-content-title,.contact-hero h1,.license-content-intro h1{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;font-weight:600 !important;letter-spacing:normal !important;line-height:1.22 !important;font-stretch:normal !important;text-transform:none !important;transform:none}
@media(max-width:560px){h1,h2,.page-content-title,.contact-hero h1,.license-content-intro h1{line-height:1.26 !important;letter-spacing:normal !important}}
