/* Ján Vrška, Transport - Spedition
   Koncept: pracovný denník dispečera. Veľké fotky návesov na celú šírku, údajové štítky ako na ťahači,
   dôraz na telefón a dopyt. Bez webfontov, všetko sa načíta zo systému zariadenia. */

:root {
  --paper: #f3f4f8;
  --paper-2: #e7e9f2;
  --surface: #ffffff;
  --ink: #15133a;
  --muted: #545776;
  --line: #d3d6e4;
  --brand: #2e186b;
  --link: #2e186b;
  --accent: #3447c7;
  --focus: #3447c7;
  --signal: #d4141b;
  --signal-ink: #ffffff;
  --adr: #f08a14;
  --band: #1b1352;
  --band-2: #261b6e;
  --band-ink: #f2f0ff;
  --band-muted: #bdb9e2;
  --band-line: rgba(242, 240, 255, .26);
  --show-logo-light: block;
  --show-logo-dark: none;
  --shadow: 0 1px 2px rgba(21, 19, 58, .08), 0 10px 28px rgba(21, 19, 58, .08);
  --radius: 6px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Avenir Next Condensed", "DIN Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 36px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e0c26; --paper-2: #17143a; --surface: #1a1741; --ink: #ecebfa; --muted: #a9a7cc;
    --line: #2f2c60; --brand: #b4bcff; --link: #b4bcff; --accent: #8e9cff; --focus: #9fabff;
    --band: #07061a; --band-2: #130f38; --band-line: rgba(242, 240, 255, .2);
    --show-logo-light: none; --show-logo-dark: block;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e0c26; --paper-2: #17143a; --surface: #1a1741; --ink: #ecebfa; --muted: #a9a7cc;
  --line: #2f2c60; --brand: #b4bcff; --link: #b4bcff; --accent: #8e9cff; --focus: #9fabff;
  --band: #07061a; --band-2: #130f38; --band-line: rgba(242, 240, 255, .2);
  --show-logo-light: none; --show-logo-dark: block;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.on-band :focus-visible, .site-footer :focus-visible, .phero :focus-visible, .hero :focus-visible { outline-color: #fff; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.02; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.2rem + 6.4vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); line-height: 1.1; }
p { margin: 0; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.55; max-width: 38em; }
.prose { max-width: 40em; display: grid; gap: 1rem; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--alt { background: var(--paper-2); }
.stack { display: grid; gap: 1.25rem; }
.stack-lg { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.sec-head { display: grid; gap: .9rem; margin-bottom: clamp(1.5rem, 4vw, 2.75rem); max-width: 46rem; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--signal); color: #fff; padding: .7rem 1rem; border-radius: 4px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 8px; }

/* Tlačidlá */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .65rem 1.3rem; border-radius: 4px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; text-align: center; }
.btn--signal { background: var(--signal); color: var(--signal-ink); }
.btn--signal:hover { background: #b60f15; color: #fff; }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: inherit; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--brand); color: #fff; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hlavička */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: block; flex: none; line-height: 0; }
.logo { height: 40px; width: auto; }
.logo--light { display: var(--show-logo-light); }
.logo--dark { display: var(--show-logo-dark); }
.nav-toggle { display: none; margin-left: auto; min-height: 44px; padding: .4rem .9rem; background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 4px; font: 700 .95rem/1 var(--font-body); cursor: pointer; }
@media (max-width: 1199px) { .js .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; } }
.nav { display: flex; flex-wrap: wrap; gap: .15rem .25rem; margin-left: auto; align-items: center; }
.nav a { padding: .55rem .7rem; font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; border-radius: 4px; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); }
.nav .btn { margin-left: .5rem; padding-inline: 1.1rem; min-height: 44px; color: var(--signal-ink); }
.nav .btn:hover { background: #b60f15; color: #fff; }
@media (max-width: 1199px) {
  .bar { flex-wrap: wrap; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; margin: 0 calc(var(--gutter) * -1); padding: .25rem var(--gutter) 1rem; gap: 0; border-top: 1px solid var(--line); }
  .js .nav { display: none; }
  .js .nav[data-open="true"] { display: flex; }
  .nav a { padding: .9rem .25rem; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--signal); }
  .nav .btn { margin: 1rem 0 0; font-size: 1.05rem; border-bottom: 0; }
}

/* Dolná lišta na mobile */
.dock { display: none; }
@media (max-width: 1199px) {
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem var(--gutter); padding-bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(21, 19, 58, .12); }
  .dock .btn { min-height: 46px; padding-inline: .5rem; }
  body { padding-bottom: 76px; }
}

/* Hero a hlavička podstránok */
.hero, .phero { position: relative; background: var(--band); color: var(--band-ink); isolation: isolate; }
.hero__media, .phero__media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--band-2); }
.hero__media img, .phero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__inner, .phero__inner { padding-block: clamp(1.75rem, 5vw, 3rem); display: grid; gap: 1.25rem; }
.hero__inner h1, .phero__inner h1 { color: #fff; }
.hero .lead, .phero .lead { color: var(--band-ink); }
.crumbs { font-size: .92rem; color: var(--band-muted); display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs a { color: var(--band-muted); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .6; }
.phero__media { aspect-ratio: 16 / 9; }
.phero--plain .phero__inner { padding-block: clamp(2.5rem, 7vw, 4.5rem); }
.phero h1 { font-size: clamp(2.3rem, 1rem + 4.6vw, 4rem); hyphens: manual; overflow-wrap: normal; }

.dispatch { display: grid; gap: .15rem; padding: .9rem 1.1rem; border: 1.5px solid var(--band-line); border-radius: var(--radius); background: rgba(10, 8, 40, .45); font-size: .98rem; max-width: 22rem; }
.dispatch b { font-family: var(--font-head); font-size: 1.75rem; line-height: 1.1; letter-spacing: .01em; color: #fff; font-weight: 700; }
.dispatch a { color: #fff; text-decoration: none; }
.dispatch small { color: var(--band-muted); font-size: .9rem; }

@media (min-width: 860px) {
  .hero__media, .phero__media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
  .hero__media::after, .phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 10, 52, .92) 0%, rgba(14, 10, 52, .78) 38%, rgba(14, 10, 52, .1) 72%, rgba(14, 10, 52, 0) 100%); }
  .hero__inner { min-height: 600px; align-content: center; padding-block: 5rem; max-width: 1200px; }
  .hero__inner > * { max-width: 36rem; }
  .hero__inner h1 { max-width: 12em; }
  .phero__inner { min-height: 340px; align-content: end; padding-block: 3.5rem; }
  .phero__inner > * { max-width: 40rem; }
  .phero__inner > h1 { max-width: 52rem; }
  .hero__media img { object-position: 72% 50%; }
}

/* Pás s údajmi */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { padding: 1.25rem 1rem 1.25rem 0; display: grid; gap: .15rem; align-content: start; }
.fact b { font-family: var(--font-head); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1; color: var(--brand); font-weight: 800; font-variant-numeric: tabular-nums; }
.fact span { font-size: .96rem; color: var(--muted); line-height: 1.4; max-width: 17em; }
@media (max-width: 859px) { .fact:nth-child(n+3) { border-top: 1px solid var(--line); } .fact:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line); } }
@media (min-width: 860px) { .facts__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fact { padding: 1.75rem 1.5rem; border-left: 1px solid var(--line); } .fact:first-child { border-left: 0; padding-left: 0; } }

/* Karty služieb */
.cards { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); color: var(--ink); }
.card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { display: grid; gap: .55rem; padding: 1.2rem 1.25rem 1.4rem; align-content: start; flex: 1; }
.card__body p { color: var(--muted); font-size: 1rem; }
.more { color: var(--link); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; margin-top: .25rem; }
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .card { grid-column: span 2; }
  .card--wide { grid-column: span 3; }
  .card--wide .card__img { aspect-ratio: 16 / 10; }
}
@media (min-width: 720px) and (max-width: 979px) { .card:not(.card--wide) { grid-column: span 3; } .cards .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Údajový štítok */
.plate { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 2px solid currentColor; border-radius: 10px; padding: 1.6rem; gap: 0; }
.plate .rv { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; }
.plate .rv1 { top: 8px; left: 8px; } .plate .rv2 { top: 8px; right: 8px; } .plate .rv3 { bottom: 8px; left: 8px; } .plate .rv4 { bottom: 8px; right: 8px; }
.plate__cell { padding: .9rem .75rem; border-top: 1px dashed var(--band-line); display: grid; gap: .1rem; align-content: start; }
.plate__cell:nth-child(-n+2) { border-top: 0; }
.plate__cell:nth-child(even) { border-left: 1px dashed var(--band-line); padding-left: 1rem; }
.plate__cell b { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.plate__cell span { font-size: .95rem; color: var(--band-muted); line-height: 1.35; }
.plate--paper { color: var(--ink); }
.plate--paper .plate__cell { border-color: var(--line); }
.plate--paper .plate__cell span { color: var(--muted); }

/* Tmavý pás */
.on-band { background: var(--band); color: var(--band-ink); }
.on-band h2, .on-band h3 { color: #fff; }
.on-band .muted { color: var(--band-muted); }
.on-band a:not(.btn) { color: #fff; }
.on-band .lead, .on-band p { color: var(--band-ink); }
.on-band .btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* Rozloženie text + obrázok */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split > * { min-width: 0; }
.split--top { align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split--wide { grid-template-columns: 1.15fr .85fr; } .split--rev > :first-child { order: 2; } }
.ph { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--paper-2); }
.figure { margin: 0; display: grid; gap: .6rem; }
.figure figcaption { font-size: .96rem; color: var(--muted); line-height: 1.45; }
.on-band .figure figcaption { color: var(--band-muted); }
.gallery { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--signal); transform: rotate(45deg); }
.ticks--cols { gap: .65rem 2rem; }
@media (min-width: 720px) { .ticks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: .5rem; align-content: start; }
.tile p { color: var(--muted); font-size: 1rem; }
.tile--adr { border-color: var(--adr); box-shadow: inset 6px 0 0 var(--adr); }
.badge { display: inline-block; width: fit-content; background: var(--adr); color: #1a1100; font-weight: 800; font-size: .85rem; letter-spacing: .04em; padding: .1rem .55rem; border-radius: 3px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--signal); color: #fff; font: 800 1.35rem/1 var(--font-head); }
.steps strong { display: block; font-size: 1.1rem; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline b { font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: var(--brand); font-weight: 800; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 1rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; background: var(--paper-2); font-size: .95rem; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.tags li { background: rgba(255, 255, 255, .1); border: 1px solid var(--band-line); padding: .35rem .8rem; border-radius: 999px; font-weight: 600; }

/* Formuláre */
form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .98rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
input, select, textarea { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; }
textarea { min-height: 110px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.row2 { display: grid; gap: 1rem; }
@media (min-width: 700px) { .row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .75rem; align-items: start; font-size: .96rem; }
.check input { width: 1.4rem; height: 1.4rem; min-height: 0; margin: .15rem 0 0; accent-color: var(--signal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: grid; gap: .75rem; }
.form-status:empty { display: none; }
.form-status .box { border: 2px solid var(--accent); border-radius: var(--radius); padding: 1rem; background: var(--surface); color: var(--ink); display: grid; gap: .75rem; }
.form-status .box.err { border-color: var(--signal); }
.form-status textarea { min-height: 150px; font-size: .95rem; }
.on-band .field label, .on-band .field legend { color: #fff; }
.on-band .field .hint { color: var(--band-muted); }

.cmr { display: grid; gap: 1.25rem; }
.cmr fieldset { margin: 0; border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 1rem; min-width: 0; background: var(--surface); }
.cmr legend { display: flex; align-items: center; gap: .6rem; padding: 0 .5rem; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.cmr legend i { font-style: normal; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; background: var(--ink); color: var(--paper); border-radius: 3px; font-size: 1.1rem; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.contact-list li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .75rem; align-items: baseline; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: .96rem; }
.contact-list a { font-weight: 700; font-size: 1.1rem; }
@media (max-width: 480px) { .contact-list li { grid-template-columns: 1fr; gap: 0; } }
.addr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: .35rem; font-style: normal; }
.addr b { font-family: var(--font-head); font-size: 1.4rem; }
.gps { display: grid; gap: .75rem; background: var(--surface); border: 1px dashed var(--muted); border-radius: var(--radius); padding: 1.25rem; }
.gps code { font: 700 1.25rem/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }

/* Pätička */
.site-footer { background: var(--band); color: var(--band-ink); padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; }
.site-footer a { color: var(--band-ink); text-underline-offset: .2em; }
.site-footer a:hover { color: #fff; }
.foot { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .foot { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.foot h2 { font-size: 1.3rem; color: #fff; margin-bottom: .6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot .logo { height: 46px; display: block; margin-bottom: .9rem; }
.foot p { color: var(--band-muted); font-size: .98rem; }
.foot address { font-style: normal; color: var(--band-muted); display: grid; gap: .2rem; font-size: .98rem; }
.legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .9rem; color: var(--band-muted); }
.legal a { color: var(--band-muted); }

.notfound { text-align: left; }
.notfound .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 22vw, 11rem); line-height: .9; color: var(--signal); }

/* Letecký pás s areálom */
.areal { position: relative; background: var(--band); color: var(--band-ink); isolation: isolate; }
.areal__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--band-2); }
.areal__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.areal__inner { padding-block: clamp(1.75rem, 5vw, 3rem); }
.areal__card { display: grid; gap: 1rem; max-width: 34rem; }
.areal__card h2 { color: #fff; }
.areal__card p { color: var(--band-ink); font-size: 1.1rem; }
@media (min-width: 860px) {
  .areal__media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
  .areal__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 10, 52, .0) 35%, rgba(14, 10, 52, .55) 100%); }
  .areal__inner { min-height: 560px; display: flex; align-items: flex-end; justify-content: flex-end; padding-block: 3rem; }
  .areal__card { background: rgba(14, 10, 52, .88); padding: 1.75rem; border-radius: var(--radius); border: 1px solid var(--band-line); }
}

/* Prepínač jazyka */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; align-self: center; margin-left: .35rem; }
.nav .lang a { padding: .35rem .6rem; border-radius: 0; border-bottom: 0; font-weight: 700; font-size: .88rem; min-width: 2.4rem; text-align: center; }
.nav .lang a[aria-current="true"] { background: var(--brand); color: #fff; box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .nav .lang a[aria-current="true"] { color: #0e0a34; } }
:root[data-theme="dark"] .nav .lang a[aria-current="true"] { color: #0e0a34; }
@media (min-width: 1200px) {
  .nav { flex-wrap: nowrap; }
  .nav a { padding-inline: .55rem; font-size: .95rem; white-space: nowrap; }
}
@media (max-width: 1199px) { .lang { align-self: flex-start; margin: 1rem 0 0; } .nav .lang a { padding: .6rem 1rem; font-size: 1rem; } }

/* Počítadlo návštev v pätičke */
.visits { opacity: .8; font-variant-numeric: tabular-nums; }
.visits b { font-weight: 700; }

/* Dlhé nemecké zložené slová v nadpisoch */
:lang(de) h1, :lang(de) h2, :lang(de) h3 { hyphens: auto; overflow-wrap: anywhere; }
.foot > div { min-width: 0; }
.foot a, .foot li { overflow-wrap: anywhere; }

/* Prepravný poriadok */
.prose--legal { max-width: 46rem; gap: .9rem; }
.prose--legal h2 { margin-top: 2.5rem; scroll-margin-top: 90px; }
.prose--legal h3 { margin-top: 1.75rem; font-size: 1.25rem; scroll-margin-top: 90px; }
.prose--legal h4 { margin-top: 1rem; font-size: 1.05rem; }
.prose--legal ul, .prose--legal ol { margin: 0; padding-left: 1.4rem; display: grid; gap: .45rem; }
.prose--legal li > ul { margin-top: .45rem; list-style: none; padding-left: 1rem; }
.prose--legal .clauses { list-style: decimal; }
.rates { border-collapse: collapse; width: 100%; max-width: 34rem; font-variant-numeric: tabular-nums; }
.rates td { padding: .5rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates td:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.toc { max-width: 56rem; }
.toc h2 { font-size: 1.25rem; margin-bottom: .75rem; }
.toc ol { list-style: none; margin: 0; padding: 0; columns: 3 14rem; column-gap: 2rem; }
.toc li { break-inside: avoid; padding: .15rem 0; }
.toc a { text-underline-offset: 3px; }

/* Dlhé právne texty nesmú rozšíriť stránku */
.prose--legal { min-width: 0; }
.prose--legal, .prose--legal * { overflow-wrap: anywhere; }
.prose--legal table { display: block; overflow-x: auto; }
.prose--legal { grid-template-columns: minmax(0, 1fr); }
.prose--legal .rates { display: block; width: auto; max-width: 100%; overflow-x: auto; }
.prose--legal .rates { min-width: 0; }
