:root {
  --jec-graphite: #202020;
  --jec-graphite-2: #595959;
  --jec-linen: #f4f2ee;
  --jec-paper: #fbf8f4;
  --jec-turquoise: #2d98d4;
  --jec-turquoise-bright: #79d2f7;
  --jec-white: #ffffff;
  --jec-line: rgba(89, 89, 89, 0.12);
  --jec-shadow: 0 18px 54px rgba(18, 18, 18, 0.14);
  --jec-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
  --jec-serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --jec-frame-max: 1720px;
  --jec-content-max: 1640px;
}

.jec-homepage-canvas,
.jec-homepage-canvas .entry-content,
.jec-home {
  margin: 0;
  max-width: none;
}

.jec-homepage-canvas .entry-content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.jec-home {
  font-family: var(--jec-sans);
}

.jec-hero-section {
  background: #141414;
  padding: 14px 14px 0;
}

.jec-hero-frame {
  width: min(var(--jec-frame-max), calc(100vw - 28px));
  max-width: none !important;
  margin: 0 auto;
  border-radius: 22px 22px 0 0;
  overflow: hidden;
  box-shadow: var(--jec-shadow);
}

.jec-hero {
  width: 100%;
  max-width: none !important;
  min-height: 740px;
  background:
    linear-gradient(90deg, rgba(15, 16, 18, 0.86) 0%, rgba(15, 16, 18, 0.62) 35%, rgba(15, 16, 18, 0.26) 68%, rgba(15, 16, 18, 0.28) 100%),
    radial-gradient(circle at 72% 10%, rgba(45, 152, 212, 0.34), transparent 24%),
    url("../img/jec-home/hero1.jpg") center/cover;
  color: var(--jec-white);
  padding: 34px 34px 0;
}

.jec-hero-main {
  width: 100%;
  max-width: none !important;
  gap: 34px;
  align-items: center;
  padding-top: 90px;
  margin-bottom: 56px;
}

.jec-kicker,
.jec-eyebrow {
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.jec-kicker {
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.jec-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--jec-turquoise);
  box-shadow: 0 0 0 6px rgba(45,152,212,0.18);
}

.jec-home h1,
.jec-home h2,
.jec-home h3,
.jec-proof-card strong,
.jec-project-copy strong {
  font-family: var(--jec-serif);
  line-height: 1.03;
  margin: 0;
}

.jec-home h1.jec-hero-title {
  font-size: clamp(54px, 5.8vw, 85px);
  max-width: 17.8ch;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 30px;
}

.jec-hero-title .jec-accent {
  font-style: italic;
}

.jec-accent,
.jec-eyebrow,
.jec-eyebrow-dark,
.jec-ring,
.jec-contact-icon {
  color: var(--jec-turquoise);
}

.jec-hero-text {
  margin: 0 0 28px;
  max-width: 39rem;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.84);
}

.jec-hero-actions {
  gap: 16px;
}

.jec-btn-primary .wp-element-button,
.jec-btn-secondary .wp-element-button,
.jec-submit {
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
}

.jec-btn-primary .wp-element-button,
.jec-submit {
  background: var(--jec-turquoise);
  color: var(--jec-white);
  border: 0;
}

.jec-btn-secondary .wp-element-button {
  background: rgba(255,255,255,0.07);
  color: var(--jec-white);
  border: 1px solid rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.jec-hero-note {
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.jec-hero-note p,
.jec-contact-copy p {
  color: rgba(255,255,255,0.82);
}

.jec-metrics {
  width: calc(100% + 68px);
  max-width: none !important;
  gap: 0;
  margin: 0 -34px;
  background: rgba(31,31,31,0.92);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-left: -34px !important; /*Added by manuel 27052026*/
}

.jec-metrics > .wp-block-column {
  display: flex;
  margin-top: 0;
}

.jec-metric {
  display: grid;
  width: 100%;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  justify-content: start;
  text-align: left;
  padding: 18px 22px;
  color: rgba(255,255,255,0.86);
  min-height: 100%;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.jec-home .jec-metrics > .wp-block-column:first-child .jec-metric {
  padding-left: 22px;
  margin-left: 12px !important;
}

.jec-metrics > .wp-block-column:last-child .jec-metric {
  padding-right: 34px;
  border-right: 0;
}

.jec-ring,
.jec-contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(45,152,212,0.45);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.jec-body-section {
  background: var(--jec-linen);
  color: var(--jec-graphite);
  padding: 0 18px;
}

.jec-content {
  width: min(var(--jec-content-max), calc(100vw - 36px));
  max-width: none !important;
  margin: 0 auto;
}

.jec-panel,
.jec-projects,
.jec-service-card,
.jec-accreditation,
.jec-reviews,
.jec-contact-band {
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--jec-line);
  box-shadow: 0 16px 44px rgba(20,20,20,0.09);
}

.jec-about {
  gap: 18px;
  align-items: stretch;
  padding-top: 30px;
  margin-bottom: 24px;
}

.jec-about > .wp-block-column {
  display: flex;
}

.jec-about > .wp-block-column > .wp-block-group {
  width: 100%;
}

.jec-about-copy {
  padding: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,244,239,0.92));
}

.jec-about-copy > .jec-section-title,
.jec-review-top .jec-section-title,
.jec-contact-copy .jec-section-title,
.jec-accreditation h2 {
  text-align: left;
  margin-left: 0 !important;
  margin-right: auto !important;
  justify-self: start;
}

.jec-contact-copy .jec-section-title{
  margin-bottom: 20px;
}

.jec-eyebrow-dark {
  color: var(--jec-turquoise);
}

.jec-section-title {
  font-size: clamp(38px, 4.2vw, 62px);
  max-width: 640px;
  font-weight: 700;
  line-height: 1.03;
  text-align: left;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.jec-about-intro,
.jec-project-copy p,
.jec-service-copy p,
.jec-accreditation p,
.jec-quote p {
  color: var(--jec-graphite-2);
  line-height: 1.66;
}

.jec-section-head p {
  margin: 0;
  max-width: 38rem;
  color: var(--jec-graphite-2);
  line-height: 1.66;
}

.jec-proof-grid {
  gap: 10px;
  margin-top: 24px;
}

.jec-proof-card {
  height: 100%;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(89,89,89,0.1);
}

.jec-proof-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.jec-proof-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--jec-graphite-2);
}

.jec-about-statement {
  margin-top: 20px;
  padding: 20px 22px;
  border-left: 4px solid var(--jec-turquoise);
  border-radius: 12px;
  background: rgba(45,152,212,0.07);
}

.jec-about-image {
  min-height: 520px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.jec-about-image::before,
.jec-about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  animation: jecAboutImageFade 6s ease-in-out infinite;
}

.jec-about-image::before {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.08)), url("../img/jec-home/interior.jpeg");
  animation: none;
}

.jec-about-image::after {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.08)), url("../img/jec-home/alterations-hero.jpg");
  animation: jecAboutImageFade 22s ease-in-out infinite;
}

@keyframes jecAboutImageFade {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

.jec-projects {
  padding: 24px;
  margin-bottom: 24px;
}

.jec-projects .jec-section-head {
  width: 100%;
  max-width: none !important;
  gap: 28px;
  align-items: end;
  padding: 4px 0 20px;
  margin: 0 0 20px;
}

.jec-projects .jec-section-head,
.jec-projects .jec-project-grid {
  width: 100%;
  max-width: none !important;
}

.jec-section-head {
  width: 100%;
  max-width: none !important;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 28px;
  margin: 0 0 20px;
}

.jec-section-head > .wp-block-column {
  margin-top: 0;
}

.jec-section-head > .wp-block-column:first-child {
  display: grid;
  justify-content: start;
  align-content: end;
}

.jec-section-head > .wp-block-column:first-child > * {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.jec-about-copy .jec-eyebrow,
.jec-section-head .jec-eyebrow,
.jec-service-copy .jec-eyebrow,
.jec-accreditation .jec-eyebrow,
.jec-review-top .jec-eyebrow,
.jec-contact-copy .jec-eyebrow {
  color: var(--jec-turquoise) !important;
}

.jec-section-head .wp-block-heading,
.jec-section-head .jec-eyebrow,
.jec-section-head p {
  text-align: left;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.jec-section-head .wp-block-heading {
  justify-self: start;
}


.jec-project-grid {
  gap: 12px;
}

.jec-project-card {
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(89,89,89,0.08);
}

.jec-project-card figure,
.jec-service-card figure,
.jec-credential img {
  margin: 0;
}

.jec-project-card figure a {
  display: block;
}

.jec-project-card img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.jec-project-copy {
  padding: 15px 15px 18px;
}

.jec-project-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 23px;
}

.jec-section-title a,
.jec-project-copy strong a {
  color: inherit;
  text-decoration: none;
}

.jec-services {
  display: grid;
  gap: 24px;
}

.jec-service-card {
  width: 100%;
  max-width: none !important;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  height: clamp(460px, 36vw, 480px);
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

.jec-service-card-reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.jec-service-card-reverse figure,
.jec-service-card-reverse .jec-service-media {
  order: 2;
}

.jec-service-card figure,
.jec-service-media {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.jec-service-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}

.jec-service-fade {
  position: relative;
  background: #d9d9d9;
}

.jec-service-fade::before,
.jec-service-fade::after {
  content: '';
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.jec-service-fade-landscaping::before {
  background-image: url('../img/jec-home/landscaping-patio-pool.jpeg');
  animation: none;
}

.jec-service-fade-landscaping::after {
  background-image: url('../img/jec-home/landscaping-brick-garden.jpeg');
  animation: jecOutdoorFade 7s ease-in-out infinite;
}

@keyframes jecOutdoorFade {
  0%, 42% { opacity: 1; }
  50%, 92% { opacity: 0; }
  100% { opacity: 1; }
}

.jec-service-copy {
  padding: clamp(34px, 3.3vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jec-service-copy h3 {
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.03;
  margin-bottom: 20px;
}

.jec-ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.jec-ticks li::before {
  content: "○";
  color: var(--jec-turquoise);
  margin-right: 10px;
  font-weight: 700;
}

.jec-accreditation {
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 26px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,244,239,0.92));
}

.jec-accreditation h2 {
  font-size: clamp(34px, 3.3vw, 52px);
  font-weight: 700;
  line-height: 1.03;
  margin-bottom: 20px;
}

.jec-credential-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.jec-credential {
  min-height: 104px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(89,89,89,0.1);
  display: grid;
  place-items: center;
  padding: 18px;
}

.jec-credential img {
  max-height: 58px;
  width: auto;
}

.jec-reviews {
  margin-top: 24px;
  padding: 34px;
}

.jec-review-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 20px;
}

.jec-score {
  text-align: right;
  color: var(--jec-graphite-2);
  font-weight: 700;
}

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

.jec-quote {
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(89,89,89,0.08);
}

.jec-quote strong {
  font-size: 14px;
}

.jec-contact-band {
  margin-top: 24px;
  gap: 0;
  background: linear-gradient(135deg, #2a2a2a, #202020);
  color: var(--jec-white);
  overflow: hidden;
}

.jec-contact-copy,
.jec-contact-form {
  padding: 42px;
}

.jec-contact-lines {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.jec-contact-line {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
}

.jec-contact-icon {
  width: 52px;
  height: 52px;
  background: rgba(45,152,212,0.16);
}

.jec-contact-form {
  background: rgba(255,255,255,0.03);
}

.jec-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.jec-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.jec-contact-form label {
  font-size: 13px;
  color: rgba(255,255,255,0.76);
  font-weight: bold;
}

.jec-contact-form input,
.jec-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: var(--jec-white);
  border-radius: 14px;
  padding: 14px 16px;
}

.jec-contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.jec-submit {
  margin-top: 10px;
  width: 100%;
  border-radius: 14px;
  cursor: pointer;
}

.jec-footer-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 6px 54px;
  color: rgba(32,32,32,0.56);
  font-size: 13px;
}

.jec-footer-note .wp-block-group__inner-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1180px) {
  .jec-about,
  .jec-section-head,
  .jec-accreditation,
  .jec-contact-band,
  .jec-hero-main,
  .jec-service-card,
  .jec-service-card-reverse {
    display: grid;
    grid-template-columns: 1fr;
  }

  .jec-service-card-reverse figure {
    order: 0;
  }

  .jec-service-card {
    height: auto;
  }

  .jec-service-card img {
    height: clamp(250px, 50vw, 390px);
  }

  .jec-proof-grid,
  .jec-project-grid,
  .jec-review-grid,
  .jec-credential-logos,
  .jec-form-grid,
  .jec-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .jec-hero-section,
  .jec-body-section {
    padding-left: 9px;
    padding-right: 9px;
  }

  .jec-hero,
  .jec-about-copy,
  .jec-service-copy,
  .jec-accreditation,
  .jec-reviews,
  .jec-contact-copy,
  .jec-contact-form {
    padding: 24px;
  }

  .jec-hero {
    background:
      linear-gradient(90deg, rgba(15, 16, 18, 0.86) 0%, rgba(15, 16, 18, 0.62) 35%, rgba(15, 16, 18, 0.26) 68%, rgba(15, 16, 18, 0.28) 100%),
      radial-gradient(circle at 72% 10%, rgba(45, 152, 212, 0.34), transparent 24%),
      url("../img/jec-home/hero1-mobile.jpg") center/cover;
  }

  .jec-metrics {
    width: calc(100% + 48px);
    margin: 0 -24px;
  }

  .jec-home .jec-metrics > .wp-block-column:first-child .jec-metric {
    padding-left: 22px;
    margin-left: 2px !important;
  }

  .jec-metrics > .wp-block-column:last-child .jec-metric {
    padding-right: 24px;
  }

  .jec-hero-main {
    padding-top: 40px;
    margin-bottom: 28px;
  }

  .jec-hero-title {
    font-size: 56px;
  }

  .jec-metrics,
  .jec-proof-grid,
  .jec-project-grid,
  .jec-review-grid,
  .jec-credential-logos,
  .jec-form-grid,
  .jec-footer-note .wp-block-group__inner-container {
    grid-template-columns: 1fr;
    display: grid;
  }


  .jec-footer-note {
    padding-bottom: 30px;
  }
}
.jec-input-label {
  color: rgba(255,255,255,0.76);
  font-size: 13px;
}

.jec-form-title {
  margin: 0 0 22px;
  color: var(--jec-white);
  font-size: clamp(22px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.2;
}

.jec-input-shell {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: var(--jec-white);
  border-radius: 14px;
  padding: 14px 16px;
}

.jec-input-shell-textarea {
  min-height: 140px;
  align-content: start;
}

.jec-input-placeholder {
  color: rgba(255,255,255,0.92);
}

.jec-submit-wrap {
  margin-top: 10px;
}

.jec-submit-link {
  display: block;
  width: 100%;
  border-radius: 14px;
  padding: 16px 18px;
  background: var(--jec-turquoise);
  color: var(--jec-white);
  font-weight: 700;
  text-align: center;
}
.jec-site-header {
  position: relative;
  z-index: 1000;
}

body.home .jec-site-header {
  position: absolute;
  top: calc(14px + var(--wp-admin--admin-bar--height, 0px));
  left: 0;
  right: 0;
}

.jec-header-shell {
  width: min(var(--jec-frame-max), calc(100vw - 28px));
  margin: 0 auto;
}

.jec-navbar {
  width: 100%;
  padding: 0;
}

.jec-header-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(210px, auto) 1fr minmax(210px, auto);
  align-items: center;
  gap: 24px;
  padding: 0 30px;
}

.jec-brand img {
  height: 174px;
  width: auto;
}

.jec-desktop-menu {
  width: 100%;
  justify-content: center;
}

.jec-nav-list {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.jec-nav-list > li {
  flex: 0 0 auto;
}

.jec-nav-list .nav-link,
.jec-offcanvas-nav .nav-link {
  color: var(--jec-white) !important;
  font-size: 15px;
  font-weight: 500;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
}

.jec-nav-list .nav-link:hover,
.jec-offcanvas-nav .nav-link:hover {
  color: var(--jec-turquoise-bright);
}

.jec-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.jec-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border-radius: 999px;
  background: var(--jec-turquoise);
  color: var(--jec-white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(45, 152, 212, 0.24);
}

.jec-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: var(--jec-white);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.jec-offcanvas {
  background: #202020;
  color: var(--jec-white);
}

.jec-offcanvas .offcanvas-body {
  display: grid;
  gap: 24px;
}

.jec-offcanvas-nav {
  display: grid;
  gap: 16px;
}

.jec-offcanvas-cta {
  width: 100%;
  height: 80px;
}

body.home .jec-hero-main {
  padding-top: 170px;
}

body.page-template-service-canvas .jec-hero-main {
  padding-top: 170px;
}

body:not(.home) .jec-site-header {
  background: #202020;
}

body:not(.home) .jec-header-shell {
  width: min(var(--jec-frame-max), calc(100vw - 28px));
}

body:not(.home) #content.site-content {
  padding-top: 32px;
}


body a {
  color: #1C9CD1;
  font-weight: 700;
  text-decoration: none;
}


@media (max-width: 1180px) {
  .jec-header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 24px;
  }

  body.home .jec-hero-main {
    padding-top: 140px;
  }

  body.page-template-service-canvas .jec-hero-main {
    padding-top: 140px;
  }
}

@media (max-width: 760px) {
  body.home .jec-site-header {
    top: calc(9px + var(--wp-admin--admin-bar--height, 0px));
  }

  .jec-header-shell {
    width: min(100vw - 18px, 1500px);
  }

  .jec-header-inner {
    padding: 0 18px;
  }

  .jec-brand img {
    height: 56px;
  }

  body.home .jec-hero-main {
    padding-top: 56px;
  }

  body.page-template-service-canvas .jec-hero-main {
    padding-top: 100px;
  }

  h2.jec-section-title, .h2 .jec-section-title {
    font-size: 1.5rem;
    padding: 10px 0 5px 0;
    color: #1a80a8;
    font-weight: 600;
  }

  .jec-service-copy h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.03;
    margin-bottom: 20px;
    color: #1a80a8;
  }
  .jec-accreditation h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.03;
    margin-bottom: 20px;
    color: #1a80a8;
  }
  .jec-score {
    display: none;
  }

}

/* Contact Form 7 homepage form */
.jec-contact-form .wpcf7-form {
  margin: 0;
}

.jec-contact-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.jec-contact-form .jec-field {
  display: grid;
  gap: 0;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 14px 16px;
}

.jec-contact-form .jec-field input,
.jec-contact-form .jec-field textarea {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.jec-contact-form .jec-field-textarea {
  min-height: 140px;
}

.jec-contact-form .jec-field-textarea textarea {
  min-height: 66px;
  height: 74px;
}

.jec-contact-form .wpcf7-submit.jec-submit {
  display: block;
  border: 0;
  padding: 16px 18px;
  background: var(--jec-turquoise);
  color: var(--jec-white);
  font-weight: 700;
  text-align: center;
}

.jec-contact-form .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.jec-contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #ffd0d0;
}

.jec-contact-form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
}
/* Contact Form 7 generated layout reset */
.jec-contact-form .wpcf7-form > p {
  margin: 0;
}

.jec-contact-form .jec-form-grid > p {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 761px) {
  .jec-contact-form .jec-form-grid > p {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.jec-contact-form .jec-field br,
.jec-contact-form .jec-form-grid > p > br,
.jec-contact-form .wpcf7-form > p > br {
  display: none;
}
/* BAS-style site footer */
.jec-site-footer {
  margin-top: 24px;
  padding: 46px max(18px, calc((100vw - var(--jec-content-max)) / 2));
  background: #141414;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #8b95a5;
  font-family: var(--jec-sans);
}

.jec-site-footer__inner {
  max-width: var(--jec-content-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.jec-site-footer__brand,
.jec-site-footer__links {
  min-width: 0;
  display: flex;
  align-items: center;
}

.jec-site-footer__brand {
  gap: 16px;
  color: #a7b0bc;
  font-size: 14px;
  font-weight: 500;
}

.jec-site-footer__brand img {
  width: 76px;
  height: 44px;
  object-fit: contain;
  opacity: 0.84;
}

.jec-site-footer__links {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  color: #a7b0bc;
  font-size: 14px;
  font-weight: 500;
}

.jec-site-footer__links a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.jec-site-footer__links a:hover {
  color: var(--jec-white);
}

.jec-site-footer__separator {
  color: rgba(255,255,255,0.2);
}

.jec-site-footer__legal {
  max-width: var(--jec-content-max);
  margin: 28px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: center;
  gap: 16px;
  color: #8b95a5;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.jec-body-section .jec-footer-note {
  display: none;
}

@media (max-width: 900px) {
  .jec-site-footer {
    padding: 40px 18px;
  }

  .jec-site-footer__inner,
  .jec-site-footer__brand,
  .jec-site-footer__links {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .jec-site-footer__links {
    gap: 12px;
  }

  .jec-site-footer__separator {
    display: none;
  }

  .jec-site-footer__legal {
    display: grid;
    gap: 7px;
    margin-top: 24px;
  }
}

/* Alterations service page */
body.page-template-service-canvas:not(.home) .jec-site-header {
  position: absolute;
  top: calc(14px + var(--wp-admin--admin-bar--height, 0px));
  left: 0;
  right: 0;
  background: transparent;
}

body.page-template-service-canvas:not(.home) .jec-header-shell {
  width: min(var(--jec-frame-max), calc(100vw - 28px));
}

body.page-template-service-canvas:not(.home) #content.site-content {
  padding-top: 0;
}

.jec-service-canvas .entry-content,
.jec-service-canvas .entry-content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.jec-alterations-hero.jec-hero {
  background:
    linear-gradient(90deg, rgba(15, 16, 18, 0.86) 0%, rgba(15, 16, 18, 0.62) 35%, rgba(15, 16, 18, 0.26) 68%, rgba(15, 16, 18, 0.28) 100%),
    radial-gradient(circle at 72% 10%, rgba(45, 152, 212, 0.22), transparent 24%),
    url("../img/jec-home/alterations-hero.jpg") center/cover;
}

.jec-brickwork-hero.jec-hero {
  background:
    linear-gradient(90deg, rgba(15, 16, 18, 0.9) 0%, rgba(15, 16, 18, 0.68) 36%, rgba(15, 16, 18, 0.3) 68%, rgba(15, 16, 18, 0.28) 100%),
    radial-gradient(circle at 72% 10%, rgba(45, 152, 212, 0.2), transparent 24%),
    url("../img/jec-home/brickwork-hero.jpg") center/cover;
}

.jec-extensions-hero.jec-hero {
  background:
    linear-gradient(90deg, rgba(15, 16, 18, 0.9) 0%, rgba(15, 16, 18, 0.68) 36%, rgba(15, 16, 18, 0.3) 68%, rgba(15, 16, 18, 0.28) 100%),
    radial-gradient(circle at 72% 10%, rgba(45, 152, 212, 0.2), transparent 24%),
    url("../img/jec-home/extensions-hero.jpg") center/cover;
}

.jec-landscaping-hero.jec-hero {
  background:
    linear-gradient(90deg, rgba(15, 16, 18, 0.9) 0%, rgba(15, 16, 18, 0.68) 36%, rgba(15, 16, 18, 0.3) 68%, rgba(15, 16, 18, 0.28) 100%),
    radial-gradient(circle at 72% 10%, rgba(45, 152, 212, 0.2), transparent 24%),
    url("../img/jec-home/landscaping-hero.jpg") center/cover;
}

.jec-garage-conversions-hero.jec-hero {
  background:
    linear-gradient(90deg, rgba(15, 16, 18, 0.9) 0%, rgba(15, 16, 18, 0.68) 36%, rgba(15, 16, 18, 0.3) 68%, rgba(15, 16, 18, 0.28) 100%),
    radial-gradient(circle at 72% 10%, rgba(45, 152, 212, 0.2), transparent 24%),
    url("../img/jec-home/garage-conversions-hero.jpg") center/cover;
}

.jec-alterations-body {
  padding-bottom: 46px;
}

.jec-alterations-body .jec-service-content {
  padding-top: 30px;
}

.jec-service-content {
  width: min(var(--jec-content-max), calc(100vw - 36px));
  max-width: none !important;
  margin: 0 auto;
}

.jec-alterations-intro {
  align-items: stretch;
  gap: 18px;
  margin: 0 0 24px;
}

.jec-alterations-intro-copy {
  height: 100%;
  padding: clamp(30px, 4vw, 48px);
}

.jec-alterations-intro-copy .jec-section-title {
  margin: 14px 0 22px !important;
  font-size: clamp(35px, 4vw, 55px);
}

.jec-alterations-intro-copy > p:not(.jec-eyebrow) {
  max-width: 720px;
  color: var(--jec-graphite-2);
  font-size: 17px;
  line-height: 1.72;
}

.jec-alterations-benefits {
  display: grid;
  gap: 12px;
  height: 100%;
}

.jec-alterations-benefit {
  padding: 25px 25px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--jec-line);
  box-shadow: 0 16px 44px rgba(20,20,20,0.06);
}

.jec-alterations-benefit h3 {
  margin: 0 0 9px;
  font-size: clamp(25px, 2vw, 30px);
}

.jec-alterations-benefit p {
  margin: 0;
  color: var(--jec-graphite-2);
  line-height: 1.62;
}

.jec-alterations-feature {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  overflow: hidden;
  margin: 0 auto 24px;
}

.jec-alterations-feature figure {
  height: 100%;
  min-height: 490px;
  margin: 0;
}

.jec-alterations-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jec-landscaping-feature-fade,
.jec-service-feature-fade {
  position: relative;
  min-height: 490px;
  margin: 0;
  overflow: hidden;
}

.jec-alterations-feature .jec-landscaping-feature-fade figure,
.jec-alterations-feature .jec-service-feature-fade figure {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  opacity: 0;
  animation: jecLandscapingFeatureFade 25s infinite;
}

.jec-alterations-feature .jec-landscaping-feature-fade figure:nth-of-type(1),
.jec-alterations-feature .jec-service-feature-fade figure:nth-of-type(1) {
  animation-delay: 0s;
}

.jec-alterations-feature .jec-landscaping-feature-fade figure:nth-of-type(2),
.jec-alterations-feature .jec-service-feature-fade figure:nth-of-type(2) {
  animation-delay: 5s;
}

.jec-alterations-feature .jec-landscaping-feature-fade figure:nth-of-type(3),
.jec-alterations-feature .jec-service-feature-fade figure:nth-of-type(3) {
  animation-delay: 10s;
}

.jec-alterations-feature .jec-landscaping-feature-fade figure:nth-of-type(4),
.jec-alterations-feature .jec-service-feature-fade figure:nth-of-type(4) {
  animation-delay: 15s;
}

.jec-alterations-feature .jec-landscaping-feature-fade figure:nth-of-type(5),
.jec-alterations-feature .jec-service-feature-fade figure:nth-of-type(5) {
  animation-delay: 20s;
}

@keyframes jecLandscapingFeatureFade {
  0%,
  18% {
    opacity: 1;
  }

  22%,
  96% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.jec-alterations-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 56px);
}

.jec-alterations-feature-copy h2 {
  margin: 13px 0 20px;
  font-size: clamp(34px, 3.5vw, 52px);
}

.jec-alterations-feature-copy p:not(.jec-eyebrow) {
  margin: 0 0 20px;
  color: var(--jec-graphite-2);
  line-height: 1.7;
}

.jec-alterations-process {
  margin: 0 auto 24px;
  padding: clamp(28px, 4vw, 42px);
}

.jec-alterations-process-head {
  margin-bottom: 27px;
}

.jec-alterations-process-head h2 {
  max-width: 680px;
  margin: 13px 0 0;
  font-size: clamp(34px, 3.4vw, 50px);
}

.jec-alterations-steps {
  gap: 12px;
}

.jec-alterations-step {
  height: 100%;
  padding: 25px 23px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid rgba(89,89,89,0.1);
}

.jec-alterations-step .jec-ring {
  margin-bottom: 18px;
}

.jec-alterations-step h3 {
  margin-bottom: 10px;
  font-size: clamp(25px, 2vw, 30px);
}

.jec-alterations-step p {
  margin: 0;
  color: var(--jec-graphite-2);
  line-height: 1.62;
}

.jec-alterations-gallery {
  margin: 0 auto 24px;
  padding: clamp(25px, 3vw, 34px);
}

.jec-alterations-gallery-head {
  margin: 0 0 24px;
}

.jec-alterations-gallery-head h2 {
  margin-top: 13px;
  font-size: clamp(34px, 3.5vw, 52px);
}

.jec-alterations-gallery .wp-block-gallery {
  gap: 12px !important;
}

.jec-alterations-gallery .wp-block-image {
  overflow: hidden;
  border-radius: 14px;
}

.jec-alterations-gallery .wp-block-image img {
  width: 100%;
  height: clamp(230px, 22vw, 320px);
  object-fit: cover;
}

.jec-extensions-projects {
  margin: 0 auto 24px;
  padding: clamp(26px, 3.6vw, 40px);
}

.jec-extensions-projects-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
}

.jec-extensions-projects-head h2 {
  margin: 13px 0 0;
  font-size: clamp(34px, 3.5vw, 52px);
}

.jec-extensions-projects-head p:not(.jec-eyebrow) {
  margin: 0;
  color: var(--jec-graphite-2);
  font-size: 18px;
  line-height: 1.66;
}

.jec-extension-project-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.jec-extension-project-card {
  overflow: hidden;
  border-radius: 17px;
  background: #fff;
  border: 1px solid var(--jec-line);
  box-shadow: 0 16px 42px rgba(20,20,20,0.06);
}

.jec-extension-project-card figure {
  margin: 0;
}

.jec-project-gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.jec-extension-project-card img {
  width: 100%;
  height: clamp(170px, 13vw, 230px);
  object-fit: cover;
  transition: transform 0.35s ease;
}

.jec-project-gallery-trigger:hover img,
.jec-project-gallery-trigger:focus-visible img {
  transform: scale(1.04);
}

.jec-project-gallery-trigger span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.72);
  color: var(--jec-white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.jec-project-gallery-trigger:hover span,
.jec-project-gallery-trigger:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

.jec-landscaping-project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jec-garage-project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.jec-extension-project-card h3 {
  margin: 20px 20px 10px;
  font-size: clamp(24px, 1.8vw, 31px);
  line-height: 1.05;
}

.jec-extension-project-card p {
  margin: 0 20px 24px;
  color: var(--jec-graphite-2);
  font-size: 17px;
  line-height: 1.58;
}

.jec-alterations-cta {
  margin: 0 auto;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 18px;
  background: linear-gradient(135deg, #2a2a2a, #202020);
  color: var(--jec-white);
  text-align: center;
}

.jec-alterations-cta h2 {
  max-width: 780px;
  margin: 14px auto 18px;
  color: var(--jec-white);
  font-size: clamp(36px, 4vw, 56px);
}

.jec-alterations-cta > p:not(.jec-eyebrow) {
  max-width: 640px;
  margin: 0 auto 27px;
  color: rgba(255,255,255,0.8);
  line-height: 1.68;
}

.jec-alterations-cta .wp-block-buttons {
  justify-content: center;
}

.jec-project-modal-open {
  overflow: hidden;
}

.jec-project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
}

.jec-project-modal.is-open {
  display: flex;
}

.jec-project-modal__dialog {
  position: relative;
  width: min(1180px, 100%);
  max-height: calc(100vh - 40px);
  padding: clamp(16px, 2.5vw, 26px);
  overflow: auto;
  border-radius: 22px;
  background: #111;
  box-shadow: 0 30px 90px rgba(0,0,0,0.45);
}

.jec-project-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--jec-white);
  font-size: 30px;
  line-height: 1;
}

.jec-project-modal__head {
  padding-right: 56px;
  margin-bottom: 16px;
}

.jec-project-modal__eyebrow {
  margin: 0 0 7px;
  color: var(--jec-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jec-project-modal__title {
  margin: 0;
  color: var(--jec-white);
  font-size: clamp(28px, 3vw, 44px);
}

.jec-project-modal__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(68vh, 720px);
  border-radius: 16px;
  background: #050505;
  overflow: hidden;
}

.jec-project-modal__image {
  display: block;
  max-width: 100%;
  max-height: min(68vh, 720px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.jec-project-modal__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: clamp(42px, 5vw, 58px);
  height: clamp(42px, 5vw, 58px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  background: rgba(20,20,20,0.72);
  color: var(--jec-white);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.8;
  transform: translateY(-50%);
}

.jec-project-modal__prev {
  left: 16px;
}

.jec-project-modal__next {
  right: 16px;
}

.jec-project-modal__count {
  margin: 13px 0 0;
  color: rgba(255,255,255,0.72);
  text-align: center;
  font-weight: 800;
}

@media (max-width: 980px) {
  .jec-alterations-feature {
    grid-template-columns: 1fr;
  }

  .jec-alterations-feature figure {
    min-height: 330px;
  }

  .jec-landscaping-feature-fade {
    min-height: 330px;
  }

  .jec-service-feature-fade {
    min-height: 330px;
  }

  .jec-extensions-projects-head,
  .jec-extension-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) and (min-width: 981px) {
  .jec-extension-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.page-template-service-canvas:not(.home) .jec-site-header {
    top: calc(9px + var(--wp-admin--admin-bar--height, 0px));
  }

  body.page-template-service-canvas:not(.home) .jec-header-shell {
    width: min(100vw - 18px, 1500px);
  }

  .jec-service-content {
    width: calc(100vw - 18px);
  }

  .jec-alterations-feature figure {
    min-height: 270px;
  }

  .jec-landscaping-feature-fade {
    min-height: 270px;
  }

  .jec-service-feature-fade {
    min-height: 270px;
  }

  .jec-extensions-projects-head,
  .jec-extension-project-grid {
    grid-template-columns: 1fr;
  }

  .jec-alterations-gallery .wp-block-image img {
    height: 250px;
  }
}

@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 2rem;
  }
  h2.wp-block-heading, .h2 .wp-block-heading {
    font-size: 1.5rem;
    padding: 10px 0 5px 0;
    color: #1a80a8;
    font-weight: 400;
  }
  .jec-contact-copy .jec-section-title{
    color: #fff;
  }
  
}
