/* Plus Jakarta Sans (SIL Open Font License 1.1), self-hosted variable font, weights 300 to 700 */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/kk/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/assets/kk/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Exact template values (measured on the reference at 1440 wide). 1 unit = 1px at 1440 and scales with the
   viewport like the reference does. Loaded last on every page. */
.rf-home {
  --u: .069444vw;
  --t-ink: rgb(19, 26, 32);
  --t-ink2: rgb(8, 20, 18);
  --t-grey: rgb(84, 84, 84);
  /* CTA colour: Krispy Kool red (was the template orange rgb(250, 99, 45)) */
  --t-orange: rgb(227, 38, 31);
  --t-orange-d: rgb(197, 31, 25);
  --t-lime: rgb(204, 248, 34);
  --t-beige: rgb(243, 235, 225);
  --t-sky: rgb(234, 241, 245);
  --t-sage: rgb(226, 230, 222);
  --q-beige: var(--t-beige);
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}
.rf-home main, .rf-home .hdr.qn, .rf-home .qbar, .rf-home footer.qf, .rf-home footer.qf .qf-in { font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif; }
.rf-home .h1, .rf-home .qh2, .rf-home .qprod h3, .rf-home .qsol h3, .rf-home .qsvc h3, .rf-home .qnews h3, .rf-home .qacc summary { font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif; }

/* buttons: Krispy Kool red */
.rf-home .kb-fill, .rf-home .proof .pbtn, .rf-home .pbtn.fill { background: var(--t-orange); color: #fff; }
.rf-home .kb-fill:hover, .rf-home .proof .pbtn:hover, .rf-home .pbtn.fill:hover { background: var(--t-orange-d); }
.rf-home .qmsg-badge { background: var(--t-orange); }

/* ---------- announcement bar ---------- */
.rf-home .qbar { height: 36px; background: var(--t-lime); color: var(--t-ink); font-size: 13.44px; font-weight: 400; }
.rf-home .qbar a { font-weight: 500; }

/* ---------- header ---------- */
.hdr.qn.tq { top: 36px; height: 88px; }
.hdr.qn.tq .qn-in { display: flex; align-items: center; gap: 0; max-width: none; padding: 0 72px; }
.hdr.qn.tq .logo { margin-right: 26px; }
.hdr.qn.tq .logo img { height: 40px; }
.tq-links { display: flex; align-items: center; gap: 10px; }
.tq-t { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 12.1px 16.8px; border-radius: 13.44px; font-size: 13.44px; font-weight: 600; color: inherit; background: transparent; white-space: nowrap; transition: background .2s; cursor: pointer; }
.tq-t:hover { background: rgba(255, 255, 255, .12); }
.tq-dd > .tq-t { padding: 12.1px 13.44px 12.1px 16.8px; }
.tq-chev { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.tq-dd { position: relative; }
.tq-menu { position: absolute; left: 0; top: calc(100% + 8px); min-width: 230px; padding: 10px; border-radius: 16px; background: #fff; color: var(--t-ink); box-shadow: 0 20px 50px -18px rgba(8, 20, 18, .35); display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.tq-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.tq-menu a { padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.tq-menu a:hover { background: rgb(243, 245, 246); }
.tq-dd:hover .tq-menu, .tq-dd:focus-within .tq-menu, .tq-dd.open .tq-menu { opacity: 1; visibility: visible; transform: none; }
.tq-dd:hover .tq-chev, .tq-dd.open .tq-chev { transform: rotate(180deg); }
.hdr.qn.tq .qn-right { margin-left: auto; gap: 17px; }
.tq-pill { display: inline-flex; align-items: center; height: 42px; padding: 9.4px 16.8px 10.1px; border-radius: 26.88px; background: var(--t-orange); color: #fff; font-size: 13.44px; font-weight: 600; white-space: nowrap; transition: background .2s; }
.tq-pill:hover { background: var(--t-orange-d); }
.hdr.qn.tq.solid { top: 0; height: 72px; background: #fff; color: var(--t-ink); box-shadow: 0 1px 0 rgba(8, 20, 18, .08); }
.hdr.qn.tq.solid .tq-t:hover { background: rgb(243, 245, 246); }
.hdr.qn.tq .qn-links, .hdr.qn.tq nav.qn-links { display: none; }
@media (max-width: 1100px) { .tq-tel { display: none; } }
@media (max-width: 960px) {
  .hdr.qn.tq .qn-in { padding: 0 22px; }
  .tq-links { display: none; }
  .hdr.qn.tq .burger { display: flex; }
}
@media (max-width: 760px) {
  .hdr.qn.tq { top: 34px; height: 64px; }
  .hdr.qn.tq.solid { top: 0; height: 60px; }
  .hdr.qn.tq .logo img { height: 36px; }
  .tq-pill { height: 38px; padding: 0 16px; font-size: 13px; }
}

/* ---------- product cards: exact desktop layout ---------- */
.rf-home .qprod.beige { background: var(--t-beige); }
.rf-home .qprod.sky { background: var(--t-sky); }
.rf-home .qprod.sage { background: var(--t-sage); }
@media (min-width: 761px) {
  .rf-home .qprod-list { gap: calc(var(--u) * 48); }
  .rf-home .qprod, .rf-home .qprod.img-r { height: calc(var(--u) * 590); min-height: 0; border-radius: calc(var(--u) * 26.88); grid-template-columns: 45% 55%; }
  .rf-home .qprod.img-r { grid-template-columns: 55% 45%; }
  .rf-home .qprod.img-l .qprod-tx, .rf-home .qprod.img-r .qprod-tx { align-self: start; padding: calc(var(--u) * 101) 0 0; }
  .rf-home .qprod.img-l .qprod-tx { padding-right: calc(var(--u) * 101); }
  .rf-home .qprod.img-r .qprod-tx { padding-left: calc(var(--u) * 101); padding-right: calc(var(--u) * 40); }
  .rf-home .qprod-kick { display: block; font-size: calc(var(--u) * 30.24); line-height: 1.3; font-weight: 400; letter-spacing: calc(var(--u) * -.2856); color: var(--t-grey); }
  .rf-home .qprod h3 { font-size: calc(var(--u) * 53.76); line-height: 1.15; font-weight: 600; letter-spacing: -.04em; color: var(--t-ink); margin: calc(var(--u) * 10) 0 0; }
  .rf-home .qprod p { font-size: calc(var(--u) * 21.84); line-height: 1.6; font-weight: 400; letter-spacing: calc(var(--u) * -.2856); color: var(--t-grey); margin-top: calc(var(--u) * 13); }
  .rf-home .qprod-btns { margin-top: calc(var(--u) * 33); gap: calc(var(--u) * 12); }
  .rf-home .qprod-btns .kb { height: calc(var(--u) * 46); min-width: 0; padding: 0 calc(var(--u) * 20.16); border-radius: calc(var(--u) * 26.88); font-size: calc(var(--u) * 13.44); font-weight: 600; letter-spacing: 0; }
  .rf-home .qprod-btns .kb-fill { width: auto; min-width: calc(var(--u) * 269); border: 2px solid var(--t-orange); } /* grows to fit the descriptive app button text */
  .rf-home .qprod-btns .kb-line { width: calc(var(--u) * 173); border: 2px solid rgba(8, 20, 18, .2); color: var(--t-ink2); }
  .rf-home .qprod-btns .kb-line:hover { border-color: rgba(8, 20, 18, .45); }
  .rf-home .qprod-facts { margin-top: calc(var(--u) * 34); display: flex; }
  .rf-home .qprod-facts div { padding: 0 calc(var(--u) * 46); border-left: 2px solid rgba(0, 0, 0, .16); }
  .rf-home .qprod-facts div:first-child { padding-left: 0; border-left: 0; }
  .rf-home .qprod-facts small { display: block; font-size: calc(var(--u) * 13.44); line-height: 1.15; font-weight: 400; letter-spacing: -.04em; color: var(--t-grey); }
  .rf-home .qprod-facts b { display: block; font-size: calc(var(--u) * 16.8); line-height: 1.5; font-weight: 400; letter-spacing: calc(var(--u) * -.2856); color: var(--t-ink); margin-top: calc(var(--u) * 7); white-space: nowrap; }
  .rf-home .qprod.img-l .qprod-img img { object-position: right center; }
  .rf-home .qprod.img-r .qprod-img img { object-position: 40% center; }
}

/* phone product cards: template colours and weights on top of the measured layout */
@media (max-width: 760px) {
  .rf-home .qprod-kick { color: var(--t-grey); }
  .rf-home .qprod p { color: var(--t-grey); }
  .rf-home .qprod-facts small { color: var(--t-grey); font-size: 9.2px; letter-spacing: -.04em; }
  .rf-home .qprod-facts b { font-size: 12.9px; font-weight: 400; color: var(--t-ink); }
  .rf-home .qprod-btns .kb { font-size: 12.9px; font-weight: 600; border-radius: 26.88px; }
  .rf-home .qprod-btns .kb-line { border: 2px solid rgba(8, 20, 18, .2); color: var(--t-ink2); }
  .rf-home .qprod-btns .kb-fill { border: 2px solid var(--t-orange); }
}
/* beat older .hdr nav rules */
.hdr.qn.tq nav.tq-links { position: static; transform: none; gap: 10px; padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; font-size: 13.44px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.hdr.qn.tq nav.tq-links .tq-t, .hdr.qn.tq .qn-right .tq-t { padding: 12.1px 16.8px; opacity: 1; position: static; }
.hdr.qn.tq nav.tq-links .tq-dd > .tq-t { padding: 12.1px 13.44px 12.1px 16.8px; }
.hdr.qn.tq nav.tq-links a::after { display: none; }
.hdr.qn.tq nav.tq-links .tq-menu a { padding: 10px 12px; }
@media (min-width: 761px) { .hdr.qn.tq { height: 72px; } }
/* every left-image card gets the text inset (the first card used to rely on the margin inside its mockup render; it is a job photo now) */
@media (min-width: 761px) { .rf-home .qprod.img-l .qprod-tx { padding-left: calc(var(--u) * 64); } }
@media (min-width: 761px) { .rf-home .qprod.img-r .qprod-img img[data-slot="prod-commercial"], .rf-home .qprod.img-r .qprod-img picture img { object-position: left center; } }
/* all home page text in the template font (icon font spans excluded) */
.rf-home :is(h1, h2, h3, h4, h5, h6, p, a, button, small, b, strong, li, label, summary, input, select, textarea, span, div):not(.ms) { font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif !important; }

/* bigger header menu (desktop): larger tabs, call link, Get a quote button and logo */
@media (min-width: 961px) {
  .hdr.qn.tq { height: 84px; }
  .hdr.qn.tq.solid { height: 78px; }
  .hdr.qn.tq .logo img { height: 48px; }
  .hdr.qn.tq .logo { margin-right: 34px; }
  .hdr.qn.tq nav.tq-links { gap: 6px; font-size: 16px; }
  .tq-t, .hdr.qn.tq nav.tq-links .tq-t, .hdr.qn.tq .qn-right .tq-t { height: 50px; padding: 12px 18px; font-size: 16px; font-weight: 600; border-radius: 15px; }
  .hdr.qn.tq nav.tq-links .tq-dd > .tq-t { padding: 12px 14px 12px 18px; }
  .tq-chev { width: 22px; height: 22px; }
  .tq-pill { height: 50px; padding: 0 26px; font-size: 16px; border-radius: 30px; }
  .tq-menu { min-width: 250px; }
  .tq-menu a, .hdr.qn.tq nav.tq-links .tq-menu a { padding: 11px 14px; font-size: 15.5px; }
}
