/* About ACC – Epicor partner credibility page (uses ACC style.css tokens) */

.aac-page {
  background: var(--color-bg, #fff);
}

.aac-main {
  padding-top: 0;
}

/* ---------- Hero ---------- */
.aac-hero {
  background: linear-gradient(145deg, #0f172a 0%, #134e4a 42%, #0d9488 100%);
  color: #fff;
  padding: clamp(56px, 8vw, 88px) 0 clamp(64px, 10vw, 96px);
}

.aac-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  max-width: var(--container-max, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}

.aac-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

/* Match ACC landing hero (style.css .hero-title / .hero-desc) */
.aac-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: normal;
  margin: 8px 0 20px;
  max-width: 620px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.aac-hero-lead {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px;
  max-width: 520px;
}

.aac-trust-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 28rem;
}

.aac-trust-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.aac-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.35);
}

.aac-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.aac-hero .btn-primary {
  background: #fff;
  color: #0f766e;
}

.aac-hero .btn-primary:hover {
  background: #ecfdf5;
  color: #115e59;
}

.aac-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius, 8px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

/* Hero CTAs: matched pair (same box as .btn.btn-lg; primary vs outline) */
.aac-hero-actions .btn.btn-lg,
.aac-hero-actions .aac-btn-ghost.btn-lg {
  box-sizing: border-box;
  flex: 1 1 240px;
  min-width: min(100%, 220px);
  max-width: 100%;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.aac-hero-actions .btn.btn-lg {
  border: 2px solid transparent;
}

.aac-hero-actions:has(> :only-child) .btn.btn-lg {
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(100%, 320px);
}

.aac-hero-actions .aac-btn-ghost.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.aac-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.65);
}

.aac-hero-visual {
  min-width: 0;
}

/* Hero PNG: full width of column, light rounding; no extra frame/shadow on the image */
.aac-hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg, 12px);
}

.aac-hero-panel {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg, 12px);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.aac-hero-panel-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 16px;
}

.aac-kpi-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.aac-kpi {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius, 8px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.aac-kpi strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: #5eead4;
  margin-bottom: 2px;
}

.aac-kpi span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
}

.aac-roadmap {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Sections shared ---------- */
.aac-section {
  padding: clamp(56px, 8vw, 80px) 0;
}

.aac-section--soft {
  background: var(--color-bg-light, #f7f9fb);
}

.aac-section-head {
  max-width: 42rem;
  margin-bottom: 36px;
}

.aac-section-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--color-dark, #2c3e50);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.aac-section-head p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted, #6c757d);
}

/* Centered section intros (main about-acc.html only): match landing discover-workspace
   .section-title / .section-subtitle — see style.css */
.aac-section-head--center {
  text-align: center;
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.aac-section-head--center h2 {
  margin: 0 0 0.5em;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-dark);
}

.aac-section-head--center p {
  margin: 0 0 1.5em;
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* Our Solution Areas: subtle top rule when following dev showcase (no Who We Are band) */
.aac-sol-areas-after-dev {
  border-top: 1px solid #e5e7eb;
}

/* Who we are */
.aac-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.aac-prose p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-dark-soft, #3d566e);
}

.aac-prose p:last-child {
  margin-bottom: 0;
}

.aac-highlight-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .aac-highlight-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.aac-highlight-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius, 8px);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
  border-left: 4px solid var(--color-primary, #1abc9c);
}

.aac-highlight-card h3 {
  margin: 0 0 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.aac-highlight-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Our Epicor Experience — match landing .stats-cta / .stats-grid rhythm (no card boxes) */
.aac-epicor-experience {
  background: #fff;
}

/* Main About ACC: experience sits directly under gradient hero */
.aac-epicor-after-hero {
  padding-top: clamp(40px, 5.5vw, 56px);
}

.aac-epicor-after-hero .aac-section-head--center {
  margin-bottom: clamp(28px, 4vw, 36px);
}

.aac-exp-stats-rows {
  margin-top: 4px;
}

.aac-exp-stats-row {
  display: grid;
  gap: 32px;
  text-align: center;
}

.aac-exp-stats-row--3 {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 32px;
}

.aac-exp-stats-row--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.aac-exp-stats-row .stat {
  padding: 0 12px;
}

/* Mirror style.css .stat-number / .stat-label (scoped) */
.aac-exp-stats-row .stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Row 2: desktop — two-line headlines (Multiple / Industries, Global / Reach) */
@media (min-width: 901px) {
  .aac-exp-stats-row--2 .aac-exp-stat-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.12;
  }

  .aac-exp-stats-row--2 .aac-exp-stat-headline .aac-exp-stat-line {
    display: block;
  }
}

@media (max-width: 900px) {
  .aac-exp-stats-row--2 .aac-exp-stat-headline .aac-exp-stat-line {
    display: inline;
  }

  .aac-exp-stats-row--2 .aac-exp-stat-headline .aac-exp-stat-line:first-child::after {
    content: "\00a0";
  }
}

.aac-exp-stats-row .stat-label {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .aac-exp-stats-row--3,
  .aac-exp-stats-row--2 {
    grid-template-columns: 1fr;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .aac-exp-stats-row--3 {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .aac-exp-stats-row {
    gap: 24px;
  }
}

/* Product-specific About ACC (Venus/Jupiter/Mars/Nepta/Saturn): four stats, no "Multiple Industries" */
.aac-exp-stats-rows--four {
  margin-top: 4px;
}

.aac-exp-stats-rows--four .aac-exp-stats-row--4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 36px);
  text-align: center;
}

@media (min-width: 901px) {
  .aac-exp-stats-rows--four .aac-exp-stats-row--4 .aac-exp-stat-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.12;
  }

  .aac-exp-stats-rows--four .aac-exp-stats-row--4 .aac-exp-stat-headline .aac-exp-stat-line {
    display: block;
  }
}

@media (max-width: 900px) {
  .aac-exp-stats-rows--four .aac-exp-stats-row--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .aac-exp-stats-rows--four .aac-exp-stats-row--4 .aac-exp-stat-headline .aac-exp-stat-line {
    display: inline;
  }

  .aac-exp-stats-rows--four .aac-exp-stats-row--4 .aac-exp-stat-headline .aac-exp-stat-line:first-child::after {
    content: "\00a0";
  }
}

@media (max-width: 480px) {
  .aac-exp-stats-rows--four .aac-exp-stats-row--4 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Built on Epicor — ACC development portfolio (main About ACC only) */
.aac-dev-capability {
  border-top: 1px solid #e5e7eb;
}

.aac-dev-eyebrow {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary, #1abc9c);
  margin: 0 0 14px;
}

.aac-dev-intro-head {
  margin-bottom: 0;
}

.aac-dev-supporting {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto clamp(40px, 5vw, 52px);
  font-size: 0.9375rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--color-dark-soft, #3d566e);
}

.aac-dev-group {
  margin-top: clamp(40px, 5vw, 56px);
}

.aac-dev-group:first-of-type {
  margin-top: 0;
}

.aac-dev-group-title {
  text-align: center;
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: var(--color-dark, #2c3e50);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.aac-dev-group-sub {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted, #6c757d);
  margin: 0 0 clamp(22px, 3vw, 28px);
  line-height: 1.5;
}

.aac-dev-grid {
  display: grid;
  gap: clamp(18px, 2.5vw, 24px);
}

.aac-dev-grid--industry {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.aac-dev-grid--extensions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1199px) {
  .aac-dev-grid--industry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .aac-dev-grid--industry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aac-dev-grid--extensions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}

@media (max-width: 520px) {
  .aac-dev-grid--extensions {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

.aac-dev-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: var(--radius-lg, 12px);
  padding: clamp(14px, 2vw, 18px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}

.aac-dev-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  border-color: rgba(26, 188, 156, 0.35);
  text-decoration: none;
  color: inherit;
}

.aac-dev-card:focus-visible {
  outline: 2px solid var(--color-primary, #1abc9c);
  outline-offset: 3px;
}

/* Horizontal thumb: 140×100 grey frame; image fills frame (cover), corners clipped by wrapper */
.aac-dev-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 140 / 100;
  box-sizing: border-box;
  padding: 0;
  background: #f4f8f9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.aac-dev-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.aac-dev-thumb--fallback {
  background: linear-gradient(145deg, #0f172a 0%, #134e4a 55%, #0d9488 100%);
  border-color: rgba(226, 232, 240, 0.35);
}

.aac-dev-thumb--fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: radial-gradient(circle at 30% 20%, #5eead4, transparent 55%);
  pointer-events: none;
}

.aac-dev-card-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark, #2c3e50);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.aac-dev-card-desc {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-text-muted, #6c757d);
}

/* Solution cards */
.aac-sol-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .aac-sol-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.aac-sol-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg, 12px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: var(--shadow-sm);
}

.aac-sol-card h3 {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark);
}

.aac-sol-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* CTA */
.aac-cta {
  background: linear-gradient(135deg, #0f172a 0%, #115e59 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 72px) 0;
  text-align: center;
}

.aac-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
}

.aac-cta p {
  margin: 0 auto 24px;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.aac-cta .btn-primary {
  background: var(--color-primary, #1abc9c);
  color: #fff;
}

.aac-cta .btn-primary:hover {
  background: var(--color-primary-dark, #16a085);
  color: #fff;
}

.aac-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.aac-cta .btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.aac-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .aac-hero-inner {
    grid-template-columns: 1fr;
  }

  .aac-who-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .aac-hero-actions .btn.btn-lg,
  .aac-hero-actions .aac-btn-ghost.btn-lg {
    flex: 1 1 100%;
    min-width: 0;
  }

  .aac-kpi-row {
    grid-template-columns: 1fr;
  }
}
