/* ==========================================================================
   PAGE — ABOUT
   ========================================================================== */

/* ── 1. Hero ── */
.about-hero {
  padding-block: var(--sp-10);
  background: var(--c-bg);
}

.about-hero__card {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
  background-color: var(--c-primary);
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
}

.about-hero__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26, 58, 140, 0.72) 0%,
    rgba(26, 58, 140, 0.48) 100%);
  z-index: 0;
}

.about-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--c-on-primary);
  padding: var(--sp-16);
  max-width: 640px;
}

.about-hero__eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-light);
  margin-block: 0 var(--sp-4);
}

.about-hero__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--c-on-primary);
  margin: 0;
  text-wrap: balance;
}

.about-hero__sub {
  font-size: var(--text-base);
  color: var(--c-on-primary-muted);
  line-height: 1.75;
  margin-block: var(--sp-5) 0;
  max-width: 52ch;
  margin-inline: auto;
}

/* ── 2. Stats ── */
.about-stats {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
  border-right: 1px solid var(--c-border);
}

.about-stat:last-child {
  border-right: none;
}

.about-stat__icon {
  margin-bottom: var(--sp-1);
}

.about-stat__value {
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--c-primary);
  line-height: 1;
}

.about-stat__label {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── 3. Story ── */
.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-16);
  align-items: start;
}

.about-story__body p {
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-block: 0 var(--sp-5);
  max-width: 68ch;
}

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

/* Sidebar */
.about-story__sidebar {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  position: sticky;
  top: calc(var(--header-height) + var(--sp-8));
}

.about-story__sidebar-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary-mid);
  margin-block: 0 var(--sp-6);
}

.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-fact {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--c-border);
}

.about-fact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-fact:first-child {
  padding-top: 0;
}

.about-fact__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  min-width: 0;
}

.about-fact__label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.about-fact__value {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  line-height: 1.4;
}

.about-fact__chips {
  margin-top: var(--sp-1);
}

.about-story__sidebar .chip {
  background: var(--c-surface);
}

/* ── 5. Services footer ── */
.about-services__footer {
  text-align: center;
  margin-top: var(--sp-10);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-story__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .about-story__sidebar {
    position: static;
  }
}

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

  .about-hero__content {
    padding: var(--sp-10) var(--sp-6);
  }

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

  .about-stat {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
    padding: var(--sp-8) var(--sp-4);
  }

  .about-stat:nth-child(odd) {
    border-right: 1px solid var(--c-border);
  }

  .about-stat:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 599px) {
  .about-hero__content {
    padding: var(--sp-8) var(--sp-5);
  }

  .about-stat__value {
    font-size: var(--text-2xl);
  }
}
