/* Approved R5: images belong to their section; no mixed gallery at the end. */
body.design-hybrid9.repair-service-r5-page{width:100%;min-width:0;max-width:100%;--text:17px;--caption:16px}
.repair-service-r5-page .wrap{width:min(1120px,calc(100% - 48px));min-width:0}
.repair-service-r5-page .r5-hero{padding:48px 0 56px}
.repair-service-r5-page .r5-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-areas:"title photo" "copy photo" "actions photo";column-gap:56px;row-gap:24px;align-items:start}
.repair-service-r5-page .r5-title{grid-area:title}
.repair-service-r5-page .r5-hero-media{grid-area:photo;min-width:0}
.repair-service-r5-page .r5-hero-copy{grid-area:copy}
.repair-service-r5-page .r5-hero-actions{grid-area:actions;margin:0;display:flex;flex-wrap:wrap;gap:12px}
body.design-hybrid9.repair-service-r5-page main h1{font-size:44px;line-height:1.1;letter-spacing:-.025em;margin:0}
body.design-hybrid9.repair-service-r5-page main h2{font-size:30px;line-height:1.2;font-weight:600;letter-spacing:-.02em;margin:0 0 28px;max-width:820px}
body.design-hybrid9.repair-service-r5-page main .r5-copy p{font-size:17px;line-height:1.6;margin:0 0 20px}
body.design-hybrid9.repair-service-r5-page main .r5-copy strong{font-weight:500}
.repair-service-r5-page .r5-copy{min-width:0;max-width:820px;overflow-wrap:anywhere}
.repair-service-r5-page .r5-copy p:last-child{margin-bottom:0}
.repair-service-r5-page .r5-copy a{text-underline-offset:4px}
.repair-service-r5-page .r5-photo{margin:0;min-width:0}
.repair-service-r5-page .r5-photo a{display:block;max-width:100%}
.repair-service-r5-page .r5-photo img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;border-radius:12px}
.repair-service-r5-page .r5-photo-hero img{height:500px;object-fit:cover;object-position:center 25%}
.repair-r5-ceiling .r5-hero-frames{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.repair-r5-ceiling .r5-hero-frames .r5-photo-hero img{height:380px}
.repair-r5-ceiling .r5-hero-swipe-hint{display:none}
body.design-hybrid9.repair-service-r5-page main .r5-photo figcaption{font-size:16px;line-height:1.45;font-weight:400;color:#4c5853;margin:12px 0 0}
body.design-hybrid9.repair-service-r5-page.repair-windows-page main .r5-photo figcaption{font-size:18px}
.repair-service-r5-page .r5-section{padding:56px 0;border-top:1px solid #d2d8cd}
.repair-service-r5-page .r5-section:nth-of-type(even){background:#f1f2ec}
.repair-service-r5-page .r5-story-visual{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr);gap:40px;align-items:start}
.repair-service-r5-page .r5-section-media{min-width:0}
.repair-service-r5-page .r5-photo-pair{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px;align-items:start}
.repair-service-r5-page .r5-photo-single{grid-template-columns:1fr;max-width:520px}
.repair-service-r5-page .r5-more{margin:20px 0 0}
.repair-service-r5-page .r5-more a{text-underline-offset:4px}
.repair-service-r5-page .r5-copy a[href^="tel:"]{display:inline-block;margin-top:14px}
.repair-service-r5-page .r5-contact-actions{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;padding-top:8px}
.repair-service-r5-page .r5-action-separator{display:none}
.repair-service-r5-page .r5-call{flex-basis:100%;padding-top:8px}
.repair-service-r5-page .r5-call a[href^="tel:"]{margin-top:0}
.repair-service-r5-page .mobile-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.repair-service-r5-page .mobile-actions .btn,.repair-service-r5-page .mobile-actions .btn span{min-width:0;overflow-wrap:anywhere}
.repair-service-r5-page details{padding:20px 0;border-bottom:1px solid #d2d8cd}
.repair-service-r5-page summary{cursor:pointer;font-weight:500}
.repair-service-r5-page details p{margin:16px 0 0}
@media(max-width:899px){
 .repair-service-r5-page .wrap{width:calc(100% - 40px);max-width:calc(100% - 40px)}
 .repair-service-r5-page header.top .nav{min-height:72px}
 .repair-service-r5-page .r5-hero{padding:24px 0 36px}
 .repair-service-r5-page .r5-hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "photo" "actions" "copy";gap:20px}
 body.design-hybrid9.repair-service-r5-page main h1{font-size:32px;line-height:1.12}
 body.design-hybrid9.repair-service-r5-page main h2{font-size:26px;margin-bottom:24px}
 .repair-service-r5-page .r5-photo-hero img{height:clamp(180px,29svh,270px);object-position:center 25%}
 .repair-r5-ceiling .r5-hero-frames{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-x:contain}
 .repair-r5-ceiling .r5-hero-frames .r5-photo{flex:0 0 94%;scroll-snap-align:start;min-width:0}
 .repair-r5-ceiling .r5-hero-frames .r5-photo-hero img{height:clamp(180px,29svh,270px)}
 .repair-r5-ceiling .r5-hero-swipe-hint{display:block;font-size:14px;line-height:1.4;color:#4c5853;margin:8px 0 0}
 .repair-service-r5-page .r5-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .repair-service-r5-page .r5-hero-actions .btn{min-width:0;font-size:14px;line-height:1.3;padding:12px 10px;text-align:center;justify-content:center}
 .repair-service-r5-page .r5-section{padding:36px 0}
 .repair-service-r5-page .r5-story-visual{grid-template-columns:minmax(0,1fr);gap:24px}
 .repair-service-r5-page .r5-section-media,.repair-service-r5-page .r5-photo-pair{display:contents}
 .repair-service-r5-page .r5-story-visual .r5-photo{order:1;max-width:520px}
 .repair-service-r5-page .r5-story-visual .r5-copy{order:2}
 .repair-service-r5-page .r5-story-visual .r5-photo:nth-child(n+2){order:3;max-width:280px;justify-self:end}
 .repair-service-r5-page .r5-story-visual .r5-more{order:4;margin-top:0}
 .repair-service-r5-page .r5-photo img{max-height:420px}
 body.design-hybrid9.repair-service-r5-page main .r5-photo figcaption{font-size:16px;margin-top:10px}
 body.design-hybrid9.repair-service-r5-page.repair-windows-page main .r5-photo figcaption{font-size:17px}
}

/* Owner14.10: windows/ceilings use one photo strip, copy below, equal frames. */
:is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-story-visual{display:block}
:is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-story-visual>.r5-copy{margin-top:28px}
:is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-section-media{display:block}
:is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-photo-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
:is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-photo-strip>.r5-photo:nth-child(n){max-width:none;grid-column:auto;justify-self:stretch}
:is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-photo-strip .r5-photo a{display:flex;align-items:center;justify-content:center;height:380px;overflow:hidden;border-radius:12px;background:#e8ebe3}
:is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-photo-strip .r5-photo img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:12px}
.repair-r5-ceiling .r5-hero-frames .r5-photo img{width:100%;height:100%;object-fit:cover}
:is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-owner-portrait{display:block;width:84px;height:104px;object-fit:cover;border-radius:12px;margin:0 0 18px}
body.design-hybrid9 :is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-owner-phone a{display:inline-block;font-weight:500;margin:0}
.repair-windows-page .r5-copy .timeline{padding:0;list-style:none;margin:0 0 28px;column-gap:40px}
.repair-windows-page .r5-copy .timeline>.step{padding:0 0 28px;margin:0;border:0;grid-template-columns:42px minmax(0,1fr)}
.repair-windows-page .r5-copy .timeline>.step .step-num{font-size:19px;line-height:1}
.repair-windows-page .r5-copy .timeline>.step p{margin:6px 0 8px}
@media(max-width:899px){
 :is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-photo-strip{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;scrollbar-width:thin;overscroll-behavior-x:contain}
 :is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-photo-strip>.r5-photo:nth-child(n){flex:0 0 94%;scroll-snap-align:start;min-width:0;max-width:none}
 :is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-photo-strip .r5-photo a{height:330px}
 .repair-r5-ceiling .r5-hero-frames .r5-photo a{height:clamp(180px,29svh,270px)}
 :is(.repair-r5-windows,.repair-r5-ceiling,.repair-r5-painting) .r5-story-visual>.r5-copy{margin-top:24px}
 .repair-windows-page .r5-copy .timeline{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row}
 .repair-windows-page .r5-copy .timeline>.step.column-end:before{display:block}
}
@media(max-width:380px){body.design-hybrid9.repair-service-r5-page main h1{font-size:28px}.repair-service-r5-page .r5-photo-pair .r5-photo img{max-height:360px}}

/* Pools: comparisons stay together; distinct services share a shallow grid. */
.repair-r5-pool .r5-photo-hero img,.repair-r5-pool-restoration .r5-photo-hero img{object-position:center 65%}
.repair-r5-pool-automation .r5-photo-hero img{object-position:center 20%}
.repair-service-r5-page .r5-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}
.repair-service-r5-page .r5-stage{display:block;font-weight:500;margin-bottom:6px}
.repair-service-r5-page .r5-service-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 40px}
.repair-service-r5-page .r5-service-card{min-width:0;border-top:1px solid #cdd4ca;padding-top:24px}
.repair-service-r5-page .r5-service-card:last-child:nth-child(odd){grid-column:1/-1}
.repair-service-r5-page .r5-service-card h3{font-size:23px;line-height:1.25;font-weight:500;margin:0 0 20px}
.repair-service-r5-page .r5-service-card .r5-story-visual{display:block}
.repair-service-r5-page .r5-service-card .r5-copy{margin-top:24px}
.repair-service-r5-page .r5-service-card .r5-comparison img{height:260px;object-fit:contain}
.repair-service-r5-page .r5-photo-pair:has(> .r5-photo:nth-child(3)){grid-template-columns:repeat(2,minmax(0,1fr))}
.repair-service-r5-page .r5-photo-pair:has(> .r5-photo:nth-child(3)) > .r5-photo:first-child{grid-column:1/-1}
.repair-service-r5-page .r5-copy ol{padding-left:24px}
.repair-service-r5-page .r5-copy li{margin:0 0 16px;padding-left:6px}
.repair-service-r5-page details .r5-copy{padding-top:16px}
/* Windows14.10: open benefits, real ordered work, shallow maintenance lists. */
.repair-windows-page .r5-service-card .r5-copy{margin-top:0}
.repair-windows-page .r5-copy h3,.repair-windows-page .r5-service-card h3{font-size:22px;line-height:1.3;font-weight:500;margin:28px 0 12px}
.repair-windows-page .r5-service-card h3{margin-top:0}
.repair-windows-page .r5-copy h3:first-child{margin-top:0}
.repair-windows-page .r5-copy ul{padding-left:24px;list-style:disc}
.repair-windows-page .r5-copy ol{list-style:decimal}
.repair-windows-page .r5-copy ol>li{padding-top:8px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #d2d8cd}
.repair-windows-page .r5-copy ol>li p{margin:0 0 8px}
.repair-windows-page .r5-copy ol>li p:last-child{margin-bottom:0}
@media(max-width:899px){
 .repair-service-r5-page .r5-service-cards{grid-template-columns:minmax(0,1fr);gap:28px}
 .repair-service-r5-page .r5-story-comparison .r5-section-media{display:block}
 .repair-service-r5-page .r5-story-comparison .r5-comparison{display:grid;gap:12px}
 .repair-service-r5-page .r5-story-comparison .r5-photo:nth-child(n){max-width:none;justify-self:stretch}
 .repair-service-r5-page .r5-story-comparison .r5-comparison img{height:220px;object-fit:contain}
 .repair-service-r5-page .r5-service-card .r5-comparison{display:grid;gap:12px}
 .repair-service-r5-page .r5-service-card .r5-photo:nth-child(n){max-width:none}
 .repair-service-r5-page .r5-service-card .r5-comparison img{height:200px}
 .repair-service-r5-page .r5-service-card h3{font-size:23px}
}

/* Question form is separate from booking and the existing action pairs. */
.repair-service-r5-page .r5-question form{max-width:660px;padding-top:24px}
.repair-service-r5-page .r5-question-field{margin:0 0 20px}
.repair-service-r5-page .r5-question label{display:block;margin-bottom:8px}
.repair-service-r5-page .r5-question input,.repair-service-r5-page .r5-question textarea{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid #b8c1b4;border-radius:8px;background:#fff;color:inherit;font:inherit}
.repair-service-r5-page .r5-question textarea{resize:vertical}
.repair-service-r5-page .r5-question-note{font-size:15px;color:#4c5853}
.repair-service-r5-page .r5-question .errorlist{list-style:none;padding:0;color:#9a2929}
.repair-service-r5-page .r5-owner-phone{padding-top:10px}
body.design-hybrid9.repair-service-r5-page main .r5-owner-phone a{padding:12px 18px;border:1px solid #6c8176;border-radius:10px;text-decoration:none}

/* Owner14.10: readable approved painting/ceiling text, reuse numbered work. */
:is(.repair-r5-painting,.repair-r5-ceiling) .r5-copy h3{font-size:22px;line-height:1.3;font-weight:500;margin:30px 0 12px}
:is(.repair-r5-painting,.repair-r5-ceiling) .r5-copy h3:first-child{margin-top:0}
:is(.repair-r5-painting,.repair-r5-ceiling) .r5-copy ul{list-style:disc;padding-left:24px;margin:16px 0 24px}
:is(.repair-r5-painting,.repair-r5-ceiling) .r5-copy ul>li{padding-left:2px;margin:0 0 12px;line-height:1.6}
:is(.repair-r5-painting,.repair-r5-ceiling) .r5-copy .timeline{list-style:none;padding:0;margin:24px 0 32px;column-gap:40px}
:is(.repair-r5-painting,.repair-r5-ceiling) .r5-copy .timeline>.step{padding:0 0 28px;margin:0;border:0;grid-template-columns:42px minmax(0,1fr)}
:is(.repair-r5-painting,.repair-r5-ceiling) .r5-copy .timeline>.step .step-num{font-size:19px;line-height:1}
:is(.repair-r5-painting,.repair-r5-ceiling) .r5-copy .timeline>.step p{margin:6px 0 14px}
:is(.repair-r5-painting,.repair-r5-ceiling) .r5-copy .timeline-stacked{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row}
@media(max-width:899px){
 :is(.repair-r5-painting,.repair-r5-ceiling) .r5-copy .timeline{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-flow:row}
 :is(.repair-r5-painting,.repair-r5-ceiling) .r5-copy .timeline>.step.column-end:before{display:block}
}

/* Owner14.10: process first, then the same installation example and timing. */
.repair-windows-page .r5-story-work-example>.r5-copy:first-child{margin-top:0}
.repair-windows-page h3.r5-example-heading{font-size:22px;line-height:1.3;font-weight:500;margin:32px 0 20px}

/* RNS-WEB-060: pool proof stays together; explanations follow pictures. */
:is(.repair-r5-pool,.repair-r5-pool-restoration,.repair-r5-pool-automation) .r5-story-visual{display:block}
:is(.repair-r5-pool,.repair-r5-pool-restoration,.repair-r5-pool-automation) .r5-story-visual>.r5-copy{margin-top:24px}
:is(.repair-r5-pool,.repair-r5-pool-restoration,.repair-r5-pool-automation) .r5-copy .timeline{list-style:none;padding:0}
@media(max-width:899px){
 :is(.repair-r5-pool,.repair-r5-pool-restoration,.repair-r5-pool-automation) .r5-section-media{display:block}
 :is(.repair-r5-pool,.repair-r5-pool-restoration,.repair-r5-pool-automation) .r5-photo-pair{display:grid;gap:16px}
 :is(.repair-r5-pool,.repair-r5-pool-restoration,.repair-r5-pool-automation) .r5-photo:nth-child(n){max-width:none;justify-self:stretch}
}
