/* K&N Homepage v2.4 — Readdy export + design polish + typography + motion + spacing */

/* ── TYPOGRAPHY: @font-face ── */
@font-face {
  font-family: 'Uni Sans Heavy';
  src: url('/wp-content/mu-plugins/fonts/uni-sans-heavy.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Let Kadence header/footer render normally — content only below */

/* Override Kadence wrapper backgrounds and padding for homepage content */
body.page-id-2260 .entry-content-wrap,
body.page-id-2260 .site-main,
body.page-id-2260 .content-wrap,
body.page-id-2260 .site-container {
  background: transparent !important;
  padding: 0 !important;
  max-width: 100% !important;
}
body.page-id-2260 .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Override Kadence typography for homepage */
.kn-homepage,
.kn-homepage * {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.kn-homepage a { text-decoration: none; color: inherit; }
.kn-homepage ul { list-style: none; padding: 0; margin: 0; }

/* ── HERO ── */
.kn-homepage .hero {
  padding-top: 0; /* Kadence header provides spacing */
  background: #fff; display: flex; min-height: 620px;
}
.kn-homepage .hero-left {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 64px 48px 64px 64px;
}
.kn-homepage .hero-inner { width: 100%; max-width: 520px; }
.kn-homepage .eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; color: #F5841F; margin-bottom: 16px;
}
.kn-homepage .hero-h1 {
  font-size: 54px; font-weight: 900; color: #0A2240;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px;
}
.kn-homepage .hero-sub {
  font-size: 18px; color: #555555; line-height: 1.78; margin-bottom: 28px;
}
/* ── HERO TRUST BADGE ── */
.kn-homepage .hero-trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 28px; padding: 8px 16px;
  background: #FFF8F0; border: 1px solid #F5841F33; border-radius: 24px;
  font-family: 'Inter', sans-serif; font-size: 14px; color: #555;
}
.kn-homepage .hero-trust-badge svg { flex-shrink: 0; }
.kn-homepage .hero-trust-rating { font-weight: 700; color: #F5841F; font-size: 15px; }
.kn-homepage .hero-trust-sep { color: #ccc; }
.kn-homepage .hero-trust-count { font-weight: 600; color: #0A2240; }
.kn-homepage .hero-trust-locations { color: #666; }

.kn-homepage .product-label { font-size: 13px; font-weight: 700; color: #2D2D2D; margin-bottom: 14px; }
.kn-homepage .product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px;
}
.kn-homepage .product-card {
  position: relative; background: #fff; border: 1.5px solid #E5E7EB;
  border-radius: 12px; padding: 14px; display: flex; flex-direction: column;
  gap: 8px; transition: all .2s; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.kn-homepage .product-card:hover { border-color: #F5841F; box-shadow: 0 4px 16px rgba(245,132,31,.12); }
.kn-homepage .product-badge {
  position: absolute; top: -8px; left: 10px;
  background: #F5841F; color: #fff; font-size: 8px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 2px 8px; border-radius: 99px; white-space: nowrap;
}
.kn-homepage .product-icon {
  width: 34px; height: 34px; background: #fff7f0; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.kn-homepage .product-icon i { font-size: 18px; color: #F5841F; }
.kn-homepage .product-name { font-size: 13px; font-weight: 900; color: #0A2240; line-height: 1.2; }
.kn-homepage .product-desc { font-size: 12px; color: #707070; line-height: 1.3; }
.kn-homepage .product-arrow { font-size: 13px; color: #F5841F; align-self: flex-end; opacity: 0; transition: opacity .2s; }
.kn-homepage .product-card:hover .product-arrow { opacity: 1; }

.kn-homepage .hero-links { display: flex; align-items: center; gap: 20px; font-size: 13.5px; }
.kn-homepage .hero-phone { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #F5841F; }
.kn-homepage .hero-phone:hover { color: #D6700F; }
.kn-homepage .hero-sep { color: #e5e7eb; }
.kn-homepage .hero-loc { color: rgba(45,45,45,.45); font-weight: 500; }
.kn-homepage .hero-loc:hover { color: #F5841F; }

.kn-homepage .hero-right {
  width: 48%; position: relative; overflow: hidden; display: none;
}
@media (min-width: 1024px) { .kn-homepage .hero-right { display: block; } }
.kn-homepage .hero-right img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.kn-homepage .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to left, transparent, rgba(255,255,255,.08)); }
.kn-homepage .hero-badge {
  position: absolute; bottom: 32px; left: 32px;
  background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.kn-homepage .hero-badge-icon {
  width: 40px; height: 40px; background: rgba(245,132,31,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kn-homepage .hero-badge-icon i { font-size: 20px; color: #F5841F; }
.kn-homepage .hero-badge-title { font-size: 12px; font-weight: 900; color: #0A2240; line-height: 1.3; }
.kn-homepage .hero-badge-sub { font-size: 10.5px; color: rgba(45,45,45,.45); }

/* ── MOBILE STICKY ── */
.kn-homepage .mobile-sticky {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: #F5841F; z-index: 150;
}
.kn-homepage .mobile-sticky a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; color: #fff; font-weight: 900; font-size: 15px;
}
.kn-homepage .mobile-sticky a i { font-size: 20px; }

/* ── SHARED SECTION STYLES ── */
.kn-homepage .section { padding: 96px 0; background: #fff; }
.kn-homepage > section:nth-child(even),
.kn-homepage .section-gray { background: #F7F8FA; }
.kn-homepage .section-navy { background: #0A2240; }
.kn-homepage .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.kn-homepage .container-md { max-width: 1024px; margin: 0 auto; padding: 0 24px; }

.kn-homepage .sec-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; color: #F5841F; margin-bottom: 12px;
}
.kn-homepage .sec-h2 {
  font-size: 40px; font-weight: 900; color: #0A2240;
  line-height: 1.15; letter-spacing: -0.01em;
}
.kn-homepage .sec-h2-white { color: #fff; }
.kn-homepage .sec-body { font-size: 18px; color: #555555; line-height: 1.78; }

.kn-homepage .sec-header-row {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 20px; margin-bottom: 56px;
}
.kn-homepage .sec-header-row .sec-body { max-width: 340px; }

/* ── INSURANCE OPTIONS ── */
.kn-homepage .ins-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.kn-homepage .ins-card {
  background: #fff; border: 1.5px solid #E5E7EB; border-radius: 16px;
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
  transition: all .2s; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.kn-homepage .ins-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-3px); }
.kn-homepage .ins-card-icon {
  width: 56px; height: 56px; background: #fff7f0; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.kn-homepage .ins-card:hover .ins-card-icon { background: #F5841F; }
.kn-homepage .ins-card-icon i { font-size: 26px; color: #F5841F; transition: color .2s; }
.kn-homepage .ins-card:hover .ins-card-icon i { color: #fff; }
.kn-homepage .ins-card-title { font-size: 18px; font-weight: 800; color: #0A2240; line-height: 1.3; }
.kn-homepage .ins-card-desc { font-size: 15px; color: #666666; line-height: 1.7; flex: 1; }
.kn-homepage .ins-card-link {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; color: #F5841F; transition: gap .2s;
}
.kn-homepage .ins-card:hover .ins-card-link { gap: 8px; }

.kn-homepage .ins-cta-strip {
  margin-top: 40px; background: #fff; border: 1.5px solid #E5E7EB;
  border-radius: 16px; padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.kn-homepage .ins-cta-strip-left { display: flex; align-items: center; gap: 14px; }
.kn-homepage .ins-cta-strip-icon {
  width: 40px; height: 40px; background: rgba(245,132,31,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kn-homepage .ins-cta-strip-icon i { font-size: 18px; color: #F5841F; }
.kn-homepage .ins-cta-strip-title { font-size: 14px; font-weight: 900; color: #0A2240; }
.kn-homepage .ins-cta-strip-sub { font-size: 12px; color: rgba(45,45,45,.45); }
.kn-homepage .btn-orange {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F5841F; color: #fff; padding: 12px 28px;
  border-radius: 8px; font-weight: 700; font-size: 13.5px;
  transition: all .2s; box-shadow: 0 2px 8px rgba(245,132,31,.2);
  white-space: nowrap;
}
.kn-homepage .btn-orange:hover { background: #D6700F; box-shadow: 0 4px 14px rgba(245,132,31,.35); }

/* ── WHY CHOOSE ── */
.kn-homepage .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.kn-homepage .stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin: 32px 0; padding-bottom: 32px; border-bottom: 1.5px solid #E5E7EB;
}
.kn-homepage .stat-val { font-size: 30px; font-weight: 900; color: #F5841F; line-height: 1; margin-bottom: 4px; }
.kn-homepage .stat-lbl { font-size: 13px; font-weight: 600; color: #707070; text-align: center; }
.kn-homepage .stat-item { text-align: center; }

.kn-homepage .feature-list { display: flex; flex-direction: column; gap: 16px; }
.kn-homepage .feature-item {
  display: flex; align-items: flex-start; gap: 18px;
  background: #F7F8FA; border-radius: 16px; padding: 22px;
  transition: all .2s;
}
.kn-homepage .feature-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); transform: translateY(-2px); }
.kn-homepage .feature-icon {
  width: 48px; height: 48px; background: #fff; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kn-homepage .feature-icon i { font-size: 22px; color: #F5841F; }
.kn-homepage .feature-title { font-size: 14.5px; font-weight: 900; color: #0A2240; margin-bottom: 4px; }
.kn-homepage .feature-desc { font-size: 15px; color: #666666; line-height: 1.7; }

/* ── TESTIMONIALS ── */
.kn-homepage .test-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 56px; }
.kn-homepage .google-badge {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1.5px solid #E5E7EB; border-radius: 12px;
  padding: 12px 20px; box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.kn-homepage .google-badge i { font-size: 24px; color: #F5841F; }
.kn-homepage .badge-stars { display: flex; align-items: center; gap: 2px; }
.kn-homepage .badge-stars i { font-size: 13px; color: #F5841F; }
.kn-homepage .badge-score { font-size: 14px; font-weight: 900; color: #0A2240; margin-left: 4px; }
.kn-homepage .badge-count { font-size: 11px; color: rgba(45,45,45,.45); font-weight: 500; }

.kn-homepage .test-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.kn-homepage .test-card {
  background: #fff; border: 1.5px solid #E5E7EB; border-radius: 16px;
  padding: 28px; transition: all .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.kn-homepage .test-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-2px); }
.kn-homepage .test-stars { display: flex; gap: 2px; margin-bottom: 14px; }
.kn-homepage .test-stars i { font-size: 14px; color: #F5841F; }
.kn-homepage .test-quote { font-size: 16px; color: #444444; line-height: 1.75; margin-bottom: 20px; }
.kn-homepage .test-author { display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1.5px solid #F7F8FA; }
.kn-homepage .test-avatar {
  width: 36px; height: 36px; background: rgba(245,132,31,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kn-homepage .test-avatar span { font-size: 11px; font-weight: 900; color: #F5841F; }
.kn-homepage .test-name { font-size: 13.5px; font-weight: 900; color: #0A2240; }
.kn-homepage .test-loc { font-size: 11px; color: rgba(45,45,45,.35); font-weight: 500; }
.kn-homepage .test-g { margin-left: auto; }
.kn-homepage .test-g i { font-size: 15px; color: rgba(45,45,45,.15); }

/* ── LOCATIONS ── */
.kn-homepage .loc-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 56px; }
.kn-homepage .hours-badge {
  background: #F7F8FA; border: 1.5px solid #E5E7EB; border-radius: 12px; padding: 18px 24px;
}
.kn-homepage .hours-badge-title { font-size: 10px; font-weight: 900; color: #0A2240; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.kn-homepage .hours-row { display: flex; align-items: center; gap: 24px; font-size: 13px; margin-bottom: 4px; }
.kn-homepage .hours-day { color: rgba(45,45,45,.45); font-weight: 500; width: 72px; }
.kn-homepage .hours-time { font-weight: 700; color: #0A2240; }
.kn-homepage .hours-time.closed { color: #f87171; }

.kn-homepage .loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kn-homepage .loc-card {
  background: #F7F8FA; border: 1.5px solid #E5E7EB; border-radius: 16px;
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
  transition: all .2s;
}
.kn-homepage .loc-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); transform: translateY(-3px); }
.kn-homepage .loc-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.kn-homepage .loc-name { font-size: 17px; font-weight: 900; color: #0A2240; }
.kn-homepage .loc-tag {
  font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em;
  background: rgba(245,132,31,.1); color: #F5841F; padding: 3px 8px; border-radius: 99px; white-space: nowrap;
}
.kn-homepage .loc-row { display: flex; align-items: flex-start; gap: 10px; }
.kn-homepage .loc-row i { font-size: 15px; color: #F5841F; margin-top: 2px; flex-shrink: 0; }
.kn-homepage .loc-text { font-size: 15px; color: #666666; line-height: 1.7; }
.kn-homepage .loc-phone { font-size: 13px; font-weight: 700; color: #F5841F; }
.kn-homepage .loc-phone:hover { color: #D6700F; }
.kn-homepage .loc-dir {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #0A2240;
  margin-top: auto; transition: color .2s;
}
.kn-homepage .loc-dir:hover { color: #F5841F; }
.kn-homepage .loc-dir i { font-size: 14px; }

/* ── FAQ ── */
.kn-homepage .faq-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.kn-homepage .faq-sidebar { width: 280px; flex-shrink: 0; }
.kn-homepage .faq-sidebar .sec-h2 { margin-bottom: 12px; }
.kn-homepage .faq-sidebar .sec-body { margin-bottom: 24px; }
.kn-homepage .faq-accordion { flex: 1; min-width: 0; }
.kn-homepage .faq-item {
  background: #fff; border: 1.5px solid #E5E7EB;
  border-bottom: none;
}
.kn-homepage .faq-item:first-child { border-radius: 16px 16px 0 0; }
.kn-homepage .faq-item:last-child { border-radius: 0 0 16px 16px; border-bottom: 1.5px solid #E5E7EB; }
.kn-homepage .faq-btn {
  width: 100%; padding: 20px 24px; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  text-align: left; cursor: pointer; transition: background .2s;
}
.kn-homepage .faq-btn:hover { background: rgba(245,132,31,.03); }
.kn-homepage .faq-q { font-size: 13.5px; font-weight: 700; color: #0A2240; padding-right: 20px; line-height: 1.4; }
.kn-homepage .faq-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kn-homepage .faq-icon i { font-size: 18px; color: #F5841F; }
.kn-homepage .faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
  opacity: 0;
}
.kn-homepage .faq-item.open .faq-body { max-height: 300px; opacity: 1; }
.kn-homepage .faq-ans { padding: 0 24px 20px; font-size: 15px; color: #666666; line-height: 1.7; }

/* ── CTA BAND ── */
.kn-homepage .cta-band { padding: 80px 0; background: #0A2240; position: relative; overflow: hidden; }
.kn-homepage .cta-geo {
  position: absolute; inset: 0; pointer-events: none;
}
.kn-homepage .cta-band-inner {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 32px;
}
.kn-homepage .cta-band-left .sec-label { margin-bottom: 10px; }
.kn-homepage .cta-band-left .sec-h2 { margin-bottom: 10px; }
.kn-homepage .cta-band-left .sec-body { color: rgba(255,255,255,.55); max-width: 440px; }
.kn-homepage .cta-band-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; flex-wrap: wrap; }
.kn-homepage .btn-orange-lg {
  display: inline-flex; align-items: center; gap: 10px;
  background: #F5841F; color: #fff; padding: 16px 32px;
  border-radius: 8px; font-weight: 700; font-size: 15px;
  transition: all .2s; box-shadow: 0 4px 16px rgba(245,132,31,.3);
  white-space: nowrap;
}
.kn-homepage .btn-orange-lg:hover { background: #D6700F; box-shadow: 0 6px 20px rgba(245,132,31,.4); }
.kn-homepage .btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.6); font-size: 13.5px; font-weight: 600;
  transition: color .2s; white-space: nowrap;
}
.kn-homepage .btn-ghost:hover { color: #fff; }

.kn-homepage .trust-strip {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.kn-homepage .trust-item { display: flex; align-items: center; gap: 10px; }
.kn-homepage .trust-item i { font-size: 20px; color: #F5841F; flex-shrink: 0; }
.kn-homepage .trust-item span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); }

/* ── FOOTER (removed — Kadence footer handles this) ── */

/* ── DESIGN POLISH (Quick Wins 6-10) ── */

/* Quick Win 6: Bigger stats */
.kn-homepage .stat-val { font-size: 40px; margin-bottom: 8px; }
.kn-homepage .stat-lbl { font-size: 13px; font-weight: 600; color: #707070; }

/* Quick Win 7: White location cards */
.kn-homepage .loc-card {
  background: #FFFFFF;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  padding: 28px;
}
.kn-homepage .loc-name { font-size: 20px; }
.kn-homepage .loc-phone { font-size: 16px; }
.kn-homepage .loc-text { font-size: 14px; color: #555555; }

/* Quick Win 8: FAQ scannability */
.kn-homepage .faq-q { font-size: 16px; line-height: 1.5; }
.kn-homepage .faq-ans { font-size: 15px; line-height: 1.75; padding: 0 24px 24px; }
.kn-homepage .faq-btn { padding: 24px 28px; }

/* Quick Win 9: CTA + button prominence */
.kn-homepage .btn-orange { padding: 14px 32px; font-size: 15px; border-radius: 10px; }
.kn-homepage .btn-orange-lg { padding: 18px 36px; font-size: 16px; border-radius: 10px; }
.kn-homepage .btn-orange:hover,
.kn-homepage .btn-orange-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,132,31,.4);
}

/* Quick Win 10: Review card polish */
.kn-homepage .test-card { padding: 32px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.kn-homepage .test-name { font-size: 15px; font-weight: 800; }
.kn-homepage .test-avatar { width: 42px; height: 42px; }
.kn-homepage .test-stars i { font-size: 16px; }

/* ── TYPOGRAPHY POLISH (Agent A) ── */

/* Apply Uni Sans Heavy to headings */
.kn-homepage .hero-h1,
.kn-homepage .sec-h2,
.kn-homepage .sec-h2-white {
  font-family: 'Uni Sans Heavy', 'Inter', sans-serif;
}

/* H2 size adjustment (40px → 36px per design system) */
.kn-homepage .sec-h2,
.kn-homepage .sec-h2-white {
  font-size: 36px;
  letter-spacing: 0;
}

/* Body text: Source Sans 3 */
.kn-homepage .hero-sub,
.kn-homepage .sec-body,
.kn-homepage .ins-card-desc,
.kn-homepage .feature-desc,
.kn-homepage .faq-ans,
.kn-homepage .test-quote,
.kn-homepage .loc-text {
  font-family: 'Source Sans 3', 'Inter', sans-serif;
}

/* Card titles: Inter Bold */
.kn-homepage .ins-card-title,
.kn-homepage .feature-title,
.kn-homepage .loc-name,
.kn-homepage .faq-q {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

/* ── MOTION & HOVER (Agent B) ── */

/* Link hover color transition */
.kn-homepage a {
  transition: color 0.2s ease-out;
}

/* Scroll reveal — subtle fade-up as sections enter viewport */
.kn-homepage > section,
.kn-homepage > .cta-band {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.kn-homepage > section.visible,
.kn-homepage > .cta-band.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero always visible — no delay on above-fold content (affects LCP) */
.kn-homepage > .hero {
  opacity: 1 !important;
  transform: none !important;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .kn-homepage > section,
  .kn-homepage > .cta-band {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .kn-homepage .ins-card,
  .kn-homepage .test-card,
  .kn-homepage .loc-card,
  .kn-homepage .product-card,
  .kn-homepage .feature-item {
    transition: none;
  }
  .kn-homepage a {
    transition: none;
  }
}

/* ── SPACING POLISH (Agent C) ── */

/* Section headers: more breathing room (56px → 64px) */
.kn-homepage .sec-header-row {
  margin-bottom: 64px;
}
.kn-homepage .test-header {
  margin-bottom: 64px;
}
.kn-homepage .loc-header {
  margin-bottom: 64px;
}

/* Product cards: larger for touch targets */
.kn-homepage .product-card {
  padding: 18px;
  min-height: 110px;
}
.kn-homepage .product-name {
  font-size: 14px;
}
.kn-homepage .product-desc {
  font-size: 13px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .kn-homepage .ins-grid { grid-template-columns: repeat(2, 1fr); }
  .kn-homepage .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .kn-homepage .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .kn-homepage .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .kn-homepage .hero { flex-direction: column; }
  .kn-homepage .hero-left { padding: 40px 24px; }
  .kn-homepage .hero-h1 { font-size: 34px; }
  .kn-homepage .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .kn-homepage .stats-row { grid-template-columns: repeat(2, 1fr); }
  .kn-homepage .test-grid { grid-template-columns: 1fr; }
  .kn-homepage .ins-grid { grid-template-columns: 1fr; }
  .kn-homepage .loc-grid { grid-template-columns: 1fr; }
  .kn-homepage .trust-strip { grid-template-columns: 1fr 1fr; }
  .kn-homepage .faq-sidebar { width: 100%; }
  .kn-homepage .mobile-sticky { display: block; }
  .kn-homepage .sec-h2 { font-size: 28px; }
  .kn-homepage .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .kn-homepage { padding-bottom: 60px; }
}
/* ══════════════════════════════════════════════════════════════
   K&N Homepage v2.4.0 — CSS ENHANCEMENTS
   Bento grid · Glassmorphism · Scroll animations · Gradient CTA · Hover polish
   Appended after v2.3.0 base styles. All scoped under .kn-homepage
   ══════════════════════════════════════════════════════════════ */


/* ── 1. BENTO GRID — Insurance Product Cards ──────────────────
   Auto Insurance (1st card): featured, spans 2 rows (tall)
   Home Insurance (2nd card): featured, spans 2 columns (wide)
   Rest: standard 1×1 cells
   Layout: 4 columns, auto-flow dense for optimal packing
   ────────────────────────────────────────────────────────────── */

.kn-homepage .ins-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 20px;
}

/* Auto Insurance — tall featured card (2 rows) */
.kn-homepage .ins-card:first-child {
  grid-row: span 2;
  background: linear-gradient(165deg, #FFF8F0 0%, #FFFFFF 50%);
  border-color: #F5841F40;
  position: relative;
  overflow: hidden;
}
.kn-homepage .ins-card:first-child::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: 16px;
  right: 16px;
  background: #F5841F;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 99px;
}
.kn-homepage .ins-card:first-child .ins-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #F5841F;
}
.kn-homepage .ins-card:first-child .ins-card-icon i {
  font-size: 30px;
  color: #fff;
}
.kn-homepage .ins-card:first-child .ins-card-title {
  font-size: 22px;
}
.kn-homepage .ins-card:first-child .ins-card-desc {
  font-size: 16px;
  line-height: 1.7;
}

/* Home Insurance — wide featured card (2 columns) */
.kn-homepage .ins-card:nth-child(2) {
  grid-column: span 2;
  background: linear-gradient(165deg, #F0F5FF 0%, #FFFFFF 50%);
  border-color: #0A224020;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.kn-homepage .ins-card:nth-child(2) .ins-card-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: #0A2240;
  border-radius: 14px;
}
.kn-homepage .ins-card:nth-child(2) .ins-card-icon i {
  font-size: 26px;
  color: #fff;
}
.kn-homepage .ins-card:nth-child(2) .ins-card-title {
  font-size: 20px;
}
.kn-homepage .ins-card:nth-child(2) .ins-card-link {
  margin-top: 4px;
}

/* Standard cards — subtle refinement */
.kn-homepage .ins-card {
  border-radius: 18px;
}

/* Bento responsive */
@media (max-width: 1024px) {
  .kn-homepage .ins-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .kn-homepage .ins-card:first-child {
    grid-row: span 2;
  }
  .kn-homepage .ins-card:nth-child(2) {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .kn-homepage .ins-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .kn-homepage .ins-card:first-child {
    grid-row: span 1;
  }
  .kn-homepage .ins-card:nth-child(2) {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ── 2. GLASSMORPHISM — Testimonial/Review Cards ──────────────
   Frosted glass effect on review cards with subtle blur.
   Section gets a soft gradient background to show through.
   ────────────────────────────────────────────────────────────── */

/* Testimonial section background — gradient for glassmorphism depth */
.kn-homepage .section-gray:has(.test-grid) {
  background: linear-gradient(
    135deg,
    #F7F8FA 0%,
    #EEF2F7 30%,
    #FFF5ED 60%,
    #F7F8FA 100%
  );
}

/* Glassmorphism review cards */
.kn-homepage .test-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.kn-homepage .test-card:hover {
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
}

/* Google badge — glassmorphism match */
.kn-homepage .google-badge {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border-radius: 14px;
}

/* Stars — subtle glow */
.kn-homepage .test-stars i,
.kn-homepage .badge-stars i {
  filter: drop-shadow(0 0 2px rgba(245, 132, 31, 0.3));
}

/* Author section divider — softer */
.kn-homepage .test-author {
  border-top: 1px solid rgba(10, 34, 64, 0.06);
}

/* Avatar — subtle ring */
.kn-homepage .test-avatar {
  background: rgba(245, 132, 31, 0.08);
  border: 2px solid rgba(245, 132, 31, 0.15);
}

/* Google icon watermark — subtle brand touch */
.kn-homepage .test-g i {
  color: rgba(66, 133, 244, 0.2);
  font-size: 18px;
}
.kn-homepage .test-card:hover .test-g i {
  color: rgba(66, 133, 244, 0.45);
}


/* ── 3. CSS SCROLL-DRIVEN ANIMATIONS ──────────────────────────
   Pure CSS — no JavaScript needed.
   Uses animation-timeline: view() for modern browsers.
   Graceful fallback: JS IntersectionObserver still works as backup.
   Hero is always instant (no animation delay on above-fold).
   ────────────────────────────────────────────────────────────── */

/* Keyframes for scroll-triggered entrance */
@keyframes kn-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kn-fade-up-card {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Section-level scroll animation (CSS-only, progressive enhancement) */
@supports (animation-timeline: view()) {
  .kn-homepage > section:not(.hero),
  .kn-homepage > .cta-band {
    animation: kn-fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }

  /* Override the JS-based reveal so both don't fight */
  .kn-homepage > section:not(.hero),
  .kn-homepage > .cta-band {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Staggered card entrances within sections */
  .kn-homepage .ins-card,
  .kn-homepage .loc-card,
  .kn-homepage .test-card,
  .kn-homepage .feature-item {
    animation: kn-fade-up-card linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }

  /* Stagger timing via delay offsets */
  .kn-homepage .ins-card:nth-child(2),
  .kn-homepage .loc-card:nth-child(2),
  .kn-homepage .test-card:nth-child(2),
  .kn-homepage .feature-item:nth-child(2) {
    animation-range: entry 3% entry 43%;
  }
  .kn-homepage .ins-card:nth-child(3),
  .kn-homepage .loc-card:nth-child(3),
  .kn-homepage .test-card:nth-child(3),
  .kn-homepage .feature-item:nth-child(3) {
    animation-range: entry 6% entry 46%;
  }
  .kn-homepage .ins-card:nth-child(4),
  .kn-homepage .loc-card:nth-child(4),
  .kn-homepage .test-card:nth-child(4),
  .kn-homepage .feature-item:nth-child(4) {
    animation-range: entry 9% entry 49%;
  }
  .kn-homepage .ins-card:nth-child(5) { animation-range: entry 12% entry 52%; }
  .kn-homepage .ins-card:nth-child(6) { animation-range: entry 15% entry 55%; }
  .kn-homepage .ins-card:nth-child(7) { animation-range: entry 18% entry 58%; }
  .kn-homepage .ins-card:nth-child(8) { animation-range: entry 21% entry 61%; }

  /* Stats counter feel — numbers scale up */
  .kn-homepage .stat-item {
    animation: kn-fade-up-card linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
  .kn-homepage .stat-item:nth-child(2) { animation-range: entry 5% entry 40%; }
  .kn-homepage .stat-item:nth-child(3) { animation-range: entry 10% entry 45%; }
  .kn-homepage .stat-item:nth-child(4) { animation-range: entry 15% entry 50%; }
}

/* Prefers reduced motion — disable all scroll animations */
@media (prefers-reduced-motion: reduce) {
  .kn-homepage > section,
  .kn-homepage > .cta-band,
  .kn-homepage .ins-card,
  .kn-homepage .loc-card,
  .kn-homepage .test-card,
  .kn-homepage .feature-item,
  .kn-homepage .stat-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ── 4. ANIMATED GRADIENT BORDER — CTA Buttons ───────────────
   Rotating conic-gradient border using @property for smooth animation.
   Applied to primary CTA (.btn-orange-lg) on hover.
   Subtle, premium, not distracting.
   ────────────────────────────────────────────────────────────── */

@property --kn-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes kn-gradient-rotate {
  to {
    --kn-angle: 360deg;
  }
}

/* Large CTA — animated border on hover */
.kn-homepage .btn-orange-lg {
  position: relative;
  z-index: 1;
  border: none;
  border-radius: 12px;
  isolation: isolate;
}

.kn-homepage .btn-orange-lg::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: conic-gradient(
    from var(--kn-angle),
    #F5841F,
    #FFB347,
    #F5841F,
    #C9A84C,
    #F5841F
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: kn-gradient-rotate 3s linear infinite;
}

.kn-homepage .btn-orange-lg::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: #F5841F;
  z-index: -1;
  transition: background 0.3s ease;
}

.kn-homepage .btn-orange-lg:hover::before {
  opacity: 1;
}

.kn-homepage .btn-orange-lg:hover::after {
  background: #D6700F;
}

/* Standard orange button — subtle pulse shadow on hover */
.kn-homepage .btn-orange {
  position: relative;
  overflow: hidden;
}
.kn-homepage .btn-orange::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(245, 132, 31, 0.4);
  transition: box-shadow 0.4s ease;
}
.kn-homepage .btn-orange:hover::after {
  box-shadow: 0 0 0 4px rgba(245, 132, 31, 0.15);
}


/* ── 5. CARD HOVER POLISH + MICRO-INTERACTIONS ────────────────
   Enhanced hover states, richer shadows, smoother transitions.
   Every interactive element gets attention.
   ────────────────────────────────────────────────────────────── */

/* Insurance cards — enhanced hover */
.kn-homepage .ins-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.kn-homepage .ins-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: transparent;
}
/* Icon lift on card hover */
.kn-homepage .ins-card:hover .ins-card-icon {
  transform: scale(1.05);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.2s ease;
}
/* Arrow slide-in */
.kn-homepage .ins-card-link {
  transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.2s ease;
}
.kn-homepage .ins-card:hover .ins-card-link {
  gap: 10px;
  color: #D6700F;
}

/* Feature items — enhanced lift */
.kn-homepage .feature-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.kn-homepage .feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #fff;
}
.kn-homepage .feature-item:hover .feature-icon {
  background: #FFF7F0;
  box-shadow: 0 4px 12px rgba(245, 132, 31, 0.12);
  transition: all 0.3s ease;
}

/* Location cards — deeper hover */
.kn-homepage .loc-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.kn-homepage .loc-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.04);
}
/* Phone number highlight on card hover */
.kn-homepage .loc-card:hover .loc-phone {
  color: #D6700F;
}
/* Direction arrow animate */
.kn-homepage .loc-dir {
  transition: color 0.2s ease, gap 0.3s ease;
}
.kn-homepage .loc-card:hover .loc-dir {
  color: #F5841F;
  gap: 10px;
}

/* Hero product cards — snappier */
.kn-homepage .product-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.kn-homepage .product-card:hover {
  transform: translateY(-3px);
  border-color: #F5841F;
  box-shadow:
    0 8px 20px rgba(245, 132, 31, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.04);
}
/* Product icon color shift on hover */
.kn-homepage .product-card:hover .product-icon {
  background: #F5841F;
  transition: background 0.25s ease;
}
.kn-homepage .product-card:hover .product-icon i {
  color: #fff;
  transition: color 0.25s ease;
}

/* Trust badge — subtle pulse on first load */
@keyframes kn-trust-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 132, 31, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(245, 132, 31, 0); }
}
.kn-homepage .hero-trust-badge {
  animation: kn-trust-pulse 2.5s ease-in-out 1.5s 2;
  transition: transform 0.2s ease;
}
.kn-homepage .hero-trust-badge:hover {
  transform: scale(1.03);
}

/* FAQ items — highlight on hover */
.kn-homepage .faq-btn {
  transition: background 0.2s ease, padding-left 0.3s ease;
}
.kn-homepage .faq-btn:hover {
  background: rgba(245, 132, 31, 0.04);
  padding-left: 30px;
}

/* FAQ open state — accent bar */
.kn-homepage .faq-item.open {
  border-left: 3px solid #F5841F;
}

/* Hero badge float animation */
@keyframes kn-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.kn-homepage .hero-badge {
  animation: kn-float 4s ease-in-out infinite;
}

/* CTA band — geometric shapes subtle drift */
@keyframes kn-drift {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(8px) translateY(-4px); }
}
.kn-homepage .cta-geo svg {
  animation: kn-drift 8s ease-in-out infinite;
}

/* Trust strip items — hover glow */
.kn-homepage .trust-item {
  transition: all 0.2s ease;
  padding: 8px 12px;
  border-radius: 8px;
}
.kn-homepage .trust-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.kn-homepage .trust-item:hover i {
  filter: drop-shadow(0 0 6px rgba(245, 132, 31, 0.5));
}

/* Hours badge — refine */
.kn-homepage .hours-badge {
  transition: all 0.3s ease;
  border-radius: 14px;
}
.kn-homepage .hours-badge:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Ghost button — arrow slide on hover */
.kn-homepage .btn-ghost i {
  transition: transform 0.3s ease;
}
.kn-homepage .btn-ghost:hover i {
  transform: translateX(3px);
}

/* ── 6. ADDITIONAL REFINEMENTS ────────────────────────────────
   Final polish touches for premium feel.
   ────────────────────────────────────────────────────────────── */

/* Section divider — subtle gradient line between sections */
.kn-homepage > section + section {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.kn-homepage > section.section-gray + section:not(.section-gray) {
  border-top: none;
}

/* Smooth scroll for anchor links */
.kn-homepage {
  scroll-behavior: smooth;
}

/* Focus visible — accessibility for keyboard users */
.kn-homepage a:focus-visible,
.kn-homepage button:focus-visible {
  outline: 2px solid #F5841F;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection color */
.kn-homepage ::selection {
  background: rgba(245, 132, 31, 0.15);
  color: #0A2240;
}

/* CTA strip — match bento card radius */
.kn-homepage .ins-cta-strip {
  border-radius: 18px;
}

/* Mobile sticky — glassmorphism enhancement */
@media (max-width: 768px) {
  .kn-homepage .mobile-sticky {
    background: rgba(245, 132, 31, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
}


/* ── DESIGN QA FIXES ──────────────────────────────────────── */

/* FAQ button wrapper — inherit proper weight */
.kn-homepage .faq-btn {
  font-weight: 700;
}

/* Button :active state (pressed feel) */
.kn-homepage .btn-orange:active,
.kn-homepage .btn-orange-lg:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(245, 132, 31, 0.2);
}

/* Font smoothing for premium rendering */
.kn-homepage {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ── MOBILE TRUST BADGE FIX ────────────────────────────── */
@media (max-width: 480px) {
  .kn-homepage .hero-trust-badge {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    font-size: 13px;
    padding: 10px 14px;
    text-align: center;
  }
  .kn-homepage .hero-trust-sep {
    display: none;
  }
  .kn-homepage .hero-trust-rating {
    font-size: 16px;
  }
  .kn-homepage .hero-trust-count,
  .kn-homepage .hero-trust-locations {
    white-space: nowrap;
  }
}


/* ── LAYOUT FIXES (Nour feedback) ──────────────────────── */

/* Stats row: 3 items after removing $9M+ */
@media (min-width: 769px) {
  .kn-homepage .stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Remove black gap between CTA band and footer */
.kn-homepage .cta-band {
  margin-bottom: 0;
}
body.page-id-2260 .site-footer,
body.home .site-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.page-id-2260 .entry-content-wrap {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Footer: nudge left columns inward */
body.page-id-2260 .site-footer .footer-widget-area,
body.home .site-footer .footer-widget-area {
  padding-left: 24px;
  padding-right: 24px;
}


/* ── BLACK BAR FIX — gap between CTA and footer ──────── */
/* The kn-homepage bottom padding creates a visible gap */
/* Make page background match CTA navy so no gap shows */
body.page-id-2260,
body.home {
  background-color: #0A2240 !important;
}
/* Remove bottom padding that creates the gap */
@media (max-width: 768px) {
  .kn-homepage {
    padding-bottom: 0 !important;
  }
}
/* Kadence footer sits flush against CTA band */
body.page-id-2260 .site-footer,
body.home .site-footer {
  border-top: none !important;
}


/* ── FIX: .site wrapper black background ─────────────── */
body.page-id-2260 .site,
body.home .site {
  background-color: #0A2240 !important;
}




/* ── HERO PHOTO BACKGROUND ───────────────────────────── */
.kn-homepage .hero.hero-photo {
  background: 
    linear-gradient(to right, 
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.92) 20%,
      rgba(255,255,255,0.6) 40%,
      rgba(255,255,255,0.15) 55%,
      rgba(255,255,255,0) 65%
    ),
    url("/wp-content/uploads/2026/03/hero-family-b.png") right center / cover no-repeat !important;
  min-height: 620px;
}

.kn-homepage .hero.hero-photo .hero-left {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 64px 32px 64px 64px;
}

@media (max-width: 1024px) {
  .kn-homepage .hero.hero-photo .hero-left {
    flex: 0 0 60%;
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .kn-homepage .hero.hero-photo {
    background: 
      linear-gradient(to bottom, 
        rgba(255,255,255,0.9) 0%,
        rgba(255,255,255,0.75) 50%,
        rgba(255,255,255,0.3) 80%,
        rgba(255,255,255,0) 100%
      ),
      url("/wp-content/uploads/2026/03/hero-family-b.png") center bottom / cover no-repeat !important;
    min-height: auto;
    padding-bottom: 220px;
  }
  .kn-homepage .hero.hero-photo .hero-left {
    flex: 1;
    max-width: 100%;
    padding: 40px 24px 0;
  }
}


/* ── EXPLORE MORE SECTION (Progressive-style photo cards) ── */
.kn-homepage .kn-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.kn-homepage .kn-explore-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.kn-homepage .kn-explore-card:hover {
  transform: translateY(-4px);
}
.kn-homepage .kn-explore-img {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
  aspect-ratio: 4/3;
}
.kn-homepage .kn-explore-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.kn-homepage .kn-explore-card:hover .kn-explore-img img {
  transform: scale(1.05);
}
.kn-homepage .kn-explore-title {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0A2240;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.kn-homepage .kn-explore-title i {
  font-size: 18px;
  color: #F5841F;
  transition: transform 0.3s ease;
}
.kn-homepage .kn-explore-card:hover .kn-explore-title i {
  transform: translateX(4px);
}
.kn-homepage .kn-explore-desc {
  font-size: 14px;
  color: #707070;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1024px) {
  .kn-homepage .kn-explore-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .kn-homepage .kn-explore-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .kn-homepage .kn-explore-desc {
    font-size: 13px;
  }
}


/* ── FIX: CTA band must always be navy ───────────────── */
.kn-homepage .cta-band {
  background: #0A2240 !important;
}


/* ── Elementor font cleanup — prevent Roboto loading ── */
/* Elementor loads Roboto/Roboto Slab even on non-Elementor pages */
/* This is handled by dequeuing in the PHP mu-plugin */


/* ── AUDIT FIXES 2026-03-27 ──────────────────────────── */

/* Location grid: 2 cards centered (after removing Westbury/Bronx) */
.kn-homepage .loc-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 800px;
  margin: 0 auto;
}

/* OG image meta — handled via Rank Math, not CSS */


/* ── INLINE STYLE CLEANUP ────────────────────────────── */
/* Move inline styles from HTML to CSS for cleanliness */
.kn-homepage .hero-sub[style*="font-size"] {
  font-size: 1.15em !important;
  font-weight: 600 !important;
  color: #1B2A4A !important;
  margin-bottom: 8px !important;
}
.kn-homepage .why-grid .sec-body {
  margin-top: 16px;
}
.kn-homepage .faq-sidebar .sec-body {
  margin-top: 12px;
  margin-bottom: 24px;
}
.kn-homepage .cta-band-left .sec-body {
  color: rgba(255,255,255,.55);
  margin-top: 10px;
}
.kn-homepage .hero .btn-orange {
  font-size: 17px;
  padding: 16px 32px;
}
.kn-homepage .hero .hero-loc {
  font-size: 14px;
  font-weight: 600;
}


/* Classes replacing inline styles */
.kn-homepage .kn-explore-header {
  text-align: center;
  margin-bottom: 48px;
}
.kn-homepage .hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}


/* ── Get a Quote ghost button (hero) ─────────────────── */
.kn-homepage .btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0A2240;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border: 2px solid #0A2240;
  border-radius: 10px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.kn-homepage .btn-ghost-dark:hover {
  background: #0A2240;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 34, 64, 0.2);
}
.kn-homepage .btn-ghost-dark i {
  font-size: 17px;
}
@media (max-width: 768px) {
  .kn-homepage .hero-cta-row {
    flex-wrap: wrap;
  }
  .kn-homepage .btn-ghost-dark {
    font-size: 14px;
    padding: 12px 24px;
  }
}


/* ── FIX: Hero CTA row — prevent phone cutoff ────────── */
.kn-homepage .hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.kn-homepage .hero-cta-row .btn-orange,
.kn-homepage .hero-cta-row .btn-ghost-dark {
  white-space: nowrap;
}
.kn-homepage .hero-cta-row .hero-loc {
  width: 100%;
  margin-top: 4px;
}


/* ── PRODUCT LIST — Progressive-style (clean text list) ── */
.kn-homepage .kn-products-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.kn-homepage .kn-products-image {
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.kn-homepage .kn-products-image img {
  width: 100%;
  height: auto;
  display: block;
}
.kn-homepage .kn-products-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.kn-homepage .kn-product-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #E5E7EB;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}
.kn-homepage .kn-product-item:first-child {
  padding-top: 0;
}
.kn-homepage .kn-product-item:last-child {
  border-bottom: none;
}
.kn-homepage .kn-product-item:hover {
  padding-left: 8px;
}
.kn-homepage .kn-product-icon {
  width: 40px;
  height: 40px;
  background: #FFF7F0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.kn-homepage .kn-product-item:hover .kn-product-icon {
  background: #F5841F;
}
.kn-homepage .kn-product-icon i {
  font-size: 20px;
  color: #F5841F;
  transition: color 0.2s ease;
}
.kn-homepage .kn-product-item:hover .kn-product-icon i {
  color: #fff;
}
.kn-homepage .kn-product-name {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0A2240;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.kn-homepage .kn-product-name i {
  font-size: 16px;
  color: #F5841F;
  transition: transform 0.2s ease;
}
.kn-homepage .kn-product-item:hover .kn-product-name i {
  transform: translateX(4px);
}
.kn-homepage .kn-product-desc {
  font-size: 14px;
  color: #707070;
  line-height: 1.5;
  margin: 0;
}
.kn-homepage .kn-product-more .kn-product-name {
  color: #F5841F;
}

@media (max-width: 768px) {
  .kn-homepage .kn-products-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .kn-homepage .kn-products-image {
    position: static;
    max-height: 300px;
  }
  .kn-homepage .kn-products-image img {
    height: 300px;
    object-fit: cover;
  }
}


/* ── FRONTEND DESIGN AUDIT FIXES ─────────────────────── */

/* FIX 1: CTA buttons — match sizes */
.kn-homepage .hero-cta-row .btn-orange,
.kn-homepage .hero-cta-row .btn-ghost-dark {
  font-size: 16px !important;
  padding: 15px 32px !important;
}

/* FIX 3: H2 weight — 700 instead of 900 (less shouting, more confident) */
.kn-homepage .sec-h2,
.kn-homepage .sec-h2-white {
  font-weight: 700 !important;
}

/* FIX 5: Section backgrounds — explicit, no alternation surprises */
.kn-homepage > section:nth-child(2) { background: #fff !important; } /* Products */
.kn-homepage > section:nth-child(3) { background: #fff !important; } /* Why K&N */
.kn-homepage > section:nth-child(4) { background: #F7F8FA !important; } /* Reviews */
.kn-homepage > section:nth-child(5) { background: #fff !important; } /* Locations */
.kn-homepage > section:nth-child(6) { background: #F7F8FA !important; } /* FAQ */
.kn-homepage > section:nth-child(7) { background: #fff !important; } /* Explore */

/* FIX 6: Product desc line-height */
.kn-homepage .kn-product-desc {
  line-height: 1.7;
}

/* FIX 7: Hero gradient — slightly stronger in the text zone */
.kn-homepage .hero.hero-photo {
  background:
    linear-gradient(to right,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.97) 20%,
      rgba(255,255,255,0.75) 40%,
      rgba(255,255,255,0.2) 55%,
      rgba(255,255,255,0) 65%
    ),
    url("/wp-content/uploads/2026/03/hero-family-b.png") right center / cover no-repeat !important;
}


/* ── FINAL POLISH — button + spacing consistency ─────── */

/* All orange buttons same size across the page */
.kn-homepage .btn-orange {
  font-size: 16px !important;
  padding: 15px 32px !important;
  border-radius: 10px !important;
}

/* CTA band button slightly larger (intentional hierarchy) */
.kn-homepage .cta-band .btn-orange-lg {
  font-size: 17px !important;
  padding: 17px 36px !important;
  border-radius: 12px !important;
}

/* All sections 96px padding (override any 80px) */
.kn-homepage > section.section {
  padding: 96px 0 !important;
}
.kn-homepage .cta-band {
  padding: 80px 0 !important;
}


/* ── MOBILE FIXES (from Nour screenshots) ────────────── */

/* Location cards: stack to 1 column on mobile */
@media (max-width: 768px) {
  .kn-homepage .loc-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    gap: 16px !important;
  }
  .kn-homepage .loc-name {
    font-size: 18px !important;
  }
  .kn-homepage .loc-phone {
    font-size: 15px !important;
  }
}

/* Hero mobile: stronger gradient for text readability */
@media (max-width: 768px) {
  .kn-homepage .hero.hero-photo {
    background:
      linear-gradient(to bottom,
        rgba(255,255,255,0.95) 0%,
        rgba(255,255,255,0.9) 40%,
        rgba(255,255,255,0.7) 65%,
        rgba(255,255,255,0.3) 85%,
        rgba(255,255,255,0) 100%
      ),
      url("/wp-content/uploads/2026/03/hero-family-b.png") center bottom / cover no-repeat !important;
    min-height: auto !important;
    padding-bottom: 250px !important;
  }
  
  /* Hero CTA buttons stack vertically on small screens */
  .kn-homepage .hero-cta-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .kn-homepage .hero-cta-row .btn-orange,
  .kn-homepage .hero-cta-row .btn-ghost-dark {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}


/* ── FIX: Hamburger menu icon visibility ─────────────── */
/* The toggle icon is white (#F7F8FA) which is invisible on white background */
body.page-id-2260 .menu-toggle-open,
body.home .menu-toggle-open {
  color: #0A2240 !important;
}
body.page-id-2260 .menu-toggle-open svg,
body.home .menu-toggle-open svg,
body.page-id-2260 .menu-toggle-open .kadence-svg-iconset,
body.home .menu-toggle-open .kadence-svg-iconset {
  color: #0A2240 !important;
  fill: #0A2240 !important;
}
/* Also fix the phone icon in mobile header */
body.page-id-2260 .mobile-header-button-wrap .kadence-svg-iconset,
body.home .mobile-header-button-wrap .kadence-svg-iconset {
  color: #F5841F !important;
}


/* ── FIX: Hamburger icon — bigger and more visible ───── */
@media (max-width: 768px) {
  body.page-id-2260 .menu-toggle-open,
  body.home .menu-toggle-open {
    color: #0A2240 !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,0.85) !important;
    border-radius: 8px !important;
    border: 1.5px solid #E5E7EB !important;
    margin: 4px !important;
  }
  body.page-id-2260 .menu-toggle-open svg,
  body.home .menu-toggle-open svg {
    width: 24px !important;
    height: 24px !important;
    color: #0A2240 !important;
    fill: #0A2240 !important;
  }
}

/* Card hover effects — design-quality audit fix */
.explore-card { transition: transform 0.25s ease-out, box-shadow 0.25s ease-out; }
.explore-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

/* Spanish hook — deploy-qa fix */
.hero-spanish { text-align: center; font-size: 15px; color: #F5841F; margin: 12px 0 0; font-weight: 600; }
@media (max-width: 768px) { .hero-spanish { font-size: 14px; } }
