/* v1.1 — Photography for the two sides of clean. */
.photo-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fffdf7;
  background: var(--ink-deep);
}
.photo-hero-background { position: absolute; inset: 0; z-index: -1; }
.photo-hero-background img { width: 100%; height: 100%; object-fit: cover; object-position: center 59%; }
.photo-hero-background::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19,34,26,.96) 0%, rgba(22,36,28,.89) 27%, rgba(23,35,27,.53) 49%, rgba(20,32,25,.09) 74%), linear-gradient(0deg, rgba(19,31,24,.63), transparent 38%);
}
.photo-hero-content { position: relative; min-height: 650px; display: flex; align-items: center; padding-block: 75px 120px; }
.photo-hero-copy { width: min(600px, 55%); }
.photo-hero-copy .eyebrow { color: #e3c795; margin-bottom: 25px; }
.photo-hero-copy h1 { font-size: clamp(44px, 4.9vw, 72px); line-height: 1.1; letter-spacing: -.055em; }
.photo-hero-copy h1>span:last-child { color: #e5c58b; }
.photo-hero-copy .lead { color: #e1e6df; max-width: 465px; margin-top: 27px; font-size: 16px; line-height: 1.85; }
.photo-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 27px; margin-top: 31px; }
.photo-hero-actions .text-link { color: #fffdf7; font-size: 13px; }
.photo-hero-actions .text-link:hover { color: var(--gold-light); }
.photo-hero .button-gold { background: #dfc18b; }
.photo-hero .button-gold:hover { background: #eed6ab; }
.photo-hero-note { display: flex; align-items: center; gap: 8px; margin-top: 27px; font-size: 11px; color: #d4ddd3; }
.photo-hero-note .icon { width: 15px; height: 15px; color: #e5c58b; }
.photo-hero-bottom { position: absolute; bottom: 28px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.photo-hero-services { display: flex; align-items: center; gap: 25px; }
.photo-hero-services a { display: flex; flex-direction: row-reverse; align-items: center; gap: 10px; font-size: 12px; min-height: 44px; }
.photo-hero-services a:hover { color: #e5c58b; }
.photo-hero-services>span { width: 1px; height: 21px; background: rgba(238,230,211,.35); }
.photo-hero-services .icon { width: 19px; height: 19px; color: #e5c58b; }
.photo-hero-disclosure { font-size: 10px; color: #f2f3ec; padding: 5px 9px; background: rgba(18,30,23,.62); border-radius: 4px; }
.photo-hero :focus-visible { outline-color: #f4dcae; }

/* All service imagery keeps an explicit, bilingual provenance label. */
.service-visual-photo { position: relative; overflow: hidden; background: #d7ddd1; }
.service-visual-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.service-visual-photo .image-disclosure, .service-card-photo .image-disclosure { font-size: 10px; right: 10px; bottom: 10px; padding: 4px 8px; }
.photo-family { overflow: hidden; }
.family-visual { height: 245px; margin: -36px -36px 30px; }
.family-visual img { object-position: center 60%; }
.exterior-family .family-visual img { object-position: center 68%; }
.property-photo-stack { min-height: 530px; }
.property-photo-stack>figure { position: absolute; inset: 0; }
.property-photo-stack>figure>img { object-position: 66% 57%; }
.property-photo-stack>figure[data-property-photo="0"]>img { object-position: 77% 56%; }
.property-photo-stack>figure[data-property-photo="3"]>img { object-position: 76% 55%; }
.property-photo-stack .image-disclosure { bottom: 14px; right: 14px; font-size: 10px; }

/* Photo cards bring imagery into the service directory. */
.service-photo-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.service-photo-card:hover { border-color: #b59d6d; box-shadow: 0 8px 25px rgba(32,49,39,.05); }
.service-card-photo { position: relative; aspect-ratio: 1.72; overflow: hidden; }
.service-card-photo>img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform .35s; }
.service-photo-card:hover .service-card-photo>img { transform: scale(1.025); }
.service-photo-body { padding: 29px 30px 27px; display: flex; flex: 1; flex-direction: column; }
.service-photo-title { display: flex; align-items: center; gap: 13px; margin-bottom: 17px; }
.service-photo-title>.icon { width: 22px; height: 22px; color: #8a713e; }
.service-photo-title h3 { font-size: 25px; }
.service-photo-body>p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-photo-body .card-link { margin-top: auto; padding-top: 24px; }
.service-visual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.service-visual-link { display: block; min-width: 0; }
.service-visual-link>.service-visual-photo { aspect-ratio: 1.5; border-radius: 11px; }
.service-visual-link>.service-visual-photo>img { transition: transform .35s; }
.service-visual-link:hover>.service-visual-photo>img { transform: scale(1.025); }
.service-visual-meta { padding: 18px 2px 0; }
.service-visual-meta>div { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.service-visual-meta h3 { font-size: 21px; letter-spacing: -.035em; }
.service-visual-meta .icon { width: 18px; height: 18px; color: #8a713e; margin-top: 3px; }
.service-visual-meta p { color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 11px; }
.service-visual-link:hover h3 { color: #816528; }
.pressure-options { margin-top: 27px; }
.compact-visual .service-visual-meta h3 { font-size: 19px; }
.compact-visual>.service-visual-photo { aspect-ratio: 1.7; }
.illustrated-services { background: #eeeee6; margin-bottom: 90px; }
.illustrated-services .section-heading>p { max-width: 360px; font-size: 14px; line-height: 1.8; }

/* The pressure scope becomes a visual guide, with its existing anchors intact. */
.pressure-detail-content { grid-template-columns: minmax(0, 1fr) 318px; gap: 50px; }
.scope-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.scope-photo-grid>.scope-item:not(.scope-picture) { grid-column: 1 / -1; }
.scope-photo-grid>.scope-picture { display: flex; flex-direction: column; padding: 0; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.scope-picture>.service-visual-photo { aspect-ratio: 1.5; }
.scope-picture-body { padding: 25px 24px 27px; }
.scope-picture-body h3 { font-size: 23px; }
.scope-picture-body p { font-size: 14px; line-height: 1.85; }
.inline-service-photo { margin: 16px 0 30px; border-radius: 12px; aspect-ratio: 1.65; }
.real-service-photo { position: relative; overflow: hidden; }
.real-service-photo>img { width: 100%; height: 100%; object-fit: cover; }
.real-service-photo>figcaption { position: absolute; bottom: 12px; right: 12px; left: 12px; width: fit-content; padding: 5px 9px; font-size: 11px; background: rgba(255,255,255,.94); border-radius: 4px; }
.detail-hero figure:has(img[src*="cleaning-commercial"]) { height: auto; aspect-ratio: 1.28; align-self: center; }
.detail-hero figure>img[src*="cleaning-commercial"] { object-position: 65% 62%; }

@media (max-width: 1150px) {
  .photo-hero-content { min-height: 620px; padding-block: 65px 110px; }
  .photo-hero-copy { width: 58%; }
  .photo-hero-copy h1 { font-size: clamp(46px, 5.1vw, 60px); }
  .photo-hero-actions { gap: 16px; }
  .pressure-detail-content { gap: 30px; grid-template-columns: minmax(0, 1fr) 270px; }
  .scope-picture-body { padding: 22px 20px; }
  .scope-picture-body h3 { font-size: 21px; }
}
@media (max-width: 980px) {
  .photo-hero-copy { width: 68%; }
  .photo-hero-background img { object-position: 70% 50%; }
  .photo-hero-background::after { background: linear-gradient(90deg, rgba(19,34,26,.96), rgba(22,36,28,.84) 38%, rgba(22,36,28,.2) 90%), linear-gradient(0deg, rgba(19,31,24,.65), transparent 45%); }
  .family-visual { margin: -28px -28px 27px; height: 225px; }
  .property-photo-stack { min-height: 480px; }
  .service-photo-body { padding: 25px; }
  .service-photo-title h3 { font-size: 23px; }
  .pressure-detail-content { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .pressure-detail-content .scope-aside { position: static; }
  .service-visual-grid { gap: 28px 18px; }
  .service-visual-meta h3, .compact-visual .service-visual-meta h3 { font-size: 18px; }
}
@media (max-width: 740px) {
  .photo-hero-content { min-height: 720px; padding-block: 55px 220px; align-items: flex-start; }
  .photo-hero-copy { width: min(100%, 520px); }
  .photo-hero-copy .eyebrow { font-size: 10px; letter-spacing: .13em; margin-bottom: 23px; }
  .photo-hero-copy h1 { font-size: clamp(37px, 6.8vw, 52px); line-height: 1.12; letter-spacing: -.05em; }
  .photo-hero-copy .lead { max-width: 460px; font-size: 15px; line-height: 1.8; margin-top: 24px; }
  .photo-hero-background img { object-position: 78% center; }
  .photo-hero-background::after { background: linear-gradient(180deg, rgba(19,34,26,.96), rgba(19,34,26,.84) 34%, rgba(19,34,26,.38) 69%, rgba(19,34,26,.56)), linear-gradient(90deg, rgba(19,34,26,.45), transparent 90%); }
  .photo-hero-actions { margin-top: 25px; gap: 15px 22px; }
  .photo-hero-actions .button { min-height: 49px; padding: 13px 18px; font-size: 13px; }
  .photo-hero-actions .text-link { font-size: 12px; }
  .photo-hero-note { margin-top: 21px; font-size: 11px; }
  .photo-hero-bottom { bottom: 20px; align-items: flex-start; flex-direction: column; gap: 6px; }
  .photo-hero-services { gap: 18px; }
  .photo-hero-services a { font-size: 11px; gap: 8px; }
  .photo-hero-services .icon { width: 17px; height: 17px; }
  .photo-hero-disclosure { align-self: flex-end; font-size: 9px; }
  .family-visual { margin: -29px -26px 27px; height: auto; aspect-ratio: 1.6; }
  .property-photo-stack { min-height: 0; height: auto; aspect-ratio: 1.5; }
  .property-photo-stack>figure>img { object-position: center; }
  .property-photo-stack>figure[data-property-photo="0"]>img { object-position: 73% center; }
  .property-photo-stack>figure[data-property-photo="3"]>img { object-position: center; }
  .service-visual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .pressure-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 22px; }
  .pressure-options .service-visual-meta { padding-top: 12px; }
  .pressure-options .service-visual-meta h3 { font-size: 16px; }
  .pressure-options .service-visual-meta .icon { display: none; }
  .pressure-options .image-disclosure { font-size: 8px; padding: 3px 5px; bottom: 6px; right: 6px; }
  .service-photo-body { padding: 25px; }
  .service-photo-title h3 { font-size: 25px; }
  .service-card-photo { aspect-ratio: 1.5; }
  .illustrated-services { margin-bottom: 65px; }
  .illustrated-services .section-heading>p { max-width: 540px; }
  .scope-photo-grid { gap: 20px; }
  .scope-picture-body { padding: 23px; }
  .inline-service-photo { aspect-ratio: 1.5; }
  .detail-hero figure:has(img[src*="cleaning-commercial"]) { aspect-ratio: 1.5; }
}
@media (max-width: 480px) {
  .photo-hero-content { min-height: 710px; padding-top: 46px; padding-bottom: 220px; }
  .photo-hero-copy h1 { font-size: clamp(35px, 9.55vw, 44px); }
  .photo-hero-copy .eyebrow { font-size: 9px; }
  .photo-hero-copy .lead { font-size: 14px; }
  .photo-hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .photo-hero-note { margin-top: 15px; font-size: 10px; }
  .photo-hero-services { gap: 13px; }
  .photo-hero-services a { font-size: 10px; gap: 7px; }
  .family-visual { margin: -27px -24px 25px; }
  .service-visual-grid, .pressure-options { grid-template-columns: 1fr; gap: 29px; }
  .pressure-options { gap: 18px; }
  .compact-visual { display: grid; grid-template-columns: 44% 1fr; gap: 18px; align-items: center; }
  .compact-visual>.service-visual-photo { aspect-ratio: 1.2; }
  .compact-visual .service-visual-meta { padding: 0; }
  .compact-visual .service-visual-meta h3 { font-size: 18px; }
  .compact-visual .image-disclosure { right: 5px; left: 5px; bottom: 5px; font-size: 8px; text-align: center; }
  .service-visual-meta h3 { font-size: 23px; }
  .service-visual-meta p { font-size: 14px; }
  .scope-photo-grid { grid-template-columns: 1fr; gap: 23px; }
  .scope-picture-body h3 { font-size: 23px; }
  .scope-picture-body p { font-size: 14px; }
  .service-photo-body { padding: 25px 23px; }
  .service-photo-title { align-items: flex-start; gap: 11px; }
  .service-photo-title>.icon { margin-top: 4px; }
  .service-photo-title h3 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-photo-card, .service-card-photo>img, .service-visual-link>.service-visual-photo>img { transition: none; }
}
@media print {
  .photo-hero { color: var(--ink); background: white; }
  .photo-hero-background, .photo-hero-bottom { display: none; }
  .photo-hero-content { min-height: 0; padding-block: 30px; }
  .photo-hero-copy { width: 100%; }
  .photo-hero-copy .lead { color: var(--ink); }
  .service-photo-card, .service-visual-link, .scope-picture { break-inside: avoid; }
}
