/* Essentials template. All px values measured from essentialswebsite.jobatory.com at 1440px. */
.essentials {
  /* --main is set inline from site.config.js colors.primary; the inline SVG art follows it */
  --main-color: var(--main);
  --second-color: #000;
  --icon-line-color: #000;
  --main-color-dark: color-mix(in srgb, var(--main) 60%, black);
  --blue: #016bd8;
  --green: #04c804;
  --gray: #7d7d7c;
  --line: #dddedf;
  --black: #000304;
  font-family: 'Barlow', sans-serif;
  color: #000;
  font-size: 16px;
  line-height: 1.7;
  background: #fff;
}
:where(.essentials) :is(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
:where(.essentials) :is(ul, ol) { list-style: none; }
:where(.essentials) section { padding: 0; } /* undo the ultimate stylesheet global without outranking .e-* rules */
.essentials a { color: inherit; text-decoration: none; }
.essentials b { font-weight: 700; }
.e-container { max-width: 1200px; margin: 0 auto; padding: 0 25px; box-sizing: content-box; }
.e-svg svg { display: block; width: 100%; height: 100%; }

/* Type */
.e-title { font-size: 36px; font-weight: 500; line-height: 1.7; color: #000; }
.e-title span { color: var(--main); }
.e-title.center { text-align: center; }
.e-sub { font-size: 18px; font-weight: 700; color: var(--main); text-align: center; line-height: 1.7; }
.e-sub-800 { font-weight: 800; }
.e-intro { max-width: 441px; margin: 0 auto; text-align: center; }
.e-h3 { font-size: 34px; font-weight: 700; text-align: center; line-height: 1.4; }
.e-h3-sub { font-size: 24px; color: var(--main); }

/* Buttons */
.e-btn { display: inline-block; background: var(--main); color: #fff; border-radius: 30px; padding: 12px 24px; font-size: 16px; letter-spacing: .5px; text-transform: uppercase; line-height: 1.7; }
.e-btn-hero { font-size: 18px; font-weight: 500; padding: 10px 36px; border: 2px solid #fff; }
.e-pill { display: inline-flex; align-items: center; height: 42px; padding: 0 22px; border: 2px solid #fff; border-radius: 21px; color: #fff; font-size: 13px; font-weight: 700; }
.e-pill-blue { background: var(--blue); }
.e-pill-green { background: var(--green); }

.e-burger { display: none; } .e-burger summary { list-style: none; cursor: pointer; color: #fff; font-size: 28px; line-height: 1; padding: 4px 8px; } .e-burger summary::-webkit-details-marker { display: none; }

/* Header: transparent 46px bar over a 350px sunburst band (band is pulled up 13px, so it's 337px visible) */
.e-header { position: relative; height: 337px; display: flow-root; clip-path: inset(0 0 -20px 0); } /* hides the band's top 13px; the logo overhangs the bottom by 9px like the live site */
.e-topbar { position: absolute; left: 0; right: 0; top: 0; z-index: 2; }
.e-topbar .e-container { display: flex; align-items: center; justify-content: space-between; height: 66px; padding: 0 22px; box-sizing: border-box; }
.e-topbar img { height: 46px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.e-topbar nav { display: flex; gap: 30px; }
.e-band { height: 350px; margin-top: -13px; background: var(--band, var(--main)) url('img/ess/Header-background-4-1.png') center / cover no-repeat; position: relative; }
.e-band img { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); width: auto; max-width: 350px; max-height: 160px; z-index: 2; } /* customer logos vary in shape: cap both dimensions, anchor to the cloud line */

/* Hero: 50px white gap, 30px teal border, 550px photo with a dark gradient overlay, button centered */
.e-hero { margin-top: 50px; border-top: 30px solid var(--main); position: relative; }
.e-hero img { display: block; width: 100%; height: 550px; object-fit: none; object-position: 50% 38%; } /* natural size, cropped like the live site */
.e-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(13, 13, 13, .59), rgba(13, 13, 13, .5)); }
.e-hero .e-btn-hero { position: absolute; left: 50%; top: 255px; transform: translateX(-50%); }
.e-hero-caption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; color: #fff; font-weight: 600; z-index: 1; }

/* Steps: 3 x 200px columns, 180px icons, gray curved arrows between */
.e-steps { margin-top: 130px; height: 336px; }
.e-steps .e-container { display: flex; justify-content: space-between; padding: 0 97px; box-sizing: border-box; }
.e-step { width: 200px; text-align: center; position: relative; }
.e-step-icon { width: 180px; height: 180px; margin: 0 auto 7px 8px; }
.e-step h3 { font-size: 22px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.e-arrow { position: absolute; top: 93px; left: 247px; width: 109px; height: 30px; }

/* About: art left (576px), text right (456px) */
.e-about { padding-top: 155px; height: 687px; }
.e-about .e-container { display: flex; justify-content: space-between; align-items: flex-start; }
.e-about-art { position: relative; width: 576px; height: 532px; flex: none; }
.e-about-art .e-svg { width: 576px; height: 339px; }
.e-about-art .e-overlay-logo { position: absolute; left: 49.7%; top: 32.7%; max-width: 24.3%; max-height: 22%; }
.e-about-art .e-badge { position: absolute; left: 27%; top: 236px; width: 350px; }
.e-about-text { width: 456px; padding-top: 90px; }
.e-about-text .e-title { margin-bottom: 35px; }
.e-about-text > div { min-height: 82px; }
.e-about-text > div:last-child { padding-top: 40px; }

/* Pricing: white band, three 330x545 cards */
.e-pricing { margin-top: 134px; height: 788px; }
.e-pricing .e-title { text-align: center; }
.e-pricing .e-intro { margin-bottom: 70px; }
.e-plans { display: flex; justify-content: center; gap: 52px; }
.e-plan { position: relative; width: 330px; height: 545px; padding: 20px 70px 36px; text-align: center; border-radius: 21px; box-shadow: 0 0 50px rgba(166, 165, 167, .49); background: #fff url('img/ess/Card-1-bubble-1.png') -10px -26px / 370px auto no-repeat; }
.e-plan.featured { background: var(--main) url('img/ess/Card-2.png') -10px -26px / 370px auto no-repeat; }
.e-plan > * { position: relative; }
.e-plan > .e-ring { position: absolute; left: -20px; top: -25px; width: 386px; height: 237px; z-index: -1; pointer-events: none; }
.e-plan-logo { height: 53px; width: auto; max-width: 140px; margin: 16px auto 5px; display: block; }
.e-plan h3 { font-size: 36px; font-weight: 900; line-height: 1.7; }
.e-plan-sub { font-size: 27px; font-weight: 500; line-height: 1.7; margin-top: -9px; }
.e-plan-billing { font-size: 14px; color: var(--gray); line-height: 1.7; margin-top: 16px; }
.e-plan.featured .e-plan-billing { color: #000; }
.e-price { font-size: 47px; font-weight: 600; line-height: 1; margin-top: 42px; }
.e-per { font-size: 14px; font-weight: 600; margin-top: 16px; line-height: 1.7; }
.e-plan.featured .e-per { color: #fff; }
.e-extra { font-size: 16px; color: #363636; line-height: 1.2; margin-top: 47px; }
.e-btn-plan { text-transform: none; border: 2px solid #000; margin-top: 27px; }
.e-plan.featured .e-btn-plan { background: #fff; color: rgba(0, 0, 0, .8); }
.e-sparkle { position: absolute; width: 31px; height: 31px; }
.e-sparkle-1 { left: 89px; top: 248px; }
.e-sparkle-2 { left: 210px; top: 357px; }

/* Dirty bins + How it works share one light-blue bubble background */
.e-dirty { margin-top: 151px; height: 828px; background: url('img/ess/Background-2-1001x1024.png') 0 0 / cover; }
.e-dirty .e-title { line-height: 1.7; }
.e-bullets { display: flex; margin-top: 40px; }
.e-bullets li { display: flex; align-items: flex-start; gap: 12px; width: 289px; margin-right: 14px; line-height: 1.7; }
.e-bullets img { width: 26px; height: 26px; flex: none; }
.e-dirty-art { position: relative; width: 960px; height: 572px; margin: 70px auto 0; }
.e-dirty-art .e-svg { width: 960px; height: 565px; }
.e-dirty-art .e-overlay-logo { position: absolute; left: 56.1%; top: 45.5%; max-width: 20.8%; max-height: 16%; }
.e-before-after { position: absolute; left: 63%; top: 56.6%; width: 42%; }

.e-how { position: relative; padding-top: 180px; height: 857px; background: url('img/ess/Background-2-Rotate-1001x1024.png') 50% 100% / cover; }
.e-corner { position: absolute; left: -80px; top: 130px; width: 135px; height: 142px; }
.e-how { overflow: hidden; }
.e-how-grid { display: flex; justify-content: space-between; align-items: center; height: 616px; }
.e-how ol { width: 492px; padding-top: 20px; }
.e-how li h3 { font-size: 22px; font-weight: 700; color: var(--main); line-height: 1.7; }
.e-how li h3 span { color: #000; font-size: 35px; }
.e-how li > div { padding-left: 30px; }
.e-how-art { position: relative; width: 600px; height: 579px; align-self: flex-start; margin-top: 30px; }
.e-how-art .e-svg { width: 600px; height: 579px; }
.e-how-art .e-overlay-logo { position: absolute; left: 37.7%; top: 60.6%; max-width: 23.3%; max-height: 12%; }

/* Service area */
.e-area { padding-top: 160px; height: 986px; }
.essentials .e-areas { display: grid; grid-template-columns: repeat(3, 385px); gap: 19px 0; margin-top: 61px; padding-left: 85px; }
.e-areas li { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 500; color: rgba(0, 0, 0, .8); line-height: 1.7; }
.e-areas img { width: 16px; height: auto; }
.e-map { display: block; width: 1024px; max-width: 100%; margin: 0 auto; }

/* FAQ */
.e-faq { margin-top: 150px; height: 540px; }
.e-faq-grid { display: flex; justify-content: space-between; margin-top: 50px; padding-left: 25px; }
.e-qs { width: 705px; padding-top: 77px; }
.e-q { border-bottom: 1px solid var(--line); }
.e-q button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 16px; width: 100%; height: 50px; cursor: pointer; }
.e-n { flex: none; width: 27px; height: 27px; border-radius: 50%; background: var(--main); color: #fff; font-size: 18px; font-weight: 700; display: grid; place-items: center; padding-bottom: 2px; }
.e-q h3 { flex: 1; font-size: 18px; font-weight: 700; color: rgba(0, 0, 0, .8); padding-right: 10px; }
.e-q svg { color: #333; }
.e-q p { padding: 0 40px 16px 43px; color: #363636; }
.e-faq-art { position: relative; width: 400px; height: 399px; margin-top: 10px; }
.e-faq-art .e-svg { position: absolute; left: 25px; top: 25px; width: 350px; height: 331px; }
.e-faq-art img { position: absolute; left: 50%; top: 119px; transform: translateX(-50%); max-width: 400px; max-height: 200px; }

/* Testimonials: two 555x202 cards */
.e-testimonials { margin-top: 100px; height: 353px; }
.e-tcards { display: flex; justify-content: space-between; margin-top: 70px; }
.e-tcard { display: flex; width: 555px; height: 202px; padding: 20px 65px 25px 50px; border-radius: 6px; box-shadow: 0 0 50px rgba(167, 167, 167, .5); background: #fff; }
.e-who { width: 93px; flex: none; text-align: center; padding-top: 20px; margin-right: 55px; }
.e-who img { width: 93px; height: 92px; display: block; }
.e-who div { font-size: 14px; font-weight: 800; color: #56575d; line-height: 1.7; }
.e-tbody { width: 292px; }
.e-quote { width: 42px; height: 30px; display: block; }
.e-ttitle { font-size: 18px; font-weight: 700; color: var(--main); line-height: 1.7; margin-top: 4px; }
.e-ttext { font-size: 14px; line-height: 1.7; }
.e-stars { width: 70px; height: 13px; display: block; margin-top: 6px; }

/* Footer: teal band + black bar */
.e-footer { margin-top: 141px; }
.e-footer-main { background: var(--main); color: #fff; height: 330px; }
.e-footer-container { max-width: 1280px; margin: 0 auto; display: flex; height: 330px; }
.e-shiny { position: relative; width: 677px; height: 350px; margin-top: -10px; background: url('img/ess/Shiny-footer-mobile.png') 50% 0 / contain no-repeat; flex: none; }
.e-shiny img { position: absolute; left: 138px; top: 110px; width: 400px; height: 129px; object-fit: contain; object-position: center; }
.e-footer nav { display: flex; flex-direction: column; gap: 10px; padding: 88px 0 0 10px; width: 339px; flex: none; }
.e-footer nav a { font-size: 18px; font-weight: 600; line-height: 1.7; }
.e-contact { width: 214px; padding-top: 88px; }
.e-contact a { display: flex; align-items: center; gap: 15px; font-size: 18px; font-weight: 500; line-height: 1.7; }
.e-contact hr { border: 0; border-top: 1px solid #fff; margin: 20px 0; }
.e-social { display: flex; gap: 20px; }
.e-social a { width: 36px; height: 36px; border-radius: 4px; display: grid; place-items: center; }
.e-footer-bar { background: var(--black); color: #fff; height: 40px; display: grid; place-items: center; font-size: 12px; }
.e-footer-bar a { text-decoration: underline; }

/* Bricks' extra-wide breakpoint on the live site */
@media (min-width: 1980px) {
  .e-header { height: 487px; }
  .e-band { height: 500px; }
  .e-band img { max-width: 400px; max-height: 180px; }
  .e-step > div:not(.e-svg) { font-weight: 500; color: #a6a6a5; }
  .e-shiny img { left: 114px; top: 100px; width: 450px; height: 150px; }
}

/* ---- tablet (Bricks 1023 breakpoint) ---- */
@media (max-width: 1023px) {
  .e-steps, .e-about, .e-pricing, .e-dirty, .e-how, .e-area, .e-faq, .e-testimonials { height: auto; }
  .e-band img { max-width: 400px; max-height: 170px; }
  .e-hero img { height: 295px; object-fit: cover; }
  .e-hero .e-btn-hero { top: 128px; }
  .e-steps { margin-top: 134px; }
  .e-steps .e-container { flex-direction: column; align-items: center; padding: 0 25px; }
  .e-arrow { display: none; }
  .e-about .e-container { gap: 30px; }
  .e-about-art { width: 55%; height: auto; }
  .e-about-art .e-svg { width: 100%; height: auto; aspect-ratio: 576 / 339; }
  .e-about-art .e-badge { position: relative; left: 0; top: 0; display: block; width: 60%; margin: -14% auto 0; }
  .e-about-text { width: 42%; padding-top: 0; }
  .e-plans { flex-direction: column; align-items: center; gap: 50px; padding-bottom: 80px; }
  .e-bullets { flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
  .e-bullets li { width: 45%; margin: 0; }
  .e-dirty-art { width: 100%; height: auto; }
  .e-dirty-art .e-svg { width: 100%; height: auto; aspect-ratio: 960 / 565; }
  .e-dirty { padding-bottom: 60px; }
  .e-how-grid { flex-direction: column-reverse; align-items: center; height: auto; gap: 40px; }
  .e-how ol { width: 100%; max-width: 560px; }
  .e-how-art { width: 100%; max-width: 600px; height: auto; margin-top: 0; }
  .e-how-art .e-svg { width: 100%; height: auto; aspect-ratio: 600 / 579; }
  .e-how { padding-bottom: 60px; }
  .e-area { padding-bottom: 60px; }
  .essentials .e-areas { grid-template-columns: repeat(3, 1fr); padding: 0; }
  .e-map { width: 100%; }
  .e-faq-grid { padding-left: 0; }
  .e-faq { padding-bottom: 40px; }
  .e-testimonials { padding-bottom: 80px; }
  .e-tcards { gap: 30px; }
  .e-tcard { width: 48%; height: auto; padding: 20px 20px 25px 20px; }
  .e-tbody { width: auto; }
  .e-footer-main, .e-footer-container { height: auto; }
  .e-footer-container { padding-bottom: 20px; }
  .e-shiny { width: 45%; }
  .e-shiny img { left: 10%; width: 80%; }
  .e-footer nav { width: 25%; }
}

/* ---- mobile (Bricks 767 breakpoint) ---- */
@media (max-width: 767px) {
  .e-topbar .e-container { padding: 0 25px; }
  .e-topbar nav { display: none; position: absolute; top: 66px; right: 25px; flex-direction: column; gap: 10px; align-items: flex-end; }
  .e-topbar .e-container:has(.e-burger[open]) nav { display: flex; }
  .e-burger { display: block; }
  .e-header { height: 292px; }
  .e-band { margin-top: -58px; height: 350px; }   /* top 58px pulled up, like the live site */
  .e-band img { max-width: 300px; max-height: 128px; }
  .e-hero { margin-top: 20px; }
  .e-hero img { height: 500px; }
  .e-hero .e-btn-hero { top: 230px; }
  .e-title, .e-h3, .e-about-text, .e-how li, .e-intro { text-align: center; }
  .e-about .e-container { flex-direction: column; align-items: center; }
  .e-about-art { width: 100%; }
  .e-about-art .e-badge { width: 70%; }
  .e-about-text { width: 100%; padding-top: 30px; }
  .e-about-text > div:last-child { padding-top: 20px; }
  .e-pricing .e-title { max-width: 240px; margin: 0 auto; line-height: 1.2; padding-bottom: 20px; }
  .e-plan { width: 100%; max-width: 330px; }
  .e-bullets { flex-direction: column; align-items: center; }
  .e-bullets li { width: auto; max-width: 300px; }
  .e-how li > div { padding-left: 0; }
  .essentials .e-areas { grid-template-columns: 1fr 1fr; gap: 12px 0; }
  .e-areas li { font-size: 16px; }
  .e-faq-grid { flex-direction: column; align-items: center; margin-top: 30px; }
  .e-qs { width: 100%; padding-top: 0; }
  .e-faq-art { width: 100%; max-width: 340px; height: 342px; margin: 40px 0 0; }
  .e-faq-art .e-svg { left: 50%; transform: translateX(-50%); width: 300px; height: 284px; }
  .e-faq-art img { top: 110px; max-width: 320px; }
  .e-tcards { flex-direction: column; align-items: center; gap: 40px; }
  .e-tcard { width: 100%; max-width: 340px; flex-direction: column; align-items: center; text-align: center; padding: 20px 15px 40px; }
  .e-who { margin: 0 0 10px; }
  .e-tbody { display: flex; flex-direction: column; align-items: center; }
  .e-footer-container { flex-direction: column; align-items: center; padding: 35px 0 0; text-align: center; }
  .e-footer nav { order: 1; width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 20px; padding: 0; }
  .e-contact { order: 2; padding-top: 30px; width: auto; }
  .e-contact a { justify-content: center; }
  .e-social { justify-content: center; }
  .e-shiny { order: 3; width: 100%; max-width: 390px; height: 230px; margin: 30px 0 0; }
  .e-shiny img { left: 50%; top: 60px; transform: translateX(-50%); width: 250px; height: 107px; }
}


/* ---- WordPress-only additions (appended by scripts/build-theme.mjs) ---- */
/* FAQ uses native <details>/<summary> instead of React state */
.e-q summary { list-style: none; display: flex; align-items: center; gap: 16px; height: 50px; cursor: pointer; }
.e-q summary::-webkit-details-marker { display: none; }
.e-q summary svg { transition: transform .2s; }
.e-q[open] summary svg { transform: rotate(180deg); }
/* keep the admin bar from overlapping the transparent top bar */
.admin-bar .e-topbar { top: 32px; }
@media (max-width: 782px) { .admin-bar .e-topbar { top: 46px; } }
/* inner pages (Terms etc.) */
.e-page { max-width: 900px; margin: 80px auto; padding: 0 25px; }
.e-page h1 { font-size: 36px; font-weight: 500; margin-bottom: 20px; }
