.ai-map {
  padding: 88px 0;
  scroll-margin-top: 76px;
  color: #fff;
  background: #00133a;
}
.ai-map .container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.ai-map-intro { max-width: 780px; margin-bottom: 40px; }
.ai-map-kicker { margin: 0 0 10px; color: #ffd500; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.ai-map h2 { margin: 0; color: #fff; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.16; }
.ai-map-intro > p:last-child { margin: 16px 0 0; color: #dce6f8; font-size: 1.05rem; }
.ai-map-foundation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-bottom: 44px; position: relative; }
.ai-map-foundation::after { position: absolute; left: 50%; bottom: 0; width: 2px; height: 44px; background: #ffd500; content: ""; }
.ai-map-node { display: flex; flex-direction: column; min-height: 144px; padding: 24px; border: 1px solid #d7dce4; border-left: 5px solid #ffd500; background: #fff; color: #00133a; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.ai-map-node:hover, .ai-map-node:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.ai-map-node:focus-visible { outline: 3px solid #ffd500; outline-offset: 3px; }
.ai-map-node strong { display: block; font-size: 1.08rem; line-height: 1.35; }
.ai-map-node p { margin: 12px 0 0; color: #40506a; font-size: .9rem; line-height: 1.5; }
.ai-map-node small { display: block; margin-bottom: 10px; color: #425779; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.ai-map-node span { margin-top: auto; padding-top: 13px; color: #002366; font-size: .88rem; font-weight: 800; }
.ai-map-branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; padding-top: 28px; }
.ai-map-branches::before { position: absolute; top: 0; left: 16.66%; right: 16.66%; height: 2px; background: #ffd500; content: ""; }
.ai-map-branch { position: relative; min-width: 0; }
.ai-map-branch::before { position: absolute; top: -28px; left: 50%; width: 2px; height: 28px; background: #ffd500; content: ""; }
.ai-map-branch h3 { margin: 0 0 6px; color: #ffd500; font-size: 1.17rem; }
.ai-map-branch > p { min-height: 52px; margin: 0 0 18px; color: #dce6f8; font-size: .9rem; }
.ai-map-steps { display: grid; gap: 20px; }
.ai-map-steps .ai-map-node + .ai-map-node { position: relative; }
.ai-map-steps .ai-map-node + .ai-map-node::before { position: absolute; top: -21px; left: 50%; height: 20px; width: 2px; background: #ffd500; content: ""; }
.ai-map-branch--education .ai-map-node + .ai-map-node::before { display: none; }
.ai-map-branch--business .ai-map-node { border-left-color: #ffd500; }
.ai-map-branch--applied .ai-map-node { border-left-color: #53b8ad; }
.ai-map-branch--education .ai-map-node { border-left-color: #8db3e8; }
.ai-map-note { max-width: 900px; margin: 34px 0 0; color: #dce6f8; font-size: .91rem; }
.ai-map-note a { color: #ffd500; }
.qualification-card h3[id] { scroll-margin-top: 96px; }
@media (max-width: 900px) {
  .ai-map { padding: 64px 0; }
  .ai-map-branches { grid-template-columns: 1fr; gap: 32px; padding-top: 0; }
  .ai-map-branches::before, .ai-map-branch::before, .ai-map-foundation::after { display: none; }
  .ai-map-foundation { padding-bottom: 30px; }
  .ai-map-branch > p { min-height: 0; }
}
@media (max-width: 620px) {
  .ai-map .container { width: min(100% - 32px, 1160px); }
  .ai-map-foundation { grid-template-columns: 1fr; }
  .ai-map-node { min-height: 0; }
}
