/* ==========================================================================
   About us page — Figma "About us" 5469:4903 / "Mob_About us" 5499:15355
   ========================================================================== */
.page-about { background: #f9f9f9; }

/* ---------- Shared bits ---------- */
.ab-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 1000px;
  background: linear-gradient(180.16deg, rgba(243, 41, 41, 0.13) 24.27%, rgba(243, 41, 41, 0) 99.51%);
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--c-primary); white-space: nowrap;
}
.ab-pill img { width: 16px; height: 24px; object-fit: cover; }
.ab-h2 { font-size: 48px; line-height: 56px; font-weight: 600; color: var(--c-heading); }
.ab-head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.ab-head--center { align-items: center; text-align: center; gap: 32px; }
.ab-head__text { font-size: 16px; line-height: 24px; color: var(--c-text); }

.ab-arrows { display: flex; gap: 16px; flex: none; }
.ab-arrows--mobile { display: none; }
.ab-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-pill);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ab-arrow:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(0,0,0,.08); }
.ab-arrow img { width: 16px; height: 16px; }
.ab-arrow--prev { background: var(--c-white); border: 1px solid var(--c-text); }
.ab-arrow--next { background: var(--c-primary); border: 1px solid var(--c-white); }

/* ---------- Hero (header + hero share the gradient) ---------- */
.ab-top { background: linear-gradient(-43.65deg, #fefefe 54.04%, #fef5f6 70.31%, #fefafa 89%); }
.ab-hero { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 460px; }
.ab-hero__content { width: 645px; max-width: 100%; display: flex; flex-direction: column; gap: 32px; }
.ab-hero__title { font-size: 64px; line-height: 72px; font-weight: 600; color: var(--c-heading); }
.ab-hero__text { font-size: 18px; line-height: 26px; color: var(--c-text); }
.ab-hero__actions { display: flex; gap: 24px; }
.ab-hero__buy { width: 192px; }
.ab-hero__story { width: 199px; border-color: var(--c-text); }
.ab-hero__media { position: relative; width: 555px; height: 370px; flex: none; }
.ab-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 14.32%); pointer-events: none; }

/* ---------- Statistics ---------- */
.ab-stats { padding-block: 80px; }
.ab-stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ab-stat {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 16px 24px 24px; border: 1px solid var(--c-stroke); border-radius: 24px; background: var(--c-white);
}
.ab-stat__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; flex: none; border-radius: var(--radius-pill); background: #ffe4eb; }
.ab-stat__icon img { width: 32px; height: 32px; }
.ab-stat__body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ab-stat__num { font-size: 28px; line-height: 48px; font-weight: 600; letter-spacing: -0.84px; color: var(--c-heading); white-space: nowrap; }
.ab-stat__label { font-size: 16px; line-height: 24px; color: var(--c-text); }

/* ---------- Story ---------- */
.ab-story { background: var(--c-white); padding-block: 100px; }
.ab-story__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ab-story__content { width: 565px; flex: none; display: flex; flex-direction: column; gap: 40px; }
.ab-story__head { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.ab-story__text p { font-size: 16px; line-height: 24px; color: var(--c-text); }
.ab-story__text p + p { margin-top: 24px; }
.ab-story__media { width: 629px; max-width: 100%; aspect-ratio: 641 / 389; border-radius: 24px; overflow: hidden; flex: 0 1 auto; }
.ab-story__media img { width: 107.79%; max-width: none; height: 100%; margin-left: -7.79%; object-fit: cover; }

/* ---------- Mission / Vision / Values ---------- */
.ab-values { padding-block: 100px; }
.ab-values .container { display: flex; flex-direction: column; gap: 48px; }
.ab-values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.ab-value { display: flex; flex-direction: column; gap: 32px; padding: 24px; background: var(--c-white); border: 1px solid var(--c-stroke); border-radius: 24px; }
.ab-value__head { display: flex; align-items: center; gap: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--c-primary); }
.ab-value__icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; flex: none; border-radius: var(--radius-pill); background: #ffe4eb; }
.ab-value__icon img { width: 32px; height: 32px; }
.ab-value__title { font-size: 22px; line-height: 30px; font-weight: 600; color: var(--c-heading); }
.ab-value__text { font-size: 18px; line-height: 26px; color: var(--c-text); }
.ab-value__list { display: flex; flex-direction: column; gap: 12px; }
.ab-value__list li { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 26px; color: var(--c-text); text-box: normal; }
.ab-value__list img { width: 24px; height: 24px; flex: none; }

/* ---------- Team ---------- */
.ab-team { background: var(--c-white); padding-block: 100px; }
.ab-team .container { display: flex; flex-direction: column; gap: 48px; }
.ab-team__top { display: flex; align-items: center; gap: 24px; }
.ab-team__top .ab-head { flex: 1 1 0; min-width: 0; }
.ab-team__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ab-member {
  display: flex; flex-direction: column; gap: 24px; padding: 16px;
  background: var(--c-white); border: 1px solid var(--c-stroke); border-radius: 16px;
  text-box: normal; transition: border-color .2s ease, box-shadow .2s ease;
}
.ab-member.is-active, .ab-member:hover {
  padding-bottom: 24px; border-color: var(--c-primary);
  background: linear-gradient(10.67deg, rgba(243, 41, 41, 0.2) 0%, rgba(243, 41, 41, 0) 35%), var(--c-white);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.05);
}
.ab-member__photo { width: 100%; height: 224px; border-radius: 12px; object-fit: cover; object-position: center 20%; background: #eee; }
.ab-member__info { display: flex; flex-direction: column; gap: 24px; }
.ab-member__text { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.ab-member__name { font-size: 22px; line-height: 30px; font-weight: 600; color: var(--c-heading); }
.ab-member__role { font-size: 16px; line-height: 24px; color: var(--c-text); }
.ab-member__social { display: flex; justify-content: center; gap: 12px; }
.ab-member__social a {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--radius-pill); background: var(--c-white); border: 1px solid var(--c-stroke);
  transition: background-color .15s ease;
}
.ab-member__social a.is-primary { background: var(--c-primary); }
.ab-member__social a:not(.is-primary):hover { background: #ffe4eb; }
.ab-member__social img { width: 24px; height: 24px; }

/* ---------- Partners + Gov ---------- */
.ab-trust { padding-block: 100px; }
.ab-trust__inner { display: flex; flex-direction: column; gap: 60px; }
.ab-trust__top { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.ab-logos { width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.ab-logo {
  display: flex; align-items: center; justify-content: center; height: 85px; overflow: hidden;
  background: var(--c-white); border: 1px solid var(--c-stroke); border-radius: 16px;
  text-box: normal;
}
.ab-logo img { flex: none; object-fit: contain; filter: grayscale(1); opacity: .5; transition: filter .2s ease, opacity .2s ease; }
.ab-logo--o60 img { opacity: .6; }
.ab-logo--o70 img { opacity: .7; }
.ab-logo.is-active { box-shadow: 0 14px 30px rgba(0, 0, 0, 0.04); }
.ab-logo.is-active img, .ab-logo:hover img { filter: none; opacity: 1; }
.ab-trust__all { width: 174px; padding-inline: 16px; }

.ab-gov { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 32px; padding: 40px; border-radius: 24px; background: #efefef; }
.ab-gov::before {
  content: ""; position: absolute; z-index: -1; left: 37.1%; top: -40.3%; width: 73.2%; height: 140.34%;
  background: url("/assets/images/about-gov-dots.webp") center / 100% 100% no-repeat; opacity: .28;
}
.ab-gov__head { display: flex; flex-direction: column; gap: 24px; }
.ab-gov__title { font-size: 32px; line-height: 40px; font-weight: 600; color: var(--c-heading); }
.ab-gov__head p { font-size: 16px; line-height: 24px; color: var(--c-text); }
.ab-gov__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ab-gov__card { display: flex; flex-direction: column; align-items: center; gap: 24px; min-height: 276px; padding: 24px; background: var(--c-white); border: 1px solid var(--c-stroke); border-radius: 24px; text-box: normal; }
.ab-gov__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 110px; }
.ab-gov__logo img { max-height: 110px; width: auto; object-fit: contain; }
.ab-gov__crop { position: relative; display: block; width: 142px; height: 50px; overflow: hidden; }
.ab-gov__crop img { position: absolute; left: -10.13%; top: -50.23%; width: 120.25%; max-width: none; height: 204.02%; max-height: none; }
.ab-gov__text { display: flex; flex-direction: column; gap: 20px; text-align: center; width: 100%; }
.ab-gov__text h3 { font-size: 22px; line-height: 30px; font-weight: 600; color: var(--c-heading); }
.ab-gov__text p { font-size: 16px; line-height: 24px; color: var(--c-text); }

/* ---------- ≤1200 ---------- */
@media (max-width: 1200px) {
  .ab-hero__title { font-size: 52px; line-height: 60px; }
  .ab-hero__media { width: 45%; height: auto; aspect-ratio: 555 / 370; flex: 0 1 auto; }
  .ab-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-story__content { width: 48%; flex: 0 1 auto; }
  .ab-story__media { width: 48%; }
  .ab-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .ab-team__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ab-logo img { transform: scale(.8); }
  .ab-gov__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* ---------- ≤1024 ---------- */
@media (max-width: 1024px) {
  .ab-hero { flex-direction: column; align-items: stretch; padding-top: 48px; padding-bottom: 40px; min-height: 0; }
  .ab-hero__content { width: 100%; align-items: center; text-align: center; }
  .ab-hero__actions { justify-content: center; }
  .ab-hero__media { width: 100%; max-width: 640px; margin-inline: auto; }
  .ab-story__inner { flex-direction: column; align-items: stretch; }
  .ab-story__content, .ab-story__media { width: 100%; }
}

/* ---------- Mobile (430 frame) ---------- */
@media (max-width: 768px) {
  .ab-h2 { font-size: 32px; line-height: 40px; }
  .ab-head, .ab-head--center { align-items: center; text-align: center; gap: 24px; }
  .ab-arrows { display: none; }
  .ab-arrows--mobile { display: flex; justify-content: center; }

  /* Hero */
  .ab-hero { padding-top: 48px; padding-bottom: 0; gap: 40px; }
  .ab-hero__content { gap: 24px; }
  .ab-hero__title { font-size: 40px; line-height: 48px; }
  .ab-hero__actions { width: 100%; gap: 24px; }
  .ab-hero__buy { flex: 1 1 0; width: auto; min-width: 0; padding-inline: 16px; }
  .ab-hero__story { width: 199px; flex: none; padding-inline: 16px; }
  .ab-hero__media { aspect-ratio: 1536 / 1024; max-width: none; }

  /* Stats */
  .ab-stats { padding-block: 40px; }
  .ab-stats__grid { gap: 16px; }
  .ab-stat { gap: 16px; padding: 16px 12px; border-radius: 20px; }
  .ab-stat__icon { width: 48px; height: 48px; }
  .ab-stat__icon img { width: 26px; height: 26px; }
  .ab-stat__body { gap: 12px; }
  .ab-stat__num { font-size: 22px; line-height: 30px; letter-spacing: -0.4px; }
  .ab-stat__label { font-size: 14px; line-height: 20px; }

  /* Story */
  .ab-story { padding-block: 40px; }
  .ab-story__inner { gap: 24px; }
  .ab-story__content { display: contents; }
  .ab-story__head { align-items: center; text-align: center; order: 1; }
  .ab-story__media { order: 2; width: 100%; }
  .ab-story__text { order: 3; }

  /* Values */
  .ab-values { padding-block: 40px; }
  .ab-values .container { gap: 48px; }
  .ab-values__grid { grid-template-columns: 1fr; gap: 16px; }

  /* Team: one-card slider */
  .ab-team { padding-block: 40px; }
  .ab-team .container { gap: 24px; }
  .ab-team__title { font-size: 40px; line-height: 48px; }
  .ab-team__title .text-primary { display: block; }
  .ab-team__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px; }
  .ab-team__track::-webkit-scrollbar { display: none; }
  .ab-member { flex: 0 0 100%; scroll-snap-align: start; padding-bottom: 16px; }
  .ab-member.is-active, .ab-member:hover { padding-bottom: 16px; border-color: var(--c-stroke); background: var(--c-white); box-shadow: none; }
  .ab-member__social a.is-primary { background: var(--c-white); }
  .ab-member__social a.is-primary img { filter: brightness(0) saturate(100%) invert(19%) sepia(9%) saturate(1150%) hue-rotate(201deg) brightness(93%); }
  .ab-member__photo { height: 306px; }

  /* Partners: 3-up slider */
  .ab-trust { padding-block: 40px; }
  .ab-trust__inner { gap: 24px; }
  .ab-trust__top { gap: 24px; }
  .ab-trust__all { display: none; }
  .ab-logos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px; }
  .ab-logos::-webkit-scrollbar { display: none; }
  .ab-logo { flex: 0 0 calc((100% - 32px) / 3); height: 68px; scroll-snap-align: start; }
  .ab-logo--row2 { display: none; }
  .ab-logo img { transform: scale(.62); }

  .ab-gov { padding: 24px 16px; gap: 24px; align-items: center; text-align: center; }
  .ab-gov__head { gap: 16px; }
  .ab-gov__title .text-primary { display: inline; }
  .ab-gov__grid { gap: 16px; }
  .ab-gov__card { min-height: 0; padding: 24px 12px; gap: 24px; }
  .ab-gov__logo { height: 110px; }
  .ab-gov__text { gap: 16px; }
}
@media (max-width: 400px) {
  .ab-hero__actions { flex-wrap: wrap; }
  .ab-hero__story { flex: 1 1 100%; width: auto; }
  .ab-stats__grid { grid-template-columns: 1fr; }
  .ab-gov__grid { grid-template-columns: 1fr; }
}
.page-about .testimonials { background: #fff; }
