/* Apie mus — profesionalus layout (marketplace / enterprise tonas) */

.about-page {
  background: #f6f7f9 !important;
  font-family: "Open Sans", sans-serif;
  --about-blue: #006aff;
  --about-green: #19c56c;
  --about-text: #1a1a1a;
  --about-muted: #8c8c8c;
  --about-border: #e0e3e8;
  --about-icon-bg: #f4f6f8;
  --about-icon-border: #e5e8ed;
  --about-icon-filter-blue: brightness(0) saturate(100%) invert(35%) sepia(90%) saturate(4632%) hue-rotate(206deg) brightness(98%) contrast(114%);
  --about-icon-filter-green: brightness(0) saturate(100%) invert(53%) sepia(83%) saturate(1214%) hue-rotate(106deg) brightness(100%) contrast(80%);
}

.about-page .main-content {
  background: #f6f7f9;
  overflow-x: hidden;
  padding: 24px 0 0;
  font-family: "Open Sans", sans-serif;
  color: var(--about-text);
}

.about-page .main-content > section .container {
  max-width: 1140px;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── Hero — kompaktinis banneris, tekstas ant nuotraukos ─ */
.about-page .about-hero {
  padding: 25px 0 24px;
}

.about-page .about-hero__row {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 390px;
  height: 390px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 106, 255, 0.06);
}

.about-page .about-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  display: block;
}

.about-page .about-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 42%,
    rgba(255, 255, 255, 0.92) 50%,
    rgba(255, 255, 255, 0.45) 58%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 1;
}

.about-page .about-hero__text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 52%;
  padding: 36px 48px;
}

.about-page .about-hero__text h1 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--about-text);
  max-width: 520px;
  margin: 0 0 16px;
}

.about-page .about-hero__text h1 span {
  display: block;
  color: var(--about-blue);
  margin-top: 6px;
}

.about-page .about-hero__text p {
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  color: #8c8c8c;
  max-width: 480px;
  margin: 0;
}

/* ── Metrikos — horizontalios kortelės ───────────── */
.about-page .about-metrics {
  padding: 20px 0 40px;
}

.about-page .about-metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-page .about-metrics__card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--about-border);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-page .about-metrics__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.about-page .about-metrics__icon--blue,
.about-page .about-metrics__icon--green {
  background: var(--about-icon-bg);
  border-color: var(--about-icon-border);
}

.about-page .about-metrics__icon--blue img:not(.about-metrics__flag),
.about-page .about-metrics__icon--green img:not(.about-metrics__flag) {
  filter: var(--about-icon-filter-blue);
}

.about-page .about-metrics__flag {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: none;
}

.about-page .about-metrics__icon--flag {
  border: none;
  background: transparent;
  width: 56px;
  height: 56px;
}

.about-page .about-metrics__icon img:not(.about-metrics__flag) {
  display: block;
}

.about-page .about-metrics__text strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--about-text);
  margin-bottom: 4px;
}

.about-page .about-metrics__card:nth-child(1) .about-metrics__text strong {
  color: var(--about-blue);
}

.about-page .about-metrics__card:nth-child(2) .about-metrics__text strong {
  color: var(--about-green);
}

.about-page .about-metrics__card:nth-child(3) .about-metrics__text strong {
  color: var(--about-blue);
}

.about-page .about-metrics__text span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #8c8c8c;
}

/* ── Kuo skiriamės — kaip misijos vertybės ─────── */
.about-page .about-purpose {
  padding: 55px 0;
  background: #fff;
}

.about-page .about-purpose__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.about-page .about-purpose__head h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--about-text);
  margin: 0 0 16px;
}

.about-page .about-purpose__head p {
  font-size: 16px;
  line-height: 1.6;
  color: #8c8c8c;
  letter-spacing: 0.02em;
  margin: 0;
}

.about-page .about-purpose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.about-page .about-purpose__card {
  background: #fff;
  border: 1px solid var(--about-border);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
}

.about-page .about-purpose__card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.about-page .about-purpose__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.about-page .about-purpose__icon--blue,
.about-page .about-purpose__icon--green {
  background: var(--about-icon-bg);
  border-color: var(--about-icon-border);
}

.about-page .about-purpose__icon--blue img,
.about-page .about-purpose__icon--green img {
  filter: var(--about-icon-filter-blue);
}

.about-page .about-purpose__icon img {
  display: block;
}

.about-page .about-purpose__card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--about-text);
  margin: 0;
}

.about-page .about-purpose__card p {
  font-size: 16px;
  line-height: 1.3;
  color: #8c8c8c;
  letter-spacing: 0.02em;
  margin: 0;
}

/* ── CTA — dvi atskiros plytelės ───────────────── */
.about-page .about-join {
  padding: 57px 0 64px;
  background: #f6f7f9;
}

.about-page .about-join__heading {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--about-text);
  margin: 0 0 33px;
}

.about-page .about-join__duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-page .about-join__tile {
  border-radius: 16px;
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--about-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.about-page .about-join__tile--buyer {
  background: linear-gradient(160deg, #e5f0ff 0%, #f0f7ff 100%);
  border-color: #c5d9f5;
  box-shadow: 0 4px 20px rgba(0, 106, 255, 0.1);
}

.about-page .about-join__tile--biz {
  background: #fff;
}

.about-page .about-join__tile-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-page .about-join__tile-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-page .about-join__tile--buyer .about-join__tile-icon,
.about-page .about-join__tile--biz .about-join__tile-icon {
  background: var(--about-icon-bg);
  border-color: var(--about-icon-border);
}

.about-page .about-join__tile--buyer .about-join__tile-icon img,
.about-page .about-join__tile--biz .about-join__tile-icon img {
  filter: var(--about-icon-filter-blue);
}

.about-page .about-join__tile-head h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--about-text);
  margin: 0;
}

.about-page .about-join__tile > p {
  font-size: 16px;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
}

.about-page .about-join__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: auto;
  min-width: 220px;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  align-self: flex-start;
  margin-top: 8px;
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
}

.about-page .about-join__link--fill {
  background: var(--about-blue);
  color: #fff;
  border: 1px solid var(--about-blue);
}

.about-page .about-join__link--fill:hover {
  background: #0057d9;
  border-color: #0057d9;
}

.about-page .about-join__link--line {
  background: #fff;
  color: var(--about-text);
  border: 1px solid #d1d5db;
}

.about-page .about-join__link--line:hover {
  border-color: #9ca3af;
}


/* ── Klientų atsiliepimai (pagal mockup) ──────── */
.about-page .about-reviews {
  padding: 40px 0 48px;
  background: #f6f7f9;
}

.about-page .about-reviews__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.about-page .about-reviews__head h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: #1a1a1a;
}

.about-page .about-reviews__link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  font-weight: 600;
  color: #006aff;
  text-decoration: none;
  white-space: nowrap;
}

.about-page .about-reviews__link:hover {
  color: #0057d9;
}

.about-page .about-reviews__frame {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-page .about-reviews__slider {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-page .about-review {
  background: #fff;
  border: none;
  border-radius: 14px;
  min-height: 258px;
  padding: 32px 30px 26px;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.about-page .about-review__stars {
  width: 148px;
  height: auto;
  margin-bottom: 16px;
  display: block;
}

.about-page .about-review__text {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
}

.about-page .about-review__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.about-page .about-review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #eef0f2;
}

.about-page .about-review__meta {
  min-width: 0;
}

.about-page .about-review__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 3px;
}

.about-page .about-review__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: #9ca3af;
}

.about-page .about-review__badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #006aff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-page .about-review__badge img {
  width: 9px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.about-page .about-reviews__nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.about-page .about-reviews__nav:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.about-page .about-reviews__nav svg {
  display: block;
}

/* ── Newsletter — originalus mėlynas fonas ─────── */
.about-page .about-newsletter {
  padding: 72px 0;
  background: #e5f0ff;
}

.about-page .about-newsletter .newsletter__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.about-page .about-newsletter .newsletter__text {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.about-page .about-newsletter .newsletter-form {
  border: 1px solid #cbd0d6;
  background: #fff;
  box-shadow: none;
}

.about-page .about-newsletter .newsletter__form-text {
  color: #1a1a1a;
  font-size: 13px;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 992px) {
  .about-page .main-content {
    padding-top: 16px;
  }

  .about-page .main-content > section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-page .about-hero {
    padding: 16px 0 20px;
  }

  .about-page .about-metrics {
    padding-bottom: 0;
  }

  .about-page .about-metrics__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-page .about-metrics__card {
    padding: 24px 28px;
  }

  .about-page .about-purpose {
    padding: 40px 0;
  }

  .about-page .about-purpose__head h2 {
    font-size: 26px;
  }

  .about-page .about-purpose__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-page .about-join {
    padding-bottom: 48px;
  }

  .about-page .about-join__duo {
    grid-template-columns: 1fr;
  }

  .about-page .about-join__heading {
    font-size: 24px;
  }

  .about-page .about-join__link {
    width: 100%;
    min-width: 0;
  }

  .about-page .about-newsletter {
    padding: 29px 0;
  }

  .about-page .about-newsletter .newsletter__title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .about-page .about-newsletter .newsletter__text {
    margin-bottom: 16px;
  }

  .about-page .about-reviews__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .about-page .about-reviews__frame {
    gap: 12px;
  }

  .about-page .about-reviews__head h2 {
    font-size: 20px;
  }

  /* Mobili karuselė: kortelės slenkamos į šoną, ne kraunamos stulpu */
  .about-page .about-reviews__slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 4px 2px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .about-page .about-reviews__slider::-webkit-scrollbar {
    display: none;
  }

  .about-page .about-review {
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: center;
  }

  .about-page .about-reviews__nav {
    display: none;
  }
}

@media (max-width: 576px) {
  .about-page .main-content > section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-page .about-hero__row {
    min-height: 280px;
    border-radius: 16px;
  }

  .about-page .about-hero__text {
    padding: 26px 18px;
  }

  .about-page .about-hero__text h1 {
    font-size: 24px;
    line-height: 1.34;
    margin-bottom: 10px;
  }

  .about-page .about-hero__text p {
    font-size: 15px;
    line-height: 1.55;
  }

  .about-page .about-hero__metric {
    padding: 16px 18px;
  }

  .about-page .about-hero__metric strong {
    font-size: 20px;
  }

  .about-page .about-story__mission,
  .about-page .about-story__innovations {
    padding: 24px 20px;
  }

  .about-page .about-metrics__card {
    padding: 20px 22px;
    gap: 16px;
  }

  .about-page .about-metrics__text strong {
    font-size: 24px;
  }

  .about-page .about-purpose__head h2 {
    font-size: 22px;
  }

  .about-page .about-join__heading {
    font-size: 22px;
  }

  .about-page .about-reviews {
    padding: 32px 0 40px;
  }

  .about-page .about-reviews__frame {
    padding: 0;
  }

  .about-page .about-reviews__link {
    font-size: 14px;
  }
}
