/* AS400 Cloud Migration landing — extra layout on top of as400-modernization-page.css */
.acm-page .hero__inner { grid-template-columns: 1.08fr .92fr; min-height: 560px; align-items: center; }
.acm-page .hero__title .accent { display: block; color: var(--c-emerald); }
.acm-page .hero__sub { max-width: 44ch; }
.acm-page .hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.acm-page .btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.acm-page .btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff !important; transform: translateY(-2px); }
.acm-page a.btn--ghost, .acm-page a.btn--ghost:visited, .acm-page a.btn--ghost:hover { color: #fff !important; text-decoration: none; }
.acm-page .hero__drive { margin-top: 28px; }
.acm-page .hero__drive-label { font-size: 1.06rem; font-weight: 500; color: #8fb0a1; margin-bottom: 12px; }
.acm-page .hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.acm-page .hero__tag {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.1);
  color: #d9d9d9;
  font-size: .75rem; font-weight: 600; line-height: 18px;
  padding: 5px 13px; border-radius: 20px;
}
.acm-page .hero__media {
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
}
.acm-page .hero__diagram {
  width: min(567px, 100%);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.35));
}

.acm-page .clouds__grid {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.acm-page .clouds__lead { margin-top: 16px; max-width: 42ch; }
.acm-page .clouds__cta { margin-top: 36px; }
.acm-page .cloud-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #efefef;
}
.acm-page .cloud-row:first-child { padding-top: 0; }
.acm-page .cloud-row:last-child { border-bottom: none; }
.acm-page .cloud-row__logos {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  min-height: 40px;
}
.acm-page .cloud-row__logos img { height: 32px; width: auto; max-width: 152px; object-fit: contain; }
.acm-page .cloud-row__logos img.cloud-row__logo--aws { height: 44px; }
.acm-page .cloud-row__plus { width: 18px; height: 18px; flex: none; }
.acm-page .cloud-row__h { font-family: var(--font-body); font-size: 1.19rem; font-weight: 600; color: var(--c-ink); margin: 0 0 4px; }
.acm-page .cloud-row__p { margin: 0; color: var(--c-grey); font-size: .94rem; line-height: 1.6; }

.acm-page .paths { background: #fff; }
.acm-page .paths__head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 44px;
}
.acm-page .paths__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.acm-page .path-card {
  background: #fff;
  border: 1px solid #e6ecf5;
  border-radius: 16px;
  padding: 24px 25px 28px;
  box-shadow: 0 12px 15px rgba(10,40,120,.06);
  min-height: 280px;
}
.acm-page .path-card__ico {
  width: 56px; height: 56px;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f5f8ff);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.acm-page .path-card__ico img { width: 24px; height: 24px; }
.acm-page .path-card h3 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 600; color: #364153; margin-bottom: 10px; }
.acm-page .path-card p { margin: 0; color: var(--c-grey); font-size: 1rem; line-height: 1.55; }
.acm-page .paths__cta { display: flex; justify-content: center; margin-top: 40px; }

.acm-page .assess { background: #fff; }
.acm-page .assess__head {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 56px;
}
.acm-page .assess__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}
.acm-page .assess__rail::before {
  content: "";
  position: absolute;
  left: 22px; right: 22px; top: 21px;
  height: 2px;
  background: linear-gradient(90deg, #2d8a5f, rgba(45,138,95,.25));
  pointer-events: none;
}
.acm-page .assess-step { position: relative; z-index: 1; }
.acm-page .assess-step__n {
  width: 44px; height: 44px; border-radius: 22px;
  background: var(--c-primary); border: 2px solid var(--c-primary);
  color: #fff; font-weight: 600; font-size: .94rem;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.acm-page .assess-step h3 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 600; color: var(--c-ink); line-height: 1.4; margin-bottom: 12px; }
.acm-page .assess-step p { margin: 0 0 16px; color: var(--c-grey); font-size: .94rem; line-height: 1.6; }
.acm-page .assess-step__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.acm-page .assess-tag {
  background: rgba(146,146,146,.14);
  color: var(--c-grey);
  font-size: .69rem; font-weight: 500; letter-spacing: .06em;
  padding: 6px 10px; border-radius: 6px; line-height: 1.2;
}

.acm-page .cta-banner__inner { background: linear-gradient(90deg, #0f172b 0%, #1a3d2e 50%, #2d8a5f 100%); }
.acm-page .cta-banner__inner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .35;
  pointer-events: none;
}
.acm-page .cta-banner .btn--on-dark {
  background: #fff; color: #242424 !important;
}
.acm-page .cta-banner .btn--on-dark:hover { background: #f8fafc; color: #242424 !important; }

.acm-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: .875rem; letter-spacing: .08em;
  display: grid; place-items: center; padding: 0;
}
.acm-page .ai-row__h { font-family: var(--font-body); font-size: 1.19rem; font-weight: 600; color: #111c17; margin: 0 0 6px; }
.acm-page .ai-row__t { color: #4d5c55; font-size: .9rem; font-weight: 400; line-height: 1.55; margin: 0; }
.acm-page .ai-cta__media { min-height: 185px; padding: 0; }
.acm-page .ai-cta__bg { max-height: none; height: 185px; object-fit: cover; opacity: .85; border-radius: 14px; }
.acm-page .ai-cta__btn { left: auto; right: 18px; bottom: 18px; }

.acm-page .ind-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
}
.acm-page .ind-tile {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.acm-page .ind-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transition: transform .6s var(--ease);
}
.acm-page .ind-tile::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(102,102,102,0) 0%, rgba(0,0,0,.85) 86%);
}
.acm-page .ind-tile:hover img { transform: scale(1.05); }
.acm-page .ind-tile span {
  position: relative; z-index: 2;
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.3;
  padding: 24px 25px; color: #fff;
}

.acm-page .why__layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.acm-page .why__logos { margin-top: 48px; display: flex; flex-direction: column; }
.acm-page .why__logo {
  display: flex; align-items: center;
  min-height: 56px;
  border-bottom: 1px solid #d6d6d6;
}
.acm-page .why__logo:last-child { border-bottom: none; }
.acm-page .why__logo img { height: 26px; width: auto; max-width: 140px; object-fit: contain; object-position: left; }
.acm-page .why__logo-txt { font-weight: 600; font-size: 1.05rem; color: #111; }
.acm-page .why-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid #edeff3;
}
.acm-page .why-row:first-child { padding-top: 0; }
.acm-page .why-row:last-child { border-bottom: none; }
.acm-page .why-row__ico {
  width: 56px; height: 56px; border-radius: 12px;
  background: #eaf4ef;
  display: grid; place-items: center;
}
.acm-page .why-row__ico img { width: 24px; height: 24px; }
.acm-page .why-row h3 { font-family: var(--font-body); font-size: 1.19rem; font-weight: 500; color: var(--c-ink); margin: 0 0 8px; letter-spacing: -.02em; }
.acm-page .why-row p { margin: 0; color: #4a5565; font-size: .94rem; line-height: 1.6; }

.acm-page .contact__list {
  margin: 8px 0 0 !important;
  padding-left: 1.2em !important;
  list-style: disc !important;
  color: #ebebeb;
  max-width: 42ch;
}
.acm-page .contact__list li { font-size: .875rem; line-height: 1.55; margin-bottom: 6px; }
.acm-page .contact__logo { align-self: flex-start; object-position: left; }

.acm-page .capabilities { background: #fff; color: inherit; }
.acm-page .capabilities::before { display: none; }
.acm-page .cap__title { color: var(--c-ink); }
.acm-page .cap__lead { color: var(--c-grey); }
.acm-page .cap-card {
  background: #f3f4f6;
  box-shadow: none;
  border: 1px solid #e5e7eb;
  min-height: 264px;
  flex-basis: 295px;
}
.acm-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);
}
.acm-page .cap__nav:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

.acm-page .faq { background: #f3f3f3; }
.acm-page .faq-item { box-shadow: 0 8px 12px rgba(149,157,165,.2); border: none; border-radius: 5px; }
.acm-page .faq-item__a a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.acm-page .industries { background: #fff; }
.acm-page .ind__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }

@media (max-width: 1024px) {
  .acm-page .hero__inner,
  .acm-page .clouds__grid,
  .acm-page .paths__head,
  .acm-page .assess__head,
  .acm-page .why__layout,
  .acm-page .ind__head,
  .acm-page .ai__grid { grid-template-columns: 1fr; }
  .acm-page .hero__media { min-height: 0; padding-bottom: 28px; }
  .acm-page .hero__ctas { flex-direction: column; }
  .acm-page .hero__ctas .btn { width: 100%; }
  .acm-page .paths__cards,
  .acm-page .assess__rail,
  .acm-page .ind-grid { grid-template-columns: 1fr 1fr; }
  .acm-page .assess__rail::before { display: none; }
  .acm-page .cloud-row { grid-template-columns: 120px 1fr; }
}

@media (max-width: 640px) {
  .acm-page .paths__cards,
  .acm-page .assess__rail,
  .acm-page .ind-grid { grid-template-columns: 1fr; }
  .acm-page .cloud-row { grid-template-columns: 1fr; gap: 10px; }
  .acm-page .cloud-row__logos { justify-content: flex-start; }
}
