/* Inner pages on the home page theme (Plus Jakarta Sans, light sections, 27px rounded cards, beige and sky panels,
   red buttons). Every inner page body is "rf-home kk-in", so the home tokens in qhome.css / qexact.css apply.
   Loaded last on every page. */

/* ---------- hero: full-bleed real photo, dark gradient, big white headline, home wave ---------- */
.khero { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; min-height: clamp(460px, 42vw, 640px); }
.khero.compact { min-height: clamp(380px, 30vw, 470px); }
.khero-media { position: absolute; inset: 0; z-index: -1; background: #1b2329; }
.khero-media picture { display: block; width: 100%; height: 100%; }
.khero-media img { width: 100%; height: 100%; object-fit: cover; animation: rfIn 1.6s var(--ease) both; }
.khero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 22, 48, .64) 0%, rgba(6, 22, 48, .46) 50%, rgba(6, 22, 48, .6) 100%); }
.khero-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-top: calc(108px + 2.4vw); padding-bottom: clamp(70px, 7.4vw, 116px); }
.khero-crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 9px; font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .86); }
.khero-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.khero-crumbs i { font-style: normal; opacity: .55; }
.khero-crumbs span { color: #fff; }
.khero-title { font-size: clamp(42px, 5.4vw, 92px); font-weight: 700; letter-spacing: -.04em; line-height: 1.03; margin: 14px auto 14px; max-width: 15ch; text-wrap: balance; text-shadow: 0 4px 30px rgba(4, 18, 40, .35); }
.khero.compact .khero-title { font-size: clamp(38px, 4.4vw, 72px); max-width: 18ch; }
.khero-sub { font-size: clamp(16px, 1.3vw, 21px); line-height: 1.55; max-width: 44rem; font-weight: 500; color: rgba(255, 255, 255, .95); text-shadow: 0 1px 2px rgba(4, 14, 30, .85), 0 2px 14px rgba(4, 14, 30, .6); text-wrap: pretty; }
.khero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(22px, 2.3vw, 34px); }
.khero-btns .kb { min-width: clamp(200px, 16vw, 260px); }
.khero .qh-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(28px, 4.2vw, 64px); fill: #fff; z-index: 3; pointer-events: none; }
.kk-in .qusp + .qsec { padding-top: clamp(24px, 3.2vw, 56px); }
.kk-in main > .qsec:last-child { padding-bottom: clamp(48px, 6.4vw, 96px); }

/* ---------- text ---------- */
.kh { font-size: clamp(22px, 2.1vw, 32px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; color: var(--q-ink); margin: clamp(30px, 3.4vw, 48px) 0 14px; }
.kprose > .kh:first-child, .kpanel > .kh:first-child, .kpdp-tx .kh { margin-top: 0; }
.kprose p { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.75; color: #3d4349; }
.kprose p + p { margin-top: 14px; }
.kpost p { font-size: clamp(16px, 1.25vw, 18.5px); }
.kmute { font-size: 14.5px; line-height: 1.65; color: var(--q-mute); margin-top: 16px; }
.klead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: #3d4349; }
.kprose a, .klead a, .kmute a { color: var(--q-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.knarrow { max-width: 900px; }
.kafter { margin-top: clamp(22px, 2.6vw, 36px); }

/* ---------- content + sticky side card ---------- */
.kside-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.kside { position: sticky; top: 96px; display: grid; gap: 10px; background: var(--t-beige); border-radius: var(--q-r); padding: clamp(24px, 2.6vw, 40px); }
.kside h3 { font-size: clamp(22px, 1.9vw, 30px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; color: var(--q-ink); }
.kside > p { font-size: 15px; line-height: 1.6; color: #3d4349; margin: 2px 0 10px; }
.kside .kb { width: 100%; min-width: 0; }
.kside .kb-line { background: #fff; border-color: transparent; }
.kside .kb-line:hover { border-color: var(--q-ink); }
.kside .kside-small { font-size: 13.5px; line-height: 1.55; color: var(--q-mute); margin: 6px 0 0; }
.kside-small a { color: var(--q-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* checklist (what the visit covers) */
.kticks { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.kticks li { display: flex; gap: 14px; align-items: flex-start; background: var(--t-sky); border-radius: 18px; padding: 16px 18px; font-size: 15px; line-height: 1.55; color: #3d4349; }
.kticks li b { display: block; color: var(--q-ink); font-weight: 600; margin-bottom: 2px; }

/* flat icon tile where there is no job photo (no renders) */
.rf-home .itile { background: var(--t-sky); color: var(--q-ink); gap: 10px; }
.rf-home .itile svg { color: var(--q-red); stroke-width: 1.5; }
.rf-home .itile b { color: var(--q-ink); font-weight: 600; letter-spacing: -.02em; }
.rf-home .itile small { color: var(--q-mute); }
.kcard-img .itile b, .kprod-img .itile b, .qshop-img .itile b { display: none; }
.kill { position: relative; margin-top: 22px; aspect-ratio: 16 / 7; border-radius: var(--q-r); overflow: hidden; }

/* photos */
.kgal { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); height: clamp(340px, 38vw, 580px); }
.kgal-shot { border-radius: var(--q-r); overflow: hidden; background: var(--t-sky); min-height: 0; }
.kgal-shot:first-child { grid-row: span 2; }
.kgal-shot img { width: 100%; height: 100%; object-fit: cover; }
.kk-in .qh2:not(.c) { margin-bottom: clamp(20px, 2.4vw, 36px); }

/* questions on the blue band, as the home accordion cards */
.kfaq-in { display: grid; grid-template-columns: minmax(0, 590fr) minmax(0, 697fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.kfaq-tx p { font-size: clamp(14px, 1.08vw, 16px); line-height: 1.65; color: var(--q-mute); margin-top: 16px; max-width: 40ch; }
.kfaq .qacc summary span { line-height: 1.3; padding: 14px 0; }
.kfaq .qacc p { padding: 0 0 20px; }
.kk-in .kfaq { margin-top: clamp(48px, 6.4vw, 96px); }

/* tinted panel */
.kpanel { background: var(--t-beige); border-radius: var(--q-r); padding: clamp(24px, 3.4vw, 52px); }
.kpanel.ktoolbox { background: var(--t-sky); }
.kchips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.kchip { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--q-ink); transition: box-shadow .25s, transform .25s; }
.kchip:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(19, 26, 32, .4); }
.kchip .karr, .kcard-more .karr, .qshop-tx .karr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; flex: none; }

/* ---------- cards ---------- */
.kcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3vw, 46px) clamp(14px, 2.3vw, 34px); }
.kcard { display: flex; flex-direction: column; }
.kcard-img { position: relative; aspect-ratio: 402 / 255; border-radius: var(--q-r); overflow: hidden; background: var(--t-sky); }
.kcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.kcard:hover .kcard-img img { transform: scale(1.04); }
.kcard-img .itile { position: absolute; inset: 0; }
.kcard-kick { display: block; margin-top: clamp(14px, 1.6vw, 22px); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--q-mute); }
.kcard h3 { font-size: clamp(20px, 1.8vw, 28px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; margin-top: 8px; color: var(--q-ink); }
.kcard p { font-size: 15px; line-height: 1.6; color: var(--q-mute); margin-top: 8px; }
.kcard-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--q-ink); }
.kcard:hover .kcard-more .karr { transform: translateX(3px); }

/* parishes: white cards on light grey, like the home service cards */
.karea-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 26px); }
.karea { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border-radius: var(--q-r); padding: clamp(20px, 2.2vw, 32px); box-shadow: 0 2px 30px -10px rgba(19, 26, 32, .14); transition: transform .3s, box-shadow .3s; }
.karea:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(19, 26, 32, .25); }
.karea-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #ffd9d6; color: var(--q-red); }
.karea-ic svg, .qtrust-ic svg, .ktool .qsvc-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.karea h3 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.03em; margin-top: 14px; color: var(--q-ink); }
.karea p { font-size: 14px; line-height: 1.55; color: var(--q-mute); margin: 8px 0 16px; flex: 1; }
.karea .kb { margin-top: auto; }
.karea:hover .kb-line { border-color: var(--q-ink); }

/* our work photos */
.kworks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 40px) clamp(14px, 2.3vw, 34px); }
.kwork-img { aspect-ratio: 4 / 3; border-radius: var(--q-r); overflow: hidden; background: var(--t-sky); }
.kwork-img img { width: 100%; height: 100%; object-fit: cover; }
.kwork figcaption { font-size: 14.5px; line-height: 1.55; color: #3d4349; }

/* contact */
.kcontact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kc { display: flex; align-items: center; gap: 14px; background: var(--t-sky); border-radius: 20px; padding: 18px; min-width: 0; transition: transform .25s, box-shadow .25s; }
.kc:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(19, 26, 32, .35); }
.kc small { display: block; font-size: 12.5px; color: var(--q-mute); }
.kc b { display: block; font-size: clamp(15px, 1.2vw, 18px); font-weight: 600; color: var(--q-ink); overflow-wrap: anywhere; }

/* tools */
.ktools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.3vw, 34px); }
.ktool { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: var(--q-r); padding: clamp(26px, 2.8vw, 40px) clamp(18px, 2vw, 30px); box-shadow: 0 2px 30px -10px rgba(19, 26, 32, .14); transition: transform .3s, box-shadow .3s; }
.ktool:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(19, 26, 32, .25); }
.ktool .qsvc-ic { width: 54px; height: 54px; margin-bottom: 0; }
.ktool .kcard-kick { margin-top: 14px; }
.ktool h3 { font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.03em; margin-top: 6px; color: var(--q-ink); }
.ktool p { font-size: 14.5px; line-height: 1.55; color: var(--q-mute); margin: 8px 0 18px; flex: 1; }
.ktool:hover .kb-line { border-color: var(--q-ink); }
.kfields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.kfield { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--q-ink); }
.kfield input, .kfield select { height: 52px; border-radius: 14px; border: 1.5px solid var(--q-line); background: #fff; padding: 0 14px; font: inherit; font-size: 16px; color: var(--q-ink); width: 100%; min-width: 0; }
.kfield input:focus, .kfield select:focus { outline: none; border-color: var(--q-ink); }
.kout { font-size: clamp(19px, 1.7vw, 26px); font-weight: 600; letter-spacing: -.03em; line-height: 1.3; color: var(--q-ink); margin: 20px 0 16px; }
.kopts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.kopt { min-height: 54px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1.5px solid transparent; text-align: left; font-size: 15px; font-weight: 600; color: var(--q-ink); transition: border-color .2s, transform .2s; }
.kopt:hover { transform: translateY(-2px); }
.kopt.on { border-color: var(--q-red); background: #fff6f5; }
.kres { margin-top: 20px; padding: 20px; border-radius: 20px; background: #fff; display: grid; gap: 6px; }
.kres p { font-size: 15px; line-height: 1.6; color: #3d4349; }
.kres strong { color: var(--q-ink); }
.kres .kb { margin-top: 10px; justify-self: start; }
.kres[hidden] { display: none; }
.kseg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 22px; }
.kseg span { width: 100%; font-size: 13.5px; font-weight: 600; color: var(--q-ink); }
.kseg button { height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1.5px solid transparent; font-size: 14px; font-weight: 600; color: var(--q-ink); }
.kseg button.on { border-color: var(--q-red); background: #fff6f5; }

/* ---------- shop ---------- */
.kshopnote { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 2vw, 28px); background: var(--t-sky); border-radius: var(--q-r); padding: clamp(20px, 2.6vw, 36px) clamp(20px, 3vw, 44px); }
.kshopnote p { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; color: #3d4349; }
.kshopnote b { color: var(--q-ink); font-weight: 600; }
.kprod-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.3vw, 34px); }
.kprod { display: flex; flex-direction: column; background: #fff; border-radius: var(--q-r); overflow: hidden; box-shadow: 0 2px 30px -10px rgba(19, 26, 32, .14); }
.kprod-img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--t-beige); overflow: hidden; }
.kprod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.kprod:hover .kprod-img img { transform: scale(1.04); }
.kprod-img .itile { position: absolute; inset: 0; }
.kprod-tx { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, 1.9vw, 28px); }
.kprod-tx .kcard-kick { margin-top: 0; }
.kprod-tx h3 { font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; margin-top: 6px; color: var(--q-ink); }
.kprod-tx p { font-size: 14.5px; line-height: 1.55; color: var(--q-mute); margin-top: 8px; flex: 1; }
.kprice { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--q-ink); }
.kprod-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.kprod-btns .kb { flex: 1 1 140px; min-width: 0; }

/* product page */
.kpdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4.6vw, 72px); align-items: center; }
.kpdp-media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--q-r); overflow: hidden; background: var(--t-beige); }
.kpdp-media img { width: 100%; height: 100%; object-fit: cover; }
.kpdp-media .itile { position: absolute; inset: 0; }
.kpdp-tx .kcard-kick { margin: 0 0 8px; }
.kpdp-tx p { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.65; color: #3d4349; }
.kpdp-tx .kmute { font-size: 14.5px; color: var(--q-mute); margin-top: 12px; }
.kfacts { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: 24px; }
.kfacts div { padding: 0 clamp(16px, 2.2vw, 34px); border-left: 1px solid rgba(19, 26, 32, .18); }
.kfacts div:first-child { padding-left: 0; border-left: 0; }
.kfacts small { display: block; font-size: 13px; color: var(--q-mute); }
.kfacts b { display: block; font-size: clamp(15px, 1.25vw, 18px); font-weight: 600; color: var(--q-ink); margin-top: 4px; }
.kpdp-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.6vw, 34px); }

/* blog index: the home "Latest guides" cards, two per row on phones */
.kblog { row-gap: clamp(28px, 3.4vw, 50px); }

/* ---------- quote studio on the home look ---------- */
.kk-in .qs-sec { background: #fff; padding: clamp(24px, 3.2vw, 56px) 0 0; overflow: visible; }
.kk-in .qs-sec::before, .kk-in .qs-sec::after, .kk-in .qs-sec .kwrap::before, .kk-in .qs-sec .kwrap::after { display: none; }
.kk-in .qs-head { text-align: center; max-width: 720px; margin: 0 auto clamp(22px, 2.6vw, 36px); }
.kk-in .qs-lead { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; color: var(--q-mute); margin-top: 12px; }
.kk-in .qs { border-radius: var(--q-r); border: 0; box-shadow: 0 2px 40px -12px rgba(19, 26, 32, .2); }
.kk-in .qs-step h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.03em; color: var(--q-ink); }
.kk-in .qo { border-radius: 16px; border-color: var(--q-line); }
.kk-in .qo .qi { background: #ffd9d6; color: var(--q-red); }
.kk-in .qo.sel .qi { background: var(--q-red); color: #fff; }
.kk-in .qs-r { background: var(--t-ink2); }
.kk-in .qs-bar i { background: var(--q-red); }
.kk-in .qs-form input:focus, .kk-in .qs-form select:focus { border-color: var(--q-ink); box-shadow: none; }
.kb.wide { width: 100%; margin-top: 6px; }
.kk-in .qs-next { font-weight: 600; box-shadow: none; }
.kk-in .qs-next:not(:disabled) { background: var(--q-red); }
.kk-in .qs-next:hover:not(:disabled) { background: var(--q-red-d); }
.kk-in .qs-meter small, .kk-in .qs-num small, .kk-in .qs-num .dash, .kk-in .qs-chips .chip small { color: #b9c7c4; }
.kk-in .qs-meter p, .kk-in .qs-price small { color: #d3dcda; }

/* ---------- tablet / phone ---------- */
@media (max-width: 1100px) {
  .karea-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .kside-grid, .kfaq-in, .kpdp { grid-template-columns: 1fr; }
  .kside { position: static; }
  .kcards, .kprod-row, .kworks, .ktools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .karea-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kshopnote { grid-template-columns: auto 1fr; }
  .kshopnote .kb { grid-column: 1 / -1; justify-self: start; }
  .kpdp-media { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .khero, .khero.compact { min-height: 0; }
  .khero-in { padding-top: 124px; padding-bottom: 66px; }
  .khero-title, .khero.compact .khero-title { font-size: 36px; line-height: 1.08; max-width: 100%; }
  .khero-sub { font-size: 15.5px; }
  .khero-btns { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .khero-btns .kb { width: 100%; min-width: 0; }
  .khero-crumbs { font-size: 12.5px; }
  .kk-in .qusp + .qsec { padding-top: 26px; }
  .kgal { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; gap: 10px; }
  .kgal-shot { aspect-ratio: 3 / 4; border-radius: 16px; }
  .kgal-shot:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .kticks li { padding: 14px; font-size: 14.5px; }
  .kill { aspect-ratio: 16 / 9; border-radius: 18px; }
  .kcards { grid-template-columns: 1fr; }
  .kcard-img { border-radius: 18px; }
  .kprod-row { grid-template-columns: 1fr; gap: 14px; }
  .kprod { display: grid; grid-template-columns: 38% 1fr; border-radius: 18px; }
  .kprod-img { aspect-ratio: auto; min-height: 100%; }
  .kprod-tx { padding: 14px 14px 16px; }
  .kprod-tx p { display: none; }
  .kprod-btns { flex-direction: column; gap: 6px; margin-top: 12px; }
  .kprod-btns .kb { flex: none; width: 100%; height: 38px; padding: 0 12px; font-size: 12.5px; }
  .karea-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .karea { padding: 16px 14px; border-radius: 18px; }
  .karea-ic { width: 38px; height: 38px; }
  .karea p { display: none; }
  .karea h3 { margin: 10px 0 12px; font-size: 16px; }
  .karea .kb { height: 36px; padding: 0 12px; font-size: 12px; min-width: 0; max-width: 100%; }
  .kworks { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .kwork-img { border-radius: 16px; }
  .kwork figcaption { font-size: 12.5px; }
  .kcontact { grid-template-columns: 1fr; }
  .ktools { grid-template-columns: 1fr; }
  .kfields, .kopts { grid-template-columns: 1fr; }
  .kshopnote { grid-template-columns: 1fr; text-align: left; }
  .kshopnote .kb { width: 100%; min-width: 0; }
  .kpanel { border-radius: 20px; }
  .kfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .kfacts div, .kfacts div:first-child { padding: 0; border: 0; }
  .kpdp-btns .kb, .kres .kb { width: 100%; min-width: 0; }
  .kblog.qnews-row { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .kblog .qnews-meta { display: block; font-size: 11px; margin-top: 10px; }
  .kblog .qnews h3 { font-size: 15px; line-height: 1.3; }
  .kk-in .qs { border-radius: 20px; }
}

/* ---------- descriptive app buttons: long labels wrap instead of overflowing ---------- */
.kb { text-align: center; }
.kside .kb, .khero-btns .kb, .qapp-cta .kb, .kprod-btns .kb, .kpdp-btns .kb, .kres .kb { height: auto; min-height: 46px; padding-top: 11px; padding-bottom: 11px; white-space: normal; line-height: 1.25; }
.kprod-btns .kb.sm { min-height: 42px; }
.kside-more { font-size: 14.5px; line-height: 1.6; color: #3d4349; margin: 0 0 8px; padding-top: 12px; border-top: 1px solid rgba(19, 26, 32, .1); }
.kside-more b { color: var(--q-ink); font-weight: 600; }
.kwork figcaption { margin-top: 12px; }
.kwork figcaption .kcard-kick { margin-top: 0; }
.kwork h3 { font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.03em; color: var(--q-ink); margin-top: 4px; }
.kwork figcaption p { font-size: 14px; line-height: 1.55; color: var(--q-mute); margin-top: 4px; }
.kprod-btns { flex-direction: column; }
.kprod-btns .kb { flex: none; width: 100%; }
@media (max-width: 760px) {
  .rf-home .qprod-btns .kb { height: auto; min-height: 44px; padding-top: 10px; padding-bottom: 10px; white-space: normal; line-height: 1.25; }
  .proof .pbtn { height: auto; min-height: 50px; padding: 10px 18px; white-space: normal; text-align: center; line-height: 1.2; }
  .kprod-btns .kb { height: auto; min-height: 38px; padding: 8px 12px; }
  .kwork h3 { font-size: 15px; }
  .kwork figcaption p { font-size: 12.5px; }
}
/* home service cards: the descriptive app labels wrap inside the card */
.qsvc { min-width: 0; }
.qsvc .kb { height: auto; min-height: 42px; padding-top: 9px; padding-bottom: 9px; white-space: normal; line-height: 1.25; }
@media (max-width: 420px) { .tq-x { display: none; } }

/* phone menu: a card under the header, not the whole screen; tap outside or the X to close */
@media (max-width: 960px) {
  .mnav { inset: auto 10px auto 10px; top: 74px; bottom: auto; max-height: calc(100dvh - 96px); overflow-y: auto; padding: 14px; gap: 2px; border-radius: 22px;
    background: #fff; color: var(--t-ink, #10201c); box-shadow: 0 24px 60px -18px rgba(8, 20, 18, .45), 0 0 0 1px rgba(8, 20, 18, .06);
    clip-path: none; opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1); }
  .mnav.open { opacity: 1; transform: none; pointer-events: auto; clip-path: none; }
  .mnav a { font-family: inherit; font-size: 17px; font-weight: 600; text-transform: none; padding: 12px 10px; border-bottom: 0; border-radius: 12px; color: inherit; opacity: 1; transform: none; }
  .mnav a:hover { background: rgb(243, 245, 246); }
  .mnav .x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; color: var(--t-ink, #10201c); }
  .mnav .x .ms { font-size: 24px; }
  .mnav .mnav-app { margin: 34px 0 8px; }
}

/* WhatsApp message helper */
.wapop { position: fixed; right: 22px; bottom: 100px; z-index: 96; width: min(390px, calc(100vw - 24px)); max-height: calc(100dvh - 130px); overflow-y: auto; border-radius: 22px; background: #fff; color: var(--t-ink, #10201c);
  box-shadow: 0 30px 70px -20px rgba(8, 20, 18, .5), 0 0 0 1px rgba(8, 20, 18, .06); opacity: 0; transform: translateY(12px) scale(.98); transform-origin: bottom right; transition: opacity .2s ease, transform .26s cubic-bezier(.2, .8, .2, 1); }
.wapop.on { opacity: 1; transform: none; }
.wapop-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #075e54; color: #fff; border-radius: 22px 22px 0 0; position: sticky; top: 0; z-index: 1; }
.wapop-h b { display: block; font-size: 16px; } .wapop-h small { display: block; font-size: 12.5px; opacity: .85; }
.wapop-av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #25d366; display: grid; place-items: center; } .wapop-av svg { width: 22px; height: 22px; }
.wapop-x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.wapop-b { padding: 14px 16px 16px; display: grid; gap: 10px; }
.wapop-l { margin: 2px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #6b7a76; }
.wapop-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wapop-chip { border: 1px solid #dfe5e3; background: #f6f8f7; color: inherit; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.wapop-chip.on { background: #25d366; border-color: #25d366; color: #fff; }
.wapop textarea, .wapop input, .wapop select { width: 100%; border: 1px solid #dfe5e3; border-radius: 14px; padding: 10px 12px; font: inherit; font-size: 15px; background: #fff; color: inherit; box-sizing: border-box; }
.wapop textarea { resize: vertical; min-height: 92px; }
.wapop-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wapop-send { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 999px; background: #25d366; color: #fff; font-weight: 800; font-size: 16px; text-decoration: none; }
.wapop-send svg { width: 20px; height: 20px; }
.wapop-or { margin: 4px 0 0; text-align: center; font-size: 12.5px; font-weight: 700; color: #6b7a76; }
.wapop-app { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff1ef; color: inherit; text-decoration: none; border: 1px solid #ffd9d4; }
.wapop-app b { display: block; font-size: 15px; color: var(--t-orange, #e3261f); } .wapop-app small { display: block; font-size: 12.5px; color: #4b5a56; }
.wapop-app + .wapop-app { background: #eef7fc; border-color: #d2ebf8; } .wapop-app + .wapop-app b { color: #1283bd; }
.wapop-ai { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; font-size: 19px; box-shadow: 0 4px 10px rgba(8, 20, 18, .08); }
.qf-photos { margin: 10px 0 0; font-size: 11.5px; opacity: .7; line-height: 1.5; }
@media (max-width: 700px) { .wapop { right: 12px; left: 12px; width: auto; bottom: 86px; } }

.kill.kill-photo { overflow: hidden; border-radius: 24px; }
.kill.kill-photo img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }

/* ---------- blog posts: long reads on the home theme (hero meta, quick answer, contents, lists, photos, CTA box) ---------- */
.khero.kpost-hero .khero-title { font-size: clamp(36px, 4.2vw, 68px); max-width: 20ch; }
.khero-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; margin-top: 14px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 2px rgba(4, 14, 30, .85); }
.khero-meta i { font-style: normal; opacity: .6; }
.kart > * + * { margin-top: 16px; }
.kart > .klead { font-size: clamp(17px, 1.4vw, 20.5px); line-height: 1.7; color: var(--q-ink); }
.kart > .kh { margin: clamp(40px, 4vw, 60px) 0 0; scroll-margin-top: 104px; }
.kart > .kh3 { margin-top: 28px; }
.kart > .kh + *, .kart > .kh3 + * { margin-top: 12px; }
.kh3 { font-size: clamp(18px, 1.5vw, 23px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; color: var(--q-ink); }
.klist { padding-left: 1.35em; display: grid; gap: 8px; }
.klist li { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.7; color: #3d4349; padding-left: 4px; }
.klist li::marker { color: var(--q-red); font-weight: 700; }
.kart strong { color: var(--q-ink); font-weight: 600; }
.kart > .kquick, .kart > .ktoc { margin-top: clamp(22px, 2.4vw, 32px); }
.kquick { background: var(--t-sky); border-radius: 22px; padding: clamp(20px, 2.4vw, 32px); }
.kart .kquick-h, .kart .ktoc-h { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.kart .kquick-h { color: var(--q-red); }
.kquick ul { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.kquick li { display: flex; gap: 12px; align-items: flex-start; font-size: clamp(15.5px, 1.15vw, 17px); line-height: 1.55; color: #3d4349; }
.kquick .qapp-tick { width: 22px; height: 22px; padding: 5px; }
.ktoc { border: 1.5px solid var(--q-line); border-radius: 22px; padding: clamp(18px, 2vw, 28px); }
.kart .ktoc-h { color: var(--q-mute); }
.ktoc ol { margin-top: 10px; padding-left: 1.5em; display: grid; gap: 6px; }
.ktoc li { font-size: 15.5px; line-height: 1.45; color: var(--q-ink); }
.ktoc li::marker { color: var(--q-mute); font-weight: 600; }
.kart .ktoc a { font-weight: 500; text-decoration: none; }
.kart .ktoc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kart > .kfig { margin-top: clamp(26px, 3vw, 40px); }
.kart > .kfig + * { margin-top: clamp(24px, 2.6vw, 36px); }
.kfig-img { aspect-ratio: 4 / 3; border-radius: var(--q-r); overflow: hidden; background: var(--t-sky); }
.kfig-img img { width: 100%; height: 100%; object-fit: cover; }
.kfig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--q-mute); }
.kart > .kcta { margin-top: clamp(24px, 2.6vw, 36px); }
.kcta { background: var(--t-beige); border-radius: var(--q-r); padding: clamp(22px, 2.8vw, 40px); }
.kart .kcta-h { font-size: clamp(21px, 1.8vw, 28px); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; color: var(--q-ink); }
.kart .kcta p:not(.kcta-h) { font-size: 15.5px; line-height: 1.6; margin-top: 8px; }
.kcta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.kart .kcta-btns .kb { height: auto; min-height: 46px; padding: 11px 24px; white-space: normal; line-height: 1.25; text-decoration: none; }
.kart .kcta-btns .kb-fill { color: #fff; }
.kart .kcta-btns .kb-line { background: #fff; border-color: transparent; color: var(--q-ink); }
.kart .kcta-btns .kb-line:hover { border-color: var(--q-ink); }
.kart .kcta .kcta-small { font-size: 13.5px; color: var(--q-mute); margin-top: 14px; }
.kfaq[id] { scroll-margin-top: 64px; }
.kfaq .qacc p a { color: var(--q-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.kart a[href^="tel:"] { white-space: nowrap; }
.qnews-ex { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--q-mute); }
.qnews-head .qh2 { text-wrap: balance; }
@media (max-width: 760px) {
  .khero.kpost-hero .khero-title { font-size: 31px; line-height: 1.12; }
  .kpost-hero .khero-crumbs [aria-current], .kpost-hero .khero-crumbs i:last-of-type { display: none; } /* the H1 is right below */
  .khero-meta { font-size: 12.5px; margin-top: 10px; }
  .kquick, .ktoc { border-radius: 18px; }
  .kfig-img { border-radius: 18px; }
  .kcta { border-radius: 20px; }
  .kart .kcta-btns .kb { width: 100%; }
  .qnews-ex { display: none; }
  /* related posts: one row each, photo on the left */
  .krel.qnews-row { grid-template-columns: 1fr; gap: 14px; }
  .krel .qnews, .krel .qnews:nth-child(3) { display: grid; grid-template-columns: 36% 1fr; column-gap: 14px; align-items: center; }
  .krel .qnews-img { grid-row: span 2; aspect-ratio: 4 / 3; border-radius: 14px; }
  .krel .qnews-meta { display: block; margin-top: 0; font-size: 11px; align-self: end; }
  .krel .qnews h3 { font-size: 15.5px; line-height: 1.3; margin-top: 4px; align-self: start; letter-spacing: -.02em; }
}
