.contact-page {
  --contact-navy: #062557;
  --contact-navy-dark: #031a40;
  --contact-orange: #f05a1a;
  --contact-gold: #f3b51f;
  --contact-green: #52a922;
  --contact-ink: #071f49;
  --contact-muted: #5c6980;
  --contact-line: #dbe5f0;
  --contact-soft: #f5f8fc;
  color: var(--contact-ink);
  background: #ffffff;
}

.contact-container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.contact-kicker {
  margin: 0 0 10px;
  color: var(--contact-orange);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-hero {
  color: #ffffff;
  background: linear-gradient(115deg, var(--contact-navy-dark), var(--contact-navy));
  overflow: hidden;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
  align-items: stretch;
  min-height: 560px;
}

.contact-hero-copy {
  display: grid;
  align-content: center;
  padding: 64px 42px 64px 0;
}

.contact-hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.contact-hero-copy > p:not(.contact-kicker) {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  font-weight: 720;
}

.contact-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-trust-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 850;
}

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

.contact-primary,
.contact-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 950;
}

.contact-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #ff6b25, var(--contact-orange));
  box-shadow: 0 12px 24px rgba(240, 90, 26, 0.22);
}

.contact-secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.contact-hero-image {
  position: relative;
  min-height: 520px;
  margin: 0;
}

.contact-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 26, 64, 0.68), rgba(3, 26, 64, 0.08) 52%, rgba(3, 26, 64, 0.36));
}

.contact-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% center;
}

.contact-main {
  padding: 48px 0 32px;
  background: var(--contact-soft);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: start;
}

.contact-info-panel {
  display: grid;
  gap: 18px;
}

.contact-info-card,
.contact-form-card,
.contact-feature-grid article,
.contact-map-card,
.contact-faq details,
.contact-cta-card {
  background: #ffffff;
  border: 1px solid var(--contact-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(6, 37, 87, 0.07);
}

.contact-info-card {
  padding: 24px;
}

.contact-info-card h2,
.contact-form-heading h2,
.contact-section-heading h2,
.contact-map-copy h2,
.contact-cta-card h2 {
  margin: 0;
  color: var(--contact-navy);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.05;
}

.contact-detail-list {
  display: grid;
  gap: 15px;
  margin-top: 18px;
}

.contact-detail-list a,
.contact-detail-list p {
  margin: 0;
  color: var(--contact-ink);
  text-decoration: none;
  line-height: 1.4;
  font-weight: 800;
}

.contact-detail-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--contact-muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-hours {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.contact-hours p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: var(--contact-muted);
}

.contact-hours strong {
  color: var(--contact-ink);
}

.contact-note {
  margin: 18px 0 0;
  padding: 12px;
  color: #8a4500;
  background: #fff5e8;
  border: 1px solid #f3d1a9;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.4;
}

.contact-form-card {
  padding: 28px;
}

.contact-form-heading p:not(.contact-kicker) {
  margin: 10px 0 0;
  color: var(--contact-muted);
  font-weight: 700;
}

.contact-alert {
  margin-top: 18px;
  padding: 13px 14px;
  border-radius: 8px;
  font-weight: 900;
}

.contact-alert.is-success {
  color: #176707;
  background: #eff9eb;
  border: 1px solid #c8e9bd;
}

.contact-alert.is-error {
  color: #9d1f1f;
  background: #fff0f0;
  border: 1px solid #f3c5c5;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.contact-field {
  display: grid;
  gap: 7px;
}

.contact-field label {
  color: var(--contact-navy);
  font-size: 0.9rem;
  font-weight: 950;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--contact-ink);
  background: #ffffff;
  border: 1px solid var(--contact-line);
  border-radius: 8px;
  font: inherit;
}

.contact-field textarea {
  min-height: 134px;
  padding-top: 12px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 3px solid rgba(240, 90, 26, 0.16);
  border-color: var(--contact-orange);
}

.contact-full,
.contact-form-footer {
  grid-column: 1 / -1;
}

.contact-hidden {
  position: absolute;
  left: -9999px;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-form-footer button {
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(180deg, #ff6b25, var(--contact-orange));
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.contact-form-footer p {
  margin: 0;
  color: var(--contact-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.contact-office-details,
.contact-map-section,
.contact-faq,
.contact-cta {
  padding: 46px 0;
}

.contact-section-heading {
  margin-bottom: 22px;
  text-align: center;
}

.contact-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.contact-feature-grid article {
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
}

.contact-feature-grid span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--contact-navy);
  border-radius: 8px;
  font-weight: 950;
}

.contact-feature-grid h3 {
  margin: 0;
  color: var(--contact-navy);
  font-size: 1rem;
  line-height: 1.2;
}

.contact-map-section {
  background: var(--contact-soft);
}

.contact-map-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: stretch;
}

.contact-map-copy {
  display: grid;
  align-content: center;
}

.contact-map-copy p:not(.contact-kicker) {
  margin: 14px 0 22px;
  color: var(--contact-muted);
  font-weight: 720;
  line-height: 1.55;
}

.contact-map-card {
  min-height: 290px;
  display: grid;
  align-content: end;
  padding: 28px;
  color: #ffffff;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(3, 26, 64, 0.92), rgba(6, 37, 87, 0.74)),
    radial-gradient(circle at 72% 34%, rgba(243, 181, 31, 0.35), transparent 22%),
    #08265a;
}

.contact-map-card span {
  color: var(--contact-gold);
  font-weight: 950;
  text-transform: uppercase;
}

.contact-map-card strong {
  margin-top: 7px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

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

.contact-faq details {
  padding: 18px;
}

.contact-faq summary {
  color: var(--contact-navy);
  cursor: pointer;
  font-weight: 950;
}

.contact-faq p {
  margin: 12px 0 0;
  color: var(--contact-muted);
  line-height: 1.5;
}

.contact-cta {
  padding-top: 24px;
}

.contact-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  color: #ffffff;
  background: linear-gradient(105deg, var(--contact-navy-dark), var(--contact-navy));
}

.contact-cta-card h2 {
  color: #ffffff;
}

.contact-cta-card p:not(.contact-kicker) {
  max-width: 710px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 720;
  line-height: 1.5;
}

.contact-mobile-call {
  display: none;
}

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

  .contact-hero-copy {
    padding-right: 0;
  }

  .contact-hero-image {
    min-height: 390px;
    margin-bottom: 28px;
  }

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

  .contact-cta-card {
    display: grid;
  }
}

@media (max-width: 680px) {
  .contact-container {
    width: min(100% - 22px, 1120px);
  }

  .contact-hero-grid {
    min-height: auto;
  }

  .contact-hero-copy {
    padding: 38px 0 24px;
  }

  .contact-hero-image {
    min-height: 330px;
  }

  .contact-hero-actions,
  .contact-form-footer {
    display: grid;
  }

  .contact-primary,
  .contact-secondary,
  .contact-form-footer button {
    width: 100%;
  }

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

  .contact-hours p {
    display: grid;
  }

  .contact-feature-grid,
  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-mobile-call {
    position: sticky;
    bottom: 0;
    z-index: 900;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--contact-orange);
    text-decoration: none;
    font-weight: 950;
  }
}
