.sgdh-approach, .sgdh-solutions, .sgdh-oeth, .sgdh-reviews {
  --middle-dark: #101828;
  --middle-muted: rgba(16, 24, 40, .6);
  --middle-white-muted: rgba(255, 255, 255, .61);
  --middle-yellow: #f9ea65;
  --middle-blue: #beebff;
  overflow-x: clip;
}

.sgdh-middle-heading {
  margin: 0;
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: -.03em;
  font-weight: 600;
  color: inherit;
}

.sgdh-approach, .sgdh-solutions, .sgdh-oeth {
  padding-block: 100px;
}

.sgdh-approach-layout, .sgdh-oeth-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.sgdh-approach {
  color: var(--middle-dark);
}

.sgdh-approach-photo {
  display: block;
  width: min(100%, 549px);
  height: auto;
  border-radius: 60px 0;
}

.sgdh-approach-intro {
  margin: 20px 0;
  padding-bottom: 32px;
  color: var(--middle-muted);
  border-bottom: 1px solid #e5e5e5;
  line-height: 1.8;
}

.sgdh-approach-points {
  list-style: none;
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.sgdh-approach-points li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 36px;
  padding-top: 7px;
}

.sgdh-approach-points img {
  margin-top: 3px;
}

.sgdh-approach-points h3 {
  margin: 0 0 13px;
  color: var(--middle-dark);
  font: 600 16px/1.8 Manrope, Inter, sans-serif;
}

.sgdh-approach-points p {
  margin: 0;
  color: var(--middle-muted);
  font-size: 14px;
  line-height: 1.8;
}

.sgdh-solutions {
  background: var(--middle-dark);
  color: #fff;
  text-align: center;
}

.sgdh-solutions-intro p {
  max-width: 650px;
  margin: 20px auto 0;
  color: var(--middle-white-muted);
  line-height: 1.8;
}

.sgdh-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 20px;
  margin: 82px 0 20px;
  text-align: center;
}

.sgdh-solution {
  padding: 0 50px 30px;
}

.sgdh-solution-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
}

.sgdh-icon-yellow { background: var(--middle-yellow); }
.sgdh-icon-blue { background: var(--middle-blue); }

.sgdh-solution h3 {
  margin: 0 0 8px;
  color: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.sgdh-solution p {
  margin: 0;
  color: var(--middle-white-muted);
  line-height: 1.8;
}

.sgdh-middle-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 33px;
  border-radius: 4px;
  background: #fff;
  color: var(--middle-dark);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.sgdh-middle-button:hover, .sgdh-middle-button:focus-visible {
  background: var(--middle-yellow);
  color: var(--middle-dark);
}

.sgdh-oeth {
  position: relative;
  background: #ff9555;
  color: #fff;
}

.sgdh-oeth-layout {
  min-height: 520px;
  align-items: start;
}

.sgdh-oeth-copy h2 {
  max-width: 500px;
}

.sgdh-oeth-copy p {
  margin: 16px 0 32px;
  padding-right: 20px;
  line-height: 1.8;
}

.sgdh-oeth-visual {
  position: relative;
  z-index: 1;
  height: 100%;
}

.sgdh-oeth-visual img {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: -190px;
  display: block;
  width: min(400px, 90%);
  height: auto;
  border-radius: 50% 50% 50% 0;
}

.sgdh-reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 20px;
  padding-top: 70px;
  background: var(--middle-dark);
  color: #fff;
}

.sgdh-reviews-photo {
  display: block;
  width: min(100%, 704px);
  height: auto;
  border-radius: 0 120px 0 0;
}

.sgdh-reviews-copy {
  align-self: start;
  padding: 24px 20px 0 0;
}

.sgdh-review-carousel {
  width: min(500px, 100%);
}

.sgdh-review-window {
  display: grid;
  overflow: hidden;
  touch-action: pan-y;
}

.sgdh-review {
  grid-area: 1 / 1;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateX(var(--review-offset, 24px));
  transition: transform 500ms ease, opacity 500ms ease, visibility 500ms;
}

.sgdh-review[data-active] {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.sgdh-review figcaption strong {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.sgdh-review figcaption span {
  display: block;
  margin-bottom: 36px;
  color: var(--middle-white-muted);
  font-size: 16px;
}

.sgdh-review blockquote {
  margin: 0;
  color: inherit;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
}

.sgdh-review-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 32px 0 0 -6px;
}

.sgdh-review-dots[hidden] {
  display: none;
}

.sgdh-review-dots button {
  display: grid;
  width: 20px;
  height: 25px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: none;
  cursor: pointer;
}

.sgdh-review-dots button::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  content: "";
}

.sgdh-review-dots button[aria-pressed="true"]::before {
  background: #fff;
}

.sgdh-review-dots button:focus-visible {
  outline: 2px solid var(--middle-yellow);
  outline-offset: 2px;
}

[data-middle-reveal].sgdh-middle-entered {
  animation: sgdh-middle-enter 650ms cubic-bezier(.22, .61, .36, 1) both;
}

[data-middle-reveal="left"] { --middle-slide-x: -36px; --middle-slide-y: 0; }
[data-middle-reveal="right"] { --middle-slide-x: 36px; --middle-slide-y: 0; }
[data-middle-reveal="up"] { --middle-slide-x: 0; --middle-slide-y: 28px; }

.sgdh-approach-points li:nth-child(2), .sgdh-solution:nth-child(3n + 2) { animation-delay: 95ms; }
.sgdh-approach-points li:nth-child(3), .sgdh-solution:nth-child(3n + 3) { animation-delay: 190ms; }

@keyframes sgdh-middle-enter {
  from { opacity: 0; transform: translate(var(--middle-slide-x), var(--middle-slide-y)); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1025px) {
  .sgdh-approach-layout { min-height: 656px; }
  .sgdh-approach-layout > div { align-self: start; padding-top: 10px; }
  .sgdh-oeth-copy { padding-top: 10px; }
  .sgdh-solutions > .wrap { min-height: 1093px; }
  .sgdh-solution-grid { grid-template-rows: minmax(325px, auto) minmax(290px, auto); row-gap: 90px; }
}

@media (max-width: 1024px) {
  .sgdh-approach, .sgdh-solutions, .sgdh-oeth { padding-block: 75px; }
  .sgdh-approach-layout, .sgdh-oeth-layout { grid-template-columns: minmax(0, 1fr); }
  .sgdh-approach-layout { gap: 40px; }
  .sgdh-approach-layout > div { max-width: 500px; }

  .sgdh-middle-heading { font-size: 40px; }
  .sgdh-solution-grid { margin-top: 74px; row-gap: 33px; }
  .sgdh-solution { min-height: 270px; padding: 14px 18px 30px; }
  .sgdh-solution-icon { width: 64px; height: 64px; }
  .sgdh-solution-icon img { width: 28px; height: 28px; }

  .sgdh-oeth-layout { min-height: unset; }
  .sgdh-oeth-copy { max-width: 500px; }
  .sgdh-oeth-visual { grid-row: 2; min-height: 300px; }
  .sgdh-oeth-visual img { right: 140px; left: auto; bottom: -165px; }

  .sgdh-reviews-photo { border-top-right-radius: 100px; }
  .sgdh-review figcaption span { margin-bottom: 28px; }
  .sgdh-review-dots { margin-top: 22px; }
}

@media (max-width: 767px) {
  .sgdh-approach, .sgdh-solutions { padding-block: 50px; }
  .sgdh-middle-heading { font-size: 34px; }
  .sgdh-approach-layout { gap: 28px; }
  .sgdh-approach-photo { border-radius: 45px 0; }
  .sgdh-approach-points li { grid-template-columns: 18px minmax(0, 1fr); gap: 12px; }
  .sgdh-approach-points img { width: 18px; height: 18px; }

  .sgdh-solutions-intro p { margin-top: 16px; }
  .sgdh-solution-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin: 42px 0 24px;
  }
  .sgdh-solution { min-height: 0; padding: 16px 20px 20px; }
  .sgdh-solution-icon { width: 66px; height: 66px; }

  .sgdh-oeth { padding: 0 0 50px; }
  .sgdh-oeth-layout { gap: 0; }
  .sgdh-oeth-visual { grid-row: 1; min-height: 0; padding-bottom: 0; }
  .sgdh-oeth-visual img {
    position: relative;
    inset: auto;
    width: 80%;
  }
  .sgdh-oeth-copy { margin-top: 50px; }
  .sgdh-oeth-copy p { padding: 0; margin: 20px 0 24px; }

  .sgdh-reviews {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0 0 50px;
  }
  .sgdh-reviews-photo {
    width: calc(100% - 30px);
    border-top-right-radius: 90px;
  }
  .sgdh-reviews-copy { padding: 20px 30px; }
  .sgdh-review figcaption span { margin-bottom: 20px; }
  .sgdh-review blockquote { font-size: 19px; }
  .sgdh-review-dots { margin-top: 14px; }
  .sgdh-review-dots button::before { width: 6px; height: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-middle-reveal].sgdh-middle-entered { animation: none; }
  .sgdh-review { transition: none; }
}
