/* AS400 Automation landing — extra layout on top of as400-modernization-page.css */
.asa-page .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.asa-page .hero__badge svg { color: var(--c-emerald); flex: none; }
.asa-page .hero__title .accent { display: inline; color: #fff; }
.asa-page .hero__sub { max-width: 42ch; }
.asa-page .hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.asa-page .btn--outline {
  background: #fff;
  color: #242424 !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.asa-page .btn--outline:hover { background: #f8fafc; color: #242424 !important; transform: translateY(-2px); }
.asa-page a.btn--outline, .asa-page a.btn--outline:visited, .asa-page a.btn--outline:hover { color: #242424 !important; text-decoration: none; }
.asa-page .hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: .9rem;
  color: rgba(255,255,255,.82);
}
.asa-page .hero__note svg { flex: none; color: var(--c-emerald); }

.asa-page .hero__inner { grid-template-columns: 1.05fr .95fr; min-height: 560px; align-items: center; }
.asa-page .hero__media {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.asa-page .hero-chart {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  background: rgba(15,23,43,.45);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 22px 22px 16px;
  backdrop-filter: blur(10px);
}
.asa-page .hero-chart__row {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  gap: 8px;
  align-items: end;
}
.asa-page .hero-chart__col { display: flex; flex-direction: column; gap: 12px; }
.asa-page .hero-chart__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(255,255,255,.78);
  text-align: center;
}
.asa-page .hero-chart__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  height: 168px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding: 0 8px 8px;
}
.asa-page .hero-chart__bar {
  display: block;
  width: 22px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #7dd3a8, #2D8A5F);
}
.asa-page .hero-chart__col--after .hero-chart__bar {
  background: linear-gradient(180deg, #41D28F, #1f6b48);
}
.asa-page .hero-chart__arrow {
  display: grid;
  place-items: center;
  height: 168px;
  color: var(--c-emerald);
}
.asa-page .hero-chart__caption {
  margin-top: 14px;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}

.asa-page .svc-card { min-height: 480px; }
.asa-page .services__grid { align-items: stretch; }

.asa-page .process__layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.asa-page .process__visual img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1.5px solid #cfe3d8;
  background: #f6fbf8;
}
.asa-page .pstep__num {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.asa-page .process__steps::before { background: #e2e8f0; width: 1px; }
.asa-page .pstep { gap: 28px; padding: 10px 0 18px; }
.asa-page .pstep__title { padding-top: 10px; margin-bottom: 8px; font-size: 1.15rem; }
.asa-page .pstep__body { color: var(--c-grey); font-size: 1rem; line-height: 1.6; max-width: 52ch; }

.asa-page .cta-banner__inner {
  background: linear-gradient(90deg, #0F172B 0%, #1A3D2E 52%, #2D8A5F 100%);
}
.asa-page .cta-banner__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: .35;
}

.asa-page .benefits { background: #fff; padding-block: clamp(40px,6vw,72px); }
.asa-page .benefits__band {
  background: var(--grad-dark);
  border-radius: 28px;
  padding: clamp(36px,5vw,64px);
  color: #fff;
}
.asa-page .benefits__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 48px;
}
.asa-page .benefits__eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c-emerald);
  display: block;
  margin-bottom: 10px;
}
.asa-page .benefits__title { color: #fff; font-size: clamp(1.6rem,3vw,2.125rem); }
.asa-page .benefits__lead { color: #c9dcd3; font-size: 1.05rem; line-height: 1.55; margin: 0; }
.asa-page .benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}
.asa-page .benefits__grid .ben:nth-child(n+4) { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.13); }
.asa-page .ben__n {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 1.3px;
  color: var(--c-emerald);
}
.asa-page .ben__rule {
  width: 24px;
  height: 2px;
  background: var(--c-emerald);
  border-radius: 1px;
  margin: 10px 0 12px;
}
.asa-page .ben__h { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; color: #fff; margin-bottom: 10px; }
.asa-page .ben__p { color: #fff; opacity: .7; font-size: .9rem; line-height: 1.55; margin: 0; }

.asa-page .industries { background: #fff; }
.asa-page .ind-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1.08fr .92fr;
  grid-template-rows: minmax(210px, 1fr) minmax(210px, 1fr) minmax(220px, 1fr);
  gap: 12px;
  min-height: 680px;
}
.asa-page .ind-tile {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.asa-page .ind-tile--mfg { grid-row: 1 / 3; }
.asa-page .ind-tile--wholesale { grid-column: 1; grid-row: 3; }
.asa-page .ind-tile--edu { grid-column: 2 / 4; grid-row: 3; }
.asa-page .ind-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .6s var(--ease);
}
.asa-page .ind-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.82) 100%);
}
.asa-page .ind-tile:hover img { transform: scale(1.05); }
.asa-page .ind-tile span {
  position: relative;
  z-index: 2;
  padding: 22px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
}

.asa-page .ai-row { grid-template-columns: 40px 1fr; align-items: start; }
.asa-page .ai-row__n {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(45,138,95,.1);
  color: var(--c-primary);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .08em;
  display: grid;
  place-items: center;
  padding: 0;
}
.asa-page .ai-row__wrap { padding-top: 2px; }
.asa-page .ai-row__h { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; color: #111c17; margin-bottom: 6px; }
.asa-page .ai-row__t { color: #4d5c55; font-size: .92rem; font-weight: 400; line-height: 1.55; }
.asa-page .ai-cta__media { min-height: 185px; padding: 0; }
.asa-page .ai-cta__bg { max-height: none; height: 185px; object-fit: cover; opacity: .85; border-radius: 14px; }
.asa-page .ai-cta__btn { left: 50%; bottom: 22px; transform: translateX(-30%); }

.asa-page .capabilities { background: #fff; color: inherit; }
.asa-page .capabilities::before { display: none; }
.asa-page .cap__title { color: var(--c-ink); }
.asa-page .cap__title .accent { color: var(--c-primary); }
.asa-page .cap__lead { color: var(--c-grey); }
.asa-page .cap-card {
  background: #f3f4f6;
  box-shadow: none;
  border: 1px solid #e5e7eb;
  min-height: 264px;
  flex-basis: 295px;
}
.asa-page .cap__nav {
  background: #fff;
  border: 1.5px solid var(--c-border);
  color: var(--c-slate);
  box-shadow: 0 4px 14px rgba(15,23,43,.08);
}
.asa-page .cap__nav:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

.asa-page .cases__lead {
  text-align: center;
  color: var(--c-grey);
  max-width: 70ch;
  margin: 12px auto 44px;
  font-size: 1.05rem;
}

.asa-page .faq-item__a a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1024px) {
  .asa-page .hero__inner,
  .asa-page .process__layout,
  .asa-page .benefits__head,
  .asa-page .ai__grid { grid-template-columns: 1fr; }
  .asa-page .hero__media { min-height: 0; padding-bottom: 28px; }
  .asa-page .hero-chart { margin: 0 auto; }
  .asa-page .ind-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    min-height: 0;
  }
  .asa-page .ind-tile--mfg,
  .asa-page .ind-tile--wholesale,
  .asa-page .ind-tile--edu { grid-row: auto; grid-column: auto; }
  .asa-page .ind-tile--mfg { min-height: 320px; }
  .asa-page .ind-tile--edu { grid-column: 1 / 3; min-height: 220px; }
  .asa-page .benefits__grid { grid-template-columns: 1fr 1fr; }
  .asa-page .benefits__grid .ben:nth-child(n+4) { padding-top: 0; border-top: none; }
  .asa-page .ai-cta__btn { left: 22px; transform: none; }
}

@media (max-width: 680px) {
  .asa-page .hero__ctas { flex-direction: column; }
  .asa-page .hero__ctas .btn { width: 100%; }
  .asa-page .hero-chart__row { grid-template-columns: 1fr; }
  .asa-page .hero-chart__arrow { height: auto; transform: rotate(90deg); padding: 8px 0; }
  .asa-page .ind-mosaic { grid-template-columns: 1fr; }
  .asa-page .ind-tile--mfg,
  .asa-page .ind-tile--wholesale,
  .asa-page .ind-tile--edu { grid-column: auto; }
  .asa-page .benefits__grid { grid-template-columns: 1fr; }
  .asa-page .process__visual { order: -1; }
}
