/* ============================================
   ALBASAER — ABOUT PAGE CSS (English / LTR)
   Figma: vmTA4IVgGrXqZYp0eeWe2h  node 140-28276
   ============================================ */

/* ── Local variables (extend master.css globals) ── */
:root {
  --about-section-pad:    96px;
  --about-section-pad-sm: 56px;
  --about-container:      1280px;
  --about-radius:         16px;
  --about-radius-sm:      12px;
  --about-shadow:         0 4px 24px rgba(0,0,0,.08);
  --about-shadow-lg:      0 12px 40px rgba(0,0,0,.12);
  --about-bg-alt:         #faf9f6;
  --about-bg-warm:        #f3f0e8;
  --about-border:         #e8e4df;
}

/* ============================================
   SHARED HELPERS
   ============================================ */
.about-tag {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  background: #fff;
  border: 1.5px solid rgba(138,21,56,.18);
  border-radius: 16777200px;
  background: rgba(138, 21, 56, 0.10);
  color: var(--clr-brand);
  box-shadow: 0 1px 4px rgba(138,21,56,.08);
  margin-bottom: 20px;
}

/*.about-tag--accent {
  background: var(--clr-brand);
  border-color: var(--clr-brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(138,21,56,.25);
}*/

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
}
  .about-btn svg {
    transform: scaleX(-1);
  }

.about-btn--primary {
  color: #8A1538;
}
.about-btn--primary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

/* ============================================
   HERO
   ============================================ */
.about-hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a0810;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,8,16,.85) 0%,
    rgba(138,21,56,.65) 50%,
    rgba(10,5,8,.80) 100%
  );
  z-index: 1;
}

.about-hero__body {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 80px 24px 100px;
}

.about-hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 20px;
}

.about-hero__subtitle {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 400;
  color: rgba(255,255,255,.80);
  line-height: 1.65;
  margin: 0;
  max-width: 580px;
  margin-inline: auto;
}

/* Decorative arc at bottom of hero */
/*.about-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 64px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 64px 64px 0 0;
  z-index: 2;
}*/

/* ============================================
   ABOUT CONTENT (Section 1)
   ============================================ */
.about-content {
  background: #fff;
  padding: 30px 0;
}

.about-content__inner {
  max-width: var(--about-container);
  margin: 0 auto;
  padding: 0 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Image column */
.about-content__image-col { position: relative; order: 2; }

/* Text column order */


.about-content__img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: visible;
}

/* Decorative offset border frame behind the image */
.about-content__img-wrap::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 18px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(138,21,56,.2);
  border-radius: 24px;
  z-index: 0;
  pointer-events: none;
}

.about-content__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  position: relative;
  z-index: 1;
}

.about-content__img-placeholder {
  width: 100%;
  height: 500px;
  background: var(--about-bg-warm);
  border-radius: 24px;
  position: relative;
  z-index: 1;
}

.about-content__img-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
  z-index: 2;
  max-width:200px;
}

.about-content__img-badge-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-brand);
  line-height: 1.4;
}

.about-content__img-badge-sub {
  font-size: 14px;
  font-weight: 400;
  color: #6A7282;
  line-height: 1.5;
}

/* Text column */
.about-content__text-col { padding-block: 16px; order: 1; }

.about-content__heading {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--clr-dark);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 20px;
}

.about-content__desc {
  font-size: 18px;
  color: #6A7282;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Stats strip */
.about-stats {
  display: flex;
  gap: 100px;
  padding-top: 40px;
  border-top: 1.5px solid var(--about-border);
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 80px;
}

.about-stat__number, .about-stat__suffix {
  font-size: 36px;
  font-weight: 700;
  color: var(--clr-brand);
  line-height: 1;
  letter-spacing: -.02em;
}



.about-stat__desc {
  font-size: 14px;
  color: #6A7282;
  line-height: 1.4;
}

/* ============================================
   STEPS (Section 3 — How It Works)
   ============================================ */
.about-steps {
  background: #fff;
  padding: var(--about-section-pad) 0;
}

.about-steps__inner {
  max-width: var(--about-container);
  margin: 0 auto;
  padding: 0 88px;
}

/* Header row: text block left, CTA right */
.about-steps__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 0 56px;
}

.about-steps__header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
}

.about-steps__heading {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--clr-dark);
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 12px;
}

.about-steps__desc {
  font-size: 18px;
  color: #6A7282;
  font-weight:400;
  line-height: 1.7;
  margin: 0;
}

/* Step cards grid */
.about-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Flat step item — no card box */
.step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.step-card__badge {
  display: inline-block;
  color: #99a1af;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 16px;
}

.step-card__icon {
  width: 64px;
  height: 64px;
  background: var(--about-bg-alt);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
}

.step-card__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.step-card__icon--empty {
  background: var(--about-bg-warm);
}

.step-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-dark);
  margin: 0 0 8px;
  line-height: 1.3;
}

.step-card__desc {
  font-size: 16px;
  color: #6A7282;
  font-weight:400;
  line-height: 1.65;
  margin: 0;
}

/* Chevron connector between steps */
.about-steps__grid .step-card:not(:last-child)::after {
  content: '›';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -24px;
  color: #E5E7EB;
  font-size: 40px;
  line-height: 1;
  font-weight: 300;
}

/* ============================================
   MISSION & VISION (Section 2)
   ============================================ */
.about-mission {
  background-color: #F9F6EF;
  padding: 80px 0;
}

.about-mission__inner {
  max-width: var(--about-container);
  margin: 0 auto;
  padding: 0 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.mission-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--about-shadow);
  border: 1.5px solid var(--about-border);
}

.mission-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
  background: rgba(138,21,56,.06);
}

.mission-card__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.mission-card__title {
  font-size: clamp(22px, 2vw, 24px);
  font-weight: 700;
  color: var(--clr-dark);
  letter-spacing: -.015em;
  margin: 0 0 16px;
}

.mission-card__desc {
  font-size: 18px;
  color: #6A7282;
  line-height: 1.8;
  font-weight:400;
  margin: 0;
}

/* ============================================
   CORE VALUES (Section 4) — dark section
   ============================================ */
.about-values {
  background: #131d30;
  padding: var(--about-section-pad) 0;
  overflow: hidden;
  position: relative;
}

/* Decorative blurs */
.about-values::before,
.about-values::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .08;
}
.about-values::before {
  width: 500px;
  height: 500px;
  background: var(--clr-brand);
  filter: blur(120px);
  top: -60px;
  right: -80px;
}
.about-values::after {
  width: 500px;
  height: 500px;
  background: #155dfc;
  filter: blur(120px);
  bottom: -60px;
  left: -80px;
}

.about-values__inner {
  max-width: var(--about-container);
  margin: 0 auto;
  padding: 0 88px;
  position: relative;
  z-index: 1;
}

.about-values__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.about-values__heading {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.about-values__desc {
  font-size: 18px;
  color: #99a1af;
  font-weight:400;
  line-height: 1.7;
  margin: 0;
}

/* Asymmetric 2-col grid: narrow left (small cards), wide right (large cards) */
.about-values__grid {
  display: grid;
  grid-template-columns: 5fr 11fr;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  gap: 24px;
}

/* ── Shared card base ── */
.value-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  min-height: 200px;
}

/* ── Small cards (col 1: items 1 & 2) ── */
.value-card:nth-child(-n+2) {
  background: rgba(30,41,59,.5);
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  position: relative;
}

.value-card:nth-child(-n+2) .value-card__icon {
  position: absolute;
  top: 28px;
  left: 28px;
  margin-bottom: 0;
}

.value-card:nth-child(-n+2) .value-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Large cards (col 2: items 3 & 4) ── */
.value-card:nth-child(n+3) {
  background: linear-gradient(to bottom, #1e293b, #0f172a);
  flex-direction: row-reverse;
  align-items: flex-start;
  padding: 32px 28px;
  gap: 24px;
}

.value-card:nth-child(n+3) .value-card__icon {
  order: 1;
  flex-shrink: 0;
  margin-bottom: 0;
  align-self: flex-start;
}

.value-card:nth-child(n+3) .value-card__body {
  flex: 1;
  order: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Icon ── */
.value-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.value-card__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.value-card__icon--empty {
  background: rgba(255,255,255,.06);
}

/* ── Text ── */
.value-card:nth-child(-n+2) .value-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.value-card:nth-child(-n+2) .value-card__desc {
  font-size: 14px;
  color: #99a1af;
  font-weight:400;
  line-height: 1.6;
  margin: 0;
}

.value-card:nth-child(n+3) .value-card__title {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.value-card:nth-child(n+3) .value-card__desc {
  font-size: 18px;
  color: #d1d5dc;
  font-weight:400;
  line-height: 1.75;
  margin: 0;
}

/* ============================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --about-section-pad: 72px;
  }

  .about-content__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 32px;
  }

  .about-content__image-col { order: 0; }
  .about-content__text-col  { order: 0; }

  .about-content__img { height: 360px; }
  .about-content__img-placeholder { height: 360px; }
  .about-content__img-badge { left: 16px; bottom: 16px; }

  .about-steps__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .about-steps__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .about-steps__grid .step-card::after { display: none; }

  .about-mission__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 32px;
  }

  .about-values__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
  }

  .value-card:nth-child(n+3) {
    flex-direction: column;
  }

  .value-card:nth-child(n+3) .value-card__icon {
    order: 0;
    margin-bottom: 8px;
  }

  .value-card:nth-child(n+3) .value-card__title {
    font-size: 22px;
  }

  .about-steps__inner,
  .about-values__inner {
    padding: 0 32px;
  }
}

/* ============================================
   RESPONSIVE — Mobile (≤ 640px)
   ============================================ */
@media (max-width: 640px) {
  :root {
    --about-section-pad: var(--about-section-pad-sm);
  }

  .about-hero { min-height: 480px; }
  .about-hero__body { padding: 60px 20px 80px; }
  .about-hero::after { height: 40px; }

  .about-content__inner,
  .about-steps__inner,
  .about-mission__inner,
  .about-values__inner {
    padding: 0 20px;
  }

  .about-content__img { height: 260px; }
  .about-content__img-placeholder { height: 260px; }
  .about-content__img-badge {
    left: 12px;
    bottom: 12px;
    padding: 14px 16px;
    min-width: 150px;
  }
  .about-content__img-badge-num { font-size: 16px; }

  .about-stats { gap: 24px; }
  .about-stat__number { font-size: 28px; }


  .step-card {
    flex: 0 0 72vw;
    scroll-snap-align: start;
  }

  .about-values__grid {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }

  .value-card:nth-child(-n+2) .value-card__icon {
    top: 20px;
    left: 20px;
  }

  .about-tag { margin-bottom: 14px; }
}


@media (max-width: 480px) {
  .about-steps__grid {
    grid-template-columns: 1fr;
    /*    display: flex;
    overflow-x: auto;
    gap: 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;*/
    padding-bottom: 8px;
  }
}
