/* caflatfee.com mock-up: the only additions to the AZ design (base.css is a byte copy). Kit colors only. */
.ptog{display:flex;gap:8px;margin:0 0 18px}
.ptog button{flex:1;font:500 14px/1 Poppins,sans-serif;padding:11px 0;border-radius:99px;border:1.5px solid var(--line);background:#fff;color:var(--dark);cursor:pointer}
.ptog button.on{background:var(--dark);border-color:var(--dark);color:#fff}
.pgrid.ca3{grid-template-columns:repeat(3,minmax(0,1fr))}
.plan .pfor{font-size:15px;margin:10px 0 0}.plan .btn{margin-top:22px;align-self:flex-start}.plan .btn.ghost{background:transparent;border:1.5px solid var(--dark);color:var(--dark)}.plan.sig .price{font-size:38px}.pnote{text-align:center;margin-top:18px}
.logo img{height:44px}
.offices4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
@media(max-width:1020px){.pgrid.ca3{grid-template-columns:minmax(0,520px);justify-content:center}.offices4{grid-template-columns:1fr 1fr}.logo img{height:34px}}
@media(max-width:560px){.offices4{grid-template-columns:1fr}.logo img{height:30px}}
.offices4 .o:nth-child(4){background:var(--green-pale)}
.offices4 .o a{font-size:24px;white-space:nowrap}
.logos img{height:34px;max-width:200px;object-fit:contain}
@media(max-width:1020px){.logos img{height:28px;max-width:150px}}
/* Home page videos, kept from live (Richard, 11/08/2026): a muted loop behind the hero, the short-video answers, the client video strip. */
.hhero{overflow:hidden;isolation:isolate}.hhero .hvid{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hhero::before{z-index:1}.hhero .wrap{z-index:2}
.play{position:absolute;left:50%;top:50%;width:56px;height:56px;transform:translate(-50%,-50%)}
.vsec{padding:96px 0;background:var(--gray)}.vsec .wrap{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:64px;align-items:center}
.vshort{position:relative;display:block;aspect-ratio:9/16;max-width:100%;border-radius:var(--r);overflow:hidden;background:var(--ink)}.vshort img{width:100%;height:100%;object-fit:cover;display:block}
.vlist{list-style:none;margin:0;padding:0;display:grid;gap:10px}.vlist a{color:var(--dark);text-decoration-color:var(--green);text-underline-offset:3px}
.vsec .btn{margin-top:28px}.vsec .sub{margin:10px 0 22px}
.vclients{padding:88px 0;background:var(--gray)}.vclients .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:64px;align-items:center}.vstrip{display:grid;grid-template-columns:repeat(2,240px);gap:20px}.vtile b{position:absolute;left:16px;bottom:14px;color:#fff;font-weight:600;font-size:15px;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.vtile{position:relative;display:block;aspect-ratio:9/16;max-width:100%;border-radius:16px;overflow:hidden;background:var(--ink)}.vtile img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:860px){.vsec{padding:64px 0}.vsec .wrap{grid-template-columns:minmax(0,1fr);gap:32px}.vshort{max-width:300px}.vclients{padding:64px 0}.vclients .wrap{grid-template-columns:minmax(0,1fr);gap:28px}.vstrip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.hhero .hvid{display:none}}
/* Home section colors alternate (Richard, 11/08/2026): short videos on gray, so Recently sold moves to white. */
.hsold{background:#fff}
/* Page types added 11/08/2026: a hidden attribute must win over .btn's display (thank-you page shows the guide or the consult message). */
[hidden]{display:none!important}
/* The blog's featured-post card sits inside the white hero text color; keep its text dark (the AZ blog mock-up has the same markup). */
.ptop .pt{color:var(--ink)}.ptop .pt p{font-size:16px;margin-bottom:0}
/* Split heroes stack on phones and tablets, so the section is far taller than its photo (2400 x 948 at most): "cover" stretched
   it 1.3 to 1.9x. Below 1020 the photo keeps its own height at the top and fades into the dark band under the form. */
@media(max-width:1020px){.ptop.split{background-size:auto 840px;background-position:50% 0;background-repeat:no-repeat}.ptop.split::before{background:linear-gradient(180deg,rgba(33,37,41,.76) 0,rgba(33,37,41,.6) 560px,var(--ink) 840px)}}
.vplay{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:#000}
