/* ============================================================
   0. RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: #1B1B1B;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --ess-red:        #BA221D;
  --ess-red-dark:   #96190F;
  --ess-ink:        #1B1B1B;
  --ess-white:      #FFFFFF;
  --container-max:  1760px;
  --header-h:       92px;
}

/* ============================================================
   2. TYPOGRAPHY HIERARCHY  (h1 -> h6, p)
   Reference size is set for the 1920px canvas; every breakpoint
   the client listed (1600 / 1300 / 1199 / 980 / 768 / 520 /
   414 / 360) scales the headings down. The <p> tag is held at
   the requested fixed 16px across every breakpoint.
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--ess-ink);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
h1 { font-size: 70px; line-height: 1.1;  font-weight: 800; }
h2 { font-size: 48px; line-height: 1.15; font-weight: 800; }
h3 { font-size: 36px; line-height: 1.2;  font-weight: 700; }
h4 { font-size: 28px; line-height: 1.25; font-weight: 700; }
h5 { font-size: 22px; line-height: 1.3;  font-weight: 600; }
h6 { font-size: 18px; line-height: 1.35; font-weight: 600; }
p  {
  font-size: 16px;
  line-height: 1.7;
  color: #4B4B4B;
  margin: 0 0 20px;
  font-weight: 400;
}
p:last-child { margin-bottom: 0; }

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 60px;
}
.section        { padding: 120px 0; }
.text-center    { text-align: center; }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 34px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease,
              transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
/* Site-wide button animation: every .btn (header, hero, resource cards,
   app, get-involved, footer) lifts and gains a shadow on hover, then
   settles back down on click. Requested by the client end-to-end. */
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, .16);
}
.btn:active { transform: translateY(-1px); box-shadow: 0 6px 12px rgba(0,0,0,.14); }
.btn--primary {
  background: var(--ess-red);
  color: var(--ess-white);
  border-color: var(--ess-red);
}
.btn--primary:hover { background: var(--ess-red-dark); border-color: var(--ess-red-dark); }
.btn--outline {
  background: transparent;
  color: var(--ess-white);
  border-color: rgba(255,255,255,.75);
}
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: var(--ess-white); }
.btn--sm { padding: 13px 26px; font-size: 15px; }

/* ============================================================
   5. HERO WRAPPER  — background image starts here, running up
   BEHIND the header via a negative top margin (the header now
   lives outside this wrapper in the markup, as a sibling, so
   its sticky positioning is scoped to the whole page instead of
   just this — short — section; see the header notes below).
   The header sits transparent on top of it, then turns solid
   white once the page is scrolled, so the sticky menu stays
   usable further down.
   ============================================================ */
.hero-wrap {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,14,20,.62) 0%, rgba(10,14,20,.42) 42%, rgba(10,14,20,.05) 72%);
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: var(--ess-white);
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 85px; width: auto; }
/* Logo already ships on a white card, so it reads fine on the photo without extra styling */

.main-nav ul { display: flex; align-items: center; gap: 40px; }
.main-nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ess-white);
  padding: 8px 2px;
  position: relative;
  transition: color .2s ease;
}
.current_page_item a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--ess-red);
  transition: width .2s ease;
}
.main-nav a:hover::after,
.current_page_item a::after { width: 100%; }
.main-nav a.is-active { color: var(--ess-white); }
.site-header.is-scrolled .main-nav a { color: var(--ess-ink); }

.header-right { display: flex; align-items: center; gap: 28px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--ess-white);
  padding: 6px;
  transition: color .2s ease;
}
.site-header.is-scrolled .nav-toggle { color: var(--ess-ink); }

/* Mobile nav drawer */
.main-nav { transition: max-height .3s ease; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--ess-white);
    box-shadow: 0 12px 20px rgba(0,0,0,.08);
    max-height: 0;
    overflow: hidden;
  }
  .main-nav.is-open { max-height: 480px; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 60px 28px;
  }
  .main-nav li { width: 100%; border-bottom: 1px solid #F0EEEC; }
  .main-nav a { display: block; padding: 16px 0; color: var(--ess-ink) !important; }
  .main-nav a::after { display: none; }
}

/* ---------- Hero content ----------
   No fixed min-height here on purpose: the section's height is driven by
   its content (the phone/hand graphic + copy), so the stats strip below
   starts right after the phone image ends, with no extra banner bleed. */
.hero {
  display: flex;
  align-items: center;
  padding: 40px 0 0px;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-copy { max-width: 750px; }
.hero-copy h1 { color: var(--ess-white); }
.hero-copy p {
  color: rgba(255,255,255,.9);
  font-size: 16px;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.hero-visual { flex: 0 0 auto; 
    position: relative;
    right: 80px;
}
.hero-visual img {
  width: 380px;
  max-width: 100%;
  filter: drop-shadow(0 30px 45px rgba(0,0,0,.35));
}

/* ============================================================
   6. STATS STRIP  (second phase, sits right under the hero)
   ============================================================ */
.stats-strip {
  background: #4C5737;
  padding: 50px 0;
}
.stats-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 30px;
  position: relative;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; }
.stat-item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, .25);
}
.stat-item i {
  font-size: 34px;
  color: var(--ess-white);
  flex: 0 0 auto;
  line-height: 1;
}
.stat-text h3 {
  color: var(--ess-white);
  font-size: 28px;
  margin: 0 0 4px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: normal;
}
.stat-text p {
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  margin: 0;
  line-height: 1.4;
}

/* ============================================================
   7. APP PROMO  (Essential Support, Right in Your Pocket)
   ============================================================ */
.app-promo { background: #F8F1E9; overflow: hidden; }
.app-promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.app-promo-copy { max-width: 480px; flex: 1 1 420px; }
.app-promo-copy p { max-width: 420px; }

.app-promo-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn.store-badge {
  background: #111111;
  color: #FFFFFF;
  padding: 12px 20px;
  gap: 12px;
}
.store-badge:hover { background: #000000; }
.store-badge i { font-size: 26px; }
.store-badge-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.store-badge-text small { font-size: 11px; color: rgba(255,255,255,.75); font-weight: 400; }
.store-badge-text strong { font-size: 16px; font-weight: 700; }

.app-promo-qr {
  width: 100px;
  height: 100px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid #E7E0D6;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.app-promo-qr:hover { transform: translateY(-3px); box-shadow: 0 12px 20px rgba(0,0,0,.1); }
.app-promo-qr img { width: 100%; height: 100%; object-fit: contain; }

.app-promo-visual { flex: 1 1 480px; text-align: center; }
.app-promo-visual img { width: 100%; max-width: 620px; margin: 0 auto; }

/* ============================================================
   8. MISSION / VISION / IMPACT
   Two plain columns separated by a hairline divider, then a
   distinct highlighted card for "Make an Impact" — this one is
   the section's focal point, so it gets its own background,
   left-aligned copy, and a stronger presence than the other two.
   ============================================================ */
.mvi-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.mvi-col {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 44px;
  text-align: center;
}
.mvi-col:first-child { padding-left: 0; }
.mvi-col:not(:first-child) { border-left: 1px solid #E9E3D9; }
.mvi-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 22px;
  transition: transform .4s ease;
}
.mvi-col:hover .mvi-icon { transform: scale(1.12) rotate(-6deg); }
.mvi-col h5 { margin-bottom: 12px; }
.mvi-col p { font-size: 15px; }

/* ---------- The special "Make an Impact" card ---------- */
.mvi-impact-col { border-left: 1px solid #E9E3D9; padding-right: 0; }
.mvi-impact-card {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: left;
  background: linear-gradient(160deg, #FBEFE7 0%, #FBF3ED 100%);
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: 0 16px 34px rgba(186, 34, 29, .08);
}
.mvi-impact-card .mvi-icon {
  width: 54px;
  height: 54px;
  margin: 0;
  flex: 0 0 auto;
  animation: mvi-pulse 2.4s ease-in-out infinite;
}
.mvi-impact-card h5 { margin-bottom: 8px; }
.mvi-impact-card p { font-size: 14px; margin-bottom: 16px; }
.mvi-impact-card .btn { padding: 11px 22px; font-size: 14px; }

@keyframes mvi-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}

/* ---------- Scroll-reveal entrance animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mvi-impact-card .mvi-icon { animation: none; }
}

/* ============================================================
   9. RESOURCE CARDS  (Essential Resources, All in One App)
   Each card: a photo on top, an icon badge straddling the seam,
   and a solid colour name bar underneath — with a short line of
   copy sitting below the card itself.
   ============================================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
}
.res-card { display: flex; flex-direction: column; }
.res-card-media {
  position: relative;
  height: 150px;
  border-radius: 10px 10px 0 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.res-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.45) 100%);
}
.res-card-icon {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #FFFFFF;
  z-index: 2;
  box-shadow: 0 6px 14px rgba(0,0,0,.2);
}
.res-card-icon i { color: #FFFFFF; font-size: 20px; }
.res-card-bar {
  border-radius: 0 0 10px 10px;
  padding: 15px 14px 15px;
  text-align: center;
}
.res-card-bar h5 { color: #FFFFFF; margin: 0; }
.res-desc {
  text-align: center;
  font-size: 14px;
  color: #4B4B4B;
  margin-top: 14px;
  padding: 0 6px;
}

/* ============================================================
   10. PLACEHOLDER CONTENT SECTIONS (anchors for the nav)
   ============================================================ */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.strip-item {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid #EEECE9;
  border-radius: 10px;
}
.strip-item i {
  font-size: 30px;
  color: var(--ess-red);
  margin-bottom: 18px;
}
.split {
  display: flex;
  align-items: center;
  gap: 72px;
}
.split > * { flex: 1 1 0; min-width: 0; }
.split img { border-radius: 14px; }
.steps { display: flex; flex-direction: column; gap: 28px; }
.step { display: flex; gap: 20px; }
.step-num {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ess-red);
  color: var(--ess-white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.bg-soft { background: #FAF7F5; }

/* ---------- How ESS Helps (icon steps + hover spin) ---------- */
.how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-top: 56px;
}
.step-box {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 10px 14px 6px;
  border-radius: 14px;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.step-box:hover {
  background: var(--ess-white);
}
.step-icon {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: transform .35s ease;
}
.step-icon i:first-child { font-size: 28px; transition: transform .6s ease; }
.step-box:hover .step-icon { transform: scale(1.1); }
.step-box:hover .step-icon i:first-child { transform: rotate(360deg); }
.step-icon-badge {
  position: absolute;
  bottom: 0;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ess-white);
  color: #4C6FE0 !important;
  font-size: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.step-box h5 { margin-bottom: 10px; }
.step-box p { font-size: 14px; max-width: 220px; margin: 0 auto; }
.step-arrow {
  flex: 0 0 auto;
  color: #C9C9C4;
  font-size: 16px;
  padding-top: 46px;
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.involve-card {
  padding: 40px 32px;
  border-radius: 12px;
  background: var(--ess-white);
  border: 1px solid #EEECE9;
}
.involve-card i { font-size: 28px; color: var(--ess-red); margin-bottom: 16px; }

/* ============================================================
   11. FOOTER
   ============================================================ */
.site-footer { background: #4C5737; color: rgba(255,255,255,.75); padding: 60px 0 26px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand { max-width: 280px; flex: 0 0 auto; }
.footer-brand img { height: 80px; margin-bottom: 18px; border-radius: 6px; }
.footer-brand p { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.6; }
.footer-cols { display: flex; gap: 60px; flex: 1 1 auto; justify-content: space-between; }
.footer-col h6 { color: var(--ess-white); margin-bottom: 18px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,.75); font-size: 15px; transition: color .2s ease; }
.footer-col a:hover { color: var(--ess-white); }

.footer-contact-list li { margin-bottom: 14px; }
.footer-contact-list a { display: flex; align-items: center; gap: 10px; }
.footer-contact-list i { font-size: 15px; width: 16px; text-align: center; color: rgba(255,255,255,.85); }

.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--ess-white);
  font-size: 14px;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--ess-red); border-color: var(--ess-red); transform: translateY(-2px); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 14px;
  color: rgba(255,255,255,.65);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.65); transition: color .2s ease; }
.footer-bottom a:hover { color: var(--ess-white); }
.footer-sep { color: rgba(255,255,255,.35); margin: 0 4px; }

/* ============================================================
   12. RESPONSIVE BREAKPOINTS
   Client-specified widths: 1920 / 1600 / 1300 / 1199 / 980 /
   768 / 520 / 414 / 360
   ============================================================ */

/* ---------- 1600px ---------- */
@media (max-width: 1600px) {
  .container { padding: 0 48px; }
  h1 { font-size: 60px; }
  h2 { font-size: 42px; }
  h3 { font-size: 32px; }
  h4 { font-size: 25px; }
  h5 { font-size: 20px; }
  h6 { font-size: 17px; }
  .hero-visual img { width: 370px; }
  .section { padding: 100px 0; }
}

/* ---------- 1300px ---------- */
@media (max-width: 1300px) {
  .container { padding: 0 40px; }
  h1 { font-size: 50px; }
  h2 { font-size: 35px; }
  h3 { font-size: 27px; }
  h4 { font-size: 21px; }
  h5 { font-size: 18px; }
  h6 { font-size: 16px; }
  .main-nav ul { gap: 28px; }
  .hero-visual img { width: 300px; }
  .split { gap: 48px; }
  .section { padding: 90px 0; }
  .resource-grid { gap: 18px; }
  .app-promo-inner { gap: 40px; }
  .app-promo-visual img { max-width: 460px; }
}

/* ---------- 1199px ---------- */
@media (max-width: 1199px) {
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  h4 { font-size: 19px; }
  h5 { font-size: 17px; }
  h6 { font-size: 15px; }
  .main-nav ul { gap: 22px; }
  .main-nav a { font-size: 15px; }
  .hero-copy { max-width: 640px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .involve-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .step-box p { max-width: 100%; }
  .app-promo-visual img { max-width: 380px; }
  .mvi-col { padding: 0 24px; }
}

/* ---------- 980px ---------- */
@media (max-width: 980px) {
  :root { --header-h: 78px; }
  .container { padding: 0 32px; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  h3 { font-size: 21px; }
  h4 { font-size: 18px; }
  h5 { font-size: 16px; }
  h6 { font-size: 15px; }
  .brand img { height: 38px; }
  .header-right .btn { padding: 10px 18px; font-size: 14px; }
  .hero { padding-top: 30px; padding-bottom: 40px; }
  .hero .container { flex-direction: column; text-align: center; padding: 40px 0 50px; }
  .hero-copy { padding: 0; max-width: 100%; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual img { width: 280px; }
  .split { flex-direction: column; }
  .section { padding: 70px 0; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-cols { gap: 40px; flex-wrap: wrap; }
  .resource-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; gap: 24px; }
  .how-steps { flex-wrap: wrap; row-gap: 36px; }
  .step-box { flex: 1 1 40%; }
  .step-arrow { display: none; }
  .app-promo-inner { flex-direction: column; text-align: center; }
  .app-promo-copy { max-width: 100%; }
  .app-promo-copy p { margin-left: auto; margin-right: auto; }
  .app-promo-actions { justify-content: center; }
  .app-promo-visual img { max-width: 420px; }
  .mvi-grid { flex-direction: column; gap: 34px; }
  .mvi-col, .mvi-col:first-child { padding: 0; }
  .mvi-col:not(:first-child), .mvi-impact-col { border-left: none; padding-top: 34px; border-top: 1px solid #E9E3D9; }
  .mvi-impact-card { flex-direction: column; text-align: center; align-items: center; }
  .mvi-impact-card p { margin-left: auto; margin-right: auto; }
  .hero-visual {display: none;}
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; }
  h3 { font-size: 19px; }
  h4 { font-size: 17px; }
  h5 { font-size: 15px; }
  h6 { font-size: 14px; }
  .section { padding: 56px 0; }
  .strip { grid-template-columns: 1fr; }
  .involve-grid { grid-template-columns: 1fr; }
  .btn { padding: 15px 26px; font-size: 15px; }
  .footer-cols { flex-direction: column; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .app-promo-actions { flex-direction: column; align-items: stretch; }
  .btn.store-badge { justify-content: center; }
  .app-promo-qr { align-self: center; }
  .mvi-impact-card { padding: 26px 20px; }
}

/* ---------- 520px ---------- */
@media (max-width: 520px) {
  .container { padding: 0 20px; }
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  h3 { font-size: 18px; }
  h4 { font-size: 16px; }
  h5 { font-size: 15px; }
  h6 { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; padding: 0 20px; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-visual img { width: 240px; }
  .resource-grid { grid-template-columns: 1fr; row-gap: 40px; max-width: 320px; margin: 0 auto; }
  .how-steps { flex-direction: column; align-items: center; }
  .step-box { flex: 1 1 auto; width: 100%; max-width: 320px; }
  .app-promo-visual img { max-width: 320px; }
}

/* ---------- 414px ---------- */
@media (max-width: 414px) {
  .container { padding: 0 18px; }
  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  h3 { font-size: 17px; }
  h4 { font-size: 15px; }
  h5 { font-size: 14px; }
  h6 { font-size: 13px; }
  .brand img { height: 32px; }
  .btn { padding: 13px 20px; font-size: 14px; }
  .hero-visual img { width: 210px; }
}

/* ---------- 360px ---------- */
@media (max-width: 360px) {
  .container { padding: 0 16px; }
  h1 { font-size: 20px; }
  h2 { font-size: 17px; }
  h3 { font-size: 16px; }
  h4 { font-size: 15px; }
  h5 { font-size: 14px; }
  h6 { font-size: 13px; }
  .hero-visual img { width: 190px; }
}

/* ---------- Stats strip: scale down alongside every breakpoint ---------- */
@media (max-width: 1300px) {
  .stat-item i { font-size: 30px; }
  .stat-text h3 { font-size: 24px; }
  .stat-text p { font-size: 14px; }
}
@media (max-width: 1199px) {
  .stats-strip { padding: 40px 0; }
  .stat-item { gap: 14px; padding: 0 18px; }
  .stat-item i { font-size: 26px; }
  .stat-text h3 { font-size: 21px; }
  .stat-text p { font-size: 13px; }
}
@media (max-width: 980px) {
  .stats-grid {
    flex-wrap: wrap;
    row-gap: 30px;
  }
  .stat-item {
    flex: 1 1 50%;
    padding: 0 16px;
  }
  .stat-item:nth-child(odd) { padding-left: 0; }
  .stat-item:nth-child(even) { padding-right: 0; }
  .stat-item:nth-child(odd)::before { display: none; }
}
@media (max-width: 768px) {
  .stats-strip { padding: 34px 0; }
  .stat-item i { font-size: 24px; }
  .stat-text h3 { font-size: 19px; }
  .stat-text p { font-size: 12.5px; }
}
@media (max-width: 520px) {
  .stats-grid { flex-direction: column; row-gap: 24px; }
  .stat-item {
    flex: 1 1 auto;
    width: 100%;
    padding: 0 0 20px;
  }
  .stat-item:not(:first-child)::before {
    /* switch the divider from vertical (side) to horizontal (top) when stacked */
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    height: 1px;
  }
  .stat-item:not(:first-child) { padding-top: 20px; }
}
@media (max-width: 414px) {
  .stat-item i { font-size: 22px; }
  .stat-text h3 { font-size: 18px; }
}
@media (max-width: 360px) {
  .stat-item { gap: 12px; }
  .stat-item i { font-size: 20px; }
  .stat-text h3 { font-size: 17px; }
  .stat-text p { font-size: 12px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


/* ============================================================
   THE PROCESS SECTION — STYLES ONLY
   ============================================================ */

.process-section {
  background: var(--ess-white, #FFFFFF);
  padding: 90px 0 0;
}
.process-grid {
  width: 100%;
  max-width: var(--container-max, 1760px);
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ---------- Left: eyebrow + heading + intro copy ---------- */
.process-copy { flex: 1 1 340px; min-width: 0; }
.process-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C2652E;
  margin-bottom: 16px;
}
.process-eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #C2652E;
}
.process-copy h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: #1F3B2A;
  margin: 0 0 16px;
}
.process-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: #5A5A52;
  margin: 0;
  max-width: 360px;
}

/* ---------- Right: the 4 connected steps ---------- */
.process-steps {
  flex: 1 1 620px;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.process-step {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}
.process-arrow {
  flex: 0 0 auto;
  color: #C9C4B8;
  font-size: 14px;
  padding-top: 26px;
}

.process-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  font-size: 20px;
  color: #FFFFFF;
  transition: transform .35s ease, box-shadow .35s ease;
  animation: process-idle-bounce 3.2s ease-in-out infinite;
}
.process-icon i { transition: transform .6s ease; }

/* idle animation runs even before hover, staggered per step */
.process-step:nth-child(1) .process-icon,
.process-steps > .process-step:first-of-type .process-icon { animation-delay: 0s; }
.process-steps .process-step:nth-of-type(2) .process-icon { animation-delay: .25s; }
.process-steps .process-step:nth-of-type(3) .process-icon { animation-delay: .5s; }
.process-steps .process-step:nth-of-type(4) .process-icon { animation-delay: .75s; }

@keyframes process-idle-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* hover: lift the whole step, scale + spin the icon, stop the idle bounce
   so the two animations don't fight each other */
.process-step:hover .process-icon {
  animation-play-state: paused;
  transform: scale(1.12);
  box-shadow: 0 12px 22px rgba(31,59,42,.22);
}
.process-step:hover .process-icon i { transform: rotate(360deg); }

.process-icon--green  { background: #24402D; }
.process-icon--maroon { background: #9B4A3E; }
.process-icon--olive {
  background: transparent;
  border: 2px solid #8E9B4A;
  color: #8E9B4A;
}

.process-step h6 {
  font-size: 14px;
  font-weight: 700;
  color: #1F3B2A;
  margin: 0 0 8px;
}
.process-step p {
  font-size: 12.5px;
  line-height: 1.5;
  color: #7A7A70;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .process-icon { animation: none; }
}

/* ---------- Scroll-reveal (only if you don't already have a
   ".reveal" utility from another section — safe to keep even if
   you do, this just won't be double-applied since the class name
   matches and CSS rules simply combine). ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1300px) {
  .process-grid { padding: 0 40px; gap: 40px; }
}
@media (max-width: 1199px) {
  .process-copy h2 { font-size: 28px; }
  .process-steps { gap: 4px; }
  .process-icon { width: 50px; height: 50px; font-size: 18px; }
}
@media (max-width: 980px) {
  .process-section { padding: 70px 0; }
  .process-grid { flex-direction: column; text-align: center; gap: 44px; }
  .process-copy { flex: 0 1 auto; }
  .process-copy p { margin-left: auto; margin-right: auto; }
  .process-eyebrow { justify-content: center; }
  .process-steps { flex: 0 1 auto; width: 100%; }
}
@media (max-width: 768px) {
  .process-steps { flex-wrap: wrap; row-gap: 32px; }
  .process-step { flex: 1 1 40%; }
  .process-arrow { display: none; }
}
@media (max-width: 520px) {
  .process-steps { flex-direction: column; align-items: center; }
  .process-step { flex: 1 1 auto; width: 100%; max-width: 260px; }
}



/* ============================================================
   ABOUT PAGE — STYLES ONLY
*/
.site-header--solid {
  background: var(--ess-white);
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
}
.site-header--solid .main-nav a { color: var(--ess-ink); }
.site-header--solid .nav-toggle { color: var(--ess-ink); }

/* ---------- Shared small label used across the page ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C2652E;
  margin-bottom: 14px;
}
.eyebrow--light { color: #E9A77B; }

/* ============================================================
   1. MISSION & VALUES
   Left: mission statement + accent outline button. Right: a row
   of four value cards, each with a coloured icon circle that
   scales + spins on hover, matching the interaction used for the
   "How ESS Helps" icons on the homepage.
   ============================================================ */
.mv-section { background: #F8F1E9; }
.mv-grid {
  display: flex;
  align-items: center;
  gap: 70px;
}
.mv-mission { flex: 1 1 400px; min-width: 0; }
.mv-mission h2 { color: #1F3B2A; }
.mv-mission p { /*max-width: 440px;*/ margin-bottom: 30px; }

.btn.btn--outline-accent {
  background: transparent;
  color: #C2652E;
  border-color: #C2652E;
}
.btn.btn--outline-accent:hover { background: #C2652E; color: var(--ess-white); }

.mv-values {
  flex: 1 1 480px;
  min-width: 0;
  padding-left: 70px;
  border-left: 1px solid #E7DFD3;
}
.mv-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 30px;
}
.mv-value-item { text-align: center; }
.mv-value-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: transform .35s ease;
}
.mv-value-icon i { color: var(--ess-white); font-size: 22px; transition: transform .6s ease; }
.mv-value-item:hover .mv-value-icon { transform: scale(1.1); }
.mv-value-item:hover .mv-value-icon i { transform: rotate(360deg); }
.mv-value-item h5 { margin-bottom: 8px; }
.mv-value-item p { font-size: 13.5px; line-height: 1.5; }

/* ============================================================
   2. OUR STORY
   Left: a photo with a soft decorative colour blob peeking from
   behind it, and a slow continuous "Ken Burns" zoom. Right: the
   copy, fading up into view on scroll.
   ============================================================ */
.story-grid {
  display: flex;
  align-items: center;
  gap: 70px;
}
.story-image-wrap { position: relative; flex: 1 1 480px; min-width: 0; }
.story-blob {
  position: absolute;
  left: -28px;
  bottom: -28px;
  width: 56%;
  height: 56%;
  background: #E9A77B;
  border-radius: 50%;
  opacity: .35;
  z-index: 1;
  animation: story-blob-pulse 6s ease-in-out infinite;
}
@keyframes story-blob-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.story-image {
  position: relative;
  z-index: 2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 44px rgba(31, 59, 42, .16);
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: story-zoom 10s ease-in-out infinite alternate;
}
@keyframes story-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.story-copy { flex: 1 1 440px; min-width: 0; }
.story-copy h2 { color: #1F3B2A; }
/*.story-copy p { max-width: 460px; }*/

@media (prefers-reduced-motion: reduce) {
  .story-blob { animation: none; }
  .story-image img { animation: none; }
}

/* ============================================================
   3. TESTIMONIAL + OUR VISION
   ============================================================ */
.testimonial-vision { background: #F5EEE6; }
.tv-grid {
  display: flex;
  align-items: flex-start;
  gap: 70px;
}
.tv-quote, .tv-vision { flex: 1 1 0; min-width: 0; }
.quote-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #C2652E;
  color: var(--ess-white);
  font-size: 16px;
  margin-bottom: 18px;
}
.quote-text {
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
  color: #2A2A26;
  line-height: 1.6;
  margin-bottom: 16px;
}
.quote-attribution { font-size: 14px; color: #6B6B63; font-weight: 600; }
.tv-vision h2 { color: #1F3B2A; }

/* ============================================================
   4. CTA BANNER (Be Part of the Solution)
   ============================================================ */
.cta-banner {
  position: relative;
  background: #1C4B45;
  overflow: hidden;
  padding: 46px 0;
}
.cta-blob {
  position: absolute;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #E9A77B;
  opacity: .5;
}
.cta-blob--left { left: -46px; }
.cta-blob--right { right: -46px; }
.cta-grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 40px;
}
.cta-lead { display: flex; align-items: center; gap: 20px; flex: 1 1 360px; min-width: 0; }
.cta-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ess-white);
  font-size: 20px;
  transition: transform .35s ease;
}
.cta-grid:hover .cta-icon { transform: scale(1.1) rotate(-8deg); }
.cta-lead h3 { color: var(--ess-white); margin: 6px 0 0; }
.cta-copy { flex: 1 1 300px; min-width: 0; color: rgba(255,255,255,.8); font-size: 15px; margin: 0; }
.btn.btn--cta {
  flex: 0 0 auto;
  background: #C2652E;
  color: var(--ess-white);
  padding: 14px 28px;
  font-size: 15px;
}
.btn.btn--cta:hover { background: #A8551F; }

/* ============================================================
   5. OUR IMPACT (photo bleeds to the edge on the right)
   ============================================================ */
.impact-grid {
  display: flex;
  align-items: stretch;
  min-height: 520px;
}
.impact-content {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  padding-left: max(60px, calc((100vw - var(--container-max)) / 2 + 60px));
}
.impact-content h2 { color: #1F3B2A; }
.impact-content > p { /*max-width: 460px;*/ margin-bottom: 40px; }

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.impact-stat {
  background: var(--ess-white);
  border: 1px solid #EDE7DC;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.impact-stat:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(31,59,42,.1); }
.impact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  margin: 0 auto 14px;
  font-size: 18px;
  transition: transform .35s ease;
}
.impact-icon i { transition: transform .6s ease; }
.impact-stat:hover .impact-icon { transform: scale(1.1); }
.impact-stat:hover .impact-icon i { transform: rotate(360deg); }
.impact-icon--green  { color: #2E4A34; }
.impact-icon--teal   { color: #1C4B45; }
.impact-icon--maroon { color: #9B4A3E; }
.impact-stat h3 { color: #1F3B2A; font-size: 24px; margin-bottom: 6px; }
.impact-stat h6 { margin-bottom: 4px; }
.impact-stat p  { font-size: 12.5px; color: #8A857B; margin: 0; }

.impact-visual { position: relative; flex: 1 1 50%; min-width: 0; overflow: hidden; }
.impact-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.32) 100%);
  z-index: 1;
  pointer-events: none;
}
.impact-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: story-zoom 12s ease-in-out infinite alternate;
}
.impact-quote {
  position: absolute;
  top: 40px;
  right: 40px;
  text-align: right;
  z-index: 2;
  font-family: 'Playfair Display', 'Inter', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ess-white);
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.impact-quote-highlight { border-bottom: 2px solid #E9A77B; padding-bottom: 6px; }
@media (prefers-reduced-motion: reduce) {
  .impact-visual img { animation: none; }
}

/* ============================================================
   6. RESPONSIVE BREAKPOINTS (About page only)
   Same breakpoints as the rest of the site: 1199 / 980 / 768 / 520.
   No about-page-specific overrides are needed at 1600, 1300, 414
   or 360 — the base rules above already scale cleanly there via
   the shared h1–h6/p rules in your main stylesheet.
   ============================================================ */

/* ---------- 1199px ---------- */
@media (max-width: 1199px) {
  .mv-grid { gap: 40px; }
  .mv-values { padding-left: 40px; }
  .mv-values-grid { gap: 18px; }
  .story-grid { gap: 40px; }
  .tv-grid { gap: 40px; }
  .impact-content { padding-left: 40px; padding-right: 40px; }
  .impact-stats { gap: 12px; }
  .impact-quote { font-size: 19px; }
}

/* ---------- 980px ---------- */
@media (max-width: 980px) {
  .mv-grid { flex-direction: column; text-align: center; }
  .mv-mission { flex: 0 1 auto; }
  .mv-mission p { margin-left: auto; margin-right: auto; }
  .mv-values { flex: 0 1 auto; padding-left: 0; border-left: none; padding-top: 34px; border-top: 1px solid #E7DFD3; width: 100%; }
  .mv-values-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }

  .story-grid { flex-direction: column; text-align: center; }
  .story-copy { flex: 0 1 auto; }
  .story-copy p { margin-left: auto; margin-right: auto; }
  .story-image-wrap { flex: 0 1 auto; width: 100%; max-width: 460px; }

  .tv-grid { flex-direction: column; text-align: center; gap: 44px; }
  .quote-badge { margin-left: auto; margin-right: auto; }
  .tv-vision p { margin-left: auto; margin-right: auto; }

  .cta-grid { flex-direction: column; text-align: center; gap: 26px; }
  .cta-lead { flex-direction: column; flex: 0 1 auto; gap: 16px; }
  .cta-copy { flex: 0 1 auto; }
  .btn.btn--cta { flex: 0 0 auto; }
  .cta-blob { width: 100px; height: 100px; }

  .impact-grid { flex-direction: column; min-height: auto; }
  .impact-content { padding: 60px 32px; }
  .impact-visual { height: 340px; }
  .impact-quote { top: 24px; right: 24px; font-size: 18px; }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
  .impact-content { padding: 50px 24px; }
  .impact-visual { height: 280px; }
}

/* ---------- 520px ---------- */
@media (max-width: 520px) {
  .mv-values-grid { grid-template-columns: 1fr; max-width: 260px; margin: 30px auto 0; }
  .impact-stats { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .impact-visual { height: 260px; }
  .impact-quote { top: auto; bottom: 20px; left: 20px; right: 20px; text-align: center; font-size: 16px; }
}

#how-works-banner .hero-visual{display: none;}
#how-works-banner .hero {    
padding: 70px 30px 70px;
    text-align: center;
	}
#how-works-banner .hero-copy {
    max-width: none;
}
#how-works-banner .hero-copy p {
    max-width: none;
}
#how-works-banner .hero-actions {
    justify-content: center;
}

/* ---------- 1300px ---------- */
@media (max-width: 1300px) {
  .app-promo-inner { gap: 40px; }
  .app-promo-visual img { max-width: 460px; }
}

/* ---------- 1199px ---------- */
@media (max-width: 1199px) {
  .app-promo-visual img { max-width: 380px; }
}

/* ---------- 980px (layout switches to a stacked column here) ---------- */
@media (max-width: 980px) {
  .app-promo-inner { flex-direction: column; text-align: center; }

  /* THE FIX — reset both flex-basis values so they size to content,
     not to the leftover desktop width value. */
  .app-promo-copy { flex: 0 1 auto; max-width: 100%; }
  .app-promo-visual { flex: 0 1 auto; }

  .app-promo-copy p { margin-left: auto; margin-right: auto; }
  .app-promo-actions { justify-content: center; }
  .app-promo-visual img { max-width: 360px; }
}

/* ---------- 768px ---------- */
@media (max-width: 768px) {
  .app-promo-actions { flex-direction: column; align-items: stretch; }
  .btn.store-badge { justify-content: center; }
  .app-promo-qr { align-self: center; }
}

/* ---------- 520px ---------- */
@media (max-width: 520px) {
  .app-promo-visual img { max-width: 300px; }
}


/* ============================================================
   THE ESS APP SECTION — STYLES ONLY
   Paste this AFTER your main style.css (self-contained — it
   won't touch anything else in your existing stylesheet).

   Brand colors reused from the rest of the site:
   #BA221D  — primary red (main CTA button)
   #C2652E  — rust/orange accent (eyebrow label)
   #1F3B2A  — dark green (headings)
   #1C4B45  — teal-green (feature icons)
   #F8F1E9  — warm cream (section background)

   Uses --ess-white if your main CSS defines it, else falls back.
   ============================================================ */

.essapp-section {
  background: #F8F1E9;
  padding: 90px 0;
}
.essapp-grid {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 50px;
}

/* ---------- Left: copy + CTA ---------- */
.essapp-copy { flex: 1 1 340px; min-width: 0; }
.essapp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C2652E;
  margin-bottom: 16px;
}
.essapp-eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #C2652E;
}
.essapp-copy h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: #1F3B2A;
  margin: 0 0 16px;
}
.essapp-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: #5A5A52;
  margin: 0 0 28px;
  max-width: 380px;
}
.btn.essapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #BA221D;
  color: var(--ess-white, #FFFFFF);
  padding: 16px 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: background-color .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.btn.essapp-btn:hover {
  background: #96190F;
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(0,0,0,.16);
}

/* ---------- Center: phone mockup ---------- */
.essapp-visual { flex: 1 1 360px; min-width: 0; text-align: center; }
.essapp-visual img { width: 100%; max-width: 400px; margin: 0 auto; }

/* ---------- Right: feature list ---------- */
.essapp-features {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.essapp-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 6px;
  border-radius: 12px;
  transition: background-color .3s ease, transform .3s ease;
}
.essapp-feature:hover { background: rgba(28,75,69,.06); transform: translateX(4px); }

.essapp-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid #1C4B45;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C4B45;
  font-size: 17px;
  animation: essapp-idle-bounce 3.4s ease-in-out infinite;
  transition: transform .35s ease, background-color .3s ease, color .3s ease;
}
.essapp-icon i { transition: transform .6s ease; }

.essapp-feature:nth-of-type(1) .essapp-icon { animation-delay: 0s; }
.essapp-feature:nth-of-type(2) .essapp-icon { animation-delay: .3s; }
.essapp-feature:nth-of-type(3) .essapp-icon { animation-delay: .6s; }
.essapp-feature:nth-of-type(4) .essapp-icon { animation-delay: .9s; }

@keyframes essapp-idle-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.essapp-feature:hover .essapp-icon {
  animation-play-state: paused;
  background: #1C4B45;
  color: var(--ess-white, #FFFFFF);
  transform: scale(1.12) rotate(-6deg);
}
.essapp-feature:hover .essapp-icon i { transform: rotate(360deg); }

.essapp-feature h6 {
  font-size: 15px;
  font-weight: 700;
  color: #1F3B2A;
  margin: 0 0 4px;
}
.essapp-feature p {
  font-size: 13px;
  line-height: 1.5;
  color: #7A7A70;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .essapp-icon { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1300px) {
  .essapp-grid { padding: 0 40px; gap: 36px; }
}
@media (max-width: 1199px) {
  .essapp-copy h2 { font-size: 28px; }
  .essapp-visual img { max-width: 320px; }
}
@media (max-width: 980px) {
  .essapp-section { padding: 70px 0; }
  .essapp-grid { flex-direction: column; text-align: center; gap: 44px; }
  .essapp-copy { flex: 0 1 auto; }
  .essapp-copy p { margin-left: auto; margin-right: auto; }
  .essapp-eyebrow { justify-content: center; }
  .essapp-visual { flex: 0 1 auto; }
  .essapp-features { flex: 0 1 auto; width: 100%; max-width: 420px; margin: 0 auto; }
  .essapp-feature { text-align: left; }
}
@media (max-width: 520px) {
  .essapp-grid { padding: 0 24px; }
  .essapp-visual img { max-width: 280px; }
  .essapp-feature { gap: 12px; }
}


/* ============================================================
   OUR IMPACT AT A GLANCE — STYLES ONLY
   Paste this AFTER your main style.css (self-contained — it
   won't touch anything else in your existing stylesheet).

   Brand colors reused from the rest of the site:
   #BA221D  — primary red   (odd-numbered icon circles)
   #4C5737  — brand olive green (even-numbered icon circles)
   #1F3B2A  — dark green (headings)
   #C2652E  — rust/orange accent (eyebrow label)
   #F8F1E9  — warm cream (section background)

   Uses --ess-white if your main CSS defines it, else falls back.
   ============================================================ */

.ig-section {
  background: #F8F1E9;
  padding: 90px 0;
}
.ig-grid {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

/* ---------- Left: eyebrow + heading + intro copy ---------- */
.ig-copy { flex: 1 1 320px; min-width: 0; padding-top: 10px; }
.ig-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C2652E;
  margin-bottom: 16px;
}
.ig-eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #C2652E;
}
.ig-copy h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: #1F3B2A;
  margin: 0 0 16px;
}
.ig-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: #5A5A52;
  margin: 0;
  max-width: 340px;
}

/* ---------- Right: 2x3 card grid ---------- */
.ig-cards {
  flex: 1 1 680px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ig-card {
  background: var(--ess-white, #FFFFFF);
  border: 1px solid #EDE7DC;
  border-radius: 12px;
  padding: 26px 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ig-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 32px rgba(31,59,42,.1);
}

.ig-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 19px;
  margin-bottom: 18px;
  animation: ig-idle-bounce 3.2s ease-in-out infinite;
  transition: transform .35s ease, box-shadow .35s ease;
}
.ig-icon i { transition: transform .6s ease; }
.ig-icon--red   { background: #BA221D; }
.ig-icon--green { background: #4C5737; }

/* stagger the idle bounce across the grid */
.ig-card:nth-child(1) .ig-icon { animation-delay: 0s; }
.ig-card:nth-child(2) .ig-icon { animation-delay: .2s; }
.ig-card:nth-child(3) .ig-icon { animation-delay: .4s; }
.ig-card:nth-child(4) .ig-icon { animation-delay: .6s; }
.ig-card:nth-child(5) .ig-icon { animation-delay: .8s; }
.ig-card:nth-child(6) .ig-icon { animation-delay: 1s; }

@keyframes ig-idle-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.ig-card:hover .ig-icon {
  animation-play-state: paused;
  transform: scale(1.12);
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}
.ig-card:hover .ig-icon i { transform: rotate(360deg); }

.ig-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #1F3B2A;
  margin: 0 0 4px;
}
.ig-card h6 {
  font-size: 14.5px;
  font-weight: 700;
  color: #1F3B2A;
  margin: 0 0 8px;
}
.ig-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #7A7A70;
  margin: 0;
}
.ig-card-title-only { font-size: 17px; margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  .ig-icon { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1300px) {
  .ig-grid { padding: 0 40px; gap: 36px; }
}
@media (max-width: 1199px) {
  .ig-copy h2 { font-size: 28px; }
  .ig-cards { gap: 16px; }
  .ig-card { padding: 22px 18px; }
}
@media (max-width: 980px) {
  .ig-section { padding: 70px 0; }
  .ig-grid { flex-direction: column; text-align: center; gap: 44px; }
  .ig-copy { flex: 0 1 auto; padding-top: 0; }
  .ig-copy p { margin-left: auto; margin-right: auto; }
  .ig-eyebrow { justify-content: center; }
  .ig-cards { flex: 0 1 auto; width: 100%; grid-template-columns: repeat(3, 1fr); }
  .ig-card { text-align: left; }
}
@media (max-width: 768px) {
  .ig-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .ig-grid { padding: 0 24px; }
  .ig-cards { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}


/* ============================================================
   SUCCESS STORIES SLIDER — STYLES ONLY
   Paste this AFTER your main style.css (self-contained — it
   won't touch anything else in your existing stylesheet).

   The slider is pure CSS: an infinite marquee built by duplicating
   the 3 cards once (see the HTML) and animating the track from
   0% to -50% on a loop, which lines the duplicate set up exactly
   where the original started — no JS needed. Hovering the slider
   pauses the animation (animation-play-state: paused).

   Brand colors reused from the rest of the site:
   #BA221D  — primary red (CTA button)
   #C2652E  — rust/orange accent (eyebrow, quote mark)
   #1F3B2A  — dark green (headings, names)
   #4C5737  — brand olive green (location icon)
   #F8F1E9  — warm cream (section background)
   ============================================================ */

.ts-section {
  padding: 90px 0 0;
  overflow: hidden;
}
.ts-grid {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 50px;
}

/* ---------- Left: copy + CTA ---------- */
.ts-copy { flex: 1 1 300px; min-width: 0; }
.ts-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C2652E;
  margin-bottom: 16px;
}
.ts-eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #C2652E;
}
.ts-copy h2 {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: #1F3B2A;
  margin: 0 0 16px;
}
.ts-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: #5A5A52;
  margin: 0 0 28px;
  max-width: 340px;
}
.btn.ts-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #BA221D;
  color: #FFFFFF;
  text-decoration: none;
  padding: 16px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: background-color .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
}
.btn.ts-btn:hover {
  background: #96190F;
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(0,0,0,.16);
}

/* ---------- Right: the slider ---------- */
.ts-slider {
  flex: 1 1 640px;
  min-width: 0;
  overflow: hidden;
  /* fade the edges so cards don't feel like they're cut off mid-scroll */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.ts-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ts-scroll 26s linear infinite;
}
.ts-slider:hover .ts-track { animation-play-state: paused; }

@keyframes ts-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ts-card {
  flex: 0 0 300px;
  background: #FFFFFF;
  border: 1px solid #EDE7DC;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ts-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(31,59,42,.12);
}
.ts-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.ts-card:hover img { transform: scale(1.06); }

.ts-card-body { padding: 20px 22px 22px; }
.ts-quote-icon {
  color: #C2652E;
  font-size: 18px;
  margin-bottom: 10px;
  display: inline-block;
}
.ts-quote {
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: #3A3A34;
  margin: 0 0 16px;
}
.ts-name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #1F3B2A;
  margin-bottom: 4px;
}
.ts-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #7A7A70;
}
.ts-location i { color: #4C5737; font-size: 11px; }

@media (prefers-reduced-motion: reduce) {
  .ts-track { animation: none; }
  .ts-slider { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

.process-section {
  background: var(--ess-white, #FFFFFF);
  padding: 0px 0 90px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1300px) {
  .ts-grid { padding: 0 40px; gap: 36px; }
}
@media (max-width: 1199px) {
  .ts-copy h2 { font-size: 28px; }
  .ts-card { flex-basis: 260px; }
}
@media (max-width: 980px) {
  .ts-section { padding: 70px 0 25px; }
  .ts-grid { flex-direction: column; text-align: center; gap: 40px; }
  .ts-copy { flex: 0 1 auto; }
  .ts-copy p { margin-left: auto; margin-right: auto; }
  .ts-eyebrow { justify-content: center; }
  .ts-slider { flex: 0 1 auto; width: 100%; }
}
@media (max-width: 520px) {
  .ts-grid { padding: 0 0 0 24px; }
  .ts-card { flex-basis: 240px; }
  .ts-card img { height: 130px; }
}
