:root {
--bg: #ffffff;
--surface: #ffffff;
--surface-2: #f7f8fa;
--surface-3: #eef0f4;
--fg: #0a0e16;
--fg-2: #1f2632;
--muted: #5b6573;
--muted-2: #667080;
--border: #e6e9ee;
--border-strong: #cdd3dc;
--metropolitano: #0033FF;
--corredor-azul: #1d4ed8;
--corredor-rojo: #b91c1c;
--corredor-morado: #6d28d9;
--metro-l1:       #008742;
--metro-l2:       #aa6704;
--aerodirecto:    #0369a1;
--colebus:        #cd4d0b;
--alimentador:    #fcb600;
--accent: var(--metropolitano);
--ok:     #047857;
--ok-bg:  #e6f6f0;
--warn:   #a16204;
--warn-bg:#fff4e1;
--danger: #cc2c2c;
--danger-bg:#fbeaea;
--font-sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', system-ui, sans-serif;
--font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;
--r-xs: 4px;
--r-sm: 6px;
--r-md: 10px;
--r-lg: 14px;
--shadow-1: 0 1px 2px rgba(10,14,22,.04), 0 1px 1px rgba(10,14,22,.04);
--shadow-2: 0 4px 12px rgba(10,14,22,.06), 0 2px 4px rgba(10,14,22,.04);
--container: 1200px;
--nav-h: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
font: 16px/1.6 var(--font-sans);
color: var(--fg);
background: var(--bg);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.kicker {
font: 600 11px/1 var(--font-mono);
letter-spacing: .12em;
text-transform: uppercase;
color: var(--muted);
}
.nav {
position: sticky; top: 0; z-index: 50;
background: rgba(255,255,255,.88);
backdrop-filter: saturate(160%) blur(10px);
-webkit-backdrop-filter: saturate(160%) blur(10px);
border-bottom: 1px solid var(--border);
}
.nav-inner {
height: var(--nav-h);
display: flex; align-items: center; gap: 18px;
}
.brand {
display: flex; align-items: center; gap: 8px;
font-weight: 700; letter-spacing: -.01em;
font-size: 16px;
}
.brand .dot {
width: 22px; height: 22px; border-radius: 6px;
background: var(--accent);
display: grid; place-items: center;
color: #fff; font: 700 11px/1 var(--font-mono);
}
.nav-links { display: none; gap: 4px; margin-left: 12px; }
.nav-links a {
padding: 8px 12px; border-radius: var(--r-sm);
font-size: 14px; color: var(--muted);
transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--fg); }
.nav-links a.is-active { color: var(--fg); background: var(--surface-2); }
.nav-spacer { flex: 1; }
.nav-search {
display: none;
align-items: center; gap: 8px;
padding: 0 10px 0 12px;
height: 36px; min-width: 280px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 999px;
color: var(--muted);
font-size: 14px;
cursor: pointer;
}
.nav-search:hover { background: var(--surface-3); }
.nav-search kbd {
margin-left: auto;
padding: 2px 6px;
background: #fff;
border: 1px solid var(--border);
border-radius: 4px;
font: 600 11px/1 var(--font-mono);
color: var(--muted);
}
.nav-burger {
width: 40px; height: 40px;
display: grid; place-items: center;
border-radius: var(--r-sm);
}
.nav-burger:hover { background: var(--surface-2); }
@media (min-width: 760px) {
.nav-links { display: none; }
.nav-search { display: flex; }
.nav-burger { display: none; }
}
.hero {
padding: 36px 0 24px;
border-bottom: 1px solid var(--border);
background: linear-gradient(180deg, var(--surface-2), var(--bg));
}
.hero h1 {
font-size: clamp(28px, 5vw, 40px);
letter-spacing: -.02em;
line-height: 1.1;
font-weight: 700;
max-width: 18ch;
}
.hero p {
margin-top: 10px;
color: var(--muted);
max-width: 50ch;
font-size: 15px;
}
.search {
margin-top: 22px;
display: flex; align-items: center;
background: #fff;
border: 1px solid var(--border-strong);
border-radius: 12px;
padding: 6px 6px 6px 14px;
box-shadow: var(--shadow-1);
transition: border-color .15s, box-shadow .15s;
}
.search:focus-within {
border-color: var(--fg);
box-shadow: 0 0 0 4px rgba(10,14,22,.06);
}
.search svg { color: var(--muted); flex-shrink: 0; }
.search input {
flex: 1; min-width: 0;
border: 0; outline: 0; background: transparent;
padding: 12px 10px;
font-size: 16px;
}
.search input::placeholder { color: var(--muted-2); }
.search .btn-primary {
height: 40px;
padding: 0 16px;
border-radius: 8px;
background: var(--fg);
color: #fff;
font-weight: 600;
font-size: 14px;
display: inline-flex; align-items: center; gap: 6px;
}
.search .btn-primary:hover { background: #000; }
.cta-btn {
display: inline-flex; align-items: center; gap: 8px;
height: 44px;
padding: 0 20px;
border-radius: 8px;
background: var(--accent);
color: #fff;
font-weight: 600;
font-size: 15px;
}
.cta-btn:hover { filter: brightness(0.92); }
.highlight-panel {
display: flex; align-items: flex-start; gap: 20px;
margin-top: 28px;
padding: 28px;
border: 1px solid var(--border);
border-left: 4px solid var(--accent);
border-radius: var(--r-lg);
background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface));
box-shadow: var(--shadow-1);
}
.highlight-panel-icon {
display: grid; place-items: center; flex-shrink: 0;
width: 52px; height: 52px;
border-radius: 50%;
background: var(--accent);
color: #fff;
}
.highlight-panel h3 { margin: 0 0 8px; font-size: 19px; }
.highlight-panel p { margin: 0 0 18px; }
@media (max-width: 560px) {
.highlight-panel { flex-direction: column; padding: 20px; }
}
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
display: inline-flex; align-items: center; gap: 6px;
padding: 6px 10px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 999px;
font-size: 13px;
color: var(--muted);
}
.chip:hover { color: var(--fg); border-color: var(--border-strong); }
.chip .b { color: var(--fg); font-weight: 500; }
.section { padding: 40px 0; }
.section-head {
display: flex; align-items: end; justify-content: space-between;
gap: 12px; margin-bottom: 18px;
}
.section-head h2 {
font-size: clamp(20px, 3vw, 24px);
letter-spacing: -.01em;
font-weight: 700;
}
.section-head .link {
color: var(--muted);
font-size: 14px;
display: inline-flex; align-items: center; gap: 4px;
}
.section-head .link:hover { color: var(--fg); }
.badge {
--c: var(--metropolitano);
display: inline-flex; align-items: center; justify-content: center;
min-width: 40px; height: 28px;
padding: 0 10px;
background: var(--c);
color: #fff;
border-radius: var(--r-sm);
font: 700 13px/1 var(--font-mono);
letter-spacing: .03em;
}
.badge.lg { min-width: 60px; height: 40px; font-size: 18px; border-radius: 8px; }
.badge.xl { min-width: 80px; height: 56px; font-size: 24px; border-radius: 10px; }
.badge[data-sys="metropolitano"]   { --c: var(--metropolitano); }
.badge[data-sys="corredor-azul"]   { --c: var(--corredor-azul); }
.badge[data-sys="corredor-rojo"]   { --c: var(--corredor-rojo); }
.badge[data-sys="corredor-morado"] { --c: var(--corredor-morado); }
.badge[data-sys="metro-l1"]        { --c: var(--metro-l1); }
.badge[data-sys="metro-l2"]        { --c: var(--metro-l2); }
.badge[data-sys="aerodirecto"]     { --c: var(--aerodirecto); }
.badge[data-sys="colebus"]         { --c: var(--colebus); }
.badge[data-sys="alimentador"]     { --c: var(--alimentador); color: #1a1a1a; }
.pill {
display: inline-flex; align-items: center; gap: 6px;
padding: 3px 8px;
border-radius: 999px;
font: 600 12px/1 var(--font-sans);
}
.pill::before {
content: ""; width: 6px; height: 6px; border-radius: 50%;
background: currentColor;
}
.pill.ok     { background: var(--ok-bg);    color: var(--ok); }
.pill.warn   { background: var(--warn-bg);  color: var(--warn); }
.pill.danger { background: var(--danger-bg);color: var(--danger); }
.systems {
display: grid; gap: 10px;
grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .systems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .systems { grid-template-columns: repeat(3, 1fr); } }
.sys-card {
display: flex; align-items: center; gap: 14px;
padding: 14px 16px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
transition: border-color .15s, transform .15s;
}
.sys-card:hover { border-color: var(--border-strong); }
.sys-card .info { flex: 1; min-width: 0; }
.sys-card .name { font-weight: 600; font-size: 15px; }
.sys-card .meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.sys-card .arrow { color: var(--muted-2); }
.routes {
display: grid; gap: 8px;
grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .routes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .routes { grid-template-columns: repeat(3, 1fr); } }
.route-card {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center; gap: 14px;
padding: 12px 14px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
transition: border-color .15s, background .15s;
}
.route-card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.route-card .label { font-weight: 600; font-size: 14px; line-height: 1.3; }
.route-card .od    { color: var(--muted); font-size: 12px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.filters {
display: flex; flex-wrap: wrap; gap: 6px;
padding: 14px 0;
border-bottom: 1px solid var(--border);
}
.filter {
padding: 7px 12px;
border: 1px solid var(--border);
border-radius: 999px;
font-size: 13px;
background: var(--surface);
color: var(--muted);
}
.filter:hover { color: var(--fg); border-color: var(--border-strong); }
.filter.is-active {
background: var(--fg); color: #fff; border-color: var(--fg);
}
.table {
width: 100%;
border-collapse: collapse;
}
.table thead th {
text-align: left;
font: 600 11px/1 var(--font-mono);
letter-spacing: .1em;
text-transform: uppercase;
color: var(--muted);
padding: 12px 10px;
border-bottom: 1px solid var(--border);
}
.table tbody td {
padding: 14px 10px;
border-bottom: 1px solid var(--border);
font-size: 14px;
vertical-align: middle;
}
.table tbody tr:hover td { background: var(--surface-2); }
.table tbody tr[onclick] { cursor: pointer; }
.table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.table .name { font-weight: 600; }
.table .od { color: var(--muted); font-size: 13px; margin-top: 2px; }
@media (max-width: 720px) {
.table thead { display: none; }
.table, .table tbody, .table tr, .table td { display: block; width: 100%; }
.table tr {
border: 1px solid var(--border);
border-radius: var(--r-md);
padding: 12px 14px;
margin-bottom: 8px;
display: grid;
grid-template-columns: auto 1fr auto;
gap: 10px 14px;
align-items: center;
}
.table tbody tr:hover td { background: transparent; }
.table td { padding: 0; border: 0; }
.table td[data-label="Ruta"] { grid-row: 1; grid-column: 2 / 3; }
.table td[data-label="ID"]   { grid-row: 1; grid-column: 1 / 2; }
.table td[data-label="Estado"] { grid-row: 1; grid-column: 3 / 4; justify-self: end; }
.table td[data-label="Frecuencia"],
.table td[data-label="Horario"] {
grid-column: 1 / -1;
color: var(--muted); font-size: 13px;
padding-top: 4px;
border-top: 1px solid var(--border);
margin-top: 4px;
}
.table td[data-label="Frecuencia"]::before { content: "Cada " ; color: var(--muted); }
.table td[data-label="Horario"]::before    { content: "Horario · "; color: var(--muted); }
}
.route-head {
padding: 28px 0 18px;
border-bottom: 1px solid var(--border);
background: var(--surface-2);
}
.crumbs {
font: 500 13px/1 var(--font-sans);
color: var(--muted);
margin-bottom: 14px;
display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.crumbs a:hover { color: var(--fg); }
.crumbs .sep { color: var(--muted-2); }
.route-title {
display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.route-title h1 {
font-size: clamp(24px, 4vw, 32px);
letter-spacing: -.02em;
font-weight: 700;
}
.route-title .pill { transform: translateY(1px); }
.route-meta {
margin-top: 12px;
display: flex; flex-wrap: wrap; gap: 20px;
color: var(--muted);
font-size: 14px;
}
.route-meta .k { color: var(--muted); margin-right: 6px; font-size: 13px; }
.route-meta .v { color: var(--fg); font-weight: 500; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.tabs {
display: flex; gap: 2px;
border-bottom: 1px solid var(--border);
overflow-x: auto;
scrollbar-width: none;
background: var(--bg);
position: sticky;
top: var(--nav-h);
z-index: 20;
backdrop-filter: saturate(160%) blur(10px);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
padding: 14px 14px;
font-size: 14px;
font-weight: 500;
color: var(--muted);
border-bottom: 2px solid transparent;
white-space: nowrap;
margin-bottom: -1px;
}
.tab:hover { color: var(--fg); }
.tab.is-active { color: var(--fg); border-bottom-color: var(--fg); }
.panel { display: none; padding: 28px 0 60px; }
.panel.is-active { display: block; }
.route-grid {
display: grid; gap: 24px;
grid-template-columns: 1fr;
}
@media (min-width: 980px) {
.route-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
}
.stops-head {
display: flex; align-items: center; justify-content: space-between;
margin-bottom: 12px;
}
.stops-head h3 { font-size: 15px; font-weight: 600; }
.dir-toggle {
display: inline-flex;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 999px;
padding: 3px;
font-size: 12px;
}
.dir-toggle button {
padding: 5px 10px;
border-radius: 999px;
color: var(--muted);
font-weight: 500;
}
.dir-toggle button.is-active {
background: #fff; color: var(--fg);
box-shadow: var(--shadow-1);
}
.stops {
position: relative;
}
.stop {
position: relative;
display: grid;
grid-template-columns: 56px 1fr auto;
gap: 12px;
padding: 14px 8px 14px 0;
align-items: center;
}
.stop + .stop { border-top: 1px solid var(--border); }
.stop .time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--muted); }
.stop .info .name { font-weight: 600; font-size: 14px; }
.stop .info .sub  { color: var(--muted); font-size: 12px; margin-top: 2px; }
.stop .conn { display: flex; gap: 4px; }
.stop .conn .badge { min-width: 28px; height: 22px; font-size: 11px; padding: 0 6px; border-radius: 4px; }
.stop::before {
content: "";
position: absolute;
left: 70px;
top: 0; bottom: 0;
width: 2px;
background: var(--accent);
opacity: .25;
}
.stop::after {
content: "";
position: absolute;
left: 65px;
top: 50%; transform: translateY(-50%);
width: 12px; height: 12px;
border-radius: 50%;
background: #fff;
border: 2px solid var(--accent);
z-index: 1;
}
.stop.is-terminus::after { background: var(--accent); }
.stop:first-child::before { top: 50%; }
.stop:last-child::before  { bottom: 50%; }
.map {
position: relative;
aspect-ratio: 4 / 5;
border: 1px solid var(--border);
border-radius: var(--r-md);
overflow: hidden;
background: var(--surface-2);
z-index: 0;
}
@media (min-width: 980px) {
.map { position: sticky; top: calc(var(--nav-h) + 60px); aspect-ratio: 1 / 1.1; }
}
.map svg { width: 100%; height: 100%; display: block; }
.map .leaflet-container {
width: 100%; height: 100%;
background: var(--surface-2);
font: 13px/1.4 var(--font-sans);
}
.map .leaflet-control-attribution {
background: rgba(255,255,255,.86);
font-size: 10px;
color: var(--muted);
padding: 2px 6px;
}
.map .leaflet-control-attribution a { color: var(--fg); }
.map .leaflet-control-zoom a {
background: #fff;
color: var(--fg);
border: 1px solid var(--border-strong);
font-weight: 600;
}
.map .leaflet-control-zoom a:hover { background: var(--surface-2); }
.map .leaflet-popup-content-wrapper {
border-radius: var(--r-sm);
box-shadow: var(--shadow-2);
padding: 2px;
}
.map .leaflet-popup-content {
margin: 8px 12px;
font-size: 13px;
line-height: 1.4;
}
.map .leaflet-popup-tip { box-shadow: var(--shadow-1); }
.service-grid {
display: grid;
gap: 10px;
grid-template-columns: 1fr;
margin-bottom: 22px;
}
@media (min-width: 540px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
.svc {
padding: 14px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
}
.svc .k { font: 600 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.svc .v { margin-top: 6px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.svc .sub { margin-top: 4px; color: var(--muted); font-size: 12px; }
.schedule {
display: grid; gap: 12px;
grid-template-columns: 1fr;
}
@media (min-width: 720px) { .schedule { grid-template-columns: repeat(2, 1fr); } }
.sched-card {
padding: 16px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
}
.sched-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.sched-row {
display: flex; justify-content: space-between;
padding: 8px 0;
font-size: 14px;
border-top: 1px dashed var(--border);
}
.sched-row:first-of-type { border-top: 0; }
.sched-row .lbl { color: var(--muted); }
.sched-row .val { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; }
.fare {
display: flex; align-items: center; gap: 20px;
padding: 20px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
}
.fare .price {
font: 700 36px/1 var(--font-mono);
letter-spacing: -.02em;
}
.fare .price small { font-size: 16px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.fare .desc { color: var(--muted); font-size: 14px; }
.conn-grid {
display: grid; gap: 8px;
grid-template-columns: 1fr;
}
@media (min-width: 720px) { .conn-grid { grid-template-columns: repeat(2, 1fr); } }
.arrivals {
border: 1px solid var(--border);
border-radius: var(--r-md);
overflow: hidden;
background: var(--surface);
}
.arrival {
display: grid;
grid-template-columns: auto 1fr auto;
gap: 14px;
align-items: center;
padding: 14px 16px;
}
.arrival + .arrival { border-top: 1px solid var(--border); }
.arrival .dest { font-weight: 600; font-size: 15px; }
.arrival .via  { color: var(--muted); font-size: 13px; margin-top: 2px; }
.arrival .eta {
text-align: right;
font: 700 22px/1 var(--font-mono);
font-variant-numeric: tabular-nums;
letter-spacing: -.02em;
}
.arrival .eta small {
display: block;
font: 500 11px/1.4 var(--font-sans);
color: var(--muted);
margin-top: 4px;
letter-spacing: 0;
}
.arrival .eta.now { color: var(--ok); }
.foot {
border-top: 1px solid var(--border);
padding: 28px 0 60px;
margin-top: 40px;
background: var(--surface-2);
color: var(--muted);
font-size: 13px;
}
.foot-inner {
display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: start;
}
.foot a:hover { color: var(--fg); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 32px; }
.foot-cols b { display: block; color: var(--fg); font-size: 13px; margin-bottom: 6px; font-weight: 600; }
.foot-cols ul li { padding: 3px 0; }
.foot-legal {
display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
}
.foot-legal a { color: var(--muted); font-size: 13px; }
.foot-legal a:hover { color: var(--fg); }
.foot-copy {
margin-top: 24px; padding-top: 16px;
border-top: 1px solid var(--border);
font-size: 12px; color: var(--muted);
text-align: center;
}
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: revert; } .only-sm { display: none; } }
.carousel-inner {
position: relative;
}
.carousel::-webkit-scrollbar {
display: none;
}
.carousel {
scrollbar-width: none;
-ms-overflow-style: none;
}
.carousel-btn-prev,
.carousel-btn-next {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 10;
width: 48px;
height: 48px;
border-radius: 50%;
border: 2px solid var(--border);
background: var(--surface);
color: var(--fg);
font-size: 28px;
line-height: 1;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.carousel-btn-prev { left: -24px; }
.carousel-btn-next { right: -24px; }
.carousel-btn-prev:hover,
.carousel-btn-next:hover {
background: var(--accent);
color: white;
border-color: var(--accent);
box-shadow: 0 4px 12px rgba(0,51,255,0.2);
}
@media (min-width: 721px) {
.station-card {
flex: 0 0 calc(50% - 8px) !important;
}
}
@media (max-width: 720px) {
.carousel-btn-prev,
.carousel-btn-next {
display: none;
}
}
@media (max-width: 759px) {
.nav { overflow: visible; }
.nav-links.is-open {
display: flex; flex-direction: column;
position: absolute; left: 0; right: 0; top: 100%;
background: var(--bg); border-bottom: 2px solid var(--border);
padding: 4px 12px 10px; z-index: 30;
box-shadow: 0 8px 16px rgba(10,14,22,.08);
max-height: calc(100vh - 60px); overflow-y: auto;
}
.nav-links.is-open a {
padding: 8px 8px; font-size: 13px; color: var(--fg);
border-bottom: 1px solid var(--border);
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-links.is-open a:last-child { border-bottom: 0; }
}
.dir-links {
margin-top: 24px; display: grid; gap: 8px;
grid-template-columns: 1fr;
}
@media (min-width: 560px) { .dir-links { grid-template-columns: repeat(2, 1fr); } }
.dir-link {
display: flex; align-items: center; gap: 14px;
padding: 14px 16px;
border: 1px solid var(--border); border-radius: var(--r-md);
background: var(--surface);
transition: border-color .15s, background .15s;
}
.dir-link:hover { border-color: var(--border-strong); background: var(--surface-2); }
.dir-link .dl-name { font-weight: 600; font-size: 15px; color: var(--fg); }
.dir-link .dl-sub  { color: var(--muted); font-size: 13px; margin-top: 2px; }
.sys-group { padding: 36px 0 28px; }
.sys-group + .sys-group { border-top: 2px solid var(--border); }
.sys-group-head {
display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.sys-group-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.info-band {
display: flex; flex-wrap: wrap;
border: 1px solid var(--border); border-radius: var(--r-md);
overflow: hidden; background: var(--surface-2);
}
.info-band-item {
flex: 1; min-width: 120px;
padding: 14px 18px; border-right: 1px solid var(--border);
}
.info-band-item:last-child { border-right: 0; }
.info-band-item .ib-k {
font: 600 11px/1 var(--font-mono); letter-spacing: .1em;
text-transform: uppercase; color: var(--muted);
}
.info-band-item .ib-v {
margin-top: 6px; font-size: 18px; font-weight: 700;
letter-spacing: -.01em; font-variant-numeric: tabular-nums;
}
.schedule-table {
width: 100%; border-collapse: collapse;
background: var(--surface); border: 1px solid var(--border);
border-radius: var(--r-md); overflow: hidden; font-size: 14px;
}
.schedule-table th {
background: var(--surface-2); text-align: left; padding: 10px 14px;
font: 600 11px/1 var(--font-mono); letter-spacing: .1em;
text-transform: uppercase; color: var(--muted);
border-bottom: 1px solid var(--border);
}
.schedule-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.schedule-table tr:last-child td { border-bottom: 0; }
.schedule-table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
@media (max-width: 620px) {
.schedule-table thead { display: none; }
.schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td { display: block; }
.schedule-table tr { border-bottom: 1px solid var(--border); padding: 12px 0; }
.schedule-table td { padding: 4px 14px; border: 0; }
.schedule-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 12px; }
}
.accordion-trigger {
width: 100%;
display: flex; align-items: center; justify-content: space-between; gap: 12px;
padding: 14px 16px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
font-size: 14px; font-weight: 600;
cursor: pointer;
transition: background .15s;
}
.accordion-trigger:hover { background: var(--surface-2); }
.accordion-trigger svg {
width: 20px; height: 20px; flex-shrink: 0;
color: var(--metropolitano);
transition: transform .2s;
}
.accordion-trigger[aria-expanded="true"] svg {
transform: rotate(90deg);
}
.accordion-content {
padding: 14px 16px;
background: var(--surface-2);
border: 1px solid var(--border);
border-top: 0;
border-radius: 0 0 var(--r-md) var(--r-md);
font-size: 14px;
color: var(--muted);
line-height: 1.6;
}
.accordion-content p { margin: 0; }
section[id], h2[id] { scroll-margin-top: calc(var(--nav-h) + 20px); }
.cky-consent-container.cky-banner-bottom {
font-family: var(--font-sans) !important;
}
.cky-consent-bar {
padding: 16px 20px !important;
align-items: center !important;
}
.cky-notice-des, .cky-notice-des * {
font-family: var(--font-sans) !important;
font-size: 13px !important;
line-height: 1.5 !important;
color: var(--fg) !important;
}
[data-cky-tag="accept-button"] {
font-family: var(--font-sans) !important;
font-weight: 700 !important;
font-size: 14px !important;
padding: 10px 22px !important;
background: var(--accent) !important;
color: #fff !important;
border: none !important;
border-radius: var(--r-md) !important;
box-shadow: none !important;
transition: opacity .15s !important;
}
[data-cky-tag="accept-button"]:hover {
opacity: .88 !important;
}
@media (max-width: 620px) {
.cky-consent-bar {
padding: 14px 16px !important;
flex-direction: column !important;
align-items: stretch !important;
gap: 10px !important;
}
.cky-notice-des {
font-size: 12.5px !important;
max-height: 30vh !important;
overflow-y: auto !important;
}
.cky-notice-btn-wrapper {
width: 100% !important;
}
[data-cky-tag="accept-button"] {
width: 100% !important;
padding: 12px 22px !important;
font-size: 15px !important;
}
}
.floating-cta {
position: fixed;
left: 16px;
bottom: 16px;
z-index: 60;
opacity: 0;
visibility: hidden;
transform: translateY(8px);
transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.floating-cta.is-visible {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.floating-cta-sticker {
display: inline-flex;
align-items: center;
gap: 6px;
border: none;
border-radius: 999px;
padding: 12px 18px;
background: var(--accent);
color: #fff;
font-size: 13.5px;
font-weight: 700;
line-height: 1;
box-shadow: 0 6px 20px rgba(0,0,0,.22);
cursor: pointer;
}
.floating-cta-sticker:focus-visible {
outline: 2px solid #fff;
outline-offset: 2px;
}
.floating-cta-menu {
list-style: none;
margin: 0 0 10px;
padding: 6px;
position: absolute;
bottom: 100%;
left: 0;
min-width: 210px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
box-shadow: 0 10px 30px rgba(0,0,0,.18);
display: none;
}
.floating-cta.is-open .floating-cta-menu {
display: block;
}
.floating-cta-item {
display: block;
padding: 10px 12px;
border-radius: calc(var(--r-md) - 4px);
color: var(--fg);
font-size: 14px;
font-weight: 600;
text-decoration: none;
}
.floating-cta-item:hover,
.floating-cta-item:focus-visible {
background: var(--surface-2);
}
@media (min-width: 768px) {
.floating-cta {
display: none;
}
}
.ml-toc { background: var(--surface-2); border-top: 1px solid var(--border); }
.ml-toc-title { margin: 0 0 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--fg); }
.ml-toc-list, .ml-toc-sub { list-style: none; margin: 0; padding: 0; }
.ml-toc-list { display: grid; gap: 5px; counter-reset: ml-toc; }
.ml-toc-list > li { position: relative; padding-left: 24px; line-height: 1.15; }
.ml-toc-list > li::before {
counter-increment: ml-toc; content: counter(ml-toc) "."; position: absolute; left: 0; top: 0;
font-weight: 700; font-size: 14px; color: var(--fg);
}
.ml-toc-list > li > a { font-size: 15px; font-weight: 600; }
.ml-toc-sub { margin: 5px 0 2px; display: grid; gap: 2px; }
.ml-toc-sub > li { padding-left: 14px; border-left: 2px solid var(--border); line-height: 1.15; }
.ml-toc-sub > li > a { font-size: 13.5px; }
.ml-toc a { color: var(--accent); text-decoration: none; }
.ml-toc a:hover, .ml-toc a:focus-visible { text-decoration: underline; }
.container h1[id], .container h2[id], .container h3[id] { scroll-margin-top: 16px; }