/* Concept 3 - mappa delle rotte di carriera (career-routes): tema scuro,
   linee colorate stile metropolitana. */

body.concept-3 {
    --paper: #14161c;
    --ink: #f2f4f8;
    --soft: #1b1e27;
    --muted: #a9b0c0;
    --accent: #2ee6c5;
    --accent-ink: #0b0d12;
    --line: #3a4052;
}

body.concept-3 .btn {
    border-color: var(--accent);
}

/* Il ciano (--accent) è troppo chiaro per reggere testo bianco dentro la
   freccia del marchio: qui il testo resta scuro, non serve scurire la
   freccia come per gli altri due temi chiari. */
body.concept-3 {
    --brand-ink: #14161c;
}

.map {
    max-width: 960px;
    margin: 0 auto;
    padding: 18px;
    border: 2px solid var(--line);
    border-radius: 14px;
    background: var(--soft);
    overflow-x: auto;
}

.map svg {
    display: block;
    min-width: 720px;
    width: 100%;
    height: auto;
}

.map .rail {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
}

.map .rail--a { stroke: #2ee6c5; }
.map .rail--b { stroke: #ff9f43; }
.map .rail--c { stroke: #a78bfa; }

.map .stop {
    fill: #ffffff;
    stroke: #14161c;
    stroke-width: 4;
}

.map .hub {
    fill: #ffffff;
    stroke: #14161c;
    stroke-width: 4;
}

.map text {
    fill: #f2f4f8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    text-anchor: middle;
}

.map .hub-label {
    font-weight: 800;
    font-size: 15px;
    fill: #2ee6c5;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
}

.legend i {
    display: inline-block;
    width: 22px;
    height: 8px;
    margin-right: 8px;
    border-radius: 4px;
    vertical-align: middle;
}

.legend .a { background: #2ee6c5; }
.legend .b { background: #ff9f43; }
.legend .c { background: #a78bfa; }

.route {
    max-width: 960px;
    margin: 0 auto;
}

.route .path {
    margin-bottom: 26px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: clamp(18px, 3vw, 26px);
}

.route .path em {
    font-style: normal;
    color: var(--accent);
}
