.service-page { background: var(--paper); }
.service-page-hero { position: relative; isolation: isolate; display: block; min-height: clamp(548px, 39vw, 680px); overflow: hidden; background: var(--forest-3); contain: paint; }
.service-page-hero::before { content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; left: 0; width: 57%; background: linear-gradient(180deg, #f2b33b 0%, var(--amber) 48%, #cc8617 100%); -webkit-clip-path: polygon(78.7% 0, 79.35% 0, 100% 100%, 99.35% 100%); clip-path: polygon(78.7% 0, 79.35% 0, 100% 100%, 99.35% 100%); pointer-events: none; backface-visibility: hidden; }
.service-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; width: 57%; min-height: inherit; padding: clamp(42px, 5.7vw, 88px) clamp(42px, 4.8vw, 86px) clamp(42px, 5.2vw, 82px) clamp(30px, 5.9vw, 110px); background: linear-gradient(125deg, var(--forest-3) 0%, #043229 100%); -webkit-clip-path: polygon(0 0, 79% 0, 100% 100%, 0 100%); clip-path: polygon(0 0, 79% 0, 100% 100%, 0 100%); color: var(--paper); backface-visibility: hidden; }
.service-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .02em; }
.service-breadcrumbs a { transition: color .2s ease; }
.service-breadcrumbs a:hover, .service-breadcrumbs a:focus-visible { color: var(--amber); }
.service-breadcrumbs span:last-child { color: rgba(255,255,255,.86); }
.service-hero-copy .eyebrow { margin-bottom: 15px; }
.service-hero-copy h1 { max-width: 790px; margin: 0; color: var(--paper); font-size: clamp(36px, 3.55vw, 60px); font-weight: 800; line-height: 1.01; letter-spacing: -.055em; text-transform: uppercase; }
.service-hero-copy h1 span { display: block; color: var(--amber); }
.service-hero-copy > p:not(.eyebrow) { max-width: 590px; margin: 21px 0 27px; color: rgba(255,255,255,.82); font-size: clamp(13px, .84vw, 16px); line-height: 1.6; }
.service-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.service-hero-actions .button { min-height: 52px; }
.service-hero-proof { display: flex; flex-wrap: wrap; gap: 16px 23px; margin-top: 32px; }
.service-hero-proof span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 700; }
.service-hero-proof span::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--amber); border-radius: 50%; color: var(--amber); font-size: 12px; }
.service-hero-media { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; min-height: 0; overflow: hidden; background: #d9e0dc; }
.service-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,29,24,.28), transparent 22%, transparent 78%, rgba(2,29,24,.13)), linear-gradient(0deg, rgba(2,29,24,.2), transparent 37%); pointer-events: none; }
.service-hero-media img { position: absolute; top: 0; right: 0; width: 68%; height: 100%; object-fit: cover; object-position: center 50%; animation: serviceHeroImageIn 1.2s var(--ease) both; }
.service-hero-badge { position: absolute; right: clamp(20px, 3.2vw, 55px); bottom: clamp(20px, 3vw, 48px); z-index: 1; max-width: 220px; padding: 17px 19px; border-left: 2px solid var(--amber); background: rgba(2,29,24,.82); color: var(--paper); box-shadow: 0 16px 35px rgba(2,29,24,.22); backdrop-filter: blur(8px); }
.service-hero-badge strong, .service-hero-badge small { display: block; }
.service-hero-badge strong { color: var(--amber); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.service-hero-badge small { margin-top: 5px; color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.45; }
.service-intro { padding: clamp(76px, 8vw, 118px) 0; background: linear-gradient(180deg, #fff 0%, #fbfcfa 100%); }
.service-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr); align-items: center; gap: clamp(48px, 7vw, 112px); }
.service-intro-copy h2, .service-section-heading h2, .service-process-copy h2, .service-bottom-copy h2 { max-width: 650px; margin: 0; color: var(--ink); font-size: clamp(29px, 3vw, 48px); font-weight: 800; line-height: 1.07; letter-spacing: -.045em; text-transform: uppercase; }
.service-intro-copy > p:not(.eyebrow) { max-width: 650px; margin: 23px 0 32px; color: #4f5d57; font-size: 15px; line-height: 1.75; }
.service-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 23px; max-width: 650px; }
.service-check { display: flex; align-items: flex-start; gap: 11px; color: var(--ink); font-size: 12px; font-weight: 800; line-height: 1.35; }
.service-check svg { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: var(--amber-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-image-card { position: relative; margin: 0; padding: 0 0 17px 17px; }
.service-image-card::before { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 68%; border: 1px solid rgba(229,162,42,.58); pointer-events: none; }
.service-image-card img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 1.28 / 1; object-fit: cover; object-position: 58% center; box-shadow: 0 22px 45px rgba(4,33,26,.14); }
.service-image-card figcaption { position: absolute; right: 17px; bottom: 30px; z-index: 2; padding: 10px 14px; background: var(--forest); color: var(--paper); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-offerings { padding: clamp(74px, 7vw, 104px) 0 clamp(78px, 7.5vw, 112px); background: var(--soft); }
.service-section-heading { max-width: 760px; margin: 0 auto 49px; text-align: center; }
.service-section-heading .eyebrow { color: var(--amber-dark); }
.service-section-heading h2 { margin-inline: auto; }
.service-section-heading > p:not(.eyebrow) { max-width: 580px; margin: 18px auto 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.service-offerings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-offering-card { position: relative; min-height: 270px; padding: 31px 30px 29px; border: 1px solid #dfe6e1; background: var(--paper); box-shadow: 0 8px 24px rgba(4,33,26,.035); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.service-offering-card::after { content: ""; position: absolute; right: 30px; bottom: 0; left: 30px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.service-offering-card:hover, .service-offering-card:focus-within { border-color: rgba(229,162,42,.45); box-shadow: 0 18px 35px rgba(4,33,26,.09); transform: translateY(-5px); }
.service-offering-card:hover::after, .service-offering-card:focus-within::after { transform: scaleX(1); }
.service-offering-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 23px; border: 1px solid rgba(229,162,42,.32); border-radius: 50%; background: #fff9ed; color: var(--amber-dark); }
.service-offering-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.service-offering-card h3 { margin: 0 0 11px; color: var(--ink); font-size: 18px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.service-offering-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-process { position: relative; overflow: hidden; padding: clamp(76px, 7vw, 108px) 0; background: linear-gradient(125deg, var(--forest-3), var(--forest-2)); color: var(--paper); }
.service-process::after { content: ""; position: absolute; right: -130px; bottom: -210px; width: 470px; height: 470px; border: 1px solid rgba(229,162,42,.13); border-radius: 50%; box-shadow: 0 0 0 26px rgba(229,162,42,.035), 0 0 0 52px rgba(229,162,42,.02); pointer-events: none; }
.service-process-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(48px, 8vw, 128px); }
.service-process-copy h2 { color: var(--paper); }
.service-process-copy > p:not(.eyebrow) { max-width: 480px; margin: 22px 0 0; color: rgba(255,255,255,.77); font-size: 14px; line-height: 1.75; }
.service-process-copy .eyebrow { margin-bottom: 14px; }
.service-process-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-process-step { min-height: 170px; padding: 25px 24px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.045); transition: background .25s ease, border-color .25s ease, transform .25s var(--ease); }
.service-process-step:hover, .service-process-step:focus-within { border-color: rgba(229,162,42,.63); background: rgba(229,162,42,.08); transform: translateY(-3px); }
.service-process-step strong { display: flex; align-items: center; gap: 12px; color: var(--paper); font-size: 14px; text-transform: uppercase; }
.service-process-step strong::before { content: attr(data-step); display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--amber); border-radius: 50%; color: var(--amber); font-size: 11px; }
.service-process-step p { margin: 17px 0 0 42px; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.6; }
.service-bottom-cta { display: grid; grid-template-columns: 52% 48%; min-height: 380px; background: linear-gradient(135deg, #fbfcfa, #eef3ef); }
.service-bottom-copy { display: flex; flex-direction: column; justify-content: center; padding: 72px max(32px, calc((100vw - var(--container)) / 2)); padding-right: clamp(55px, 8vw, 135px); }
.service-bottom-copy > p:not(.eyebrow) { max-width: 520px; margin: 19px 0 27px; color: #4f5d57; font-size: 14px; line-height: 1.7; }
.service-bottom-copy .button { align-self: flex-start; }
.service-bottom-media { min-height: 380px; overflow: hidden; }
.service-bottom-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease); }
.service-bottom-cta:hover .service-bottom-media img { transform: scale(1.04); }

/* Spray page image treatment: keep both visual assets present on desktop while
   preserving the shared diagonal service-page composition. */
.service-page--spray .service-hero-media {
  background: #dce4df url("assets/project-spray.png") center / cover no-repeat;
}
.service-page--spray .service-hero-media img {
  display: block;
  width: 72%;
  max-width: none;
  object-position: 61% center;
}
.service-page--spray .service-hero-copy > p:not(.eyebrow) {
  max-width: 500px;
}
.service-page--spray .service-bottom-cta {
  grid-template-columns: 50% 50%;
  min-height: clamp(380px, 27vw, 470px);
}
.service-page--spray .service-bottom-media {
  position: relative;
  min-height: clamp(380px, 27vw, 470px);
  background: #e9e2d8 url("assets/cta-spray-gun.png") center / cover no-repeat;
}
.service-page--spray .service-bottom-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(238,243,239,.08), transparent 34%), linear-gradient(0deg, rgba(4,33,26,.08), transparent 42%);
}
.service-page--spray .service-bottom-media img {
  display: block;
  object-position: 64% center;
}

.service-page--premium .service-hero-media {
  background: #e4ddd2 url("assets/about-interior.png") center / cover no-repeat;
}
.service-page--premium .service-hero-media img {
  display: block;
  width: 72%;
  max-width: none;
  object-position: 78% center;
}
.service-page--premium .service-hero-copy > p:not(.eyebrow) {
  max-width: 500px;
}
.service-page--premium .service-bottom-media {
  background: #e9e2d8 url("assets/about-exterior.png") center / cover no-repeat;
}
.service-page--premium .service-bottom-media img {
  display: block;
  object-position: 64% center;
}
.service-page--premium .service-image-card img {
  object-position: 65% center;
}

@media (min-width: 821px) {
  .service-page--residential .service-hero-copy > * { transform: translateX(clamp(0px, 2.5vw, 54px)); }
  .service-page--residential .service-hero-copy h1 { font-size: clamp(36px, 3.85vw, 64px); letter-spacing: -.045em; }
}

@keyframes serviceHeroImageIn {
  from { opacity: 0; transform: scale(1.06) translateX(2%); }
  to { opacity: 1; transform: scale(1) translateX(0); }
}

@media (max-width: 1120px) {
  .service-page-hero::before { width: 55%; }
  .service-hero-copy { width: 55%; padding-left: 5vw; padding-right: 6vw; clip-path: polygon(0 0, 79% 0, 100% 100%, 0 100%); }
  .service-hero-copy h1 { max-width: 560px; font-size: clamp(35px, 3.9vw, 54px); }
  .service-intro-grid { gap: 48px; }
  .service-process-inner { gap: 52px; }
}

@media (max-width: 820px) {
  .service-page-hero { display: flex; flex-direction: column-reverse; }
  .service-page-hero::before { display: none; }
  .service-hero-copy { width: 100%; min-height: 560px; padding: 55px max(22px, calc((100vw - var(--container)) / 2)) 58px; clip-path: none; }
  .service-hero-media { position: relative; inset: auto; width: 100%; min-height: 440px; height: 440px; }
  .service-hero-media img { width: 100%; height: 100%; }
  .service-intro-grid, .service-process-inner { grid-template-columns: 1fr; }
  .service-intro-grid { gap: 55px; }
  .service-image-card { max-width: 620px; }
  .service-process-inner { gap: 46px; }
  .service-process-copy > p:not(.eyebrow) { max-width: 620px; }
  .service-bottom-cta { grid-template-columns: 1fr; }
  .service-bottom-copy { min-height: 360px; padding: 58px max(22px, calc((100vw - var(--container)) / 2)); }
  .service-bottom-media { height: 330px; min-height: 330px; }
  .service-page--spray .service-hero-media img { width: 100%; object-position: 58% center; }
  .service-page--spray .service-bottom-cta { grid-template-columns: 1fr; min-height: 0; }
  .service-page--spray .service-bottom-media { min-height: 330px; }
  .service-page--premium .service-hero-media img { width: 100%; object-position: 72% center; }
}

@media (max-width: 560px) {
  .service-hero-copy { min-height: 510px; padding-top: 43px; padding-bottom: 48px; }
  .service-breadcrumbs { margin-bottom: 30px; font-size: 10px; }
  .service-hero-copy h1 { font-size: clamp(34px, 10.5vw, 48px); }
  .service-hero-copy > p:not(.eyebrow) { margin-block: 20px 24px; font-size: 13px; }
  .service-hero-actions { display: grid; grid-template-columns: 1fr; }
  .service-hero-actions .button { width: 100%; }
  .service-hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; margin-top: 31px; }
  .service-hero-proof span { font-size: 10px; }
  .service-hero-media { min-height: 300px; height: 300px; }
  .service-hero-badge { right: 16px; bottom: 16px; padding: 13px 14px; }
  .service-hero-badge strong { font-size: 10px; }
  .service-hero-badge small { font-size: 9px; }
  .service-intro { padding-block: 62px; }
  .service-intro-copy h2, .service-section-heading h2, .service-process-copy h2, .service-bottom-copy h2 { font-size: 28px; }
  .service-intro-copy > p:not(.eyebrow) { margin-block: 18px 25px; font-size: 13px; }
  .service-check-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-image-card { padding-left: 10px; padding-bottom: 10px; }
  .service-image-card figcaption { right: 10px; bottom: 21px; font-size: 9px; }
  .service-offerings { padding-block: 62px 70px; }
  .service-section-heading { margin-bottom: 34px; }
  .service-section-heading > p:not(.eyebrow) { font-size: 13px; }
  .service-offerings-grid { grid-template-columns: 1fr; gap: 13px; }
  .service-offering-card { min-height: 0; padding: 25px 23px 26px; }
  .service-process { padding-block: 64px 70px; }
  .service-process-steps { grid-template-columns: 1fr; gap: 12px; }
  .service-process-step { min-height: 0; padding: 21px 19px; }
  .service-process-step p { margin-top: 13px; margin-left: 42px; }
  .service-bottom-copy { min-height: 0; padding-block: 50px; }
  .service-bottom-copy > p:not(.eyebrow) { font-size: 13px; }
  .service-bottom-media { height: 240px; min-height: 240px; }
  .service-page--spray .service-bottom-media { min-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-hero-media img { animation: none; }
  .service-offering-card, .service-process-step, .service-bottom-media img { transition: none; }
}
