/*
Theme Name: West Services
Description: The approved West Services homepage, service-page components, and brand libraries.
Version: 1.0.1
Author: West Services
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: west-services
License: GPL-2.0-or-later
*/

/* Fill the office and electrical Polaroid frames. */
.home .polaroid--2 .polaroid-photo, .home .polaroid--3 .polaroid-photo { object-fit:cover; object-position:center; }

/* The home crew prints lift like cards from a hand. */
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .home .polaroid-row .polaroid { transition:transform 300ms cubic-bezier(.2,.7,.2,1), box-shadow 300ms ease; }
 .home .polaroid-row .polaroid:hover { z-index:10; transform:translateY(-18px) rotate(0deg); box-shadow:0 18px 26px rgb(0 23 41 / .2); }
}
@media (prefers-reduced-motion:reduce) { .home .polaroid-row .polaroid { transition:none; } }

/* Home storefront photo: a paper print nestled among the parts. */
.home .storefront-visual { width:100%; max-width:440px; height:320px; }
.home .storefront-photo { position:absolute; width:75%; left:12%; top:7%; padding:12px 12px 8px; margin:0; background:#fdfdfc; box-shadow:0 5px 16px rgb(42 32 18 / .16); transform:rotate(-3deg); }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .home .storefront-photo { transition:transform 300ms ease; }
 .home .storefront-photo:hover { transform:rotate(1deg); }
}
@media (prefers-reduced-motion:reduce) { .home .storefront-photo { transition:none; } }
.home .storefront-photo img { display:block; width:100%; aspect-ratio:3 / 2; object-fit:cover; }
.home .storefront-photo figcaption { margin:5px 0 0; text-align:center; color:var(--ws-text-heading); font:400 25px/1.2 Caveat,cursive; }
.home .storefront-part--hvac { width:23%; left:0; bottom:0; }
.home .storefront-part--electrical { width:26%; left:0; top:0; }
.home .storefront-part--plumbing { width:27%; right:0; top:49%; }
@media (max-width:767px) { .home .storefront-visual { height:280px; max-width:360px; } }

/* Registered block styles for the editable service and team pages. */
.is-style-west-service-section{max-width:1072px;margin:0 auto;padding:56px 0;color:#184769}
.is-style-west-service-section+.is-style-west-service-section{border-top:1px solid #d3dce1}
.is-style-west-service-section h2{font-size:clamp(28px,3vw,38px);line-height:1.14;letter-spacing:-.025em;color: var(--ws-text-heading);margin:0 0 20px}
.is-style-west-service-section h3{font-size:22px;line-height:1.2;color: var(--ws-text-heading);margin:0 0 12px}
.is-style-west-service-section p{font-size:17px;line-height:1.65;margin:0 0 16px}
.is-style-west-service-section>p{max-width:760px}
.is-style-west-service-section .wp-block-columns{gap:48px;align-items:center;margin:0}
.is-style-west-service-section .wp-block-image{margin:0}
.is-style-west-service-section .wp-block-image img{display:block;width:100%;height:auto;border-radius:4px}
.is-style-west-service-hero{background:#093554;color:#fff;padding:64px max(24px,calc((100vw - 1072px)/2));overflow:hidden}
.is-style-west-service-hero .wp-block-columns{gap:48px;align-items:center;margin:0}
.is-style-west-service-hero h1{color:#fff;font-size:clamp(38px,4.7vw,60px);line-height:1.04;letter-spacing:-.035em;margin:16px 0 24px}
.is-style-west-service-hero p{color:#fff;font-size:18px;line-height:1.6;margin:0 0 24px}
.is-style-west-service-hero .ws-eyebrow{font-family:Caveat,cursive;font-weight:400;font-size:26px;line-height:1.2;color:var(--ws-eyebrow-gold);margin:0}
.is-style-west-service-hero .wp-block-image{margin:0}
.is-style-west-service-hero .wp-block-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px}
.is-style-west-service-hero .wp-block-button:not(.is-style-west-phone) .wp-block-button__link{background:#ce1824;color:#fff;border-radius:4px;font-family:inherit;font-weight:700;font-size:17px;line-height:1.3;padding:14px 24px;text-decoration:none}
.is-style-west-service-hero .wp-block-button:not(.is-style-west-phone) .wp-block-button__link:hover{background:#ae1220}
.is-style-west-service-hero .wp-block-button:not(.is-style-west-phone) .wp-block-button__link:focus-visible{background:#2f6690;outline:none;box-shadow:none}
.is-style-west-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:28px}
.is-style-west-service-grid>.is-style-west-service-item{margin:0}
.is-style-west-service-item{background:#fff;border:1px solid #d3d1ca;border-radius:4px;padding:28px}
.is-style-west-service-item p:last-child{margin-bottom:0}
.is-style-west-service-section a{color:#235a80;text-underline-offset:3px}
.is-style-west-service-section a:hover{color:#093554;background:transparent}
.is-style-west-service-section a:focus-visible{outline:none;box-shadow:none;background:transparent;color:#093554;text-decoration-thickness:2px}
.is-style-west-service-section .wp-block-details{border-top:1px solid #cfd7db;padding:20px 0}
.is-style-west-service-section .wp-block-details:last-child{border-bottom:1px solid #cfd7db}
.is-style-west-service-section .wp-block-details summary{cursor:pointer;color:#235a80;font-size:18px;font-weight:600;padding-right:24px}
.is-style-west-service-section .wp-block-details summary:focus-visible{background:#c4dced;outline:none;box-shadow:none}
.is-style-west-service-section .wp-block-details p{margin:16px 0 0;max-width:760px}
.is-style-west-team-portraits{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:28px}
.is-style-west-team-portraits .wp-block-image img{aspect-ratio:2/3;object-fit:cover}
.is-style-west-team-portraits figcaption{font-family:Caveat,cursive;font-size:24px;font-weight:400;color:#504b40;text-align:center;margin-top:10px}
.is-style-west-owner-close{background:#eeebe4}
.is-style-west-owner-close .wp-block-image{max-width:320px;margin:auto}
.is-style-west-owner-close .ws-eyebrow{font-family:Caveat,cursive;font-size:26px;font-weight:400;color:#2f6690}
.is-style-west-owner-close .west-owner-role{font-size:15px;margin-top:-10px;color:#504b40}
.ws-final-estimate{padding-top:72px;padding-bottom:72px}
@media(max-width:1120px){.is-style-west-service-section{margin-left:24px;margin-right:24px}}
@media(max-width:781px){
 .is-style-west-service-hero{padding:40px 24px}
 .is-style-west-service-hero .wp-block-columns,.is-style-west-service-section .wp-block-columns{gap:28px}
 .is-style-west-service-section{padding:40px 0}
 .is-style-west-service-grid{grid-template-columns:1fr;gap:16px}
 .is-style-west-service-item{padding:24px}
 .is-style-west-team-portraits{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
 .is-style-west-owner-close .wp-block-image{max-width:280px}
 .ws-final-estimate{padding-top:40px;padding-bottom:40px}
}

/* Portrait phone appearance is shared in assets/brand/components.css. */
.neighbors{overflow-x:clip}

/* === Shared homepage header and footer: one component on every route === */

.ws-global-topbar.topbar {
  background: #CE1824;
  padding: 8px 0;
  text-align: center;
}
.ws-global-topbar .topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ws-global-topbar .topbar-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #F6F4F0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ws-global-topbar .topbar-phone {
  font-size: 0.85rem;
  font-weight: 700;
  color: #F6F4F0;
  border-bottom: 1px solid rgba(246, 244, 240, 0.45);
}


.ws-global-header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #F6F4F0;
  border-bottom: 1px solid rgba(47, 102, 144, 0.16);
  transition: box-shadow 0.3s;
}
.ws-global-header.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(9, 53, 84, 0.08);
}
.ws-global-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.ws-global-header .logo-img {
  height: 60px;
  width: auto;
}
.ws-global-header .nav-list {
  display: flex;
  gap: 32px;
}
.ws-global-header .nav-list a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #2F6690;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.ws-global-header .nav-list a:hover { color: #184769; }
.ws-global-header .header-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.ws-global-header .header-cta-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #799FC0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ws-global-header .header-cta-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #CE1824;
}
.ws-global-header .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
}
.ws-global-header .hamburger, .ws-global-header .hamburger::before, .ws-global-header .hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #2F6690;
  border-radius: 2px;
  transition: all 0.3s;
  position: absolute;
  left: 11px;
}
.ws-global-header .hamburger { top: 21px; }
.ws-global-header .hamburger::before { content: ''; top: -7px; }
.ws-global-header .hamburger::after { content: ''; top: 7px; }
.ws-global-header .nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.ws-global-header .nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.ws-global-header .nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }


.ws-global-footer.site-footer {
  position: relative;
  background: #F6F4F0;
  padding: 72px 0 0;
  overflow: hidden;
}
.ws-global-footer .footer-watermark {
  position: absolute;
  left: 0;
  top: 0;
  width: 280px;
  height: 280px;
  pointer-events: none;
  opacity: 0.35;
}
.ws-global-footer .footer-mark {
  position: absolute;
}
.ws-global-footer .footer-mark-14 { left: -40px; top: 0; width: 105px; }
.ws-global-footer .footer-mark-15 { left: 40px; top: 8px; width: 117px; }
.ws-global-footer .footer-mark-13 { left: 120px; top: 0; width: 141px; }
.ws-global-footer .footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.ws-global-footer .footer-logo-img {
  width: 88px;
  height: auto;
  margin-bottom: 16px;
}
.ws-global-footer .footer-desc {
  font-size: 15px;
  line-height: 1.55;
  color: #184769;
  max-width: 420px;
  margin-bottom: 12px;
}
.ws-global-footer .footer-chamber {
  font-size: 13px;
  color: #5482A8;
}
.ws-global-footer .footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ws-global-footer .footer-col li {
  font-size: 15px;
  color: #184769;
  margin-bottom: 10px;
}
.ws-global-footer .footer-col a:hover { color: #CE1824; }
.ws-global-footer .footer-bottom {
  border-top: 1px solid rgba(47, 102, 144, 0.16);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #799FC0;
}


.ws-global-header *, .ws-global-topbar *, .ws-global-footer * { box-sizing:border-box; }
.ws-global-header .container, .ws-global-topbar .container, .ws-global-footer .container { width:100%;max-width:1120px;margin:0 auto;padding-left:24px;padding-right:24px; }
.ws-global-header .nav-list, .ws-global-footer ul { list-style:none;margin:0;padding:0; }
.ws-global-header a, .ws-global-topbar a, .ws-global-footer a { text-decoration:none; }
.ws-global-header .nav-list { align-items:center; }
.ws-global-header .nav-list a { display:flex;align-items:center;min-height:44px;white-space:nowrap; }
.ws-global-header .nav-list a[aria-current="page"] { color:#184769;text-decoration:underline;text-underline-offset:3px; }
.ws-global-header .logo-img, .ws-global-footer img { display:block;max-width:100%; }
.ws-global-footer h4, .ws-global-footer p { margin-top:0; }
.ws-global-footer h4 { color: var(--ws-text-heading);line-height:1.15; }
.ws-global-footer .footer-bottom p { margin:0; }
.ws-global-header a:visited { color:#2f6690; }
.ws-global-header .header-cta:visited { color:#ce1824; }
.ws-global-topbar a:visited { color:#f6f4f0; }
.ws-global-footer a:visited { color:inherit; }
.ws-global-header a:focus-visible, .ws-global-header button:focus-visible, .ws-global-footer a:focus-visible { outline:none;box-shadow:none;background:#c4dced;color:#093554; }
.ws-global-topbar a:focus-visible { outline:none;box-shadow:none;background:#ffceca;color:#910016; }
.ws-global-header .hamburger::before, .ws-global-header .hamburger::after { left:0; }
.ws-shell-preview .ws-global-header { position:relative;top:auto;z-index:1; }
@media(max-width:860px) {
 .ws-global-header .nav-toggle { display:block; }
 .ws-global-header .header-cta { display:none; }
 .ws-global-header .main-nav { position:absolute;inset:100% 0 auto;background:#f6f4f0;border-bottom:1px solid #d3dce1;padding:24px;display:none;transform:none;opacity:1;pointer-events:auto;max-height:calc(100dvh - 110px);overflow-y:auto; }
 .ws-global-header .main-nav.open { display:block; }
 .ws-global-header .nav-list { flex-direction:column;align-items:stretch;gap:4px; }
 .ws-global-header .nav-list a { width:100%; }
}
@media(max-width:640px) { .ws-global-footer .footer-inner { grid-template-columns:1fr;gap:32px; } }
@media(prefers-reduced-motion:reduce) { .ws-global-header, .ws-global-header * { transition:none; } }

.ws-global-topbar, .ws-global-header, .ws-global-footer { font-family:Outfit,system-ui,sans-serif;font-size:16px;line-height:1.5; }
.ws-global-footer .footer-desc { margin:0 0 12px; }
.ws-global-footer .footer-chamber { margin:0; }
.ws-global-header .hamburger { left:11px; }

.ws-global-topbar, .ws-global-header, .ws-global-footer { font-family:Outfit,system-ui,sans-serif;font-size:16px;line-height:1.5; }
.ws-global-footer .footer-desc { margin:0 0 12px; }
.ws-global-footer .footer-chamber { margin:0; }
.ws-global-header .hamburger { left:11px; }
.ws-global-footer.site-footer { border:0; }
.ws-global-footer .footer-inner { padding-top:0;min-height:0;align-items:normal;justify-content:normal; }
.ws-global-footer .footer-bottom { padding-left:0;padding-right:0; }

/* Headings default to Blue 950 on light surfaces; dark/photo components own their inverse text. */
h1,h2,h3,h4,h5,h6 { color:var(--ws-text-heading); }
:is(h1,h2,h3,h4,h5,h6)>a { color:inherit; }
.ws-certified__title { color:var(--ws-text-heading); }
.pair-dark :is(h1,h2,h3,h4,h5,h6) { color:var(--ws-text-on-dark); }
#services .section-header .section-tag--script { color:var(--color-blue-500); margin-bottom:12px; }

/* Approved service starter and Electrical Test: soft homepage-inspired hero veil. */
.ws-service-layout { width:100%;max-width:none; }
.ws-service-layout > * { margin-block-start:0; }
:is(body.page-id-62:not(.page-id-94),.ws-service-layout) .is-style-west-service-background-hero > .wp-block-cover__image-background {
  position:absolute;inset:0 0 0 auto;width:82%;height:100%;max-height:none;object-fit:cover;
  object-position:0% 45% !important;transform:scaleX(-1);
  mask-image:linear-gradient(to left, transparent, #000 34%);
}
:is(body.page-id-62:not(.page-id-94),.ws-service-layout) .is-style-west-service-background-hero > .wp-block-cover__background {
  display:block;opacity:1;
  background:linear-gradient(90deg, rgba(9,53,84,.73) 0%, rgba(9,53,84,.58) 35%, rgba(9,53,84,.24) 70%, rgba(9,53,84,.07) 100%) !important;
}
@media(max-width:860px) {
  :is(body.page-id-62:not(.page-id-94),.ws-service-layout) .is-style-west-service-background-hero > .wp-block-cover__image-background {
    width:100%;mask-image:none;object-position:0% 45% !important;
  }
  :is(body.page-id-62:not(.page-id-94),.ws-service-layout) .is-style-west-service-background-hero > .wp-block-cover__background {
    background:linear-gradient(90deg, rgba(9,53,84,.75), rgba(9,53,84,.58)) !important;
  }
}

/* Editable Cover variant matching the Electrical page's background-photo hero. */
.wp-block-cover.is-style-west-service-background-hero {
  position:relative;isolation:isolate;min-height:0;
  padding:var(--ws-section-space) var(--ws-gutter);
  background:var(--ws-surface-photo);color:var(--ws-text-on-photo);
  overflow:hidden;
}
.is-style-west-service-background-hero > .wp-block-cover__image-background {
  position:absolute;inset:0 0 0 50%;width:50%;height:100%;
  max-width:none;object-fit:cover;object-position:center;border-radius:0;
}
.is-style-west-service-background-hero > .wp-block-cover__background {
  z-index:1;opacity:1;pointer-events:none;
}
.is-style-west-service-background-hero > .wp-block-cover__inner-container {
  position:relative;z-index:2;width:100%;max-width:1072px;margin:0 auto;
}
.is-style-west-service-background-hero .west-service-background-hero__copy {
  width:100%;max-width:var(--ws-hero-copy-measure);
}
/* All public subpage hero eyebrows share the HVAC reference: Caveat regular, 25px/1.4, gold. See docs/design-system.md. */
.is-style-west-service-background-hero .ws-eyebrow,
.electrical-hero .ws-eyebrow {
  margin:0;font:400 var(--ws-type-eyebrow-size)/var(--ws-type-eyebrow-leading) var(--ws-font-accent);
  color:var(--ws-eyebrow-gold);
}
.is-style-west-service-background-hero h1 {
  margin:var(--ws-space-4) 0 var(--ws-space-5);color:var(--ws-text-on-photo);
  font-size:var(--ws-type-hero-size);font-weight:var(--ws-type-hero-weight);
  line-height:var(--ws-type-hero-leading);letter-spacing:var(--ws-type-hero-tracking);
  overflow-wrap:break-word;
}
.is-style-west-service-background-hero .west-service-lead {
  max-width:510px;margin:0 0 var(--ws-space-7);color:var(--ws-text-on-photo-muted);
  font-size:var(--ws-type-hero-lead-size);font-weight:var(--ws-type-hero-lead-weight);
  line-height:var(--ws-type-hero-lead-leading);letter-spacing:var(--ws-type-hero-lead-tracking);
}
.is-style-west-service-background-hero .wp-block-buttons { margin:0; }
@media(max-width:860px) {
  .wp-block-cover.is-style-west-service-background-hero {
    flex-direction:column;align-items:stretch;padding:0;
  }
  .is-style-west-service-background-hero > .wp-block-cover__inner-container {
    order:0;padding:var(--ws-section-space) var(--ws-gutter);
  }
  .is-style-west-service-background-hero .west-service-background-hero__copy { max-width:100%; }
  .is-style-west-service-background-hero > .wp-block-cover__background { display:none; }
  .is-style-west-service-background-hero > .wp-block-cover__image-background {
    position:static;order:1;width:100%;height:min(56vw,336px);flex:none;
  }
}

/* Shared homepage copy measure, with individually directed subject crops. */
.electrical-hero .ws-hero__copy { width:100%;max-width:var(--ws-hero-copy-measure); }
.electrical-hero::before,
.is-style-west-service-background-hero > .wp-block-cover__background { opacity:.65; }
:is(.electrical-hero,.is-style-west-service-background-hero) h1 {
  text-shadow:0 2px 24px rgb(0 23 41 / 25%);
}
.electrical-hero .ws-hero__image { object-position:30% 45%; }
/* About: service-hero denim veil, with the full-team photograph kept natural. */
body.page-id-23 .is-style-west-service-background-hero > .wp-block-cover__image-background {
 position:absolute; inset:0 0 0 auto; width:82%; height:100%; max-height:none;
 object-fit:cover; object-position:center 50% !important;
 mask-image:linear-gradient(to right,transparent,#000 34%);
}
body.page-id-23 .is-style-west-service-background-hero > .wp-block-cover__background {
 display:block; opacity:1;
 background:linear-gradient(90deg,rgba(9,53,84,.73) 0%,rgba(9,53,84,.58) 35%,rgba(9,53,84,.24) 70%,rgba(9,53,84,.07) 100%) !important;
}
@media(max-width:860px) {
 body.page-id-23 .is-style-west-service-background-hero > .wp-block-cover__image-background {
  width:100%; height:100%; object-fit:cover; object-position:center 50% !important; mask-image:none;
 }
 body.page-id-23 .is-style-west-service-background-hero > .wp-block-cover__background {
  background:linear-gradient(90deg,rgba(9,53,84,.75),rgba(9,53,84,.58)) !important;
 }
}
@media(min-width:861px) {
 .page-id-23 .is-style-west-service-background-hero .west-service-lead { max-width:min(510px,calc(50vw - 48px)); }
}
@media(max-width:860px) {
 .electrical-hero .ws-hero__copy { max-width:100%; }
 .page-id-23 .is-style-west-service-background-hero > .wp-block-cover__image-background { object-fit:cover;object-position:center 60%; }
 .electrical-hero .ws-hero__image { object-position:35% 40%; }
}
/* === Approved reusable service-page layout (Electrical Test reference).
   See docs/electrical-test-plan.md for sources, section map, and pending Higgsfield art.
   Inherit the brand tokens; do not create a second typography or phone-pill system. === */
.et-section,.et-inner,.et-trust { max-width:1072px;margin:0 auto; }
.et-section { padding:var(--ws-section-space) 0; }
.et-band { padding:var(--ws-section-space) 24px; }
.et-section,.et-band,.et-trust { color:var(--ws-text-body); }
:is(.et-section,.et-band,.et-trust) h2 {
 color:var(--ws-text-heading);font:600 var(--ws-type-section-size)/1.2 var(--ws-font-main);
 letter-spacing:-.01em;margin:0 0 24px;max-width:820px;
}
:is(.et-section,.et-band,.et-trust) h3 { color:var(--ws-text-heading);font-size:25px;line-height:1.28;font-weight:600;margin:0 0 12px; }
:is(.et-section,.et-band,.et-trust) p { margin:0 0 20px;line-height:1.65; }
:is(.et-section,.et-band) .et-script { font:400 var(--ws-type-eyebrow-size)/var(--ws-type-eyebrow-leading) var(--ws-font-accent);color:var(--color-blue-500);margin:0 0 12px; }
.et-intro { max-width:720px;font-size:20px; }
:is(.et-section,.et-band,.et-trust) .wp-block-columns { gap:48px;margin:0;align-items:center; }
:is(.et-section,.et-band) .wp-block-buttons { margin:24px 0 0; }
.et-trust { padding:36px 0 48px;border-bottom:1px solid var(--ws-border-subtle); }
.et-trust .et-kicker { font-size:13px;letter-spacing:.1em;text-transform:uppercase;text-align:center;margin:0 0 32px;font-weight:600; }
.et-trust .wp-block-columns { align-items:flex-start;gap:36px; }
.et-trust .wp-block-column { text-align:center; }
.et-trust h3 { font-size:20px; }
.et-trust p { margin:0;font-size:16px; }
.et-trust .wp-block-image { margin:0 0 20px; }
.et-trust .wp-block-image img { width:56px;height:56px;object-fit:contain; }
/* One continuous warm-to-cream field behind the safety and crew sections. */
:is(.page-id-62,.ws-service-layout) .et-crew-gradient { padding-top:40px; background:linear-gradient(to bottom,var(--ws-surface-warm),var(--color-paper-100)); }
:is(.page-id-62,.ws-service-layout) .et-crew-gradient > .et-trust { margin-top:0; }
:is(.page-id-62,.ws-service-layout) .et-crew-gradient > .et-experts { margin-top:0; }
@media(max-width:781px) { :is(.page-id-62,.ws-service-layout) .et-crew-gradient { padding-top:24px; } }
/* Horizontal adaptation of the homepage Certified Safe panel. */
:is(.page-id-62,.ws-service-layout) .et-trust { margin-top:40px; padding:36px; background:transparent; border:0; border-radius:var(--ws-radius-card); }
:is(.page-id-62,.ws-service-layout) .et-trust .et-kicker { display:flex; align-items:center; justify-content:center; gap:20px; margin:0 0 28px; color:var(--color-paper-900); font-size:20px; line-height:1.4; letter-spacing:.08em; text-align:left; }
:is(.page-id-62,.ws-service-layout) .et-trust .et-kicker::before { content:''; flex:none; width:76px; height:76px; border-radius:50%; background:var(--color-red-500) url('assets/brand/assets/certified-shield.svg') center / 40px auto no-repeat; box-shadow:var(--ws-shadow-seal); }
:is(.page-id-62,.ws-service-layout) .et-trust .wp-block-columns { align-items:stretch; gap:12px; }
:is(.page-id-62,.ws-service-layout) .et-trust .wp-block-column { min-width:0; padding:20px; text-align:left; background:var(--ws-surface-warm-row); border:1px solid var(--color-amber-100); border-radius:var(--ws-radius-card); box-shadow:0 2px 4px rgba(151,102,8,.1); }
:is(.page-id-62,.ws-service-layout) .et-trust .wp-block-image { float:left; width:24px; height:28px; margin:0 12px 4px 0; background:url('assets/brand/assets/certified-shield.svg') center / contain no-repeat; filter:brightness(0) saturate(100%) invert(13%) sepia(96%) saturate(4978%) hue-rotate(347deg) brightness(87%); }
:is(.page-id-62,.ws-service-layout) .et-trust .wp-block-image img { visibility:hidden; width:24px; height:28px; }
:is(.page-id-62,.ws-service-layout) .et-trust h3 { margin:0 0 8px; padding-top:3px; font-size:17px; line-height:1.35; }
:is(.page-id-62,.ws-service-layout) .et-trust .wp-block-column p { clear:both; margin:0; font-size:15px; line-height:1.5; }
@media(max-width:781px) { :is(.page-id-62,.ws-service-layout) .et-trust { padding:28px 20px; margin-top:24px; } :is(.page-id-62,.ws-service-layout) .et-trust .et-kicker { font-size:16px; gap:14px; } :is(.page-id-62,.ws-service-layout) .et-trust .et-kicker::before { width:64px; height:64px; background-size:34px auto; } :is(.page-id-62,.ws-service-layout) .et-trust .wp-block-columns { gap:12px; } }
/* Reading paragraphs on light surfaces; preserve inverse copy and accent labels. */
body:not(.page-id-6):not(.page-id-7) main p:not(:where(.hero *, .ws-hero *, .is-style-west-service-hero *, .is-style-west-service-background-hero *, .service-card *, .emergency *, .ws-emergency *, .et-reputation *, .pair-dark *, .ws-about-care-copy *, .ws-eyebrow, .et-script, .section-tag, .ws-note, .hero-note, .certified-callout, .storefront-note, .review-stars, .review-source, .et-kicker)),
body:not(.page-id-6):not(.page-id-7) .ws-global-footer p,
body:not(.page-id-6):not(.page-id-7) .ws-final-estimate .ws-estimate__copy > p:not(.ws-eyebrow),
body.page-id-6 > .is-style-west-service-section p,
body:not(.page-id-6):not(.page-id-7) main .review-card .review-quote,
body:not(.page-id-6):not(.page-id-7) main .et-reputation .is-style-west-home-review .review-quote { color:var(--ws-text-body); }
.et-experts .wp-block-image { margin:0; }
.et-experts .wp-block-image img { width:100%;height:520px;object-fit:cover;object-position:center 30%;border-radius:var(--ws-radius-card); }
:is(.page-id-62,.ws-service-layout) .et-experts .wp-block-image { padding:14px 14px 0; background:var(--ws-surface-frame); border:1px solid var(--ws-border-subtle); box-shadow:var(--ws-shadow-print); transform:rotate(-2deg); }
:is(.page-id-62,.ws-service-layout) .et-experts .wp-block-image img { border-radius:0; }
:is(.page-id-62,.ws-service-layout) .et-experts .wp-block-image figcaption { margin:0; padding:16px 8px 20px; color:var(--ws-text-note); font:400 1.5rem/1.2 var(--ws-font-accent); text-align:center; }
.et-why { background:var(--ws-surface-card-muted); }
.et-reasons { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 48px;margin-top:40px; }
.is-style-west-test-item { border-top:1px solid var(--ws-border-subtle);padding:24px 0 0; }
:is(.page-id-62,.ws-service-layout) :is(.et-reasons,.et-steps,.et-service-grid) > .is-style-west-test-item { margin-block-start:0; }
.is-style-west-test-item p:last-child { margin-bottom:0; }
:is(.page-id-62,.ws-service-layout) .et-service-grid > .is-style-west-test-item { border-top:0; padding-top:0; }
:is(.page-id-62,.ws-service-layout) .et-service-grid .wp-block-image { margin:0 0 20px; }
:is(.page-id-62,.ws-service-layout) .et-service-grid .wp-block-image img { width:100%; aspect-ratio:1; object-fit:contain; }
:is(.page-id-62,.ws-service-layout) .et-reasons > .is-style-west-test-item { border-top:0; }
:is(.page-id-62,.ws-service-layout) .et-reasons > .is-style-west-test-item p { max-width:38ch; }
.et-steps { counter-reset:work;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin-top:40px; }
.et-steps>.is-style-west-test-item { counter-increment:work; }
.et-steps>.is-style-west-test-item::before { content:'0' counter(work);display:block;font:400 39px/1.3 var(--ws-font-accent);color:var(--color-blue-500);margin-bottom:16px; }
.et-steps h3 { font-size:22px; }
/* Full-width process split: copy follows the shared 1072px site measure. */
:is(.page-id-62,.ws-service-layout) .et-process { max-width:none; margin:0; padding:0; background:var(--color-paper-300); }
:is(.page-id-62,.ws-service-layout) .et-process > .wp-block-columns { gap:0; align-items:stretch; }
:is(.page-id-62,.ws-service-layout) .et-process .et-process-copy { padding:72px 48px 72px max(24px,calc((100vw - 1072px)/2)); }
:is(.page-id-62,.ws-service-layout) .et-process h2 { font-size:34px; }
:is(.page-id-62,.ws-service-layout) .et-process .et-intro { font-size:16px; }
:is(.page-id-62,.ws-service-layout) .et-process .et-steps { grid-template-columns:1fr; gap:24px; margin-top:32px; }
:is(.page-id-62,.ws-service-layout) .et-process .et-steps > .is-style-west-test-item { position:relative; border:0; padding:0 0 0 70px; }
:is(.page-id-62,.ws-service-layout) .et-process .et-steps > .is-style-west-test-item::before { position:absolute; inset:0 auto auto 0; width:48px; height:48px; display:flex; align-items:center; justify-content:center; border-radius:50%; margin:0; background:var(--color-blue-500); color:var(--color-paper-50); font:600 18px/1 var(--ws-font-main); }
:is(.page-id-62,.ws-service-layout) .et-process .et-steps h3 { font-size:19px; margin-bottom:6px; }
:is(.page-id-62,.ws-service-layout) .et-process .et-steps p { font-size:15px; line-height:1.55; }
:is(.page-id-62,.ws-service-layout) .et-process .et-process-photo { position:relative; min-width:0; }
:is(.page-id-62,.ws-service-layout) .et-process-photo .wp-block-image { position:absolute; inset:0; height:100%; margin:0; }
:is(.page-id-62,.ws-service-layout) .et-process-photo img { width:100%; height:100%; object-fit:cover; object-position:42% center; }
@media(max-width:781px) {
 :is(.page-id-62,.ws-service-layout) .et-process > .wp-block-columns { gap:0; }
 :is(.page-id-62,.ws-service-layout) .et-process .et-process-copy { padding:48px 24px; }
 :is(.page-id-62,.ws-service-layout) .et-process h2 { font-size:28px; }
 :is(.page-id-62,.ws-service-layout) .et-process .et-process-photo { min-height:360px; }
}
.et-reputation { background:var(--ws-surface-deep);color:var(--ws-text-on-dark); }
.et-reputation h2 { color:var(--ws-text-on-dark-strong); }
.et-reputation .et-script { color:var(--ws-eyebrow-gold); }
.et-reputation .et-rating { color:var(--ws-eyebrow-gold);font-size:16px; }
.et-review-track { display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 2px 24px;margin-top:32px;scrollbar-width:thin; }
.et-review-track>.is-style-west-test-review { flex:0 0 45%;margin:0;scroll-snap-align:start; }
.is-style-west-test-review { padding:28px;background:var(--ws-surface-card);color:var(--ws-text-body);border-radius:var(--ws-radius-card); }
.is-style-west-test-review h3 { font:400 28px/1.3 var(--ws-font-accent);color:var(--color-blue-500); }
.is-style-west-test-review .et-stars { color:var(--ws-text-warm);font-size:13px;letter-spacing:.04em; }
.is-style-west-test-review a { color:var(--ws-link);text-decoration:underline;text-underline-offset:3px;font-size:14px; }
.et-reputation>.et-inner>p:last-child a { color:var(--ws-text-on-dark);text-decoration:underline;text-underline-offset:4px; }
.et-review-controls.wp-block-buttons { display:none; }
.et-review-controls.is-ready { display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 24px; }
.et-review-controls .wp-element-button { background:var(--ws-surface-card);color:var(--ws-text-heading);border-radius:var(--ws-radius-card);padding:12px 18px;font-size:15px;cursor:pointer; }
.et-review-controls .wp-element-button:disabled { opacity:.5;cursor:default; }
.et-review-status { font-size:14px;margin-left:8px; }
.et-review-track:focus-visible,.et-review-controls .wp-element-button:focus-visible { outline:2px solid var(--ws-eyebrow-gold);outline-offset:4px; }
.et-service-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:40px 0 32px; }
.et-estimate { background:var(--ws-surface-card-muted);padding:40px;border-radius:var(--ws-radius-card); }
.et-estimate h2 { font-size:31px; }
.et-estimate .wp-block-image { margin:0; }
.et-estimate .wp-block-image img { width:100%;height:auto;border-radius:var(--ws-radius-card); }
.et-faq .wp-block-details { border-top:1px solid var(--ws-border-subtle);padding:24px 0;margin:0; }
.et-faq .wp-block-details:last-child { border-bottom:1px solid var(--ws-border-subtle); }
.et-faq summary { font-size:20px;font-weight:500;color:var(--ws-text-heading);cursor:pointer; }
.et-faq .wp-block-details p { max-width:760px;margin:20px 0 0; }
.et-faq a { text-decoration:underline;color:var(--ws-link); }
:is(.page-id-62,.ws-service-layout) .et-area {
 background-color:#F5F1EC;
 background-image:linear-gradient(90deg, #F5F1EC 0%, rgba(245,241,236,.94) 38%, rgba(245,241,236,.15) 75%), url('assets/brand/assets/dillon-regional-map.webp');
 background-size:cover, auto 120%;
 background-position:center, right center;
 background-repeat:no-repeat;
}
@media(max-width:781px) {
 :is(.page-id-62,.ws-service-layout) .et-area { background-image:linear-gradient(rgba(245,241,236,.88),rgba(245,241,236,.88)),url('assets/brand/assets/dillon-regional-map.webp'); background-size:cover; background-position:center; }
}
.et-area .et-map-note { font-size:13px;color:var(--ws-text-muted); }
@media(max-width:1120px) { .et-section,.et-trust { margin-left:24px;margin-right:24px; } }
@media(max-width:781px) {
 .et-section { padding-top:48px;padding-bottom:48px; }
 .et-band { padding-block:48px; }
 :is(.et-section,.et-band,.et-trust) .wp-block-columns { gap:32px; }
 .et-experts .wp-block-image { max-width:440px;margin-inline:auto; }
 .et-experts .wp-block-image img { height:auto;max-height:480px;object-fit:cover; }
 .et-reasons,.et-steps,.et-service-grid { grid-template-columns:1fr;gap:24px; }
 .et-trust { padding-top:32px; }
 .et-trust .wp-block-column { text-align:left; }
 .et-trust .wp-block-image { float:left;margin:0 20px 12px 0; }
 .et-review-track>.is-style-west-test-review { flex-basis:88%; }
 .et-estimate { padding:28px 24px; }
 .et-estimate h2 { font-size:28px; }
 .et-intro { font-size:18px; }
}
@media(prefers-reduced-motion:reduce) { .et-review-track { scroll-behavior:auto; } }

/* Native component adapters: homepage estimate, rating proof, and review ribbon. */
.is-style-west-home-estimate { position:relative;overflow:hidden;background-color:var(--ws-surface-page);background-image:linear-gradient(90deg,rgba(246,244,240,.96) 0%,rgba(246,244,240,.9) 26%,rgba(246,244,240,.62) 40%,rgba(246,244,240,.16) 54%,transparent 68%),url('assets/home/photos/rev2/estimate-truck.jpg');background-size:100% 100%,cover;background-position:center,center 46%;border:1px solid var(--ws-border-subtle);border-radius:4px;padding:48px 56px;min-height:420px;box-shadow:0 8px 28px rgba(9,53,84,.08); }
.is-style-west-home-estimate h2 { max-width:420px;font:600 31px/1.28 var(--ws-font-main);color:var(--ws-text-heading);margin:4px 0 16px; }
.is-style-west-home-estimate .ws-eyebrow { font:400 25px/1.4 var(--ws-font-accent);margin:0 0 4px;color:var(--color-blue-500); }
.is-style-west-home-estimate .estimate-copy { max-width:420px;font-size:16px;line-height:1.5;color:var(--ws-text-warm);margin:0 0 28px; }
.is-style-west-home-estimate .estimate-cta { gap:18px;margin:0; }
.is-style-west-home-estimate .wp-block-buttons,.is-style-west-home-estimate .ws-note { margin:0; }
.is-style-west-home-estimate .estimate-truck-frame { display:none; }
.et-reputation.et-band { padding-inline:0; }
.et-reputation .et-review-heading { max-width:1072px;margin:auto;padding:0 24px;text-align:center; }
.et-review-heading h2,.et-review-heading .et-intro { margin-inline:auto; }
.et-rating-row { margin:24px 0 36px; }
.et-rating-pill { gap:8px!important;height:35px;padding:0 14px 0 10px;border-radius:186px;background:rgba(0,23,41,.34);color:var(--ws-text-on-dark-strong); }
.et-rating-pill .wp-block-image { margin:0;line-height:0; }
.et-rating-pill .wp-block-image img { width:18px;height:18px; }
.et-rating-pill p { font-size:12px;letter-spacing:.03em;margin:0;white-space:nowrap; }
.et-rating-stars { gap:1px!important; }
.et-home-review-viewport { overflow:hidden;padding-left:max(24px,calc((100% - 1120px)/2 + 24px)); }
.et-home-review-track { display:flex;align-items:stretch;width:max-content;gap:20px;padding-right:20px; }
.et-home-review-track>.is-style-west-home-review { flex:0 0 344px;width:344px;margin:0;min-height:252px;padding:24px 32px;background:rgba(255,255,255,.97);border:1px solid var(--ws-border-subtle);border-radius:4px;box-shadow:0 8px 28px rgba(9,53,84,.08); }
.et-reputation .review-meta { display:flex;align-items:flex-start;justify-content:space-between;min-height:35px;margin:0 0 4px;gap:12px; }
.et-reputation .review-meta h3 { font:400 25px/1.4 var(--ws-font-accent);color:var(--ws-text-note);margin:0; }
.et-reputation .review-meta .wp-block-image { width:25px;margin:5px 0 0; }
.et-reputation .review-stars-image { margin:0 0 8px; }
.et-reputation .review-stars-image { gap:1px; }
.et-reputation .review-stars-image .wp-block-image { margin:0;line-height:0; }
.et-reputation .review-stars-image img { width:18px;height:18px;object-fit:contain; }
.et-rating-pill p a { color:inherit;text-decoration:none; }
.et-rating-pill p a:hover { text-decoration:underline; }
.et-reputation .review-quote { font-size:11.2px;line-height:1.75;color:var(--ws-text-quote);margin:0 0 12px; }
.et-reputation .review-source { font-size:11.2px;margin:0; }
.et-reputation .review-source a { color:var(--ws-link);text-decoration:underline; }
.et-review-write { margin:32px 24px 0!important; }
.is-style-west-primary-action .wp-element-button { background:var(--ws-primary-bg);color:var(--ws-primary-text);border-radius:var(--ws-radius-button,4px);padding:14px 24px;font:600 16px/1.5 var(--ws-font-main); }
.is-style-west-primary-action .wp-element-button:hover { background:var(--ws-primary-hover-bg); }
.is-style-west-primary-action .wp-element-button:focus-visible { outline:2px solid var(--ws-eyebrow-gold);outline-offset:4px; }
@keyframes et-home-review-drift { from { transform:translateX(-50%); } to { transform:translateX(0); } }
@media(prefers-reduced-motion:no-preference) { .et-home-review-track.is-ready { animation:et-home-review-drift 40s linear infinite; } .et-home-review-viewport:hover .et-home-review-track,.et-home-review-viewport:focus-within .et-home-review-track { animation-play-state:paused; } }
@media(prefers-reduced-motion:reduce) { .et-home-review-viewport { overflow:auto; } }
@media(max-width:860px) {
 .is-style-west-home-estimate { padding:36px 24px 0;min-height:0;background-image:none; }
 .is-style-west-home-estimate h2,.is-style-west-home-estimate .estimate-copy { max-width:none; }
 .is-style-west-home-estimate .estimate-truck-frame { display:block;position:relative;overflow:hidden;margin:28px -24px 0;aspect-ratio:560/320;mask-image:linear-gradient(to bottom,transparent,#000 14%); }
 .is-style-west-home-estimate .estimate-truck-frame img { position:absolute;width:182.857%;max-width:none;height:auto;left:-53.571%;top:-65.625%; }
}

/* Editable photo prints bridge the crew story and the warm reasons-to-call band. */
:is(.page-id-62,.ws-service-layout) .et-photo-divider { position:relative; height:0; z-index:2; }
:is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print { position:absolute; left:calc(100% - 197px); width:210px; margin:0; padding:12px 12px 0; background:var(--ws-surface-frame); border:1px solid var(--ws-border-subtle); box-shadow:var(--ws-shadow-print); }
:is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print img { display:block; width:100%; height:185px; object-fit:cover; }
:is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print figcaption { min-height:58px; margin:0; padding:12px 4px; color:var(--ws-text-note); font:400 1.2rem/1.2 var(--ws-font-accent); text-align:center; }
:is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print-back { z-index:1; transform:translateX(-42%) rotate(7deg); top:-42px; }
:is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print-right { z-index:2; transform:translateX(-20%) rotate(9deg); top:-14px; }
:is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print-front { z-index:3; transform:translateX(-74%) rotate(-7deg); top:-12px; }
@media(min-width:861px) {
 :is(.page-id-62,.ws-service-layout) .et-why h2,:is(.page-id-62,.ws-service-layout) .et-why .et-intro { max-width:calc(100% - 380px); }
}
@media(max-width:860px) {
 :is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print { left:calc(100% - 72px); width:72px; padding:4px 4px 0; }
 :is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print img { height:62px; }
 :is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print figcaption { min-height:25px; padding:4px 1px; font-size:0.5rem; line-height:1.05; }
 :is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print-back { top:-36px; }
 :is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print-right { top:-27px; }
 :is(.page-id-62,.ws-service-layout) .et-photo-divider .et-print-front { top:-25px; }
}

/* Crew introductions: service-color split panels and overlapping named prints. */
.is-style-west-crew-panel { --crew-color:var(--color-blue-500); --crew-ink:var(--color-paper-50); background:var(--color-paper-500); max-width:1072px; width:calc(100% - 48px); margin:0 auto; padding:0 0 64px; }
.crew-electrical { --crew-color:var(--color-amber-500); --crew-ink:var(--color-blue-950); }
.crew-hvac { --crew-color:var(--color-red-500); }
.crew-wells { --crew-color:var(--color-amber-800); }
.is-style-west-crew-panel .crew-split { gap:0; margin:0; align-items:stretch; background:var(--crew-color); }
.is-style-west-crew-panel .crew-split > .wp-block-column { flex-basis:50%; margin:0; min-width:0; }
.is-style-west-crew-panel .crew-copy { position:relative; isolation:isolate; height:100%; box-sizing:border-box; padding:64px 48px 120px; overflow:hidden; }
.is-style-west-crew-panel .crew-copy::before { content:""; position:absolute; z-index:-1; inset:12% 6% 22% 40%; background:center / contain no-repeat var(--crew-icon); opacity:.08; pointer-events:none; }
.crew-office { --crew-color:var(--color-paper-600); --crew-ink:var(--color-paper-900); }
.west-services-site .is-style-west-crew-panel.crew-office .crew-copy h2 { color:var(--color-blue-950); }
@media(min-width:782px) {
 .is-style-west-crew-panel.crew-office .crew-copy { z-index:1; }
 .is-style-west-crew-panel.crew-office .crew-group-photo { width:140%; margin-left:-40%; }
 .is-style-west-crew-panel.crew-office .crew-group-photo::after { background:linear-gradient(90deg,var(--crew-color),transparent 60%); }
}
.is-style-west-crew-panel.crew-office .crew-copy::before { background:var(--crew-ink); mask:url('assets/brand/assets/logo-black.svg') center / contain no-repeat; }
.is-style-west-crew-panel.crew-office .crew-copy p + p { margin-top:16px; }
.crew-electrical { --crew-icon:url('assets/brand/crew-icons/electrical.svg'); }
.crew-plumbing { --crew-icon:url('assets/brand/crew-icons/plumbing.svg'); }
.crew-hvac { --crew-icon:url('assets/brand/crew-icons/hvac.svg'); }
.crew-wells { --crew-icon:url('assets/brand/crew-icons/wells.svg'); }
.west-services-site .is-style-west-crew-panel .crew-copy h2,.west-services-site .is-style-west-crew-panel .crew-copy p { color:var(--crew-ink); text-align:left; position:relative; }
.is-style-west-crew-panel .crew-copy h2 { font-size:clamp(28px,3vw,38px); line-height:1.14; letter-spacing:-.025em; max-width:22ch; margin:0 0 20px; }
.is-style-west-crew-panel .crew-copy p { font-size:17px; line-height:1.65; max-width:42ch; margin:0; }
.is-style-west-crew-panel .crew-group-photo { position:relative; height:100%; min-height:350px; overflow:hidden; margin:0; background:var(--crew-color); }
.is-style-west-crew-panel .crew-group-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,var(--crew-color),transparent 48%); pointer-events:none; }
.is-style-west-crew-panel .crew-group-photo img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; border-radius:0; }
.is-style-west-crew-panel .crew-polaroids { position:relative; z-index:2; display:flex; flex-wrap:wrap; justify-content:center; gap:24px; max-width:816px; margin:-70px auto 0; padding:0 24px; }
.is-style-west-crew-polaroid { flex:0 0 calc((100% - 72px)/4); min-width:0; max-width:174px; box-sizing:border-box; background:var(--color-paper-50); padding:13px 13px 9px; margin:0; transform:rotate(-5deg); box-shadow:0 4px 10px rgb(0 0 0 / .10); transition:transform 220ms ease, box-shadow 220ms ease; }
.is-style-west-crew-polaroid:nth-child(even) { transform:rotate(3deg); }
.is-style-west-crew-polaroid:nth-child(3n) { transform:rotate(-2deg); }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .is-style-west-crew-polaroid:hover { position:relative; z-index:3; transform:translateY(-6px) rotate(1deg); box-shadow:0 10px 18px rgb(0 0 0 / .16); }
}
@media (prefers-reduced-motion:reduce) { .is-style-west-crew-polaroid { transition:none; } }
.is-style-west-crew-polaroid img { display:block; width:100%; aspect-ratio:1; object-fit:cover; object-position:center 25%; border-radius:0; }
.is-style-west-crew-polaroid figcaption { font-family:var(--ws-font-accent); font-size:20px; line-height:1.3; text-align:center; color:var(--color-paper-900); margin:12px 0 3px; }
@media(max-width:781px) {
 .is-style-west-crew-panel .crew-copy { padding:40px 24px; }
 .is-style-west-crew-panel .crew-split { gap:0; }
 .is-style-west-crew-panel .crew-group-photo { height:auto; min-height:0; aspect-ratio:3 / 2; }
 .is-style-west-crew-panel .crew-polaroids { gap:20px; margin-top:-82px; }
 .is-style-west-crew-polaroid { flex:0 1 calc(50% - 12px); max-width:174px; padding:10px; }
 .is-style-west-crew-panel { padding-bottom:48px; }
}

/* HVAC hero framing and plumbing process photo crop. */
body .ws-service-layout.ws-service-hvac .is-style-west-service-background-hero > .wp-block-cover__image-background {
 transform:none; object-position:70% 45% !important;
 mask-image:linear-gradient(to right,transparent,#000 34%);
}
.ws-service-layout.ws-service-plumbing .et-process-photo img { object-position:left center; }
@media(max-width:860px) {
 body .ws-service-layout.ws-service-hvac .is-style-west-service-background-hero > .wp-block-cover__image-background {
  mask-image:none; object-position:70% 45% !important;
 }
}

/* Approved desktop estimate: shared chrome and native editable block variation. */
@media(min-width:861px) {
 .ws-estimate .ws-estimate__media,
 .is-style-west-home-estimate .estimate-truck-frame {
  left:36%; right:0; width:64%;
  mask-image:linear-gradient(to right,transparent,#000 30%);
 }
 .ws-estimate .ws-estimate__image {
  object-position:left bottom;
 }
 .is-style-west-home-estimate {
  isolation:isolate; background-image:none;
 }
 .is-style-west-home-estimate .estimate-truck-frame {
  display:block; position:absolute; top:0; bottom:0;
  height:100%; margin:0; z-index:-2; overflow:hidden;
 }
 .is-style-west-home-estimate .estimate-truck-frame img {
  display:block; position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover; object-position:left bottom;
 }
 .is-style-west-home-estimate::before {
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(90deg,var(--ws-surface-page) 0%,var(--ws-overlay-estimate-copy) 42%,rgba(246,244,240,.75) 49%,rgba(246,244,240,.16) 58%,transparent 68%);
 }
}

/* Small screens retain the complete photograph instead of cropping subjects vertically. */
@media(max-width:860px) {
 .electrical-hero .ws-hero__image,
 .is-style-west-service-background-hero > .wp-block-cover__image-background {
   height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;
 }
}

/* About Us testimonial band and community photo strip. */
.ws-about-community-band {
  background: var(--ws-surface-deep);
  color: var(--ws-text-on-dark);
}
.ws-about-community-band .ws-about-care {
  padding-bottom: 36px;
}
.ws-about-community-band .ws-about-care h2,
.ws-about-community-band .ws-community-heading h2 {
  color: var(--ws-text-on-dark-strong);
}
.ws-about-care-copy {
  color: var(--ws-text-on-dark);
}
.ws-about-care-copy p:last-child {
  margin-bottom: 0;
}
.ws-about-care .wp-block-columns {
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
}
.ws-about-care .wp-block-column {
  min-width: 0;
}
.ws-about-care .ws-review-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  font: 400 25px/1.4 var(--ws-font-accent);
  color: var(--ws-text-note);
}
.ws-about-care .ws-review-card h3::after {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  background: url('assets/brand/assets/review-g.svg') center / contain no-repeat;
}
.ws-about-care .ws-review-card .review-stars {
  margin: 2px 0 10px;
  color: var(--color-amber-700);
}
.ws-about-care .ws-review-card blockquote {
  padding: 0;
  border: 0;
  margin: 0 0 12px;
}
.ws-about-care .ws-review-card blockquote p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.ws-about-care .ws-about-review-source {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.ws-community-photos {
  padding-bottom: 56px;
}
.ws-community-heading {
  box-sizing: border-box;
  max-width: 1120px;
  margin: 0 auto 14px;
  padding-inline: 24px;
}
.ws-community-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.14;
}
.ws-community-viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 4px max(24px, calc((100% - 1072px) / 2)) 20px;
  scrollbar-width: none;
}
.ws-community-viewport::-webkit-scrollbar {
  display: none;
}
.ws-community-viewport:focus-visible {
  outline: 2px solid var(--color-blue-200);
  outline-offset: -2px;
}
.ws-community-track {
  position: relative;
  display: flex;
  gap: 16px;
  width: max-content;
}
.ws-community-track > .wp-block-image {
  box-sizing: border-box;
  width: clamp(240px, 34vw, 420px);
  max-width: calc(100vw - 48px);
  aspect-ratio: 4 / 3;
  margin: 0;
  border: 8px solid var(--color-paper-50);
  border-radius: var(--ws-radius-card);
  box-shadow: var(--ws-shadow-print);
  overflow: hidden;
}
.ws-community-track > .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ws-community-track .wp-image-173 {
  object-position: center 32%;
}
@media (max-width: 860px) {
  .ws-about-community-band .ws-about-care {
    padding-bottom: 30px;
  }
  .ws-about-care .wp-block-columns {
    flex-direction: column;
    align-items: stretch;
  }
  .ws-community-photos {
    padding-bottom: 36px;
  }
  .ws-community-track > .wp-block-image {
    width: min(420px, 74vw);
  }
}

/* About Us uses the service rating pill above an on-demand review carousel. */
.ws-about-care .et-rating-row {
  margin: 0 0 18px;
}
body:not(.page-id-6):not(.page-id-7) main .ws-about-care .et-rating-pill p {
  color: var(--ws-text-on-dark-strong);
}
.ws-about-care .et-rating-pill a {
  color: inherit;
}
.ws-about-care .et-rating-pill a:focus-visible {
  outline: 2px solid var(--ws-eyebrow-gold);
  outline-offset: 3px;
}
.ws-about-review-slides > .ws-review-card:not(:first-child) {
  display: none;
}
.ws-about-reviews.is-ready .ws-about-review-slides {
  --review-peek: 16%;
  --review-gap: 10px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
}
.ws-about-reviews.is-ready .ws-about-review-slides > .ws-review-card {
  display: flex;
  grid-area: 1 / 1;
  min-width: 0;
  margin: 0 var(--review-peek);
  visibility: hidden;
}
.ws-about-reviews.is-ready .ws-about-review-slides > :is(.is-current, .is-previous, .is-next) {
  visibility: visible;
}
.ws-about-review-slides > .is-previous {
  transform: translateX(calc(-100% - var(--review-gap)));
}
.ws-about-review-slides > .is-next {
  transform: translateX(calc(100% + var(--review-gap)));
}
.ws-about-review-slides > .is-current {
  z-index: 1;
}
.ws-about-review-slides .ws-about-review-source {
  margin-top: auto;
}
.ws-about-reviews.is-ready .ws-about-review-slides::before,
.ws-about-reviews.is-ready .ws-about-review-slides::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset-block: 0;
  width: calc(var(--review-peek) - var(--review-gap));
  pointer-events: none;
}
.ws-about-reviews.is-ready .ws-about-review-slides::before {
  left: 0;
  background: linear-gradient(to right, var(--ws-surface-deep) 50%, transparent);
}
.ws-about-reviews.is-ready .ws-about-review-slides::after {
  right: 0;
  background: linear-gradient(to left, var(--ws-surface-deep) 50%, transparent);
}
.ws-about-reviews .ws-about-review-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.ws-about-review-arrows button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-blue-200);
  border-radius: 50%;
  background: transparent;
  color: var(--ws-text-on-dark-strong);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}
.ws-about-review-arrows button:hover {
  background: var(--color-blue-700);
}
.ws-about-review-arrows button:focus-visible {
  outline: 2px solid var(--ws-eyebrow-gold);
  outline-offset: 3px;
}
@media (max-width: 520px) {
  .ws-about-reviews.is-ready .ws-about-review-slides {
    --review-peek: 12%;
    --review-gap: 6px;
  }
  .ws-about-review-slides > .ws-review-card {
    padding: 16px;
  }
}

/* Keep the person in frame in the plumbing parts-counter Polaroid. */
.ws-service-plumbing .et-photo-divider .et-print-front img.wp-image-155 { object-position: left center; }

/* Keep all six crew members in the Electrical Services Polaroid. */
.page-id-5 .et-experts .wp-block-image img.wp-image-105 { height: auto; max-height: none; }
