/* Contact page — 2026 comp (hero + cream split + estimate form reuse) */
body.page-contact.home-2026 {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Success toast (fixed; auto-hide after 5s via JS) */
body.page-contact.home-2026 .contact-estimate-success {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 99990;
  max-width: min(420px, calc(100vw - 32px));
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.contact-estimate-success[hidden] {
  display: none !important;
}

body.page-contact.home-2026 .contact-estimate-success p {
  margin: 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(34, 139, 87, 0.95);
  border: 1px solid rgba(20, 100, 60, 0.45);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.contact-estimate-error {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 20px 0;
}

.contact-estimate-error[hidden] {
  display: none !important;
}

.contact-estimate-error p {
  margin: 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(180, 40, 40, 0.1);
  border: 1px solid rgba(180, 40, 40, 0.35);
  color: #6b1d1d;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

/* Estimate form: loading overlay (AJAX submit — contact page) */
body.page-contact.home-2026 .home-estimate__form-wrap {
  position: relative;
}

.contact-estimate-loading {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 28px;
  background: rgba(8, 26, 46, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.contact-estimate-loading[hidden] {
  display: none !important;
}

.contact-estimate-loading__spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--home-tan);
  border-radius: 50%;
  animation: contact-estimate-spin 0.75s linear infinite;
}

.contact-estimate-loading__label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes contact-estimate-spin {
  to {
    transform: rotate(360deg);
  }
}

body.page-contact.home-2026 .home-estimate__form[aria-busy="true"] {
  pointer-events: none;
}

body.page-contact.home-2026 .home-estimate__submit:disabled {
  opacity: 0.75;
  cursor: wait;
}

.contact-hero__license {
  margin: -10px 0 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 34px;
}

.contact-hero .services-hero__ctas {
  padding-top: 14px;
}

.contact-split {
  background: var(--home-cream);
  padding: 72px 20px 80px;
}

.contact-split__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.contact-split__title {
  margin: 0 0 8px;
  color: var(--home-navy);
  font-size: clamp(1.35rem, 2.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.contact-split__subtitle {
  margin: 0 0 18px;
  color: #a08052;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-split__body {
  margin: 0 0 18px;
  color: #2c3a4a;
  font-size: 15px;
  line-height: 1.65;
  max-width: 42rem;
}

.contact-split__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--home-navy);
  font-size: 15px;
  font-weight: 600;
}

.contact-split__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.55;
}

.contact-split__list i {
  width: 18px;
  text-align: center;
  opacity: 0.9;
  flex-shrink: 0;
}

.contact-split__list a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.contact-split__list a:hover {
  color: var(--home-navy-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-split__area {
  margin: -6px 0 16px;
  color: #3d556d;
  font-size: 14px;
  font-weight: 700;
}

.contact-split__map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(12, 39, 69, 0.12);
  border: 2px solid rgba(12, 39, 69, 0.08);
  background: #e8e4dc;
}

.contact-split__map-wrap iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

/* Bring the estimate section closer to comp spacing */
.contact-estimate.home-estimate {
  margin-top: 0;
  margin-bottom: 20px;
}

/* Blue-tinted scrim for contact form section (matches comp) */
body.page-contact.home-2026 .contact-estimate.home-estimate::before {
  background: linear-gradient(
    180deg,
    rgba(12, 39, 69, 0.55) 0%,
    rgba(8, 26, 46, 0.74) 100%
  );
}

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

@media (max-width: 767px) {
  .contact-split {
    padding: 56px 14px 64px;
  }

  .contact-split__map-wrap iframe {
    height: min(52vh, 320px);
  }
}

@media (max-width: 575px) {
  .contact-split {
    padding: 48px 12px 56px;
  }
}

