.distributor-page {
  color: #111;
  background: #fff;
}

.distributor-page .nav-list > li > button.is-current {
  color: var(--green-dark);
}

.dp-container {
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
}

.dp-section {
  padding: 88px 0;
}

.dp-heading {
  text-align: center;
}

.dp-heading h2,
.dp-portfolio-header h2,
.dp-network-heading h2 {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  font-size: 32px;
  line-height: 1.2;
  background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 4px);
  background-size: 100% 4px;
}

.dp-heading > span,
.dp-network-heading > span {
  width: 36px;
  height: 25px;
  display: block;
  margin: 38px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 25'%3E%3Cpath fill='%2300bf6f' d='M7 0h22c5.5 0 8.5 6.5 4.9 10.6L21.1 23.2c-2.1 2.1-4.2 2.1-6.3 0L2.1 10.6C-1.5 6.5 1.5 0 7 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dp-benefits .dp-heading > span {
  margin-top: 33px;
}

/* Hero */
.dp-hero {
  min-height: 750px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 228px 24px 27px;
  color: #111;
  background-image: url("../../images/distributor/energy-storage-distributor-program-banner.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.dp-hero-panel {
  width: min(1120px, calc(100% - 24px));
  padding: 26px 40px 30px;
  border-radius: 34px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.61) 55%, rgba(255, 255, 255, 0.35));
  backdrop-filter: blur(7px);
  text-align: center;
}

.dp-hero h1 {
  margin: 0;
  font-size: clamp(38px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 800;
}

.dp-hero h1 em {
  color: var(--green);
  font-style: normal;
}

.dp-hero-panel p {
  margin: 17px 0 0;
  font-size: 18px;
}

.dp-hero-actions {
  display: grid;
  justify-items: center;
  gap: 22px;
  margin-top: 86px;
}

.dp-hero-actions .button {
  min-width: 280px;
  min-height: 60px;
  border-color: rgba(0, 190, 94, 0.9);
  background: rgba(0, 145, 68, 0.38);
  backdrop-filter: blur(2px);
  font-size: 18px;
  text-transform: none;
}

.dp-catalog-link {
  min-width: 210px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  font-size: 13px;
  font-weight: 700;
}

.dp-hero-trust {
  position: absolute;
  bottom: 23px;
  margin: 0;
  font-size: 12px;
}

.dp-hero-trust span {
  margin-inline: 7px;
}

/* Benefits and support */
.dp-benefits {
  padding-top: 104px;
  padding-bottom: 36px;
  overflow: hidden;
}

.dp-benefits-layout {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 342px minmax(280px, 1fr);
  gap: 44px;
  align-items: center;
}

.dp-benefit-group h3 {
  margin: 0 0 21px;
  font-size: 22px;
  text-align: center;
}

.dp-benefit-group ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  list-style: none;
}

.dp-benefit-group li {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  border: 1px solid #e1e1e1;
  border-radius: 30px;
  background: #fbfbfb;
  font-size: 20px;
  text-align: center;
}

.dp-benefits-orbit {
  position: relative;
  width: 342px;
  max-width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.dp-benefits-orbit img {
  width: 574px;
  max-width: none;
  height: 574px;
  position: absolute;
  top: 50%;
  left: 50%;
  object-fit: contain;
  transform: translate(-50%, calc(-50% + 20px));
}

.dp-benefits-orbit strong {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 25px;
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, calc(-50% + 20px));
}

.dp-support {
  margin-top: 101px;
}

.dp-support > h2,
.dp-compliance > .dp-container > h2 {
  margin: 0;
  font-size: 28px;
  text-align: center;
}

.dp-support-grid {
  width: min(100%, 1275px);
  margin: 35px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.dp-support-grid article {
  min-width: 0;
}

.dp-support-grid img {
  width: 100%;
  aspect-ratio: 312 / 218;
  object-fit: cover;
  border-radius: 25px;
}

.dp-support-grid h3 {
  margin: 21px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
  transform: translateY(2px);
  white-space: nowrap;
}

/* Compliance */
.dp-compliance {
  padding-top: 34px;
  padding-bottom: 75px;
}

.dp-compliance > .dp-container > h2 {
  transform: translateX(-5px);
}

.dp-certificates {
  width: 1310px;
  max-width: none;
  height: auto;
  display: block;
  margin: 3px 0 0 calc(50% - 2px);
  transform: translateX(-50%);
}

.dp-compliance-grid {
  width: min(100%, 1278px);
  margin-top: 25px;
  position: relative;
  left: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 420px));
  gap: 9px;
}

.dp-compliance-grid article {
  height: 188px;
  padding: 24px 35px;
  border: 1px solid #e1e1e1;
  border-radius: 30px;
  background: #fbfbfb;
}

.dp-compliance-grid .iconfont {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #397496;
  border-radius: 50%;
  color: #07518c;
  font-size: 21px;
  transform: translate(-4px, -1px);
}
.dp-compliance-grid h3 {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}

.dp-compliance-grid p {
  margin: 10px 0 0;
  color: #777;
  font-size: 15px;
  line-height: 17px;
}

/* Portfolio */
.dp-portfolio {
  min-height: 550px;
  padding: 90px 0 100px;
  color: #fff;
  background: #4f4f4f;
}

.dp-portfolio-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dp-portfolio-header h2 {
  margin-inline: 0;
  transform: translate(3px, 5px);
}

.dp-portfolio-header > a {
  min-width: 174px;
  min-height: 48px;
  position: absolute;
  right: 115px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #333;
  background: #fff;
  font-size: 16px;
  transform: translateY(6px);
}

.dp-portfolio-grid {
  width: min(100%, 1278px);
  margin-top: 65px;
  position: relative;
  left: 4px;
  display: grid;
  grid-template-columns: repeat(4, 277px);
  justify-content: space-between;
  gap: 28px;
}

.dp-portfolio-grid a {
  position: relative;
  aspect-ratio: 277 / 220;
  overflow: hidden;
  border-radius: 31px;
}

.dp-portfolio-grid a:nth-child(2) {
  transform: translateX(3px);
}

.dp-portfolio-grid a:nth-child(3) {
  transform: translateX(7px);
}

.dp-portfolio-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dp-portfolio-grid span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding:9px 0 15px 0;
  background: linear-gradient(
    transparent 0%,
    rgba(230, 240, 255, 0.12) 55%,
    rgba(240, 255, 217, 0.07) 78%,
    rgba(240, 255, 217, 0.07) 100%
  );
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 16px;
  text-align: center;
}

/* Process */
.dp-process {
  padding-top: 111px;
  padding-bottom: 98px;
}

.dp-process .dp-container {
  width: min(calc(100% - 48px), 1378px);
}

.dp-process-list {
  margin: 63px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 76px;
  list-style: none;
}

.dp-process-list li {
  position: relative;
  text-align: center;
}

.dp-process-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 78px;
  left: calc(50% + 80px);
  width: 198px;
  border-top: 2px dashed #d8d8d8;
}

.dp-process-list li:nth-child(2)::before {
  left: calc(50% + 93px);
  width: 190px;
}

.dp-process-list li:nth-child(3)::before {
  left: calc(50% + 95px);
  width: 198px;
}

.dp-process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 60px;
  right: -46px;
  width: 26px;
  height: 39px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  border-radius: 7px;
}

.dp-process-list li:nth-child(2)::after {
  transform: translateX(9px);
}

.dp-process-list li:nth-child(3)::after {
  transform: translateX(18px);
}

.dp-process-list img {
  width: 155px;
  height: 155px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.dp-process-list li:nth-child(1) img {
  transform: translate(-8px, -3px);
}

.dp-process-list li:nth-child(2) img {
  transform: translate(4px, 9px);
}

.dp-process-list li:nth-child(3) img {
  transform: translate(8px, 2px);
}

.dp-process-list li:nth-child(4) img {
  transform: translate(19px, 9px);
}

.dp-process-list p {
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.65;
}

.dp-process-list li:nth-child(1) p {
  transform: translate(-9px, -3px);
}

.dp-process-list li:nth-child(2) p {
  transform: translate(0, -3px);
}

.dp-process-list li:nth-child(3) p {
  transform: translate(7px, -3px);
}

.dp-process-list li:nth-child(4) p {
  transform: translate(20px, -3px);
}

.dp-process-list em {
  display: block;
  font-style: italic;
}

@media (min-width: 1161px) {
  .dp-process .dp-heading h2 {
    position: relative;
    z-index: 0;
    background-image: none;
  }

  .dp-process .dp-heading h2::before {
    content: "";
    height: 4px;
    position: absolute;
    z-index: -1;
    right: -1px;
    bottom: 8px;
    left: -4px;
    background: var(--green);
  }
}

/* Network */
.dp-network {
  padding-top: 88px;
  padding-bottom: 68px;
  background: #f4f4f4;
}

.dp-network-heading p {
  margin: 14px 0 0;
  font-size: 18px;
  text-align: center;
}

.dp-network-heading > span {
  margin-top: 22px;
}

.dp-case {
  margin-top: 53px;
  display: grid;
  grid-template-columns: 620px minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.dp-drag-hint + .dp-case {
  margin-top: 28px;
}

.dp-case-copy {
  position: relative;
}

.dp-country {
  min-width: 165px;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 28px;
  border-radius: 999px;
  color: var(--green);
  background: #fff;
  font-size: 26px;
}

.dp-case-copy h3 {
  margin: -35px -20px 28px 190px;
  font-size: 21px;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.dp-case-copy dl {
  margin: 0;
  padding: 24px 25px;
  border-radius: 28px;
  background: #fff;
  color: #777;
  font-size: 14px;
  line-height: 1.7;
}

.dp-case-copy dl > div {
  display: flex;
  gap: 4px;
}

.dp-case-copy dt {
  flex: 0 0 auto;
  color: #555;
  font-weight: 700;
}

.dp-case-copy dd {
  margin: 0;
}

.dp-case-arrow {
  position: absolute;
  right: -24px;
  bottom: -44px;
  color: var(--green);
  font-size: 31px;
  font-weight: 900;
}

.dp-case-gallery {
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: inline mandatory;
  cursor: grab;
}

.dp-case-gallery.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.dp-case-gallery::-webkit-scrollbar {
  display: none;
}

.dp-case-gallery img {
  width: auto;
  height: 321px;
  object-fit: cover;
  border-radius: 27px;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-drag: none;
}

.dp-drag-hint {
  margin: 28px 0 0;
  font-size: 14px;
  text-align: right;
}

@media (min-width: 1161px) {
  .dp-network {
    padding-bottom: 115px;
  }

  .dp-network-heading h2 {
    position: relative;
    z-index: 0;
    background-image: none;
    transform: translateX(4.5px);
  }

  .dp-network-heading h2::before {
    content: "";
    height: 4px;
    position: absolute;
    z-index: -1;
    right: -5px;
    bottom: 4px;
    left: -5px;
    background: var(--green);
  }

  .dp-network-heading p {
    margin-top: 12px;
    font-size: 20px;
    line-height: 1.5;
    transform: translateY(-4px);
  }

  .dp-network-heading > span {
    margin-top: 13px;
  }

  .dp-case {
    width: min(100%, 1278px);
    margin-top: 59px;
    position: relative;
    left: 4px;
    grid-template-columns: 620px minmax(0, 1fr);
    gap: 71px;
    align-items: start;
  }

  .dp-case:nth-of-type(2) {
    column-gap: 72px;
  }

  .dp-case:first-of-type .dp-case-copy {
    transform: translateY(-4px);
  }

  .dp-case:nth-of-type(2) .dp-case-copy {
    transform: translateY(16px);
  }

  .dp-drag-hint + .dp-case {
    margin-top: 26px;
  }

  .dp-country {
    width: 160px;
    height: 50px;
    min-width: 0;
    min-height: 0;
    padding: 0;
  font-size: 26px;
  font-weight: 900;
  }

  .dp-case:first-of-type .dp-country {
    padding-left: 6px;
    transform: translateY(-3px);
  }

  .dp-case:nth-of-type(2) .dp-country {
    width: 188px;
    transform: translateY(-3px);
  }

  .dp-case:first-of-type .dp-case-copy h3 {
    transform: translateY(-2px);
  }

  .dp-case-copy h3 {
    margin: -21px -16px 14px 190px;
    font-size: 20px;
  }

  .dp-case-copy dl {
    padding: 22px 20px 20px 24px;
    font-size: 16px;
    line-height: 38px;
  }

  .dp-case:nth-of-type(2) .dp-case-copy dl {
    padding-bottom: 25px;
  }

  .dp-case-copy dl > div {
    display: block;
  }

  .dp-case-copy dt,
  .dp-case-copy dd {
    display: inline;
  }

  .dp-case-copy dd {
    margin-left: 4px;
  }

  .dp-case:first-of-type dl > div:nth-child(3) {
    max-width: 490px;
  }

  .dp-case-arrow {
    right: -23px;
    bottom: -57px;
    font-size: 22px;
  }

  .dp-case:nth-of-type(2) .dp-case-arrow {
    bottom: -65px;
  }

  .dp-drag-hint {
    width: min(100%, 1278px);
    margin-top: 31px;
    position: relative;
    left: 4px;
    font-size: 16px;
  }
}

/* FAQ */
.dp-faq {
  padding-top: 72px;
  padding-bottom: 134px;
}

.dp-faq-heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}

.dp-faq-heading span {
  padding-right: 5px;
  margin-right: -10px;
  font-size: 32px;
  font-weight: 700;
  text-indent: 5px;
  background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 12px);
  background-size: 100% 5px;
}

.dp-faq-heading h2 {
  margin: 0;
  font-size: 68px;
  font-weight: 700;
  line-height: 1;
  transform: translateX(2px);
}

.dp-faq-list {
  width: min(100%, 1278px);
  position: relative;
  left: 3px;
  margin: 44px auto 0;
  display: grid;
  gap: 32px;
}

.dp-faq-item {
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 28px;
  background: #fafafa;
}

.dp-faq-item.is-open {
  margin-bottom: -10px;
}

.dp-faq-item h3 {
  margin: 0;
}

.dp-faq-item button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px 12px 50px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.dp-faq-item.is-open button > span {
  transform: translateY(3px);
}

.dp-faq-item i {
  width: 28px;
  height: 29px;
  position: relative;
  flex: 0 0 28px;
}

.dp-faq-item i::before,
.dp-faq-item i::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 28px;
  height: 7px;
  border-radius: 7px;
  background: var(--green);
}

.dp-faq-item i::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.dp-faq-item.is-open i::after {
  transform: rotate(0deg);
}

.dp-faq-answer p {
  margin: 0;
  padding: 1px 266px 17px 50px;
  color: #777;
  font-size: 20px;
  line-height: 1.35;
}

/* CTA */
.dp-cta {
  min-height: 232px;
  position: relative;
  background: linear-gradient(to bottom, #fff 0, #fff 110px, var(--footer) 110px, var(--footer) 100%);
}

.dp-cta-panel {
  width: min(100%, 1278px);
  min-height: 220px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 41px;
  margin-inline: auto;
  padding: 32px;
  border-radius: 28px;
  background: #e1e1e1;
  overflow: hidden;
  transform: translateX(3px);
}

.dp-cta-panel::before {
  content: "";
  position: absolute;
  top: -352px;
  left: -290px;
  width: 580px;
  height: 580px;
  border: 50px solid #d5d5d5;
  border-radius: 50%;
  pointer-events: none;
}

.dp-cta-panel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  width: 137px;
  height: 122px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 150'%3E%3Cpath d='M35 62C55 95 65 113 94 113C121 113 137 89 130 66C123 43 94 34 73 47C49 62 45 94 61 117C80 145 122 148 148 125C177 99 171 54 142 29C111 2 62 9 30 39C-4 71-5 120 25 150' fill='none' stroke='%23d5d5d5' stroke-width='9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

.dp-cta-panel h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 32px;
  line-height: 1.5;
  transform: translateY(-2px) scaleX(0.995);
}

.dp-cta-panel h2 em {
  padding: 7px 11px;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  font-style: normal;
}

.dp-cta-panel > div {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 24px;
}

.dp-cta-panel .button {
  width: 186px;
  min-width: 186px;
  min-height: 34px;
  height: 34px;
  padding: 0 6px 0 0;
  border: 0;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
}

.dp-cta-panel .button--light {
  color: #111;
  background: #fff;
  backdrop-filter: none;
}

@media (max-width: 1420px) {
  .dp-benefits-layout {
    grid-template-columns: minmax(250px, 1fr) 320px minmax(250px, 1fr);
    gap: 28px;
  }

  .dp-benefits-orbit {
    width: 320px;
  }

  .dp-portfolio-grid {
    grid-template-columns: repeat(4, minmax(0, 277px));
  }

  .dp-case {
    grid-template-columns: minmax(520px, 620px) minmax(0, 1fr);
    gap: 45px;
  }
}

@media (max-width: 1320px) {
  .dp-compliance > .dp-container > h2 {
    transform: none;
  }

  .dp-certificates {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    transform: none;
  }
}

@media (max-width: 1280px) {
  .dp-support-grid h3 {
    white-space: normal;
  }

  .dp-compliance-grid {
    left: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dp-portfolio-grid {
    width: 100%;
    left: 0;
  }

  .dp-portfolio-grid a:nth-child(2),
  .dp-portfolio-grid a:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 1160px) {
  .distributor-page .primary-navigation .submenu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .dp-hero {
    min-height: 680px;
  }

  .dp-benefits-layout {
    grid-template-columns: 1fr 280px 1fr;
    gap: 22px;
  }

  .dp-benefits-orbit {
    width: 280px;
  }

  .dp-benefit-group li {
    min-height: 65px;
    padding-inline: 16px;
    font-size: 16px;
  }

  .dp-support {
    margin-top: 131px;
  }

  .dp-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
  }

  .dp-support-grid h3 {
    transform: none;
    white-space: normal;
  }

  .dp-portfolio-header > a {
    right: 0;
  }

  .dp-process-list {
    gap: 34px;
  }

  .dp-process-list li:nth-child(1) img,
  .dp-process-list li:nth-child(2) img,
  .dp-process-list li:nth-child(3) img,
  .dp-process-list li:nth-child(4) img,
  .dp-process-list li:nth-child(1) p,
  .dp-process-list li:nth-child(2) p,
  .dp-process-list li:nth-child(3) p,
  .dp-process-list li:nth-child(4) p {
    transform: none;
  }

  .dp-process-list li:nth-child(2)::after,
  .dp-process-list li:nth-child(3)::after {
    transform: none;
  }

  .dp-process-list li:not(:last-child)::before {
    left: calc(50% + 78px);
    width: calc(100% - 15px);
  }

  .dp-process-list li:nth-child(2)::before,
  .dp-process-list li:nth-child(3)::before {
    left: calc(50% + 78px);
    width: calc(100% - 15px);
  }

  .dp-process-list li:not(:last-child)::after {
    right: -26px;
  }

  .dp-case {
    grid-template-columns: 1fr;
  }

  .dp-case-copy {
    width: min(100%, 700px);
  }

  .dp-case-gallery {
    grid-auto-columns: min(321px, 62vw);
  }

  .dp-case-gallery img {
    width: min(321px, 62vw);
  }
}

@media (max-width: 960px) {
  .dp-portfolio-header {
    flex-direction: column;
    gap: 25px;
  }

  .dp-portfolio-header h2 {
    transform: none;
  }

  .dp-portfolio-header > a {
    position: static;
    transform: none;
  }

  .dp-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 277px));
    justify-content: center;
  }

  .dp-portfolio-grid span {
    padding-right: 0;
  }
}

@media (max-width: 900px) {
  .dp-container {
    width: min(calc(100% - 36px), 1378px);
  }

  .dp-process .dp-container {
    width: min(calc(100% - 36px), 1378px);
  }

  .dp-section {
    padding: 68px 0;
  }

  .dp-hero {
    padding-top: 120px;
  }

  .dp-hero-panel {
    padding-inline: 26px;
  }

  .dp-hero h1 {
    font-size: 37px;
  }

  .dp-benefits-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .dp-benefits-orbit {
    width: 300px;
    margin-inline: auto;
    order: -1;
  }

  .dp-benefits-orbit img {
    width: 465px;
    height: 465px;
  }

  .dp-benefit-group {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .dp-support {
    margin-top: 145px;
  }

  .dp-compliance-grid {
    grid-template-columns: 1fr;
  }

  .dp-compliance-grid article {
    height: auto;
    min-height: 0;
  }

  .dp-portfolio-header {
    flex-direction: column;
    gap: 25px;
  }

  .dp-portfolio-header h2 {
    transform: none;
  }

  .dp-portfolio-header > a {
    position: static;
    transform: none;
  }

  .dp-portfolio-grid span {
    padding-right: 0;
  }

  .dp-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 277px));
    justify-content: center;
  }

  .dp-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 60px 35px;
  }

  .dp-process-list li::before,
  .dp-process-list li::after {
    display: none;
  }

  .dp-case-copy h3 {
    margin: 18px 0;
    text-align: left;
    white-space: normal;
  }

  .dp-case-arrow {
    display: none;
  }

  .dp-faq-answer p {
    padding-right: 52px;
  }

  .dp-cta-panel {
    transform: none;
  }

  .dp-cta-panel h2 {
    font-size: 29px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .dp-container {
    width: min(calc(100% - 28px), 1378px);
  }

  .dp-process .dp-container {
    width: min(calc(100% - 28px), 1378px);
  }

  .dp-section {
    padding: 50px 0;
  }

  .dp-heading h2,
  .dp-portfolio-header h2,
  .dp-network-heading h2 {
    width: auto;
    font-size: 25px;
    text-align: center;
  }

  .dp-heading > span,
  .dp-network-heading > span {
    width: 28px;
    height: 20px;
    margin-top: 20px;
  }

  .dp-hero {
    min-height: 620px;
    padding: 55px 14px 75px;
    background-position: 45% center;
  }

  .dp-hero-panel {
    width: 100%;
    padding: 24px 18px;
    border-radius: 24px;
  }

  .dp-hero h1 {
    font-size: 31px;
  }

  .dp-hero h1 br {
    display: none;
  }

  .dp-hero-panel p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.5;
  }

  .dp-hero-actions {
    width: 100%;
    margin-top: 48px;
  }

  .dp-hero-actions .button,
  .dp-catalog-link {
    width: 100%;
    min-width: 0;
  }

  .dp-catalog-link {
    min-height: 44px;
  }

  .dp-hero-trust {
    right: 14px;
    left: 14px;
    font-size: 10px;
    text-align: center;
  }

  .dp-benefits-layout {
    margin-top: 35px;
    gap: 34px;
  }

  .dp-benefits-orbit {
    width: 230px;
  }

  .dp-benefits-orbit img {
    width: 360px;
    height: 360px;
  }

  .dp-benefits-orbit strong {
    font-size: 19px;
  }

  .dp-benefit-group h3 {
    margin-bottom: 18px;
    font-size: 21px;
  }

  .dp-benefit-group ul {
    gap: 14px;
  }

  .dp-benefit-group li {
    min-height: 58px;
    border-radius: 19px;
    font-size: 15px;
  }

  .dp-support {
    margin-top: 92px;
  }

  .dp-support > h2,
  .dp-compliance > .dp-container > h2 {
    font-size: 25px;
  }

  .dp-support-grid {
    margin-top: 28px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .dp-support-grid h3 {
    margin-top: 12px;
  }

  .dp-compliance {
    padding-top: 25px;
    padding-bottom: 60px;
  }

  .dp-certificates {
    margin-top: 28px;
  }

  .dp-compliance-grid {
    margin-top: 30px;
    gap: 14px;
  }

  .dp-compliance-grid article {
    padding: 22px;
    border-radius: 20px;
  }

  .dp-portfolio {
    min-height: 0;
    padding: 60px 0;
  }

  .dp-portfolio-grid {
    margin-top: 38px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .dp-portfolio-grid a {
    border-radius: 20px;
  }

  .dp-portfolio-grid span {
    right: 0;
    bottom: 0;
    left: 0;
    padding:3px 0;
    font-size: 12px;
  }

  .dp-process {
    padding-top: 65px;
    padding-bottom: 60px;
  }

  .dp-process-list {
    margin-top: 50px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 45px 18px;
  }

  .dp-process-list img {
    width: 125px;
    height: 125px;
  }

  .dp-process-list p {
    font-size: 15px;
  }

  .dp-network-heading p {
    font-size: 16px;
  }

  .dp-case {
    margin-top: 50px;
    gap: 32px;
  }

  .dp-drag-hint + .dp-case {
    margin-top: 31px;
  }

  .dp-country {
    min-width: 132px;
    min-height: 38px;
    padding-inline: 20px;
    font-size: 21px;
  }

  .dp-case-copy h3 {
    margin: 18px 0;
    font-size: 18px;
  }

  .dp-case-copy dl {
    padding: 20px;
    border-radius: 20px;
  }

  .dp-case-copy dl > div {
    display: block;
  }

  .dp-case-arrow {
    display: none;
  }

  .dp-case-gallery {
    grid-auto-columns: 78vw;
  }

  .dp-case-gallery img {
    width: 78vw;
    height: 78vw;
    max-height: 340px;
  }

  .dp-drag-hint {
    margin-top: 18px;
    text-align: center;
  }

  .dp-faq {
    padding-top: 70px;
    padding-bottom: 85px;
  }

  .dp-faq-heading span {
    font-size: 23px;
  }

  .dp-faq-heading h2 {
    font-size: 46px;
    transform: none;
  }

  .dp-faq-list {
    left: 0;
    margin-top: 48px;
    gap: 14px;
  }

  .dp-faq-item {
    border-radius: 20px;
  }

  .dp-faq-item.is-open {
    margin-bottom: 0;
  }

  .dp-faq-item button {
    min-height: 60px;
    padding: 12px 16px 12px 20px;
    font-size: 15px;
  }

  .dp-faq-answer p {
    padding: 0 20px 20px;
    font-size: 14px;
  }

  .dp-cta {
    min-height: 300px;
    background: linear-gradient(to bottom, #fff 0, #fff 45%, var(--footer) 45%, var(--footer) 100%);
  }

  .dp-cta-panel {
    min-height: 270px;
    gap: 30px;
    padding: 32px 20px;
  }

  .dp-cta-panel h2 {
    font-size: 25px;
  }

  .dp-cta-panel > div {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .dp-cta-panel .button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    height: 44px;
  }

}

@media (max-width: 480px) {
  .dp-portfolio-grid a {
    height: clamp(145px, 45vw, 175px);
    aspect-ratio: auto;
  }
}

@media (max-width: 340px) {
  .dp-portfolio .dp-container {
    width: calc(100% - 20px);
  }

  .dp-portfolio-grid {
    gap: 10px;
  }

  .dp-portfolio-grid a {
    border-radius: 18px;
  }

  .dp-portfolio-grid span {
    min-height: 38px;
    align-items: center;
    padding: 6px 5px;
    font-size: 12px;
    line-height: 1.15;
  }
}
