/* ═══════════════════════════════════════════════════════════
   PAGES/ABOUT.CSS — About page-specific styles
   Load FOURTH in about.html
═══════════════════════════════════════════════════════════ */

/* ── Section (override base .section for about page) ── */
.section { padding: 88px 0; }

/* ── Story Section ── */
.story { background: var(--white); }
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.story:hover .story__image img {
  transform: scale(1.04);
}
.story__content h2 { margin-bottom: 20px; }
.story__content p { margin-bottom: 16px; font-size: .96rem; line-height: 1.75; }
.story__content p:last-of-type { margin-bottom: 28px; }

/* ── Stats Bar ── */
.stats {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: background .25s, box-shadow .25s;
  cursor: default;
}
/* 4-column single row: no bottom borders on any item (section border-bottom is the visual boundary) */
.stat-item:nth-child(1),
.stat-item:nth-child(2),
.stat-item:nth-child(3),
.stat-item:nth-child(4) { border-bottom: none; }
/* 4-column: no right border on last item (item 4) */
.stat-item:nth-child(4) { border-right: none; }

.stat-item:hover {
  background: var(--blue-pale);
  box-shadow: inset 0 0 0 1px rgba(29,78,216,.15), inset 0 3px 0 0 var(--blue);
}

.stat-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 4px;
  transition: background .25s;
}

.stat-item__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 2px;
  letter-spacing: -.02em;
}
.stat-item__label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ── Values Section ── */
.values { background: var(--bg); }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.value-card__icon svg { color: var(--blue); }
.value-card__title { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.01em; }
.value-card__desc { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ── Trust Badges ── */
.trust { background: var(--white); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow .25s, transform .25s;
}
.trust-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.trust-badge__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.trust-badge__icon svg { color: var(--blue); }
.trust-badge__title { font-size: .88rem; font-weight: 800; margin-bottom: 4px; }
.trust-badge__desc { font-size: .75rem; color: var(--muted); line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  /* Right column (items 2 & 4): no right border — vertical divider on left of right column */
  .stat-item:nth-child(2),
  .stat-item:nth-child(4) { border-right: none; }
  /* Top row (items 1 & 2): no bottom border — horizontal divider on top of bottom row */
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: none; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  /* Right column (items 2 & 4): no right border — vertical divider on left of right column */
  .stat-item:nth-child(2),
  .stat-item:nth-child(4) { border-right: none; }
  /* Top row (items 1 & 2): no bottom border — horizontal divider on top of bottom row */
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: none; }
  .values__grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
}
