/* Raleigh Expert Fence: SERVICE pages (design-lead, 2026-11-25). Linked only by the service pages (build-service.js);
   every rule is scoped to body.pt-service. Base: page-designs/service.css (the starting design's service look, recolored),
   reworked to today's rules. Colors and type come from site.css :root.
   The job sheet look: split hero on lavender, article beside the form, photo price cards, the steps as pickets on a
   rail on the eggplant band (no numerals), FAQ held on the left, guide rows, sibling photo cards, a photo close. */

/* hero: lavender split, the H1 and lead in one half, the service photo filling the other half to the window edge */
body.pt-service .ssc.sx.dp.sv-hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line);
  background:radial-gradient(55% 90% at 0% 0%,rgba(var(--lift-rgb),.16) 0%,rgba(var(--lift-rgb),0) 75%),
  radial-gradient(40% 70% at 50% 100%,rgba(var(--glow-btn),.10) 0%,rgba(var(--glow-btn),0) 80%),var(--soft)}
body.pt-service .sv-hero-photo{margin:0}
body.pt-service .sv-hero-photo img{display:block;width:100%;height:100%;object-fit:cover}
body.pt-service main .ssc.sx.dp.sv-hero .lead{color:var(--body);margin:0}
@media(min-width:1024px){
  body.pt-service .ssc.sx.dp.sv-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:clamp(440px,38vw,560px)}
  body.pt-service .sv-hero-photo{grid-column:2;grid-row:1;position:relative}
  body.pt-service .sv-hero.flip .sv-hero-photo{grid-column:1}
  body.pt-service .sv-hero-photo img{position:absolute;inset:0}
  body.pt-service .ssc.sx.dp.sv-hero>.w{grid-column:1;grid-row:1;align-self:center;max-width:none;margin:0;padding:64px 48px 64px max(20px,calc(50vw - 580px))}
  body.pt-service .ssc.sx.dp.sv-hero.flip>.w{grid-column:2;padding:64px max(20px,calc(50vw - 580px)) 64px 48px}
  body.pt-service .sv-hero-photo:before{content:"";position:absolute;top:0;bottom:0;left:0;width:6px;background:var(--a);z-index:1}
  body.pt-service .sv-hero.flip .sv-hero-photo:before{left:auto;right:0}
}
@media(max-width:1023px){
  body.pt-service .sv-hero-photo img{aspect-ratio:16/9;height:auto;border-bottom:5px solid var(--a)}
  body.pt-service .sv-hero-text{padding:30px 0 40px}
}

/* the article beside the form; the form stays in view while the article scrolls */
body.pt-service .ssc.sx.dp.sv-open{background:#fff;padding:80px 0 88px}
body.pt-service .sv-open-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,512px);gap:64px;align-items:start}
body.pt-service .sv-open-grid .rf-form{position:sticky;top:116px}
body.pt-service .sv-open-grid.stack{grid-template-columns:minmax(0,1fr);max-width:820px}
body.pt-service .sv-open-grid.stack .rf-form{position:static;max-width:512px}
@media(max-width:1199px){body.pt-service .sv-open-grid{gap:48px}}
@media(max-width:1023px){
  body.pt-service .ssc.sx.dp.sv-open{padding:56px 0 64px}
  body.pt-service .sv-open-grid{grid-template-columns:minmax(0,1fr);gap:40px}
  body.pt-service .sv-open-grid .rf-form{position:static;max-width:560px}
}

/* section heads: left, with a short lime bar (the homepage centers its heads) */
body.pt-service .sv-head{margin:0 0 34px}
body.pt-service :is(.sv-head,.sv-faq-head,.sv-guides>.w,.sv-related>.w)>h2:first-child:before{content:"";display:block;width:56px;height:4px;border-radius:2px;background:var(--a);margin:0 0 18px}

/* prices: photo cards over the ruled list of what raises or lowers the price */
body.pt-service .ssc.sx.dp.sv-prices{background:var(--soft);padding:84px 0}
body.pt-service .ssc.sx .sv-price-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;margin:0;padding:0}
body.pt-service .sv-price-cards.n1{grid-template-columns:minmax(0,560px)}
body.pt-service .sv-price-cards.n2,body.pt-service .sv-price-cards.n4{grid-template-columns:repeat(2,minmax(0,1fr))}
body.pt-service .sv-price-cards li{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
body.pt-service .sv-price-cards .pimg img{display:block;width:100%;height:auto;aspect-ratio:10/7;object-fit:cover}
body.pt-service .sv-price-cards .pt{display:flex;flex-direction:column;gap:6px;padding:18px 22px 22px;border-top:4px solid var(--a)}
body.pt-service .sv-price-cards .no-img .pt{border-top:0;border-left:4px solid var(--a)}
body.pt-service .sv-price-cards .pt span{font:700 1.08rem/1.35 var(--hf);color:var(--ink)}
body.pt-service .sv-price-cards .pt b{font:800 1.6rem/1.15 var(--hf);color:var(--p)}
body.pt-service .sv-factors{margin:40px 0 0;background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px 30px}
body.pt-service main .ssc.sx.dp .sv-factors h3{margin:0 0 12px}
body.pt-service .sv-factors .rf-checks{columns:2;column-gap:44px}
body.pt-service .sv-factors .rf-checks li{break-inside:avoid}
body.pt-service .sv-after{margin:22px 0 0}
body.pt-service .sv-after a{color:var(--p2);text-decoration-color:var(--a);text-decoration-thickness:2px}
@media(max-width:900px){body.pt-service .ssc.sx .sv-price-cards{grid-template-columns:minmax(0,1fr)}body.pt-service .sv-factors .rf-checks{columns:1}}
@media(max-width:767px){body.pt-service .ssc.sx.dp.sv-prices{padding:60px 0}}

/* steps: pickets on a rail, on the eggplant band (coral glow one corner, lighter eggplant the other) */
body.pt-service .ssc.sx.dp.sv-steps{padding:88px 0;color:#e2d9e5;
  background:radial-gradient(60% 120% at 100% 0%,rgba(var(--glow-btn),.42) 0%,rgba(var(--glow-btn),.12) 50%,rgba(var(--glow-btn),0) 80%),
  radial-gradient(60% 120% at 0% 100%,var(--lift) 0%,rgba(var(--lift-rgb),.3) 55%,rgba(var(--lift-rgb),0) 85%),var(--p)}
body.pt-service main .ssc.sx.dp.sv-steps :is(h2,h3){color:#fff}
body.pt-service main .ssc.sx.dp.sv-steps :is(p,.lead){color:#e2d9e5}
body.pt-service .sv-steps h2:before{content:"";display:block;width:56px;height:4px;border-radius:2px;background:var(--a);margin:0 0 18px}
body.pt-service .sv-steps-grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:64px;align-items:center}
body.pt-service .sv-steps-photo{margin:0}
body.pt-service .sv-steps-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:14px;box-shadow:0 24px 60px rgba(8,2,12,.35)}
body.pt-service .ssc.sx .sv-rail{list-style:none;margin:28px 0 0;padding:0;position:relative}
body.pt-service .ssc.sx .sv-rail:before{content:"";position:absolute;left:11px;top:14px;bottom:30px;width:3px;border-radius:2px;background:linear-gradient(var(--a),rgba(181,218,76,.2))}
body.pt-service .sv-rail li{position:relative;display:grid;grid-template-columns:25px minmax(0,1fr);gap:22px;padding:0 0 24px}
body.pt-service .sv-rail li:last-child{padding-bottom:0}
body.pt-service .sv-rail .post{display:block;width:25px;height:32px;background:var(--a);clip-path:polygon(50% 0,100% 26%,100% 100%,0 100%,0 26%);box-shadow:0 0 0 4px var(--p)}
body.pt-service main .ssc.sx.dp .sv-rail h3{font-size:1.25rem;margin:4px 0 6px}
body.pt-service .sv-rail p{margin:0}
body.pt-service .sv-steps-grid.no-photo{grid-template-columns:minmax(0,1fr)}
body.pt-service .no-photo .sv-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 56px}
body.pt-service .no-photo .sv-rail:before{display:none}
@media(max-width:1023px){body.pt-service .sv-steps-grid{grid-template-columns:minmax(0,1fr);gap:36px}}
@media(max-width:767px){body.pt-service .ssc.sx.dp.sv-steps{padding:60px 0}body.pt-service .no-photo .sv-rail{grid-template-columns:minmax(0,1fr)}}

/* calculator link (only when a sheet has one) */
body.pt-service .ssc.sx.dp.sv-calc{background:#fff;padding:64px 0;border-top:1px solid var(--line)}

/* FAQ: the heading held on the left, the questions across the right */
body.pt-service .ssc.sx.dp.sv-faq{padding:84px 0}
body.pt-service .sv-faq>.w{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.9fr);gap:56px;align-items:start}
body.pt-service .sv-faq-head{position:sticky;top:120px}
body.pt-service .ssc.sx.dp.sv-faq .faq{max-width:none;margin:0}
@media(max-width:1023px){body.pt-service .sv-faq>.w{grid-template-columns:minmax(0,1fr);gap:20px}body.pt-service .sv-faq-head{position:static}}
@media(max-width:767px){body.pt-service .ssc.sx.dp.sv-faq{padding:60px 0}}

/* guides: rows of a report index, title then line, an arrow */
body.pt-service .ssc.sx.dp.sv-guides{background:var(--soft);padding:80px 0}
body.pt-service .sv-guide-list{display:grid;gap:12px;margin:28px 0 0}
body.pt-service .ssc.sx .sv-guide{display:grid;grid-template-columns:44px minmax(0,1fr) 28px;gap:20px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 24px;text-decoration:none;color:var(--body);transition:border-color .15s,box-shadow .15s}
body.pt-service .sv-guide:hover{border-color:var(--p);box-shadow:var(--sh)}
body.pt-service .sv-guide .gi{width:44px;height:44px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--a) 30%,#fff);color:var(--ad)}
body.pt-service .sv-guide .gt{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px 32px;align-items:baseline}
body.pt-service main .ssc.sx.dp .sv-guide h3{margin:0;font-size:1.15rem}
body.pt-service .sv-guide p{margin:0;color:var(--body)}
body.pt-service .sv-guide .go{color:var(--btn)}
body.pt-service .sv-guide .go{display:inline-flex;transition:transform .15s}body.pt-service .sv-guide:hover .go{transform:translateX(3px)}
@media(max-width:900px){body.pt-service .sv-guide .gt{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){body.pt-service .ssc.sx .sv-guide{grid-template-columns:minmax(0,1fr) 24px;padding:18px}body.pt-service .sv-guide .gi{display:none}}

/* sibling services: the homepage's own card photos, two across */
body.pt-service .ssc.sx.dp.sv-related{background:#fff;padding:80px 0 88px}
body.pt-service .sv-rel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0 0}
body.pt-service .ssc.sx .sv-rel{display:block;text-decoration:none;color:var(--body);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:border-color .15s}
body.pt-service .sv-rel:hover{border-color:var(--p)}
body.pt-service .sv-rel .cimg img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
body.pt-service main .ssc.sx.dp .sv-rel h3{margin:0;padding:18px 24px 6px;font-size:1.2rem}
body.pt-service main .ssc.sx.dp .sv-rel p{margin:0;padding:0 24px 22px}
@media(max-width:640px){body.pt-service .sv-rel-grid{grid-template-columns:minmax(0,1fr)}}

