/* Site-wide tweaks layered over the original page CSS */

@media(max-width:899px){
  /* home hero: the four selling points as icon tiles (mobile only) */
  .hero .usps[data-astro-cid-j7pv25f6]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:620px;margin:4px 0 26px}
  .hero .usps[data-astro-cid-j7pv25f6] li[data-astro-cid-j7pv25f6]{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:9px;padding:14px 8px 12px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(4px);font-size:.84rem;font-weight:600;line-height:1.25}
  .hero .usps[data-astro-cid-j7pv25f6] li[data-astro-cid-j7pv25f6] .icon{width:30px;height:30px;padding:8px;box-sizing:content-box;border-radius:50%;background:rgba(248,192,52,.14)}

  /* phone and WhatsApp already live in the bottom bar on mobile */
  .promo[data-astro-cid-3ef6ksr2]{display:none}
  /* hero call buttons duplicate the Call button in the bottom bar */
  .ph .ctas a[href^="tel:"],.hero .ctas a[href^="tel:"]{display:none}
  .hero .usps[data-astro-cid-j7pv25f6]{gap:8px}
  .hero .usps[data-astro-cid-j7pv25f6] li[data-astro-cid-j7pv25f6]{padding:11px 4px 10px;font-size:.74rem;gap:7px}
  .hero .usps[data-astro-cid-j7pv25f6] li[data-astro-cid-j7pv25f6] .icon{width:22px;height:22px;padding:7px}
}

/* Brand logo strip: one auto-scrolling row on mobile */
@media(min-width:900px){.bstrip li[aria-hidden="true"]{display:none}}
@media(max-width:899px){
  .bstrip[data-astro-cid-f2nfb77a]{padding:26px 0}
  .bstrip[data-astro-cid-f2nfb77a] .wrap{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
  .bstrip.marquee[data-astro-cid-f2nfb77a] ul[data-astro-cid-f2nfb77a]{display:flex;gap:40px;width:max-content;animation:bs-scroll 28s linear infinite}
  .bstrip.marquee[data-astro-cid-f2nfb77a] li[data-astro-cid-f2nfb77a]{flex:none}
  .bstrip.marquee[data-astro-cid-f2nfb77a] img[data-astro-cid-f2nfb77a]{max-width:none}
  .bstrip.marquee:hover ul,.bstrip.marquee:focus-within ul{animation-play-state:paused}
}
@keyframes bs-scroll{to{transform:translateX(calc(-50% - 20px))}}
@media(prefers-reduced-motion:reduce){.bstrip.marquee ul{animation:none!important;overflow-x:auto}}

/* ---- Robust to larger browser text sizes (Chrome "Large" font, Windows text scaling) ---- */
/* Top bar: never wrap or cut a label; site.js drops whole items that don't fit */
.promo-links[data-astro-cid-3ef6ksr2]{flex:none}
.promo-links[data-astro-cid-3ef6ksr2] a[data-astro-cid-3ef6ksr2]{white-space:nowrap}
.promo-l[data-astro-cid-3ef6ksr2] li[data-astro-cid-3ef6ksr2]{flex:none}
.promo-l[data-astro-cid-3ef6ksr2] li.fit-hide{display:none!important}
/* Header: when space is tight, site.js hides the phone block, then tightens the menu */
.hdr-in.fit-1 .hdr-phone{display:none!important}
.hdr-in.fit-2 .nav>ul>li>a{padding-inline:5px!important;font-size:.88rem!important}
.hdr-in.fit-2 .brand img{max-width:190px;height:auto}
.hdr-cta[data-astro-cid-3ef6ksr2],.hdr-cta a{white-space:nowrap}
/* Review cards: stars never run into the Google mark */
.rtop[data-astro-cid-h3xzfrp5]{flex-wrap:wrap}
.mid[data-astro-cid-h3xzfrp5]{flex:1 0 auto}
.stars[data-astro-cid-h3xzfrp5],.vr[data-astro-cid-h3xzfrp5]{white-space:nowrap}
.rtop[data-astro-cid-h3xzfrp5] .src{flex:none;margin-left:auto}
/* About section badges: wrap onto their own row instead of squeezing into three-line labels */
.ab-f[data-astro-cid-f5qkj6ku] ul[data-astro-cid-f5qkj6ku]{flex:1 1 19em}
.ab-f[data-astro-cid-f5qkj6ku] li[data-astro-cid-f5qkj6ku]{flex:1 1 0;max-width:none;min-width:0}
.ab-f[data-astro-cid-f5qkj6ku]{flex-direction:column;align-items:flex-start;gap:18px}
.ab-f[data-astro-cid-f5qkj6ku] ul[data-astro-cid-f5qkj6ku]{flex:none;width:100%;max-width:460px}
/* Long button labels on small screens: wrap neatly inside the button instead of pushing the page sideways */
@media(max-width:899px){
  .btn{max-width:100%;white-space:normal;text-align:center;line-height:1.25;padding-block:12px}
  .btn .icon,.btn svg{flex:none}
}
/* Brand cards: equal visual logo size */
img.lg.lg-norm{width:auto!important;max-width:170px;object-fit:contain;display:block}

/* Blog pagination */
.pgn{margin-top:44px}
.pgn ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.pgn .pg-n{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;height:44px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-weight:600;text-decoration:none}
.pgn a.pg-n:hover{border-color:var(--green);color:var(--green)}
.pgn .pg-n.on{background:var(--navy);border-color:var(--navy);color:#fff}
/* Blog author line */
.ah .meta.au{display:flex;align-items:center;gap:12px;color:#c9d2db}
.au-ph{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:none}
.au-in{display:inline-grid;place-items:center;background:var(--yellow);color:var(--navy);font-weight:700;font-size:.82rem}
.au>span{display:grid;line-height:1.35}
.au-n strong{color:#fff;font-weight:600}
.au-d{font-size:.9em;color:#aab5c0}
ol.pr li p+p{margin-top:10px!important}
.faq .a ul.fl{margin:6px 0 12px;padding-left:20px}.faq .a ul.fl li{margin:4px 0}
@media(min-width:1000px){ul.ic.light.w3{grid-template-columns:repeat(3,1fr)!important}ul.ic.light li.wide{grid-column:1/-1}ul.ic.light li.wide>p{break-inside:avoid}ul.ic.light li.wide{column-count:2;column-gap:40px}ul.ic.light li.wide>.ii,ul.ic.light li.wide>h3{column-span:all}}
/* 404 page */
.nf-hero{background:var(--navy);color:#fff;padding:72px 0 64px;position:relative;overflow:hidden}
.nf-hero .wrap{position:relative}
.nf-hero .nf-code{position:absolute;right:0;top:-30px;margin:0;font-size:clamp(7rem,22vw,15rem);font-weight:700;line-height:1;color:rgba(255,255,255,.06);pointer-events:none}
.nf-hero .eyebrow{color:var(--yellow)}
.nf-hero h1{color:#fff;margin:10px 0 14px;max-width:16ch}
.nf-hero .lead{color:rgba(255,255,255,.8);max-width:58ch}
.nf-btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.nf-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.nf-col{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 22px 14px}
.nf-col h2{font-size:1.15rem;margin:0 0 10px;padding-bottom:10px;border-bottom:2px solid var(--yellow)}
.nf-col ul{list-style:none;margin:0;padding:0}
.nf-col li a{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line);font-weight:500}
.nf-col li:last-child a{border-bottom:0}
.nf-col li a:hover{color:var(--green)}
@media(max-width:999px){.nf-grid{grid-template-columns:1fr 1fr}}
@media(max-width:599px){.nf-grid{grid-template-columns:1fr}.nf-hero{padding:56px 0 48px}}
.nf-btns .btn-outline-light{border:2px solid rgba(255,255,255,.55);color:#fff;background:transparent}.nf-btns .btn-outline-light:hover{border-color:var(--yellow);color:var(--yellow)}
