/*
Theme Name: Ever Fresh Cleaners
Author: VM Digital Design
Description: Editorial, accessible block theme for Ever Fresh Cleaners.
Version: 0.1.11
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: efc
Tags: full-site-editing, block-patterns, accessibility-ready
*/

:root {
  --efc-radius-card: 1.25rem;
  --efc-radius-media: 0.875rem;
  --efc-hero-gutter: clamp(1.25rem, 4vw, 4rem);
  --efc-hero-gap: clamp(2rem, 5vw, 5rem);
  --efc-overlap-offset: clamp(2rem, 4vw, 4rem);
}

html {
  scroll-behavior: smooth;
}

/* Global template parts share the Hero's 1200px content line and responsive gutters. */
.efc-site-header,
.efc-site-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding-inline: var(--efc-hero-gutter);
}

.efc-site-header {
  color: var(--wp--preset--color--slate);
  background-color: var(--wp--preset--color--white);
}

/* Keep the full-height Header flush with the following full-width Page content. */
:where(.wp-site-blocks) > .wp-block-template-part:has(.efc-site-header) + main {
  margin-block-start: 0;
}

.efc-site-header .efc-site-header__inner,
.efc-site-footer .efc-site-footer__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 75rem);
  margin-inline: auto;
}

.efc-site-header .efc-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.75rem;
  padding-block: 0.5rem;
}

@media (max-width: 1023px) {
  .efc-site-header .efc-site-header__inner {
    min-height: 5.25rem;
  }
}

@media (max-width: 767px) {
  .efc-site-header .efc-site-header__inner {
    min-height: 4.5rem;
  }
}

.efc-site-header .efc-site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.efc-site-header .wp-block-site-logo,
.efc-site-header .wp-block-site-title {
  margin: 0;
}

.efc-site-header .wp-block-site-logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.efc-site-header .wp-block-site-title {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
}

/* Keep the editable Site Title as the visible fallback until a real logo exists. */
.efc-site-header .efc-site-header__brand:has(.wp-block-site-logo .custom-logo) .wp-block-site-title {
  display: none;
}

.efc-site-header a {
  color: var(--wp--preset--color--slate);
  text-decoration: none;
}

.efc-site-header a:hover {
  color: var(--wp--preset--color--slate);
  text-decoration: underline;
  text-decoration-color: var(--wp--preset--color--green);
  text-underline-offset: 0.2em;
}

.efc-site-header a:focus-visible,
.efc-site-header button:focus-visible {
  outline: 3px solid var(--wp--preset--color--green);
  outline-offset: 3px;
}

.efc-site-header .efc-header-consultation .wp-block-navigation-item__content {
  padding-inline: 1rem;
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--green);
  border-radius: 0.5rem;
  text-decoration: none;
}

.efc-site-header .efc-header-consultation .wp-block-navigation-item__content:is(:hover, :focus-visible) {
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--slate);
  text-decoration: none;
}

.efc-site-header .efc-site-header__navigation {
  flex-shrink: 0;
  margin-inline-start: auto;
}

.efc-site-header .wp-block-navigation-item__content,
.efc-site-header .wp-block-navigation__responsive-container-open,
.efc-site-header .wp-block-navigation__responsive-container-close {
  box-sizing: border-box;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
}

.efc-site-header .wp-block-navigation-item__content {
  display: inline-flex;
  color: var(--wp--preset--color--slate);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}

.efc-site-header .wp-block-navigation-item__content:hover,
.efc-site-header .wp-block-navigation-item__content:focus-visible,
.efc-site-header .wp-block-navigation-item__content[aria-current="page"] {
  color: var(--wp--preset--color--green);
  text-decoration-color: currentColor;
}

.efc-site-footer {
  --efc-footer-secondary: #536965;
  --efc-footer-link: #3e7d56;
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 1.75rem;
  color: var(--wp--preset--color--slate);
  background-color: var(--wp--preset--color--soft-white);
}

/* Remove WordPress's site block gap only when the Final CTA ends Page content. */
:where(.wp-site-blocks) > main:has(.entry-content > .efc-final-consultation:last-child) + .wp-block-template-part:has(.efc-site-footer) {
  margin-block-start: 0;
}

.efc-site-footer .efc-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.efc-site-footer .efc-site-footer__grid > * {
  min-width: 0;
  margin-block-start: 0;
}

.efc-site-footer h2 {
  margin-block: 0 1rem;
  color: var(--wp--preset--color--slate);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.efc-site-footer .efc-site-footer__brand .wp-block-site-logo {
  width: 16.25rem;
  max-width: 100%;
  margin: 0;
}

.efc-site-footer .efc-site-footer__brand .wp-block-site-logo a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
}

.efc-site-footer .efc-site-footer__brand .wp-block-site-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.efc-site-footer .efc-site-footer__brand p {
  max-width: 23rem;
  margin-block-start: 1.125rem;
}

.efc-site-footer p {
  margin-block: 0 0.75rem;
  color: var(--efc-footer-secondary);
  overflow-wrap: anywhere;
}

.efc-site-footer a {
  color: var(--efc-footer-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.efc-site-footer a:hover {
  color: var(--wp--preset--color--slate);
}

.efc-site-footer a:focus-visible,
.efc-site-footer button:focus-visible {
  outline: 3px solid var(--wp--preset--color--slate);
  outline-offset: 3px;
}

.efc-site-footer .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

/* Footer service links are resolved against the current WordPress home URL on render. */
.efc-site-footer .efc-site-footer__service-list {
  display: grid;
  gap: 0.125rem;
  margin-block-start: 0.5rem;
}

.efc-site-footer .efc-site-footer__service-list p {
  margin: 0;
  padding-block: 0.125rem;
}

.efc-site-footer .efc-site-footer__social-slot:empty {
  display: none;
}

.efc-site-footer .efc-site-footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-block-start: clamp(2.5rem, 5vw, 4rem);
  padding-block-start: 1.25rem;
  border-block-start: 1px solid #cad8d3;
}

.efc-site-footer .efc-site-footer__legal p {
  margin: 0;
  color: var(--efc-footer-secondary);
  font-size: 0.875rem;
  line-height: 2.75rem;
}

.efc-site-footer .efc-site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.efc-site-footer .efc-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-block-start: 1.25rem;
}

.efc-site-footer .efc-site-footer__bottom p {
  margin: 0;
  font-size: 0.875rem;
}

.efc-site-footer .efc-site-footer__affiliation {
  color: var(--efc-footer-secondary);
}

@media (max-width: 781px) {
  .efc-site-footer .efc-site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .efc-site-footer .efc-site-footer__brand .wp-block-site-logo {
    width: 14.375rem;
  }

  .efc-site-footer .efc-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .efc-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    box-sizing: border-box;
    padding-inline: var(--efc-hero-gutter);
  }

  .efc-site-header .wp-block-navigation__responsive-container.is-menu-open .efc-header-consultation .wp-block-navigation-item__content {
    padding-inline: 1rem;
  }

  .efc-site-footer .efc-site-footer__brand .wp-block-site-logo {
    width: 12.5rem;
  }

  .efc-site-header .efc-site-header__inner {
    gap: 0.5rem;
    padding-block: 0.375rem;
  }

  .efc-site-header .wp-block-site-logo {
    max-width: 10.625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .efc-site-header .wp-block-navigation-item__content {
    transition: none;
  }
}

/* Native Services pattern: optional per-card media and a text-first grid. */
.efc-services-editorial {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-block-start: clamp(3rem, 6vw, 6rem);
  margin-inline: 0;
  padding: clamp(3rem, 6vw, 6rem) var(--efc-hero-gutter);
}

.efc-services-editorial > .efc-services-editorial__intro,
.efc-services-editorial > .efc-services-editorial__grid {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 75rem);
  margin-inline: auto;
}

/* Keep older saved constrained-pattern content aligned with the Hero's left edge. */
.efc-services-editorial .efc-services-editorial__intro > * {
  margin-inline: 0 !important;
}

.efc-services-editorial .efc-services-editorial__eyebrow {
  color: var(--wp--preset--color--green);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.efc-services-editorial .efc-services-editorial__heading {
  max-width: 22ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.efc-services-editorial .efc-services-editorial__description {
  max-width: 66ch;
}

.efc-services-editorial .efc-services-editorial__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-block-start: clamp(2rem, 4vw, 3rem);
}

.efc-services-editorial .efc-service-card {
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--wp--preset--color--mist);
  border-radius: var(--efc-radius-card);
  background-color: var(--wp--preset--color--white);
}

.efc-services-editorial .efc-service-card > * {
  margin-block: 0;
}

.efc-services-editorial .efc-service-card__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.efc-services-editorial .efc-service-card .wp-block-image {
  max-width: 100%;
}

.efc-services-editorial .efc-service-card .wp-block-image:not(.is-style-efc-service-icon) {
  width: 100%;
  max-width: 18rem;
}

.efc-services-editorial .efc-service-card .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--efc-radius-media);
  background-color: var(--wp--preset--color--mist);
}

.efc-services-editorial .efc-service-card .wp-block-image.is-style-efc-service-icon {
  display: grid;
  place-items: center;
  width: min(6rem, 100%);
  height: 6rem;
}

.efc-services-editorial .efc-service-card .wp-block-image.is-style-efc-service-icon img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 6rem;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  background: none;
}

.efc-services-editorial .efc-service-card a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.efc-services-editorial .efc-service-card > .efc-service-card__more {
  margin-block-start: auto;
  padding-block-start: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.efc-services-editorial .efc-service-card__more a {
  color: var(--wp--preset--color--slate);
  color: color-mix(in srgb, var(--wp--preset--color--green) 90%, var(--wp--preset--color--slate));
}

.efc-services-editorial .efc-service-card__more a:hover {
  color: var(--wp--preset--color--slate);
  text-decoration-thickness: 0.12em;
}

.efc-services-editorial .efc-service-card a:focus-visible {
  outline: 3px solid var(--wp--preset--color--slate);
  outline-offset: 3px;
}

/* Home MVP service cards: restrained depth and a clear native text link. */
.efc-services-editorial.efc-home-service-cards .efc-service-card {
  box-shadow: 0 3px 14px rgb(37 59 57 / 6%);
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.efc-services-editorial.efc-home-service-cards .efc-service-card:hover {
  border-color: var(--wp--preset--color--green);
  box-shadow: 0 9px 22px rgb(37 59 57 / 10%);
  transform: translateY(-2px);
}

.efc-services-editorial.efc-home-service-cards .efc-service-card:focus-within {
  border-color: var(--wp--preset--color--green);
  box-shadow: 0 9px 22px rgb(37 59 57 / 10%);
}

.efc-services-editorial.efc-home-service-cards .efc-service-card__more a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.efc-services-editorial.efc-home-service-cards .efc-service-card__more a::after {
  display: inline-block;
  margin-inline-start: 0.4em;
  content: "\2192";
  transition: transform 180ms ease;
}

.efc-services-editorial.efc-home-service-cards .efc-service-card__more a:is(:hover, :focus-visible)::after {
  transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
  .efc-services-editorial.efc-home-service-cards .efc-service-card,
  .efc-services-editorial.efc-home-service-cards .efc-service-card__more a::after {
    transition: none;
  }

  .efc-services-editorial.efc-home-service-cards .efc-service-card:hover,
  .efc-services-editorial.efc-home-service-cards .efc-service-card__more a:is(:hover, :focus-visible)::after {
    transform: none;
  }
}
@media (max-width: 700px) {
  .efc-services-editorial .efc-services-editorial__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Native Industries pattern: a wide editorial image and reorderable facility list. */
.efc-industries-editorial {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(3rem, 6vw, 6rem) var(--efc-hero-gutter);
}

.efc-industries-editorial .efc-industries-editorial__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--efc-hero-gap);
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 75rem);
  margin-inline: auto;
}

.efc-industries-editorial .wp-block-column {
  min-width: 0;
}

.efc-industries-editorial .efc-industries-editorial__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: var(--efc-radius-media);
  background-color: var(--wp--preset--color--mist);
}

.efc-industries-editorial .efc-industries-editorial__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.efc-industries-editorial .efc-industries-editorial__content > * {
  margin-inline: 0;
}

.efc-industries-editorial .efc-industries-editorial__eyebrow {
  color: var(--wp--preset--color--green);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.efc-industries-editorial .efc-industries-editorial__heading {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

.efc-industries-editorial .efc-industries-editorial__description {
  max-width: 58ch;
}

.efc-industries-editorial .efc-industries-editorial__list {
  padding-inline-start: 1.25rem;
}

.efc-industries-editorial .efc-industries-editorial__list li {
  padding-inline-start: 0.25rem;
  margin-block: 0.5rem;
}

.efc-industries-editorial .efc-industries-editorial__list li::marker {
  color: var(--wp--preset--color--green);
}

@media (max-width: 781px) {
  .efc-industries-editorial .efc-industries-editorial__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}
/* Why Ever Fresh: introduction above an asymmetric principles-and-photo composition. */
.efc-why-editorial,
.efc-process-editorial,
.efc-final-consultation {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(3rem, 6vw, 6rem) var(--efc-hero-gutter);
}

.efc-why-editorial .efc-why-editorial__inner,
.efc-process-editorial .efc-process-editorial__inner,
.efc-final-consultation .efc-final-consultation__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 75rem);
  margin-inline: auto;
}

.efc-why-editorial .efc-why-editorial__intro > *,
.efc-process-editorial .efc-process-editorial__intro > *,
.efc-final-consultation .efc-final-consultation__copy > * {
  margin-inline: 0;
}

.efc-why-editorial .efc-why-editorial__eyebrow,
.efc-process-editorial .efc-process-editorial__eyebrow {
  color: var(--wp--preset--color--green);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.efc-why-editorial .efc-why-editorial__heading,
.efc-process-editorial .efc-process-editorial__heading {
  max-width: 21ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

.efc-why-editorial .efc-why-editorial__description {
  max-width: 72ch;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.efc-why-editorial .efc-why-editorial__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: var(--efc-hero-gap);
  margin-block-start: clamp(2rem, 4vw, 3.5rem);
}

.efc-why-editorial .wp-block-column,
.efc-final-consultation .wp-block-column {
  min-width: 0;
}

.efc-why-editorial .efc-why-editorial__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.efc-why-editorial .efc-why-editorial__list li {
  margin: 0;
  padding: 1.25rem 0;
  border-block-start: 1px solid var(--wp--preset--color--mist);
  color: var(--wp--preset--color--slate);
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.efc-why-editorial .efc-why-editorial__list li:last-child {
  border-block-end: 1px solid var(--wp--preset--color--mist);
}

.efc-why-editorial .efc-why-editorial__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 36rem;
  margin: 0;
  overflow: hidden;
  border-radius: var(--efc-radius-media);
  background-color: var(--wp--preset--color--mist);
}

.efc-why-editorial .efc-why-editorial__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Cleaning Process: numbered rows rather than repeated cards. */
.efc-process-editorial .efc-process-editorial__steps {
  margin-block-start: clamp(2rem, 4vw, 3.5rem);
}

.efc-process-editorial .efc-process-editorial__step {
  display: grid;
  grid-template-columns: 4rem minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(1rem, 2vw, 2rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-block-start: 1px solid var(--wp--preset--color--mist);
}

.efc-process-editorial .efc-process-editorial__step:last-child {
  border-block-end: 1px solid var(--wp--preset--color--mist);
}

.efc-process-editorial .efc-process-editorial__step > * {
  min-width: 0;
  margin: 0;
}

.efc-process-editorial .efc-process-editorial__number {
  color: var(--wp--preset--color--green);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.efc-process-editorial .efc-process-editorial__step-title {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.25;
}

.efc-process-editorial .efc-process-editorial__step-copy {
  max-width: 46ch;
}

/* Final CTA: the linkless button remains an editorial placeholder. */
.efc-final-consultation .efc-final-consultation__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 2vw, 1.75rem);
  max-width: 40rem;
  margin-block: 0;
}

.efc-final-consultation .efc-final-consultation__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  text-align: left;
}

.efc-final-consultation .efc-final-consultation__copy > * {
  margin-block: 0;
}

.efc-final-consultation .efc-final-consultation__buttons {
  justify-content: flex-start;
}

.efc-final-consultation .efc-final-consultation__eyebrow {
  color: var(--wp--preset--color--mist);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.efc-final-consultation .efc-final-consultation__heading {
  max-width: 18ch;
  color: var(--wp--preset--color--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}

.efc-final-consultation .efc-final-consultation__description {
  max-width: 60ch;
  color: var(--wp--preset--color--white);
}

.efc-final-consultation .efc-final-consultation__buttons .wp-block-button__link {
  border-radius: 0.5rem;
  background-color: var(--wp--preset--color--green);
  background-color: color-mix(in srgb, var(--wp--preset--color--green) 82%, var(--wp--preset--color--slate));
  color: var(--wp--preset--color--white);
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
}

.efc-final-consultation .efc-final-consultation__buttons .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--slate);
  background-color: color-mix(in srgb, var(--wp--preset--color--green) 68%, var(--wp--preset--color--slate));
}

.efc-final-consultation .efc-final-consultation__buttons .wp-block-button__link:focus-visible {
  outline: 3px solid var(--wp--preset--color--white);
  outline-offset: 4px;
}

.efc-final-consultation .efc-final-consultation__buttons .wp-block-button__link:not([href]) {
  cursor: default;
  opacity: 0.75;
}

@media (max-width: 781px) {
  .efc-why-editorial .efc-why-editorial__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .efc-why-editorial .efc-why-editorial__media {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .efc-process-editorial .efc-process-editorial__step {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.75rem 1rem;
  }

  .efc-process-editorial .efc-process-editorial__step-copy {
    grid-column: 2;
  }
}
/* Full-width Cover Hero. The native Cover owns the image and editable overlay. */
.efc-full-image-hero {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: clamp(40.625rem, 75vh, 46.875rem);
  margin-inline: 0;
  padding: clamp(3rem, 6vw, 6rem) var(--efc-hero-gutter);
  background-color: var(--wp--preset--color--slate);
}

/* Block-scoped theme.json presets need to target Cover's saved overlay span. */
.efc-full-image-hero .wp-block-cover__background.has-efc-slate-readability-gradient-background {
  background-image: var(--wp--preset--gradient--efc-slate-readability);
}

.efc-full-image-hero .wp-block-cover__background.has-efc-slate-readability-reversed-gradient-background {
  background-image: var(--wp--preset--gradient--efc-slate-readability-reversed);
}

.efc-full-image-hero .wp-block-cover__background.has-efc-green-accent-left-gradient-background {
  background-image: var(--wp--preset--gradient--efc-green-accent-left);
}

.efc-full-image-hero .wp-block-cover__background.has-efc-green-accent-right-gradient-background {
  background-image: var(--wp--preset--gradient--efc-green-accent-right);
}

.efc-full-image-hero .wp-block-cover__inner-container,
.wp-block-cover.efc-hero.efc-full-image-hero.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container {
  width: 100%;
}

.efc-full-image-hero .efc-full-image-hero__content {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 75rem);
  margin-inline: auto;
}

.efc-full-image-hero .efc-full-image-hero__copy {
  width: 100%;
  max-width: 40rem;
  margin-inline: 0 auto;
}

.efc-full-image-hero:not(.has-custom-content-position) .efc-full-image-hero__copy,
.efc-full-image-hero:is(.is-position-top-center, .is-position-bottom-center) .efc-full-image-hero__copy {
  margin-inline: auto;
}

.efc-full-image-hero:is(.is-position-top-right, .is-position-center-right, .is-position-bottom-right) .efc-full-image-hero__copy {
  margin-inline: auto 0;
}

.efc-full-image-hero .efc-full-image-hero__copy > * {
  margin-inline: 0;
}

.efc-full-image-hero .efc-full-image-hero__headline {
  max-width: 15ch;
  color: var(--wp--preset--color--white);
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

.efc-full-image-hero .efc-full-image-hero__description {
  max-width: 56ch;
  color: var(--wp--preset--color--white);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

.efc-full-image-hero .efc-full-image-hero__cta .wp-block-button__link {
  border-radius: 0.5rem;
  background-color: var(--wp--preset--color--green);
  background-color: color-mix(in srgb, var(--wp--preset--color--green) 82%, var(--wp--preset--color--slate));
  color: var(--wp--preset--color--white);
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
}

.efc-full-image-hero .efc-full-image-hero__cta .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--slate);
  background-color: color-mix(in srgb, var(--wp--preset--color--green) 68%, var(--wp--preset--color--slate));
}

.efc-full-image-hero .efc-full-image-hero__cta .wp-block-button__link:focus-visible {
  outline: 3px solid var(--wp--preset--color--white);
  outline-offset: 4px;
}

.efc-full-image-hero .efc-full-image-hero__cta .wp-block-button__link:not([href]) {
  cursor: default;
  opacity: 0.75;
}

@media (max-width: 781px) {
  .efc-full-image-hero {
    min-height: clamp(32rem, 70svh, 42rem);
    padding-block: 4rem;
  }
}

@media (max-width: 480px) {
  .efc-full-image-hero .efc-full-image-hero__headline {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }
}
/* Home Hero and its optional, separately inserted overlap card. */
.efc-home-hero {
  padding: clamp(3rem, 6vw, 6rem) var(--efc-hero-gutter);
}

.efc-home-hero .efc-home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: var(--efc-hero-gap);
  max-width: var(--wp--style--global--wide-size, 75rem);
  margin-inline: auto;
}

.efc-home-hero .wp-block-column {
  min-width: 0;
}

.efc-home-hero .efc-home-hero__eyebrow {
  color: var(--wp--preset--color--green);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.efc-home-hero .efc-home-hero__headline {
  max-width: 14ch;
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

.efc-home-hero .efc-home-hero__description {
  max-width: 58ch;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

.efc-home-hero .efc-home-hero__cta .wp-block-button__link,
.efc-hero-overlap-slot .efc-hero-overlap-slot__cta .wp-block-button__link,
.efc-form-section .efc-hero-overlap-slot__cta .wp-block-button__link {
  border-radius: 0.5rem;
  background-color: var(--wp--preset--color--green);
  color: var(--wp--preset--color--white);
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  text-decoration: none;
}

/* A barely darker brand green gives the standalone button AA text contrast. */
.efc-form-section .efc-hero-overlap-slot__cta .wp-block-button__link {
  background-color: color-mix(in srgb, var(--wp--preset--color--green) 98%, var(--wp--preset--color--slate));
}

.efc-form-section .efc-hero-overlap-slot__cta .wp-block-button__link:hover {
  background-color: color-mix(in srgb, var(--wp--preset--color--green) 90%, var(--wp--preset--color--slate));
}

.efc-home-hero .efc-home-hero__cta .wp-block-button__link:focus-visible,
.efc-hero-overlap-slot .efc-hero-overlap-slot__cta .wp-block-button__link:focus-visible,
.efc-form-section .efc-hero-overlap-slot__cta .wp-block-button__link:focus-visible {
  outline: 3px solid var(--wp--preset--color--slate);
  outline-offset: 3px;
}

/* A linkless native Button is an editorial placeholder, never a working CTA. */
.efc-home-hero .efc-home-hero__cta .wp-block-button__link:not([href]),
.efc-hero-overlap-slot .efc-hero-overlap-slot__cta .wp-block-button__link:not([href]),
.efc-form-section .efc-hero-overlap-slot__cta .wp-block-button__link:not([href]) {
  cursor: default;
  opacity: 0.7;
}

.efc-home-hero .efc-home-hero__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--efc-radius-media);
  background-color: var(--wp--preset--color--mist);
}

.efc-home-hero .efc-home-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.efc-hero-overlap-slot,
.efc-form-section {
  box-sizing: border-box;
  max-width: var(--wp--style--global--wide-size, 75rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--wp--preset--color--mist);
  border-radius: var(--efc-radius-card);
  background-color: var(--wp--preset--color--white);
  box-shadow: 0 1rem 2.5rem color-mix(in srgb, var(--wp--preset--color--slate) 9%, transparent);
}

.efc-hero-overlap-slot .efc-hero-overlap-slot__layout,
.efc-form-section .efc-hero-overlap-slot__layout {
  align-items: center;
  gap: var(--efc-hero-gap);
}

.efc-home-hero + .efc-hero-overlap-slot,
.efc-hero + .efc-hero-conversion {
  position: relative;
  z-index: 1;
  margin-block-start: calc(-1 * var(--efc-overlap-offset));
}

@media (max-width: 781px) {
  .efc-home-hero {
    padding-block: 3rem;
  }

  .efc-home-hero .efc-home-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .efc-home-hero .efc-home-hero__headline {
    max-width: 18ch;
  }

  .efc-hero-overlap-slot,
  .efc-form-section {
    margin-inline: var(--efc-hero-gutter);
  }

  .efc-home-hero + .efc-hero-overlap-slot {
    margin-block-start: 0;
  }

  .efc-hero + .efc-hero-conversion {
    margin-block-start: calc(-1 * clamp(2rem, 5vw, 2.5rem));
  }
}

/* Editor-only OFF preview; the server emits no block markup in OFF mode. */
.efc-hero-conversion-off,
.efc-form-section-off {
  padding: 1.5rem;
  border: 1px dashed var(--wp--preset--color--green);
  border-radius: var(--efc-radius-card);
  background-color: var(--wp--preset--color--soft-white);
  color: var(--wp--preset--color--slate);
}

.efc-hero-conversion-off p,
.efc-form-section-off p {
  margin-bottom: 0;
}

.efc-hero-conversion .wp-block-column,
.efc-form-section .wp-block-column {
  min-width: 0;
}

/* Form mode stacks copy, the official frame, and the fallback while needed. */
.efc-hero-conversion--form {
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.efc-hero-conversion--form .efc-hero-conversion__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.875rem, 2vw, 1.25rem);
}

.efc-hero-conversion--form .efc-hero-conversion__intro {
  max-width: 66ch;
}

.efc-hero-conversion--form .efc-hero-conversion__intro h2 {
  margin-block: 0 0.5rem;
}

.efc-hero-conversion--form .efc-hero-conversion__intro p,
.efc-hero-conversion--form .efc-hero-conversion__fallback p {
  margin-block: 0;
}

.efc-hero-conversion--form .efc-hero-conversion__form,
.efc-hero-conversion--form .hs-form-frame,
.efc-hero-conversion--form iframe {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.efc-hero-conversion--form .efc-hero-conversion__fallback p {
  margin-block-end: 0.75rem;
  color: var(--wp--preset--color--slate);
}

/* Interior Pages use an unlocked content canvas and editable native sections. */
.efc-interior-hero,
.efc-interior-section {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(3rem, 6vw, 5rem) var(--efc-hero-gutter);
}

.efc-interior-hero .efc-interior-hero__inner,
.efc-interior-section .efc-interior-section__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 75rem);
  margin-inline: auto;
}

.efc-interior-hero .efc-interior-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-block: 0;
}

.efc-interior-hero .wp-block-column,
.efc-services-approach .wp-block-column {
  min-width: 0;
}

.efc-interior-hero .efc-interior-hero__copy > * {
  margin-inline: 0;
}

.efc-interior-hero .efc-interior-hero__eyebrow,
.efc-interior-section .efc-interior-section__eyebrow {
  color: #3e7d56;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.efc-interior-hero.has-slate-background-color .efc-interior-hero__eyebrow {
  color: var(--wp--preset--color--mist);
}

.efc-interior-hero .efc-interior-hero__heading {
  max-width: 17ch;
  color: var(--wp--preset--color--slate);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.1;
  overflow-wrap: break-word;
}

.efc-interior-hero.has-slate-background-color .efc-interior-hero__heading,
.efc-interior-hero.has-slate-background-color .efc-interior-hero__description {
  color: var(--wp--preset--color--white);
}

.efc-interior-hero .efc-interior-hero__description {
  max-width: 57ch;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.efc-interior-hero .efc-interior-hero__image {
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--efc-radius-media);
  background: var(--wp--preset--color--mist);
}

.efc-interior-hero .efc-interior-hero__image img[src] {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.efc-interior-hero .efc-interior-hero__image img:not([src]) {
  display: none;
}

.efc-interior-section h2 {
  max-width: 25ch;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.2;
}

.efc-interior-section h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.3;
}

.efc-interior-section p {
  max-width: 70ch;
}

.efc-services-directory .efc-services-directory__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 5rem);
  margin-block-start: clamp(2rem, 4vw, 3rem);
}

.efc-services-directory .efc-services-directory__item,
.efc-service-detail .efc-service-detail__topic {
  min-width: 0;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--wp--preset--color--mist);
}

.efc-services-directory .efc-services-directory__item > *,
.efc-service-detail .efc-service-detail__topic > * {
  margin-inline: 0;
}

.efc-services-approach .efc-services-approach__factors {
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-block: clamp(2rem, 4vw, 3rem);
}

.efc-services-approach .efc-services-approach__steps {
  max-width: 48rem;
  padding-inline-start: 1.5rem;
}

.efc-services-approach .efc-services-approach__steps li {
  padding-block: 0.5rem;
}

.efc-services-faq .efc-interior-section__inner {
  max-width: 50rem;
}

.efc-services-faq .wp-block-details {
  padding-block: 1rem;
  border-block-start: 1px solid var(--wp--preset--color--mist);
}

.efc-services-faq .wp-block-details:last-child {
  border-block-end: 1px solid var(--wp--preset--color--mist);
}

.efc-services-faq.has-mist-background-color .wp-block-details {
  border-color: color-mix(in srgb, var(--wp--preset--color--slate) 35%, var(--wp--preset--color--mist));
}

.efc-services-faq .wp-block-details summary {
  color: inherit;
  font-weight: 600;
  cursor: pointer;
}

.efc-services-faq .wp-block-details summary:focus-visible {
  outline: 3px solid var(--wp--preset--color--slate);
  outline-offset: 3px;
}

.efc-services-faq.has-slate-background-color .wp-block-details summary:focus-visible {
  outline-color: var(--wp--preset--color--white);
}

.efc-service-detail .efc-service-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  margin-block: clamp(2.5rem, 5vw, 4rem);
}

.efc-service-detail .efc-service-detail__related {
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--wp--preset--color--mist);
}

/* Opt-in full-width bands for service details; saved legacy groups stay intact. */
.efc-interior-section.efc-service-detail--bands {
  padding: 0;
}

.efc-service-detail--bands > .efc-service-detail__band {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-block: 0;
  padding: clamp(3rem, 6vw, 5rem) var(--efc-hero-gutter);
}

.efc-service-detail--bands > .efc-service-detail__band + .efc-service-detail__band,
.efc-service-detail--bands + .efc-services-faq,
.efc-services-faq.has-mist-background-color + .efc-final-consultation {
  margin-block-start: 0;
}

.efc-service-detail--bands .efc-service-detail__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 75rem);
  margin-inline: auto;
}

.efc-service-detail--bands .efc-service-detail__grid {
  margin-block: 0;
}

.efc-service-detail--bands .efc-service-detail__topic {
  border-color: color-mix(in srgb, var(--wp--preset--color--slate) 35%, var(--wp--preset--color--mist));
}

.efc-service-detail--bands .efc-service-detail__band.has-slate-background-color .efc-service-detail__topic {
  border-color: var(--wp--preset--color--mist);
}

.efc-service-detail--bands .efc-service-detail__related {
  padding-block-start: 0;
  border-block-start: 0;
}

/* Independent service sections use native Group color attributes. */
.efc-service-section .wp-block-heading,
.efc-service-detail--bands .efc-service-detail__band .wp-block-heading,
.efc-services-faq .wp-block-heading {
  color: inherit;
}

.efc-service-details-section .efc-service-detail__grid {
  margin-block: 0;
}

.efc-interior-hero + .efc-service-section,
.efc-service-section + .efc-service-section,
.efc-service-section + .efc-services-faq,
.efc-services-faq + .efc-service-section,
.efc-service-section + .efc-final-consultation {
  margin-block-start: 0;
}

/* Keep adjacent full-width bands flush on service-detail Pages only. */
.entry-content:has(> .efc-service-introduction.efc-service-section)
  > :is(.efc-interior-hero, .efc-service-section, .efc-visual-divider, .efc-services-approach, .efc-services-faq)
  + :is(.efc-service-section, .efc-visual-divider, .efc-services-approach, .efc-services-faq, .efc-final-consultation) {
  margin-block-start: 0;
}

/* Compact related-service discovery on the four service Drafts. */
.efc-explore-services {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}

.efc-explore-services .efc-explore-services__cards {
  align-items: stretch;
  gap: 1rem;
  margin-block-start: 1.5rem;
}

.efc-explore-services .efc-explore-services__cards > .wp-block-column {
  min-width: 0;
}

.efc-explore-services .efc-explore-services__card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 1.25rem;
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--mist);
  border-radius: 1.125rem;
  box-shadow: 0 3px 12px rgb(37 59 57 / 5%);
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.efc-explore-services .efc-explore-services__card:hover {
  border-color: var(--wp--preset--color--green);
  box-shadow: 0 8px 20px rgb(37 59 57 / 9%);
  transform: translateY(-2px);
}

.efc-explore-services .efc-explore-services__card:focus-within {
  border-color: var(--wp--preset--color--green);
  box-shadow: 0 8px 20px rgb(37 59 57 / 9%);
}

.efc-explore-services .efc-explore-services__card .wp-block-heading {
  margin-block-start: 0;
  color: var(--wp--preset--color--slate);
  font-size: 1.125rem;
  overflow-wrap: break-word;
}

.efc-explore-services .efc-explore-services__card p {
  margin-block-start: auto;
  padding-block-start: 0.75rem;
}

.efc-explore-services .efc-explore-services__card a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline-end: 1.4em;
  color: var(--wp--preset--color--green);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition: color 200ms ease;
}

.efc-explore-services .efc-explore-services__card a::after {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  content: "\2192";
  text-decoration: none;
  transform: translateY(-50%);
  transition: transform 200ms ease;
}

.efc-explore-services .efc-explore-services__card a:hover {
  color: var(--wp--preset--color--slate);
}

.efc-explore-services .efc-explore-services__card a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.efc-explore-services .efc-explore-services__card a:is(:hover, :focus-visible)::after {
  transform: translateY(-50%) translateX(2px);
}

.efc-explore-services .efc-explore-services__card a:focus-visible {
  outline: 3px solid var(--wp--preset--color--green);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .efc-explore-services .efc-explore-services__card,
  .efc-explore-services .efc-explore-services__card a,
  .efc-explore-services .efc-explore-services__card a::after {
    transition: none;
  }

  .efc-explore-services .efc-explore-services__card:hover {
    transform: none;
  }

  .efc-explore-services .efc-explore-services__card a:is(:hover, :focus-visible)::after {
    transform: translateY(-50%);
  }
}
:is(.efc-service-section, .efc-service-detail__band, .efc-services-faq).has-slate-background-color a:not(.wp-block-button__link) {
  color: var(--wp--preset--color--mist);
}

:is(.efc-service-section, .efc-service-detail__band, .efc-services-faq).has-slate-background-color a:focus-visible {
  outline: 3px solid var(--wp--preset--color--white);
  outline-offset: 3px;
}

@media (max-width: 781px) {
  .efc-interior-hero .efc-interior-hero__inner,
  .efc-services-directory .efc-services-directory__list,
  .efc-service-detail .efc-service-detail__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .efc-services-approach .efc-services-approach__factors {
    flex-direction: column;
  }
}

/* Native Cover owns the image, focal point, overlay, and optional fixed setting. */
.efc-service-details-section + .efc-visual-divider,
.efc-visual-divider + .efc-services-approach {
  margin-block-start: 0;
}

.efc-visual-divider {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: clamp(18rem, 48vh, 34rem);
  margin-inline: 0;
  padding: clamp(1.5rem, 4vw, 3rem) var(--efc-hero-gutter);
  background-color: var(--wp--preset--color--slate);
}

.efc-visual-divider .wp-block-cover__inner-container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 75rem);
  margin-inline: auto;
}

.efc-visual-divider .efc-visual-divider__microcopy {
  max-width: 40rem;
  margin-inline: 0;
  color: var(--wp--preset--color--white);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 1024px) {
  .efc-visual-divider {
    min-height: clamp(16rem, 38vh, 28rem);
  }
}

@media (max-width: 781px), (hover: none), (prefers-reduced-motion: reduce) {
  .wp-block-cover.efc-visual-divider.has-parallax,
  .efc-visual-divider .wp-block-cover__image-background.has-parallax {
    background-attachment: scroll;
  }
}

@media (max-width: 600px) {
  .efc-visual-divider {
    min-height: clamp(14rem, 32vh, 23rem);
  }
}
