/**
 * About page — body sections only (nav + footer come from the theme).
 * All selectors are scoped under .about-page and use the theme design tokens,
 * so nothing leaks into the rest of the site.
 * @package Altojive
 */

.about-page {
  --ab-navy:     var(--navy);
  --ab-navy-mid: #2a2a42;
  --ab-yellow:   var(--yellow);
  --ab-light:    var(--grey-50);
  --ab-border:   var(--border);
  color: var(--text-primary);
}

/* ── HERO ── */
.about-page .ab-hero {
  background: var(--ab-navy);
  padding: 80px 40px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-page .ab-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.about-page .ab-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ab-yellow);
  margin-bottom: 20px;
  position: relative;
}
.about-page .ab-hero__title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  max-width: 680px;
  margin: 0 auto 20px;
  position: relative;
}
.about-page .ab-hero__title span { color: var(--ab-yellow); }
.about-page .ab-hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
  position: relative;
}
.about-page .ab-cta-btn {
  display: inline-block;
  background: var(--ab-yellow);
  color: var(--ab-navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
  position: relative;
}
.about-page .ab-cta-btn:hover { opacity: 0.9; }

/* ── Section primitives ── */
.about-page .ab-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ab-yellow);
  display: block;
  margin-bottom: 12px;
}
.about-page .ab-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ab-navy);
  margin-bottom: 16px;
}
.about-page .ab-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.about-page .ab-sub--center { margin-left: auto; margin-right: auto; }

/* ── HOW IT WORKS ── */
.about-page .ab-how {
  padding: 88px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.about-page .ab-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.about-page .ab-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: var(--ab-yellow);
  z-index: 0;
}
.about-page .ab-step { text-align: center; position: relative; z-index: 1; }
.about-page .ab-step__num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--ab-navy);
  color: var(--ab-yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(30,30,48,0.15);
}
.about-page .ab-step__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(245,197,24,0.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.about-page .ab-step__icon svg { width: 28px; height: 28px; color: var(--ab-yellow); }
.about-page .ab-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ab-navy);
  margin-bottom: 12px;
}
.about-page .ab-step__desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ── FEATURE STRIP ── */
.about-page .ab-feature { background: var(--ab-navy); padding: 64px 40px; }
.about-page .ab-feature__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-page .ab-feature__text .ab-title { color: #fff; }
.about-page .ab-feature__text .ab-sub { color: rgba(255,255,255,0.65); margin-bottom: 32px; }
.about-page .ab-feature__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0; padding: 0;
}
.about-page .ab-feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.about-page .ab-feature__list li::before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ab-yellow);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1e30' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.about-page .ab-feature__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-page .ab-fcard {
  background: var(--ab-navy-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: 24px 20px;
}
.about-page .ab-fcard__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(245,197,24,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.about-page .ab-fcard__icon svg { width: 22px; height: 22px; color: var(--ab-yellow); }
.about-page .ab-fcard__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  margin-bottom: 6px;
}
.about-page .ab-fcard__desc { font-size: 0.8125rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ── CATEGORIES ── */
.about-page .ab-cats {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.about-page .ab-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.about-page .ab-chip {
  background: var(--ab-light);
  border: 1.5px solid var(--ab-border);
  border-radius: 100px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ab-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.about-page .ab-chip:hover { background: var(--ab-yellow); border-color: var(--ab-yellow); }
.about-page .ab-chip__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ab-yellow);
  flex-shrink: 0;
}
.about-page .ab-chip:hover .ab-chip__dot { background: var(--ab-navy); }

/* ── CTA BANNER ── */
.about-page .ab-cta { background: var(--ab-yellow); padding: 64px 40px; text-align: center; }
.about-page .ab-cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.875rem;
  color: var(--ab-navy);
  margin-bottom: 12px;
}
.about-page .ab-cta__sub { font-size: 1rem; color: rgba(30,30,48,0.7); margin-bottom: 32px; }
.about-page .ab-cta__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.about-page .ab-btn-primary,
.about-page .ab-btn-outline {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.about-page .ab-btn-primary {
  background: var(--ab-navy);
  color: #fff;
  padding: 14px 32px;
}
.about-page .ab-btn-primary:hover { opacity: 0.85; }
.about-page .ab-btn-outline {
  background: transparent;
  color: var(--ab-navy);
  padding: 13px 32px;
  border: 2px solid var(--ab-navy);
}
.about-page .ab-btn-outline:hover { background: var(--ab-navy); color: #fff; }

/* ══ Tablet (≤ 900px) ══ */
@media (max-width: 900px) {
  .about-page .ab-hero { padding: 60px 24px 70px; }
  .about-page .ab-hero__title { font-size: 2.25rem; }
  .about-page .ab-how { padding: 64px 24px; }
  .about-page .ab-title { font-size: 1.625rem; }
  .about-page .ab-feature { padding: 56px 24px; }
  .about-page .ab-feature__inner { grid-template-columns: 1fr; gap: 40px; }
  .about-page .ab-cats { padding: 60px 24px; }
}

/* ══ Mobile (≤ 600px) ══ */
@media (max-width: 600px) {
  .about-page .ab-hero { padding: 48px 20px 56px; }
  .about-page .ab-hero__title { font-size: 1.75rem; }
  .about-page .ab-hero__sub { font-size: 0.9375rem; }
  .about-page .ab-cta-btn { display: block; text-align: center; }

  .about-page .ab-how { padding: 48px 20px; }
  .about-page .ab-steps { grid-template-columns: 1fr; gap: 40px; }
  .about-page .ab-steps::before { display: none; }
  .about-page .ab-title { font-size: 1.5rem; }
  .about-page .ab-sub { font-size: 0.9375rem; }

  .about-page .ab-feature { padding: 48px 20px; }
  .about-page .ab-feature__cards { grid-template-columns: 1fr; }

  .about-page .ab-cats { padding: 48px 20px; }

  .about-page .ab-cta { padding: 48px 20px; }
  .about-page .ab-cta__title { font-size: 1.5rem; }
  .about-page .ab-cta__buttons { flex-direction: column; }
  .about-page .ab-btn-primary,
  .about-page .ab-btn-outline { display: block; text-align: center; }
}
