body {
  background: #fffaf4;
}

/* Keep header behavior from shared main stylesheet */

.mortgage-hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  padding: 120px 20px 70px;
  color: #fff;
  background: url("../images/mortgage.avif") center/cover no-repeat;
}

.mortgage-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(31, 12, 0, 0.88) 18%, rgba(95, 33, 0, 0.62) 52%, rgba(255, 122, 26, 0.3) 100%);
}

.mortgage-hero-wrap {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.mortgage-hero-copy {
  max-width: 700px;
}

.mortgage-kicker {
  margin: 0 0 16px;
  color: #ffd4ad;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mortgage-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.1;
  color: #fff;
}

.mortgage-hero h1 em {
  color: #ffb35f;
  font-style: normal;
}

.mortgage-hero p {
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 245, 230, 0.95);
}

.mortgage-legal-inline {
  margin-top: -8px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 225, 194, 0.95);
}

.mortgage-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mortgage-features {
  padding: 78px 20px 68px;
  background: #fff;
}

.mortgage-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 18px;
  width: min(1120px, 100%);
  margin: 46px auto 0;
}

.mortgage-feature-grid article {
  padding: 24px 20px;
  border: 1px solid #f0ddcb;
  border-radius: 12px;
  background: #fffaf4;
}

.mortgage-feature-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.mortgage-feature-grid p {
  margin: 0;
  color: #775e49;
  font-size: 15px;
  line-height: 1.65;
}

.mortgage-process {
  padding: 12px 20px 78px;
  background: #fff;
}

.mortgage-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
  width: min(1120px, 100%);
  margin: 42px auto 0;
}

.mortgage-process-grid article {
  padding: 22px 20px;
  border-radius: 12px;
  border: 1px solid #efd8c1;
  background: #fff9f2;
}

.mortgage-process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: #ff8a22;
  font-size: 13px;
  font-weight: 700;
}

.mortgage-process-grid h3 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.mortgage-process-grid p {
  margin: 0;
  color: #775e49;
  font-size: 14px;
  line-height: 1.65;
}

.live {
  padding-top: 74px;
}

.mortgage-cta {
  padding: 78px 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #ff8a22 0%, #b84700 100%);
}

.mortgage-cta h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
}

.mortgage-cta p {
  margin: 18px auto 26px;
  width: min(760px, 100%);
  color: rgba(255, 245, 232, 0.9);
}

.mortgage-disclaimer {
  margin: 0 auto 24px;
  width: min(980px, 100%);
  padding: 13px 14px;
  border: 1px solid rgba(255, 225, 188, 0.55);
  border-radius: 10px;
  text-align: left;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 242, 225, 0.95);
  background: rgba(82, 29, 0, 0.28);
}

@media (max-width: 900px) {
  .mortgage-feature-grid {
    grid-template-columns: 1fr;
  }

  .mortgage-process-grid {
    grid-template-columns: 1fr;
  }

  .mortgage-hero {
    min-height: 72vh;
    padding-top: 110px;
  }
}
