.about-page {
  overflow: hidden;
  background: #fff;
}

.about-breadcrumbs {
  border-bottom: 1px solid #e8eef4;
  background: #fff;
}

.about-breadcrumbs__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  color: #8ca0b9;
  font-size: 14px;
  font-weight: 600;
}

.about-breadcrumbs a {
  color: #0099cc;
}

.about-intro {
  padding: 58px 0 38px;
  background: #fff;
}

.about-intro .container {
  display: block;
}

.about-intro__content {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-intro__lead {
  margin: 0 0 24px;
  color: #1a2332;
  font-size: clamp(24px, 1.9vw, 32px);
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.28;
}

.about-intro__body {
  color: #4f4f4f;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.about-intro__body p {
  margin: 0 0 22px;
}

.about-intro__body p:last-child {
  margin-bottom: 0;
}

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

.about-section__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 34px;
}

.about-section__heading h2 {
  margin: 0;
  color: #1a2332;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.about-licenses {
  padding-top: 0;
  background: #fff;
}

.about-licenses .about-section__heading h2 {
  color: #0099cc;
  font-size: clamp(30px, 2.7vw, 40px);
}

.about-licenses__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.about-license {
  display: flex;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2eaf1;
  border-radius: 20px;
  background: #fff;
  color: #1a2332;
  cursor: pointer;
  flex-direction: column;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.about-license:hover {
  border-color: rgba(0, 153, 204, .4);
  box-shadow: 0 18px 40px rgba(26, 35, 50, .1);
  transform: translateY(-4px);
}

.about-license__visual {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f5f8fa;
}

.about-license__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-license__caption {
  display: flex;
  gap: 8px;
  padding: 18px;
  flex-direction: column;
}

.about-license__caption strong {
  font-size: 15px;
  line-height: 1.35;
}

.about-license__caption span {
  color: #0099cc;
  font-size: 13px;
  font-weight: 700;
}

.about-gallery {
  background: #f7fafc;
}

.about-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 16px;
}

.about-gallery__item {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: #e8eef3;
  cursor: zoom-in;
}

.about-gallery__item--wide {
  grid-column: span 2;
}

.about-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.about-gallery__item:hover .about-gallery__image {
  transform: scale(1.045);
}

.about-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.about-lightbox.is-open {
  display: flex;
}

.about-lightbox__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(8, 19, 32, .86);
  cursor: zoom-out;
}

.about-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .35);
  flex-direction: column;
}

.about-lightbox__dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 86px);
  border-radius: 12px;
  object-fit: contain;
}

.about-lightbox__dialog p {
  margin: 12px 40px 0 4px;
  color: #536173;
  font-size: 14px;
  font-weight: 600;
}

.about-lightbox__close {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #1a2332;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

body.about-lightbox-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .about-licenses__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .about-breadcrumbs__inner {
    min-height: 58px;
  }

  .about-intro,
  .about-section {
    padding: 54px 0;
  }

  .about-intro {
    padding-bottom: 30px;
  }

  .about-licenses {
    padding-top: 0;
  }

  .about-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }

  .about-lightbox {
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .about-licenses__grid {
    grid-template-columns: 1fr;
  }

  .about-gallery__grid {
    grid-auto-rows: 155px;
    gap: 10px;
  }

  .about-gallery__item--wide {
    grid-column: span 2;
  }

  .about-lightbox__dialog {
    padding: 10px;
    border-radius: 14px;
  }

  .about-lightbox__close {
    top: 18px;
    right: 18px;
  }
}
