/* ═══════════════════════════════════════════════════════════════
   Electro Service — SSQ-faithful design system (light/blue)
   Palette + components ported from the SSQ build.
   Scoped under body.es-theme; loads after main.css to override.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --soft: #f4f6fa;
  --line: #e7ebf1;
  --tx: #0d1320;
  --mut: #5b6678;
  --ink2: #374256;
  --brand: #1f5fff;
  --brand2: #0a44d6;
  --brandsoft: #eaf1ff;
  --star: #f5a623;
  --ok: #15a86b;
  --warn: #e0900f;
  --danger: #e0533f;
  --maxw: 1120px;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", var(--sans);
  --radius: 18px;
  --radius-s: 12px;
  --shadow-s: 0 1px 2px rgba(13,19,32,.05), 0 8px 24px -16px rgba(13,19,32,.18);
  --shadow-m: 0 18px 44px -28px rgba(13,19,32,.4);
  --shadow-l: 0 40px 90px -50px rgba(13,19,32,.5);
}

body.es-theme {
  font-family: var(--sans);
  color: var(--tx);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* The base theme sets html/body to near-black; force light under the redesign
   so transparent sections (hero, steps, faq, about) don't show a dark page. */
html:has(body.es-theme) { background: #fff !important; }
body.es-theme { background: #fff !important; }
.es-theme .site-main { background: #fff; }
.es-theme .hero,
.es-theme .section,
.es-theme .band,
.es-theme .final,
.es-theme .about,
.es-theme .reviews,
.es-theme .page-hero { background-color: #fff; }
.es-theme .section--soft { background-color: var(--soft); }

/* Safety net: base theme forces white text on several section selectors that
   assume a dark background. Default all redesign text to dark; the only
   intentionally-light surfaces are the gradient final CTA and dark buttons. */
.es-theme .site-main,
.es-theme .site-main h1,
.es-theme .site-main h2,
.es-theme .site-main h3,
.es-theme .site-main h4,
.es-theme .site-main p,
.es-theme .site-main li,
.es-theme .site-main span { color: inherit; }
.es-theme .hero, .es-theme .section, .es-theme .band, .es-theme .about,
.es-theme .reviews, .es-theme .page-hero, .es-theme .layout { color: var(--ink2); }
.es-theme .hero h1, .es-theme .section h2, .es-theme .section h3,
.es-theme .band h2, .es-theme .about h2, .es-theme .page-hero h1 { color: var(--tx); }
/* Light text kept only on the gradient CTA card. */
.es-theme .final__card, .es-theme .final__card h2, .es-theme .final__card p { color: #fff; }
.es-theme .final__card .btn--white { color: var(--brand); }
/* Elements that sit ON a blue/dark surface must stay white — exempt them from
   the dark-text safety net above (which would otherwise force them dark). */
.es-theme .section .step__n,
.es-theme .section .card__ic,
.es-theme .section .card__ic .icon,
.es-theme .step__n,
.es-theme .card__ic,
.es-theme .card__ic .icon,
.es-theme .btn--primary,
.es-theme .btn--dark,
.es-theme .btn--primary .icon,
.es-theme .iconbtn--book,
.es-theme .fix__ic,
.es-theme .fix__ic .icon { color: #fff !important; }
.es-theme .step__n { background: var(--brand) !important; }
/* page-hero icon + soft-blue tiles: brand-colored on light, not white. */
.es-theme .page-hero__ic, .es-theme .page-hero__ic .icon,
.es-theme .svc-card__ic, .es-theme .svc-card__ic .icon,
.es-theme .related-card__ic, .es-theme .related-card__ic .icon,
.es-theme .causes__dot, .es-theme .causes__dot .icon,
.es-theme .embed-ai .eyebrow,
.es-theme .aside-card__list .icon { color: var(--brand) !important; }
.es-theme *, .es-theme *::before, .es-theme *::after { box-sizing: border-box; }
.es-theme .container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.es-theme a { color: inherit; text-decoration: none; }
.es-theme .sora { font-family: var(--display); line-height: 1.1; }
.es-theme h1.sora, .es-theme h2.sora { line-height: 1.08; letter-spacing: -.02em; }
.es-theme img { max-width: 100%; display: block; }
.es-theme .icon { width: 1.1em; height: 1.1em; vertical-align: -.15em; flex: none; }

/* ── buttons ── */
.es-theme .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1;
  border: none; border-radius: var(--radius-s); padding: 14px 22px; cursor: pointer;
  transition: transform .12s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap;
}
.es-theme .btn:active { transform: translateY(1px); }
.es-theme .btn--full { width: 100%; }
.es-theme .btn--lg { padding: 16px 26px; font-size: 1.05rem; }
.es-theme .btn--primary { position: relative; overflow: hidden; background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(31,95,255,.6); }
.es-theme .btn--primary:hover { background: var(--brand2); }
.es-theme .btn--dark { background: var(--tx); color: #fff; }
.es-theme .btn--dark:hover { background: #000; }
/* secondary = blue outline */
.es-theme .btn--ghost { background: #fff; color: var(--brand); border: 2px solid var(--brand); padding: 12px 20px; }
.es-theme .btn--ghost:hover { background: var(--brandsoft); }
.es-theme .btn--white { background: #fff; color: var(--brand); font-weight: 800; }

.es-theme .iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: #fff; border: 1.5px solid var(--line); cursor: pointer; transition: .15s; }
.es-theme .iconbtn:hover { border-color: var(--brand); background: var(--brandsoft); }
.es-theme .iconbtn--call { color: var(--brand); }
.es-theme .iconbtn--wa { color: #25d366; }
.es-theme .iconbtn--book { width: auto; gap: 8px; padding: 0 16px; background: var(--brand); color: #fff; border: none; font-weight: 700; font-family: var(--sans); }
.es-theme .iconbtn--book:hover { background: var(--brand2); }

/* ── header ── */
.es-theme .site-header { position: relative; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.es-theme .site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.es-theme .site-header__logo img { height: 46px; width: auto; }
@media (max-width: 600px) { .es-theme .site-header__logo img { height: 54px; } }
.es-theme .site-header__actions { display: flex; align-items: center; gap: 8px; }
/* Hamburger toggle — hidden on desktop, shown on mobile. */
.es-theme .navToggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--tx); align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.es-theme .navToggle .icon { width: 24px; height: 24px; }
.es-theme .site-header.nav-open .navToggle { background: var(--brand); border-color: var(--brand); color: #fff; }
/* Desktop nav base (placed BEFORE the mobile media query so mobile rules win). */
.es-theme .site-nav { margin: 0 auto 0 38px; }
.es-theme .site-nav__list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.es-theme .site-nav__list a { font-weight: 600; font-size: .95rem; color: var(--ink2); padding: 6px 0; position: relative; }
.es-theme .site-nav__list a:hover { color: var(--brand); }
.es-theme .site-nav__list .current-menu-item > a { color: var(--brand); }
.es-theme .site-nav__list a::after { display: none; }
.es-theme .site-nav__cta { display: none; }
.es-theme .site-nav__ic { display: none; }
@media (max-width: 900px) {
  .es-theme .navToggle { display: inline-flex; }
  .es-theme .site-header.nav-open .navToggle { background: var(--brand); border-color: var(--brand); color: #fff; }
  /* Dimmed backdrop behind the dropdown. */
  .es-theme .site-header::after { content: ""; position: fixed; inset: 0; background: rgba(13,19,32,.45); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; z-index: 38; }
  .es-theme .site-header.nav-open::after { opacity: 1; visibility: visible; }
  /* Premium dropdown card — fixed, clamped to viewport, never overflows. */
  .es-theme .site-nav { display: block; position: fixed; top: 78px; left: 12px; right: 12px; width: auto; max-width: none;
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    box-shadow: 0 30px 70px -20px rgba(13,19,32,.55);
    overflow: hidden; transform-origin: top right; margin: 0; z-index: 39;
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.97);
    transition: opacity .28s ease, transform .28s cubic-bezier(.2,.9,.3,1), visibility .28s; }
  .es-theme .site-header.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .es-theme .site-nav__list { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 12px; margin: 0; list-style: none; width: 100%; }
  .es-theme .site-nav__list li { display: block; width: 100%; margin: 0; border: none; }
  .es-theme .site-nav__list a { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
    padding: 13px 14px; font-size: 1.02rem; font-weight: 700; color: var(--tx);
    background: var(--soft); border: 1px solid var(--line); border-radius: 14px;
    transition: background .18s, color .18s, border-color .18s, transform .18s; }
  .es-theme .site-nav__ic { flex: none; width: 38px; height: 38px; border-radius: 11px; background: #fff;
    border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); transition: .18s; }
  .es-theme .site-nav__ic .icon { width: 20px; height: 20px; }
  .es-theme .site-nav__txt { flex: 1; }
  .es-theme .site-nav__list a::after { content: ""; display: block; flex: none; margin-left: auto; width: 18px; height: 18px; color: var(--mut);
    background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform .18s, color .18s; }
  .es-theme .site-nav__list a:hover, .es-theme .site-nav__list a:active { background: var(--brandsoft); color: var(--brand); border-color: #cfe0ff; transform: translateX(3px); }
  .es-theme .site-nav__list a:hover .site-nav__ic, .es-theme .site-nav__list a:active .site-nav__ic { background: var(--brand); border-color: var(--brand); color: #fff; }
  .es-theme .site-nav__list a:hover::after, .es-theme .site-nav__list a:active::after { color: var(--brand); transform: translateX(2px); }
  .es-theme .site-nav__list .current-menu-item > a { background: var(--brandsoft); color: var(--brand); border-color: var(--brand); }
  /* Phone CTA pinned at the bottom of the card. */
  .es-theme .site-nav__cta { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 2px 12px 14px;
    padding: 16px; border-radius: 14px; background: var(--brand); color: #fff !important; font-weight: 800; font-size: 1.05rem;
    box-shadow: 0 16px 30px -12px rgba(31,95,255,.6); }
  .es-theme .site-nav__cta .icon { width: 20px; height: 20px; color: #fff; }
}
@media (max-width: 720px) { .es-theme .navBookTxt { display: none; } .es-theme .iconbtn--book { width: 42px; padding: 0; } }

/* ── eyebrow / section heads ── */
.es-theme .eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; padding: 0; background: none; border: 0; box-shadow: none; text-indent: 0; }
.es-theme .section:not(.section--light) .eyebrow,
.es-theme .section .eyebrow { color: var(--brand); background: none; border: 0; box-shadow: none; padding: 0; margin: 0 0 14px; }
.es-theme .eyebrow--light { color: #9fc4f5; }
.es-theme .section { padding: 88px 0; }
.es-theme .section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.es-theme .section-head { max-width: 720px; margin: 0 auto 40px; }
.es-theme .section-head--center { text-align: center; }
.es-theme .section-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem,4vw,2.6rem); color: var(--tx); margin: 0; line-height: 1.08; letter-spacing: -.02em; }
.es-theme .section-lead { color: var(--ink2); margin-top: 12px; font-size: 1.06rem; line-height: 1.6; }

/* ── hero ── */
.es-theme .hero { padding: 20px 0 96px; position: relative; overflow: hidden; }
@media (max-width: 600px) { .es-theme .hero { padding-top: 14px; } }
.es-theme .hero__in { text-align: center; max-width: 860px; margin: 0 auto; }
.es-theme .hero__eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(11px, 2.4vw, 15px) clamp(16px, 3.4vw, 22px); font-size: clamp(.9rem, 2.6vw, 1.05rem); font-weight: 600; color: var(--ink2); margin-bottom: 22px; box-shadow: 0 6px 18px -12px rgba(13,19,32,.3); max-width: 100%; }
.es-theme .hero__rating { flex-basis: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--mut); }
.es-theme .hero__rating .hero__stars { font-size: clamp(1rem, 3vw, 1.2rem); }
@media (max-width: 560px) {
  .es-theme .hero__eyebrow { line-height: 1.35; }
  .es-theme .hero__eyebrow .hero__dot { display: none; }
}
.es-theme .hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: es-pulse 2s infinite; }
.es-theme .hero__eyebrow b { color: var(--tx); }
.es-theme .hero__stars { color: var(--star); letter-spacing: 1px; }
.es-theme .hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem,5vw,3.3rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 auto 18px; color: var(--tx); }
.es-theme .hero__title .accent { color: var(--brand); }
.es-theme .hero__desc { font-size: 1.15rem; color: var(--ink2); max-width: 620px; margin: 0 auto 18px; }
.es-theme .hero__subline { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 26px; font-size: .94rem; color: var(--mut); }
.es-theme .hero__subline b { color: var(--tx); }
.es-theme .hero__subline .sep { color: var(--line); }
.es-theme .hero__subline .ok { color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.es-theme .hero__trust { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin: 20px 0 24px; }
.es-theme .hero__cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.es-theme .hero__trust--top { margin: 0 0 26px; }
.es-theme .hero__stars { color: var(--star) !important; letter-spacing: 1px; }
.es-theme .ai__eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); margin-bottom: 16px; }
.es-theme .ai__ai-badge { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: .72rem; color: var(--ok); }
.es-theme .ai__ai-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; }
.es-theme .hero__trust span { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--brand); }
.es-theme .hero__trust .ok { color: var(--brand); }
.es-theme .hero__trust span .icon { color: var(--brand); }

/* ── AI smart-check card ── */
.es-theme .ai { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-l); overflow: hidden; max-width: 720px; margin: 0 auto; text-align: left; }
.es-theme .ai__head { padding: 20px 22px 0; text-align: center; }
.es-theme .ai__title { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin: 0 0 4px; }
.es-theme .ai__sub { font-size: .9rem; color: var(--mut); margin-bottom: 14px; }
.es-theme .ai__sub button { background: none; border: none; color: var(--brand); font-weight: 700; cursor: pointer; padding: 0; font-family: var(--sans); font-size: .9rem; }
.es-theme .ai__label { font-size: .9rem; font-weight: 700; color: var(--mut); margin-bottom: 12px; }
.es-theme .ai__chips { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.es-theme .ai__reveal .ai__label { text-align: left; }
.es-theme .ai__chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink2); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: .95rem; cursor: pointer; transition: .18s; font-family: var(--sans); }
.es-theme .ai__chip:hover { border-color: var(--brand); }
.es-theme .ai__chip.is-on { border-color: var(--brand); background: var(--brand); color: #fff; }
.es-theme .ai__reveal { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s, opacity .3s; padding: 0 22px; }
.es-theme .ai__reveal.is-open { max-height: 360px; opacity: 1; padding: 14px 22px 0; }
.es-theme .ai__ta { width: 100%; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 14px; font-family: var(--sans); font-size: 1.05rem; color: var(--tx); resize: none; outline: none; line-height: 1.5; transition: .18s; }
.es-theme .ai__ta:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,95,255,.12); }
.es-theme .ai__foot { padding: 14px 22px 20px; }
.es-theme .ai__hint { margin-top: 16px; font-size: .76rem; color: var(--mut); text-align: center; }
.es-theme .ai__spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: es-spin .7s linear infinite; }
.es-theme .ai--embed { box-shadow: var(--shadow-m); }

/* diag result */
.es-theme .diag { animation: es-slide .35s ease; margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.es-theme .diag__top { padding: 18px; border-bottom: 1px solid var(--line); }
.es-theme .diag__k { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); margin-bottom: 6px; }
.es-theme .diag__cause { font-family: var(--display); font-weight: 800; font-size: 1.1rem; line-height: 1.25; }
.es-theme .diag__grid { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.es-theme .diag__cell { padding: 16px; }
.es-theme .diag__cell + .diag__cell { border-left: 1px solid var(--line); }
.es-theme .diag__pill { display: inline-block; color: #fff; font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; }
.es-theme .diag__price { font-family: var(--display); font-weight: 800; font-size: 1.05rem; }
.es-theme .diag__also { padding: 16px; border-bottom: 1px solid var(--line); }
.es-theme .diag__also-row { display: flex; flex-wrap: wrap; gap: 7px; }
.es-theme .diag__chip { font-size: .85rem; color: var(--ink2); background: var(--soft); padding: 5px 11px; border-radius: 999px; }
.es-theme .diag__cta { padding: 16px; background: var(--brandsoft); }
.es-theme .diag__note { font-size: .76rem; color: var(--mut); margin-top: 10px; text-align: center; }

/* ── repair band (light) ── */
.es-theme .band { padding: 64px 0; }
.es-theme .band__card { background: var(--brandsoft); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px,5vw,52px); position: relative; overflow: hidden; }
.es-theme .band__glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(31,95,255,.10); filter: blur(20px); top: -130px; right: -80px; }
.es-theme .band__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem,4.4vw,2.6rem); line-height: 1.1; max-width: 720px; position: relative; color: var(--tx); }
.es-theme .band__title .accent { color: var(--brand); }
.es-theme .band__text { font-size: 1rem; color: var(--ink2); line-height: 1.6; max-width: 680px; margin-top: 16px; position: relative; }

/* ── cards grids ── */
.es-theme .grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.es-theme .grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.es-theme .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.es-theme .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; transition: transform .18s, box-shadow .18s; }
.es-theme .section--soft .card { }
.es-theme .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.es-theme .section-head { max-width: 720px; margin: 0 0 40px; text-align: left; }
.es-theme .section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.es-theme .card__ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand) !important; color: #fff !important; display: grid; place-items: center; margin-bottom: 18px; }
.es-theme .card__ic .icon { width: 24px; height: 24px; color: #fff !important; stroke: #fff; }
.es-theme .card h3 { font-family: var(--display); font-size: 1.18rem; margin: 0 0 10px; }
.es-theme .card p { color: var(--ink2); font-size: .96rem; margin: 0; line-height: 1.55; }
.es-theme a.card { display: block; color: inherit; }
.es-theme a.card:hover { border-color: var(--brand); }
.es-theme .card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--brand); font-weight: 700; font-size: .92rem; }
.es-theme .card__link svg { width: 16px; height: 16px; }

/* service fork cards */
.es-theme .svc-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: inherit; box-shadow: var(--shadow-s); transition: transform .18s, box-shadow .18s; }
.es-theme .svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.es-theme .svc-card__ic { flex: none; width: 66px; height: 66px; border-radius: 16px; background: var(--brandsoft); color: var(--brand); display: grid; place-items: center; }
.es-theme .svc-card__ic .icon { width: 36px; height: 36px; }
.es-theme .svc-card__title { display: block; font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin-bottom: 6px; }
.es-theme .svc-card__desc { display: block; color: var(--ink2); font-size: .95rem; margin-bottom: 12px; line-height: 1.5; }
.es-theme .svc-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; font-size: .92rem; }
.es-theme .svc-card__more .icon { width: 16px; height: 16px; }

/* ── stats ── */
.es-theme .stat { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.es-theme .about .stat { background: #fff; }
.es-theme .stat__n { font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--brand); line-height: 1; }
.es-theme .stat__l { font-size: .88rem; color: var(--mut); margin-top: 8px; }

/* ── about / behind ── */
.es-theme .about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.es-theme .about p { color: var(--ink2); font-size: 1.06rem; line-height: 1.6; margin: 0 0 16px; }
.es-theme .about p.mut { color: var(--mut); font-size: .98rem; margin: 0; }

/* ── steps ── */
.es-theme .step__n { font-family: var(--display); font-weight: 800; font-size: 1rem; color: #fff; background: var(--brand); width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px; }
.es-theme .step h3 { font-family: var(--display); font-size: 1.1rem; margin: 0 0 8px; color: var(--tx); }
.es-theme .step p { color: var(--ink2); font-size: .94rem; margin: 0; line-height: 1.55; }

/* ── reviews ── */
.es-theme .reviews__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.es-theme .reviews__stars { color: var(--star); font-size: 1rem; letter-spacing: 2px; }
.es-theme .reviews__meta strong { font-family: var(--display); font-size: 1.1rem; }
.es-theme .reviews__meta .mut { color: var(--mut); font-size: .92rem; }
.es-theme .rev { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; height: 100%; }
.es-theme .rev__stars { color: var(--star); font-size: .9rem; letter-spacing: 2px; margin-bottom: 12px; }
.es-theme .rev__text { font-size: .96rem; color: var(--tx); margin: 0; line-height: 1.55; }
.es-theme .rev__who { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.es-theme .rev__av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand) !important; color: #fff !important; display: grid; place-items: center; font-weight: 700; }
.es-theme .rev__name { font-weight: 700; font-size: .9rem; }
.es-theme .rev__city { font-size: .8rem; color: var(--mut); }
.es-theme .reviews__more { text-align: center; margin-top: 32px; }
.es-theme .gbtn { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--brand); color: var(--brand); padding: 12px 22px; border-radius: 999px; font-weight: 700; }
.es-theme .gbtn:hover { background: var(--brandsoft); }

/* ── coverage ── */
.es-theme .cover__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.es-theme .cover__pills { display: flex; flex-wrap: wrap; gap: 9px; }
.es-theme .pill { background: #fff; border: 1px solid var(--line); color: var(--ink2); padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.es-theme .section--soft .cover__pills .pill { background: #fff; }

/* ── faq ── */
.es-theme .faq { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; transition: box-shadow .25s; }
.es-theme .faq.is-open { box-shadow: var(--shadow-m); }
.es-theme .faq__q { width: 100%; text-align: left; border: none; background: none; cursor: pointer; padding: 20px 22px; font-family: var(--display); font-weight: 700; font-size: 1.04rem; color: var(--tx); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.es-theme .faq__icon { color: var(--brand); transition: .2s; flex: none; }
.es-theme .faq.is-open .faq__icon { transform: rotate(45deg); }
.es-theme .faq__a { padding: 0 22px 20px; color: var(--ink2); line-height: 1.6; }

/* ── final cta ── */
.es-theme .final { padding: 64px 0; }
.es-theme .final__card { background: linear-gradient(135deg, var(--brand2), var(--brand)); color: #fff; border-radius: 24px; padding: clamp(36px,6vw,64px); text-align: center; position: relative; overflow: hidden; }
.es-theme .final__glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.12); filter: blur(8px); top: -130px; left: -80px; animation: es-floaty 7s ease-in-out infinite; }
.es-theme .final__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem,4.6vw,2.8rem); margin: 0 0 12px; position: relative; }
.es-theme .final__sub { font-size: 1.1rem; color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 28px; position: relative; }
.es-theme .final__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.es-theme .final__alt { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; position: relative; }
.es-theme .final .altbtn { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.es-theme .final .altbtn:hover { background: rgba(255,255,255,.22); }

/* ── footer ── */
.es-theme .site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 56px 0 0; }
.es-theme .site-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; max-width: var(--maxw); margin: 0 auto; padding: 0 22px 40px; }
.es-theme .site-footer__logo img { height: 34px; margin-bottom: 12px; }
.es-theme .site-footer__brand p { color: var(--ink2); font-size: .95rem; line-height: 1.6; max-width: 34ch; margin: 0 0 16px; }
.es-theme .site-footer__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; color: var(--brand); font-size: 1.15rem; }
.es-theme .footer-col h4 { font-family: var(--display); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mut); margin: 0 0 14px; }
.es-theme .footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.es-theme .footer-col a, .es-theme .footer-col li span { color: var(--ink2); font-size: .92rem; }
.es-theme .footer-col a:hover { color: var(--brand); }
.es-theme .site-footer__bar { border-top: 1px solid var(--line); }
.es-theme .site-footer__bar-in { max-width: var(--maxw); margin: 0 auto; padding: 18px 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--mut); }

/* ── floating CTA ── */
.es-theme .floatCTA { position: fixed; right: 22px; bottom: 22px; z-index: 140; display: flex; flex-direction: row; align-items: center; gap: 9px; opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.25,1); }
.es-theme .floatCTA.show { opacity: 1; transform: none; pointer-events: auto; }
.es-theme .floatCTA button { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 1rem; border: none; border-radius: 999px; padding: 13px 22px; cursor: pointer; background: var(--brand); color: #fff; box-shadow: 0 16px 36px -12px rgba(31,95,255,.7); }
.es-theme .floatCTA small { display: block; font-size: .72rem; font-weight: 600; opacity: .9; }

/* ── breadcrumb ── */
.es-theme .crumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--mut); margin-bottom: 20px; flex-wrap: wrap; }
.es-theme .crumb a { color: var(--brand); }
.es-theme .crumb a:hover { text-decoration: underline; }

/* ── article / prose (symptom/service/brand pages) ── */
.es-theme .page-hero { padding: clamp(34px,5vw,56px) 0 clamp(28px,4vw,44px); background: linear-gradient(180deg, var(--brandsoft), transparent); border-bottom: 1px solid var(--line); }
.es-theme .page-hero__head { display: flex; align-items: flex-start; gap: 18px; }
.es-theme .page-hero__ic { flex: none; width: 64px; height: 64px; border-radius: 16px; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow-s); }
.es-theme .page-hero__ic .icon { width: 32px; height: 32px; }
.es-theme .page-hero__badge { display: inline-block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 11px; border-radius: 999px; margin-bottom: 8px; }
.es-theme .page-hero__badge--low { background: #e3f6ee; color: var(--ok); }
.es-theme .page-hero__badge--medium { background: #fdf0d9; color: var(--warn); }
.es-theme .page-hero__badge--high { background: #fbe5e3; color: var(--danger); }
.es-theme .page-hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem,4.5vw,2.4rem); color: var(--tx); margin: 0; line-height: 1.12; }
.es-theme .page-hero__cta { margin-top: 22px; }

.es-theme .layout { display: grid; grid-template-columns: 1fr 330px; gap: 40px; align-items: start; }
.es-theme .prose { color: var(--ink2); line-height: 1.75; font-size: 1.05rem; }
.es-theme .prose > h2 { font-family: var(--display); color: var(--tx); font-size: 1.6rem; margin: 1.7em 0 .5em; letter-spacing: -.01em; }
.es-theme .prose > h3 { color: var(--tx); font-size: 1.25rem; margin: 1.4em 0 .4em; font-family: var(--display); }
.es-theme .prose p { margin: 0 0 1.1em; }
.es-theme .prose ul, .es-theme .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.es-theme .prose li { margin-bottom: .5em; }
.es-theme .prose a { color: var(--brand); }
.es-theme .prose strong { color: var(--tx); }
.es-theme .prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .96rem; }
.es-theme .prose th, .es-theme .prose td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.es-theme .prose th { background: var(--soft); font-family: var(--display); }

.es-theme .causes { margin-top: 32px; }
.es-theme .causes h2 { font-family: var(--display); font-size: 1.4rem; margin: 0 0 16px; }
.es-theme .causes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.es-theme .causes__item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 16px; box-shadow: var(--shadow-s); }
.es-theme .causes__dot { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--brandsoft); color: var(--brand); display: grid; place-items: center; }
.es-theme .causes__dot .icon { width: 17px; height: 17px; }

.es-theme .fix { margin-top: 36px; }
.es-theme .fix h2 { font-family: var(--display); font-size: 1.4rem; margin: 0 0 16px; }
.es-theme .fix__steps { display: grid; gap: 14px; }
.es-theme .fix__step { display: flex; gap: 14px; align-items: flex-start; }
.es-theme .fix__ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.es-theme .fix__ic .icon { width: 20px; height: 20px; }
.es-theme .fix__step h3 { font-size: 1.06rem; margin: 0 0 3px; color: var(--tx); font-family: var(--display); }
.es-theme .fix__step p { margin: 0; color: var(--ink2); font-size: .96rem; }

.es-theme .inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--brandsoft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 36px; }
.es-theme .inline-cta h2 { font-family: var(--display); font-size: 1.3rem; margin: 0 0 6px; color: var(--tx); }
.es-theme .inline-cta p { margin: 0; color: var(--ink2); }

.es-theme .aside-card { position: sticky; top: 86px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-m); }
.es-theme .aside-card h3 { font-family: var(--display); font-size: 1.2rem; margin: 0 0 8px; }
.es-theme .aside-card p { color: var(--ink2); font-size: .95rem; margin: 0 0 16px; }
.es-theme .aside-card .btn { width: 100%; }
.es-theme .aside-card__list { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.es-theme .aside-card__list li { display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: .92rem; }
.es-theme .aside-card__list .icon { width: 17px; height: 17px; color: var(--brand); flex: none; }
.es-theme .aside-actions { display: flex; gap: 8px; margin-top: 12px; }
.es-theme .aside-actions a { flex: 1; }

.es-theme .embed-ai { margin-top: 40px; padding: 28px; background: var(--brandsoft); border: 1px solid var(--line); border-radius: var(--radius); }
.es-theme .embed-ai .eyebrow { display: block; }
.es-theme .embed-ai h2 { font-family: var(--display); font-size: 1.4rem; margin: 0 0 16px; }
.es-theme .embed-ai .ai { background: #fff; }

.es-theme .related-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 14px; }
.es-theme .related-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px; color: inherit; box-shadow: var(--shadow-s); transition: transform .16s, box-shadow .16s; }
.es-theme .related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.es-theme .related-card__ic { flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--brandsoft); color: var(--brand); display: grid; place-items: center; }
.es-theme .related-card__ic .icon { width: 22px; height: 22px; }
.es-theme .related-card__t { display: block; font-weight: 700; color: var(--tx); }
.es-theme .related-card__d { display: block; color: var(--mut); font-size: .86rem; }

/* brands grid on brand/service pages */
.es-theme .brandwall { display: flex; flex-wrap: wrap; gap: 10px; }
.es-theme .brand-chip { background: #fff; border: 1px solid var(--line); color: var(--ink2); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.es-theme .brand-chip:hover { border-color: var(--brand); color: var(--brand); }

/* ── chat / booking modal ── */
.es-chat-ovl { position: fixed; inset: 0; z-index: 1000; background: rgba(13,19,32,.5); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.es-chat { background: #fff; border-radius: 20px; box-shadow: 0 40px 90px -40px rgba(13,19,32,.6); width: 100%; max-width: 440px; height: min(620px,86vh); display: flex; flex-direction: column; overflow: hidden; animation: es-pop .3s ease; }
.es-chat__top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.es-chat__av { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--display); }
.es-chat__top strong { display: block; font-size: .98rem; font-family: var(--display); }
.es-chat__status { font-size: .76rem; color: var(--ok); display: flex; align-items: center; gap: 6px; }
.es-chat__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: es-pulse 2s infinite; }
.es-chat__x { margin-left: auto; background: var(--soft); border: none; border-radius: 8px; width: 32px; height: 32px; display: grid; place-items: center; cursor: pointer; color: var(--mut); }
.es-chat__ai { display: flex; gap: 9px; align-items: flex-start; padding: 10px 16px; background: var(--brandsoft); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--ink2); line-height: 1.4; }
.es-chat__ai b { flex: none; font-weight: 800; color: var(--brand); font-size: .72rem; border: 1px solid var(--brand); border-radius: 6px; padding: 2px 6px; margin-top: 1px; }
.es-chat__body { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.es-bub { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: .95rem; line-height: 1.5; }
.es-bub--assistant { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.es-bub--user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 5px; }
.es-bub--typing { display: flex; gap: 4px; }
.es-bub--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mut); animation: es-blink 1.2s infinite; }
.es-bub--typing i:nth-child(2){animation-delay:.2s}.es-bub--typing i:nth-child(3){animation-delay:.4s}
.es-chat__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.es-chat__input input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 16px; font-family: var(--sans); font-size: .95rem; outline: none; }
.es-chat__input input:focus { border-color: var(--brand); }
.es-chat__input button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; }
.es-chat__input button:disabled { background: #c3cee0; }
.es-chat__done { display: flex; align-items: center; gap: 12px; padding: 18px 16px; background: var(--brandsoft); color: var(--brand2); font-weight: 600; }
.es-chat__done > .icon { flex: none; width: 26px; height: 26px; color: var(--ok); }
.es-chat__done strong { display: block; font-size: 1.02rem; color: var(--tx); }
.es-chat__done span { display: block; font-size: .86rem; font-weight: 500; color: var(--ink2); margin-top: 2px; line-height: 1.35; }
.es-chat__done-x { flex: none; margin-left: auto; align-self: center; padding: 9px 16px; border-radius: 10px; border: none; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; cursor: pointer; }

/* ── animations ── */
@keyframes es-pulse { 0%{box-shadow:0 0 0 0 rgba(21,168,107,.5)} 70%{box-shadow:0 0 0 9px rgba(21,168,107,0)} 100%{box-shadow:0 0 0 0 rgba(21,168,107,0)} }
@keyframes es-spin { to { transform: rotate(360deg); } }
@keyframes es-slide { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
@keyframes es-pop { from{opacity:0;transform:translateY(12px) scale(.97)} to{opacity:1;transform:none} }
@keyframes es-floaty { 50%{transform:translateY(-12px)} }
@keyframes es-blink { 0%,100%{opacity:1} 50%{opacity:.25} }
.es-theme .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; transition-delay: var(--d,0ms); }
.es-theme .reveal.is-in { opacity: 1; transform: none; }

/* ── responsive ── */
@media (max-width: 900px) {
  .es-theme .layout { grid-template-columns: 1fr; }
  .es-theme .aside-card { position: static; }
  .es-theme .about__grid, .es-theme .cover__grid { grid-template-columns: 1fr; gap: 28px; }
  .es-theme .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .es-theme .grid-3, .es-theme .grid-4, .es-theme .grid-2 { grid-template-columns: 1fr; }
  .es-theme .grid-4 { grid-template-columns: 1fr 1fr; }
  .es-theme .diag__grid { grid-template-columns: 1fr; }
  .es-theme .site-footer__inner { grid-template-columns: 1fr; }
  .es-theme .inline-cta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .es-theme *, .es-theme *::before, .es-theme *::after { animation: none !important; transition: none !important; }
  .es-theme .reveal { opacity: 1; transform: none; }
}
.es-theme :focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* review attribution */
.es-theme .rev__who { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.es-theme .rev__av { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--brand) !important; color: #fff !important; display: grid; place-items: center; font-weight: 700; }
.es-theme .rev__name { font-weight: 700; font-size: .9rem; color: var(--tx); }
.es-theme .rev__src { display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--mut); margin-top: 2px; }

/* review score label */
.es-theme .rev__stars { display: flex; align-items: center; gap: 8px; }
.es-theme .rev__score { font-weight: 700; font-size: .82rem; color: var(--tx) !important; letter-spacing: normal; }

/* ============ Mobile polish pass ============ */
@media (max-width: 640px) {
  /* Tighter line-height on inner-page prose + headings (was too airy). */
  .es-theme .prose { line-height: 1.6; font-size: 1.02rem; }
  .es-theme .prose > h2 { line-height: 1.18; margin: 1.4em 0 .45em; }
  .es-theme .prose > h3 { line-height: 1.2; }
  .es-theme .page-hero__title { line-height: 1.12; }
  /* Reduce the gap under the service/symptom hero CTA before the body copy. */
  .es-theme .page-hero { padding-bottom: 18px; }
  .es-theme .page-hero__cta { margin-top: 16px; }
  .es-theme .layout { padding-top: 24px; }
  /* The .section wrapper after the page-hero adds a large top pad → big gap
     before the body copy. Pull it in tight on inner pages. */
  .es-theme .page-hero + .section { padding-top: 18px; }
  /* Footer breathing room on mobile. */
  .es-theme .site-footer { padding-top: 40px; }
  .es-theme .site-footer__inner { gap: 28px; padding: 0 22px 28px; }
  .es-theme .site-footer__col { padding-bottom: 6px; }
  /* Extra bottom pad so the fixed floating CTA never covers footer text. */
  .es-theme .site-footer__bar-in { padding: 22px 22px 96px; }
}

/* Chat: when the on-screen keyboard opens it eats vertical space; use dynamic
   viewport units and a smaller welcome message so the latest message stays in
   view. dvh accounts for the keyboard on modern mobile browsers. */
@media (max-width: 640px) {
  /* Don't vertically center the chat — when the keyboard opens, centering
     pushes messages off the top of the screen. Anchor it to fill the panel
     from the top instead, sized to the *visible* viewport (set via JS). */
  .es-chat-ovl { place-items: stretch; padding: 0; background: #fff; height: 100dvh; }
  .es-chat { height: 100%; max-width: 100%; border-radius: 0; }
  .es-chat__body { padding: 14px 14px; gap: 9px; }
  /* Push messages to the bottom (just above the input) only when there's spare
     space; when they overflow, normal scrolling still works without clipping. */
  .es-chat__body > :first-child { margin-top: auto; }
  .es-chat__ai { font-size: .74rem; padding: 8px 14px; }
  .es-bub { font-size: .95rem; padding: 10px 13px; }
  /* Tighten input bar so it sits flush above the keyboard, no page bleed. */
  .es-chat__input { padding: 8px 10px; }
}

/* Floating CTA quick-contact icon (phone). */
.es-theme .floatCTA__icons { display: flex; gap: 9px; align-items: center; }
.es-theme .floatCTA__ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 10px 26px -10px rgba(13,19,32,.45); border: 1px solid var(--line); transition: transform .15s; }
.es-theme .floatCTA__ic:hover { transform: translateY(-2px); }
.es-theme .floatCTA__ic .icon { width: 22px; height: 22px; }
.es-theme .floatCTA__ic--call { background: var(--brand); border-color: var(--brand); }
.es-theme .floatCTA__ic--call .icon { color: #fff; }
.es-theme .floatCTA__ic--wa { background: #25d366; border-color: #25d366; }
.es-theme .floatCTA__ic--wa .icon { color: #fff; }

/* Floating bar: keep all four buttons on one row, compact on small phones. */
@media (max-width: 560px) {
  .es-theme .floatCTA { left: 12px; right: 12px; }
}
@media (max-width: 380px) {
  .es-theme .floatCTA__ic { width: 38px; height: 38px; }
}

/* Numeric rating before the stars in the hero eyebrow. */
.es-theme .hero__score { font-weight: 800; color: var(--tx); }

/* ── Washing-machine cross-link banner (homepage, below hero) ── */
.es-theme .xband { padding: 0 0 8px; }
.es-theme .xband__card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px;
  background: linear-gradient(100deg, var(--brandsoft), #fff); border: 1px solid var(--line);
  box-shadow: 0 12px 30px -18px rgba(13,19,32,.4); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
.es-theme .xband__card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(31,95,255,.4); border-color: #cfe0ff; }
.es-theme .xband__ic { flex: none; width: 50px; height: 50px; border-radius: 13px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.es-theme .xband__ic .icon { width: 26px; height: 26px; color: #fff; }
.es-theme .xband__txt { flex: 1; min-width: 0; }
.es-theme .xband__txt strong { display: block; font-weight: 800; color: var(--tx); font-size: 1.05rem; }
.es-theme .xband__txt span { display: block; color: var(--mut); font-size: .92rem; margin-top: 2px; line-height: 1.4; }
.es-theme .xband__go { flex: none; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.es-theme .xband__go .icon { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .es-theme .xband__card { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .es-theme .xband__go { width: 100%; justify-content: center; padding-top: 8px; border-top: 1px solid var(--line); }
}

/* ── AI estimator result overlay: scrollable when taller than the screen ── */
.es-theme .es-diag { max-width: 460px; max-height: 88vh; display: flex; flex-direction: column; }
.es-theme .es-diag__scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; max-height: 88vh; }
@media (max-width: 640px) {
  .es-theme .es-diag { max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .es-theme .es-diag__scroll { max-height: 100dvh; flex: 1; }
}

/* ── Inline diagnosis card inside the diagnostic chat ── */
.es-theme .es-bub.es-diag-card { max-width: 100%; width: 100%; background: transparent; padding: 0; border: none; }
.es-theme .es-diag-card .diag { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 10px 28px -16px rgba(13,19,32,.4); }

/* ── Homepage estimator widget — green accent to stand out ── */
.es-theme .ai {
  border: 2px solid var(--ok);
  background: linear-gradient(180deg, #f3fbf7 0%, #ffffff 38%);
  box-shadow: 0 22px 50px -24px rgba(21,168,107,.45), 0 4px 14px -8px rgba(13,19,32,.25);
}
/* Green primary button inside the estimator (scoped to .ai so booking stays blue). */
.es-theme .ai .ai__btn.btn--primary {
  background: var(--ok);
  box-shadow: 0 14px 30px -12px rgba(21,168,107,.65);
}
.es-theme .ai .ai__btn.btn--primary:hover { background: #128a58; }
/* Selected device chip turns green. */
.es-theme .ai .ai__chip.is-on {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
/* Emphasise the AI tagline in green. */
.es-theme .ai .ai__hint {
  color: #0f7a4d;
  font-weight: 600;
}
.es-theme .ai .ai__ai-badge {
  background: rgba(21,168,107,.12);
  color: #0f7a4d;
  border: 1px solid rgba(21,168,107,.35);
}
.es-theme .ai .ai__ai-dot { background: var(--ok); }
/* Textarea focus ring green. */
.es-theme .ai .ai__ta:focus { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(21,168,107,.18); }

/* ── Footer business / legal block (premium, light footer) ── */
.es-theme .site-footer__legal { border-top: 1px solid var(--line); }
.es-theme .footer-legal { max-width: var(--maxw); margin: 0 auto; padding: 36px 22px 8px; }
.es-theme .footer-legal__head { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.es-theme .footer-legal__head .footer-legal__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--brandsoft); display: grid; place-items: center; }
.es-theme .footer-legal__head .footer-legal__ic .icon { width: 22px; height: 22px; color: var(--brand); }
.es-theme .footer-legal__head p { margin: 0; color: var(--ink2); font-size: .98rem; line-height: 1.5; }
.es-theme .footer-legal__head strong { color: var(--tx); font-weight: 800; }
.es-theme .footer-legal__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.es-theme .footer-legal__card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: 0 10px 26px -20px rgba(13,19,32,.35); }
.es-theme .footer-legal__k { display: inline-flex; align-items: center; gap: 9px; font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--mut); margin-bottom: 14px; }
.es-theme .footer-legal__k .icon { width: 17px; height: 17px; color: var(--brand); }
.es-theme .footer-legal__rows { list-style: none; margin: 0; padding: 0; }
.es-theme .footer-legal__rows li { display: flex; flex-direction: column; gap: 3px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.es-theme .footer-legal__rows li:last-child { border-bottom: none; }
.es-theme .footer-legal__rows li span { color: var(--mut); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.es-theme .footer-legal__rows li b { color: var(--tx); font-weight: 700; font-size: 1rem; white-space: nowrap; }
.es-theme .footer-legal__rows--plain li { padding: 7px 0; }
.es-theme .footer-legal__rows--plain li a { color: var(--tx); font-weight: 600; font-size: .94rem; text-decoration: none; transition: color .15s; }
.es-theme .footer-legal__rows--plain li a:hover { color: var(--brand); }
.es-theme .footer-legal__addr { margin: 0; color: var(--tx); font-weight: 600; line-height: 1.55; }
.es-theme .footer-legal__hint { display: flex; align-items: center; gap: 8px; margin: 13px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--ink2); font-size: .85rem; }
.es-theme .footer-legal__hint .icon { width: 15px; height: 15px; color: var(--brand); flex: none; }
.es-theme .footer-legal__note { display: flex; align-items: center; gap: 13px; margin-top: 18px; padding: 15px 20px; border-radius: 14px; background: #fff7ea; border: 1px solid #f3dcae; }
.es-theme .footer-legal__note-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(224,144,15,.16); display: grid; place-items: center; }
.es-theme .footer-legal__note-ic .icon { width: 19px; height: 19px; color: var(--warn); }
.es-theme .footer-legal__note p { margin: 0; color: #8a5a08; font-size: .92rem; line-height: 1.45; font-weight: 600; }
@media (max-width: 860px) {
  .es-theme .footer-legal__grid { grid-template-columns: 1fr; }
  .es-theme .footer-legal { padding: 28px 18px 6px; }
}

/* ── Unified premium footer ── */
.es-theme .site-footer__main { max-width: 1320px; margin: 0 auto; padding: 0 40px 36px; display: grid; grid-template-columns: 0.9fr 1.6fr; gap: 48px; align-items: start; }
.es-theme .footer-brandcol .site-footer__logo { display: inline-block; margin-bottom: 16px; }
.es-theme .footer-brandcol__desc { color: var(--ink2); font-size: .95rem; line-height: 1.6; max-width: 38ch; margin: 0 0 18px; }
.es-theme .site-footer__phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 1.18rem; color: var(--brand); text-decoration: none; }
.es-theme .site-footer__phone .icon { width: 20px; height: 20px; }
.es-theme .footer-brandcol__contact { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 20px; }
.es-theme .footer-cbtn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 11px; font-size: .88rem; font-weight: 600; text-decoration: none; border: 1px solid var(--line); background: #fff; color: var(--ink2); transition: transform .15s, box-shadow .15s, border-color .15s; }
.es-theme .footer-cbtn .icon { width: 16px; height: 16px; }
.es-theme .footer-cbtn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(13,19,32,.4); }
.es-theme .footer-cbtn--wa { color: #1faf54; }
.es-theme .footer-cbtn--wa:hover { border-color: #b6e7c7; }
.es-theme .footer-cbtn--sms { color: var(--brand); }
.es-theme .footer-cbtn--sms:hover { border-color: #cfe0ff; }
.es-theme .footer-brandcol__links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.es-theme .footer-brandcol__links a { color: var(--ink2); font-size: .92rem; font-weight: 600; text-decoration: none; }
.es-theme .footer-brandcol__links a:hover { color: var(--brand); }
.es-theme .footer-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) {
  .es-theme .site-footer__main { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .es-theme .footer-info { grid-template-columns: 1fr; }
}

/* ── Slim "Get a free quote" bar, directly under the header nav (mobile only) ── */
.es-theme .quote-bar {
  display: none; /* desktop has the estimator + float button; this is mobile only */
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #15a86b 0%, #0f8a55 100%);
  font-family: var(--sans);
  -webkit-tap-highlight-color: transparent;
}
.es-theme .quote-bar__ic { display: grid; place-items: center; flex: 0 0 auto; }
.es-theme .quote-bar__ic .icon { width: 15px; height: 15px; color: #fff; }
.es-theme .quote-bar__tx { font-weight: 700; font-size: .86rem; letter-spacing: .01em; }
.es-theme .quote-bar__arrow { display: grid; place-items: center; flex: 0 0 auto; }
.es-theme .quote-bar__arrow .icon { width: 15px; height: 15px; color: #fff; }
.es-theme .quote-bar:active { filter: brightness(.95); }
@media (max-width: 768px) {
  .es-theme .quote-bar { display: flex; }
}

/* ── Green "Get a free quote" floating button (left of book + call) ── */
.es-theme .floatCTA__quote {
  background: linear-gradient(135deg, #15a86b 0%, #0f8a55 100%) !important;
  color: #fff !important;
  box-shadow: 0 16px 36px -12px rgba(21,168,107,.75) !important;
}
/* Two-line button text so all three float items fit one row. */
.es-theme .floatCTA button span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.es-theme .floatCTA button span small { font-weight: 600; font-size: .7rem; opacity: .9; }
@media (max-width: 560px) {
  .es-theme .floatCTA { gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
  .es-theme .floatCTA button { padding: 8px 12px; font-size: .8rem; gap: 7px; }
  .es-theme .floatCTA button .icon { width: 17px; height: 17px; flex: 0 0 auto; }
  .es-theme .floatCTA button span { font-size: .8rem; }
  .es-theme .floatCTA button span small { display: block; font-size: .64rem; }
  .es-theme .floatCTA__icons { gap: 6px; }
  .es-theme .floatCTA__ic { width: 40px; height: 40px; }
}
@media (max-width: 380px) {
  .es-theme .floatCTA button { padding: 7px 10px; }
  .es-theme .floatCTA button span { font-size: .74rem; }
  .es-theme .floatCTA button span small { font-size: .6rem; }
  .es-theme .floatCTA__ic { width: 38px; height: 38px; }
}
