/* SOS Accounting 1.8.0 (file brand-polish-193): client feedback of 21 Oct 2026.
   Wider pages, first box in the header, "How it works" across the page, centred carousel, shared "Why choose us" band + reviews,
   icon sets from the supplied sheets, rebuilt home page. Shapes and colours only: NO WORDING lives in this file. */

/* ---- 1. wider pages (the text column was only ~770px on a PC) ---- */
.wrap,header .wrap{max-width:1320px}
.pg .wrap{grid-template-columns:minmax(0,1fr) 320px;column-gap:48px;row-gap:48px}
.pg.full .wrap{grid-template-columns:minmax(0,1fr)}
.entry .sos-box{min-width:0}

/* ---- 2. the first text box sits in the pale-green header ---- */
.crumb.has-box{padding-bottom:40px}
.crumb .hero-entry{margin-top:24px}
.crumb .hero-entry .sos-box{max-width:1180px;margin:0;background:#fff}
.crumb .hero-entry p{max-width:none;color:var(--ink);margin:0 0 14px}
.crumb .hero-entry p:last-child{margin-bottom:0}
.crumb .hero-entry h2{font-size:clamp(22px,2.4vw,30px);margin:0 0 12px;color:#2e6417}
.crumb .hero-entry small{display:none}

/* ---- 3. "How it works" across the page, one green box per step, number on top ---- */
.sos-steps{grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:18px;align-items:stretch}
.sos-step{display:flex;flex-direction:column;gap:14px;padding:24px 22px;grid-template-columns:none}
.sos-num{box-shadow:none;width:42px;height:42px;font-size:20px;flex:none}
.sos-step-body h3{margin:0 0 8px}
.sos-step-body{min-width:0}
@media(max-width:1100px){.sos-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.sos-steps{grid-template-columns:1fr}}

/* when a page has a full-width "How it works" box, the side list only runs beside the boxes above it */
.pg.has-wide .wrap{row-gap:0}
.pg.has-wide .entry{display:contents}
.pg.has-wide .entry>.sos-box{grid-column:1}
.pg.has-wide .entry>.sos-box.is-wide,.pg.has-wide .entry>.sos-box.is-wide~.sos-box{grid-column:1/-1}
.pg.has-wide .side{grid-column:2;grid-row:1/span var(--before,1);align-self:start}
@media(max-width:980px){
	.pg.has-wide .wrap{display:block}
	.pg.has-wide .entry{display:block}
	.pg.has-wide .side{margin-top:34px}
	.pg .wrap{row-gap:34px}
}

/* ---- 4. carousel: centred in the page (it used to sit in the first column of the two-column text area) ---- */
.pg.sos-car-sec .wrap{display:block}
.sos-car{margin:0 auto;max-width:100%}
.sos-car-track{justify-content:flex-start}

/* ---- 5. icons: outline on a pale circle for services, white on deep green for client types ---- */
.card-ico{width:72px;height:72px}
.card-ico svg{width:36px;height:36px}
.card-ico.ico-svc{background:#e6f4dd;color:#2e6417;box-shadow:0 0 0 6px #f3fbed}
.card-ico.ico-aud{background:#2e6417;color:#fff;box-shadow:0 0 0 6px #d9f2cc}
.sos-car-card .card-ico{width:64px;height:64px}

/* ---- 6. reviews box with five stars ---- */
.revs-sec{padding:0 0 56px}
.revs{border:2px solid #bfecac;background:#e9f8e0}
.rev-stars{display:flex;align-items:center;gap:10px;margin:0 0 6px;font-weight:600;color:#2e6417}
.stars{display:inline-flex;gap:2px}
.stars svg{fill:#f4b400;stroke:#d99a00;stroke-width:.6}
.revs .btn{white-space:nowrap}
@media(max-width:700px){.revs{flex-direction:column;align-items:stretch;text-align:center}.rev-stars{justify-content:center}.revs .btn{margin:0 auto}}

/* ---- 7. home page (built from the Home page's own wording) ---- */
.hero .cta{display:flex;gap:12px;flex-wrap:wrap}
.hero p{max-width:60ch}
.home-box{background:#fff;border:2px solid #bfecac;border-top:6px solid #4caa26;border-radius:22px;padding:clamp(22px,3.2vw,40px);box-shadow:0 12px 28px -18px #2e641755}
.home-box>:first-child{margin-top:0}.home-box>:last-child{margin-bottom:0}
.home-box h2,.cards-sec h2,.stress h2,.home-split h2{margin-top:0}
.home-box .tick{margin:18px 0}
.home-box .cta-row,.stress .cta-row,.home-split .cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 0}
.home-box .cta-row{justify-content:center}
.cards4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:26px}
.cards4 .card p{font-size:15.5px}
.card-label{margin-top:auto;color:#2e6417;font-weight:700;font-size:15px}
.card-label::after{content:"\2192";margin-left:8px}
.fourcards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:24px}
.softcard{background:linear-gradient(180deg,#f3fbed 0,#fff 100%);border:1px solid #d6efc6;border-left:5px solid #4caa26;border-radius:18px;padding:22px}
.softcard h3{margin:0 0 8px;color:#2e6417;font-size:19px}
.softcard p{margin:0;color:#2b2b2b;font-size:16px}
.home-split{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.home-split>div:first-child p{max-width:62ch}
@media(max-width:1100px){.cards4,.fourcards{grid-template-columns:repeat(2,minmax(0,1fr))}.home-split{grid-template-columns:1fr}}
@media(max-width:640px){.cards4,.fourcards{grid-template-columns:1fr}}
.quote .info .cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}
.quote .info p{margin:0 0 12px}
.quote .info p a:not(.btn){color:inherit}
.quote .info .btn{color:#fff}

/* ---- 8. one Contact page: the enquiry form, "Talk to us" wording and details in a single place ---- */
.sos-talk{max-width:none}

/* ---- 9. symmetry: a last row with fewer cards is centred, never pushed to one side (client, 21 Oct 2026) ---- */
.grid3,.grid2,.cards4,.fourcards{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;grid-template-columns:none}
.grid3>*{flex:0 1 calc((100% - 40px)/3);min-width:0}
.grid2>*{flex:0 1 calc((100% - 20px)/2);min-width:0}
.cards4>*,.fourcards>*{flex:0 1 calc((100% - 60px)/4);min-width:0}
.sos-steps{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;grid-template-columns:none}
.sos-steps>.sos-step{flex:0 1 calc((100% - (var(--cols,3) - 1)*18px)/var(--cols,3));min-width:0}
@media(max-width:1100px){
	.cards4>*,.fourcards>*,.sos-steps>.sos-step{flex-basis:calc((100% - 20px)/2)}
}
@media(max-width:980px){.grid3>*{flex-basis:calc((100% - 20px)/2)}}
@media(max-width:640px){
	.grid3>*,.grid2>*,.cards4>*,.fourcards>*,.sos-steps>.sos-step{flex-basis:100%}
}

/* ---- 10. smaller screens: one column, nothing wider than the screen ---- */
@media(max-width:980px){
	.pg .wrap,.pg.has-wide .wrap{grid-template-columns:minmax(0,1fr)}
	.pg .wrap>*{min-width:0}
}
@media(max-width:860px){
	.quote{grid-template-columns:minmax(0,1fr)}
}
.quote>*,.hero .wrap>*,.home-split>*{min-width:0}
.enq,.enq *{min-width:0}
.card-click h3{overflow-wrap:anywhere}
