@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --kf-black: #0b3442;
  --kf-ink: #0b3442;
  --kf-blue: #005aa6;
  --kf-muted: #6c8494;
  --kf-line: #b8bfc1;
  --kf-soft: #f5f7f7;
  --kf-white: #ffffff;
  --kf-gold: #f3e308;
  --kf-gold-dark: #005aa6;
  --kf-footer: #0b3442;
  --kf-shadow: 0 20px 55px rgba(11, 52, 66, 0.16);
  --kf-radius: 8px;
}

body.kf-dark-mode {
  --kf-black: #f5f7f7;
  --kf-ink: #dce3e5;
  --kf-blue: #7db6e8;
  --kf-muted: #b8bfc1;
  --kf-line: #6c8494;
  --kf-soft: #0d3a49;
  --kf-white: #0b3442;
  --kf-footer: #082b38;
  --kf-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--kf-soft);
  color: var(--kf-ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-wrapper {
  width: 100%;
  overflow: hidden;
}

.kf-shell {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
}

.kf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(18px);
}

body.kf-dark-mode .kf-header {
  background: transparent;
  border-bottom-color: rgba(243, 227, 8, 0.10);
  backdrop-filter: none;
}

.kf-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.kf-logo {
  display: grid;
  align-items: center;
  width: 190px;
  flex: 0 0 auto;
}

.kf-logo img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  filter: none;
}

.kf-logo-dark {
  display: none;
}

body.kf-dark-mode .kf-logo-light {
  display: none;
}

body.kf-dark-mode .kf-logo-dark {
  display: block;
}

.kf-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: var(--kf-black);
  font-size: 14px;
  font-weight: 600;
}

.kf-menu > a,
.kf-menu-group > button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 27px 0;
  color: inherit;
  cursor: pointer;
}

.kf-menu > a::after,
.kf-menu-group > button::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  content: "";
  background: var(--kf-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.kf-menu > a:hover::after,
.kf-menu > a.is-active::after,
.kf-menu-group.is-active > button::after,
.kf-menu-group:hover > button::after {
  transform: scaleX(1);
}

.kf-menu-group {
  position: relative;
}

.kf-menu-group button i {
  margin-left: 6px;
  font-size: 11px;
}

.kf-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--kf-line);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: var(--kf-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: all 0.2s ease;
}

.kf-dropdown-mega {
  left: 50%;
  width: min(335px, calc(100vw - 48px));
  max-height: min(70vh, 560px);
  display: block;
  overflow: visible;
}

.kf-menu-group:hover .kf-dropdown,
.kf-menu-group:focus-within .kf-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.kf-dropdown a {
  display: block;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--kf-muted);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.kf-dropdown a:hover {
  border-color: rgba(243, 227, 8, 0.34);
  background: rgba(243, 227, 8, 0.13);
  color: var(--kf-black);
  transform: translateX(2px);
}

.kf-dropdown a.is-active {
  background: rgba(243, 227, 8, 0.16);
  border-color: rgba(243, 227, 8, 0.38);
  color: var(--kf-black);
}

.kf-mega-featured {
  position: relative;
  width: min(305px, 100%);
  display: grid;
  gap: 6px;
}

.kf-mega-featured > a,
.kf-mega-product > a {
  padding: 13px 14px;
  border: 1px solid rgba(0, 0, 0, 0.045);
  background: var(--kf-soft);
}

.kf-mega-product {
  position: relative;
}

.kf-mega-product > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.kf-mega-product > a > span {
  display: block;
  min-width: 0;
}

.kf-mega-product > a i {
  flex: 0 0 auto;
  color: var(--kf-gold-dark);
  font-size: 11px;
}

.kf-mega-featured strong {
  display: block;
  color: var(--kf-black);
  font-size: 13px;
  line-height: 1.25;
}

.kf-mega-featured > a span,
.kf-mega-product > a small {
  display: block;
  margin-top: 4px;
  color: var(--kf-muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.kf-mega-solutions {
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid var(--kf-line);
}

.kf-mega-flyout {
  position: absolute;
  top: 0;
  left: calc(100% + 8px);
  z-index: 2;
  width: min(420px, calc(100vw - 48px));
  max-height: min(70vh, 520px);
  padding: 10px;
  border: 1px solid var(--kf-line);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: var(--kf-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.kf-mega-product:hover .kf-mega-flyout,
.kf-mega-product:focus-within .kf-mega-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.kf-mega-title {
  display: block;
  margin: 2px 0 10px;
  color: var(--kf-gold-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kf-mega-list {
  max-height: 312px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--kf-gold) transparent;
}

.kf-mega-list::-webkit-scrollbar {
  width: 6px;
}

.kf-mega-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(243, 227, 8, 0.62);
}

.kf-mega-list a {
  padding: 9px 10px;
  font-size: 12.5px;
  line-height: 1.25;
}

.kf-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.kf-language {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--kf-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.kf-language strong {
  color: var(--kf-black);
}

.kf-search {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--kf-black);
  font-size: 18px;
}

.kf-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 8px;
}

.kf-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 7px auto;
  background: var(--kf-black);
}

.kf-theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--kf-line);
  border-radius: 50%;
  background: var(--kf-white);
  color: var(--kf-black);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.kf-theme-toggle:hover {
  border-color: var(--kf-gold);
  color: var(--kf-gold-dark);
  transform: translateY(-1px);
}

.kf-theme-toggle-mobile {
  display: none;
  margin-left: auto;
}

.kf-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.kf-btn::before {
  position: absolute;
  inset: -2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 227, 8, 0.95), transparent);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.kf-btn:hover {
  transform: translateY(-1px);
  border-color: var(--kf-gold);
  color: inherit;
  box-shadow: 0 0 0 1px rgba(243, 227, 8, 0.2);
}

.kf-btn:hover::before {
  opacity: 1;
  animation: kf-button-trace 1.15s ease;
}

@keyframes kf-button-trace {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

.kf-btn-primary {
  background: linear-gradient(135deg, var(--kf-gold), #f3e308);
  color: #021c2c;
}

.kf-btn-primary:hover {
  background: linear-gradient(135deg, #ffe600, var(--kf-gold));
  color: #021c2c;
}

.kf-btn-primary i {
  color: inherit;
}

.kf-btn-outline-dark {
  border-color: var(--kf-line);
  background: var(--kf-white);
  color: var(--kf-black);
}

.kf-btn-outline-dark:hover {
  border-color: var(--kf-gold);
  background: rgba(243, 227, 8, 0.12);
  color: var(--kf-black);
}

.kf-btn-ghost {
  background: rgba(2, 28, 44, 0.54);
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--kf-white);
}

.kf-btn-ghost:hover {
  background: var(--kf-gold);
  color: #021c2c;
}

.kf-hero {
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  color: var(--kf-white);
}

.kf-hero-grid {
    position: relative; /* YENİ: İçeriğin katmanın üstünde kalması için */
    z-index: 2; /* YENİ: Yazıları görsel katmanının önüne taşır */
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 680px) 1fr;
    align-items: center;
    gap: 40px;
}

.kf-hero-slider {
  overflow: hidden;
  background: var(--kf-black);
}

.kf-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    /* 0.45 değerini değiştirerek koyuluk/şeffaflık dengesi */
    background: rgba(0, 0, 0, 0.10);
    z-index: 1;
}

.kf-hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 0.7s ease, transform 1.2s ease;
  pointer-events: none;
}

    

.kf-hero-slide.is-active {
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.kf-slider-pagination {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.kf-slider-dot {
  position: relative;
  width: 42px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.kf-slider-dot span {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  overflow: hidden;
  transform: translateY(-50%);
}

.kf-slider-dot span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--kf-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.kf-slider-dot.is-active span::after,
.kf-slider-dot:hover span::after {
  transform: scaleX(1);
}

.kf-slider-dot:focus-visible {
  outline: 2px solid var(--kf-gold);
  outline-offset: 4px;
}

.kf-hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 680px) 1fr;
  align-items: center;
  gap: 40px;
}

.kf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--kf-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kf-kicker::before {
  width: 40px;
  height: 1px;
  content: "";
  background: currentColor;
}

.kf-hero h2,
.kf-page-hero h2,
.kf-section h2 {
  margin: 0;
  color: inherit;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.kf-hero h2 {
  max-width: 690px;
  font-size: clamp(36px, 4.4vw, 64px);
}

.kf-hero h2 span,
.kf-section h2 span {
  display: inline-block;
  color: var(--kf-gold);
}

.kf-hero p {
  max-width: 660px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
}

.kf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.kf-hero-side {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 72px;
  text-align: right;
}

.kf-hero-side div {
  display: grid;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.kf-hero-side strong {
  color: var(--kf-gold);
}

.kf-hero-side p {
  margin: 0;
  color: var(--kf-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.45em;
  line-height: 1.8;
}

.kf-feature-strip {
  background: var(--kf-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.kf-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kf-feature-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  min-height: 300px;
  padding: 38px 34px;
  border-right: 1px solid var(--kf-line);
  background: var(--kf-white);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.kf-feature-card:last-child {
  border-right: 0;
}

.kf-feature-card::before,
.kf-feature-card::after {
  position: absolute;
  left: 18px;
  right: 18px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--kf-gold), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.45s ease;
}

.kf-feature-card::before {
  top: 0;
  transform: translateX(-35%);
}

.kf-feature-card::after {
  bottom: 0;
  transform: translateX(35%);
}

.card-treatment > div::before,
.card-treatment > div::after {
  position: absolute;
  width: 18px;
  height: 18px;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.45s ease;
}

.card-treatment > div::before {
  right: 18px;
  top: 18px;
  border-top: 1px solid var(--kf-gold);
  border-right: 1px solid var(--kf-gold);
  transform: translate(-8px, 8px);
}

.card-treatment > div::after {
  left: 18px;
  bottom: 18px;
  border-left: 1px solid var(--kf-gold);
  border-bottom: 1px solid var(--kf-gold);
  transform: translate(8px, -8px);
}

.kf-feature-card:hover,
.hover\:-translate-y-1:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 227, 8, 0.45);
  box-shadow: 0 18px 42px rgba(18, 18, 18, 0.08);
}

.kf-feature-card:hover::before,
.kf-feature-card:hover::after,
.kf-feature-card:hover > div::before,
.kf-feature-card:hover > div::after {
  opacity: 1;
  transform: translate(0, 0);
}

.hover\:shadow-soft:hover {
  box-shadow: 0 18px 42px rgba(18, 18, 18, 0.08);
}

.kf-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--kf-soft);
  color: var(--kf-gold-dark);
  font-size: 26px;
}

.kf-feature-card h3,
.kf-product-card h3,
.kf-process-card h3 {
  margin: 0 0 8px;
  color: var(--kf-black);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kf-feature-card h3 {
  min-height: 42px;
  color: var(--kf-blue);
  line-height: 1.18;
}

.kf-feature-card > div {
  display: grid;
  grid-template-rows: auto minmax(170px, 1fr);
  align-content: start;
  min-width: 0;
}

.kf-product-card,
.kf-process-card,
.kf-section-copy,
.kf-content,
.kf-contact-card div {
  min-width: 0;
}

.kf-hero h2,
.kf-page-hero h2,
.kf-section h2,
.kf-feature-card h3,
.kf-feature-card p,
.kf-product-card h3,
.kf-product-card p,
.kf-content h2,
.kf-content h3,
.kf-content p {
  overflow-wrap: anywhere;
}

.kf-feature-card p,
.kf-product-card p,
.kf-process-card p,
.kf-info-card p,
.kf-project-card p,
.kf-section p,
.kf-content p {
  margin: 0;
  color: var(--kf-muted);
}

.kf-feature-card p {
  color: #1d2225;
  line-height: 1.58;
}

.kf-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: var(--kf-black);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.kf-mini-link:hover {
  color: var(--kf-gold-dark);
}

.kf-section {
  padding: 86px 0;
  background: var(--kf-soft);
}

.kf-section-soft {
  background: var(--kf-white);
}

.kf-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 76px;
}

.kf-section-copy h2,
.kf-section-head h2 {
  max-width: 760px;
  color: var(--kf-black);
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.14;
}

.kf-section-copy p {
  max-width: 780px;
  margin-top: 18px;
  font-size: 17px;
}

.kf-strong-line {
  color: var(--kf-black) !important;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.kf-section-copy .kf-btn {
  margin-top: 26px;
}

.kf-image-panel {
  position: relative;
}

.kf-image-panel img {
  width: 100%;
  height: clamp(320px, 35vw, 430px);
  object-fit: cover;
  border-radius: var(--kf-radius);
  box-shadow: var(--kf-shadow);
}

.kf-image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(108, 132, 148, 0.32);
  border-radius: var(--kf-radius);
  background:
    linear-gradient(135deg, rgba(11, 52, 66, 0.08), rgba(243, 227, 8, 0.14)),
    var(--kf-white);
  color: var(--kf-muted);
  box-shadow: var(--kf-shadow);
}

.kf-image-placeholder::before,
.kf-image-placeholder::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.kf-image-placeholder::before {
  inset: 18px;
  border: 1px dashed rgba(108, 132, 148, 0.38);
  border-radius: 6px;
}

.kf-image-placeholder::after {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(243, 227, 8, 0.16);
  filter: blur(4px);
}

.kf-image-placeholder span {
  position: relative;
  z-index: 1;
  color: var(--kf-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kf-image-placeholder-large {
  min-height: clamp(320px, 35vw, 430px);
}

.kf-badge {
  position: absolute;
  right: -14px;
  bottom: 28px;
  width: 168px;
  padding: 26px 22px;
  border-radius: 8px;
  background: #0b3442;
  color: var(--kf-white);
  box-shadow: var(--kf-shadow);
}

.kf-badge strong {
  display: block;
  color: var(--kf-gold);
  font-size: 38px;
  line-height: 1;
}

.kf-badge span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.kf-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.kf-section-head > p {
  max-width: 560px;
  margin-bottom: 8px;
}

.kf-center-head {
  justify-content: center;
  text-align: center;
}

.kf-center-head p,
.kf-center-head h2 {
  margin-inline: auto;
}

.kf-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--kf-black);
  font-weight: 700;
}

.kf-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.kf-product-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kf-product-card {
  position: relative;
  min-width: 0;
  min-height: 100%;
  padding: 18px 18px 24px;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.035);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kf-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kf-shadow);
}

.kf-product-image {
  display: grid;
  place-items: center;
  height: 210px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: linear-gradient(140deg, #ffffff, #f3f1ed);
  overflow: hidden;
}

body.kf-dark-mode .kf-product-image {
  background: linear-gradient(140deg, #0b3442, #082b38);
}

body.kf-dark-mode .kf-check-item,
body.kf-dark-mode .kf-info-card,
body.kf-dark-mode .kf-process-card,
body.kf-dark-mode .kf-product-card,
body.kf-dark-mode .kf-project-card,
body.kf-dark-mode .kf-need-card,
body.kf-dark-mode .kf-contact-map,
body.kf-dark-mode .kf-contact-card,
body.kf-dark-mode .kf-form,
body.kf-dark-mode .kf-sidebar {
  border-color: rgba(243, 227, 8, 0.14);
}

body.kf-dark-mode .kf-btn-primary {
  color: #021c2c;
}

.kf-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
}

.kf-product-card p {
  min-height: 74px;
  font-size: 14px;
}

.kf-product-card > a,
.kf-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 10px;
  color: var(--kf-black);
}

.kf-need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kf-need-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 18px;
  min-height: 116px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.035);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kf-need-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--kf-shadow);
}

.kf-need-card > i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--kf-soft);
  color: var(--kf-gold-dark);
  font-size: 22px;
}

.kf-need-card span {
  color: var(--kf-black);
  font-weight: 800;
  line-height: 1.25;
}

.kf-need-card strong {
  color: var(--kf-black);
}

.kf-stats {
  background-size: cover;
  background-position: center;
  color: var(--kf-white);
}

.kf-engineering-band {
  padding: 72px 0;
}

.kf-engineering-grid {
  align-items: stretch;
}

.kf-dark-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.kf-dark-head h2 {
  margin: 0;
  color: var(--kf-white);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.kf-engineering-grid .kf-stat {
  display: grid;
  align-content: start;
  min-width: 0;
  height: 100%;
  text-align: left;
}

.kf-engineering-grid .kf-stat strong {
  min-height: 74px;
  color: var(--kf-gold);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.kf-engineering-grid .kf-stat span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.kf-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.kf-pill-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--kf-line);
  border-radius: 999px;
  background: var(--kf-white);
  color: var(--kf-black);
  font-size: 14px;
  font-weight: 800;
}

.kf-before-after-slider {
  position: relative;
  min-width: 0;
}

.kf-ba-viewport {
  position: relative;
  height: clamp(320px, 35vw, 430px);
  min-width: 0;
  overflow: hidden;
  border-radius: var(--kf-radius);
  background: #0b3442;
  box-shadow: var(--kf-shadow);
}

.kf-ba-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  transform: translateX(100%);
  transition: transform 0.48s cubic-bezier(.22, .61, .36, 1);
}

.kf-ba-slide.is-active {
  transform: translateX(0);
}

.kf-ba-slide.is-before {
  transform: translateX(-100%);
}

.kf-ba-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.kf-before-after-slider:hover .kf-ba-slide.is-active img {
  transform: scale(1.025);
}

.kf-ba-slide figcaption {
  position: absolute;
  left: 14px;
  top: 14px;
  bottom: auto;
  padding: 9px 12px;
  border-radius: 4px;
  background: rgba(8, 43, 56, 0.72);
  color: var(--kf-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kf-ba-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.kf-ba-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.62);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.kf-ba-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 0.22s ease, background 0.22s ease;
}

.kf-ba-dots button.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--kf-gold);
}

.kf-ba-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.62);
  color: var(--kf-white);
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.kf-ba-arrow:hover {
  border-color: var(--kf-gold);
  background: var(--kf-gold);
  color: #0b3442;
}

.kf-duo-panel::before {
  position: absolute;
  inset: 18px auto 18px 50%;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.35);
  z-index: 2;
}

.kf-duo-labels {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.kf-duo-labels span {
  padding: 9px 12px;
  border-radius: 4px;
  background: rgba(8, 43, 56, 0.72);
  color: var(--kf-white);
  font-size: 12px;
  font-weight: 800;
}

.kf-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kf-stat {
  padding: 48px 22px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.kf-stat:last-child {
  border-right: 0;
}

.kf-stat strong {
  display: block;
  color: var(--kf-gold);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  line-height: 1;
}

.kf-stat span {
  display: block;
  margin-top: 10px;
  font-weight: 700;
}

.kf-cta {
  background:
    radial-gradient(circle at 75% 50%, rgba(243, 227, 8, 0.12), transparent 22%),
    var(--kf-soft);
}

.kf-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: center;
  gap: 50px;
}

.kf-cta h2 {
  max-width: 820px;
  color: var(--kf-black);
  font-size: clamp(27px, 3vw, 40px);
}

.kf-cta p {
  max-width: 700px;
  margin: 12px 0 24px;
}

.kf-map-mark {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  column-gap: clamp(34px, 4vw, 58px);
  color: rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.36em;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.07), transparent 60%);
}

.kf-map-mark::before {
  grid-column: 2;
  grid-row: 1;
  width: 1px;
  height: 160px;
  content: "";
  background: rgba(243, 227, 8, 0.45);
}

.kf-map-mark span {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  overflow-wrap: normal;
}

.kf-map-mark span:first-child {
  grid-column: 1;
  justify-self: end;
}

.kf-map-mark span:last-child {
  grid-column: 3;
  justify-self: start;
}

.kf-cta-dark {
  background:
    radial-gradient(circle at 75% 50%, rgba(243, 227, 8, 0.14), transparent 24%),
    var(--kf-footer);
  color: var(--kf-white);
}

.kf-cta-dark h2 {
  color: var(--kf-white);
}

.kf-cta-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.kf-cta-dark .kf-map-mark {
  color: rgba(255, 255, 255, 0.32);
}

.kf-page-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--kf-white);
}

.kf-page-hero-solid {
  background:
    radial-gradient(circle at 78% 42%, rgba(243, 227, 8, 0.16), transparent 28%),
    linear-gradient(135deg, #0b3442, #082b38);
}

.kf-page-hero h2 {
  max-width: 900px;
  font-size: clamp(32px, 4vw, 54px);
}

.kf-page-hero p {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.kf-detail-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.kf-detail-grid-full {
  grid-template-columns: minmax(0, 1fr);
}

.kf-sidebar {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: var(--kf-shadow);
}

.kf-sidebar a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--kf-line);
  border-radius: 6px;
  color: var(--kf-black);
  font-weight: 800;
}

.kf-sidebar a::before {
  content: "\f105";
  font: var(--fa-font-solid);
  color: currentColor;
}

.kf-sidebar a.is-active,
.kf-sidebar a:hover {
  background: var(--kf-gold);
  border-color: var(--kf-gold);
}

.kf-content {
  min-width: 0;
}

.kf-content-image {
  width: 100%;
  height: clamp(280px, 34vw, 480px);
  object-fit: cover;
  border-radius: var(--kf-radius);
  box-shadow: var(--kf-shadow);
  margin-bottom: 34px;
}

.kf-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.kf-comparison-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
}

.kf-comparison-grid .kf-content-image {
  height: clamp(260px, 28vw, 420px);
  margin-bottom: 0;
}

.kf-comparison-grid figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 9px 12px;
  border-radius: 4px;
  background: rgba(8, 43, 56, 0.72);
  color: var(--kf-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kf-content h2 {
  margin: 0 0 16px;
  color: var(--kf-black);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.kf-content h3 {
  margin: 34px 0 12px;
  color: var(--kf-black);
  font-size: 22px;
  font-weight: 800;
}

.kf-detail-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
}

.kf-info-card {
  position: relative;
  min-width: 0;
  min-height: 190px;
  padding: 26px 58px 26px 26px;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.035);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.kf-info-card::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 90, 166, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 45%, var(--kf-gold-dark) 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--kf-gold-dark) 45% 55%, transparent 55%);
  background-position: 9px 11px, 14px 11px;
  background-repeat: no-repeat;
  background-size: 7px 7px;
  transition: border-color 0.22s ease, background-color 0.22s ease, background-position 0.22s ease, transform 0.22s ease;
}

.kf-info-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--kf-gold-dark);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.kf-info-card h3 {
  margin: 0 0 10px;
  color: var(--kf-black);
  font-size: 19px;
}

.kf-info-card p + p {
  margin-top: 12px;
}

.kf-info-card p strong {
  color: var(--kf-black);
}

@media (hover: hover) and (pointer: fine) {
  .kf-detail-card-grid {
    align-items: start;
  }

  .kf-info-card {
    height: 226px;
    min-height: 226px;
    cursor: default;
    overflow: hidden;
  }

  .kf-info-card p:not(:first-of-type) {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.28s ease, margin-top 0.28s ease, opacity 0.2s ease;
  }

  .kf-info-card p:first-of-type {
    opacity: 1;
  }

  .kf-info-card p:first-of-type strong {
    display: block;
  }

  .kf-info-card p:not(:first-of-type) + p {
    margin-top: 0;
  }

  .kf-info-card:hover,
  .kf-info-card:focus-within {
    height: auto;
    min-height: 226px;
    border-color: rgba(243, 227, 8, 0.46);
    box-shadow: 0 18px 42px rgba(18, 18, 18, 0.08);
    transform: translateY(-2px);
  }

  .kf-info-card:hover::after,
  .kf-info-card:focus-within::after {
    border-color: var(--kf-gold);
    background-color: var(--kf-gold);
    background-image:
      linear-gradient(45deg, transparent 45%, #021c2c 45% 55%, transparent 55%),
      linear-gradient(-45deg, transparent 45%, #021c2c 45% 55%, transparent 55%);
    background-position: 9px 9px, 14px 9px;
    transform: rotate(180deg);
  }

  .kf-info-card:hover p:not(:first-of-type),
  .kf-info-card:focus-within p:not(:first-of-type) {
    max-height: 520px;
    margin-top: 12px;
    opacity: 1;
  }
}

.kf-inline-cta,
.kf-result-box {
  margin-top: 38px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--kf-radius);
  background: var(--kf-black);
  color: var(--kf-white);
}

.kf-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.kf-inline-cta h3 {
  margin: 0;
  color: var(--kf-white);
}

.kf-inline-cta p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.kf-result-box p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.kf-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin-inline: auto;
}

.kf-projects-section .kf-section-head {
  max-width: 1120px;
  margin-inline: auto;
}

.kf-project-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 190px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.035);
}

.kf-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kf-project-card div {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 20px;
  background: var(--kf-white);
}

.kf-project-card span {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--kf-gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kf-project-card h3 {
  margin: 0 0 10px;
  color: var(--kf-black);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kf-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.kf-check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: 6px;
  background: var(--kf-white);
  color: var(--kf-black);
  font-weight: 800;
}

.kf-check-item i {
  color: var(--kf-gold-dark);
}

.tabs-custom.tabs-horizontal.tabs-line {
  max-width: 980px;
  margin-inline: auto;
}

.kf-tabs {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.035);
}

.kf-tabs-nav {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--kf-line);
}

.kf-tabs-nav button {
  position: relative;
  padding: 0 0 16px;
  border: 0;
  background: transparent;
  color: var(--kf-muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease;
}

.kf-tabs-nav button::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  content: "";
  background: var(--kf-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.kf-tabs-nav button.is-active,
.kf-tabs-nav button:hover {
  color: var(--kf-black);
}

.kf-tabs-nav button.is-active::after {
  transform: scaleX(1);
}

.kf-tab-panel {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.kf-tab-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.kf-tab-panel h2 {
  margin-bottom: 16px;
}

.kf-tab-panel p {
  max-width: 820px;
  font-size: 17px;
}

.kf-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.kf-process-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.035);
}

.kf-process-card strong {
  display: block;
  color: var(--kf-gold);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 24px;
}

.kf-contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: start;
}

.kf-contact-info {
  display: grid;
  gap: 20px;
}

.kf-contact-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.035);
}

.kf-contact-card > span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--kf-soft);
  color: var(--kf-gold-dark);
  font-size: 24px;
}

.kf-contact-card small {
  display: block;
  color: var(--kf-muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.kf-contact-card strong {
  color: var(--kf-black);
  font-size: 17px;
  line-height: 1.45;
}

.kf-form {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: var(--kf-shadow);
}

.kf-form h2 {
  margin: 0 0 30px;
  color: var(--kf-black);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.kf-form fieldset {
  min-width: 0;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

.kf-form legend {
  margin-bottom: 16px;
  color: var(--kf-black);
  font-size: 26px;
  font-weight: 800;
}

.kf-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kf-form input,
.kf-form select,
.kf-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid var(--kf-line);
  border-radius: 6px;
  background: var(--kf-soft);
  color: var(--kf-black);
  outline: none;
}

.kf-form textarea {
  grid-column: 1 / -1;
  min-height: 170px;
  padding-top: 18px;
  resize: vertical;
}

.kf-form input:focus,
.kf-form select:focus,
.kf-form textarea:focus {
  border-color: var(--kf-gold);
  background: var(--kf-white);
}

.kf-contact-map {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--kf-radius);
  background: var(--kf-white);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.035);
}

.kf-contact-map iframe {
  display: block;
  width: 100%;
  height: 270px;
  border: 0;
  filter: saturate(0.85) contrast(0.95);
}

.kf-info-item {
  gap: 18px;
  margin-bottom: 28px;
}

.kf-info-item > i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(243, 227, 8, 0.45);
  border-radius: 50%;
  color: var(--kf-gold-dark);
  font-size: 20px;
}

.kf-info-item h3 {
  margin: 0 0 5px;
  color: var(--kf-black);
  font-size: 17px;
  font-weight: 800;
}

.kf-info-item p {
  margin: 0;
}

.kf-contact-form {
  padding: clamp(24px, 3vw, 38px);
}

.kf-contact-form .form-control {
  border-radius: 4px;
}

.kf-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #021c2c;
  color: rgba(255, 255, 255, 0.78);
}

.kf-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(1180px, 62vw);
  z-index: -2;
  background: url("/assets/img/footer-map.png") 78% 39% / auto 100% no-repeat;
  pointer-events: none;
}

.kf-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #021c2c 0%, #021c2c 44%, rgba(2, 28, 44, 0.9) 52%, rgba(2, 28, 44, 0.26) 66%, rgba(2, 28, 44, 0.04) 100%),
    linear-gradient(180deg, rgba(2, 28, 44, 0.03) 0%, rgba(2, 28, 44, 0.18) 100%);
  pointer-events: none;
}

.kf-footer-top {
  padding: clamp(46px, 4.8vw, 64px) 0 clamp(20px, 2.4vw, 30px);
}

.kf-footer-layout {
  display: grid;
  width: min(100%, 960px);
  grid-template-columns: minmax(280px, 360px) minmax(145px, 190px) minmax(270px, 340px);
  gap: clamp(30px, 3.5vw, 58px);
  align-items: start;
}

.kf-footer-about,
.kf-footer-links {
  min-width: 0;
}

.kf-footer-logo img {
  width: 210px;
  max-width: 100%;
  height: auto;
  filter: none;
}

.kf-footer p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
}

.kf-footer h4 {
  margin: 0 0 22px;
  color: #f5f7f7;
  font-size: 17px;
  font-weight: 800;
}

.kf-footer-links ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kf-footer-links li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.kf-footer-links li i {
  margin-top: 5px;
  color: var(--kf-gold);
  font-size: 11px;
}

.kf-footer-links a:hover,
.kf-footer-contact a:hover,
.kf-social-links a:hover {
  color: var(--kf-gold);
}

.kf-footer-contact p {
  display: flex;
  gap: 14px;
  margin-top: 15px;
}

.kf-footer-contact i {
  flex: 0 0 auto;
  width: 22px;
  padding-top: 5px;
  color: var(--kf-gold);
  font-size: 18px;
}

.kf-social-links {
  gap: 10px;
}

.kf-social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.kf-social-links a:hover {
  border-color: var(--kf-gold);
  transform: translateY(-2px);
}

.kf-copyright {
  padding: 18px 0 22px;
  border-top: 1px solid rgba(184, 191, 193, 0.14);
  background: rgba(3, 28, 38, 0.2);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.kf-copyright p {
  max-width: none;
  margin: 0;
}

.kf-credits {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  letter-spacing: 0.12em;
}

@media (max-width: 1180px) {
  .kf-footer::before {
    width: min(820px, 70vw);
    background-position: 76% 42%;
  }

  .kf-footer-layout {
    width: 100%;
    grid-template-columns: minmax(240px, 1fr) minmax(220px, 1fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .kf-footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kf-footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .kf-footer {
    background: #021c2c;
  }

  .kf-footer::before {
    left: 0;
    width: 100%;
    opacity: 0.36;
    background-size: cover;
    background-position: 63% center;
  }

  .kf-footer::after {
    background:
      linear-gradient(180deg, rgba(4, 31, 42, 0.9) 0%, rgba(4, 31, 42, 0.78) 42%, rgba(4, 31, 42, 0.94) 100%),
      linear-gradient(90deg, rgba(4, 31, 42, 0.84), rgba(4, 31, 42, 0.58));
  }

  .kf-footer-top {
    padding: 42px 0 24px;
  }

  .kf-footer-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .kf-footer-logo img {
    width: 184px;
  }

  .kf-copyright {
    padding: 18px 0 22px;
  }

  .kf-credits {
    font-size: 10px;
    line-height: 1.7;
  }
}

.scroll-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px dashed rgba(243, 227, 8, 0.78);
  border-radius: 50%;
  background: rgba(8, 43, 56, 0.84);
  color: var(--kf-gold);
  box-shadow: 0 12px 32px rgba(18, 18, 18, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--kf-gold);
  color: #0b3442;
}

@media (max-width: 1180px) {
  .kf-feature-grid,
  .kf-product-grid,
  .kf-stats-grid,
  .kf-process-grid,
  .kf-need-grid,
  .kf-detail-card-grid,
  .kf-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kf-feature-card:nth-child(2n) {
    border-right: 0;
  }

  .kf-menu,
  .kf-nav-actions {
    display: none;
  }

  .kf-menu-toggle {
    display: block;
  }

  .kf-theme-toggle-mobile {
    display: grid;
  }

  .kf-nav {
    min-height: 72px;
    gap: 12px;
  }

  .kf-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--kf-white);
    border-bottom: 1px solid var(--kf-line);
    box-shadow: var(--kf-shadow);
  }

  .kf-menu.is-open {
    display: flex;
  }

  .kf-menu > a,
  .kf-menu-group > button {
    width: 100%;
    padding: 14px 0;
    text-align: left;
  }

  .kf-menu > a::after,
  .kf-menu-group > button::after {
    display: none;
  }

  .kf-dropdown {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    width: 100%;
    max-height: 360px;
    box-shadow: none;
    margin-bottom: 10px;
  }

  .kf-dropdown-mega {
    gap: 12px;
    overflow-y: auto;
  }

  .kf-mega-featured {
    width: 100%;
  }

  .kf-mega-solutions {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--kf-line);
    padding-top: 12px;
  }

  .kf-mega-flyout {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 8px;
    padding: 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .kf-mega-list {
    max-height: 230px;
    grid-template-columns: 1fr;
  }

  .kf-hero-grid,
  .kf-split,
  .kf-cta-grid,
  .kf-detail-grid,
  .kf-contact-grid {
    grid-template-columns: 1fr;
  }

  .kf-hero-side {
    display: none;
  }

  .kf-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .kf-shell {
    width: min(100% - 32px, 1320px);
  }

  .kf-logo {
    width: 158px;
  }

  .kf-hero,
  .kf-hero-slide,
  .kf-hero-grid {
    min-height: 540px;
  }

  .kf-hero-grid {
    align-items: end;
    padding: 72px 0 78px;
  }

  .kf-slider-pagination {
    bottom: 22px;
  }

  .kf-slider-dot {
    width: 34px;
  }

  .kf-hero h2 {
    font-size: clamp(35px, 10vw, 43px);
    line-height: 1.04;
    letter-spacing: -0.04em;
  }

  .kf-hero p {
    margin: 18px 0 22px;
  }

  .kf-hero p,
  .kf-page-hero p {
    font-size: 16px;
  }

  .kf-actions {
    gap: 12px;
  }

  .kf-feature-grid,
  .kf-product-grid,
  .kf-product-grid-wide,
  .kf-stats-grid,
  .kf-engineering-grid,
  .kf-process-grid,
  .kf-check-grid,
  .kf-need-grid,
  .kf-detail-card-grid,
  .kf-project-grid,
  .kf-form-grid,
  .kf-comparison-grid {
    grid-template-columns: 1fr;
  }

  .kf-feature-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--kf-line);
    padding: 28px 18px;
  }

  .kf-feature-card > div {
    grid-template-rows: auto;
  }

  .kf-feature-card h3 {
    min-height: 0;
  }

  .kf-feature-card:last-child {
    border-bottom: 0;
  }

  .kf-section {
    padding: 64px 0;
  }

  .kf-section-head {
    display: grid;
  }

  .kf-section-copy h2,
  .kf-section-head h2,
  .kf-cta h2 {
    font-size: 31px;
    line-height: 1.08;
  }

  .kf-image-panel img {
    height: 320px;
  }

  .kf-badge {
    right: 16px;
    bottom: 16px;
  }

  .kf-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .kf-engineering-band {
    padding: 54px 0;
  }

  .kf-engineering-grid {
    gap: 0;
  }

  .kf-engineering-grid .kf-stat {
    padding: 24px 0;
  }

  .kf-engineering-grid .kf-stat strong {
    min-height: 0;
    font-size: 25px;
  }

  .kf-stat:last-child {
    border-bottom: 0;
  }

  .kf-page-hero {
    min-height: 320px;
  }

  .kf-page-hero h2 {
    font-size: 34px;
  }

  .kf-contact-card {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 18px;
  }

  .kf-contact-card > span {
    width: 54px;
    height: 54px;
  }

  .kf-modern-preview .kf-split {
    gap: 30px;
  }

  .kf-before-after-slider {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .kf-ba-viewport {
    height: clamp(280px, 70vw, 320px);
  }

  .kf-before-after-slider:hover .kf-ba-slide.is-active img {
    transform: none;
  }

  .kf-ba-controls {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .kf-ba-dots {
    padding: 7px 9px;
  }

  .kf-ba-dots button.is-active {
    width: 20px;
  }

  .kf-project-grid {
    gap: 18px;
  }

  .kf-project-card {
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
  }

  .kf-project-card img {
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
  }

  .kf-project-card div {
    flex: 1 1 auto;
    padding: 20px;
    background: var(--kf-white);
  }

  .kf-project-card h3 {
    font-size: 18px;
    line-height: 1.2;
  }

  .kf-project-card p {
    font-size: 15px;
    line-height: 1.58;
    text-align: left;
    text-align-last: left;
  }

}

@media (max-width: 430px) {
  .kf-hero h2 {
    font-size: 34px;
  }

  .kf-hero h2 span {
    display: block;
  }

  .kf-feature-card p,
  .kf-section p,
  .kf-content p {
    font-size: 15px;
  }

  .kf-actions,
  .kf-btn {
    width: 100%;
  }

  .kf-feature-card {
    grid-template-columns: 1fr;
  }

  .kf-ba-viewport {
    height: 286px;
  }

  .kf-ba-arrow {
    width: 34px;
    height: 34px;
  }
}

/* Mobile-first safety layer: keeps narrow screens stable even if old browser chrome reports unusual widths. */
.kf-menu-toggle {
  display: block;
}

.kf-menu,
.kf-nav-actions {
  display: none;
}

.kf-menu.is-open {
  display: flex;
}

.kf-hero-grid,
.kf-split,
.kf-cta-grid,
.kf-detail-grid,
.kf-contact-grid,
.kf-feature-grid,
.kf-product-grid,
.kf-product-grid-wide,
.kf-stats-grid,
.kf-engineering-grid,
.kf-process-grid,
.kf-need-grid,
.kf-detail-card-grid,
.kf-project-grid,
.kf-check-grid,
.kf-form-grid,
.kf-comparison-grid {
  grid-template-columns: 1fr;
}

.kf-hero,
.kf-hero-slide,
.kf-hero-grid {
  min-height: 540px;
}

.kf-hero h2 {
  font-size: 34px;
  line-height: 1.04;
}

.kf-hero h2 span {
  display: block;
}

.kf-hero-side {
  display: none;
}

.kf-feature-card {
  border-right: 0;
  border-bottom: 1px solid var(--kf-line);
  padding: 28px 18px;
}

.kf-feature-card:last-child {
  border-bottom: 0;
}

.kf-sidebar {
  position: static;
}

@media (min-width: 761px) {
  .kf-hero,
  .kf-hero-grid {
    min-height: 560px;
  }

  .kf-hero h2 {
    font-size: clamp(36px, 4.4vw, 64px);
  }

  .kf-hero h2 span {
    display: inline-block;
  }

  .kf-feature-grid,
  .kf-product-grid,
  .kf-stats-grid,
  .kf-process-grid,
  .kf-need-grid,
  .kf-detail-card-grid,
  .kf-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kf-check-grid,
  .kf-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1181px) {
  .kf-menu-toggle {
    display: none;
  }

  .kf-menu {
    display: flex;
  }

  .kf-nav-actions {
    display: flex;
  }

  .kf-hero-grid {
    grid-template-columns: minmax(0, 680px) 1fr;
  }

  .kf-hero-side {
    display: flex;
  }

  .kf-split {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  }

  .kf-cta-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  }

  .kf-detail-grid {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .kf-detail-grid.kf-detail-grid-full {
    grid-template-columns: minmax(0, 1fr);
  }

  .kf-contact-grid {
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  }

  .kf-feature-grid,
  .kf-product-grid,
  .kf-stats-grid,
  .kf-engineering-grid,
  .kf-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .kf-engineering-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .kf-need-grid,
  .kf-detail-card-grid,
  .kf-product-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kf-project-grid,
  .kf-process-grid-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kf-product-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kf-feature-card {
    border-bottom: 0;
    border-right: 1px solid var(--kf-line);
    padding: 38px 34px;
  }

  .kf-feature-card:last-child {
    border-right: 0;
  }

  .kf-sidebar {
    position: sticky;
  }
}

@media (min-width: 1181px) and (max-width: 1380px) {
  .kf-menu {
    gap: 17px;
    font-size: 12.5px;
  }

  .kf-logo {
    width: 166px;
  }

  .kf-nav-actions {
    gap: 12px;
  }

  .kf-nav-actions .kf-btn {
    padding-inline: 18px;
  }
}

@media (max-width: 760px) {
  .kf-inline-cta {
    display: grid;
  }

  .kf-project-card {
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
  }

  .kf-duo-panel::before {
    display: none;
  }

  .kf-duo-labels {
    position: static;
    margin-top: 10px;
  }

  .kf-duo-labels span {
    color: var(--kf-white);
    background: var(--kf-black);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kf-hero-slide,
  .kf-product-card,
  .kf-need-card,
  .kf-reveal {
    transition: none !important;
    transform: none !important;
  }
}

.kf-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.kf-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .kf-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Detail pages: keep the reading flow calm and prevent side navigation from competing with content. */
.kf-detail-grid {
  grid-template-columns: minmax(0, 980px) !important;
  justify-content: center;
}

.kf-detail .kf-sidebar {
  position: static !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding: 0 0 24px;
  border: 0;
  border-bottom: 1px solid var(--kf-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.kf-detail .kf-sidebar a {
  min-height: 0;
  padding: 10px 13px;
  border-color: var(--kf-line);
  border-radius: 999px;
  background: var(--kf-white);
  color: var(--kf-black);
  font-size: 13px;
  line-height: 1.25;
}

.kf-detail .kf-sidebar a::before {
  display: none;
}

.kf-detail .kf-sidebar a.is-active,
.kf-detail .kf-sidebar a:hover {
  background: var(--kf-gold);
  border-color: var(--kf-gold);
  color: #0b3442;
}

.kf-content {
  width: 100%;
}

.kf-detail-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.kf-detail-card-grid .kf-info-card {
  min-height: 190px;
}

@media (hover: hover) and (pointer: fine) {
  .kf-detail-card-grid .kf-info-card {
    height: 226px;
    min-height: 226px;
  }

  .kf-detail-card-grid .kf-info-card:hover,
  .kf-detail-card-grid .kf-info-card:focus-within {
    height: auto;
    min-height: 226px;
  }
}

@media (max-width: 760px) {
  .kf-detail-card-grid {
    grid-template-columns: 1fr !important;
  }

  .kf-detail .kf-sidebar {
    display: grid;
  }

  .kf-info-card {
    padding-right: 26px;
  }

  .kf-info-card::after {
    display: none;
  }
}

/* Dark mode contrast fixes for dark image/CTA/footer surfaces. */
body.kf-dark-mode .kf-hero,
body.kf-dark-mode .kf-page-hero,
body.kf-dark-mode .kf-stats,
body.kf-dark-mode .kf-cta-dark,
body.kf-dark-mode .kf-footer,
body.kf-dark-mode .kf-badge,
body.kf-dark-mode .kf-inline-cta,
body.kf-dark-mode .kf-result-box {
  color: #f5f7f7;
}

body.kf-dark-mode .kf-hero p,
body.kf-dark-mode .kf-page-hero p,
body.kf-dark-mode .kf-cta-dark p,
body.kf-dark-mode .kf-footer p,
body.kf-dark-mode .kf-badge span,
body.kf-dark-mode .kf-result-box p,
body.kf-dark-mode .kf-inline-cta h3 {
  color: rgba(245, 247, 247, 0.82);
}

body.kf-dark-mode .kf-cta-dark h2,
body.kf-dark-mode .kf-footer h4,
body.kf-dark-mode .kf-inline-cta h3,
body.kf-dark-mode .kf-result-box .kf-kicker {
  color: #f5f7f7;
}

body.kf-dark-mode .kf-btn-ghost {
  color: #f5f7f7;
}

body.kf-dark-mode .kf-tabs,
body.kf-dark-mode .kf-detail .kf-sidebar a,
body.kf-dark-mode .kf-form input,
body.kf-dark-mode .kf-form textarea,
body.kf-dark-mode .kf-form select {
  background: #0b3442;
}

body.kf-dark-mode .kf-form input::placeholder,
body.kf-dark-mode .kf-form textarea::placeholder {
  color: rgba(245, 247, 247, 0.52);
}

/* Final stability and contrast overrides. Kept at the end so older responsive rules cannot win. */
@media (max-width: 1180px) {
  .kf-menu-toggle {
    position: relative;
    z-index: 70;
    display: block;
  }

  .kf-theme-toggle-mobile {
    position: relative;
    z-index: 70;
  }

  .kf-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    z-index: 60;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 12px 24px 24px;
    background: var(--kf-white);
    border-bottom: 1px solid var(--kf-line);
    box-shadow: var(--kf-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: none;
  }

  .kf-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.kf-home-page .kf-header .kf-menu.is-open,
  body.kf-dark-mode .kf-header .kf-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (min-width: 1181px) {
  .kf-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}

body.kf-dark-mode .kf-dropdown,
body.kf-dark-mode .kf-menu,
body.kf-dark-mode .kf-mega-flyout {
  background: #0b3442;
  color: #f5f7f7;
}

body.kf-dark-mode .kf-dropdown a,
body.kf-dark-mode .kf-mega-featured a {
  color: #dce3e5;
  border-color: rgba(243, 227, 8, 0.14);
}

body.kf-dark-mode .kf-dropdown a:hover,
body.kf-dark-mode .kf-dropdown a.is-active {
  background: rgba(243, 227, 8, 0.18);
  border-color: rgba(243, 227, 8, 0.42);
  color: #f5f7f7;
}

body.kf-dark-mode .kf-mega-featured strong,
body.kf-dark-mode .kf-mega-product > a i,
body.kf-dark-mode .kf-project-card h3,
body.kf-dark-mode .kf-info-card h3,
body.kf-dark-mode .kf-process-card h3,
body.kf-dark-mode .kf-content h2,
body.kf-dark-mode .kf-content h3,
body.kf-dark-mode .kf-tabs-nav button.is-active,
body.kf-dark-mode .kf-tabs-nav button:hover {
  color: #f5f7f7;
}

body.kf-dark-mode .kf-mega-featured > a span,
body.kf-dark-mode .kf-mega-product > a small,
body.kf-dark-mode .kf-project-card p,
body.kf-dark-mode .kf-info-card p,
body.kf-dark-mode .kf-process-card p,
body.kf-dark-mode .kf-content p,
body.kf-dark-mode .kf-tab-panel p {
  color: rgba(245, 247, 247, 0.76);
}

body.kf-dark-mode .kf-feature-card p {
  color: rgba(245, 247, 247, 0.86);
}

body.kf-dark-mode .kf-project-card div {
  background: #0b3442;
}

body.kf-dark-mode .kf-detail .kf-sidebar a {
  background: #0b3442;
  border-color: rgba(243, 227, 8, 0.18);
  color: #f5f7f7;
}

body.kf-dark-mode .kf-detail .kf-sidebar a.is-active,
body.kf-dark-mode .kf-detail .kf-sidebar a:hover {
  background: var(--kf-gold);
  border-color: var(--kf-gold);
  color: #0b3442;
}

body.kf-dark-mode .kf-info-card::after {
  border-color: rgba(243, 227, 8, 0.28);
  color: var(--kf-gold);
}

body.kf-dark-mode .kf-cta-dark .kf-map-mark {
  color: rgba(245, 247, 247, 0.56);
}

body.kf-dark-mode .kf-inline-cta,
body.kf-dark-mode .kf-result-box {
  background: #0b3442;
  color: #f5f7f7;
}

body.kf-dark-mode .kf-inline-cta .kf-kicker,
body.kf-dark-mode .kf-inline-cta h3 {
  color: #f5f7f7;
}

body.kf-dark-mode .kf-cta-dark .kf-map-mark {
  background: radial-gradient(ellipse at center, rgba(243, 227, 8, 0.10), transparent 60%);
}

body.kf-dark-mode .kf-cta-dark .kf-map-mark::before {
  background: rgba(243, 227, 8, 0.62);
}

/* Kraftorge premium design revision layer */
:root {
  --kf-dark: #082f3a;
  --kf-dark-deep: #061f27;
  --kf-dark-soft: #123943;
  --kf-bg: #f3f5f4;
  --kf-bg-light: #fafaf8;
  --kf-heading: #082f3a;
  --kf-text: #667a80;
  --kf-muted: #667a80;
  --kf-border: #dde3e3;
  --kf-yellow: #e3cb00;
  --kf-yellow-hover: #f0da15;
  --kf-black: var(--kf-heading);
  --kf-ink: var(--kf-text);
  --kf-blue: var(--kf-heading);
  --kf-line: var(--kf-border);
  --kf-soft: var(--kf-bg);
  --kf-gold: var(--kf-yellow);
  --kf-gold-dark: var(--kf-heading);
  --kf-footer: var(--kf-dark-deep);
  --kf-radius: 6px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --kf-shadow: 0 18px 50px rgba(8, 47, 58, 0.06);
  --kf-shadow-hover: 0 24px 60px rgba(8, 47, 58, 0.10);
}

body {
  background: var(--kf-bg);
  color: var(--kf-text);
  font-family: "Manrope", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--kf-heading);
  font-weight: 700;
  letter-spacing: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--kf-yellow);
  outline-offset: 4px;
}

.kf-shell {
  width: min(1320px, calc(100% - 48px));
}

.kf-header {
  z-index: 999;
  min-height: 82px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 47, 58, 0.08);
  backdrop-filter: blur(14px);
}

body.kf-dark-mode .kf-header {
  background: rgba(6, 31, 39, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.kf-nav {
  min-height: 82px;
  gap: 30px;
}

.kf-logo {
  width: 165px;
}

.kf-menu {
  gap: 30px;
  color: #163943;
  font-size: 14px;
  font-weight: 600;
}

.kf-menu > a,
.kf-menu-group > button {
  padding-block: 31px;
}

.kf-menu > a::after,
.kf-menu-group > button::after {
  bottom: 24px;
  height: 1px;
  background: var(--kf-yellow);
}

.kf-dropdown,
.kf-sidebar,
.kf-product-card,
.kf-project-card,
.kf-need-card,
.kf-info-card,
.kf-process-card,
.kf-contact-card,
.kf-form,
.kf-contact-map {
  border-color: rgba(8, 47, 58, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--kf-shadow);
}

.kf-btn {
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.kf-btn:hover {
  transform: translateY(-1px);
}

.kf-btn-primary {
  background: var(--kf-yellow);
  border-color: var(--kf-yellow);
  color: #071f26;
}

.kf-btn-primary:hover {
  background: var(--kf-yellow-hover);
  border-color: var(--kf-yellow-hover);
  color: #071f26;
}

.kf-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.kf-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.60);
  color: #ffffff;
}

.kf-hero,
.kf-hero-slide,
.kf-hero-grid {
  min-height: 700px;
}

.kf-hero-slider {
  background: var(--kf-dark-deep);
}

.kf-hero-slide {
  background-position: center;
}

.kf-hero-slide::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(90deg, rgba(4, 25, 31, 0.95) 0%, rgba(4, 25, 31, 0.80) 34%, rgba(4, 25, 31, 0.42) 58%, rgba(4, 25, 31, 0.08) 100%);
  pointer-events: none;
}

.kf-hero-slide > .kf-shell {
  position: relative;
  z-index: 2;
}

.kf-hero-grid {
  grid-template-columns: minmax(0, 720px) 1fr;
}

.kf-kicker {
  gap: 12px;
  color: var(--kf-yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.kf-kicker::before {
  width: 36px;
  height: 1px;
}

.kf-hero h2,
.kf-page-hero h2,
.kf-section h2,
.kf-dark-head h2,
.kf-cta h2 {
  letter-spacing: 0;
}

.kf-hero h2 {
  max-width: 720px;
  color: #ffffff;
  font-size: 64px;
  font-weight: 700;
  line-height: 0.98;
}

.kf-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
}

.kf-section {
  padding: 110px 0;
  background: var(--kf-bg-light);
}

.kf-section-soft,
.kf-needs,
.kf-modern-preview {
  background: var(--kf-bg);
}

.kf-products {
  background: var(--kf-bg-light);
}

.kf-feature-strip {
  position: relative;
  z-index: 3;
  background: #ffffff;
  border-bottom: 1px solid var(--kf-border);
}

.kf-feature-card {
  min-height: 0;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 34px 36px;
  border-right: 1px solid var(--kf-border);
  background: #ffffff;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kf-feature-card::before,
.kf-feature-card::after,
.card-treatment > div::before,
.card-treatment > div::after {
  display: none;
}

.kf-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--kf-shadow-hover);
}

.kf-feature-number {
  grid-column: 1 / -1;
  color: var(--kf-yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.kf-icon,
.kf-need-card > i {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #f4f6f5;
  color: var(--kf-heading);
  font-size: 22px;
}

.kf-feature-card > div {
  grid-template-rows: auto;
}

.kf-feature-card h3 {
  min-height: 0;
  color: var(--kf-heading);
  font-size: 18px;
  line-height: 1.25;
}

.kf-feature-card p,
.kf-section p,
.kf-content p {
  color: var(--kf-text);
  line-height: 1.75;
}

.kf-section-head h2,
.kf-section-copy h2 {
  max-width: 760px;
  color: var(--kf-heading);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
}

.kf-section-copy p,
.kf-section-head > p {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.75;
}

.kf-need-card {
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--kf-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kf-need-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--kf-shadow-hover);
}

.kf-about-preview {
  background: var(--kf-dark-deep);
  color: #ffffff;
}

.kf-about-preview .kf-section-copy h2,
.kf-about-preview .kf-section-copy h2 span {
  color: #ffffff;
}

.kf-about-preview .kf-section-copy h2 span {
  color: var(--kf-yellow);
}

.kf-about-preview .kf-section-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.kf-about-preview .kf-strong-line {
  color: #ffffff !important;
}

.kf-about-preview .kf-image-panel img {
  height: 520px;
}

.kf-image-panel img,
.kf-ba-slide img,
.kf-product-image img,
.kf-project-card img,
.kf-content-image {
  border-radius: var(--radius-md);
  filter: saturate(0.88) contrast(1.04) brightness(0.97);
}

.kf-image-panel img,
.kf-ba-viewport {
  box-shadow: var(--kf-shadow);
}

.kf-badge {
  width: 220px;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: rgba(6, 31, 39, 0.92);
  color: #ffffff;
}

.kf-badge::after {
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 14px;
  content: "";
  background: var(--kf-yellow);
}

.kf-badge strong {
  display: none;
}

.kf-badge span {
  margin-top: 0;
  color: #ffffff;
  font-size: 14px;
}

.kf-product-card {
  overflow: hidden;
  padding: 0 0 24px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 40px rgba(8, 47, 58, 0.055);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kf-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--kf-shadow-hover);
}

.kf-product-image {
  height: auto;
  margin: 0 0 22px;
  border-radius: 0;
  background: #f4f6f5;
}

.kf-product-image img {
  aspect-ratio: 4 / 3;
  transition: transform 0.5s cubic-bezier(.2, .7, .2, 1);
}

.kf-product-card:hover .kf-product-image img,
.kf-project-card:hover img,
.kf-before-after-slider:hover .kf-ba-slide.is-active img {
  transform: scale(1.025);
}

.kf-product-card h3,
.kf-product-card p,
.kf-product-card > a {
  margin-left: 22px;
  margin-right: 22px;
}

.kf-product-card h3 {
  color: var(--kf-heading);
  font-size: 21px;
  line-height: 1.25;
}

.kf-product-card p {
  min-height: 0;
  color: var(--kf-text);
  font-size: 14px;
  line-height: 1.65;
}

.kf-engineering-band {
  padding: 110px 0;
  background-size: cover;
  background-position: center;
}

.kf-engineering-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kf-engineering-grid .kf-stat {
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 0;
  text-align: left;
}

.kf-engineering-grid .kf-stat:first-child {
  border-left: 0;
}

.kf-engineering-grid .kf-stat em {
  display: block;
  margin-bottom: 15px;
  color: var(--kf-yellow);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
}

.kf-engineering-grid .kf-stat strong {
  min-height: 0;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.1;
}

.kf-engineering-grid .kf-stat span {
  color: rgba(255, 255, 255, 0.70);
  font-size: 15px;
  line-height: 1.6;
}

.kf-modern-preview {
  background: var(--kf-bg);
}

.kf-ba-viewport {
  height: 520px;
  border-radius: var(--radius-md);
}

.kf-ba-arrow {
  width: 42px;
  height: 42px;
  background: rgba(6, 31, 39, 0.88);
  color: #ffffff;
}

.kf-modernization-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.kf-modernization-list li {
  margin-bottom: 14px;
  color: var(--kf-heading);
  font-size: 15px;
  font-weight: 600;
}

.kf-modernization-list li::before {
  content: "\2713";
  margin-right: 10px;
  color: var(--kf-yellow);
  font-weight: 800;
}

.kf-projects-section {
  background: #ffffff;
}

.kf-project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.kf-project-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(8, 47, 58, 0.08);
  box-shadow: var(--kf-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kf-project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--kf-shadow-hover);
}

.kf-project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.5s cubic-bezier(.2, .7, .2, 1);
}

.kf-project-card div {
  padding: 24px;
}

.kf-project-card span {
  color: var(--kf-yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.kf-project-card h3 {
  color: var(--kf-heading);
  font-size: 22px;
  line-height: 1.25;
}

.kf-cta-dark {
  background: var(--kf-dark-deep);
  color: #ffffff;
}

.kf-cta h2 {
  color: #ffffff;
  font-size: 46px;
  line-height: 1.08;
}

.kf-cta-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.kf-footer {
  background-color: var(--kf-dark-deep);
}

.link-arrow i,
.kf-btn i,
.kf-text-link i,
.kf-mini-link i {
  transition: transform 0.25s ease;
}

.link-arrow:hover i,
.kf-btn:hover i,
.kf-text-link:hover i,
.kf-mini-link:hover i {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .kf-section,
  .kf-engineering-band {
    padding: 90px 0;
  }

  .kf-hero,
  .kf-hero-slide,
  .kf-hero-grid {
    min-height: 650px;
  }

  .kf-hero h2 {
    font-size: 52px;
  }

  .kf-feature-grid,
  .kf-product-grid,
  .kf-project-grid,
  .kf-engineering-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kf-feature-card:nth-child(2n) {
    border-right: 0;
  }

  .kf-engineering-grid .kf-stat:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 768px) {
  .kf-shell {
    width: min(100% - 32px, 1320px);
  }

  .kf-section,
  .kf-engineering-band {
    padding: 70px 0;
  }

  .kf-header,
  .kf-nav {
    min-height: 72px;
  }

  .kf-logo {
    width: 146px;
  }

  .kf-hero,
  .kf-hero-slide,
  .kf-hero-grid {
    min-height: 650px;
  }

  .kf-hero-slide::before {
    background: linear-gradient(rgba(4, 25, 31, 0.88), rgba(4, 25, 31, 0.88));
  }

  .kf-hero h2 {
    font-size: 42px;
    line-height: 1.04;
  }

  .kf-hero p {
    font-size: 16px;
  }

  .kf-feature-grid,
  .kf-product-grid,
  .kf-product-grid-wide,
  .kf-project-grid,
  .kf-engineering-grid,
  .kf-need-grid {
    grid-template-columns: 1fr;
  }

  .kf-feature-card {
    border-right: 0;
    border-bottom: 1px solid var(--kf-border);
    padding: 28px 0;
  }

  .kf-feature-card:last-child {
    border-bottom: 0;
  }

  .kf-section-head h2,
  .kf-section-copy h2,
  .kf-cta h2 {
    font-size: 34px;
  }

  .kf-about-preview .kf-image-panel img,
  .kf-image-panel img {
    height: auto;
    min-height: 0;
  }

  .kf-ba-viewport {
    height: 360px;
    min-height: 0;
  }

  .kf-engineering-grid .kf-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 24px 0;
  }

  .kf-engineering-grid .kf-stat:first-child {
    border-top: 0;
  }
}

/* Homepage alignment to the industrial visual guide */
body.kf-home-page:not(.kf-dark-mode) .kf-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(6, 31, 39, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
}

body.kf-home-page:not(.kf-dark-mode) .kf-logo-light {
  display: none;
}

body.kf-home-page:not(.kf-dark-mode) .kf-logo-dark {
  display: block;
}

body.kf-home-page:not(.kf-dark-mode) .kf-menu,
body.kf-home-page:not(.kf-dark-mode) .kf-language,
body.kf-home-page:not(.kf-dark-mode) .kf-theme-toggle {
  color: #ffffff;
}

body.kf-home-page .kf-hero,
body.kf-home-page .kf-hero-slide,
body.kf-home-page .kf-hero-grid {
  min-height: 760px;
}

body.kf-home-page .kf-hero-grid {
  align-items: center;
  padding-top: 82px;
}

body.kf-home-page .kf-hero h2 {
  max-width: 680px;
  font-size: 72px;
  line-height: 0.98;
}

body.kf-home-page .kf-hero h2 span {
  display: block;
  color: var(--kf-yellow);
}

body.kf-home-page .kf-hero p {
  max-width: 650px;
  margin-top: 20px;
  margin-bottom: 26px;
}

.kf-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  gap: 0;
  width: min(100%, 650px);
  margin-top: 34px;
}

.kf-hero-metrics div {
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.kf-hero-metrics div:first-child {
  padding-left: 0;
  border-left: 0;
}

.kf-hero-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.kf-hero-metrics span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

body.kf-home-page .kf-needs {
  padding-top: 70px;
  padding-bottom: 70px;
  background:
    radial-gradient(circle at 12% 10%, rgba(227, 203, 0, 0.08), transparent 24%),
    var(--kf-bg);
}

body.kf-home-page .kf-need-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.kf-home-page .kf-need-card {
  min-height: 104px;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  gap: 16px;
  padding: 20px;
}

body.kf-home-page .kf-need-card > i {
  width: 48px;
  height: 48px;
  color: #1775ad;
}

body.kf-home-page .kf-about-preview {
  padding-top: 76px;
  padding-bottom: 76px;
  background:
    linear-gradient(90deg, rgba(6, 31, 39, 0.96), rgba(6, 31, 39, 0.78)),
    var(--kf-dark-deep);
}

body.kf-home-page .kf-about-preview .kf-split {
  gap: 56px;
}

body.kf-home-page .kf-about-preview .kf-image-panel img {
  height: 460px;
  box-shadow: none;
}

body.kf-home-page .kf-badge {
  right: 24px;
  bottom: 24px;
}

body.kf-home-page .kf-products {
  padding-top: 76px;
  padding-bottom: 88px;
}

body.kf-home-page .kf-product-grid {
  gap: 24px;
}

body.kf-home-page .kf-product-card {
  box-shadow: 0 14px 38px rgba(8, 47, 58, 0.07);
}

body.kf-home-page .kf-product-card > .kf-mini-link {
  width: auto;
  height: auto;
  justify-content: flex-start;
  margin-top: 18px;
  color: var(--kf-heading);
}

body.kf-home-page .kf-engineering-band {
  padding: 70px 0;
}

body.kf-home-page .kf-engineering-grid .kf-stat {
  position: relative;
}

body.kf-home-page .kf-engineering-grid .kf-stat:not(:last-child)::after {
  position: absolute;
  right: -10px;
  top: 50%;
  content: "\f061";
  color: var(--kf-yellow);
  font-family: "Font Awesome 6 Free";
  font-size: 14px;
  font-weight: 900;
  transform: translateY(-50%);
}

body.kf-home-page .kf-modern-preview {
  padding-top: 70px;
  padding-bottom: 70px;
}

body.kf-home-page .kf-ba-viewport {
  height: 430px;
}

@media (max-width: 1024px) {
  body.kf-home-page .kf-hero,
  body.kf-home-page .kf-hero-slide,
  body.kf-home-page .kf-hero-grid {
    min-height: 690px;
  }

  body.kf-home-page .kf-need-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.kf-home-page .kf-hero h2 {
    font-size: 56px;
  }

  .kf-hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .kf-hero-metrics div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 768px) {
  body.kf-home-page:not(.kf-dark-mode) .kf-header {
    background: rgba(6, 31, 39, 0.90);
  }

  body.kf-home-page .kf-hero,
  body.kf-home-page .kf-hero-slide,
  body.kf-home-page .kf-hero-grid {
    min-height: 690px;
  }

  body.kf-home-page .kf-hero-grid {
    padding-top: 72px;
  }

  body.kf-home-page .kf-hero h2 {
    font-size: 42px;
  }

  body.kf-home-page .kf-need-grid,
  .kf-hero-metrics {
    grid-template-columns: 1fr;
  }

  .kf-hero-metrics div,
  .kf-hero-metrics div:nth-child(odd) {
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
  }

  .kf-hero-metrics div:first-child {
    border-top: 0;
  }

  body.kf-home-page .kf-engineering-grid .kf-stat:not(:last-child)::after {
    display: none;
  }

  body.kf-home-page .kf-about-preview .kf-image-panel img,
  body.kf-home-page .kf-ba-viewport {
    height: 340px;
  }
}

/* Homepage exact industrial mockup pass */
body.kf-home-page {
  --kf-heading: #082f3a;
  --kf-dark-deep: #061f27;
  --kf-yellow: #e3cb00;
  --kf-yellow-soft: #f0db35;
  --kf-bg: #f3f5f4;
  --kf-muted-local: #667a80;
  background: var(--kf-bg);
  font-family: "Manrope", Arial, sans-serif;
}

body.kf-home-page .kf-shell {
  width: min(100% - 88px, 1520px);
}

body.kf-home-page:not(.kf-dark-mode) .kf-header {
  min-height: 74px;
  background: linear-gradient(90deg, rgba(6, 31, 39, 0.92), rgba(6, 31, 39, 0.68));
  box-shadow: none;
}

body.kf-home-page .kf-nav {
  min-height: 74px;
}

body.kf-home-page .kf-logo {
  width: 162px;
}

body.kf-home-page .kf-menu {
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
}

body.kf-home-page .kf-menu a,
body.kf-home-page .kf-menu button {
  letter-spacing: 0;
}

body.kf-home-page .kf-menu a.is-active::after,
body.kf-home-page .kf-menu-group.is-active > button::after {
  height: 2px;
  background: var(--kf-yellow);
}

body.kf-home-page .kf-nav-actions .kf-btn {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 3px;
  color: #061f27;
  font-size: 13px;
  font-weight: 900;
}

body.kf-home-page .kf-language {
  font-size: 12px;
  font-weight: 800;
}

body.kf-home-page .kf-theme-toggle {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

body.kf-home-page .kf-hero,
body.kf-home-page .kf-hero-slide,
body.kf-home-page .kf-hero-grid {
  min-height: 720px;
}

body.kf-home-page .kf-hero-slide {
  background-size: cover;
}

body.kf-home-page .kf-hero-slide::before {
  background:
    linear-gradient(90deg, rgba(6, 31, 39, 0.94) 0%, rgba(6, 31, 39, 0.72) 39%, rgba(6, 31, 39, 0.22) 69%, rgba(6, 31, 39, 0.10) 100%);
}

body.kf-home-page .kf-hero-grid {
  align-items: center;
  padding-top: 78px;
}

body.kf-home-page .kf-hero-copy {
  max-width: 650px;
}

body.kf-home-page .kf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--kf-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

body.kf-home-page .kf-kicker::before {
  width: 52px;
  height: 2px;
  content: "";
  background: var(--kf-yellow);
}

body.kf-home-page .kf-hero h2 {
  max-width: 650px;
  margin-top: 26px;
  color: #ffffff;
  font-size: 58px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

body.kf-home-page .kf-hero h2 span {
  color: var(--kf-yellow);
}

body.kf-home-page .kf-hero p {
  max-width: 600px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.75;
}

body.kf-home-page .kf-actions {
  gap: 16px;
  margin-top: 28px;
}

body.kf-home-page .kf-btn {
  min-height: 50px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

body.kf-home-page .kf-btn-primary {
  border-color: transparent;
  background: var(--kf-yellow);
  color: #061f27;
  box-shadow: none;
}

body.kf-home-page .kf-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

body.kf-home-page .kf-hero-metrics {
  width: 645px;
  margin-top: 46px;
}

body.kf-home-page .kf-hero-metrics div {
  min-width: 128px;
  padding: 0 28px;
}

body.kf-home-page .kf-hero-metrics strong {
  font-size: 30px;
}

body.kf-home-page .kf-hero-metrics span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

body.kf-home-page .kf-slider-pagination {
  right: 92px;
  bottom: 32px;
  left: auto;
  justify-content: flex-end;
  width: auto;
}

body.kf-home-page .kf-slider-dot span {
  width: 46px;
  height: 3px;
  border-radius: 0;
}

body.kf-home-page .kf-feature-strip,
body.kf-home-page .kf-home-extra-section {
  display: none;
}

body.kf-home-page .kf-needs {
  padding: 42px 0 54px;
  background: #f3f5f4;
}

body.kf-home-page .kf-center-head {
  justify-content: center;
  margin-bottom: 34px;
  text-align: center;
}

body.kf-home-page .kf-center-head .kf-kicker {
  justify-content: center;
}

body.kf-home-page .kf-center-head .kf-kicker::before {
  width: 42px;
}

body.kf-home-page .kf-section-head h2 {
  margin-top: 16px;
  color: var(--kf-heading);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.12;
}

body.kf-home-page .kf-section-head p {
  max-width: 900px;
  margin: 14px auto 0;
  color: var(--kf-muted-local);
  font-size: 14px;
}

body.kf-home-page .kf-need-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.kf-home-page .kf-need-card {
  min-height: 112px;
  grid-template-columns: 54px minmax(0, 1fr) 24px;
  gap: 18px;
  padding: 22px;
  border: 1px solid #e7ecec;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(8, 47, 58, 0.05);
}

body.kf-home-page .kf-need-card > i {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: #eef3f4;
  color: #1678ae;
  font-size: 22px;
}

body.kf-home-page .kf-need-card span {
  gap: 5px;
}

body.kf-home-page .kf-need-card span strong {
  color: #082f3a;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.24;
}

body.kf-home-page .kf-need-card span small {
  display: block;
  color: #667a80;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

body.kf-home-page .kf-need-card > strong {
  color: #0b5d88;
}

body.kf-home-page .kf-about-preview {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #061f27;
}

body.kf-home-page .kf-about-preview::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(6, 31, 39, 0.98) 0%, rgba(6, 31, 39, 0.90) 35%, rgba(6, 31, 39, 0.18) 78%);
  z-index: 1;
}

body.kf-home-page .kf-about-preview .kf-split {
  position: relative;
  z-index: 2;
  min-height: 500px;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: center;
}

body.kf-home-page .kf-about-preview .kf-section-copy {
  padding: 74px 0;
}

body.kf-home-page .kf-section-copy h2 {
  color: #ffffff;
  font-size: 50px;
  font-weight: 900;
  line-height: 1.06;
}

body.kf-home-page .kf-section-copy h2 span {
  color: var(--kf-yellow);
}

body.kf-home-page .kf-about-preview .kf-section-copy p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.7;
}

body.kf-home-page .kf-about-preview .kf-image-panel {
  margin-right: -44px;
}

body.kf-home-page .kf-about-preview .kf-image-panel img {
  width: 100%;
  height: 500px;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
}

body.kf-home-page .kf-badge {
  right: 36px;
  bottom: 42px;
  max-width: 210px;
  border-radius: 6px;
  background: #082f3a;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

body.kf-home-page .kf-products {
  padding: 58px 0 70px;
  background: #f3f5f4;
}

body.kf-home-page .kf-products .kf-section-head {
  align-items: end;
  margin-bottom: 26px;
}

body.kf-home-page .kf-products .kf-kicker::before,
body.kf-home-page .kf-modern-preview .kf-kicker::before {
  width: 44px;
}

body.kf-home-page .kf-products .kf-section-head h2 {
  max-width: 760px;
}

body.kf-home-page .kf-text-link {
  color: #082f3a;
  font-size: 14px;
  font-weight: 900;
}

body.kf-home-page .kf-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

body.kf-home-page .kf-product-card {
  overflow: hidden;
  padding: 0 0 22px;
  border: 1px solid #e1e7e7;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(8, 47, 58, 0.08);
}

body.kf-home-page .kf-product-image {
  height: 190px;
  margin: 0;
  border-radius: 0;
}

body.kf-home-page .kf-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.kf-home-page .kf-product-card h3,
body.kf-home-page .kf-product-card p,
body.kf-home-page .kf-product-card > .kf-mini-link {
  margin-right: 20px;
  margin-left: 20px;
}

body.kf-home-page .kf-product-card h3 {
  margin-top: 18px;
  color: #082f3a;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

body.kf-home-page .kf-product-card p {
  min-height: 96px;
  margin-top: 8px;
  color: #667a80;
  font-size: 14px;
  line-height: 1.45;
}

body.kf-home-page .kf-product-card > .kf-mini-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 8px;
  color: #082f3a;
  font-size: 14px;
  font-weight: 900;
}

body.kf-home-page .kf-engineering-band {
  padding: 58px 0;
  background-size: cover;
  background-position: center 42%;
}

body.kf-home-page .kf-engineering-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

body.kf-home-page .kf-engineering-grid .kf-stat {
  min-height: 148px;
  padding: 8px 32px 8px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

body.kf-home-page .kf-engineering-grid .kf-stat:first-child {
  border-left: 0;
}

body.kf-home-page .kf-engineering-grid .kf-stat em {
  color: var(--kf-yellow);
  font-size: 31px;
  font-style: normal;
  font-weight: 900;
}

body.kf-home-page .kf-engineering-grid .kf-stat strong {
  margin-top: 10px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

body.kf-home-page .kf-engineering-grid .kf-stat span {
  max-width: 210px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.45;
}

body.kf-home-page .kf-engineering-grid .kf-stat:not(:last-child)::after {
  right: 20px;
  color: var(--kf-yellow);
}

body.kf-home-page .kf-modern-preview {
  padding: 44px 0 70px;
  background: #f3f5f4;
}

body.kf-home-page .kf-modern-preview .kf-split {
  grid-template-columns: 1.22fr 1fr;
  gap: 58px;
  align-items: center;
}

body.kf-home-page .kf-before-after-slider {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 16px 38px rgba(8, 47, 58, 0.08);
}

body.kf-home-page .kf-ba-viewport {
  height: 360px;
}

body.kf-home-page .kf-ba-slide img {
  object-fit: cover;
  object-position: center center;
}

body.kf-home-page .kf-ba-slide figcaption {
  top: 18px;
  left: 20px;
  border-radius: 3px;
  background: #082f3a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

body.kf-home-page .kf-ba-controls {
  pointer-events: none;
}

body.kf-home-page .kf-ba-arrow {
  pointer-events: auto;
  background: #082f3a;
  color: #ffffff;
}

body.kf-home-page .kf-modern-preview .kf-section-copy h2 {
  color: #082f3a;
  font-size: 42px;
  line-height: 1.08;
}

body.kf-home-page .kf-modern-preview .kf-section-copy p {
  color: #667a80;
  font-size: 15px;
  line-height: 1.72;
}

body.kf-home-page .kf-modernization-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 26px 0;
}

body.kf-home-page .kf-modernization-list li {
  color: #082f3a;
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 1200px) {
  body.kf-home-page .kf-shell {
    width: min(100% - 48px, 1520px);
  }

  body.kf-home-page .kf-product-grid,
  body.kf-home-page .kf-engineering-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.kf-home-page .kf-engineering-grid .kf-stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 24px 0;
  }

  body.kf-home-page .kf-engineering-grid .kf-stat:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 900px) {
  body.kf-home-page .kf-hero h2 {
    font-size: 46px;
  }

  body.kf-home-page .kf-need-grid,
  body.kf-home-page .kf-product-grid,
  body.kf-home-page .kf-about-preview .kf-split,
  body.kf-home-page .kf-modern-preview .kf-split {
    grid-template-columns: 1fr;
  }

  body.kf-home-page .kf-about-preview .kf-image-panel {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  body.kf-home-page .kf-shell {
    width: min(100% - 32px, 1520px);
  }

  body.kf-home-page .kf-hero,
  body.kf-home-page .kf-hero-slide,
  body.kf-home-page .kf-hero-grid {
    min-height: 680px;
  }

  body.kf-home-page .kf-hero h2,
  body.kf-home-page .kf-section-copy h2,
  body.kf-home-page .kf-modern-preview .kf-section-copy h2 {
    font-size: 36px;
  }

  body.kf-home-page .kf-section-head h2 {
    font-size: 32px;
  }

  body.kf-home-page .kf-hero-metrics,
  body.kf-home-page .kf-modernization-list {
    width: 100%;
    grid-template-columns: 1fr;
  }

  body.kf-home-page .kf-hero-metrics div {
    min-width: 0;
  }
}

/* Brief corrections: consistent transparent header, restored projects/CTA rhythm */
.kf-header,
body.kf-home-page:not(.kf-dark-mode) .kf-header,
body.kf-dark-mode .kf-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 999;
  min-height: 82px;
  background:
    linear-gradient(90deg, rgba(6, 31, 39, 0.92), rgba(6, 31, 39, 0.64));
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: #ffffff;
  backdrop-filter: blur(16px);
  box-shadow: none;
}

.kf-header .kf-nav {
  min-height: 82px;
}

.kf-header .kf-logo {
  width: 165px;
}

.kf-header .kf-logo-light,
body.kf-home-page:not(.kf-dark-mode) .kf-logo-light,
body.kf-dark-mode .kf-header .kf-logo-light {
  display: none;
}

.kf-header .kf-logo-dark,
body.kf-home-page:not(.kf-dark-mode) .kf-logo-dark,
body.kf-dark-mode .kf-header .kf-logo-dark {
  display: block;
}

.kf-header .kf-menu,
.kf-header .kf-language,
.kf-header .kf-theme-toggle,
body.kf-home-page:not(.kf-dark-mode) .kf-menu,
body.kf-home-page:not(.kf-dark-mode) .kf-language,
body.kf-home-page:not(.kf-dark-mode) .kf-theme-toggle {
  color: #ffffff;
}

.kf-header .kf-menu > a,
.kf-header .kf-menu-group > button {
  padding-block: 31px;
}

.kf-header .kf-theme-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
}

.kf-header .kf-nav-actions .kf-btn {
  min-height: 48px;
  border: 0;
  border-radius: 5px;
  background: #e3cb00;
  color: #06232c;
  font-weight: 800;
}

.kf-header .kf-nav-actions .kf-btn:hover {
  background: #d6c000;
  transform: translateY(-2px);
}

.kf-page-hero {
  min-height: 440px;
  padding-top: 92px;
}

body.kf-home-page .kf-hero-slide::before {
  background:
    linear-gradient(90deg, rgba(4, 29, 37, 0.96) 0%, rgba(4, 29, 37, 0.78) 42%, rgba(4, 29, 37, 0.18) 72%, rgba(4, 29, 37, 0.05) 100%);
}

body.kf-home-page .kf-hero-metrics {
  padding: 18px 0;
  background: linear-gradient(90deg, rgba(6, 31, 39, 0.10), rgba(6, 31, 39, 0));
}

body.kf-home-page .kf-need-card,
body.kf-home-page .kf-product-card,
body.kf-home-page .kf-project-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

body.kf-home-page .kf-projects-section {
  display: block;
  padding-top: 90px;
  padding-bottom: 90px;
  background: #eef2f2;
}

body.kf-home-page .kf-projects-section .kf-project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.kf-home-page .kf-projects-section .kf-project-card {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(6, 31, 39, 0.06);
}

body.kf-home-page .kf-projects-section .kf-project-card img {
  aspect-ratio: 16 / 10;
}

body.kf-home-page .kf-cta-dark {
  display: block;
  padding-top: 96px;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 82% 32%, rgba(227, 203, 0, 0.13), transparent 30%),
    linear-gradient(135deg, #061f27, #082f3a);
}

body.kf-home-page .kf-cta-dark .kf-cta-grid {
  align-items: center;
}

body.kf-home-page .kf-cta-dark h2 {
  max-width: 760px;
  color: #ffffff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.08;
}

body.kf-home-page .kf-cta-dark p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.74);
}

body.kf-home-page .kf-cta-dark .kf-map-mark {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

@media (max-width: 1200px) {
  body.kf-home-page .kf-projects-section .kf-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .kf-header,
  body.kf-home-page:not(.kf-dark-mode) .kf-header,
  body.kf-dark-mode .kf-header {
    min-height: 72px;
    background: rgba(6, 31, 39, 0.94);
  }

  .kf-page-hero {
    min-height: 380px;
    padding-top: 84px;
  }

  body.kf-home-page .kf-projects-section .kf-project-grid {
    grid-template-columns: 1fr;
  }

  body.kf-home-page .kf-cta-dark h2 {
    font-size: 34px;
  }
}

/* Pixel refinement from provided reference screenshots */
.kf-header,
body.kf-home-page:not(.kf-dark-mode) .kf-header,
body.kf-dark-mode .kf-header {
  background:
    linear-gradient(90deg, rgba(6, 31, 39, 0.78), rgba(6, 31, 39, 0.58));
  border-bottom-color: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px) saturate(1.05);
}

.kf-header .kf-logo {
  width: 198px;
}

.kf-header .kf-logo img {
  object-fit: contain;
}

.kf-header .kf-nav-actions .kf-btn,
body.kf-home-page .kf-btn-primary {
  background: #e3cb00;
  color: #061f27;
}

.kf-header .kf-nav-actions .kf-btn:hover,
body.kf-home-page .kf-btn-primary:hover {
  background: #f0db35;
}

body.kf-home-page .kf-hero-slide::before {
  background:
    linear-gradient(90deg, rgba(6, 31, 39, 0.96) 0%, rgba(6, 31, 39, 0.86) 34%, rgba(6, 31, 39, 0.44) 58%, rgba(6, 31, 39, 0.10) 100%),
    linear-gradient(180deg, rgba(6, 31, 39, 0.10), rgba(6, 31, 39, 0.26));
}

body.kf-home-page .kf-hero,
body.kf-home-page .kf-hero-slide,
body.kf-home-page .kf-hero-grid {
  min-height: 724px;
}

body.kf-home-page .kf-hero h2 {
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

body.kf-home-page .kf-hero h2 span,
body.kf-home-page .kf-kicker,
body.kf-home-page .kf-engineering-grid .kf-stat em {
  color: #e3cb00;
}

body.kf-home-page .kf-hero-metrics strong {
  color: #ffffff;
}

body.kf-home-page .kf-hero p {
  color: rgba(255, 255, 255, 0.86);
}

body.kf-home-page .kf-btn-ghost {
  background: rgba(6, 31, 39, 0.22);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.kf-home-page .kf-about-preview {
  min-height: 410px;
  background:
    linear-gradient(90deg, rgba(6, 31, 39, 0.98) 0%, rgba(6, 31, 39, 0.93) 32%, rgba(6, 31, 39, 0.55) 54%, rgba(6, 31, 39, 0.12) 100%),
    url('/assets/img/kraftorge-optimized/11_robotlu_otomasyon_hucresi.jpg') center center / cover no-repeat;
}

body.kf-home-page .kf-about-preview::before {
  background:
    radial-gradient(circle at 12% 48%, rgba(6, 31, 39, 0.42), transparent 38%),
    linear-gradient(90deg, rgba(6, 31, 39, 0.42), rgba(6, 31, 39, 0));
}

body.kf-home-page .kf-about-preview .kf-split {
  min-height: 410px;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: 0;
}

body.kf-home-page .kf-about-preview .kf-section-copy {
  max-width: 560px;
  padding: 64px 0 58px;
}

body.kf-home-page .kf-about-preview .kf-section-copy h2 {
  font-size: 44px;
  line-height: 1.02;
}

body.kf-home-page .kf-about-preview .kf-section-copy p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.62;
}

body.kf-home-page .kf-about-preview .kf-image-panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  pointer-events: none;
}

body.kf-home-page .kf-about-preview .kf-image-panel img {
  display: none;
}

body.kf-home-page .kf-about-preview .kf-badge {
  right: max(44px, calc((100vw - 1320px) / 2 + 24px));
  bottom: 54px;
  width: 186px;
  padding: 24px;
  background: rgba(8, 47, 58, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

body.kf-home-page .kf-about-preview .kf-badge span {
  font-size: 17px;
  line-height: 1.28;
}

body.kf-home-page .kf-engineering-band {
  position: relative;
  overflow: hidden;
  padding: 54px 0 50px;
  background-color: #061f27;
  background-size: cover;
  background-position: center center;
}

body.kf-home-page .kf-engineering-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 31, 39, 0.96), rgba(6, 31, 39, 0.82)),
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.10), transparent 35%);
  z-index: 0;
}

body.kf-home-page .kf-engineering-band .kf-shell {
  position: relative;
  z-index: 1;
}

body.kf-home-page .kf-process-label {
  margin-bottom: 26px;
}

body.kf-home-page .kf-process-label .kf-kicker {
  color: #e3cb00;
}

body.kf-home-page .kf-engineering-grid .kf-stat {
  min-height: 126px;
  padding: 0 30px 0 22px;
  border-left-color: rgba(255, 255, 255, 0.16);
}

body.kf-home-page .kf-engineering-grid .kf-stat:first-child {
  padding-left: 0;
}

body.kf-home-page .kf-engineering-grid .kf-stat em {
  font-size: 29px;
  line-height: 1;
}

body.kf-home-page .kf-engineering-grid .kf-stat strong {
  margin-top: 11px;
  font-size: 16px;
  line-height: 1.25;
}

body.kf-home-page .kf-engineering-grid .kf-stat span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 13px;
  line-height: 1.45;
}

body.kf-home-page .kf-engineering-grid .kf-stat:not(:last-child)::after {
  right: 16px;
  color: #e3cb00;
}

@media (max-width: 900px) {
  body.kf-home-page .kf-about-preview {
    background-position: 60% center;
  }

  body.kf-home-page .kf-about-preview .kf-split {
    min-height: 520px;
  }

  body.kf-home-page .kf-about-preview .kf-image-panel {
    position: static;
  }

  body.kf-home-page .kf-about-preview .kf-badge {
    right: 24px;
    bottom: 24px;
  }
}

/* Restore requested pre-pass structure: light header, two-column about, classic process band */
.kf-header,
body.kf-home-page:not(.kf-dark-mode) .kf-header,
body.kf-dark-mode .kf-header {
  background:
    linear-gradient(90deg, rgba(244, 247, 247, 0.94) 0%, rgba(214, 222, 223, 0.86) 31%, rgba(76, 96, 99, 0.82) 70%, rgba(6, 31, 39, 0.96) 100%);
  border-bottom-color: rgba(8, 47, 58, 0.10);
  backdrop-filter: blur(14px);
}

.kf-header .kf-logo {
  width: 185px;
}

.kf-header .kf-logo-light,
body.kf-home-page:not(.kf-dark-mode) .kf-logo-light,
body.kf-dark-mode .kf-header .kf-logo-light {
  display: block;
}

.kf-header .kf-logo-dark,
body.kf-home-page:not(.kf-dark-mode) .kf-logo-dark,
body.kf-dark-mode .kf-header .kf-logo-dark {
  display: none;
}

.kf-header .kf-menu,
.kf-header .kf-language,
.kf-header .kf-theme-toggle,
body.kf-home-page:not(.kf-dark-mode) .kf-menu,
body.kf-home-page:not(.kf-dark-mode) .kf-language,
body.kf-home-page:not(.kf-dark-mode) .kf-theme-toggle {
  color: #ffffff;
}

.kf-header .kf-nav-actions .kf-btn {
  background: #e3cb00;
  color: #061f27;
}

body.kf-home-page .kf-about-preview {
  min-height: 0;
  padding-top: 76px;
  padding-bottom: 76px;
  background:
    linear-gradient(90deg, rgba(6, 31, 39, 0.96), rgba(6, 31, 39, 0.78)),
    #061f27;
}

body.kf-home-page .kf-about-preview::before {
  display: none;
}

body.kf-home-page .kf-about-preview .kf-split {
  position: relative;
  z-index: 1;
  min-height: 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

body.kf-home-page .kf-about-preview .kf-section-copy {
  max-width: none;
  padding: 0;
}

body.kf-home-page .kf-about-preview .kf-section-copy h2 {
  font-size: 50px;
  line-height: 1.06;
}

body.kf-home-page .kf-about-preview .kf-section-copy p {
  margin-top: 20px;
  max-width: 610px;
  font-size: 16px;
  line-height: 1.7;
}

body.kf-home-page .kf-about-preview .kf-image-panel {
  position: relative;
  inset: auto;
  z-index: 1;
  margin: 0;
  pointer-events: auto;
}

body.kf-home-page .kf-about-preview .kf-image-panel img {
  display: block;
  width: 100%;
  height: 460px;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  box-shadow: none;
}

body.kf-home-page .kf-about-preview .kf-badge {
  right: 24px;
  bottom: 24px;
  width: auto;
  max-width: 220px;
  padding: 22px;
  border-radius: 6px;
  background: #082f3a;
  box-shadow: none;
  backdrop-filter: none;
}

body.kf-home-page .kf-about-preview .kf-badge span {
  font-size: 18px;
  line-height: 1.3;
}

body.kf-home-page .kf-engineering-band {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background-color: #061f27;
  background-size: cover;
  background-position: center 42%;
}

body.kf-home-page .kf-engineering-band::before {
  display: none;
}

body.kf-home-page .kf-process-label {
  display: none;
}

body.kf-home-page .kf-engineering-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

body.kf-home-page .kf-engineering-grid .kf-stat {
  min-height: 148px;
  padding: 8px 32px 8px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

body.kf-home-page .kf-engineering-grid .kf-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

body.kf-home-page .kf-engineering-grid .kf-stat em {
  font-size: 31px;
  line-height: 1;
}

body.kf-home-page .kf-engineering-grid .kf-stat strong {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.25;
}

body.kf-home-page .kf-engineering-grid .kf-stat span {
  max-width: 210px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
}

body.kf-home-page .kf-engineering-grid .kf-stat:not(:last-child)::after {
  right: -10px;
  color: #e3cb00;
}

@media (max-width: 900px) {
  body.kf-home-page .kf-about-preview .kf-split {
    grid-template-columns: 1fr;
  }
}

/* Final reference alignment: light industrial header and project request band */
.kf-header,
body.kf-home-page:not(.kf-dark-mode) .kf-header,
body.kf-dark-mode .kf-header {
  position: sticky;
  top: 0;
  inset: auto;
  min-height: 86px;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(247, 249, 249, 0.95) 30%,
      rgba(196, 207, 208, 0.89) 52%,
      rgba(94, 117, 119, 0.86) 78%,
      rgba(6, 31, 39, 0.96) 100%);
  border-bottom: 1px solid rgba(6, 31, 39, 0.08);
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(1.04);
}

.kf-header .kf-nav {
  min-height: 86px;
}

.kf-header .kf-logo {
  width: 174px;
}

.kf-header .kf-logo-light,
body.kf-home-page:not(.kf-dark-mode) .kf-logo-light,
body.kf-dark-mode .kf-header .kf-logo-light {
  display: block;
}

.kf-header .kf-logo-dark,
body.kf-home-page:not(.kf-dark-mode) .kf-logo-dark,
body.kf-dark-mode .kf-header .kf-logo-dark {
  display: none;
}

.kf-header .kf-menu,
.kf-header .kf-language,
.kf-header .kf-theme-toggle,
body.kf-home-page:not(.kf-dark-mode) .kf-menu,
body.kf-home-page:not(.kf-dark-mode) .kf-language,
body.kf-home-page:not(.kf-dark-mode) .kf-theme-toggle {
  color: #061f27;
}

.kf-header .kf-menu > a,
.kf-header .kf-menu-group > button {
  padding-block: 32px;
  color: #061f27;
  font-weight: 800;
}

.kf-header .kf-menu > a:hover,
.kf-header .kf-menu > a.is-active,
.kf-header .kf-menu-group:hover > button,
.kf-header .kf-menu-group.is-active > button {
  color: #061f27;
}

.kf-header .kf-menu > a.is-active::after,
.kf-header .kf-menu-group.is-active > button::after {
  background: #e3cb00;
}

.kf-header .kf-language {
  color: #061f27;
  font-weight: 800;
}

.kf-header .kf-theme-toggle {
  color: #ffffff;
  background: rgba(6, 31, 39, 0.28);
  border-color: rgba(255, 255, 255, 0.48);
}

.kf-header .kf-nav-actions .kf-btn {
  min-height: 50px;
  padding-inline: 25px;
  border: 0;
  border-radius: 4px;
  background: #e3cb00;
  color: #061f27;
  font-weight: 900;
  box-shadow: none;
}

.kf-header .kf-nav-actions .kf-btn:hover {
  background: #f0db35;
  transform: translateY(-1px);
}

body.kf-home-page .kf-hero {
  margin-top: 0;
}

body.kf-home-page .kf-cta-dark {
  min-height: 484px;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 84% 23%, rgba(227, 203, 0, 0.10), transparent 28%),
    linear-gradient(135deg, #66898d 0%, #496c6f 41%, #173c3d 100%);
  color: #ffffff;
}

body.kf-home-page .kf-cta-dark .kf-cta-grid {
  width: 100%;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 0.98fr);
  gap: clamp(70px, 8vw, 138px);
  align-items: center;
}

body.kf-home-page .kf-cta-dark .kf-kicker {
  color: #f0db35;
}

body.kf-home-page .kf-cta-dark h2 {
  max-width: 660px;
  margin-top: 20px;
  color: #ffffff;
  font-size: clamp(39px, 4.35vw, 66px);
  font-weight: 900;
  line-height: 1.05;
}

body.kf-home-page .kf-cta-dark p {
  max-width: 690px;
  margin: 20px 0 32px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.72;
}

body.kf-home-page .kf-cta-dark .kf-btn-primary {
  min-height: 50px;
  padding-inline: 27px;
  border-radius: 4px;
  background: #e3cb00;
  color: #061f27;
  font-weight: 900;
  box-shadow: none;
}

body.kf-home-page .kf-cta-dark .kf-map-mark {
  min-height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: #061f27;
  letter-spacing: 0.48em;
  backdrop-filter: none;
}

body.kf-home-page .kf-cta-dark .kf-map-mark::before {
  height: 160px;
  background: rgba(227, 203, 0, 0.68);
}

body.kf-home-page .kf-cta-dark .kf-map-mark span {
  color: #061f27;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  body.kf-home-page .kf-cta-dark .kf-cta-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  body.kf-home-page .kf-cta-dark .kf-map-mark {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .kf-header,
  body.kf-home-page:not(.kf-dark-mode) .kf-header,
  body.kf-dark-mode .kf-header {
    min-height: 72px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(6, 31, 39, 0.94));
  }

  .kf-header .kf-nav {
    min-height: 72px;
  }

  .kf-header .kf-logo {
    width: 148px;
  }

  body.kf-home-page .kf-cta-dark {
    min-height: 0;
    padding: 76px 0;
  }

  body.kf-home-page .kf-cta-dark h2 {
    font-size: 34px;
  }

  body.kf-home-page .kf-cta-dark p {
    font-size: 16px;
  }

  body.kf-home-page .kf-cta-dark .kf-map-mark {
    min-height: 170px;
    column-gap: 28px;
    letter-spacing: 0.26em;
  }
}

/* About reference and unified dark theme */
body.kf-home-page:not(.kf-dark-mode) .kf-about-preview {
  min-height: 610px;
  display: flex;
  align-items: center;
  padding: 74px 0;
  background:
    linear-gradient(90deg,
      #ffffff 0%,
      #f7f9f9 22%,
      #dce2e3 48%,
      #9aa9aa 72%,
      #506768 100%);
  color: #061f27;
}

body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-shell {
  width: min(1516px, calc(100% - 48px));
}

body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-section-copy {
  max-width: 620px;
}

body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-section-copy h2 {
  margin-top: 24px;
  color: #061f27;
  font-size: 50px;
  font-weight: 900;
  line-height: 1.08;
}

body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-section-copy h2 span {
  color: #e3cb00;
}

body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-section-copy p {
  max-width: 610px;
  margin: 22px 0 28px;
  color: #061f27;
  font-size: 16px;
  line-height: 1.72;
}

body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-image-panel img {
  width: 100%;
  height: 460px;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  filter: none;
}

body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-badge {
  right: 24px;
  bottom: 24px;
  width: 220px;
  max-width: calc(100% - 48px);
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.90);
  color: #061f27;
  box-shadow: 0 16px 36px rgba(6, 31, 39, 0.14);
  backdrop-filter: blur(8px);
}

body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-badge span {
  color: #061f27;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.26;
}

body.kf-dark-mode {
  --kf-dark: #061f27;
  --kf-dark-deep: #061f27;
  --kf-dark-soft: #0b3442;
  --kf-bg: #061f27;
  --kf-bg-light: #082f3a;
  --kf-heading: #ffffff;
  --kf-text: #d9e2e4;
  --kf-muted: #afbec2;
  --kf-border: rgba(255, 255, 255, 0.14);
  --kf-black: #ffffff;
  --kf-ink: #d9e2e4;
  --kf-blue: #e3cb00;
  --kf-line: rgba(255, 255, 255, 0.14);
  --kf-soft: #061f27;
  --kf-white: #082f3a;
  --kf-footer: #061f27;
  --kf-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  --kf-shadow-hover: 0 24px 58px rgba(0, 0, 0, 0.34);
  background: #061f27;
  color: #d9e2e4;
  color-scheme: dark;
}

body.kf-dark-mode,
body.kf-dark-mode main,
body.kf-dark-mode .kf-section,
body.kf-dark-mode .kf-needs,
body.kf-dark-mode .kf-products,
body.kf-dark-mode .kf-projects,
body.kf-dark-mode .kf-modern-preview,
body.kf-dark-mode .kf-detail,
body.kf-dark-mode .kf-page-content {
  background-color: #061f27;
  color: #d9e2e4;
}

body.kf-dark-mode .kf-section-soft,
body.kf-dark-mode .kf-home-extra-section,
body.kf-dark-mode .kf-tabs,
body.kf-dark-mode .kf-tab-panel,
body.kf-dark-mode .kf-ba-panel {
  background-color: #082f3a;
}

body.kf-dark-mode .kf-header,
body.kf-dark-mode.kf-home-page .kf-header {
  background: rgba(6, 31, 39, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

body.kf-dark-mode .kf-header .kf-logo-light {
  display: none;
}

body.kf-dark-mode .kf-header .kf-logo-dark {
  display: block;
}

body.kf-dark-mode .kf-header .kf-menu,
body.kf-dark-mode .kf-header .kf-menu > a,
body.kf-dark-mode .kf-header .kf-menu-group > button,
body.kf-dark-mode .kf-header .kf-language {
  color: #ffffff;
}

body.kf-dark-mode .kf-header .kf-theme-toggle {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

body.kf-dark-mode .kf-dropdown,
body.kf-dark-mode .kf-menu,
body.kf-dark-mode .kf-mega-flyout,
body.kf-dark-mode .kf-sidebar,
body.kf-dark-mode .kf-product-card,
body.kf-dark-mode .kf-project-card,
body.kf-dark-mode .kf-need-card,
body.kf-dark-mode .kf-info-card,
body.kf-dark-mode .kf-process-card,
body.kf-dark-mode .kf-contact-card,
body.kf-dark-mode .kf-contact-map,
body.kf-dark-mode .kf-form,
body.kf-dark-mode .kf-check-item {
  border-color: rgba(255, 255, 255, 0.12);
  background: #082f3a;
  color: #d9e2e4;
  box-shadow: var(--kf-shadow);
}

body.kf-dark-mode .kf-product-image,
body.kf-dark-mode .kf-need-card > i,
body.kf-dark-mode .kf-tabs-nav,
body.kf-dark-mode .kf-form input,
body.kf-dark-mode .kf-form textarea,
body.kf-dark-mode .kf-form select {
  border-color: rgba(255, 255, 255, 0.12);
  background: #0b3442;
  color: #ffffff;
}

body.kf-dark-mode h1,
body.kf-dark-mode h2,
body.kf-dark-mode h3,
body.kf-dark-mode h4,
body.kf-dark-mode h5,
body.kf-dark-mode h6,
body.kf-dark-mode .kf-section-head h2,
body.kf-dark-mode .kf-section-copy h2,
body.kf-dark-mode .kf-need-card span strong,
body.kf-dark-mode .kf-product-card h3,
body.kf-dark-mode .kf-project-card h3,
body.kf-dark-mode .kf-content h2,
body.kf-dark-mode .kf-content h3 {
  color: #ffffff;
}

body.kf-dark-mode p,
body.kf-dark-mode .kf-section-head p,
body.kf-dark-mode .kf-section-copy p,
body.kf-dark-mode .kf-need-card span small,
body.kf-dark-mode .kf-product-card p,
body.kf-dark-mode .kf-project-card p,
body.kf-dark-mode .kf-info-card p,
body.kf-dark-mode .kf-process-card p,
body.kf-dark-mode .kf-content p {
  color: #afbec2;
}

body.kf-dark-mode .kf-kicker,
body.kf-dark-mode .kf-text-link,
body.kf-dark-mode .kf-mini-link,
body.kf-dark-mode .kf-product-card > .kf-mini-link {
  color: #e3cb00;
}

body.kf-dark-mode .kf-btn-primary,
body.kf-dark-mode .kf-header .kf-nav-actions .kf-btn {
  border-color: #e3cb00;
  background: #e3cb00;
  color: #061f27;
}

body.kf-dark-mode .kf-btn-ghost {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

body.kf-dark-mode.kf-home-page .kf-about-preview {
  background: linear-gradient(110deg, #061f27 0%, #061f27 47%, #082f3a 100%);
  color: #ffffff;
}

body.kf-dark-mode.kf-home-page .kf-about-preview .kf-shell {
  width: min(1516px, calc(100% - 48px));
}

body.kf-dark-mode.kf-home-page .kf-about-preview .kf-section-copy h2,
body.kf-dark-mode.kf-home-page .kf-about-preview .kf-section-copy p {
  color: #ffffff;
}

body.kf-dark-mode.kf-home-page .kf-about-preview .kf-section-copy h2 span {
  color: #e3cb00;
}

body.kf-dark-mode.kf-home-page .kf-about-preview .kf-badge {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(6, 31, 39, 0.92);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

body.kf-dark-mode.kf-home-page .kf-about-preview .kf-badge span {
  color: #ffffff;
}

body.kf-dark-mode .kf-cta-dark,
body.kf-dark-mode.kf-home-page .kf-cta-dark,
body.kf-dark-mode .kf-footer,
body.kf-dark-mode .kf-engineering-band,
body.kf-dark-mode .kf-inline-cta,
body.kf-dark-mode .kf-result-box {
  background-color: #061f27;
}

@media (max-width: 900px) {
  body.kf-home-page:not(.kf-dark-mode) .kf-about-preview,
  body.kf-dark-mode.kf-home-page .kf-about-preview {
    min-height: 0;
    padding: 64px 0;
  }

  body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-split,
  body.kf-dark-mode.kf-home-page .kf-about-preview .kf-split {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-section-copy,
  body.kf-dark-mode.kf-home-page .kf-about-preview .kf-section-copy {
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  body.kf-home-page:not(.kf-dark-mode) .kf-about-preview,
  body.kf-dark-mode.kf-home-page .kf-about-preview {
    padding: 52px 0;
  }

  body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-shell,
  body.kf-dark-mode.kf-home-page .kf-about-preview .kf-shell {
    width: min(100% - 32px, 1516px);
  }

  body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-section-copy h2,
  body.kf-dark-mode.kf-home-page .kf-about-preview .kf-section-copy h2 {
    font-size: 36px;
  }

  body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-image-panel img,
  body.kf-dark-mode.kf-home-page .kf-about-preview .kf-image-panel img {
    height: 340px;
  }

  body.kf-home-page:not(.kf-dark-mode) .kf-about-preview .kf-badge,
  body.kf-dark-mode.kf-home-page .kf-about-preview .kf-badge {
    right: 14px;
    bottom: 14px;
    width: 190px;
    padding: 16px 18px;
  }
}

/* Final homepage polish: process band, theme contrast and spacing repairs */
body.kf-home-page .kf-hero-slide::before {
  background:
    linear-gradient(90deg,
      rgba(6, 31, 39, 0.78) 0%,
      rgba(6, 31, 39, 0.64) 36%,
      rgba(6, 31, 39, 0.28) 62%,
      rgba(6, 31, 39, 0.06) 100%),
    linear-gradient(180deg, rgba(6, 31, 39, 0.05), rgba(6, 31, 39, 0.14));
}

.kf-header .kf-menu,
body.kf-dark-mode .kf-header .kf-menu {
  background: transparent;
  box-shadow: none;
}

body.kf-dark-mode .kf-header .kf-menu > a,
body.kf-dark-mode .kf-header .kf-menu-group > button,
body.kf-dark-mode .kf-header .kf-menu > a:hover,
body.kf-dark-mode .kf-header .kf-menu > a.is-active,
body.kf-dark-mode .kf-header .kf-menu-group:hover > button,
body.kf-dark-mode .kf-header .kf-menu-group.is-active > button {
  background: transparent;
  color: #ffffff;
}

body.kf-home-page .kf-engineering-band {
  position: relative;
  min-height: 405px;
  display: flex;
  align-items: center;
  padding: 68px 0;
  background-color: #061f27;
  background-position: center center;
  background-size: cover;
}

body.kf-home-page .kf-engineering-band::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  content: "";
  background:
    linear-gradient(90deg,
      rgba(6, 31, 39, 0.58) 0%,
      rgba(6, 31, 39, 0.46) 48%,
      rgba(6, 31, 39, 0.54) 100%);
}

body.kf-home-page .kf-engineering-band .kf-shell {
  position: relative;
  z-index: 1;
  width: min(1516px, calc(100% - 48px));
}

body.kf-home-page .kf-engineering-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

body.kf-home-page .kf-engineering-grid .kf-stat {
  min-height: 262px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 48px 28px 30px 22px;
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

body.kf-home-page .kf-engineering-grid .kf-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

body.kf-home-page .kf-engineering-grid .kf-stat strong {
  max-width: 230px;
  margin: 0;
  color: #f0c55d;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
}

body.kf-home-page .kf-engineering-grid .kf-stat span {
  max-width: 225px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

body.kf-home-page .kf-engineering-grid .kf-stat::after,
body.kf-home-page .kf-engineering-grid .kf-stat:not(:last-child)::after {
  display: none;
}

body.kf-dark-mode.kf-home-page .kf-modern-preview {
  background: #061f27;
}

body.kf-dark-mode.kf-home-page .kf-modern-preview .kf-section-copy h2 {
  color: #ffffff;
}

body.kf-dark-mode.kf-home-page .kf-modern-preview .kf-section-copy p {
  color: rgba(255, 255, 255, 0.76);
}

body.kf-dark-mode.kf-home-page .kf-modernization-list li {
  color: #ffffff;
}

body.kf-dark-mode.kf-home-page .kf-modernization-list li::before {
  color: #e3cb00;
}

body.kf-home-page .kf-cta-dark .kf-cta-grid {
  width: min(1516px, calc(100% - 48px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  gap: clamp(64px, 6vw, 108px);
}

body.kf-home-page .kf-cta-dark h2 {
  max-width: 700px;
  font-size: clamp(40px, 3.2vw, 58px);
}

body.kf-home-page .kf-cta-dark > .kf-shell > div:first-child {
  min-width: 0;
}

@media (max-width: 1200px) {
  body.kf-home-page .kf-engineering-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.kf-home-page .kf-engineering-grid .kf-stat,
  body.kf-home-page .kf-engineering-grid .kf-stat:first-child {
    min-height: 190px;
    padding: 30px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  body.kf-home-page .kf-engineering-grid .kf-stat strong {
    font-size: 28px;
  }
}

@media (max-width: 1180px) {
  .kf-header .kf-menu,
  body.kf-dark-mode .kf-header .kf-menu {
    background: #061f27;
  }
}

@media (max-width: 1100px) {
  body.kf-home-page .kf-cta-dark .kf-cta-grid {
    width: min(100% - 48px, 760px);
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 640px) {
  body.kf-home-page .kf-engineering-band .kf-shell,
  body.kf-home-page .kf-cta-dark .kf-cta-grid {
    width: min(100% - 32px, 1516px);
  }

  body.kf-home-page .kf-engineering-grid {
    grid-template-columns: 1fr;
  }

  body.kf-home-page .kf-engineering-grid .kf-stat,
  body.kf-home-page .kf-engineering-grid .kf-stat:first-child {
    min-height: 0;
    padding: 26px 0;
  }

  body.kf-home-page .kf-engineering-grid .kf-stat strong {
    font-size: 26px;
  }

  body.kf-home-page .kf-cta-dark h2 {
    font-size: 36px;
  }
}

/* Final contrast and motion polish for shared content surfaces. */
.kf-result-box h3 {
  margin: 0;
  color: #ffffff;
}

.kf-result-box p {
  color: rgba(255, 255, 255, 0.84);
}

.kf-result-box .kf-kicker {
  color: #f0d84a;
}

.kf-before-after-slider.is-autoplaying .kf-ba-dots button.is-active {
  animation: kf-ba-autoplay-pulse 1.6s ease-in-out infinite;
}

@keyframes kf-ba-autoplay-pulse {
  50% {
    box-shadow: 0 0 0 5px rgba(227, 203, 0, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kf-before-after-slider.is-autoplaying .kf-ba-dots button.is-active {
    animation: none;
  }
}

/* Interior pages: compact banners, a focused navigation rail and progressive projects. */
.kf-page-hero {
  min-height: clamp(260px, 24vw, 320px);
  padding: 42px 0;
  background-position: center 46%;
}

.kf-page-hero h2 {
  max-width: 940px;
  font-size: clamp(34px, 3.5vw, 50px);
}

.kf-page-hero p {
  max-width: 820px;
  margin-top: 14px;
  font-size: 17px;
}

.kf-detail-grid {
  grid-template-columns: 278px minmax(0, 1fr) !important;
  gap: clamp(34px, 4vw, 58px);
  max-width: 1320px;
  justify-content: stretch;
}

.kf-detail-grid.kf-detail-grid-full {
  grid-template-columns: minmax(0, 1fr) !important;
}

.kf-detail .kf-sidebar {
  position: sticky !important;
  top: 104px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 5px;
  max-height: calc(100vh - 132px);
  margin: 0;
  padding: 12px 9px 12px 12px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(11, 52, 66, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(11, 52, 66, 0.08);
  scrollbar-color: rgba(11, 52, 66, 0.34) transparent;
  scrollbar-width: thin;
}

.kf-detail .kf-sidebar::-webkit-scrollbar {
  width: 5px;
}

.kf-detail .kf-sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(11, 52, 66, 0.34);
}

.kf-detail .kf-sidebar > strong {
  position: sticky;
  top: -12px;
  z-index: 2;
  display: block;
  margin: -12px -9px 5px -12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(11, 52, 66, 0.10);
  background: rgba(255, 255, 255, 0.98);
  color: #0b3442;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.kf-detail .kf-sidebar a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  min-height: 46px;
  padding: 10px 11px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #0b3442;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}

.kf-detail .kf-sidebar a::before {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(11, 52, 66, 0.16);
  border-radius: 50%;
  content: "\f105";
  color: #0b3442;
  font: var(--fa-font-solid);
  transition: background 0.2s ease, color 0.2s ease;
}

.kf-detail .kf-sidebar a.is-active,
.kf-detail .kf-sidebar a:hover {
  border-color: transparent;
  background: #eef3f4;
  color: #0b3442;
}

.kf-detail .kf-sidebar a.is-active {
  box-shadow: inset 3px 0 0 #e3cb00;
}

.kf-detail .kf-sidebar a.is-active::before,
.kf-detail .kf-sidebar a:hover::before {
  border-color: #0b3442;
  background: #0b3442;
  color: #ffffff;
}

body:not(.kf-dark-mode) .kf-content > p,
body:not(.kf-dark-mode) .kf-info-card p,
body:not(.kf-dark-mode) .kf-product-card p,
body:not(.kf-dark-mode) .kf-project-card p,
body:not(.kf-dark-mode) .kf-section-copy p {
  color: #0b3442;
}

.kf-project-grid-progressive {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1320px;
  gap: 24px;
  align-items: stretch;
}

.kf-project-grid-progressive .kf-project-card {
  height: 100%;
}

.kf-project-grid-progressive .kf-project-reveal {
  transition-delay: calc(var(--kf-reveal-order, 0) * 90ms);
}

body.kf-home-page .kf-engineering-band {
  min-height: 300px;
  padding: 42px 0;
}

body.kf-home-page .kf-engineering-grid .kf-stat {
  min-height: 190px;
  padding: 26px 24px 20px 22px;
}

body.kf-home-page .kf-engineering-grid .kf-stat strong {
  font-size: 29px;
}

body.kf-home-page .kf-engineering-grid .kf-stat span {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.4;
}

body.kf-dark-mode .kf-detail .kf-sidebar {
  border-color: rgba(255, 255, 255, 0.12);
  background: #082f3a;
  scrollbar-color: rgba(255, 255, 255, 0.30) transparent;
}

body.kf-dark-mode .kf-detail .kf-sidebar > strong {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(8, 47, 58, 0.98);
  color: #ffffff;
}

body.kf-dark-mode .kf-detail .kf-sidebar a {
  background: transparent;
  color: #ffffff;
}

body.kf-dark-mode .kf-detail .kf-sidebar a::before {
  border-color: rgba(255, 255, 255, 0.26);
  color: #ffffff;
}

body.kf-dark-mode .kf-detail .kf-sidebar a.is-active,
body.kf-dark-mode .kf-detail .kf-sidebar a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

body.kf-dark-mode .kf-detail .kf-sidebar a.is-active::before,
body.kf-dark-mode .kf-detail .kf-sidebar a:hover::before {
  border-color: #e3cb00;
  background: #e3cb00;
  color: #061f27;
}

@media (max-width: 1100px) {
  .kf-detail-grid {
    grid-template-columns: 240px minmax(0, 1fr) !important;
    gap: 30px;
  }

  .kf-project-grid-progressive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .kf-page-hero {
    min-height: 250px;
    padding: 34px 0;
  }

  .kf-page-hero h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .kf-page-hero p {
    font-size: 15px;
  }

  .kf-detail-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px;
  }

  .kf-detail .kf-sidebar {
    position: static !important;
    flex-direction: row;
    max-height: none;
    margin: 0;
    padding: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
  }

  .kf-detail .kf-sidebar > strong {
    position: sticky;
    left: -7px;
    top: auto;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    margin: -7px 3px -7px -7px;
    padding: 10px 14px;
    border-right: 1px solid rgba(11, 52, 66, 0.10);
    border-bottom: 0;
  }

  .kf-detail .kf-sidebar a {
    flex: 0 0 auto;
    grid-template-columns: 20px auto;
    max-width: 260px;
    min-height: 44px;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .kf-detail .kf-sidebar a::before {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 680px) {
  .kf-project-grid-progressive {
    grid-template-columns: 1fr;
  }

  body.kf-home-page .kf-engineering-band {
    min-height: 0;
    padding: 34px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kf-project-grid-progressive .kf-project-reveal {
    transition-delay: 0ms;
  }
}

/* Homepage hero: preserve the composition while reducing its visual dominance. */
body.kf-home-page .kf-hero,
body.kf-home-page .kf-hero-slide,
body.kf-home-page .kf-hero-grid {
  min-height: 600px;
}

@media (max-width: 900px) {
  body.kf-home-page .kf-hero,
  body.kf-home-page .kf-hero-slide,
  body.kf-home-page .kf-hero-grid {
    min-height: 550px;
  }
}

@media (max-width: 640px) {
  body.kf-home-page .kf-hero,
  body.kf-home-page .kf-hero-slide,
  body.kf-home-page .kf-hero-grid {
    min-height: 520px;
  }
}

/* Interactive mold gallery */
.kf-mold-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 14px;
  min-width: 0;
  align-items: start;
}

.kf-mold-gallery-main {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #e7ebeb;
  box-shadow: 0 18px 46px rgba(11, 52, 66, 0.12);
}

.kf-mold-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.22s ease, transform 0.35s ease;
}

.kf-mold-gallery-main img.is-changing {
  opacity: 0.28;
  transform: scale(1.01);
}

.kf-mold-gallery-thumbs {
  display: grid;
  gap: 10px;
}

.kf-mold-gallery-thumbs button {
  position: relative;
  overflow: hidden;
  width: 88px;
  aspect-ratio: 1;
  padding: 3px;
  border: 1px solid rgba(11, 52, 66, 0.18);
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.kf-mold-gallery-thumbs button:hover,
.kf-mold-gallery-thumbs button:focus-visible {
  border-color: #0b3442;
  transform: translateY(-2px);
}

.kf-mold-gallery-thumbs button.is-active {
  border-color: #e3cb00;
  box-shadow: 0 0 0 2px #e3cb00;
}

.kf-mold-gallery-thumbs img {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  object-fit: cover;
}

/* Stronger typography and consistent card alignment. */
body.kf-about-page:not(.kf-dark-mode) .kf-section-copy p,
body.kf-about-page:not(.kf-dark-mode) .kf-tab-panel p,
body.kf-about-page:not(.kf-dark-mode) .kf-section-head p {
  color: #234955;
}

body.kf-about-page:not(.kf-dark-mode) .kf-tab-panel h2,
body.kf-about-page:not(.kf-dark-mode) .kf-section-copy h2,
body.kf-about-page:not(.kf-dark-mode) .kf-section-head h2 {
  color: #0b3442;
}

.kf-detail-card-grid,
.kf-process-grid,
.kf-product-grid,
.kf-project-grid {
  align-items: stretch;
}

.kf-info-card,
.kf-process-card {
  display: flex;
  flex-direction: column;
}

.kf-info-card > span,
.kf-process-card > strong {
  flex: 0 0 auto;
}

.kf-info-card h3 {
  min-height: 48px;
}

.kf-process-card h3 {
  min-height: 50px;
}

body.kf-home-page .kf-engineering-band {
  min-height: 250px;
  padding: 30px 0;
}

body.kf-home-page .kf-engineering-grid .kf-stat {
  min-height: 160px;
  padding-top: 20px;
  padding-bottom: 16px;
}

body.kf-home-page .kf-engineering-grid .kf-stat strong {
  font-size: 26px;
}

/* Dark theme contrast pass for cards, tabs and engineering callouts. */
body.kf-dark-mode .kf-info-card > span,
body.kf-dark-mode .kf-process-card > strong,
body.kf-dark-mode .kf-feature-number {
  color: #f0d84a;
}

body.kf-dark-mode .kf-info-card p,
body.kf-dark-mode .kf-process-card p,
body.kf-dark-mode .kf-product-card p,
body.kf-dark-mode .kf-project-card p,
body.kf-dark-mode .kf-tab-panel p,
body.kf-dark-mode .kf-section-copy p,
body.kf-dark-mode .kf-section-head p,
body.kf-dark-mode .kf-content p {
  color: #d6e0e2;
}

body.kf-dark-mode .kf-info-card p strong,
body.kf-dark-mode .kf-strong-line {
  color: #ffffff;
}

body.kf-dark-mode .kf-result-box {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b3442;
  color: #ffffff;
}

body.kf-dark-mode .kf-result-box h3,
body.kf-dark-mode .kf-result-box p,
body.kf-dark-mode .kf-result-box .kf-kicker {
  color: #ffffff;
}

body.kf-dark-mode .kf-result-box .kf-kicker {
  color: #f0d84a;
}

body.kf-dark-mode .kf-tabs {
  border-color: rgba(255, 255, 255, 0.14);
  background: #082f3a;
}

body.kf-dark-mode .kf-tabs-nav {
  border-bottom-color: rgba(255, 255, 255, 0.20);
  background: transparent;
}

body.kf-dark-mode .kf-tabs-nav button {
  color: #b9c9cd;
}

body.kf-dark-mode .kf-tabs-nav button.is-active,
body.kf-dark-mode .kf-tabs-nav button:hover,
body.kf-dark-mode .kf-tab-panel h2 {
  color: #ffffff;
}

body.kf-dark-mode .kf-btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.46);
  color: #ffffff;
}

body.kf-dark-mode .kf-mold-gallery-main,
body.kf-dark-mode .kf-mold-gallery-thumbs button {
  border-color: rgba(255, 255, 255, 0.18);
  background: #0b3442;
}

body.kf-dark-mode .kf-mold-gallery-thumbs button.is-active {
  border-color: #e3cb00;
}

@media (max-width: 900px) {
  .kf-mold-gallery {
    grid-template-columns: 1fr;
  }

  .kf-mold-gallery-thumbs {
    grid-template-columns: repeat(2, 76px);
  }

  .kf-mold-gallery-thumbs button {
    width: 76px;
  }
}

@media (max-width: 640px) {
  .kf-info-card h3,
  .kf-process-card h3 {
    min-height: 0;
  }
}

/* Compact homepage hero: reduce real content height, not only its minimum. */
@media (min-width: 901px) {
  body.kf-home-page .kf-hero,
  body.kf-home-page .kf-hero-slide,
  body.kf-home-page .kf-hero-grid {
    min-height: 560px;
  }

  body.kf-home-page .kf-hero-grid {
    padding-top: 58px;
  }

  body.kf-home-page .kf-hero h2 {
    font-size: 52px;
    line-height: 1;
  }

  body.kf-home-page .kf-hero .kf-kicker {
    margin-bottom: 12px;
  }

  body.kf-home-page .kf-hero p {
    margin-top: 16px;
    margin-bottom: 20px;
  }

  body.kf-home-page .kf-hero-metrics {
    margin-top: 22px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (max-width: 900px) {
  body.kf-home-page .kf-hero,
  body.kf-home-page .kf-hero-slide,
  body.kf-home-page .kf-hero-grid {
    min-height: 540px;
  }

  body.kf-home-page .kf-hero h2 {
    font-size: 44px;
  }

  body.kf-home-page .kf-hero-metrics {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  body.kf-home-page .kf-hero,
  body.kf-home-page .kf-hero-slide,
  body.kf-home-page .kf-hero-grid {
    min-height: 500px;
  }

  body.kf-home-page .kf-hero h2 {
    font-size: 38px;
  }
}

/* Mobile navigation and homepage first-screen refinement. */
.kf-menu-mobile-contact {
  display: none;
}

@media (max-width: 1180px) {
  body.menu-open {
    overflow: hidden;
  }

  .kf-header,
  body.kf-home-page:not(.kf-dark-mode) .kf-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(8, 47, 58, 0.10);
    backdrop-filter: blur(18px);
  }

  body.kf-dark-mode .kf-header {
    background: rgba(6, 31, 39, 0.97);
    border-bottom-color: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(18px);
  }

  .kf-nav,
  body.kf-home-page .kf-nav {
    min-height: 68px;
  }

  .kf-logo,
  body.kf-home-page .kf-logo {
    width: 146px;
  }

  .kf-menu-toggle {
    width: 38px;
    height: 38px;
    padding: 7px;
  }

  .kf-menu-toggle span {
    transition: transform 0.22s ease;
  }

  .kf-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .kf-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .kf-theme-toggle-mobile {
    width: 36px;
    height: 36px;
  }

  .kf-menu,
  .kf-header .kf-menu,
  body.kf-dark-mode .kf-header .kf-menu {
    position: fixed;
    inset: 68px 0 0;
    z-index: 60;
    display: flex !important;
    height: calc(100dvh - 68px);
    max-height: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    padding: 14px 24px max(28px, env(safe-area-inset-bottom));
    background: #061f27;
    border: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .kf-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.kf-home-page .kf-header .kf-menu {
    gap: 0;
  }

  .kf-header .kf-menu > a,
  .kf-header .kf-menu-group > button {
    min-height: 54px;
    padding: 15px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.35;
    text-align: left;
  }

  .kf-header .kf-menu > a:not(.kf-menu-mobile-contact),
  .kf-header .kf-menu-group > button,
  .kf-header .kf-menu-group:hover > button,
  .kf-header .kf-menu-group:focus-within > button,
  .kf-header .kf-menu-group.is-open > button {
    color: #ffffff;
    background: transparent;
  }

  .kf-menu-group > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .kf-menu-group > button i {
    margin-left: 16px;
    color: #e3cb00;
    transition: transform 0.2s ease;
  }

  .kf-menu-group.is-open > button i {
    transform: rotate(180deg);
  }

  .kf-menu-group > .kf-dropdown {
    display: none;
  }

  .kf-menu-group.is-open > .kf-dropdown {
    position: static;
    display: block;
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 12px 0 8px;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .kf-mega-featured {
    display: grid;
    width: 100%;
    gap: 8px;
  }

  .kf-mega-featured > a,
  .kf-mega-product > a {
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
  }

  .kf-mega-featured > a span,
  .kf-mega-product > a small {
    color: rgba(255, 255, 255, 0.76);
  }

  .kf-header .kf-menu .kf-mega-featured strong {
    color: #ffffff;
  }

  .kf-header .kf-menu .kf-mega-featured > a span,
  .kf-header .kf-menu .kf-mega-product > a small {
    color: rgba(255, 255, 255, 0.76);
  }

  .kf-header .kf-menu .kf-mega-featured > a.is-active,
  .kf-header .kf-menu .kf-mega-product.is-active > a {
    border-color: rgba(227, 203, 0, 0.72);
    background: rgba(227, 203, 0, 0.10);
    color: #ffffff;
  }

  .kf-mega-product > a i {
    color: #e3cb00;
  }

  .kf-mega-solutions {
    display: none !important;
  }

  .kf-mega-product > a i {
    transition: transform 0.2s ease;
  }

  .kf-mega-product.is-open > a i {
    transform: rotate(90deg);
  }

  .kf-mega-product.is-open > .kf-mega-solutions {
    position: static;
    display: block !important;
    width: 100%;
    max-height: 270px;
    margin: 8px 0 2px;
    padding: 4px 0 4px 12px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-left: 1px solid rgba(227, 203, 0, 0.42);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .kf-mega-product.is-open .kf-mega-list {
    display: grid;
    gap: 3px;
  }

  .kf-header .kf-menu .kf-mega-product.is-open .kf-mega-list a {
    min-height: 38px;
    padding: 9px 10px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.35;
  }

  .kf-header .kf-menu .kf-mega-product.is-open .kf-mega-list a:hover,
  .kf-header .kf-menu .kf-mega-product.is-open .kf-mega-list a.is-active {
    color: #ffffff;
    background: rgba(227, 203, 0, 0.10);
  }

  .kf-header .kf-menu .kf-mega-product.is-open .kf-mega-list .kf-mega-all-products {
    color: #e3cb00;
    font-weight: 800;
  }

  .kf-header .kf-menu .kf-menu-mobile-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    margin-top: 18px;
    padding: 0 17px;
    border: 0;
    border-radius: 3px;
    background: #e3cb00;
    color: #061f27;
    font-weight: 850;
  }

  body.kf-home-page .kf-header .kf-menu .kf-menu-mobile-contact,
  body.kf-dark-mode .kf-header .kf-menu .kf-menu-mobile-contact {
    min-height: 50px;
    padding: 0 17px;
    border: 0;
    background: #e3cb00;
    color: #061f27;
  }
}

@media (max-width: 640px) {
  body.kf-home-page .kf-shell {
    width: calc(100% - 32px);
  }

  body.kf-home-page .kf-hero,
  body.kf-home-page .kf-hero-slide,
  body.kf-home-page .kf-hero-grid {
    min-height: 650px;
  }

  body.kf-home-page .kf-hero-grid {
    align-items: center;
    padding: 34px 0 30px;
  }

  body.kf-home-page .kf-hero-slide::before {
    background:
      linear-gradient(90deg, rgba(6, 31, 39, 0.90) 0%, rgba(6, 31, 39, 0.72) 64%, rgba(6, 31, 39, 0.34) 100%),
      linear-gradient(180deg, rgba(6, 31, 39, 0.10), rgba(6, 31, 39, 0.30));
  }

  body.kf-home-page .kf-hero-copy {
    width: 100%;
    max-width: none;
  }

  body.kf-home-page .kf-hero .kf-kicker {
    gap: 9px;
    margin: 0 0 14px;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.12em;
  }

  body.kf-home-page .kf-hero .kf-kicker::before {
    width: 30px;
    flex: 0 0 30px;
  }

  body.kf-home-page .kf-hero h2 {
    max-width: 360px;
    margin-top: 0;
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.03;
  }

  body.kf-home-page .kf-hero p {
    max-width: 350px;
    margin: 16px 0 18px;
    font-size: 14px;
    line-height: 1.58;
  }

  body.kf-home-page .kf-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 0;
  }

  body.kf-home-page .kf-actions .kf-btn {
    min-height: 44px;
    padding: 0 16px;
  }

  body.kf-home-page .kf-btn-ghost {
    background: rgba(6, 31, 39, 0.54);
    border-color: rgba(255, 255, 255, 0.48);
  }

  body.kf-home-page .kf-hero-metrics {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 18px;
    padding: 10px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  body.kf-home-page .kf-hero-metrics div,
  body.kf-home-page .kf-hero-metrics div:nth-child(odd) {
    min-width: 0;
    padding: 9px 12px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  body.kf-home-page .kf-hero-metrics div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  body.kf-home-page .kf-hero-metrics strong {
    font-size: 24px;
    line-height: 1;
  }

  body.kf-home-page .kf-hero-metrics span {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.25;
  }

  body.kf-home-page .kf-slider-pagination {
    right: 16px;
    bottom: 14px;
  }

  body.kf-home-page .kf-slider-dot span {
    width: 28px;
  }

  body.kf-home-page .kf-engineering-band {
    min-height: 0;
    padding: 34px 0;
    overflow: hidden;
    background-position: 62% center;
  }

  body.kf-home-page .kf-engineering-band .kf-shell {
    width: calc(100% - 32px);
  }

  body.kf-home-page .kf-engineering-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body.kf-home-page .kf-engineering-grid .kf-stat,
  body.kf-home-page .kf-engineering-grid .kf-stat:first-child {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 18px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    align-content: start;
  }

  body.kf-home-page .kf-engineering-grid .kf-stat:first-child {
    padding-top: 0;
    border-top: 0;
  }

  body.kf-home-page .kf-engineering-grid .kf-stat:last-child {
    padding-bottom: 0;
  }

  body.kf-home-page .kf-engineering-grid .kf-stat strong {
    max-width: none;
    min-height: 0;
    margin: 0;
    font-size: 23px;
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.kf-home-page .kf-engineering-grid .kf-stat span {
    max-width: none;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: normal;
    word-break: normal;
  }
}


