.problem-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px minmax(0, 1.08fr);
  gap: 0;
  align-items: center;
  padding: 8px 0 18px;
}

.section-problems .section-heading {
  display: block;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.section-problems .section-heading > p:last-child {
  max-width: 700px;
  margin: 18px auto 0;
}

.section-problems .section-heading h2,
.problem-point h3,
.clarity-strip h3 {
  text-wrap: balance;
}

.problem-points {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
}

.problem-point {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: center;
  min-width: 0;
}

.problem-point figure,
.problem-laptop,
.clarity-strip figure {
  margin: 0;
}

.problem-point figure {
  aspect-ratio: 1;
}

.problem-point img,
.problem-laptop img,
.clarity-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.problem-point h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: clamp(22px, 1.65vw, 26px);
  line-height: 1.45;
  letter-spacing: -.01em;
}

.problem-point p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.7;
}

.problem-flow-hub {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 430px;
  z-index: 1;
}

.problem-flow-hub > picture {
  position: absolute;
  left: -125px;
  top: 50%;
  display: block;
  width: 420px;
  max-width: none;
  transform: translateY(-50%);
}

.problem-flow-hub picture img {
  display: block;
  width: 100%;
  height: auto;
}

.problem-flow-hub > strong {
  position: absolute;
  left: 74%;
  top: 50%;
  width: 92px;
  color: #fff;
  font-size: clamp(18px, 1.2vw, 20px);
  line-height: 1.45;
  text-align: center;
  transform: translate(-50%, -50%);
}

.problem-result {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.problem-laptop {
  width: min(100%, 490px);
  aspect-ratio: 1;
}

.problem-benefits {
  display: grid;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.problem-benefits li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 800;
  line-height: 1.6;
}

.problem-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 22px;
  height: 22px;
  background: url("../images/20260822_check-circle-v2.png") center / contain no-repeat;
}

.clarity-strip {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  gap: 0;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f8faf7;
  box-shadow: 0 14px 40px rgba(23, 34, 28, .06);
}

.clarity-strip article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
}

.clarity-arrow {
  display: grid;
  place-items: center;
}

.clarity-arrow img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.clarity-strip figure {
  width: 72px;
  height: 72px;
}

.clarity-strip h3 {
  margin: 0 0 3px;
  color: var(--green-dark);
  font-size: clamp(24px, 1.7vw, 28px);
}

.clarity-strip p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.65;
}

#services .section-heading {
  margin-inline: auto;
  text-align: center;
}

.service-grid {
  grid-template-columns: 1fr;
  gap: 22px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 28px;
  background: #eef4ed;
  box-shadow: 0 18px 48px rgba(23, 34, 28, .07);
}

.service-card-lp {
  background: #fbf2e4;
}

.service-card-automation {
  background: #edf4f5;
}

.service-visual {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #f1f3ed;
}

.service-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.service-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 44px 48px 38px;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-tag {
  float: none;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  background: rgba(255, 255, 255, .72);
  font-size: clamp(16px, 1.05vw, 18px);
}

.service-number {
  font-size: clamp(18px, 1.25vw, 21px);
}

.service-name {
  margin: 28px 0 4px;
  color: var(--green);
  font-size: clamp(21px, 1.6vw, 26px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .05em;
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.25;
}

.service-card > .service-content > p:not(.service-name) {
  max-width: 600px;
  color: #435047;
}

.service-card ul {
  margin: 22px 0 28px;
}

.service-foot {
  margin-top: auto;
}

.service-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--green-dark);
  line-height: 1.1;
}

.service-price small {
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.service-price span {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 900;
  letter-spacing: -.02em;
}

.service-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 960px) {
  .problem-diagram {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 0 18px;
  }

  .problem-points,
  .problem-result {
    width: min(100%, 640px);
    margin-inline: auto;
  }

  .problem-flow-hub {
    width: min(72vw, 360px);
    min-height: 0;
    aspect-ratio: 1122 / 1402;
    margin-inline: auto;
  }

  .problem-flow-hub > picture {
    left: 50%;
    top: 0;
    width: 100%;
    transform: translateX(-50%);
  }

  .problem-flow-hub > strong {
    left: 50%;
    top: 60%;
    width: 80px;
    font-size: 17px;
  }

  .problem-laptop {
    max-width: 560px;
    margin-inline: auto;
  }

  .service-card {
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  }

  .service-visual img {
    min-height: 400px;
  }

  .service-content {
    padding: 36px;
  }
}

@media (max-width: 720px) {
  .problem-diagram {
    padding: 0;
  }

  .problem-points {
    gap: 12px;
  }

  .problem-point {
    grid-template-columns: 76px 1fr;
    gap: 12px;
    padding: 14px 14px 14px 10px;
    border: 1px solid rgba(46, 110, 73, .1);
    border-radius: 18px;
    background: #fbf9f4;
  }

  .problem-point h3 {
    font-size: 21px;
  }

  .problem-point p {
    font-size: 16px;
  }

  .problem-benefits li {
    font-size: 18px;
  }

  .problem-flow-hub {
    width: min(82vw, 310px);
    margin-block: 4px 0;
  }

  .problem-result {
    width: 100%;
    padding: 16px 16px 20px;
    border: 1px solid rgba(46, 110, 73, .1);
    border-radius: 22px;
    background: #f8faf7;
  }

  .problem-laptop {
    width: min(100%, 360px);
    aspect-ratio: auto;
  }

  .problem-laptop img {
    height: auto;
  }

  .problem-benefits {
    width: min(100%, 340px);
    margin: 4px auto 0;
  }

  .clarity-strip {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .clarity-strip article {
    border-top: 1px solid var(--line);
  }

  .clarity-strip article:first-child {
    border-top: 0;
  }

  .clarity-arrow {
    min-height: 28px;
    border-top: 1px solid var(--line);
  }

  .clarity-arrow img {
    width: 24px;
    height: 24px;
    transform: rotate(90deg);
  }

  .clarity-strip article {
    grid-template-columns: 68px 1fr;
    gap: 16px;
    padding: 20px;
  }

  .clarity-strip figure {
    width: 68px;
    height: 68px;
  }

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

  .service-visual {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }

  .service-visual img {
    min-height: 0;
  }

  .service-content {
    padding: 28px 24px 26px;
  }

  .service-name {
    margin-top: 22px;
  }

  .service-card h3 {
    font-size: 32px;
  }

  .service-price {
    gap: 8px;
  }

  .service-price span {
    font-size: 27px;
  }
}

@media (max-width: 420px) {
  .service-content {
    padding-inline: 20px;
  }

  .service-card h3 {
    font-size: 29px;
  }
}

/* Hero guidance: keep key choices readable for older visitors */
.hero-actions .text-link {
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}

.trust-list {
  gap: 14px 28px;
  color: #34483d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
}

.trust-list li::before {
  margin-right: 9px;
  color: var(--green-dark);
  font-size: 1.15em;
}

@media (max-width: 640px) {
  .hero-actions .text-link {
    font-size: 20px;
  }

  .trust-list {
    font-size: 18px;
  }

  .trust-list li + li {
    margin-top: 10px;
  }
}
