.aam-section {
    --aam-height: 620px;
    --aam-primary: #005AA8;
    --aam-secondary: #36BFE8;
    --aam-stage: #F6FBFE;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    color: #123A5A;
}
.aam-heading {
    text-align: center;
    margin: 0 auto 26px;
    max-width: 820px;
}
.aam-eyebrow {
    color: var(--aam-primary);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.aam-heading h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.025em;
    color: #0B2F4D;
}
.aam-heading h2::after {
    content: '';
    display: block;
    width: 68px;
    height: 4px;
    border-radius: 999px;
    margin: 13px auto 0;
    background: linear-gradient(90deg, var(--aam-primary), var(--aam-secondary));
}
.aam-heading p {
    margin: 12px auto 0;
    max-width: 720px;
    color: #57748D;
    font-size: 16px;
    line-height: 1.65;
}
.aam-map-stage {
    position: relative;
    width: 100%;
    min-height: min(var(--aam-height), 75vw);
    height: var(--aam-height);
    max-height: 78vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 20%, rgba(54,191,232,.10), transparent 32%),
        radial-gradient(circle at 14% 82%, rgba(0,90,168,.055), transparent 31%),
        var(--aam-stage);
    border: 1px solid rgba(0,90,168,.13);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0,63,115,.09), inset 0 0 0 1px rgba(255,255,255,.82);
}
.aam-map-stage::before,
.aam-map-stage::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,.36);
    pointer-events: none;
}
.aam-map-stage::before { top:-112px; left:-82px; transform:rotate(12deg); }
.aam-map-stage::after { right:-96px; bottom:-112px; transform:rotate(-9deg); }
.aam-svg {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 13px 22px rgba(0,74,128,.14));
}
.aam-province {
    cursor: pointer;
    transition: fill .16s ease, filter .16s ease, opacity .16s ease;
    outline: none;
}
.aam-province:hover,
.aam-province:focus {
    filter: drop-shadow(0 4px 7px rgba(0,73,126,.27));
}
.aam-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    paint-order: stroke fill;
    stroke: rgba(255,255,255,.98);
    stroke-width: 4px;
    stroke-linejoin: round;
    user-select: none;
}
.aam-pointer {
    cursor: pointer;
    transform-box: fill-box;
    transform-origin: center;
    transition: transform .16s ease, filter .16s ease;
    outline: none;
}
.aam-pointer:hover,
.aam-pointer:focus {
    transform: scale(1.14);
    filter: drop-shadow(0 6px 8px rgba(0,75,132,.34));
}
.aam-pointer-pulse {
    opacity: .26;
    transform-box: fill-box;
    transform-origin: center;
    animation: aamPulse 2.2s ease-out infinite;
    pointer-events: none;
}
@keyframes aamPulse {
    0% { transform: scale(.65); opacity: .34; }
    70% { transform: scale(1.62); opacity: 0; }
    100% { transform: scale(1.62); opacity: 0; }
}
.aam-tooltip {
    position: absolute;
    z-index: 9;
    min-width: 190px;
    max-width: 310px;
    padding: 13px 15px;
    border: 1px solid rgba(0,90,168,.16);
    border-radius: 12px;
    box-shadow: 0 15px 38px rgba(8,43,72,.20);
    font-size: 13px;
    line-height: 1.5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(5px);
    transition: opacity .12s ease, transform .12s ease;
}
.aam-tooltip::after {
    content: '';
    position: absolute;
    left: 18px;
    bottom: -6px;
    width: 10px;
    height: 10px;
    background: inherit;
    border-right: 1px solid rgba(0,90,168,.16);
    border-bottom: 1px solid rgba(0,90,168,.16);
    transform: rotate(45deg);
}
.aam-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.aam-tooltip strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 800;
}
.aam-tooltip span { display: block; opacity: .84; }
.aam-tooltip .aam-tooltip-status {
    margin-top: 7px;
    font-size: 11px;
    font-weight: 800;
    color: var(--aam-primary);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.aam-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #57748D;
    font-size: 14px;
}
.aam-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 15px;
    color: #516E87;
    font-size: 13px;
}
.aam-legend span { display: inline-flex; align-items: center; gap: 8px; }
.aam-legend-note { opacity: .82; }
.aam-pin-mini {
    --pin:#006FBE;
    width: 14px;
    height: 14px;
    display: inline-block;
    border-radius: 50% 50% 50% 0;
    background: var(--pin);
    transform: rotate(-45deg);
    box-shadow: 0 0 0 4px rgba(0,111,190,.13);
    position: relative;
}
.aam-pin-mini::after {
    content:'';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background:#fff;
    position:absolute;
    inset:0;
    margin:auto;
}
@media (max-width: 900px) {
    .aam-map-stage { min-height: 500px; height: 65vw; }
    .aam-label { font-size: 11.8px; stroke-width: 3.4px; }
}
@media (max-width: 640px) {
    .aam-heading { margin-bottom: 18px; }
    .aam-heading p { font-size: 14px; }
    .aam-map-stage { min-height: 430px; height: 110vw; border-radius: 16px; }
    .aam-label { font-size: 10.7px; stroke-width: 3px; }
    .aam-tooltip { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
    .aam-pointer-pulse { animation: none; }
    .aam-pointer, .aam-province, .aam-tooltip { transition: none; }
}
