/* Cabinet Refacing Scarborough — additive page-specific styling; approved navy and gold design */
.rf21-page .rf21-section{scroll-margin-top:145px}
.rf21-page .ks20-hero .hero-art img{object-fit:cover;object-position:61% 51%;filter:none!important;max-width:none}
.rf21-page .ks20-hero .service-hero-shade{background:linear-gradient(90deg,rgba(5,13,30,.84) 0%,rgba(5,13,30,.66) 37%,rgba(5,13,30,.28) 66%,rgba(5,13,30,.12) 100%),linear-gradient(0deg,rgba(5,13,30,.56),transparent 49%)!important}
.rf21-page .rf21-fit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rf21-page .rf21-card{background:#fff;border:1px solid #deded9;border-radius:18px;min-width:0;padding:27px 26px;min-height:0}
.rf21-page .rf21-card h3{font:500 clamp(28px,2.35vw,36px)/1.13 'Cormorant Garamond',Georgia,serif;color:#11203a;margin:12px 0 14px}
.rf21-page .rf21-card p{font:400 16px/1.7 Jost,Arial,sans-serif;color:#586376;margin:0}
.rf21-page .rf21-fit-grid .rf21-card:nth-child(3){background:#152640;border-color:#caa767}
.rf21-page .rf21-fit-grid .rf21-card:nth-child(3) h3{color:#fff2dc}
.rf21-page .rf21-fit-grid .rf21-card:nth-child(3) p{color:#e0e7ef}
.rf21-page .rf21-table-scroller{width:100%;overflow-x:auto;border-radius:18px;border:1px solid #dcd7d0;background:#fff;margin:10px 0 24px}
.rf21-page .rf21-compare-table{border-collapse:collapse;width:100%;min-width:700px;font:400 16px/1.55 Jost,Arial,sans-serif;color:#1a2941}
.rf21-page .rf21-compare-table th,.rf21-page .rf21-compare-table td{padding:18px 19px;text-align:left;border-bottom:1px solid #e6e3dd;vertical-align:top}
.rf21-page .rf21-compare-table thead th{background:#0c1a32;color:#f4dab0;font-weight:600}
.rf21-page .rf21-compare-table tbody th{background:#f8f6f0;color:#1a2941;min-width:130px;font-weight:600}
.rf21-page .rf21-compare-table tr:last-child td,.rf21-page .rf21-compare-table tr:last-child th{border-bottom:0}
.rf21-page .rf21-routes{gap:16px;align-items:stretch}
.rf21-page .rf21-route-card{border:1px solid #e3ded4;border-radius:17px;padding:26px 24px;min-width:0;background:#fff}
.rf21-page .rf21-route-card:nth-child(2){background:#12233d;border-color:#bf9b62}
.rf21-page .rf21-route-card h3{font:500 clamp(26px,2.45vw,36px)/1.1 'Cormorant Garamond',Georgia,serif;color:#15233c;margin:10px 0 7px}
.rf21-page .rf21-route-card small{font:600 12px/1.3 Jost,Arial,sans-serif;color:#ac8344;text-transform:uppercase;letter-spacing:.06em;display:block}
.rf21-page .rf21-route-card p{font:400 15.5px/1.67 Jost,sans-serif;color:#5b6573;margin:16px 0}
.rf21-page .rf21-route-card ul{padding-left:18px;font:400 14.5px/1.55 Jost,sans-serif;color:#43516b}
.rf21-page .rf21-route-card li{margin-bottom:6px}
.rf21-page .rf21-route-card:nth-child(2) h3{color:#fff4e3}.rf21-page .rf21-route-card:nth-child(2) p,.rf21-page .rf21-route-card:nth-child(2) li{color:#dce5ee}
.rf21-page .rf21-route-card:nth-child(2) small{color:#e3bd77}
.rf21-page #scope.rf21-section{background:#0a1630}
.rf21-page .rf21-scope-layout{display:grid;grid-template-columns:1.7fr 1fr;align-items:stretch;gap:19px}
.rf21-page .rf21-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rf21-page .rf21-scope-grid .rf21-card{background:#172943;border-color:#3a4c64}
.rf21-page .rf21-scope-grid .rf21-card h3{color:#fff2db}
.rf21-page .rf21-scope-grid .rf21-card p{color:#d6e0eb}
.rf21-page .rf21-scope-grid .rf21-card .ks20-number{color:#ecc67d}
.rf21-page .rf21-portrait{margin:0;background:#d9d7d0;border-radius:18px;display:flex;justify-content:center;align-items:center;overflow:hidden;min-height:350px;max-height:760px}
.rf21-page .rf21-portrait img{width:100%;height:100%;max-height:740px;object-fit:contain;object-position:center}
.rf21-page .rf21-duo{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:23px}
.rf21-page .rf21-duo>div{padding:28px;border:1px solid #dfd9ce;border-radius:17px;background:#f7f5f0}
.rf21-page .rf21-duo>div:nth-child(2){background:#192d49;border-color:#596377}
.rf21-page .rf21-duo h3{font:500 32px/1.13 'Cormorant Garamond',Georgia,serif;color:#17263e;margin:0 0 12px}
.rf21-page .rf21-duo p{font:400 16px/1.66 Jost,Arial,sans-serif;color:#536075;margin:0}
.rf21-page .rf21-duo>div:nth-child(2) h3{color:#fff0d9}
.rf21-page .rf21-duo>div:nth-child(2) p{color:#d8e0eb}
.rf21-page .rf21-image-feature{display:grid;grid-template-columns:1fr .88fr;gap:0;background:#f4f1eb;border:1px solid #ddd8ce;border-radius:19px;overflow:hidden;margin:4px 0 24px}
.rf21-page .rf21-image-feature img{width:100%;height:auto;max-height:520px;object-fit:contain;object-position:center;background:#eae8e2;display:block}
.rf21-page .rf21-image-feature figcaption{padding:35px;display:flex;flex-direction:column;justify-content:center}
.rf21-page .rf21-image-feature h3{font:500 clamp(31px,2.8vw,44px)/1.13 'Cormorant Garamond',Georgia,serif;color:#13213b;margin:18px 0 10px}
.rf21-page .rf21-image-feature p{font:400 16px/1.75 Jost,Arial,sans-serif;color:#5a6676}
.rf21-page .rf21-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.rf21-page .rf21-style-card{min-width:0;padding:24px 23px;background:#fff;border:1px solid #e4ded5;border-radius:17px;transition:transform .35s ease,box-shadow .35s ease}
.rf21-page .rf21-style-card:hover{transform:translateY(-4px);box-shadow:0 18px 27px #0b19301b}
.rf21-page .rf21-style-line{display:block;color:#ad8646;font:600 12px/1.4 Jost,sans-serif;margin:17px 0 8px;letter-spacing:.04em}
.rf21-page .rf21-style-card h3{font:500 clamp(27px,2.15vw,33px)/1.1 'Cormorant Garamond',Georgia,serif;color:#14223a;margin:0 0 13px}
.rf21-page .rf21-style-card p{font:400 15px/1.62 Jost,Arial,sans-serif;color:#546276;margin:0 0 17px}
.rf21-page .rf21-style-card small{display:block;font:500 12px/1.6 Jost,sans-serif;color:#8a6737;border-top:1px solid #eee8df;padding-top:14px}
.rf21-page .rf21-style-grid .rf21-style-card:nth-child(4){background:#152641;border-color:#bea16f}
.rf21-page .rf21-style-grid .rf21-style-card:nth-child(4) h3{color:#fff0dc}.rf21-page .rf21-style-grid .rf21-style-card:nth-child(4) p{color:#d9e0eb}.rf21-page .rf21-style-grid .rf21-style-card:nth-child(4) small{color:#efd1a0;border-color:#425471}
.rf21-page .rf21-process .aj-process-left{position:sticky;top:155px}
.rf21-page .rf21-process .aj-process-step{min-height:178px!important;margin-bottom:18px!important}
.rf21-page .rf21-process .aj-step-number-icon{display:flex;align-items:center;gap:17px}
.rf21-page .rf21-process .aj-step-title{font-size:clamp(26px,2vw,31px)!important}
.rf21-page .rf21-process .ks20-process-text{font:400 15.5px/1.56 Jost,Arial,sans-serif;color:#dce5ee}
.rf21-page .rf21-portfolio-note{font:400 13px/1.55 Jost,Arial,sans-serif;color:#6e7884;margin:-4px 0 17px}
.rf21-page .ks20-project-image{aspect-ratio:1.35}
.rf21-page .ks20-project-image img{width:100%;height:100%;object-fit:contain}
.rf21-page .rf21-review-card{border:1px solid #394961;background:#142640;border-radius:18px;padding:31px;min-width:0}
.rf21-page .rf21-review-card .rf21-stars{color:#e6c17e;font-size:18px;letter-spacing:.08em}
.rf21-page .rf21-review-card h3{font:500 35px/1.15 'Cormorant Garamond',serif;color:#fff2da;margin:19px 0 4px}
.rf21-page .rf21-review-card small{font:500 13px/1.5 Jost,sans-serif;color:#e1ba74}
.rf21-page .rf21-review-caption{font:500 11px/1.45 Jost,sans-serif;color:#c7d5e5;display:block;margin:16px 0 13px;text-transform:uppercase;letter-spacing:.035em}
.rf21-page .rf21-review-card p{font:400 15.5px/1.74 Jost,sans-serif;color:#d8e1ea;margin:0}
.rf21-page .rf21-reasons .rf21-card{min-height:0}
.rf21-page .rf21-reasons .rf21-card:nth-child(4){background:#192d49;border-color:#aa884d}
.rf21-page .rf21-reasons .rf21-card h3{color:#18253d}
.rf21-page .rf21-reasons .rf21-card p{color:#586376}
.rf21-page .rf21-reasons .rf21-card:nth-child(4) h3{color:#fff3e0}
.rf21-page .rf21-reasons .rf21-card:nth-child(4) p{color:#dbe4ed}
.rf21-page .rf21-local-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.rf21-page .rf21-local-cards .rf21-card{background:#192b47;border-color:#3b4e68}
.rf21-page .rf21-local-cards .rf21-card h3{color:#fff1da}
.rf21-page .rf21-local-cards .rf21-card p{color:#d5dfea}
.rf21-page #ajax .aj-ajax-map{position:relative!important;overflow:hidden!important;isolation:isolate;width:100%!important;max-width:100%!important;min-height:425px;aspect-ratio:720/555}
.rf21-page #ajax .aj-map-roads,.rf21-page #ajax .aj-map-roads svg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.rf21-page .rf21-section .sec-head h2{overflow-wrap:break-word}
@media(max-width:1100px){
 .rf21-page .rf21-scope-layout{grid-template-columns:1fr}
 .rf21-page .rf21-portrait{max-height:430px;min-height:0}
 .rf21-page .rf21-portrait img{max-height:420px}
 .rf21-page .rf21-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rf21-page .rf21-local-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:750px){
 .rf21-page .rf21-fit-grid,.rf21-page .rf21-routes,.rf21-page .rf21-scope-grid,.rf21-page .rf21-duo,.rf21-page .rf21-image-feature,.rf21-page .rf21-local-cards{grid-template-columns:1fr}
 .rf21-page .rf21-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rf21-page .rf21-image-feature figcaption{padding:25px}
 .rf21-page .rf21-process .aj-process-left{position:relative;top:auto}
 .rf21-page .rf21-process .aj-process-step{min-height:150px!important}
 .rf21-page #ajax .aj-ajax-map{min-height:330px}
}
@media(max-width:480px){
 .rf21-page .rf21-style-grid{grid-template-columns:1fr}
 .rf21-page .rf21-card,.rf21-page .rf21-route-card,.rf21-page .rf21-style-card{padding:23px 21px}
 .rf21-page .rf21-table-scroller{margin-left:0;margin-right:0}
 .rf21-page .ks20-hero .hero-art img{object-position:62% 50%}
}

/* Local section: preserve approved half-and-half layout without stretching the map */
.rf21-page .ks20-local-layout{align-items:start!important}
.rf21-page #ajax .aj-ajax-map{height:auto!important;min-height:0!important;aspect-ratio:720/555!important;align-self:start!important}
.rf21-page .rf21-local-context-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:22px 0}
.rf21-page .rf21-local-context-row .ks20-local-mini{margin:0;padding:22px;border:1px solid #364961;border-radius:16px;background:#152740}
.rf21-page .rf21-local-context-row .ks20-local-mini h4{margin:0 0 12px;font-size:16px;line-height:1.4}
.rf21-page .rf21-local-context-row .ks20-local-mini p{font-size:14.5px;line-height:1.65}
@media(max-width:900px){.rf21-page .rf21-local-context-row{grid-template-columns:1fr}}
