.hero-image {
  background-image: url('/assets/hero-buildings-20260824.webp') !important;
  background-position: 50% 50% !important;
  background-size: cover !important;
}

.visual-story,
.cases,
#plans,
.audit {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.middle-chapter {
  position: relative;
  padding-top: 96px !important;
  padding-bottom: 96px !important;
}

.middle-chapter + .middle-chapter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  width: 90%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(9, 24, 34, .16), transparent);
  pointer-events: none;
}

.funnel-diagram {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: start;
  gap: 14px;
  margin: 36px 0 28px;
  padding: 18px 22px;
  border: 1px solid rgba(9, 24, 34, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .62);
}

.funnel-diagram__node {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  color: #0a1620;
  font-size: 14px;
  font-weight: 700;
}

.funnel-diagram__node i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #0a1620;
  color: #fff;
  font-size: 17px;
  font-style: normal;
}

.funnel-diagram__node:last-child i {
  background: #ff634f;
}

.funnel-diagram__arrow {
  width: 38px;
  height: 1px;
  position: relative;
  background: rgba(9, 24, 34, .25);
}

.funnel-diagram__arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #ff634f;
  border-right: 1px solid #ff634f;
  transform: rotate(45deg);
}

.capability-section .sub {
  max-width: 780px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.capability-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(9, 24, 34, .12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(9, 24, 34, .06);
}

.capability-card:nth-child(3) {
  background: #0a1620;
  color: #fff;
}

.capability-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 12px;
  background: rgba(255, 99, 79, .13);
  color: #ff634f;
}

.capability-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.capability-card h3 {
  margin: 0 0 12px;
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.06;
}

.capability-card p {
  margin: 0;
  color: rgba(9, 24, 34, .68);
  font-size: 16px;
  line-height: 1.55;
}

.capability-card:nth-child(3) p {
  color: rgba(255, 255, 255, .68);
}

.team-breather {
  padding-top: 88px !important;
  padding-bottom: 96px !important;
}

@media (max-width: 900px) {
  .middle-chapter,
  .team-breather {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  .funnel-diagram {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .funnel-diagram__arrow {
    display: none;
  }

  .funnel-diagram__node {
    flex-direction: column;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero-image {
    background-position: 52% 50% !important;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
    padding: 24px;
  }

  .capability-icon {
    margin-bottom: 28px;
  }

  .funnel-diagram {
    margin-top: 28px;
    padding: 16px 10px;
  }

  .funnel-diagram__node {
    font-size: 11px;
  }

  .funnel-diagram__node i {
    width: 34px;
    height: 34px;
  }
}
