/* KTL-SERVICES-GROWTH: services visibility layer. Loaded after business.css; no existing file is edited for styling. */

/* ---- Navigation: solid "Get a quote" button, current-page state, pinned items on mobile ---- */
.site-header #site-nav a.nav-services{font-weight:700}
.site-header #site-nav a.is-current:not(.nav-quote){color:#a51d2d;font-weight:700;box-shadow:inset 0 -2px 0 #a51d2d;padding-bottom:3px}
.site-header #site-nav a.nav-quote{background:#a51d2d;color:#fff!important;padding:8px 15px;border-radius:9px;font-weight:700;white-space:nowrap;text-decoration:none!important;box-shadow:none;line-height:1.25}
.site-header #site-nav a.nav-quote:hover{background:#7d1726;color:#fff!important}
.site-header #site-nav a.nav-quote.is-current{background:#5e0f1b;box-shadow:0 0 0 2px #fff,0 0 0 4px #a51d2d}
@media(max-width:900px){
  .site-header #site-nav a.nav-services{order:-2}
  .site-header #site-nav a.nav-quote{order:-1;margin:8px 16px;padding:13px 16px;text-align:center;border-bottom:0;font-size:1rem}
  .site-header #site-nav a.is-current:not(.nav-quote){box-shadow:none;background:#f8eef0;border-left:4px solid #a51d2d;padding-bottom:12px}
  .site-header #site-nav a:nth-last-child(2){border-bottom:0}
}

/* ---- Dark promo card ---- */
.ktl-biz-global.ktl-biz-dark{background:linear-gradient(160deg,#1c2833 0%,#0f1922 100%);border:1px solid #0a121a;border-left:5px solid #c4263a;color:#fff;box-shadow:0 10px 30px rgba(10,20,30,.28);display:grid;grid-template-columns:minmax(210px,270px) minmax(0,1fr) auto;gap:8px 24px;align-items:center;padding:18px 22px}
.ktl-biz-dark .ktl-biz-global-heading{grid-column:1;grid-row:1 / span 3;min-width:0}
.ktl-biz-dark .ktl-biz-global-heading small{color:#f4a9b3}
.ktl-biz-dark .ktl-biz-global-heading strong{color:#fff;font-size:1.06rem;line-height:1.3}
.ktl-biz-dark .ktl-biz-promo-provider{color:#b9c5cf}
.ktl-biz-dark .ktl-biz-global-links{grid-column:2;grid-row:1;gap:7px 16px}
.ktl-biz-dark .ktl-biz-global-links a{color:#e9eff3;font-weight:600;font-size:.86rem}
.ktl-biz-dark .ktl-biz-global-links a:hover{color:#fff;text-decoration:underline}
.ktl-biz-dark .ktl-biz-promo-price{grid-column:2;grid-row:2;color:#c9d3da}
.ktl-biz-dark .ktl-biz-promo-price a{color:#ffd3d9}
.ktl-biz-dark .ktl-biz-global-note{grid-column:2;grid-row:3;color:#aebbc5;font-size:.72rem;line-height:1.35}
.ktl-biz-dark .ktl-biz-global-actions{grid-column:3;grid-row:1 / span 3;display:flex;flex-direction:column;gap:9px;align-items:stretch;min-width:190px}
.ktl-biz-dark .ktl-biz-global-cta{background:#c4263a;font-size:.92rem;padding:12px 16px;white-space:normal;text-align:center}
.ktl-biz-dark .ktl-biz-global-cta:hover{background:#d8334a}
.ktl-biz-dark .ktl-biz-global-more{color:#fff;font-size:.8rem;text-align:center;text-decoration:underline}

/* Desktop 1180-1799: sticky rail in its own grid column beside the article text (never overlaps the text) */
@media (min-width:1180px) and (max-width:1799px){
  article.content-page.ktl-has-rail{display:grid;grid-template-columns:minmax(0,1fr) 285px;column-gap:30px;align-items:start}
  article.content-page.ktl-has-rail>*{grid-column:1;min-width:0}
  article.content-page.ktl-has-rail>.ktl-biz-global.ktl-biz-dark.ktl-biz-in-article{grid-column:2;grid-row:1 / span 60;align-self:start;position:sticky;top:96px;display:flex;flex-direction:column;align-items:stretch;gap:12px;width:285px;margin:6px 0 25px;padding:18px;max-height:calc(100vh - 190px);overflow:auto;z-index:5}
  .ktl-biz-dark.ktl-biz-in-article .ktl-biz-global-links{flex-direction:column;align-items:stretch;gap:9px}
  .ktl-biz-dark.ktl-biz-in-article .ktl-biz-global-actions{min-width:0}
  body.ktlc-open .ktl-biz-global.ktl-biz-dark{visibility:hidden}
}
/* Wide screens: fixed rail in the right margin, kept clear of the chat launcher and panel */
@media (min-width:1800px){
  .ktl-biz-global.ktl-biz-dark{position:fixed;right:20px;top:100px;z-index:12;width:275px;margin:0;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:18px;max-height:calc(100vh - 190px);overflow:auto}
  .ktl-biz-dark .ktl-biz-global-links{flex-direction:column;align-items:stretch;gap:9px}
  .ktl-biz-dark .ktl-biz-global-actions{min-width:0}
  body.ktlc-open .ktl-biz-global.ktl-biz-dark{visibility:hidden}
}
/* Narrower screens: compact card (after the intro on articles, after the page header elsewhere) */
@media (max-width:1179px){
  .ktl-biz-global.ktl-biz-dark{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:14px 16px;margin:14px auto}
  .ktl-biz-dark .ktl-biz-global-links,.ktl-biz-dark .ktl-biz-promo-price,.ktl-biz-dark .ktl-biz-global-note,.ktl-biz-dark .ktl-biz-promo-provider{display:none}
  .ktl-biz-dark .ktl-biz-global-heading{min-width:0}
  .ktl-biz-dark .ktl-biz-global-heading strong{font-size:.98rem}
  .ktl-biz-dark .ktl-biz-global-actions{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 16px;min-width:0}
  .ktl-biz-dark .ktl-biz-global-cta{padding:11px 16px}
  .ktl-biz-global.ktl-biz-dark.ktl-biz-in-flow{width:auto;margin:16px 0;float:none;position:static}
}

/* ---- Service page intro line ---- */
.ktl-biz-intro-extra{max-width:860px;margin:-14px 0 18px;color:#35444f;font-size:1rem}

/* ---- Contextual end-of-guide / hub / licensee CTA ---- */
.ktl-growth-cta{clear:both;margin:34px 0 14px;padding:22px 24px;border:1px solid #d3dce1;border-left:5px solid #a51d2d;border-radius:14px;background:#f8f9fb;font-family:Inter,system-ui,sans-serif;color:#26343f}
.ktl-growth-cta.ktl-growth-cta-pro{background:#f4f1f2;border-left-color:#5e0f1b}
.ktl-growth-kicker{margin:0 0 6px;font-size:.68rem;font-weight:800;letter-spacing:.09em;color:#9a1e31}
.ktl-growth-cta h2{margin:0 0 8px;font-size:1.28rem;line-height:1.25;color:#1d2c35}
.ktl-growth-cta p{margin:0 0 12px}
.ktl-growth-cta-list{list-style:none;margin:14px 0!important;padding:0!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:12px}
.ktl-growth-cta-list li{margin:0!important;padding:0!important;list-style:none}
.ktl-growth-cta-list a{display:flex;flex-direction:column;gap:5px;height:100%;padding:13px 14px;background:#fff;border:1px solid #d9e2e7;border-radius:11px;color:#26343f;text-decoration:none!important}
.ktl-growth-cta-list a:hover{border-color:#a51d2d;box-shadow:0 4px 14px rgba(165,29,45,.12)}
.ktl-growth-cta-list strong{color:#8f1a2b;font-size:.97rem;line-height:1.3}
.ktl-growth-cta-list span{font-size:.85rem;line-height:1.45;color:#485968}
.ktl-growth-cta-list em{font-style:normal;font-weight:700;font-size:.82rem;color:#1d2c35;margin-top:auto}
.ktl-growth-cta-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin:4px 0 12px!important}
.ktl-growth-cta-actions a:not(.ktl-biz-cta){font-weight:700}
.ktl-growth-cta-note{font-size:.8rem;line-height:1.45;color:#5a6773;margin:0!important}
@media(max-width:600px){.ktl-growth-cta{padding:18px 16px}}
@media print{.ktl-growth-cta,.ktl-biz-global.ktl-biz-dark{display:none!important}}

/* ---- Homepage hero services strip: one slim line under the search bar ---- */
.hero:has(.ktl-hero-services){padding-bottom:32px}
.ktl-hero-services{display:flex;align-items:center;flex-wrap:nowrap;gap:8px 10px;box-sizing:border-box;height:48px;margin:14px 0 0;padding:0 10px 0 12px;background:rgba(255,255,255,.10);border:1px solid rgba(255,211,217,.28);border-left:4px solid #e23d52;border-radius:10px;width:100%;max-width:100%}
.ktl-hero-services-label{flex:0 0 auto;margin:0;font-size:14px;font-weight:800;line-height:1.2;color:#ffd0d6;white-space:nowrap}
.ktl-hero-services-chips{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;flex:1 1 auto;min-width:0}
.ktl-hero-services-chip{display:inline-flex;align-items:center;flex:0 0 auto;background:#fff;color:#17202a!important;font-weight:700;font-size:14px;line-height:1.2;padding:5px 9px;border-radius:999px;text-decoration:none!important;white-space:nowrap;box-shadow:0 1px 0 rgba(0,0,0,.12)}
.ktl-hero-services-chip:hover{background:#ffe8eb;color:#7d1726!important;text-decoration:none!important}
.ktl-hero-chip-narrow{display:none}
@media(max-width:1279px){
  .ktl-hero-chip-wide{display:none}
  .ktl-hero-chip-narrow{display:inline}
  .ktl-hero-services-chip{padding:5px 7px}
  .ktl-hero-services{gap:6px 8px}
  .ktl-hero-services-chips{gap:5px}
}
.ktl-hero-services-cta{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;background:#e23d52;color:#fff!important;font-weight:800;font-size:14px;line-height:1.2;padding:6px 12px;border-radius:8px;text-decoration:none!important;white-space:nowrap}
.ktl-hero-services-cta:hover{background:#f04a5f;color:#fff!important;text-decoration:none!important}
@media(min-width:1024px){
  .ktl-hero-chip-wide{display:none}
  .ktl-hero-chip-narrow{display:inline}
  /* Width matches .hero-search in site.css (max-width:850px). Both sit at the
     left of .wrap, so the bar is centered under the search box with 0 overhang. */
  .ktl-hero-services{flex-wrap:nowrap;overflow:visible;justify-content:flex-start;width:100%;max-width:850px;margin-left:0;margin-right:0;position:static;left:auto;transform:none;gap:4px 5px;padding:0 6px 0 8px}
  .ktl-hero-services-label{font-size:13px}
  .ktl-hero-services-chips{flex:0 0 auto;gap:3px}
  .ktl-hero-services-chip{font-size:13px;padding:3px 4px}
  .ktl-hero-services-cta{font-size:13px;padding:4px 8px;margin-left:auto}
}
@media(max-width:1023px){
  .ktl-hero-services{width:100%;max-width:100%;margin-left:0;margin-right:0;left:auto;transform:none;justify-content:flex-start;height:48px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain}
  .ktl-hero-services::-webkit-scrollbar{display:none}
  .ktl-hero-services-chips{flex:0 0 auto}
}
