/*
Theme Name: Enterprise Services
Theme URI: https://example.com/
Author: OpenAI
Description: Custom WordPress theme concept for Enterprise Services based on supplied design and website content.
Version: 1.1.6
Text Domain: enterprise-services
*/

:root {
  --es-green: #8cc63f;
  --es-green-dark: #7dbb3a;
  --es-green-soft: #dfead2;
  --es-text: #565656;
  --es-bg: #ffffff;
  --es-white: #ffffff;
  --es-blue: #17a8f0;
  --es-red: #ef3135;
  --es-yellow: #f0be11;
  --es-footer-bg: #dbe9c9;
  --es-footer-bg-2: #d0e0b8;
  --es-container: 1260px;
  --es-radius: 999px;
  --es-display: "Arial Black", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--es-text);
  background: var(--es-bg);
  line-height: 1.45;
}
body.home { background: #ffffff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; line-height: 1.04; }
.site-container { width: min(var(--es-container), calc(100% - 24px)); margin: 0 auto; }

.site-header {
  position: relative;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.header-inner {
  min-height: 90px;
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  align-items: center;
  gap: 36px;
  padding: 14px 0;
}
.branding {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}
.branding-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}
.branding .custom-logo-link,
.site-logo { display: inline-flex; align-items: center; }
.site-logo img,
.branding .custom-logo-link img,
.branding .custom-logo { max-height: 64px; width: auto; }
.header-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: #6fb237;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
}
.header-wordmark span:last-child { color: #8c8c8c; }
.brand-rule {
  width: 2px;
  height: 46px;
  background: var(--es-green);
  opacity: .9;
}
.main-navigation {
  grid-column: 2;
  justify-self: end;
  align-self: center;
  min-width: 0;
}
.main-navigation .primary-menu,
.main-navigation > ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 0;
}
.main-navigation .primary-menu > li,
.main-navigation > ul > li {
  position: relative;
  list-style: none;
  white-space: nowrap;
}
.main-navigation .primary-menu > li > a,
.main-navigation > ul > li > a {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--es-green);
  border-radius: 999px;
  border: 1px solid transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
  transition: color .15s ease, border-color .15s ease, transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-parent > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_parent > a,
.main-navigation a:hover {
  color: #74aa2d;
  background: linear-gradient(180deg, rgba(140,198,63,.16) 0%, rgba(140,198,63,.08) 100%);
  border-color: rgba(140,198,63,.24);
  box-shadow: 0 12px 22px rgba(140,198,63,.14);
  transform: translateY(-1px);
}
.main-navigation .menu-item-has-children > a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.main-navigation .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 25;
  min-width: 240px;
  list-style: none;
  margin: 0;
  padding: 14px 0;
  background: #ffffff;
  border: 1px solid rgba(86, 86, 86, .12);
  border-radius: 22px;
  box-shadow: 0 22px 42px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.main-navigation .sub-menu li {
  list-style: none;
}
.main-navigation .sub-menu a {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: block;
  min-height: 0;
  margin: 0 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 999px;
  border-bottom: 0;
  color: var(--es-green);
  transition: color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.main-navigation .sub-menu .current-menu-item > a,
.main-navigation .sub-menu .current_page_item > a,
.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus {
  color: #74aa2d;
  background: linear-gradient(180deg, rgba(140,198,63,.16) 0%, rgba(140,198,63,.08) 100%);
  box-shadow: 0 10px 18px rgba(140,198,63,.12);
  border-bottom-color: transparent;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: clamp(330px, 38vw, 420px);
  background: #193d77;
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  transform-origin: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,34,83,.82) 0%, rgba(11,34,83,.70) 26%, rgba(11,34,83,.18) 58%, rgba(11,34,83,.03) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: center;
}
.hero-content {
  position: relative;
  width: min(100%, 560px);
  margin-left: clamp(44px, 5.2vw, 72px);
  padding: 44px 0;
}
.hero-kicker {
  width: 138px;
  height: 4px;
  background: #fff;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--es-display);
  font-size: clamp(34px, 3.25vw, 54px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 16px;
  line-height: .95;
  max-width: 11ch;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.hero p {
  width: min(100%, 430px);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.6;
  margin-bottom: 22px;
  color: rgba(255,255,255,.97);
  text-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--es-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 0;
  letter-spacing: .02em;
  box-shadow: 0 12px 24px rgba(140,198,63,.22), 0 1px 0 rgba(255,255,255,.2) inset;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.button:hover {
  background: #78ac33;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(140,198,63,.28), 0 1px 0 rgba(255,255,255,.2) inset;
}
.hero .button {
  background: rgba(255,255,255,.96);
  color: var(--es-green-dark);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 18px 34px rgba(8, 17, 36, .22);
}
.hero .button:hover {
  background: #ffffff;
  box-shadow: 0 22px 36px rgba(8, 17, 36, .26);
}
.button-small { min-width: 112px; }
.hero-arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  color: var(--es-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.hero-arrow span {
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  transform: translateY(-1px);
}
.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }
.section-services {
  padding: 26px 0 50px;
  background: #fff;
}
.page-hero + .section-services { padding-top: 18px; }
.services-shell { max-width: 1220px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 3.4vw, 54px);
  align-items: stretch;
}
.circle-card {
  --circle-accent: var(--es-green);
  --circle-glow: rgba(140,198,63,.16);
  --circle-orbit: rgba(140,198,63,.34);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  width: min(100%, 380px);
  margin: 0 auto;
  padding: 0 8px 10px;
  text-align: left;
  position: relative;
}
.circle-card.blue {
  --circle-accent: var(--es-blue);
  --circle-glow: rgba(23,168,240,.18);
  --circle-orbit: rgba(23,168,240,.34);
}
.circle-card.red {
  --circle-accent: var(--es-red);
  --circle-glow: rgba(239,49,53,.16);
  --circle-orbit: rgba(239,49,53,.30);
}
.circle-card.yellow {
  --circle-accent: var(--es-yellow);
  --circle-glow: rgba(240,190,17,.16);
  --circle-orbit: rgba(240,190,17,.30);
}
.circle-card.green {
  --circle-accent: var(--es-green-dark);
  --circle-glow: rgba(125,187,58,.18);
  --circle-orbit: rgba(125,187,58,.30);
}
.circle-visual {
  position: relative;
  z-index: 2;
  width: clamp(190px, 22vw, 320px);
  margin: 0 auto;
}
.circle-orbit {
  display: none;
}
.circle-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto;
  border: 5px solid var(--circle-accent);
  background: #fff;
  box-shadow: 0 18px 40px rgba(16,39,58,.10), 0 0 0 2px rgba(255,255,255,.9) inset;
}
.circle-media::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--circle-glow) 0%, rgba(255,255,255,0) 68%);
  z-index: -1;
}
.circle-media::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.84);
  pointer-events: none;
}
.circle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.circle-card-body {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: -72px;
  padding: 104px 28px 28px;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdf8 100%);
  border: 1px solid rgba(117,145,88,.12);
  box-shadow: 0 22px 52px rgba(16,39,58,.08);
  overflow: hidden;
}
.circle-card-body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 150px;
  background: radial-gradient(circle at 50% 0%, var(--circle-glow) 0%, rgba(255,255,255,0) 72%);
}
.circle-card-body > * {
  position: relative;
  z-index: 1;
}
.circle-card h3 {
  font-family: var(--es-display);
  color: var(--es-green);
  text-transform: uppercase;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.service-title-rule {
  width: 128px;
  height: 4px;
  background: linear-gradient(90deg, var(--circle-accent) 0%, var(--es-green) 100%);
  margin-bottom: 14px;
}
.circle-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #66725f;
  min-height: 126px;
  margin: 0 0 18px;
}
.circle-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--es-footer-bg) 0%, var(--es-footer-bg-2) 100%);
  padding: 56px 0 40px;
}
.site-footer::before {
  content: "es";
  position: absolute;
  right: -24px;
  bottom: -108px;
  color: rgba(151,190,100,.18);
  font-family: var(--es-display);
  font-weight: 800;
  font-size: 280px;
  line-height: .75;
  letter-spacing: -.08em;
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  right: 32px;
  top: 48px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(180,214,143,.42);
  pointer-events: none;
}
.footer-inner { position: relative; z-index: 2; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  align-items: center;
  gap: 46px;
  margin-bottom: 28px;
}
.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand-block .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.footer-logo,
.footer-brand-block .custom-logo-link img,
.footer-top .custom-logo {
  max-height: 84px;
  width: auto;
}
.footer-wordmark {
  color: #6fb237;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
}
.footer-wordmark span:last-child { color: #8c8c8c; }
.quote-mark {
  position: relative;
  justify-self: stretch;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  text-align: right;
  color: #fff;
  font-family: var(--es-display);
  font-size: clamp(24px, 2.45vw, 38px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 28px 30px 24px 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.36);
  box-shadow: 0 24px 42px rgba(112,146,68,.14);
  text-shadow: 0 4px 16px rgba(82,114,52,.18);
}
.quote-mark::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: 18px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.45) 100%);
}
.quote-mark::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.12);
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 18px 0 24px;
  align-items: start;
  max-width: none;
}
.footer-title {
  color: #55664b;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: .05em;
}
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin: 0 0 10px; }
.footer-menu a {
  display: inline-block;
  font-size: 14px;
  line-height: 1.45;
  color: #65705d;
}
.footer-menu a:hover { color: #4a563f; text-decoration: underline; }
.footer-mini-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 34px;
  align-items: flex-end;
  margin-bottom: 18px;
}
.footer-mini-logos .mini-logo { min-width: 132px; }
.mini-logo span {
  display: block;
  font-size: 40px;
  line-height: .8;
  font-weight: 800;
  letter-spacing: -.1em;
  margin-bottom: 4px;
  font-family: var(--es-display);
}
.mini-logo small {
  display: block;
  font-size: 9px;
  line-height: 1.35;
  color: #4b5347;
  font-weight: 700;
  letter-spacing: .04em;
}
.mini-logo-blue span { color: var(--es-blue); }
.mini-logo-red span { color: var(--es-red); }
.mini-logo-yellow span { color: var(--es-yellow); }
.footer-ack h4 {
  font-size: 13px;
  margin: 0 0 10px;
  color: #4e5a47;
  letter-spacing: .05em;
}
.footer-ack p {
  max-width: 900px;
  font-size: 14px;
  line-height: 1.75;
  color: #5f685c;
  margin: 0;
}
.footer-badges-row {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.badge-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid currentColor;
  display: inline-block;
  opacity: .95;
}
.badge-red { color: var(--es-red); }
.badge-yellow { color: var(--es-yellow); }
.badge-green { color: var(--es-green); }

.contact-hero {
  position: relative;
  min-height: clamp(320px, 34vw, 440px);
  background: #173969;
  overflow: hidden;
  color: #fff;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--contact-hero-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,34,83,.84) 0%, rgba(11,34,83,.68) 28%, rgba(11,34,83,.28) 58%, rgba(11,34,83,.08) 100%),
    linear-gradient(180deg, rgba(15,34,61,.18) 0%, rgba(15,34,61,.06) 100%);
}
.contact-hero__inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: center;
}
.contact-hero__content {
  width: min(100%, 560px);
  padding: 58px 0;
}
.contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-hero__eyebrow::before {
  content: "";
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
}
.contact-hero h1 {
  color: #fff;
  font-family: var(--es-display);
  font-size: clamp(40px, 4.4vw, 64px);
  letter-spacing: -.04em;
  line-height: .92;
  margin-bottom: 18px;
  max-width: 12ch;
}
.contact-hero .section-intro {
  max-width: 470px;
  margin-top: 0;
  color: rgba(255,255,255,.94);
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.7;
}

.contact-page-shell {
  padding: 48px 0 90px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}
.contact-card {
  height: 100%;
}
.contact-card h2 {
  margin-bottom: 12px;
  color: var(--es-green-dark);
  font-family: var(--es-display);
  font-size: clamp(26px, 2.7vw, 34px);
  letter-spacing: -.03em;
}
.contact-card__intro {
  margin-bottom: 24px;
  color: #607060;
  font-size: 16px;
  line-height: 1.7;
}
.contact-detail-list {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}
.contact-detail-item {
  display: grid;
  grid-template-columns: minmax(92px, 120px) 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdf8 0%, #ffffff 100%);
  border: 1px solid rgba(117,145,88,.14);
}
.contact-detail-item__label {
  color: #4f6444;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.contact-detail-item__value {
  color: #44524d;
  font-size: 16px;
  line-height: 1.65;
}
.contact-detail-item__value a {
  color: var(--es-green-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.contact-directions-button {
  min-width: 220px;
}

.contact-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.5;
}
.contact-notice--success {
  color: #295b2f;
  background: rgba(140,198,63,.16);
  border: 1px solid rgba(140,198,63,.28);
}
.contact-notice--error {
  color: #8a2f2f;
  background: rgba(239,49,53,.10);
  border: 1px solid rgba(239,49,53,.20);
}
.contact-form {
  display: grid;
  gap: 20px;
}
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-field {
  display: grid;
  gap: 8px;
}
.contact-field--full {
  grid-column: 1 / -1;
}
.contact-field label {
  color: #4f6444;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(117,145,88,.18);
  border-radius: 16px;
  background: #fbfdf8;
  color: #42504a;
  font: inherit;
  padding: 14px 16px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.contact-field textarea {
  resize: vertical;
  min-height: 170px;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: rgba(140,198,63,.42);
  box-shadow: 0 0 0 4px rgba(140,198,63,.14);
}

.contact-map-section {
  margin-top: 30px;
}
.contact-map-card__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.contact-map-card__header h2 {
  margin-bottom: 8px;
  color: var(--es-green-dark);
}
.contact-map-card__header p {
  margin: 0;
  color: #607060;
  font-size: 16px;
}
.button-secondary {
  background: #fff;
  color: var(--es-green-dark);
  border: 1px solid rgba(117,145,88,.20);
  box-shadow: 0 12px 24px rgba(16,39,58,.08);
}
.button-secondary:hover {
  background: #fbfdf8;
  box-shadow: 0 16px 28px rgba(16,39,58,.12);
}
.contact-map-wrap {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(117,145,88,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.contact-map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 48px;
  background:
    radial-gradient(circle at 82% 16%, rgba(140,198,63,.14) 0%, rgba(140,198,63,0) 26%),
    linear-gradient(180deg, #f7fbf1 0%, #ffffff 100%);
  box-shadow: inset 0 -1px 0 rgba(140,198,63,.12);
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140,198,63,.28), transparent);
}
.page-hero h1 {
  position: relative;
  color: var(--es-green-dark);
  font-family: var(--es-display);
  font-size: clamp(40px, 4.6vw, 58px);
  letter-spacing: -.04em;
  line-height: .94;
  max-width: min(100%, 20ch);
  text-wrap: balance;
}
.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #5c6855;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-intro {
  max-width: 760px;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.7;
  color: #5f685c;
}
.page-content { padding-bottom: 88px; }
.page-content .site-container { max-width: 1140px; }
.content-card {
  background: #fff;
  border: 1px solid rgba(117,145,88,.12);
  border-radius: 28px;
  padding: 36px clamp(24px, 4vw, 50px) 44px;
  box-shadow: 0 24px 56px rgba(16, 39, 58, .10);
}
.content-card h2 { margin-bottom: 8px; }
.content-card h2 a { color: var(--es-green-dark); }
.page-card,
.single-card {
  max-width: 1040px;
  margin: 0 auto;
}
.content-image,
.entry-content img {
  border-radius: 22px;
  box-shadow: 0 20px 42px rgba(16, 39, 58, .14);
}
.content-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  margin-bottom: 30px;
}
.entry-content {
  color: #4d5850;
  font-size: 18px;
  line-height: 1.75;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content p { margin: 0 0 1.25em; }
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}
.entry-content li {
  margin-bottom: .45em;
  padding-left: .15em;
}
.entry-content li::marker { color: var(--es-green-dark); }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--es-green-dark);
  line-height: 1.14;
}
.entry-content h2 {
  margin: 1.7em 0 .6em;
  font-size: clamp(28px, 3vw, 36px);
}
.entry-content h3 {
  margin: 1.5em 0 .55em;
  font-size: clamp(22px, 2.2vw, 28px);
}
.entry-content h4 {
  margin: 1.35em 0 .5em;
  font-size: clamp(18px, 1.8vw, 22px);
}
.entry-content a {
  color: var(--es-green-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.entry-content strong { color: #36453a; }
.entry-content img {
  margin: 18px 0 28px;
  height: auto;
  max-width: 100%;
}
.archive-card p:last-of-type { margin-bottom: 0; }

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 0 14px;
    gap: 12px;
  }
  .branding,
  .main-navigation {
    grid-column: auto;
    grid-row: auto;
  }
  .main-navigation > ul,
  .main-navigation .primary-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
  }
  .main-navigation .sub-menu {
    position: static;
    min-width: 0;
    margin-top: 6px;
    padding: 6px 0 0 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
  }
  .main-navigation .sub-menu a {
    margin: 0;
    padding: 8px 0;
  }
  .main-navigation .primary-menu > li > a,
  .main-navigation > ul > li > a {
    padding: 10px 14px;
  }
  .main-navigation .current-menu-item > a,
  .main-navigation .current_page_item > a,
  .main-navigation .current-menu-parent > a,
  .main-navigation .current-menu-ancestor > a,
  .main-navigation .current_page_parent > a,
  .main-navigation a:hover {
    transform: translateY(-1px);
  }
  .footer-top,
  .footer-links-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links-grid { gap: 14px; max-width: none; }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-map-card__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .quote-mark {
    text-align: left;
    justify-self: start;
    max-width: 100%;
    margin-left: 0;
    width: 100%;
    white-space: normal;
    padding: 24px 24px 22px 34px;
  }
  .quote-mark::after { right: -10px; top: -10px; width: 56px; height: 56px; }
  .hero-content {
    width: min(100%, 500px);
    margin-left: 0;
    padding: 40px 0;
  }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }
  .circle-card {
    align-items: flex-start;
    width: min(100%, 460px);
  }
  .circle-card p { min-height: 0; }
  .circle-card-body {
    margin-top: -62px;
    padding: 92px 24px 24px;
  }
  .content-card {
    padding: 30px 24px 34px;
    border-radius: 24px;
  }
  .entry-content {
    font-size: 17px;
    line-height: 1.7;
  }
}

@media (max-width: 700px) {
  .hero { min-height: 360px; }
  .hero-content {
    width: min(100%, 360px);
    padding: 34px 0;
  }
  .hero-kicker { margin-bottom: 14px; }
  .hero p {
    width: 100%;
    margin-bottom: 18px;
  }
  .footer-top { gap: 18px; }
  .footer-logo,
  .footer-brand-block .custom-logo-link img,
  .footer-top .custom-logo { max-height: 74px; }
  .contact-hero {
    min-height: 300px;
  }
  .contact-hero__content {
    padding: 42px 0;
  }
  .contact-page-shell {
    padding: 34px 0 72px;
  }
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
  .contact-detail-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .contact-map-wrap iframe {
    min-height: 320px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .quote-mark { font-size: 24px; }
  .header-wordmark {
    font-size: 18px;
  }
  .brand-rule {
    height: 34px;
  }
  .circle-visual {
    width: min(100%, 290px);
  }
  .circle-card-body {
    margin-top: -50px;
    padding: 82px 20px 22px;
    border-radius: 26px;
  }
  .content-image { aspect-ratio: 4 / 3; margin-bottom: 24px; }
  .entry-content {
    font-size: 16px;
    line-height: 1.65;
  }
  .site-container { width: min(var(--es-container), calc(100% - 18px)); }
}

@media (max-width: 480px) {
  .hero-content {
    width: min(100%, 290px);
  }
  .branding {
    gap: 14px;
  }
  .branding-lockup {
    gap: 12px;
  }
  .header-wordmark {
    font-size: 15px;
  }
  .primary-menu {
    gap: 8px 14px;
  }
  .footer-links-grid {
    gap: 12px;
  }
  .footer-mini-logos { gap: 14px 22px; }
  .content-card {
    padding: 24px 18px 28px;
    border-radius: 20px;
  }
}
