:root {
  --brand: #0097a9;
  --brand-dark: #0c5460;
  --brand-light: #6fd7e2;
  --brand-tint: #e6f5f7;      /* světlé podbarvení ikon/akcentů (odvozeno z brandu) */
  --cream: #f6f5ef;
  --cream-2: #fbfbf8;
  --ink: #212529;
  --muted: #868e96;
  --border: #dee2e6;
  --bg: #ffffff;
  --accent-green: #64b42d;
  --accent-gold: #f5b417;
  --accent-sky: #e3f2fd;
  --shadow: 0 2px 8px rgba(12, 84, 96, .06);
  --shadow-lift: 0 10px 28px rgba(12, 84, 96, .14);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Encode Sans Condensed", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { font-weight: 700; margin: 0 0 .5em; line-height: 1.2; }
h1 { font-size: 42px; color: var(--ink); }
h2 { font-size: 30px; color: var(--brand-dark); }
h3 { font-size: 20px; }

/* --- topbar --- */
.topbar { background: var(--brand-dark); color: #fff; font-size: 14px; }
.topbar a { color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; gap: 16px; }
.topbar-tagline { color: rgba(255,255,255,.85); letter-spacing: .3px; }
.search { display: flex; gap: 0; }
.search input {
  border: 1px solid transparent; border-right: none; padding: 6px 10px;
  font-family: inherit; font-size: 14px; min-width: 200px;
}
.search button {
  background: var(--brand); color: #fff; border: none; padding: 6px 14px;
  font-family: inherit; cursor: pointer; font-weight: 600;
}
.search button:hover { background: #00b0c4; }

/* --- hlavní navigace --- */
.mainnav { background: #fff; position: sticky; top: 0; z-index: 10; box-shadow: var(--shadow); }
.mainnav-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; }
.logo { font-size: 24px; font-weight: 700; color: var(--brand-dark); letter-spacing: -.3px; }
.logo:hover { text-decoration: none; }
.logo span { color: var(--brand); }
.mainnav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.mainnav a { color: var(--ink); font-weight: 600; padding: 6px 0; position: relative; }
.mainnav a:hover { color: var(--brand); text-decoration: none; }
.mainnav a.active { color: var(--brand); }
.mainnav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 3px; background: var(--brand);
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--brand-dark); font-size: 22px; line-height: 1; padding: 4px 12px; cursor: pointer;
}

/* --- hero (barevný pruh, cng styl) --- */
.hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; padding: 64px 0 96px; position: relative;
}
.hero h1 { color: #fff; max-width: 800px; }
.hero .hero-sub { color: rgba(255,255,255,.92); font-size: 19px; max-width: 660px; margin: 0; }
.hero a { color: #fff; text-decoration: underline; }
.hero .crumb, .hero .article-date { color: rgba(255,255,255,.8); }
.hero .crumb a { color: #fff; }

/* --- widget nejbližší stanice (překrývá spodek hera) --- */
.nearest { margin-top: -44px; margin-bottom: 8px; position: relative; z-index: 2; }
.nearest-card {
  border: 1px solid var(--border); border-top: 4px solid var(--brand);
  background: #fff; padding: 30px 30px 28px; box-shadow: var(--shadow-lift);
}
.nearest-card header h2 { margin-bottom: 10px; }
.nearest-status { color: var(--muted); margin-bottom: 16px; }
.nearest-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.nearest-table th { color: var(--brand-dark); font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.nearest-table th, .nearest-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border);
}
.btn-locate, .btn {
  display: inline-block; background: var(--brand); color: #fff; border: none; border-radius: 5px;
  padding: 12px 22px; font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.btn-locate:hover, .btn:hover { background: var(--brand-dark); text-decoration: none; }

/* --- obecná sekce + centrovaný nadpis (cng styl) --- */
section { }
.section { padding: 64px 0; }
.section-alt { background: var(--cream); }
.section-title { text-align: center; font-size: 34px; color: var(--brand-dark); margin: 0 0 8px; }
.section-lead { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 40px; font-size: 17px; }
.section-title-accent::after {
  content: ""; display: block; width: 56px; height: 4px; background: var(--brand);
  margin: 14px auto 0;
}

/* --- dlaždice „Poradíme vám" --- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); padding: 26px 24px; background: #fff;
  position: relative; color: var(--ink); box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.tile:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tile-ico {
  width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand-dark); margin-bottom: 16px;
}
.tile:hover .tile-ico { background: var(--brand); color: #fff; }
.tile-ico .ico { width: 30px; height: 30px; }
.tile-title { font-size: 21px; font-weight: 700; color: var(--brand-dark); }
.tile-desc { color: var(--muted); font-size: 15px; margin-top: 4px; }
.tile-more { margin-top: 14px; color: var(--brand); font-weight: 600; font-size: 15px; }
.tile-meta { color: var(--muted); font-size: 13px; margin-top: 12px; }
.tile-soon { color: var(--muted); box-shadow: none; }
.tile-soon:hover { border-color: var(--border); transform: none; box-shadow: none; }
.tile-soon .tile-ico { background: #f0f0ec; color: var(--muted); }
.tile-soon:hover .tile-ico { background: #f0f0ec; color: var(--muted); }
.tile-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent-gold); color: var(--ink);
  font-size: 12px; font-weight: 700; padding: 3px 9px; text-transform: uppercase; letter-spacing: .5px;
}

/* --- stat / souhrnné karty --- */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.stat-card {
  background: #fff; border: 1px solid var(--border); border-bottom: 3px solid var(--brand);
  padding: 24px; display: flex; flex-direction: column; gap: 4px; color: var(--ink);
  box-shadow: var(--shadow);
}
a.stat-card { transition: transform .12s ease, box-shadow .12s ease; }
a.stat-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.stat-value { font-size: 40px; font-weight: 700; color: var(--brand-dark); line-height: 1.1; }
.stat-unit { font-size: 17px; font-weight: 400; color: var(--muted); margin-left: 5px; }
.stat-label { color: var(--muted); font-size: 14px; }

/* --- magazín --- */
.center-more { text-align: center; margin-top: 36px; }
.link-arrow { color: var(--brand); font-weight: 600; font-size: 17px; }
.link-arrow:hover { color: var(--brand-dark); }
.magazine-placeholder {
  color: var(--muted); border: 1px dashed var(--border); padding: 24px; max-width: 640px;
  margin: 0 auto; text-align: center;
}

/* --- cross-link teaser stránky --- */
.crosslink-body { max-width: 760px; margin: 0 auto; }
.feature-list { list-style: none; margin: 12px 0 28px; padding: 0; }
.feature-list li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--border); }
.feature-list li::before { content: "→"; position: absolute; left: 0; top: 12px; color: var(--brand); font-weight: 700; }
.crosslink-cta { margin: 24px 0 8px; font-size: 18px; }
.crosslink-note { color: var(--muted); font-size: 14px; }

/* --- katalog myček --- */
.wash-hero { padding-bottom: 72px; }
.wash-hero .crumb { margin: 0 0 12px; }
.wash-summary { padding: 34px 0; }
.wash-catalog { padding-top: 48px; }
.wash-filters {
  display: grid; grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(180px, 1fr)) auto;
  align-items: end; gap: 14px; padding: 18px; margin-bottom: 42px;
  background: var(--cream); border: 1px solid var(--border);
}
.wash-filters label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 14px; font-weight: 600; }
.wash-filters input, .wash-filters select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); background: #fff;
  color: var(--ink); font: inherit; font-weight: 400;
}
.wash-filters .btn { white-space: nowrap; padding: 10px 18px; }
.filter-reset { padding-bottom: 10px; white-space: nowrap; }
.wash-results-head { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 18px; }
.wash-results-head h2 { margin-bottom: 0; }
.wash-results-head p { margin: 0; }
.wash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wash-card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--brand); padding: 22px; min-height: 190px; box-shadow: var(--shadow); }
.wash-card-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.wash-type, .wash-brand { display: inline-block; padding: 3px 9px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .35px; }
.wash-type-self { background: #e5f4d9; color: #426d22; }
.wash-type-auto { background: var(--brand-tint); color: var(--brand-dark); }
.wash-brand { padding: 0; color: var(--muted); text-transform: none; letter-spacing: 0; }
.wash-card h3 { color: var(--brand-dark); margin: 0 0 8px; font-size: 22px; }
.wash-address { min-height: 52px; color: var(--muted); margin: 0; line-height: 1.45; }
.wash-card-links { display: flex; gap: 18px; margin-top: 18px; font-weight: 600; }
.wash-card-links a { color: var(--brand); }
.empty-state { border: 1px dashed var(--border); padding: 32px; text-align: center; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { margin: 0; color: var(--muted); }
.wash-cities h2 { text-align: center; }
.city-link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 22px; list-style: none; max-width: 960px; padding: 0; margin: 28px auto 0; }
.city-link-grid li { border-bottom: 1px solid var(--border); padding: 8px 0; }
.city-link-grid span { color: var(--muted); font-size: 14px; }

/* --- ceník + oficiální box (dálniční známky) --- */
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; background: #fff; }
.price-table th {
  text-align: left; color: var(--brand-dark); text-transform: uppercase;
  font-size: 13px; letter-spacing: .5px;
}
.price-table th, .price-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table td:last-child { font-weight: 700; color: var(--brand-dark); font-size: 18px; }
.official-box {
  background: var(--brand-tint); border-left: 4px solid var(--brand);
  padding: 24px 26px; margin: 28px 0;
}
.official-box p { margin: 0 0 12px; }
.official-box p:last-child { margin-bottom: 0; }
.official-lead { font-weight: 700; color: var(--brand-dark); font-size: 18px; }

/* --- přehled poplatků v Evropě --- */
.toll-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.toll-legend-card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--brand); padding: 22px; }
.toll-legend-card p { margin: 12px 0 0; color: var(--muted); }
.toll-badge {
  display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .35px;
}
.toll-badge-vignette { background: var(--brand-tint); color: var(--brand-dark); }
.toll-badge-toll { background: #fdf1d3; color: #7a5600; }
.toll-badge-free { background: #e5f4d9; color: #426d22; }

/* Země = karta. Sazby uvnitř jedou přes sdílenou .price-table (DESIGN §0),
   ne přes vlastní tabulku pro každou sekci. */
.toll-country { background: #fff; border: 1px solid var(--border); padding: 26px 28px; margin-bottom: 20px; }
.toll-country-head { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: baseline; }
.toll-country-head h3 { margin: 0; font-size: 24px; color: var(--brand-dark); }
.toll-flag { margin-right: 10px; font-size: 22px; line-height: 1; }
.toll-official { font-weight: 600; white-space: nowrap; }
.toll-summary { margin: 10px 0 18px; max-width: 760px; }
.toll-note { color: var(--muted); font-size: 15px; margin: 4px 0 0; max-width: 820px; }
.toll-links { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: 15px; }
/* Orientační koruny pod cenou — musí být zřetelně druhořadé vůči částce,
   kterou řidič doopravdy zaplatí. */
.toll-czk { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.toll-where { display: block; font-size: 14px; color: var(--muted); }

.toll-free-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.toll-free-grid li { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent-green); padding: 18px 20px; }
.toll-free-name { display: block; font-weight: 700; font-size: 19px; color: var(--brand-dark); }
.toll-free-desc { display: block; margin-top: 6px; }
.toll-free-note { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

/* --- prose (O nás, obecný text) --- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 36px; }
.prose p { margin: 0 0 1em; }

/* --- článek --- */
.article-body { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.8; }
.article-body p { margin: 0 0 1.1em; }
.article-body h2 { font-size: 25px; margin: 1.5em 0 .5em; color: var(--brand-dark); }
.article-body ul, .article-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.article-body li { margin-bottom: .5em; }
.crumb { font-size: 14px; margin: 0 0 10px; }
.article-date { display: block; margin-top: 14px; font-size: 14px; }

/* --- vyhledávání --- */
.search-page { margin-top: 20px; max-width: 520px; display: flex; }
.search-page input { flex: 1; padding: 12px 14px; font-size: 16px; border: 1px solid var(--border); border-right: none; }
.search-page button { padding: 12px 20px; font-size: 16px; border: none; background: var(--brand); color: #fff; font-weight: 600; cursor: pointer; }
.search-summary { color: var(--muted); margin-bottom: 24px; text-align: center; }

/* --- 404 --- */
.error-page { text-align: center; }
.error-code { font-size: 110px; font-weight: 700; line-height: 1; color: rgba(255,255,255,.35); margin: 0; }

/* --- footer --- */
.site-footer { background: var(--brand-dark); color: rgba(255,255,255,.85); margin-top: 8px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 48px 24px 28px; }
.footer-cols h4 { margin: 0 0 12px; color: #fff; font-size: 16px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 8px; }
.footer-cols a { color: rgba(255,255,255,.85); }
.footer-cols a:hover { color: #fff; }
.footer-legal { padding: 16px 24px; color: rgba(255,255,255,.6); font-size: 13px; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 900px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .wash-filters { grid-template-columns: repeat(2, 1fr); }
  .wash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-link-grid { grid-template-columns: repeat(3, 1fr); }
  .toll-legend { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  h1 { font-size: 32px; }
  .section-title { font-size: 27px; }
  .hero { padding: 44px 0 68px; }
  .section { padding: 44px 0; }
  .nav-toggle { display: block; }
  .mainnav-inner { flex-wrap: wrap; }
  .mainnav ul { display: none; flex-direction: column; gap: 0; width: 100%; margin-top: 8px; }
  .mainnav.nav-open ul { display: flex; }
  .mainnav ul li { border-top: 1px solid var(--border); }
  .mainnav ul li a { display: block; padding: 12px 0; }
  .mainnav a.active::after { display: none; }
  .topbar-tagline { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .search input { min-width: 0; flex: 1; }
  .tile-grid { grid-template-columns: 1fr; }
  .wash-filters, .wash-grid { grid-template-columns: 1fr; }
  .wash-results-head { display: block; }
  .wash-results-head p { margin-top: 4px; }
  .city-link-grid { grid-template-columns: repeat(2, 1fr); }
  .toll-free-grid { grid-template-columns: 1fr; }
  .toll-country { padding: 20px 18px; }
  .price-table th, .price-table td { padding: 11px 10px; }
}
