/* =====================================================================
   ABOUT US PAGE
   Reuses the site shell (header / contact / footer). These styles cover
   the three About-only sections: intro, expertise, milestones.
   ===================================================================== */

.ab-page { overflow-x: hidden; }

/* shared section rhythm */
.ab-section { padding: clamp(60px, 7vw, 110px) clamp(20px, 4vw, 60px); }
.ab-wrap { max-width: var(--maxw); margin: 0 auto; }

/* eyebrow pill */
.ab-eyebrow {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2f6bd8;
  background: rgba(91, 141, 239, 0.08);
  border: 1px solid rgba(91, 141, 239, 0.3);
}

/* shared heading + lead */
.ab-h {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #16202f;
}
.ab-h .grad {
  background: linear-gradient(100deg, #5b8def 0%, #2f6bd8 55%, #6aa0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.ab-lead {
  font-weight: 300;
  line-height: 1.7;
  color: #5a6478;
}

/* media frame */
.ab-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(40, 60, 110, 0.18);
}
.ab-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
}

/* ===================== 1. INTRO / HERO ===================== */
.ab-hero { padding-top: clamp(120px, 15vh, 180px); }
.ab-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.ab-hero .ab-h {
  margin-top: 22px;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
}
.ab-hero .ab-lead {
  margin-top: 24px;
  max-width: 540px;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

/* stats */
.ab-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 60px);
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(90, 120, 180, 0.18);
}
.ab-stat-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
  color: #16202f;
}
.ab-stat:first-child .ab-stat-num { color: #2f6bd8; }
.ab-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a94a8;
}

/* ===================== 2. EXPERTISE ===================== */
.ab-exp-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.ab-exp .ab-h {
  margin-top: 20px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}
.ab-exp .ab-lead {
  margin-top: 22px;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}
.ab-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 34px;
}
.ab-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: #1a2336;
}
.ab-check svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: #fff;
  background: linear-gradient(150deg, #5b9bf5, #2f6bd8);
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 6px 14px rgba(47, 107, 216, 0.32);
}

/* ===================== 3. MILESTONES ===================== */
.ab-mile-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 70px);
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.ab-mile .ab-h {
  margin-top: 18px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}
.ab-mile-head .ab-lead {
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  padding-bottom: 6px;
}

.ab-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.2vw, 30px);
}
.ab-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 38px);
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(90, 120, 180, 0.16);
  box-shadow: 0 24px 56px rgba(40, 60, 110, 0.10);
  min-height: 360px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.ab-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 72px rgba(40, 60, 110, 0.18);
}
.ab-card-ic {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #2f6bd8;
  background: linear-gradient(160deg, #e7f0ff, #d4e3ff);
  margin-bottom: clamp(40px, 5vw, 70px);
}
.ab-card-ic svg { width: 26px; height: 26px; }
.ab-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.32rem;
  color: #16202f;
  margin-bottom: 14px;
}
.ab-card p {
  font-weight: 300;
  line-height: 1.62;
  color: #5a6478;
  flex: 1 1 auto;
}
.ab-card-foot {
  margin-top: 26px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a94a8;
}

/* featured (blue) card */
.ab-card.is-feature {
  background: linear-gradient(160deg, #5b8def 0%, #3f7fe6 100%);
  border-color: transparent;
  box-shadow: 0 30px 66px rgba(47, 107, 216, 0.4);
}
.ab-card.is-feature .ab-card-ic {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.ab-card.is-feature h3 { color: #fff; }
.ab-card.is-feature p { color: rgba(255, 255, 255, 0.9); }
.ab-card.is-feature .ab-card-foot { color: rgba(255, 255, 255, 0.78); }

/* ===================== HERO: mission callout ===================== */
.ab-mission {
  margin-top: 28px;
  padding: 20px 26px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(91, 141, 239, 0.10), rgba(143, 108, 240, 0.06));
  border: 1px solid rgba(91, 141, 239, 0.22);
}
.ab-mission strong {
  display: block;
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2f6bd8;
}
.ab-mission p {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.4;
  color: #16202f;
}
.ab-note {
  margin-top: 20px;
  max-width: 540px;
  font-weight: 300;
  line-height: 1.7;
  color: #5a6478;
  font-size: 0.98rem;
}

/* ===================== WHAT WE DO ===================== */
.ab-do-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 4vw, 56px);
}
.ab-do-head .ab-h {
  margin-top: 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}
.ab-do-head .ab-lead { margin-top: 16px; }

.ab-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 26px);
}
.ab-do-card {
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(90, 120, 180, 0.16);
  box-shadow: 0 18px 44px rgba(40, 60, 110, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.ab-do-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(40, 60, 110, 0.16);
}
.ab-do-ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #2f6bd8;
  background: linear-gradient(160deg, #e7f0ff, #d4e3ff);
  margin-bottom: 20px;
}
.ab-do-ic svg { width: 26px; height: 26px; }
.ab-do-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #16202f;
  margin-bottom: 10px;
}
.ab-do-card p {
  font-weight: 300;
  line-height: 1.6;
  color: #5a6478;
  font-size: 0.98rem;
}

/* ===================== VISION (band) ===================== */
.ab-vision { background: linear-gradient(150deg, #5b8def 0%, #3f7fe6 100%); }
.ab-vision-inner {
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
}
.ab-vision .ab-eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}
.ab-vision-h {
  margin-top: 22px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #fff;
  font-size: clamp(1.45rem, 2.7vw, 2.35rem);
}

/* ===================== COMMITMENT ===================== */
.ab-commit-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.ab-commit .ab-h {
  margin-top: 18px;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}
.ab-commit .ab-lead { margin-top: 18px; }
.ab-commit .ab-note { margin-top: 16px; font-style: italic; }

/* ===================== WHY CHOOSE (chips) ===================== */
.ab-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}
.ab-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(90, 120, 180, 0.18);
  box-shadow: 0 8px 20px rgba(40, 60, 110, 0.07);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: #1a2336;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ab-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(150deg, #5b9bf5, #2f6bd8);
  flex: 0 0 auto;
}
.ab-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 107, 216, 0.4);
  box-shadow: 0 14px 28px rgba(40, 60, 110, 0.14);
}

/* ===================== GALLERY ===================== */
.ab-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}
.ab-gallery-item {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #eef3fb;
  border: 1px solid rgba(90, 120, 180, 0.16);
  box-shadow: 0 18px 44px rgba(40, 60, 110, 0.10);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.ab-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ab-gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(40, 60, 110, 0.18);
}
.ab-gallery-item:hover img { transform: scale(1.06); }

/* ===================== BUILDING THE FUTURE (CTA) ===================== */
.ab-future-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.ab-future .ab-h { font-size: clamp(2rem, 3.6vw, 3rem); }
.ab-future .ab-lead { margin: 20px auto 0; max-width: 700px; }
.ab-future-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(43, 108, 176, 0.34);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ab-future-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(43, 108, 176, 0.44);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .ab-hero-inner,
  .ab-exp-inner,
  .ab-mile-head,
  .ab-commit-inner { grid-template-columns: 1fr; }

  .ab-hero { padding-top: clamp(110px, 16vh, 150px); }

  .ab-cards { grid-template-columns: 1fr; }
  .ab-card { min-height: 0; }
  .ab-card-ic { margin-bottom: 28px; }

  .ab-do-grid { grid-template-columns: 1fr 1fr; }

  .ab-gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .ab-checks { grid-template-columns: 1fr; }
  .ab-stats { gap: 22px 32px; }
  .ab-do-grid { grid-template-columns: 1fr; }
  .ab-chips { gap: 10px; }

  .ab-gallery-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ===================== DARK THEME (new sections) ===================== */
[data-theme="dark"] .ab-note { color: var(--d-t2); }
[data-theme="dark"] .ab-mission {
  background: linear-gradient(120deg, rgba(91, 155, 245, 0.14), rgba(143, 108, 240, 0.08));
  border-color: rgba(91, 155, 245, 0.28);
}
[data-theme="dark"] .ab-mission strong { color: var(--accent-deep); }
[data-theme="dark"] .ab-mission p { color: var(--d-t1); }
[data-theme="dark"] .ab-do-card {
  background: var(--d-surface);
  border-color: var(--d-line);
  box-shadow: var(--d-shadow);
}
[data-theme="dark"] .ab-do-card h3 { color: var(--d-t1); }
[data-theme="dark"] .ab-do-card p { color: var(--d-t2); }
[data-theme="dark"] .ab-do-ic {
  background: rgba(91, 155, 245, 0.14);
  color: var(--accent-deep);
}
[data-theme="dark"] .ab-vision { background: linear-gradient(150deg, #1d4fb0 0%, #11357f 100%); }
[data-theme="dark"] .ab-gallery-item {
  background: var(--d-surface);
  border-color: var(--d-line);
  box-shadow: var(--d-shadow);
}
[data-theme="dark"] .ab-chip {
  background: var(--d-surface);
  border-color: var(--d-line);
  color: var(--d-t1);
  box-shadow: var(--d-shadow-sm);
}

/* ===================== DARK THEME ===================== */
[data-theme="dark"] .ab-eyebrow {
  color: var(--accent-deep);
  background: rgba(91, 155, 245, 0.12);
  border-color: rgba(91, 155, 245, 0.3);
}
[data-theme="dark"] .ab-h { color: var(--d-t1); }
[data-theme="dark"] .ab-lead { color: var(--d-t2); }
[data-theme="dark"] .ab-media { box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6); }
[data-theme="dark"] .ab-stats { border-top-color: var(--d-line); }
[data-theme="dark"] .ab-stat-num { color: var(--d-t1); }
[data-theme="dark"] .ab-stat:first-child .ab-stat-num { color: var(--accent-deep); }
[data-theme="dark"] .ab-stat-label { color: var(--d-t3); }
[data-theme="dark"] .ab-check { color: var(--d-t1); }
[data-theme="dark"] .ab-card {
  background: var(--d-surface);
  border-color: var(--d-line);
  box-shadow: var(--d-shadow);
}
[data-theme="dark"] .ab-card h3 { color: var(--d-t1); }
[data-theme="dark"] .ab-card p { color: var(--d-t2); }
[data-theme="dark"] .ab-card-foot { color: var(--d-t3); }
[data-theme="dark"] .ab-card-ic {
  background: rgba(91, 155, 245, 0.14);
  color: var(--accent-deep);
}
[data-theme="dark"] .ab-card.is-feature {
  background: linear-gradient(160deg, #2f6bd8 0%, #1d4fb0 100%);
}
[data-theme="dark"] .ab-card.is-feature .ab-card-ic { background: rgba(255, 255, 255, 0.16); color: #fff; }
