/* Klap Business Impact Calculator - flex-only, no Anima global min-width/min-height lock */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.site-switchers {
  display: none !important;
}

.klap-business-calculator {
  --kbc-green: #005820;
  --kbc-green-bright: #00a651;
  --kbc-dark: #0d1728;
  --kbc-ink-soft: #1b3a24;
  --kbc-muted: #5c6470;
  --kbc-border: #e8eaed;
  --kbc-border-soft: #f0f1f3;
  --kbc-bg-soft: #f8faf9;
  --kbc-gold: #e4b722;
  --kbc-radius: 20px;
  --kbc-container: 1120px;
  --kbc-narrow: 900px;
  --kbc-font: "Plus Jakarta Sans", Helvetica, Arial, sans-serif;
  background: #fff;
  color: var(--kbc-dark);
  font-family: var(--kbc-font);
  overflow: hidden;
}

.klap-business-calculator *,
.klap-business-calculator *::before,
.klap-business-calculator *::after {
  box-sizing: border-box;
}

.klap-business-calculator h1,
.klap-business-calculator h2,
.klap-business-calculator h3,
.klap-business-calculator p {
  margin: 0;
  font-family: inherit;
}

.klap-business-calculator img {
  display: block;
  max-width: 100%;
  height: auto;
}
.klap-business-calculator a {
  color: inherit;
  text-decoration: none;
}

.kbc-container {
  width: min(var(--kbc-container), calc(100% - 48px));
  margin-inline: auto;
}
.kbc-narrow {
  width: min(var(--kbc-narrow), calc(100% - 48px));
}

.kbc-hero {
    background: #fff;
    background-image: url(/wp-content/themes/klap/assets/klap-business-calculator/img/frunze.jpg);
    background-repeat: no-repeat;
    background-size: 268px;
    background-position: center right;
}
.kbc-hero-inner {
  position: relative;
  min-height: 312px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
}
.kbc-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.kbc-hero-content {
  position: relative;
  z-index: 1;
  width: min(840px, 100% - 48px);
  text-align: center;
}
.kbc-hero h1 {
  color: var(--kbc-dark);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.08;
}
.kbc-hero p {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--kbc-muted);
  font-size: 17px;
  line-height: 1.65;
}

.kbc-form-section {
  padding: 38px 0 28px;
  border-top: 1px solid var(--kbc-border);
}
.kbc-section-head {
  margin-bottom: 28px;
}
.kbc-section-head h2 {
  color: var(--kbc-dark);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.2;
}
.kbc-section-head p {
  margin-top: 7px;
  color: var(--kbc-muted);
  font-size: 14px;
  line-height: 1.4;
}
.kbc-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.kbc-section-head-row p {
  margin-top: 0;
  font-weight: 600;
}

.kbc-calculator-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--kbc-border);
  border-radius: var(--kbc-radius);
  background: #fff;
}
.kbc-field-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 129px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--kbc-border-soft);
}
.kbc-field-row:last-child {
  border-bottom: 0;
}
.kbc-field-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    color: #fff;
    background: #ebf8f1;
    font-size: 20px;
    font-weight: 800;
}
.kbc-field-icon.kbc-field-icon-letter {
    color: #ffffff;
    background: #1B3A24;
    border-radius: 100%;
}
.kbc-field-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.kbc-field-icon-soft {
  color: var(--kbc-green);
  background: rgba(0, 166, 81, 0.08);
}
.kbc-field-main {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kbc-field-main-wide {
  gap: 12px;
}
.kbc-field-main label {
  color: var(--kbc-muted);
  font-size: 13px;
  line-height: 1.3;
}
.kbc-number-input,
.kbc-output {
  width: 180px;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid var(--kbc-border);
  border-radius: 10px;
  background: #fff;
  color: var(--kbc-dark);
  font: 700 18px/1.2 var(--kbc-font);
}
.kbc-output {
  width: 220px;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.kbc-number-input::-webkit-inner-spin-button,
.kbc-number-input::-webkit-outer-spin-button {
  opacity: 0.3;
}

.kbc-range-wrap {
  flex: 1 1 auto;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kbc-range-wrap input[type="range"] {
  width: 100%;
  height: 22px;
  margin: 0;
  accent-color: var(--kbc-green);
  cursor: pointer;
}
.kbc-range-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #9ca3af;
  font-size: 11px;
  line-height: 1.2;
}

.kbc-comparison-section {
  padding: 16px 0 32px;
}
.kbc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--kbc-border);
  border-radius: 16px;
  background: #fff;
}
.kbc-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
}
.kbc-table th {
  padding: 15px 20px;
  background: var(--kbc-ink-soft);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}
.kbc-table th:first-child {
  text-align: left;
}
.kbc-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--kbc-border-soft);
  color: var(--kbc-dark);
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.indicator-icon-container {
    border: 1px solid #E8EAED;
    padding: 7px;
    border-radius: 100%;
}

td.indicator-title {
    display: flex;
    gap: 10px;
    align-items: center;
}


.indicator-icon-container svg {
    display: block;
}
.kbc-table tr:last-child td {
  border-bottom: 0;
}
.kbc-table td:first-child {
  text-align: left;
  font-weight: 600;
}
.kbc-table td:not(:first-child) {
  font-weight: 700;
}
.kbc-positive {
  color: var(--kbc-green-bright) !important;
}
.kbc-muted {
  color: #9ca3af !important;
  font-weight: 500 !important;
}

.kbc-result-section {
  padding: 0 0 32px;
}
.kbc-result-card {
  position: relative;
  min-height: 184px;
  display: flex;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: 40px 48px;
  border-radius: var(--kbc-radius);
  background: linear-gradient(135deg, #005820 0%, #063d22 100%);
  color: #fff;
}
.kbc-result-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  pointer-events: none;
}
.kbc-result-icon {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 166, 81, 0.4);
  border-radius: 999px;
  background: rgba(0, 166, 81, 0.12);
  color: var(--kbc-gold);
  font-size: 36px;
  font-weight: 800;
}
.kbc-result-content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
}
.kbc-result-headline {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.kbc-result-values {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 12px;
}
.kbc-result-values > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.kbc-result-values strong {
  display: block;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}
.kbc-result-values > div:first-child strong {
  color: var(--kbc-gold);
}
.kbc-result-values small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  letter-spacing: 0;
}
.kbc-result-values span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.3;
}
.kbc-result-divider {
  width: 1px;
  height: 64px;
  flex: 0 0 1px;
  background: rgba(255, 255, 255, 0.18);
}

.kbc-cta-section {
  padding: 0 0 74px;
}
.kbc-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 32px;
  border: 1px solid var(--kbc-border);
  border-radius: 16px;
  background: #fff;
}
.kbc-cta-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 166, 81, 0.2);
  background: rgba(0, 166, 81, 0.1);
  color: var(--kbc-green);
  font-weight: 800;
}
.kbc-cta-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.kbc-cta-copy h2 {
  color: var(--kbc-dark);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}
.kbc-cta-copy p {
  max-width: 500px;
  margin-top: 6px;
  color: var(--kbc-muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.kbc-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.kbc-btn-primary {
  color: #fff !important;
  background: var(--kbc-green);
}
.kbc-disclaimer {
    display: flex;
    gap: 5px;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.3;
    align-items: center;
    padding-top: 10px;
}
.

@media (max-width: 980px) {
  .kbc-field-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    padding: 24px;
  }
  .kbc-field-main {
    flex: 1 1 calc(100% - 76px);
  }
  .kbc-range-wrap {
    flex: 1 1 100%;
    min-width: 0;
  }
  .kbc-result-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .kbc-result-values {
    flex-wrap: wrap;
    gap: 24px;
  }
  .kbc-result-divider {
    display: none;
  }
  .kbc-cta-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .kbc-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .kbc-container,
  .kbc-narrow {
    width: calc(100% - 32px);
  }
  .kbc-hero {
    padding-top: 18px;
  }
  .kbc-hero-inner {
    min-height: 280px;
  }
  .kbc-hero-content {
    width: calc(100% - 32px);
  }
  .kbc-hero h1 {
    font-size: 38px;
  }
  .kbc-hero p {
    font-size: 15px;
    line-height: 1.55;
  }
  .kbc-section-head-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .kbc-field-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .kbc-field-icon img {
    width: 44px;
    height: 44px;
  }
  .kbc-number-input,
  .kbc-output {
    width: 100%;
  }
  .kbc-field-main {
    flex-basis: calc(100% - 62px);
  }
  .kbc-range-labels {
    font-size: 10px;
  }
  .kbc-table th,
  .kbc-table td {
    padding: 14px 16px;
  }
  .kbc-result-card {
    padding: 28px 22px;
  }
  .kbc-result-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
}
