/* ==========================================================================
   Klap Business Home - FLEX ONLY

   Rules:
   - no CSS grid for desktop layout
   - no global min-width/min-height lock
   - no section-level absolute positioning
   - scoped to .klap-business-home where possible

   Table of contents:
   01. Global reset / shared defaults
   02. Shared typography, section heads, buttons, actions
   03. Hero
   04. Benefits strip
   05. Services
   06. Impact
   07. Trust / logos / testimonials
   08. Steps
   09. Partners marquee
   10. Sustainability
   11. Final CTA
   12. Shared responsive overrides / mobile refinements

   Note:
   This file was reorganized for readability without changing layout values.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Global reset / shared defaults
   -------------------------------------------------------------------------- */

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.site-switchers {
  display: none !important;
}

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

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

.klap-business-home img {
  display: block;
  max-width: 100%;
  height: auto;
  left: 11px;
  bottom: 0px;
}

.klap-business-home a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   02. Shared typography / eyebrows / section heads
   -------------------------------------------------------------------------- */

.kbh-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--kbh-green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
}

p.kbh-eyebrow-no-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--kbh-green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.kbh-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  flex: 0 0 20px;
  border-radius: 999px;
  background: currentColor;
}

.kbh-eyebrow-center,
.kbh-section-head-center .kbh-eyebrow {
  justify-content: center;
  text-align: center;
}

.kbh-section-head {
  margin-bottom: 32px;
}

.kbh-section-head-center {
  text-align: center;
}

.kbh-section-head h2,
.kbh-trust h2,
.kbh-sustainability h2,
.kbh-final-cta h2 {
  color: var(--kbh-ink);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

/* --------------------------------------------------------------------------
   Shared buttons and action rows
   -------------------------------------------------------------------------- */

.kbh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.kbh-btn:hover {
  transform: translateY(-1px);
  color: #005820;
}

.kbh-btn-primary {
  color: #fff !important;
  background: var(--kbh-green);
  box-shadow: 0 2px 8px rgba(0, 166, 81, 0.25);
}
a.kbh-btn svg {
  margin-left: 10px;
}

.kbh-btn-secondary {
  color: var(--kbh-ink);
  background: #fff;
  border-color: #d9dde3;
}

.kbh-btn-secondary:hover svg path{
  stroke: #005820;
}

.kbh-btn-dark {
  color: #fff;
  background: var(--kbh-ink);
}

.kbh-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.kbh-actions-center {
  justify-content: center;
}

/* ==========================================================================
   03. Hero
   ========================================================================== */
.kbh-hero {
  position: relative;
  padding: 10px 0 34px;
  background: #fff;
}

.kbh-hero-grid {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 510px;
  overflow-x: clip;
}

.kbh-hero-content {
  position: relative;
  z-index: 2;
  flex: 0 0 490px;
  max-width: 560px;
}

.kbh-hero-title {
  max-width: 570px;
  color: var(--kbh-ink);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.2em;
  letter-spacing: -2px;
  padding: 10px 0px 20px;
}

.kbh-hero-text {
  margin: 24px 0 42px;
  max-width: 460px;
  color: var(--kbh-muted);
  font-size: 17px;
  line-height: 1.65;
  padding-bottom: 36px;
}

.kbh-hero-media {
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  right: -155px;
  overflow: hidden;
  width: 77%;
}

.kbh-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* ==========================================================================
   04. Benefits strip
   ========================================================================== */
.kbh-benefits {
  position: relative;
  z-index: 3;
  margin-top: -10px;
  padding-bottom: 70px;
}

.kbh-benefits-card {
  display: flex;
  align-items: stretch;
  min-height: 75px;
  overflow: hidden;
  border: 1px solid var(--kbh-border);
  border-radius: var(--kbh-radius);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.kbh-benefit-item {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 0;
  min-width: 0;
  padding: 18px 24px;
  border-right: 1px solid var(--kbh-border);
}

.kbh-benefit-item img {
  width: 26px;
}

.kbh-benefit-item:last-child {
  border-right: 0;
}

.kbh-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 2px solid var(--kbh-green);
  border-radius: 999px;
  color: var(--kbh-green);
  font-size: 12px;
  font-weight: 900;
}

.kbh-benefit-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.kbh-benefit-copy strong {
  color: var(--kbh-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.kbh-benefit-copy span {
  color: var(--kbh-muted);
  font-size: 12px;
  font-weight: 600;
}

/* ==========================================================================
   05. Services
   ========================================================================== */
.kbh-services {
  padding: 10px 0 80px;
  background: #fff;
}

.kbh-service-grid {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}

.kbh-service-card {
  position: relative;
  flex: 1 1 calc(25% - 15px);
  min-width: 240px;
  min-height: 362px;
  overflow: hidden;
  padding: 33px 29px;
  border: 1px solid var(--kbh-border);
  border-radius: var(--kbh-radius);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.kbh-service-card:hover {
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.18);
}

.kbh-service-card:hover .kbh-service-icon {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.25);
}

.kbh-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.kbh-service-card > *:not(.kbh-service-image) {
  position: relative;
  z-index: 2;
}

.kbh-service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(0, 166, 81, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}

.kbh-service-card h3 {
  margin-bottom: 12px;
  color: var(--kbh-ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.kbh-service-card p {
  margin-bottom: 8px;
  max-width: 215px;
  color: var(--kbh-muted);
  font-size: 14px;
  line-height: 1.6;
}

.kbh-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--kbh-green) !important;
  font-size: 13px;
  font-weight: 700;
}

.kbh-service-image {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* ==========================================================================
   06. Impact
   ========================================================================== */
.kbh-impact {
  padding: 13px 0 13px;
}

.kbh-impact-card {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--kbh-radius);
  background: linear-gradient(135deg, #005820 0%, #063d22 100%);
  color: #fff;
  isolation: isolate;
  background-image: url(/wp-content/themes/klap/assets/klap-business-home/img/impact-masurabil-klap.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  padding: 40px 0 25px;
}

.kbh-impact-card .impact-image-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  pointer-events: none;
}

.kbh-impact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #022015 0%,
    #083524 68%,
    rgba(0, 88, 32, 0.5) 100%
  );
  pointer-events: none;
}

.kbh-impact-heading {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 2 1 0;
  min-width: 320px;
  padding: 40px 44px;
}

.kbh-impact-stat {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1 1 0;
  min-width: 190px;
  min-height: 190px;
  padding: 0 35px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.kbh-impact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgb(255 255 255 / 20%);
  border: 1px solid rgba(152, 218, 119, 0.1);
  backdrop-filter: blur(2px);
}

.kbh-impact-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.kbh-impact-heading .kbh-eyebrow-no-line {
  color: var(--kbh-lime);
  font-size: 11px;
}

.kbh-impact-heading h2 {
  max-width: 380px;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
}

.kbh-impact-prefix,
.kbh-impact-label {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.kbh-impact-number {
  display: block;
  margin: 8px 0 8px;
  color: var(--kbh-lime);
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.kbh-impact-number small {
  margin-left: 2px;
  color: rgba(152, 218, 119, 0.72);
  font-size: 32px;
  line-height: 1;
}

@media (max-width: 900px) {
  .kbh-impact-card {
    flex-direction: column;
    padding: 0;
  }

  .kbh-impact-card {
    background-position: bottom;
  }

  .kbh-impact-heading {
    min-width: 0;
    padding: 32px 24px 20px;
  }

  .kbh-impact-stat {
    min-width: 0;
    min-height: auto;
    padding: 24px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    flex-direction: row;
  }

  .kbh-impact-icon {
    width: 51px;
    height: 51px;
    margin-bottom: 12px;
    margin-top: 10px;
    margin-right: 20px;
  }

  .kbh-impact-icon img {
    width: 22px;
    height: 28px;
  }

  .kbh-impact-card .impact-image-bg {
    object-position: center;
  }

  .kbh-impact-card::before {
    background: linear-gradient(
      173deg,
      #022015 43.23%,
      rgb(11 43 8 / 49%) 93.93%
    );
  }
}

/* ==========================================================================
   07. Trust / logos / testimonials
   ========================================================================== */
.kbh-trust {
  padding: 40px 0 40px;
  overflow: hidden;
}

.kbh-trust-grid {
  display: flex;
  align-items: center;
  gap: 72px;
}

.kbh-trust-content {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

.kbh-trust-content .kbh-eyebrow-no-line {
  margin-bottom: 10px;
  color: #2a7a40;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.kbh-trust-content h2 {
  max-width: 580px;
  margin: 0 auto 28px;
  color: var(--kbh-ink);
  font-size: clamp(32px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -1.6px;
}

.kbh-logo-strip {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 700px;
  height: 56px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #545454;
  border-radius: 16px;
  background: #fff;
}

.kbh-logo-strip::before,
.kbh-logo-strip::after {
  content: "";
  position: absolute;
  top: 1px;
  z-index: 2;
  width: 54px;
  height: calc(100% - 2px);
  pointer-events: none;
}

.kbh-logo-strip::before {
  left: 0cm;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.kbh-logo-strip::after {
  right: 0px;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.kbh-logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: kbhLogoMarquee 34s linear infinite;
}

.kbh-logo-strip:hover .kbh-logo-track {
  animation-play-state: paused;
}

.kbh-logo-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  color: #545454;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

@keyframes kbhLogoMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.kbh-testimonial {
  position: relative;
  flex: 0 0 405px;
  min-height: 200px;
  padding: 28px 48px 24px;
  overflow: hidden;
  border: 1px solid var(--kbh-border);
  border-radius: var(--kbh-radius);
  background: var(--kbh-bg-soft);
}

.kbh-quote-mark {
  display: block;
  height: 28px;
  color: var(--kbh-green-bright);
  font-size: 58px;
  font-weight: 900;
  line-height: 0.7;
}

.kbh-testimonial-slides {
  position: relative;
}

.kbh-testimonial-slide {
  display: none;
}

.kbh-testimonial-slide.is-active {
  display: block;
  animation: kbhTestimonialFade 0.35s ease;
}

@keyframes kbhTestimonialFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kbh-testimonial-slide p {
  margin: 12px 0 14px;
  color: var(--kbh-ink);
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.85;
}

.kbh-testimonial-slide strong {
  display: block;
  color: var(--kbh-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.kbh-testimonial-role {
  display: block;
  margin-top: 4px;
  color: var(--kbh-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.kbh-testimonial-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
}

.kbh-testimonial-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #dfe4e7;
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.kbh-testimonial-dots button.is-active {
  width: 18px;
  background: var(--kbh-green-bright);
}

@media (max-width: 1024px) {
  .kbh-trust-grid {
    gap: 40px;
  }

  .kbh-testimonial {
    flex-basis: 360px;
    padding: 28px 34px 24px;
  }
}

@media (max-width: 900px) {
  .kbh-trust {
    padding: 16px 0 30px;
  }

  .kbh-trust-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .kbh-trust-content h2 {
    max-width: 100%;
    font-size: 32px;
  }

  .kbh-logo-strip {
    max-width: 100%;
  }

  .kbh-testimonial {
    flex: none;
    width: 100%;
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .kbh-trust-content .kbh-eyebrow-no-line {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .kbh-trust-content h2 {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .kbh-logo-track span {
    padding: 0 24px;
    font-size: 14px;
  }

  .kbh-testimonial {
    padding: 26px 26px 22px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kbh-logo-track {
    animation: none;
  }

  .kbh-testimonial-slide.is-active {
    animation: none;
  }
}

/* ==========================================================================
   08. Steps
   ========================================================================== */
.kbh-steps {
  padding: 0 0 82px;
}

.kbh-steps .kbh-container {
  padding: 26px 40px 50px;
  border-radius: var(--kbh-radius);
  background: var(--kbh-bg-soft);
}

.kbh-steps .kbh-section-head {
  margin-bottom: 30px;
}

.kbh-steps .kbh-eyebrow-no-line {
  margin-bottom: 4px;
  color: #006b2d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.kbh-steps .kbh-section-head h2 {
  margin: 0;
  color: var(--kbh-ink);
  font-size: clamp(30px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.4px;
}

.kbh-step-grid {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.kbh-step-grid::before {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(10% + 32px);
  right: calc(10% + 32px);
  height: 2px;
  background: rgba(0, 88, 32, 0.45);
  pointer-events: none;
}

.kbh-step-card {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.kbh-step-visual {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 18px;
}

.kbh-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  color: #fff;
  background: #006b2d;
  box-shadow: 0 8px 22px rgba(0, 107, 45, 0.28);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.kbh-step-icon {
  position: absolute;
  top: -10px;
  right: -4px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border: 1px solid #123467;
  border-radius: 7px;
  background: #fff;
  color: #006b2d;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
}

.kbh-step-icon svg {
  display: block;
  width: 17px;
  height: 17px;
}

.kbh-step-card h3 {
  margin: 0 0 9px;
  color: var(--kbh-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.kbh-step-card p {
  max-width: 210px;
  margin: 0 auto;
  color: var(--kbh-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Steps responsive: tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .kbh-steps .kbh-container {
    padding: 34px 28px 42px;
  }

  .kbh-step-grid {
    gap: 16px;
  }

  .kbh-step-card p {
    max-width: 180px;
    font-size: 12.5px;
  }
}

/* ==========================================================================
   09. Partners marquee
   ========================================================================== */
.kbh-partners {
  padding: 0 0 25px;
  overflow: hidden;
}

.kbh-partners .kbh-container {
  text-align: center;
}

.kbh-partners .kbh-eyebrow-no-line {
  margin: 0 0 16px;
  color: #006b2d;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.kbh-partner-marquee {
  position: relative;
  height: 50px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 11px;
  background: #f7f7f7;
}

.kbh-partner-marquee::before,
.kbh-partner-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 54px;
  height: 100%;
  pointer-events: none;
}

.kbh-partner-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f7f7f7 0%, rgba(247, 247, 247, 0) 100%);
}

.kbh-partner-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f7f7f7 0%, rgba(247, 247, 247, 0) 100%);
}

.kbh-partner-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: kbhPartnerMarquee 28s linear infinite;
}

.kbh-partner-marquee:hover .kbh-partner-track {
  animation-play-state: paused;
}

.kbh-partner-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 48px;
  padding-right: 48px;
}

.kbh-partner-group span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  color: #5b6470;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

@keyframes kbhPartnerMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.333%);
  }
}

@media (max-width: 900px) {
  .kbh-partners {
    padding: 0 0 20px;
  }

  .kbh-partner-marquee {
    max-width: 100%;
  }

  .kbh-partner-group {
    gap: 38px;
    padding-right: 38px;
  }

  .kbh-partner-group span {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .kbh-partners .kbh-eyebrow-no-line {
    font-size: 11px;
    letter-spacing: 1.8px;
  }

  .kbh-partner-marquee {
    height: 48px;
    border-radius: 10px;
  }

  .kbh-partner-group {
    gap: 32px;
    padding-right: 32px;
  }

  .kbh-partner-group span {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kbh-partner-track {
    animation: none;
  }
}

/* ==========================================================================
   10. Sustainability
   ========================================================================== */
.kbh-sustainability {
  padding: 0 0 25px;
}

.kbh-sustainability-grid {
  display: flex;
  align-items: center;
  gap: 42px;
  min-height: 160px;
  padding: 26px 34px;
  border-radius: var(--kbh-radius);
  background: #f5f6f6;
  overflow: hidden;
  background-image: url(/wp-content/themes/klap/assets/klap-business-home/img/planta-sustenabilitate-opt.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
}

.kbh-sustainability-content,
.kbh-cycle,
.kbh-sustainability-plant {
  position: relative;
  z-index: 1;
}

.kbh-sustainability-content {
  flex: 3;
}

.kbh-sustainability-content .kbh-eyebrow-no-line {
  margin: 0 0 8px;
  color: #1d7a3c;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.kbh-sustainability-content h2 {
  margin: 0 0 18px;
  color: var(--kbh-ink);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
}

.kbh-sustainability-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 15px 25px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border-radius: 50px;
  border: 1px solid #2a7a40;
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(0, 166, 81, 0.35);
}

.kbh-sustainability-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 107, 45, 0.22);
  color:#1d7a3c;
}
.kbh-sustainability-btn:hover svg path{
  stroke: #1d7a3c;

}

.kbh-cycle {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
  flex: 2;
  min-width: 0;
}

.kbh-cycle-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  text-align: center;
}

.kbh-cycle-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(100% + 8px);
  width: 28px;
  height: 1.5px;
  background: #1d7a3c;
  opacity: 0.75;
}

.kbh-cycle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  border: 1px solid #d9dede;
  border-radius: 14px;
  background: #fff;
  color: #1d7a3c;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.kbh-cycle-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

.kbh-cycle-label {
  max-width: 92px;
  color: #121212;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.kbh-sustainability-plant {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.kbh-sustainability-plant img {
  display: block;
  width: 118px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Sustainability responsive: tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .kbh-sustainability-grid {
            gap: 28px;
        padding: 24px 26px;
        background-size: 228px;
        background-repeat: no-repeat;
        background-position: bottom right;
  }

  .kbh-sustainability-content {
    flex-basis: 220px;
  }

  .kbh-cycle {
    gap: 24px;
  }

  .kbh-cycle-item:not(:last-child)::after {
    width: 18px;
  }

  .kbh-cycle-label {
    font-size: 13px;
    max-width: 80px;
  }

  .kbh-sustainability-plant {
    flex-basis: 100px;
  }

  .kbh-sustainability-plant img {
    width: 92px;
  }

}

/* --------------------------------------------------------------------------
   Sustainability responsive: mobile
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .kbh-sustainability {
    padding: 0 0 68px;
  }

  .kbh-sustainability-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 24px;
  }

  .kbh-sustainability-content {
    flex: none;
    width: 100%;
  }

  .kbh-cycle {
    width: 50%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px 18px;
  }

  .kbh-cycle-item {
    width: calc(50% - 9px);
    align-items: flex-start;
  }

  .kbh-cycle-item:not(:last-child)::after {
    display: none;
  }

  .kbh-cycle-label {
    max-width: 100%;
  }

  .kbh-sustainability-plant {
    width: 100%;
    justify-content: flex-end;
    flex: none;
  }
}

@media (max-width: 768px) {
  a.kbh-sustainability-btn {
      width: 100%;
      justify-content: center;
  }

}


@media (max-width: 560px) {
  .kbh-sustainability-content h2 {
    font-size: 30px;
  }
  .kbh-sustainability{
    padding:0px;
  }

  section.kbh-sustainability .kbh-container {
    padding: 0px;
    border-radius: 0px;
}
.kbh-sustainability-grid {
padding: 25px 26px 100px !important;
        background-size: 200px;
    background-repeat: no-repeat;
    background-position: center 142%;
}

  .kbh-cycle {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .kbh-cycle-item {
        flex: 1 1 40%;       
        flex-direction: column;
        align-items: center;
        gap: 0px;
        text-align: center;
        border-radius: 16px;
        border: 1px solid #E8EAED;
        background: #FFF;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
        padding-top: 20px;
        padding-bottom: 20px;
  }

  .kbh-cycle-icon {
    width: 60px !important;
        height: 60px;
        flex: 0 0 50px;
        border-radius: 13px;
        border: 1px solid #E8EAED;
        background: #F8F8F8;
    }
  

  .kbh-cycle-label {
    max-width: none;
  }

  .kbh-sustainability-plant img {
    width: 88px;
  }
}

/* ==========================================================================
   11. Final CTA
   ========================================================================== */
.kbh-final-cta {
  padding: 0 0 86px;
  background: transparent;
  color: #fff;
}

.kbh-final-cta .kbh-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  max-width: 1110px;
  padding: 34px 56px;
  border-radius: 22px;
  background: linear-gradient(135deg, #012a1c 0%, #004c2d 100%);
  overflow: hidden;
}

.kbh-final-cta h2 {
  max-width: 570px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -1.4px;
}

.kbh-final-cta .kbh-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 0 0 auto;
  margin: 0;
}

.kbh-final-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

.kbh-final-btn-primary {
  border: 1px solid #00b85a;
  background: #00b85a;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 184, 90, 0.28);
}

.kbh-final-btn-primary:hover {
  background: #00a851;
  border-color: #00a851;
  box-shadow: 0 12px 26px rgba(0, 184, 90, 0.35);
}

.kbh-final-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.kbh-final-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.62);
}

.kbh-final-btn svg {
  display: block;
  flex: 0 0 auto;
}

.kbh-final-btn-primary-light {
  border-radius: 999px;
  background: #00a651;
  box-shadow: 0 2px 8px 0 rgba(0, 166, 81, 0.25);
  font-weight: 600;
}
.kbh-final-btn-secondary-light {
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}
.kbh-final-btn-secondary-light:hover svg path{
  stroke: var(--kbh-lime);;
}

/* --------------------------------------------------------------------------
   Final CTA responsive: tablet
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .kbh-final-cta {
      padding: 0px !important;
      width: 100% !important;
  }

    .kbh-final-cta .kbh-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        padding: 34px 32px;
        margin: 0px;
        width: 100%;
        border-radius: 0px;
    }

  .kbh-final-cta h2 {
    max-width: 100%;
  }

  .kbh-final-cta .kbh-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------------------
   Final CTA responsive: mobile
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
  .kbh-final-cta .kbh-container {
    padding: 30px 24px;
    border-radius: 0px;
  }

  .kbh-final-cta h2 {
    font-size: 29px;
    line-height: 1.25;
  }

  .kbh-final-cta .kbh-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .kbh-final-btn {
    width: 100%;
    min-height: 50px;
  }
}

/* ==========================================================================
   12. Shared responsive overrides / mobile refinements

   Keep this block after the section-specific rules.
   These overrides intentionally affect multiple sections at once.
   ========================================================================== */
@media (max-width: 1180px) {
  .kbh-benefits-card,
  .kbh-impact-card,
  .kbh-trust-grid,
  .kbh-sustainability-grid,
  .kbh-step-grid {
    flex-wrap: wrap;
  }
  .kbh-container {
    margin: 0px;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
  .kbh-benefits {
    padding-bottom: 30px;
  }

  .kbh-hero {
    padding-top: 0px;
  }

  .kbh-hero-grid {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    min-height: auto;
    overflow-x: clip;
    width: 100% !important;
  }

  .kbh-hero-content {
    flex-basis: auto;
    max-width: unset;
  }

  .kbh-btn {
    width: 100%;
  }

  .kbh-hero-title {
    max-width: 100%;
  }
  .kbh-hero-media {
    height: 575px;
  }
  .kbh-hero-media {
    position: relative;
    inset: auto;
    margin-top: 0px;
    border-radius: 22px;
    width: 100%;
    margin-bottom: 15px;
  }

  .kbh-services {
    background: #f8f8f8;
    padding: 25px 0px 80px;
  }

  section.kbh-impact {
    margin-top: -60px;
  }

  .kbh-trust-content {
    width: 100%;
  }

  .kbh-trust {
    padding-top: 25px;
  }
  img.kbh-service-image {
    bottom: -4px;
    top: unset;
    left: 25px;
  }
  .kbh-logo-strip {
    max-width: 100%;
  }

  .kbh-final-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .kbh-benefit-item {
    flex: 1 1 calc(50% - 1px);
    border-bottom: 1px solid var(--kbh-border);
    flex-direction: column;
    text-align: center;
  }

  .kbh-service-card {
    flex-basis: calc(50% - 10px);
  }

  .kbh-impact-heading {
    flex: 1 1 100%;
  }

  .kbh-impact-stat {
    flex: 1 1 33.333%;
  }

  .kbh-trust-content,
  .kbh-testimonial,
  .kbh-sustainability-content,
  .kbh-cycle {
    flex: 1 1 100%;
  }

  .kbh-testimonial {
    max-width: 100%;
    margin-inline: auto;
  }

  section.kbh-steps {
    padding-bottom: 25px;
  }

  .kbh-cycle {
    justify-content: flex-start;
  }
  .kbh-step-card {
    flex: 1 1 calc(50% - 10px);
  }

  .kbh-step-grid::before {
    display: none;
  }
}

@media (max-width: 820px) {

  img.kbh-service-image {
    width: 84vw;
    left: unset;
    right: -9px;
  }

  .kbh-cycle {
    flex-direction: row !important;
  }

  .kbh-impact-card {
    background: linear-gradient(135deg, #005820 0%, #063d22 100%);
    color: #fff;
    isolation: isolate;
    background-image: url(/wp-content/themes/klap/assets/klap-business-home/img/copaci-resurse-economisite-mobile-opt.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
  }

  .kbh-service-card {
    min-height: 220px;
  }

  a.kbh-service-card.kbh-service-maintenance img.kbh-service-image {
    width: 59vw;
    right: -25px;
  }

  .kbh-service-grid,
  .kbh-impact-card,
  .kbh-step-grid,
  .kbh-cycle,
  .kbh-sustainability-grid {
    flex-direction: column;
  }

  .kbh-service-card,
  .kbh-impact-heading,
  .kbh-impact-stat,
  .kbh-step-card,
  .kbh-cycle span {
    flex: 1 1 auto;
    width: 100%;
  }

  .kbh-benefit-item,
  .kbh-impact-stat {
    border-bottom: 1px solid var(--kbh-border);
  }

  .kbh-hero-media {
    height: 63vw;
  }

  .kbh-impact-stat {
    border-bottom-color: rgba(255, 255, 255, 0.13);
  }

  .kbh-steps .kbh-container,
  .kbh-sustainability-grid {
    padding: 40px 22px;
  }

  .kbh-partner-marquee {
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   Mobile: Steps section timeline layout
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .kbh-steps {
    padding: 0 0 64px;
  }

  .kbh-steps .kbh-container {
    padding: 34px 24px;
  }

  .kbh-cycle-item {
    text-align: center;
  }

  .kbh-step-grid {
    flex-direction: column;
    gap: 50px;
    margin-top: 28px;
  }

  .kbh-step-grid::before {
    display: block;
    top: 36px;
    bottom: 36px;
    left: 34px;
    right: auto;
    width: 2px;
    height: auto;
    background: rgba(0, 88, 32, 0.35);
  }

  .kbh-step-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    column-gap: 18px;
    text-align: left;
  }

  .kbh-step-visual {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .kbh-step-card h3 {
    align-self: end;
    margin-top: 7px;
  }

  .kbh-step-card p {
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .kbh-steps .kbh-section-head h2 {
    font-size: 30px;
  }

  .kbh-steps .kbh-eyebrow-no-line {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .kbh-step-number {
    width: 58px;
    height: 58px;
    font-size: 27px;
  }

  .kbh-step-visual {
    width: 68px;
    height: 68px;
  }

  .kbh-step-icon {
    width: 27px;
    height: 27px;
    right: -3px;
    top: -5px;
  }
  .kbh-partner-marquee::before {
    left: 0;
    background: unset;
  }

  .kbh-partner-marquee::after {
    right: 0;
    background: unset;
  }
}
