.aa-home-page .aa-map-hero {
  position: relative;
  min-height: 980px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 43%, rgba(83, 164, 129, 0.18), transparent 34%),
    linear-gradient(135deg, #052a23 0%, #06241f 45%, #031b17 100%);
}

.aa-map-hero__topography {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.17;
  background-image:
    repeating-radial-gradient(ellipse at 72% 42%, transparent 0 28px, rgba(164, 236, 0, 0.16) 29px 30px, transparent 31px 48px),
    linear-gradient(120deg, transparent 0 48%, rgba(255, 255, 255, 0.025) 49% 51%, transparent 52% 100%);
  mask-image: linear-gradient(to right, transparent, #000 38%, #000);
}

.aa-home-page .aa-map-hero__inner {
  display: grid;
  grid-template-areas:
    "copy map"
    "planner planner"
    "trust trust";
  grid-template-columns: minmax(350px, 0.68fr) minmax(660px, 1.42fr);
  gap: 18px 38px;
  min-height: 980px;
  padding: 192px 0 38px;
}

.aa-map-hero__copy {
  grid-area: copy;
  align-self: center;
  padding: 10px 0 86px;
}

.aa-map-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a9ec00;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.aa-map-hero__eyebrow::after {
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: #a9ec00;
  content: "";
}

.aa-home-page .aa-map-hero__copy h1 {
  max-width: 520px;
  margin: 26px 0 20px;
  color: #fff;
  font-size: clamp(3.15rem, 4vw, 4.55rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.aa-home-page .aa-map-hero__copy h1 span {
  display: block;
  color: #a9ec00;
}

.aa-map-hero__copy p {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.75;
}

.aa-map-hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.aa-map-hero__primary,
.aa-map-hero__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border-radius: 12px;
  font-weight: 700;
  transition: 180ms ease;
}

.aa-map-hero__primary {
  padding: 0 22px;
  color: #08261f;
  background: #a9ec00;
}

.aa-map-hero__secondary { color: #fff; }
.aa-map-hero__primary:hover { color: #08261f; transform: translateY(-2px); }
.aa-map-hero__secondary:hover { color: #a9ec00; }

.aa-map-legend {
  display: grid;
  gap: 10px;
  width: fit-content;
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(2, 27, 23, 0.52);
  backdrop-filter: blur(12px);
}

.aa-map-legend span { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; }
.aa-map-legend__line { width: 30px; border-top: 3px dotted #d8ff63; }
.aa-map-legend__line.-hidden { border-color: #42d6cf; }
.aa-map-legend__expert { color: #a9ec00; font-size: 1.15rem; }

.aa-map-experience {
  grid-area: map;
  align-self: center;
  min-width: 0;
}

.aa-map-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 461;
  filter: drop-shadow(0 28px 28px rgba(0, 0, 0, 0.26));
}

.aa-map-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.93;
  mix-blend-mode: screen;
  filter: invert(1) sepia(0.55) saturate(4.8) hue-rotate(85deg) brightness(0.78) contrast(1.2);
}

.aa-map-routes { position: absolute; inset: 0; }
.aa-map-route {
  position: absolute;
  left: 66%;
  top: 50%;
  width: var(--length);
  height: 2px;
  transform: rotate(var(--angle));
  transform-origin: left center;
  border-top: 2px dashed rgba(216, 255, 99, 0.5);
}
.aa-map-route.-hidden { border-color: rgba(66, 214, 207, 0.62); }
.aa-map-route.is-active { border-color: #d8ff63; filter: drop-shadow(0 0 7px #a9ec00); }

.aa-map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.aa-map-pin__thumb {
  position: relative;
  z-index: 2;
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 2px solid rgba(216, 255, 99, 0.85);
  border-radius: 50%;
  background: #123d33;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.35);
}

.aa-map-pin__thumb img { width: 100%; height: 100%; object-fit: cover; }
.aa-map-pin__label { display: grid; min-width: max-content; text-align: left; text-shadow: 0 2px 7px #001b16; }
.aa-map-pin__label strong { font-size: 0.8rem; line-height: 1.15; }
.aa-map-pin__label small { color: rgba(255, 255, 255, 0.7); font-size: 0.65rem; }
.aa-map-pin.is-active .aa-map-pin__thumb,
.aa-map-pin:hover .aa-map-pin__thumb { border-color: #a9ec00; box-shadow: 0 0 0 5px rgba(169, 236, 0, 0.18), 0 0 22px rgba(169, 236, 0, 0.46); }
.aa-map-pin.-hub .aa-map-pin__thumb { width: 58px; height: 58px; border-width: 3px; }

.aa-map-card {
  position: absolute;
  left: 26%;
  top: 24%;
  z-index: 5;
  display: flex;
  gap: 12px;
  width: 236px;
  padding: 10px;
  border: 1px solid rgba(169, 236, 0, 0.55);
  border-radius: 14px;
  color: #fff;
  background: rgba(3, 34, 28, 0.87);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.aa-map-card__image { width: 78px; height: 72px; border-radius: 9px; object-fit: cover; }
.aa-map-card > div { display: grid; align-content: center; min-width: 0; }
.aa-map-card__title { font-size: 0.93rem; }
.aa-map-card__subtitle { color: rgba(255, 255, 255, 0.68); font-size: 0.68rem; }
.aa-map-card__link { margin-top: 7px; color: #a9ec00; font-size: 0.68rem; font-weight: 700; }

.aa-route-planner {
  grid-area: planner;
  z-index: 8;
  display: grid;
  grid-template-columns: 0.8fr 1.15fr 1fr 1fr auto;
  align-items: stretch;
  width: min(1180px, 92%);
  margin: -36px auto 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  background: rgba(8, 48, 40, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.aa-route-field {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 7px 17px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.13);
}
.aa-route-field > i { color: #fff; font-size: 1.35rem; }
.aa-route-field span { display: grid; min-width: 0; width: 100%; }
.aa-route-field label { color: rgba(255, 255, 255, 0.6); font-size: 0.67rem; }
.aa-route-field strong,
.aa-route-field select,
.aa-route-field input { width: 100%; border: 0; outline: 0; color: #fff; background: transparent; font-size: 0.78rem; font-weight: 700; }
.aa-route-field select option { color: #08261f; }
.aa-route-field input { color-scheme: dark; }
.aa-route-submit { min-width: 170px; border: 0; border-radius: 12px; color: #08261f; background: #a9ec00; font-weight: 800; }

.aa-map-trust {
  grid-area: trust;
  display: flex;
  justify-content: center;
  gap: 70px;
  color: #fff;
}
.aa-map-trust > span { display: grid; grid-template-columns: 42px auto; align-items: center; column-gap: 12px; }
.aa-map-trust i { grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(169, 236, 0, 0.46); border-radius: 50%; color: #a9ec00; font-size: 1.2rem; }
.aa-map-trust strong { font-size: 0.84rem; }
.aa-map-trust small { color: rgba(255, 255, 255, 0.56); font-size: 0.68rem; }

.aa-home-page .aa-map-hero + .aa-benefit-band { position: relative; z-index: 2; }
