.elementor-51 .elementor-element.elementor-element-eb1a8eb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-f14d553 */* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mortgage-page {
  background: #ffffff;
  color: #0b1b2f;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.mortgage-hero {
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(5, 19, 38, 0.84), rgba(5, 19, 38, 0.42)),
    url("https://acemortgage.co.uk/wp-content/uploads/2026/05/AdobeStock_301951593-1920x899-1.jpeg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 90px 7%;
}

.hero-content {
  max-width: 720px;
  color: #ffffff;
}

.eyebrow {
  color: #d9a64f;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-family: Georgia, serif;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1;
  margin-bottom: 24px;
}

.hero-text {
  font-size: 22px;
  line-height: 1.6;
  max-width: 590px;
  color: #eef3f8;
  margin-bottom: 34px;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-gold {
  background: linear-gradient(135deg, #f6d27c, #b98434);
  color: #08182d;
  box-shadow: 0 16px 40px rgba(185, 132, 52, 0.32);
}

.btn-dark {
  background: #071b34;
  color: #ffffff;
}

.btn:hover {
  transform: translateY(-4px);
}

.trust-strip {
  width: 86%;
  margin: -48px auto 70px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-strip div {
  background: #ffffff;
  padding: 24px 18px;
  border-radius: 22px;
  text-align: center;
  font-weight: 700;
  color: #071b34;
  box-shadow: 0 22px 55px rgba(8, 25, 48, 0.13);
  border: 1px solid rgba(185, 132, 52, 0.18);
  transform-style: preserve-3d;
  transition: 0.35s ease;
}

.trust-strip div:hover,
.service-card:hover,
.process-card:hover,
.calc-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-4deg);
  box-shadow: 0 30px 70px rgba(8, 25, 48, 0.18);
}

.section {
  padding: 85px 7%;
}

.section h2 {
  font-family: Georgia, serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  color: #071b34;
  margin-bottom: 22px;
}

.intro {
  text-align: center;
  max-width: 1050px;
  margin: 0 auto;
  padding-top: 20px;
}

.intro p,
.split p,
.calculator p,
.final-cta p {
  font-size: 18px;
  line-height: 1.8;
  color: #43546a;
}

.services {
  background: linear-gradient(180deg, #ffffff, #f5f8fc);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
  perspective: 1200px;
}

.service-card {
  min-height: 280px;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.95), rgba(246,248,252,0.8));
  border: 1px solid rgba(185, 132, 52, 0.2);
  box-shadow: 0 18px 50px rgba(8, 25, 48, 0.1);
  transition: 0.35s ease;
}

.service-card span {
  color: #b98434;
  font-size: 18px;
  font-weight: 900;
}

.service-card h3 {
  color: #071b34;
  font-size: 24px;
  margin: 18px 0 14px;
}

.service-card p {
  color: #53657a;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  background: #ffffff;
}

.check-list {
  list-style: none;
}

.check-list li {
  margin-bottom: 16px;
  padding: 20px 24px;
  background: #f7f9fc;
  border-radius: 18px;
  border-left: 5px solid #b98434;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(8, 25, 48, 0.08);
}

.process {
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(185,132,52,0.12), transparent 35%),
    #f7f9fc;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 38px;
  perspective: 1200px;
}

.process-card {
  padding: 36px 26px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(185, 132, 52, 0.2);
  box-shadow: 0 18px 50px rgba(8, 25, 48, 0.1);
  transition: 0.35s ease;
}

.process-card span {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f6d27c, #b98434);
  color: #071b34;
  font-weight: 900;
  margin-bottom: 18px;
}

.process-card h3 {
  color: #071b34;
  margin-bottom: 12px;
}

.process-card p {
  color: #53657a;
  line-height: 1.7;
}

.calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  background: #ffffff;
}

.calc-card {
  padding: 38px;
  border-radius: 32px;
  background: linear-gradient(145deg, #ffffff, #f4f7fb);
  border: 1px solid rgba(185, 132, 52, 0.22);
  box-shadow: 0 28px 70px rgba(8, 25, 48, 0.14);
  transition: 0.35s ease;
}

.calc-card label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #071b34;
}

.calc-card input {
  width: 100%;
  margin-bottom: 18px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #d7dee8;
  background: #ffffff;
  color: #071b34;
  font-size: 16px;
}

.result {
  margin-top: 14px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(185, 132, 52, 0.12);
  color: #071b34;
}

.faq {
  background: #f7f9fc;
}

.faq h2 {
  text-align: center;
}

.faq details {
  max-width: 950px;
  margin: 16px auto;
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(185, 132, 52, 0.18);
  box-shadow: 0 12px 36px rgba(8, 25, 48, 0.08);
}

.faq summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  color: #071b34;
}

.faq p {
  margin-top: 12px;
  color: #53657a;
  line-height: 1.7;
}

.final-cta {
  padding: 100px 7%;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(5, 19, 38, 0.88), rgba(5, 19, 38, 0.7)),
    url("https://acemortgage.co.uk/wp-content/uploads/2026/05/AdobeStock_301951593-1920x899-1.jpeg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.final-cta h2 {
  font-family: Georgia, serif;
  font-size: clamp(38px, 5vw, 64px);
  margin-bottom: 18px;
}

.final-cta p {
  color: #eef3f8;
  margin-bottom: 34px;
}

@media (max-width: 1024px) {
  .trust-strip,
  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .calculator {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mortgage-hero {
    min-height: 500px;
    padding: 70px 6%;
  }

  .trust-strip,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    width: 90%;
    margin-top: -35px;
  }

  .section {
    padding: 65px 6%;
  }
}/* End custom CSS */