/* =========================================================
   Autoškola Hanuš — hlavní styl
   Světlý, moderní, čistý design s červeným akcentem značky.
   Autor: Jonatan Petr
   ========================================================= */

/* ---------- Reset & základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

:root {
  /* Značka */
  --red: #d81f2c;
  --red-dark: #b3141f;
  --red-darker: #8f0f18;
  --red-soft: #fdeced;
  --red-tint: #fbe3e5;

  /* Neutrály */
  --ink: #14171d;
  --body: #3b414c;
  --muted: #6c7480;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-softer: #fafbfc;
  --line: #e6e8ee;
  --line-strong: #d3d7df;

  /* Doplňky */
  --gold: #f4b400;
  --green: #1f9d57;

  /* Tvary */
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(20,23,29,.06), 0 1px 3px rgba(20,23,29,.05);
  --shadow: 0 6px 22px rgba(20,23,29,.08);
  --shadow-lg: 0 18px 50px rgba(20,23,29,.13);
  --ring: 0 0 0 4px rgba(216,31,44,.18);

  --container: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, "Noto Sans", sans-serif;
}

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.07rem; }
p { color: var(--body); }
a { color: var(--red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
svg { max-width: 100%; }
/* Holé ikony (inline SVG bez class) defaultně ve velikosti textu, ať se nenafukují */
svg:not([class]) { width: 1.15em; height: 1.15em; vertical-align: -0.18em; flex: none; }
strong { color: var(--ink); font-weight: 700; }
ul, ol { padding-left: 1.2em; }
li { margin: .3em 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(48px, 8vw, 92px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red-dark); background: var(--red-soft);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.1rem; color: var(--muted); margin-top: 12px; }
.lead { font-size: 1.18rem; color: var(--body); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(216,31,44,.28); }
.btn--primary:hover { background: var(--red-dark); color: #fff; box-shadow: 0 12px 26px rgba(216,31,44,.36); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--red); color: var(--red-dark); background: var(--red-soft); }
.btn--light { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { background: #fff; color: var(--red-dark); }
.btn--lg { padding: 18px 32px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 1.18rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .14em; color: var(--red-dark); text-transform: uppercase; }
.brand__name { line-height: 1.05; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: .98rem; padding: 9px 13px; border-radius: 9px;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--bg-soft); text-decoration: none; color: var(--red-dark); }
.nav a[aria-current="page"] { color: var(--red-dark); background: var(--red-soft); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.header-phone:hover { color: var(--red-dark); text-decoration: none; }
.header-phone svg { width: 18px; height: 18px; color: var(--red); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); background: #fff;
  border-radius: 11px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 84px) 0 clamp(40px,6vw,70px); overflow: hidden; background: linear-gradient(180deg,#fff 0%, var(--bg-soft) 100%); }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle at center, rgba(216,31,44,.14), rgba(216,31,44,0) 70%);
  z-index: 0; pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--red); }
.hero__sub { font-size: 1.22rem; color: var(--body); margin-bottom: 26px; max-width: 540px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.hero__badge { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); font-size: .98rem; }
.hero__badge svg { width: 21px; height: 21px; color: var(--green); flex: none; }
.hero__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px;
}
.hero__panel h2 { font-size: 1.2rem; margin-bottom: 6px; }
.hero__panel .muted { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }

/* ---------- Stat řádek ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.stat__num { font-size: 2.3rem; font-weight: 800; color: var(--red); line-height: 1; letter-spacing: -.02em; }
.stat__label { margin-top: 8px; color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- Karty kategorií ---------- */
.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red-tint); }
a.card:hover { text-decoration: none; }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px; background: var(--red-soft); color: var(--red-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card__icon svg { width: 32px; height: 32px; }
.card h3 { color: var(--ink); margin-bottom: 6px; }
.card__groups { font-weight: 800; color: var(--red-dark); font-size: .95rem; margin-bottom: 10px; letter-spacing: .02em; }
.card p { color: var(--muted); font-size: .98rem; }
.card__price { margin-top: auto; padding-top: 16px; }
.card__price b { color: var(--ink); font-size: 1.5rem; }
.card__price span { color: var(--muted); font-size: .9rem; }
.card__link { margin-top: 14px; font-weight: 700; color: var(--red-dark); display: inline-flex; align-items: center; gap: 6px; }
.card__link svg { width: 16px; height: 16px; transition: transform .15s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Postup / kroky ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px 22px; box-shadow: var(--shadow-sm); }
.step__num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Feature / proč my ---------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--red-soft); color: var(--red-dark); display: flex; align-items: center; justify-content: center; }
.feature__icon svg { width: 25px; height: 25px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ---------- Ceník ---------- */
.price-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; position: sticky; top: 84px; z-index: 20; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 6px 0; }
.price-nav a { font-weight: 700; font-size: .92rem; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); padding: 9px 15px; border-radius: 999px; }
.price-nav a:hover { border-color: var(--red); color: var(--red-dark); background: var(--red-soft); text-decoration: none; }

.price-block { margin-bottom: 42px; scroll-margin-top: 150px; }
.price-block__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.price-block__head .card__icon { margin-bottom: 0; width: 50px; height: 50px; }
.price-block__head .card__icon svg { width: 28px; height: 28px; }
.price-block__head h3 { font-size: 1.4rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; background: #fff; }
table.price { width: 100%; border-collapse: collapse; min-width: 540px; font-size: .98rem; }
table.price thead th { background: var(--ink); color: #fff; font-weight: 700; text-align: left; padding: 14px 16px; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
table.price thead th:first-child { background: var(--red); }
table.price tbody td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
table.price tbody tr:nth-child(even) { background: var(--bg-softer); }
table.price tbody tr:hover { background: var(--red-soft); }
table.price .grp { font-weight: 800; color: var(--red-dark); white-space: nowrap; }
table.price .price-val { font-weight: 800; color: var(--ink); white-space: nowrap; }
.price-note { font-size: .92rem; color: var(--muted); margin-top: 12px; }
.table-hint { display: none; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }

/* ---------- Accordion ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-trigger {
  width: 100%; text-align: left; background: #fff; border: 0; cursor: pointer;
  padding: 20px 22px; font-size: 1.07rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.acc-trigger:hover { background: var(--bg-soft); }
.acc-trigger .acc-ico { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--red-soft); color: var(--red-dark); display: grid; place-items: center; transition: transform .2s, background .2s, color .2s; }
.acc-trigger .acc-ico svg { width: 16px; height: 16px; }
.acc-trigger[aria-expanded="true"] .acc-ico { background: var(--red); color: #fff; transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.acc-panel__inner { padding: 0 22px 22px; color: var(--body); }
.acc-panel__inner p + p { margin-top: 10px; }

/* ---------- Dokumenty ---------- */
.doc-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; }
.doc-card:hover { box-shadow: var(--shadow); border-color: var(--red-tint); }
.doc-card__ico { width: 54px; height: 54px; flex: none; border-radius: 13px; background: var(--red-soft); color: var(--red-dark); display: grid; place-items: center; }
.doc-card__ico svg { width: 30px; height: 30px; }
.doc-card__body { flex: 1; min-width: 0; }
.doc-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.doc-card p { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.doc-meta { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- Formulář ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 7px; font-size: .96rem; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-softer);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: 13px 15px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa1ac; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: var(--ring); }
.field textarea { min-height: 130px; resize: vertical; }
.field--check { display: flex; align-items: flex-start; gap: 11px; }
.field--check input { width: auto; margin-top: 4px; flex: none; width: 19px; height: 19px; accent-color: var(--red); }
.field--check label { font-weight: 500; color: var(--body); font-size: .92rem; margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field .err { display: none; color: var(--red-dark); font-size: .85rem; font-weight: 600; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-status { display: none; padding: 15px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; }
.form-status.is-error { display: block; background: var(--red-soft); color: var(--red-darker); border: 1px solid var(--red-tint); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---------- Kontakt / pobočky ---------- */
.branch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); height: 100%; }
.branch h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.branch h3 svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.branch address { font-style: normal; color: var(--body); line-height: 1.7; margin-bottom: 16px; }
.contact-line { display: flex; align-items: center; gap: 11px; padding: 9px 0; }
.contact-line svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.contact-line a { color: var(--ink); font-weight: 700; }
.info-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .9rem; font-weight: 600; color: var(--body); }

.map-embed { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--bg-soft); aspect-ratio: 16/9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; cursor: pointer; background: linear-gradient(135deg, #f1f3f6, #e9ecf1); text-align: center; padding: 20px; border: 0; width: 100%; font: inherit; }
.map-placeholder svg { width: 48px; height: 48px; color: var(--red); }
.map-placeholder b { color: var(--ink); font-size: 1.05rem; }
.map-placeholder span { color: var(--muted); font-size: .9rem; }

/* lektoři */
.team { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.member { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.member__av { width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.member h4 { font-size: 1.05rem; margin-bottom: 2px; }
.member .grp { color: var(--red-dark); font-weight: 700; font-size: .85rem; }
.member a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); margin-top: 3px; }
.member a svg { width: 15px; height: 15px; color: var(--red); }

/* ---------- CTA pruh ---------- */
.cta-band { background: linear-gradient(135deg, var(--red) 0%, var(--red-darker) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 56px); position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; right:-80px; top:-80px; width:320px; height:320px; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 1.12rem; margin: 12px 0 26px; position: relative; max-width: 600px; }
.cta-band .btn-row { position: relative; }

/* ---------- Info boxy ---------- */
.callout { background: var(--red-soft); border: 1px solid var(--red-tint); border-left: 4px solid var(--red); border-radius: var(--radius-sm); padding: 18px 20px; }
.callout--info { background: #eef4ff; border-color: #d7e4ff; border-left-color: #2f6bff; }
.callout h4 { margin-bottom: 4px; }
.callout p { font-size: .96rem; }

.prose { max-width: 760px; }
.prose h2 { margin: 38px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin-bottom: 14px; }
.prose .lead { margin-bottom: 22px; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .9rem; color: var(--muted); padding: 16px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--red-dark); }
.crumbs span { color: var(--ink); font-weight: 600; }

/* ---------- Článek karty ---------- */
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s; height: 100%; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card__top { height: 90px; background: linear-gradient(135deg, var(--red), var(--red-darker)); display: flex; align-items: center; justify-content: center; color: #fff; }
.article-card__top svg { width: 40px; height: 40px; }
.article-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.article-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.article-card .card__link { margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c7ccd6; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #c7ccd6; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: #99a0ad; font-size: .94rem; margin-top: 14px; max-width: 320px; }
.footer-list { list-style: none; padding: 0; }
.footer-list li { margin: 9px 0; }
.footer-contact-line { display: flex; gap: 10px; align-items: flex-start; margin: 9px 0; font-size: .95rem; }
.footer-contact-line svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid #2a2e37; margin-top: 42px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #8b929e; }
.footer-bottom a { color: #8b929e; }

/* ---------- Sticky mobilní CTA ---------- */
.mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 55; display: none; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20,23,29,.08); }
.mobile-cta .btn { padding: 14px; }

/* ---------- Helpers ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.grid-2--wide { grid-template-columns: 1.2fr .8fr; }
.gap-sm { gap: 16px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .85rem; font-weight: 600; color: var(--red-dark); background: var(--red-soft); padding: 5px 12px; border-radius: 999px; }
.divider { height: 1px; background: var(--line); margin: 40px 0; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__panel { order: 2; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: fixed; top: 76px; left: 0; right: 0; height: calc(100dvh - 76px); background: #fff; padding: 18px 22px; z-index: 59;
    border-top: 1px solid var(--line); overflow-y: auto;
  }
  .nav.is-open a { font-size: 1.15rem; padding: 15px 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.is-open .nav-mobile-cta { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
  .mobile-cta { display: grid; }
  body { padding-bottom: 76px; }
  .grid-2, .grid-2--wide { grid-template-columns: 1fr; gap: 24px; }
  .team { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards--4, .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .price-nav { top: 76px; }
  .price-block { scroll-margin-top: 130px; }
  .table-hint { display: block; }
  .header-inner { height: 64px; }
  .nav.is-open { top: 64px; height: calc(100dvh - 64px); }
}
.nav-mobile-cta { display: none; }

/* =========================================================
   REVIZE 2 — reálné logo, hero s fotkou, obrázky vozidel,
   ceník jako karty na mobilu, modrá značková (L plomba)
   ========================================================= */
:root { --blue: #1452c5; --blue-dark: #0e3d99; }

/* Logo v hlavičce a patičce */
.brand__logo { height: 50px; width: auto; display: block; }
@media (max-width: 620px){ .brand__logo { height: 42px; } }
.footer-logo { background:#fff; padding:12px 16px; border-radius:12px; display:inline-block; }
.footer-logo img { height: 46px; width:auto; display:block; }

/* Modrá "L" plomba jako v logu */
.lbox { display:inline-block; background: var(--blue); color:#fff; padding:0 .18em; border-radius:8px; line-height:1.05; }

/* HERO s fotkou auta */
.hero-photo { position:relative; overflow:hidden; background:#0d1b12; }
.hero-photo__bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center right; z-index:0; }
.hero-photo::after { content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(90deg, rgba(8,12,10,.86) 0%, rgba(8,12,10,.66) 38%, rgba(8,12,10,.18) 70%, rgba(8,12,10,.05) 100%); }
.hero-photo .container { position:relative; z-index:2; }
.hero-photo__inner { min-height: clamp(420px, 64vh, 620px); display:flex; flex-direction:column; justify-content:center; padding: 54px 0; max-width: 680px; }
.hero-photo h1 { color:#fff; font-size: clamp(2.1rem, 5.2vw, 3.7rem); text-shadow: 0 2px 18px rgba(0,0,0,.4); margin-bottom:18px; }
.hero-photo .hero-eyebrow { display:inline-block; color:#fff; background:rgba(216,31,44,.92); font-weight:800; letter-spacing:.12em; text-transform:uppercase; font-size:.78rem; padding:7px 14px; border-radius:999px; margin-bottom:18px; }
.hero-photo p.hero-photo__sub { color:#f1f3f6; font-size: clamp(1.05rem,2.2vw,1.3rem); text-shadow:0 1px 10px rgba(0,0,0,.5); margin-bottom:26px; max-width:520px; }
.hero-photo .btn--ghost { background:rgba(255,255,255,.12); color:#fff; border-color:rgba(255,255,255,.55); backdrop-filter: blur(2px); }
.hero-photo .btn--ghost:hover { background:#fff; color:var(--red-dark); }
@media (max-width:760px){
  .hero-photo::after { background: linear-gradient(180deg, rgba(8,12,10,.7) 0%, rgba(8,12,10,.55) 45%, rgba(8,12,10,.78) 100%); }
  .hero-photo__bg { object-position:center; }
}

/* Karty kategorií s obrázkem vozidla */
.card__media { height: 132px; margin: -6px -6px 14px; border-radius: 12px; background: linear-gradient(180deg,#f6f7f9,#eef0f4); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.card__media img { max-height: 118px; width:auto; object-fit:contain; }

/* CENÍK — karty na mobilu (žádné horizontální rolování) */
@media (max-width: 640px){
  .table-wrap { border:0; box-shadow:none; overflow:visible; background:transparent; }
  table.price { min-width:0; display:block; }
  table.price thead { position:absolute; left:-9999px; }
  table.price tbody { display:block; }
  table.price tr { display:block; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow-sm); margin-bottom:12px; padding:6px 0; }
  table.price tbody tr:nth-child(even){ background:#fff; }
  table.price tbody tr:hover{ background:#fff; }
  table.price td { display:flex; justify-content:space-between; align-items:baseline; gap:14px; border:0; padding:8px 16px; text-align:right; }
  table.price td::before { content: attr(data-label); font-weight:700; color:var(--muted); text-align:left; flex:none; font-size:.82rem; text-transform:uppercase; letter-spacing:.03em; }
  table.price td.grp { background:var(--red); color:#fff; border-radius:10px; margin:2px 8px 8px; padding:8px 14px; font-size:1.05rem; justify-content:flex-start; }
  table.price td.grp::before { content:""; }
  .table-hint { display:none; }
}

/* header-call (telefonní tlačítko) jen na desktopu */
.header-call svg { width:18px; height:18px; }
@media (max-width: 860px){ .header-call { display:none; } }
/* drobnost: značka jen logo */
.brand { gap: 0; }
