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

.portfolio.section,
.capabilities.section {
  padding-top: 48px !important;
  padding-bottom: 58px !important;
}

.capabilities.section {
  padding-top: 38px !important;
  padding-bottom: 42px !important;
}

.capabilities>.section-head {
  margin-bottom: 20px !important;
}

.capabilities .card-grid {
  gap: 12px;
}

.capabilities .capability-card {
  min-height: 205px !important;
  padding: 20px !important;
  border-radius: 15px;
}

.capabilities .card-number {
  font-size: 9px;
}

.capabilities .card-icon {
  width: 40px;
  height: 40px;
  margin: 13px 0 16px !important;
  border-radius: 11px;
  font-size: 18px;
}

.capabilities .capability-card h3 {
  margin: 0 0 7px;
  font-size: 19px;
}

.capabilities .capability-card p {
  font-size: 12px;
  line-height: 1.55;
}

.commitment.section {
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}

.commitment-card {
  grid-template-columns: 1.05fr .75fr;
  gap: 48px !important;
  padding: 34px 42px !important;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(7, 27, 56, .12);
}

.commitment-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 42px;
  width: 92px;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: #e4a33d;
}

.commitment .section-label {
  margin-bottom: 13px;
}

.commitment h2 {
  font-size: clamp(30px, 3vw, 42px) !important;
  line-height: 1.07;
}

.commitment-copy p {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.62;
}

.commitment-copy a {
  padding-bottom: 5px;
  font-size: 12px;
}

.portfolio-head,
.capabilities>.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 28px !important;
}

.portfolio-head>div,
.capabilities>.section-head>div {
  min-width: 0;
}

.portfolio-head .section-label,
.capabilities>.section-head .section-label {
  margin-bottom: 9px;
}

.portfolio-head h2,
.capabilities>.section-head h2 {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(28px, 2.6vw, 38px) !important;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.portfolio-head>p,
.capabilities>.section-head>p {
  max-width: 520px;
  margin: 0;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

#hope,
#popular-products,
#royal-green {
  scroll-margin-top: 118px;
}

.simple-footer {
  padding: 0 clamp(22px, 5vw, 78px) !important;
  background: linear-gradient(100deg, #061a33, #063f35) !important;
  color: #dce8e5;
}

.footer-line {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
}

.footer-line>span {
  color: #9fb4be;
  white-space: nowrap;
}

.footer-line>strong {
  color: #dce8e5;
  font-size: 11px;
  font-weight: 600;
}

.footer-line>a {
  color: #dce8e5;
  transition: color .2s;
}

.footer-line>a:hover {
  color: #fff;
}

.footer-line .footer-erp {
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: #f0bd62;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .portfolio.section,
  .capabilities.section {
    padding-top: 38px !important;
    padding-bottom: 46px !important;
  }

  .portfolio-head,
  .capabilities>.section-head {
    display: block;
    margin-bottom: 22px !important;
  }

  .portfolio-head>p,
  .capabilities>.section-head>p {
    margin-top: 10px;
  }

  .footer-line {
    min-height: 0;
    padding: 22px 0;
    display: grid;
    gap: 9px;
  }

  .footer-line .footer-erp {
    width: max-content;
    margin: 5px 0 0;
  }

  .commitment.section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .commitment-card {
    gap: 20px !important;
    padding: 29px 23px !important;
    border-radius: 18px;
  }

  .commitment-card::before {
    left: 23px;
    width: 72px;
  }

  .commitment h2 {
    font-size: 30px !important;
  }

  .commitment-copy p {
    font-size: 13px;
  }
}
