/* ==========================================================
   HRDelivered — About Page
   Depends on: hrdelivered-global.css (tokens, nav, footer, btn-primary, etc.)
   ========================================================== */

/* ── Shared content width ──────────────────────────────────── */
.pt-hero-inner,
.section-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .pt-hero-inner,
  .section-inner {
    padding-inline: 2.5rem;
  }
}

/* ── Section base ─────────────────────────────────────────── */
.section {
  padding-block: 4rem;
}

.section--white { background: #ffffff; }
.section--cream { background: var(--color-cream, #F6F3E8); }
.section--navy { background: #001342; }
.section--navy h2,
.section--navy p,
.section--navy strong { color: #ffffff; }
.section--navy .ab-check-list li { color: #ffffff; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-navy, #001342);
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1.0625rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.pt-hero {
  background-color: #001342;
  padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--nav-height, 5rem) + 1.5rem);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.pt-hero-glow1 {
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: rgba(9, 79, 254, 0.25);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.pt-hero-glow2 {
  position: absolute;
  top: 4rem;
  left: 33%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: rgba(215, 1, 63, 0.20);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.pt-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .pt-hero-inner {
    grid-template-columns: 1fr 460px;
    gap: 3rem;
  }
}

.pt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
}

.pt-hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.pt-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
}
.pt-hero-sub strong { color: #ffffff; font-weight: 600; }

.ab-hero-h1-accent { color: var(--color-blue-light, #5b8cff); }

.pt-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: rgba(255,255,255,0.9);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.pt-hero-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════════════════════ */
.ab-stats { background-color: #F6F3E8; border-top: 1px solid rgba(0,19,66,0.10); border-bottom: 1px solid rgba(0,19,66,0.10); padding-block: 1rem; }
.ab-stats-grid { max-width: 1280px; margin-inline: auto; padding-inline: 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (min-width: 768px) { .ab-stats-grid { padding-inline: 2.5rem; } }
.ab-stat-item { padding: 1.6rem 1rem; text-align: center; border-right: 1px solid rgba(0,19,66,0.10); }
.ab-stat-item:last-child { border-right: none; }
@media (max-width: 960px) {
  .ab-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-stat-item:nth-child(2) { border-right: none; }
  .ab-stat-item:nth-child(3) { border-right: 1px solid rgba(0,19,66,0.10); }
  .ab-stat-item:nth-child(3),
  .ab-stat-item:nth-child(4) { border-top: 1px solid rgba(0,19,66,0.10); border-bottom: none; }
}
.ab-stat-value { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-navy, #001342); line-height: 1.2; margin-bottom: 0.25rem; }
.ab-stat-label { font-size: 0.875rem; color: rgba(0,19,66,0.55); margin-top: 0.25rem; }

/* ══════════════════════════════════════════════════════════════
   TWO-COLUMN SPLIT
   ══════════════════════════════════════════════════════════════ */
.pt-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .pt-split {
    grid-template-columns: 1fr 1fr;
  }
  .pt-split--reverse .pt-split-text { order: 2; }
  .pt-split--reverse .pt-split-image { order: 1; }
}

.pt-split-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-navy, #001342);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.pt-split-text p {
  font-size: 1rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.pt-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.pt-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.55;
  padding-block: 0.35rem;
}
.pt-bullet-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue, #094ffe);
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .pt-split--40-60 { grid-template-columns: 2fr 3fr; }
}

.pt-split-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

/* ══════════════════════════════════════════════════════════════
   FEATURES 6-UP
   ══════════════════════════════════════════════════════════════ */
.pt-features-3col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .pt-features-3col { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .pt-features-3col { grid-template-columns: repeat(3, 1fr); }
}

.pt-feature-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  transition: box-shadow 0.2s;
}
.pt-feature-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.pt-feature-card-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: #eff4ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy, #001342);
  margin-bottom: 0.3rem;
}
.pt-feature-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.55;
}

.pt-confidence-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   BOTTOM CTA
   ══════════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: #001342;
  padding-block: 5rem;
  text-align: center;
}
.cta-glow1, .cta-glow2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-glow1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(9,79,254,0.25) 0%, transparent 70%);
  top: -150px; left: -100px;
}
.cta-glow2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(91,140,255,0.18) 0%, transparent 70%);
  bottom: -100px; right: -80px;
}
.cta-inner {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .cta-inner { padding-inline: 2.5rem; }
}
.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-inner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE — PAGE-SPECIFIC STYLES
   ══════════════════════════════════════════════════════════════ */

/* Partner logos grid */
/* ── Partner logo marquee ── */
@keyframes ab-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ab-marquee-outer {
  overflow: hidden;
  margin-bottom: 0;
  cursor: grab;
  user-select: none;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ab-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ab-marquee 28s linear infinite;
}
.ab-marquee-outer:hover .ab-marquee-track {
  animation-play-state: paused;
}

.ab-marquee-logo {
  flex-shrink: 0;
  padding: 0.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab-marquee-logo img {
  max-width: 200px;
  height: auto;
  width: auto;
  display: block;
  filter: grayscale(40%);
  opacity: 0.8;
  transition: filter 0.2s, opacity 0.2s;
}
.ab-marquee-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .ab-marquee-track { animation: none; }
}

/* NAPEO note */
.ab-napeo-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  padding: 2rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}
@media (min-width: 640px) {
  .ab-napeo-note {
    flex-direction: row;
    text-align: left;
  }
}
.ab-napeo-note img {
  flex-shrink: 0;
  max-width: 120px;
  height: auto;
}
.ab-napeo-note p {
  font-size: 0.9375rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.65;
  margin: 0;
}
.ab-napeo-note p strong {
  color: var(--color-navy, #001342);
}

/* NAPEO full-width (below Stands Out) — matches .pt-feature-card styling */
.ab-napeo-full {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  width: 100%;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-sizing: border-box;
  transition: box-shadow 0.2s;
}
.ab-napeo-full:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.ab-napeo-full__icon {
  flex-shrink: 0;
  width: auto !important;
  height: auto !important;
  padding: 0.5rem 0.75rem;
}
.ab-napeo-full__icon img {
  max-width: 110px;
  height: auto;
  display: block;
}
.ab-napeo-full h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy, #001342);
  margin-bottom: 0.3rem;
}
.ab-napeo-full p {
  font-size: 0.875rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.55;
  margin: 0;
}

/* Testimonial block */
.ab-testimonial-block {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.ab-testimonial {
  margin: 0;
  padding: 2.5rem 2rem;
  background: var(--color-cream, #F6F3E8);
  border-radius: 12px;
  border-left: 4px solid var(--color-blue, #094ffe);
  text-align: left;
}
.ab-testimonial p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-navy, #001342);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.ab-testimonial cite {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-muted, #4b5563);
}

/* ── Our Story: credential cards ──────────────────────────── */
.ab-story-split {
  align-items: start;
}

.ab-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue, #094ffe);
  margin-bottom: 0.75rem;
}

/* Checkmark bullets */
.ab-check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.ab-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--color-navy, #001342);
  background: none !important;
  line-height: 1.55;
  margin-bottom: 0.35rem;
}
.ab-check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2322c55e'/%3E%3Cpolyline points='5.5,10.5 8.5,13.5 14.5,7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* 2×3 credential card grid */
.ab-cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ab-cred-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: box-shadow 0.2s;
}
.ab-cred-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.ab-cred-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #eff4ff;
  border-radius: 8px;
  flex-shrink: 0;
}

.ab-cred-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-navy, #001342);
  margin: 0;
  line-height: 1.3;
}
.ab-cred-card p {
  font-size: 0.8125rem;
  color: var(--color-text-muted, #4b5563);
  line-height: 1.5;
  margin: 0;
}

/* Stack credential grid on small screens */
@media (max-width: 639px) {
  .ab-cred-grid {
    grid-template-columns: 1fr;
  }
}
