/* ============================================================
   About Page — Premium Design
   Extends main.css — enqueued in functions.php
   ============================================================ */

/* ═══════════════════════════════════════════════════════════════
   Section 1: Hero
   ═══════════════════════════════════════════════════════════════ */

.ab-hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
}

.ab-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 10s ease;
}

.ab-hero:hover .ab-hero__bg {
  transform: scale(1);
}

.ab-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 30, 0.18) 0%,
    rgba(10, 15, 30, 0.55) 55%,
    rgba(10, 15, 30, 0.88) 100%
  );
  z-index: 1;
}

.ab-hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
}

.ab-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding-bottom: 80px;
  padding-top: 160px;
  width: 100%;
}

.ab-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
}

.ab-hero__copy .eyebrow {
  margin-bottom: 20px;
}

.ab-hero__title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 18px;
}

.ab-hero__desc {
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
  max-width: 560px;
}

.ab-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ab-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-width: 320px;
  align-self: end;
}

.ab-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  transition: background 0.2s ease;
}

.ab-hero__stat:hover {
  background: rgba(255, 255, 255, 0.16);
}

.ab-hero__stat strong {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.ab-hero__stat span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   Section 2: Company Profile
   ═══════════════════════════════════════════════════════════════ */

.ab-profile {
  padding: 96px 0;
  background: #ffffff;
}

.ab-profile__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.ab-profile__intro {
  position: sticky;
  top: 32px;
}

.ab-profile__intro .eyebrow {
  margin-bottom: 14px;
}

.ab-profile__intro h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 20px;
}

.ab-profile__intro p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-muted);
  margin: 0 0 28px;
}

.ab-profile__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ab-profile__card {
  padding: 32px;
  background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-profile__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.07),
    0 20px 40px rgba(15, 23, 42, 0.08);
}

.ab-profile__card-icon {
  margin-bottom: 18px;
}

.ab-profile__card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.ab-profile__card p {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--ink-muted);
  margin: 0;
}

/* Accent strip per card color */
.ab-profile__card--blue {
  border-left: 3px solid #3b82f6;
}

.ab-profile__card--green {
  border-left: 3px solid #10b981;
}

.ab-profile__card--violet {
  border-left: 3px solid #8b5cf6;
}

/* ═══════════════════════════════════════════════════════════════
   Section 3: Services
   ═══════════════════════════════════════════════════════════════ */

.ab-services {
  padding: 96px 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

.ab-services .section-head {
  margin-bottom: 56px;
}

.ab-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ab-svc-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-svc-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.07),
    0 20px 40px rgba(15, 23, 42, 0.08);
}

.ab-svc-card__num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.ab-svc-card__body {
  flex: 1;
}

.ab-svc-card__body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.ab-svc-card__body p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   Section 4: Industries We Serve
   ═══════════════════════════════════════════════════════════════ */

.ab-industries {
  padding: 96px 0;
  background: #ffffff;
}

.ab-industries .section-head {
  margin-bottom: 56px;
}

.ab-industries__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ab-ind-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px 32px;
  background: linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.ab-ind-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.07),
    0 20px 40px rgba(15, 23, 42, 0.08);
}

.ab-ind-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ab-ind-card:hover::before {
  opacity: 1;
}

.ab-ind-card--blue::before { background: linear-gradient(90deg, #3b82f6, #6366f1); }
.ab-ind-card--orange::before { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.ab-ind-card--green::before { background: linear-gradient(90deg, #10b981, #06b6d4); }
.ab-ind-card--violet::before { background: linear-gradient(90deg, #8b5cf6, #a855f7); }
.ab-ind-card--cyan::before { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.ab-ind-card--amber::before { background: linear-gradient(90deg, #d97706, #ea580c); }
.ab-ind-card--pink::before { background: linear-gradient(90deg, #ec4899, #d946ef); }
.ab-ind-card--emerald::before { background: linear-gradient(90deg, #059669, #10b981); }

.ab-ind-card__icon {
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.ab-ind-card__count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 12px;
  font-family: var(--font-head);
}

.ab-ind-card__count small {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ab-ind-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════════
   Section 5: Team
   ═══════════════════════════════════════════════════════════════ */

.ab-team {
  padding: 96px 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

.ab-team .section-head {
  margin-bottom: 56px;
}

.ab-team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ab-team__card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 4px 14px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}

.ab-team__card:hover {
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.07),
    0 20px 40px rgba(15, 23, 42, 0.09);
}

.ab-team__media {
  position: absolute;
  inset: 0;
}

.ab-team__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.ab-team__card:hover .ab-team__media img {
  transform: scale(1.06);
}

.ab-team__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px 24px;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0) 30%,
    rgba(10, 15, 30, 0.55) 70%,
    rgba(10, 15, 30, 0.88) 100%
  );
  transition: background 0.4s ease;
}

.ab-team__card:hover .ab-team__overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.15) 20%,
    rgba(10, 15, 30, 0.65) 60%,
    rgba(10, 15, 30, 0.92) 100%
  );
}

.ab-team__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.25s ease;
}

.ab-team__card:hover .ab-team__icon {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93bbfc;
}

.ab-team__role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.ab-team__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.ab-team__overlay p {
  font-size: 0.835rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 280px;
}

/* ═══════════════════════════════════════════════════════════════
   Section 6: Process — wraps premium-lifecycle__steps
   Handled by .premium-step classes in main.css; section wrapper
   ═══════════════════════════════════════════════════════════════ */

.ab-process {
  padding: 96px 0;
  background: #ffffff;
}

.ab-process .section-head {
  margin-bottom: 56px;
}

/* ═══════════════════════════════════════════════════════════════
   Section 7: Why Choose Us
   ═══════════════════════════════════════════════════════════════ */

.ab-why {
  padding: 96px 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

.ab-why .section-head {
  margin-bottom: 56px;
}

.ab-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ab-why__card {
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 22px;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ab-why__card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.07),
    0 20px 40px rgba(15, 23, 42, 0.08);
}

.ab-why__icon {
  margin-bottom: 18px;
}

.ab-why__card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.ab-why__card p {
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--ink-muted);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .ab-industries__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ab-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .ab-hero__stats {
    grid-template-columns: repeat(4, 1fr);
    min-width: unset;
    width: 100%;
    order: 0;
    max-width: none;
    margin: 0;
  }

  .ab-hero__copy {
    order: 0;
  }

  .ab-profile__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ab-profile__intro {
    position: static;
  }

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

  .ab-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ab-hero__inner {
    padding-top: 100px;
    padding-bottom: 48px;
    gap: 32px;
  }

  .ab-hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    min-width: unset;
  }

  .ab-hero__stat strong {
    font-size: 1.6rem;
  }

  .ab-hero__copy h1 {
    font-size: 2.2rem;
  }

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

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

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

  .ab-team__card {
    aspect-ratio: 3 / 3.5;
  }

  .ab-svc-card {
    padding: 22px 20px;
  }

  .ab-profile__card {
    padding: 24px 20px;
  }

  .ab-why__card {
    padding: 28px 24px;
  }

  .ab-ind-card {
    padding: 28px 20px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-hero__bg,
  .ab-profile__card,
  .ab-svc-card,
  .ab-ind-card,
  .ab-team__card,
  .ab-team__media img,
  .ab-why__card {
    transition: none;
  }
}
