@font-face {
  font-family: "HarmonyOS Sans";
  src: url("../font/HarmonyOS_Regular.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans";
  src: url("../font/HarmonyOS_Regular.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans";
  src: url("../font/HarmonyOS_Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans";
  src: url("../font/HarmonyOS_Bold.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans";
  src: url("../font/HarmonyOS_Bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HarmonyOS Sans";
  src: url("../font/HarmonyOS_Black.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.zs-about-main {
  padding-top: 128px;
  background: #fff;
}

.zs-about-shell {
  width: min(1320px, 92%);
  margin: 0 auto;
}

.zs-about-hero .zs-about-shell {
  width: 100%;
  position: relative;
}

.zs-about-hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4.8vw, 45px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.zs-about-hero-media {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  padding: 58px 0;
  overflow: hidden;
  border-top-right-radius: 0;
  border-bottom: 10px solid #116836;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.48) 24%, rgba(0, 0, 0, 0.18) 52%, rgba(0, 0, 0, 0.08) 100%),
    url("../img/about-us-banner.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.zs-about-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: min(1320px, 92%);
  margin: 0 auto;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zs-about-hero-copy>* {
  max-width: 420px;
}

.zs-certificate-gallery {
  padding: 40px 0 90px;
}

.zs-certificate-gallery__head {
  margin-bottom: 28px;
}

.zs-certificate-gallery__title {
  margin: 0;
  color: #121212;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: center;
}

.zs-certificate-group+.zs-certificate-group {
  margin-top: 54px;
}

.zs-certificate-group__head {
  margin-bottom: 40px;
}

.zs-certificate-group__title {
  margin: 0;
  color: #121212;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  font-weight: 600;
  text-align: center;
}

.zs-certificate-gallery__slider {
  position: relative;
  padding: 0 74px;
}

.zs-certificate-gallery__slider.is-static {
  padding: 0;
}

.zs-certificate-gallery__slider.is-static .zs-certificate-gallery__nav {
  display: none;
}

.zs-certificate-swiper {
  overflow: hidden;
}

.zs-certificate-swiper .swiper-slide {
  height: auto;
}

.zs-certificate-card {
  /* border: 1px solid #e7e7e7;
  background: #fff;
  padding: 14px; */
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zs-certificate-card__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 238px;
  /* aspect-ratio: 1.28 / 1; */
  padding: 0;
  border: 0;
  box-sizing: border-box;
  /* background: linear-gradient(180deg, #fbfbfb 0%, #f4f4f4 100%); */
  /* border: 1px solid #efefef; */
  background: unset;
  cursor: zoom-in;
  overflow: hidden;
}

.zs-certificate-card__preview:focus-visible {
  outline: 2px solid #116836;
  outline-offset: 4px;
}

.zs-certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(17, 104, 54, 0.12);
}

.zs-certificate-card img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  object-fit: contain;
}

.zs-certificate-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.zs-certificate-lightbox[hidden] {
  display: none;
}

.zs-certificate-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.zs-certificate-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px;
  box-sizing: border-box;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.zs-certificate-lightbox.is-open .zs-certificate-lightbox__backdrop,
.zs-certificate-lightbox.is-open .zs-certificate-lightbox__dialog {
  opacity: 1;
}

.zs-certificate-lightbox.is-open .zs-certificate-lightbox__dialog {
  transform: scale(1);
}

.zs-certificate-lightbox__image {
  display: block;
  max-width: min(1100px, 90vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.zs-certificate-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.22s ease;
}

.zs-certificate-lightbox__close:hover,
.zs-certificate-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.zs-certificate-lightbox-open {
  overflow: hidden;
}

.zs-certificate-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 1px solid #116836;
  background: #fff;
  color: #116836;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.zs-certificate-gallery__nav:hover {
  background: #116836;
  color: #fff;
}

.zs-certificate-gallery__nav--prev {
  left: 0;
}

.zs-certificate-gallery__nav--next {
  right: 0;
}

.zs-certificate-gallery__nav span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.zs-certificate-gallery__nav--prev span {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.zs-certificate-gallery__nav--next span {
  transform: rotate(45deg);
  margin-right: 4px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .zs-about-main {
    padding-top: 82px;
  }

  .zs-about-shell {
    width: min(1320px, 92%);
  }

  .zs-about-hero {
    padding: 0 0 36px;
  }

  .zs-about-hero .zs-about-shell {
    width: 100%;
  }

  .zs-about-hero-media {
    min-height: 250px;
    padding: 0;
    border-top-right-radius: 0;
  }

  .zs-about-hero-copy {
    width: min(1320px, 92%);
    position: static;
    display: block;
    margin: 0 auto 24px;
  }

  .zs-about-hero-title {
    color: #116836;
    font-size: clamp(42px, 11vw, 64px);
    line-height: 0.96;
    font-weight: 400;
    letter-spacing: -0.035em;
  }

  .zs-certificate-gallery {
    padding: 0 0 56px;
  }

  .zs-certificate-group+.zs-certificate-group {
    margin-top: 42px;
  }

  .zs-certificate-gallery__slider {
    padding: 0 58px;
  }

  .zs-certificate-gallery__nav {
    width: 44px;
    height: 44px;
  }

  .zs-certificate-card__preview {
    min-height: 210px;
  }
}

@media (max-width: 767px) {
  .zs-certificate-gallery {
    padding: 0 0 44px;
  }

  .zs-certificate-gallery__head {
    margin-bottom: 20px;
  }

  .zs-certificate-group__head {
    margin-bottom: 16px;
  }

  .zs-certificate-group+.zs-certificate-group {
    margin-top: 34px;
  }

  .zs-certificate-gallery__slider {
    padding: 0 44px;
  }

  .zs-certificate-card {
    padding: 10px;
  }

  .zs-certificate-card__preview {
    min-height: 180px;
  }

  .zs-certificate-gallery__nav {
    width: 38px;
    height: 38px;
  }

  .zs-certificate-lightbox__dialog {
    padding: 20px;
  }

  .zs-certificate-lightbox__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .zs-certificate-gallery__slider {
    padding: 0 36px;
  }

  .zs-certificate-gallery__nav {
    width: 32px;
    height: 32px;
  }

  .zs-certificate-gallery__nav span {
    width: 10px;
    height: 10px;
  }
}