.elementor-9 .elementor-element.elementor-element-2d417c9{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-9 .elementor-element.elementor-element-40b7839{--display:flex;}/* Start custom CSS for html, class: .elementor-element-d114297 */.jf-page-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(9,33,59,.86) 0%, rgba(25,53,90,.62) 45%, rgba(25,53,90,.18) 100%),
    url("https://justfoundations.ca/wp-content/uploads/2026/07/foundation-repair.jpg") center center / cover no-repeat;
  padding: 15px 20px;
  color: #ffffff;
}

.jf-page-hero-inner {
  max-width: 1250px;
  margin: 0 auto;
}

.jf-page-hero-content {
  max-width: 1220px;
}

.jf-page-hero-content span {
  display: inline-block;
  background: #ed782c;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 20px;
}

.jf-page-hero-content h1 {
  color: #ffffff;
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.jf-page-hero-content p {
  color: rgba(255,255,255,.9);
  max-width: 620px;
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 28px;
}

.jf-page-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.jf-page-hero-btn,
.jf-page-hero-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
  transition: .25s ease;
}

.jf-page-hero-btn {
  background: #ed782c;
  color: #ffffff !important;
}

.jf-page-hero-btn:hover {
  background: #ffffff;
  color: #19355a !important;
}

.jf-page-hero-phone {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #ffffff !important;
}

.jf-page-hero-phone i {
  margin-right: 9px;
  color: #ed782c;
}

.jf-page-hero-phone:hover {
  background: #ed782c;
  border-color: #ed782c;
}

.jf-page-hero-phone:hover i {
  color: #ffffff;
}

@media (max-width: 700px) {
  .jf-page-hero {
    padding: 70px 18px;
    background:
      linear-gradient(90deg, rgba(9,33,59,.9) 0%, rgba(25,53,90,.72) 100%),
      url("https://justfoundations.ca/wp-content/uploads/2026/07/foundation-repair.jpg") center center / cover no-repeat;
  }

  .jf-page-hero-content h1 {
    font-size: 40px;
  }

  .jf-page-hero-content p {
    font-size: 16px;
  }

  .jf-page-hero-btn,
  .jf-page-hero-phone {
    width: 100%;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-57c1b8a */.jf-contact-section {

  padding: 10px 20px;
}

.jf-contact-inner {
  max-width: 1250px;
  margin: 0 auto;
}

.jf-contact-head {
  max-width: 1260px;
  margin: 0 auto 42px;

}

.jf-contact-head span {
  color: #ed782c;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: 13px;
}

.jf-contact-head h1 {
  color: #19355a;
  margin: 10px 0 14px;
  font-size: clamp(34px,4vw,52px);
  line-height: 1.1;
}

.jf-contact-head p {
  color: #566577;
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}

.jf-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: stretch;
}

.jf-contact-form-card,
.jf-contact-info-card {
  background: #ffffff;
  border: 1px solid rgba(25,53,90,.08);
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 14px 35px rgba(25,53,90,.08);
}

.jf-contact-form-card h2,
.jf-contact-info-card h2 {
  color: #19355a;
  margin: 0 0 10px;
  font-size: 28px;
}

.jf-contact-form-card p {
  color: #566577;
  line-height: 1.7;
  margin: 0 0 24px;
}

.jf-contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(25,53,90,.09);
}

.jf-contact-item i {
  width: 46px;
  height: 46px;
  background: #ed782c;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.jf-contact-item span {
  display: block;
  color: #19355a;
  font-weight: 800;
  margin-bottom: 5px;
}

.jf-contact-item a,
.jf-contact-item p {
  color: #566577;
  text-decoration: none;
  margin: 0;
  line-height: 1.55;
}

.jf-contact-item a:hover {
  color: #ed782c;
}

.jf-contact-services {
  margin-top: 24px;
  background: #f6f8fb;
  border-radius: 14px;
  padding: 22px;
}

.jf-contact-services h3 {
  color: #19355a;
  margin: 0 0 14px;
  font-size: 20px;
}

.jf-contact-services a {
  display: block;
  color: #19355a;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 0;
}

.jf-contact-services a:hover {
  color: #ed782c;
}

.jf-contact-map {
  margin-top: 30px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(25,53,90,.1);
  border: 1px solid rgba(25,53,90,.08);
}

.jf-contact-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Contact Form 7 Styling */
.jf-contact-form-card .wpcf7 form {
  display: grid;
  gap: 16px;
}

.jf-contact-form-card .wpcf7 p {
  margin: 0;
}

.jf-contact-form-card input,
.jf-contact-form-card textarea,
.jf-contact-form-card select {
  width: 100%;
  border: 1px solid rgba(25,53,90,.16);
  background: #f6f8fb;
  border-radius: 10px;
  padding: 14px 15px;
  font-size: 15px;
  color: #19355a;
  outline: none;
  transition: .25s ease;
}

.jf-contact-form-card textarea {
  min-height: 150px;
  resize: vertical;
}

.jf-contact-form-card input:focus,
.jf-contact-form-card textarea:focus,
.jf-contact-form-card select:focus {
  border-color: #ed782c;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(237,120,44,.12);
}

.jf-contact-form-card input[type="submit"],
.jf-contact-form-card .wpcf7-submit {
  background: #ed782c;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 15px 26px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  width: auto;
}

.jf-contact-form-card input[type="submit"]:hover,
.jf-contact-form-card .wpcf7-submit:hover {
  background: #19355a;
}

.jf-contact-form-card .wpcf7-not-valid-tip {
  color: #ed782c;
  font-size: 13px;
  margin-top: 6px;
}

.jf-contact-form-card .wpcf7-response-output {
  border-radius: 10px;
  margin: 18px 0 0;
  padding: 12px 14px;
}

@media (max-width: 950px) {
  .jf-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .jf-contact-section {
    padding: 60px 18px;
  }

  .jf-contact-form-card,
  .jf-contact-info-card {
    padding: 26px;
  }

  .jf-contact-map iframe {
    height: 300px;
  }
}/* End custom CSS */