/* ===== About Luobinsen page ===== */

.ab-main {
  overflow-x: hidden;
}

/* Hero — Figma 956px */
.ab-hero {
  position: relative;
  height: min(956px, calc(100vh - 80px));
  margin-top: 80px;
  overflow: hidden;
  color: #fff;
}

.ab-hero__bg {
  position: absolute;
  inset: 0;
}

.ab-hero__bg img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  max-width: none;
  object-fit: cover;
  animation: heroZoom 14s ease-out forwards;
}

.ab-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 4, 4, 0.71) 0%,
    rgba(0, 0, 0, 0.41) 100%
  );
}

.ab-hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1300px;
  display: flex;
  flex-direction: column;
}

.ab-hero__content .p-breadcrumb {
  position: absolute;
  top: 91px;
  left: 20px;
  right: 20px;
  margin-bottom: 0;
}

.ab-hero__content .p-breadcrumb a.is-current {
  color: #fff;
}

.ab-hero__main {
  margin-top: auto;
  padding-bottom: 206px;
  max-width: 700px;
}

.ab-hero__title {
  font-family: var(--font-inter);
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: -1.2px;
  margin: 0 0 24px;
}

.ab-hero__desc {
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 672px;
  margin: 0 0 32px;
}

.ab-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 225px;
  padding: 16px 32px;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-radius: 2px;
}

/* Intro */
.ab-intro {
  padding: 85px 0 100px;
  background: #fff;
}

.ab-intro__inner {
  max-width: 1246px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ab-intro__title {
  font-family: var(--font-inter);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  color: #333;
  margin: 0 0 24px;
}

.ab-intro__text {
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 26px;
  color: #374151;
  margin: 0 0 20px;
  max-width: 1100px;
}

.ab-intro__text:last-of-type {
  margin-bottom: 40px;
}

.ab-intro__btn {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 2px;
  line-height: 24px;
}

/* Factory */
.ab-factory {
  position: relative;
  height: 632px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ab-factory__slides {
  position: absolute;
  inset: 0;
}

.ab-factory__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.ab-factory__slide.is-active {
  opacity: 1;
}

.ab-factory__slide img {
  width: 100%;
  height: 113.27%;
  position: absolute;
  top: -6.63%;
  left: 0;
  max-width: none;
  object-fit: cover;
}

.ab-factory__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.ab-factory__inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
}

.ab-factory__card {
  width: min(694px, 100%);
  min-height: 472px;
  background: #fff;
  padding: 48px;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.ab-factory__title {
  font-family: var(--font-inter);
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.9px;
  color: var(--green);
  margin: 0 0 24px;
}

.ab-factory__text {
  font-family: var(--font-inter);
  font-size: 18px;
  line-height: 29.25px;
  color: #374151;
  margin: 0 0 40px;
  flex: 1;
}

.ab-factory__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 40px;
  border-top: 1px solid #f3f4f6;
}

.ab-factory__stat strong {
  display: block;
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--green);
  margin-bottom: 4px;
}

.ab-factory__stat span {
  display: block;
  font-family: var(--font-inter);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #6b7280;
}

/* Workshop — full-bleed, no gaps */
.ab-workshop {
  padding: 0;
  background: #fff;
}

.ab-workshop__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.ab-workshop__item {
  position: relative;
  display: block;
  height: 351px;
  overflow: hidden;
  color: #fff;
}

.ab-workshop__item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ab-workshop__item:hover > img {
  transform: scale(1.04);
}

.ab-workshop__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  transition: background 0.3s ease;
}

.ab-workshop__item:hover::after {
  background: rgba(0, 0, 0, 0.4);
}

.ab-workshop__item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 48px;
  font-family: var(--font-inter);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: #fff;
}

/* Global Partners — Figma 29:11362 rings + arc logos */
.ab-partners {
  position: relative;
  padding: 100px 0 56px;
  background: #f8f8f8;
  overflow-x: clip;
}

.ab-partners__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-color: #f8f8f8;
}

.ab-partners__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 248, 248, 0.28);
}

.ab-partners__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-inter);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  margin: 0 0 24px;
  color: #333;
}

.ab-partners__subtitle {
  display: none;
  position: relative;
  z-index: 2;
  max-width: 320px;
  margin: 0 auto 28px;
  text-align: center;
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
}

.ab-partners__subtitle span,
.ab-partners__subtitle strong {
  display: block;
  font-weight: 400;
}

.ab-partners__subtitle strong {
  margin-top: 4px;
  font-weight: 600;
  color: #4b5563;
}

.ab-partners__stage {
  position: relative;
  z-index: 1;
  width: min(1400px, 100%);
  aspect-ratio: 1920 / 884;
  margin: 0 auto;
  container-type: inline-size;
}

.ab-partners__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("../img/partners-rings.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto;
}

.ab-partners__nodes {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 2;
}

.ab-partners__node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 7.03%;
  aspect-ratio: 1;
  height: auto;
  transform: translate(-50%, -50%) scale(var(--s, 1));
  z-index: 2;
}

.ab-partners__node--mid {
  z-index: 1;
}

.ab-partners__node-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8),
    0 10px 28px rgba(15, 46, 80, 0.1),
    0 2px 8px rgba(15, 46, 80, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-partners__node-circle img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 80%;
  object-fit: contain;
}

.ab-partners__node:hover .ab-partners__node-circle {
  transform: scale(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 14px 32px rgba(17, 168, 78, 0.18);
}

.ab-partners__center {
  position: absolute;
  left: 50.8%;
  top: 83.5%;
  width: 19.9%;
  aspect-ratio: 382 / 289;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}

.ab-partners__center-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ab-partners__center-text {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--font-inter);
  color: #fff;
  margin: 0;
  line-height: 1.15;
  padding-top: 8%;
}

.ab-partners__center-text span,
.ab-partners__center-text strong {
  display: block;
  font-size: clamp(12px, 2.6cqi, 26px);
  font-weight: 700;
  line-height: 1.3;
}

/* Global Certifications */
.ab-certs {
  padding: 88px 0 100px;
  background: #fff;
}

.ab-certs__title {
  font-family: var(--font-inter);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  margin: 0 0 64px;
  color: #333;
}

.ab-certs__top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.ab-certs__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ab-certs__stat {
  padding: 20px 0;
  border-bottom: 2px solid rgba(190, 201, 193, 0.55);
}

.ab-certs__stat:last-child {
  border-bottom: none;
}

.ab-certs__stat strong {
  display: block;
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #333;
  margin-bottom: 10px;
}

.ab-certs__stat span {
  display: block;
  font-family: var(--font-inter);
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.ab-certs__wall {
  overflow: hidden;
  height: 437px;
}

.ab-certs__wall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-certs__carousel {
  width: 100%;
}

.ab-certs__swiper {
  --swiper-theme-color: var(--green);
  overflow: hidden;
  padding-bottom: 0;
}

.ab-certs__swiper .swiper-wrapper {
  align-items: stretch;
}

.ab-certs__swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.ab-certs__frame {
  overflow: hidden;
  background: #f8f8f8;
  aspect-ratio: 248 / 337;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-certs__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-certs__frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(15, 46, 80, 0.1);
}

.ab-certs__pagination.swiper-pagination-progressbar {
  position: relative;
  top: auto;
  left: auto;
  width: min(639px, 100%);
  height: 2px;
  margin: 72px auto 0;
  background: #bec9c1;
  border-radius: 0;
  overflow: hidden;
}

.ab-certs__pagination .swiper-pagination-progressbar-fill {
  background: var(--green);
  box-shadow: 6px 0 10px rgba(17, 168, 78, 0.35);
  border-radius: 0;
  transform-origin: left center;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .ab-partners {
    padding-bottom: 24px;
  }
}

@media (max-width: 992px) {
  .ab-workshop__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ab-partners__node--mid {
    display: none;
  }

  .ab-partners__node {
    width: 7.6%;
  }

  .ab-workshop__item {
    height: 300px;
  }

  .ab-workshop__item span {
    padding: 32px;
    font-size: 20px;
  }

  .ab-certs__top {
    grid-template-columns: 1fr;
  }

  .ab-certs__stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 24px;
  }

  .ab-certs__stat {
    flex: 1 1 180px;
    border-bottom: none;
    border-top: 2px solid rgba(190, 201, 193, 0.55);
  }

  .ab-certs__wall {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .ab-hero {
    height: auto;
    min-height: 560px;
  }

  .ab-hero__main {
    padding: 160px 0 64px;
  }

  .ab-hero__content .p-breadcrumb {
    top: 48px;
  }

  .ab-hero__title {
    font-size: 36px;
    line-height: 40px;
  }

  .ab-hero__desc {
    font-size: 16px;
    line-height: 24px;
  }

  .ab-intro {
    padding: 64px 0 72px;
  }

  .ab-intro__title,
  .ab-partners__title,
  .ab-certs__title {
    font-size: 32px;
    line-height: 36px;
  }

  .ab-factory {
    height: auto;
    min-height: 520px;
    padding: 48px 0;
  }

  .ab-factory__card {
    min-height: 0;
    padding: 32px 24px;
  }

  .ab-factory__title {
    font-size: 28px;
    line-height: 34px;
  }

  .ab-factory__text {
    font-size: 16px;
    line-height: 26px;
  }

  .ab-factory__stats {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 28px;
  }

  .ab-partners {
    padding: 52px 0 64px;
    overflow: visible;
  }

  .ab-partners .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ab-partners__title {
    margin-bottom: 12px;
    font-size: 28px;
    line-height: 1.25;
  }

  .ab-partners__subtitle {
    display: block;
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.5;
  }

  .ab-partners__stage {
    width: 100%;
    max-width: none;
    aspect-ratio: unset;
    height: auto;
    min-height: 0;
    padding: 0 20px;
    margin: 0;
    overflow: visible;
    box-sizing: border-box;
  }

  .ab-partners__stage::before {
    display: none;
  }

  .ab-partners__stage::after {
    display: none;
  }

  .ab-partners__nodes {
    position: relative;
    inset: auto;
    transform: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    align-items: stretch;
  }

  .ab-partners__node {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    transform: none !important;
    aspect-ratio: unset;
    display: flex;
  }

  .ab-partners__node--mid {
    display: flex;
  }

  .ab-partners__node-circle {
    width: 100%;
    max-width: 100%;
    height: 74px;
    min-height: 74px;
    aspect-ratio: unset;
    border-radius: 8px;
    padding: 10px 12px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.9),
      0 2px 10px rgba(15, 46, 80, 0.06);
  }

  .ab-partners__node:hover .ab-partners__node-circle {
    transform: none;
  }

  .ab-partners__node-circle img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .ab-partners__center {
    display: none;
  }

  .ab-certs__stat strong {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .ab-certs__stat span {
    font-size: 13px;
    line-height: 1.45;
  }

  .ab-certs__pagination.swiper-pagination-progressbar {
    margin-top: 48px;
  }
}

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

  .ab-workshop__item {
    height: 260px;
  }

  .ab-partners {
    padding: 44px 0 56px;
  }

  .ab-partners__stage {
    padding: 0 16px;
  }

  .ab-partners__subtitle {
    max-width: 280px;
    margin-bottom: 20px;
    font-size: 12px;
  }

  .ab-partners__nodes {
    gap: 8px;
  }

  .ab-partners__node-circle {
    height: 68px;
    min-height: 68px;
    padding: 8px 10px;
    border-radius: 6px;
  }

  .ab-partners__node-circle img {
    max-height: 80px;
  }

  .ab-certs__stats {
    flex-direction: column;
  }
}
