/* wow-r4 2026-11-17 — preview only, not for production */

:root{
  --hdr:96px;
  --mbar:0px;
}
html{
  scroll-padding-top:var(--hdr);
  scroll-padding-bottom:var(--mbar);
}

/* f) Headings: Assistant is loaded 400–800 — use 800, not 900 */
html body #kv h1,
html body #kv h2,
html body #kv .dp-lines h1,
html body #kv .dp-about h2,
html body #kv .dpr h3,
html body #kv .dpr-cols h4,
html body #kv .dpr-h,
html body #kv .dp-leadsec h2,
html body #kv .dp-leadsec h2.dp-lh,
html body #kv .gr-head h2,
html body #kv .head h2,
html body #kv #process h2,
:root #kv h1,
:root #kv h2,
:root #kv main section .head h2,
:root #kv main h2.dp-out,
:root #kv .dp-leadsec h2.dp-lh,
:root #kv .dp-lines h1{
  font-weight:800 !important;
}

/* a) Scroll offset for sticky header (scene itself stays below the header) */
#kv #process,
#kv #contact,
#kv #lead,
#kv #about,
#kv #reviews,
#kv #services,
#kv #second-opinion,
#kv #faq,
#kv #latest,
#kv #top{
  scroll-margin-top:var(--hdr);
}

/* c) About / light-section H2: solid ink, never a gold outline on white */
#kv .dp-about h2,
#kv #about h2,
#kv #process h2,
#kv #faq h2,
#kv #latest h2,
#kv .dp-about h2.dp-out,
#kv #about h2.dp-out,
#kv #process h2.dp-out,
#kv #faq h2.dp-out,
#kv #latest h2.dp-out,
#kv .dp-about h2.dp-out.in,
#kv #about h2.dp-out.in{
  color:#0A1728 !important;
  -webkit-text-fill-color:#0A1728 !important;
  -webkit-text-stroke:0 !important;
  text-stroke:0 !important;
  opacity:1 !important;
  visibility:visible !important;
}

#kv .dp-about .dp-grid{align-items:start}
#kv .dp-about img.dp-portrait,
#kv .dp-about img{filter:none}

/* pinui / second-opinion CTA block */
#kv .dp-renew-note{
  margin:16px 0 0;
  color:#D3CCBE;
  font-size:17px;
  line-height:1.65;
  max-width:42ch;
}
#kv .dp-renew-ctas{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
  align-items:center;
}
#kv .dp-renew-ctas .dp-btn{margin-top:0}

/* e) Footer: services as a wide 2-col split, 5 columns overall */
#kv footer.site-foot .foot-grid{
  grid-template-columns:1fr 2.15fr 1.05fr .95fr .9fr !important;
  gap:36px 28px;
}
#kv footer.site-foot .foot-services,
#kv footer.site-foot .foot-split{width:100%;min-width:0}
#kv footer.site-foot .foot-split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:0 32px;
  align-items:start;
}
#kv footer.site-foot .foot-split ul{
  display:grid;
  gap:8px;
}

@media (max-width:1180px){
  #kv footer.site-foot .foot-grid{
    grid-template-columns:1fr 1fr 1fr !important;
  }
  #kv footer.site-foot .foot-brand{grid-column:1/-1}
}

@media (max-width:1000px){
  #kv footer.site-foot .foot-grid{
    grid-template-columns:1fr 1fr !important;
  }
  #kv footer.site-foot .foot-brand{grid-column:1/-1}
}

@media (max-width:860px){
  :root, html, #kv{
    --hdr:76px;
    --mbar:calc(72px + env(safe-area-inset-bottom,0px));
  }
  html, body, #kv{
    scroll-padding-top:var(--hdr);
    scroll-padding-bottom:var(--mbar);
  }
  /* b) Fixed bottom bar must not cover page text */
  #kv{padding-bottom:var(--mbar)}
  /* b) Declutter mobile hero: remove scroll hint */
  #kv #hint,
  #kv .dp-hint{display:none !important}
  #kv .dp-about .dp-grid{
    grid-template-columns:1fr !important;
    gap:24px;
  }
  #kv .dp-about h2,
  #kv #about h2{
    display:block !important;
    position:relative;
    z-index:1;
    margin:0 0 10px;
    max-width:100%;
    white-space:normal !important;
    overflow:visible !important;
    overflow-wrap:break-word;
    line-height:1.2 !important;
    font-size:clamp(26px, 7vw, 36px) !important;
    color:#0A1728 !important;
    -webkit-text-fill-color:#0A1728 !important;
  }
  #kv .dp-renew-ctas{
    flex-direction:column;
    align-items:stretch;
  }
  #kv .dp-renew-ctas .dp-btn{text-align:center}
  #kv footer.site-foot .foot-split{
    grid-template-columns:1fr;
    gap:8px;
  }
}

@media (max-width:560px){
  #kv footer.site-foot .foot-grid{
    grid-template-columns:1fr !important;
  }
}

@media (prefers-reduced-motion:reduce){
  #kv .dp-about h2,
  #kv #about h2{
    color:#0A1728 !important;
    -webkit-text-stroke:0 !important;
  }
}
