/* ==========================================================================
   ProCar — hlavní stylesheet
   Vychází ze schváleného návrhu (Podklady/ProCar Home.html).
   Barvy, typografie i rozměry jsou převzaté 1:1, doplněná je responzivita.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokeny
   -------------------------------------------------------------------------- */
:root {
  /* tmavé plochy */
  --navy-900: #08121F;   /* patička */
  --navy-800: #0A1626;   /* hero, tmavé sekce */
  --navy-700: #0C1B2E;   /* pruh se statistikami */
  --navy-600: #0F2438;   /* tmavé tlačítko, avatar */

  /* text */
  --ink:      #0C1828;
  --ink-2:    #22364F;
  --ink-3:    #33455C;
  --muted:    #5A687A;
  --muted-2:  #7E8A98;
  --label:    #8B96A4;
  --label-2:  #96A0AD;
  --label-3:  #A7B0BC;
  --label-4:  #B4BCC7;

  /* akcenty */
  --blue:       #1663DB;
  --blue-dark:  #0E4CAB;
  --blue-light: #2C79F0;
  --blue-link:  #4B8DF5;
  --blue-link-h:#7FB0FA;
  --amber:      #E8A33D;

  /* pozadí a linky */
  --bg:     #F4F5F7;
  --white:  #FFFFFF;
  --line:   #E6E9ED;
  --line-2: #DDE1E7;
  --line-3: #E3E7EC;
  --line-4: #EBEEF2;
  --line-5: #CFD5DD;
  --placeholder: #E9ECF0;

  /* rozměry */
  --wrap: 1320px;
  --pad: 44px;
  --header-h: 84px;

  /* písma */
  --f-display: 'Archivo', system-ui, -apple-system, sans-serif;
  --f-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* --------------------------------------------------------------------------
   2. Reset a základ
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 { font-family: var(--f-display); letter-spacing: -.03em; margin: 0; }

button { font: inherit; }

::selection { background: var(--blue); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 12px 20px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.section { padding: 130px 0; }
.section--light { background: var(--bg); }
.section--white { background: var(--white); border-top: 1px solid var(--line); }
.section--tight { padding: 96px 0; }

/* Popisek nad nadpisem (mono, prostrkaný) */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 26px;
}
.eyebrow--amber { color: var(--amber); display: flex; align-items: center; gap: 14px; }
.eyebrow--amber::before { content: ""; width: 34px; height: 1px; background: var(--amber); display: block; flex-shrink: 0; }

.h2 { font-weight: 700; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; margin: 0; }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); margin: 0; }

/* Hlavička sekce: nadpis vlevo, odkaz vpravo */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 60px; margin-bottom: 66px;
}

.link-arrow {
  font-weight: 600; font-size: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 8px; border-bottom: 2px solid var(--blue);
  white-space: nowrap;
}
.link-arrow::after {
  content: ""; width: 6px; height: 6px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); display: block;
}

/* --------------------------------------------------------------------------
   4. Tlačítka
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 17px; padding: 20px 34px;
  border-radius: 8px; border: 1px solid transparent; cursor: pointer;
  text-align: center;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 14px 34px rgba(22,99,219,.4); }
.btn--primary:hover { background: var(--blue-light); color: #fff; }

.btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; font-family: var(--f-display); padding: 20px 30px; }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: #fff; }

.btn--dark { background: var(--navy-600); color: #fff; padding: 14px 24px; border-radius: 6px; font-size: 15.5px; }
.btn--dark:hover { background: var(--blue); color: #fff; }

.btn--outline { border-color: var(--line-5); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

/* --------------------------------------------------------------------------
   5. Hlavička a navigace
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,22,38,.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);
  height: var(--header-h); display: flex; align-items: center; gap: 40px;
}

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 38px; width: auto; filter: brightness(0) invert(1); }
.logo::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); display: block; }

.nav {
  display: flex; align-items: center; gap: 4px; margin-left: 18px;
  font-size: 14.5px; font-weight: 500; letter-spacing: .01em;
}
.nav a { color: rgba(255,255,255,.82); padding: 10px 14px; border-radius: 6px; white-space: nowrap; }
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }

/* Telefon uvnitř menu — jen pro mobilní rozbalené menu */
.nav__phone { display: none; }

/* Telefonní CTA vpravo */
.header__phone {
  margin-left: auto; display: flex; align-items: center; gap: 12px;
  background: var(--blue); color: #fff; padding: 13px 22px; border-radius: 7px;
  font-weight: 600; font-size: 15.5px; box-shadow: 0 8px 24px rgba(22,99,219,.35);
  flex-shrink: 0;
}
.header__phone:hover { background: var(--blue-dark); color: #fff; }
.header__phone .label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; opacity: .75;
}
.header__phone .num { font-family: var(--f-display); letter-spacing: -.01em; }

/* Hamburger — zobrazí se až v mobilním breakpointu */
.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; border-radius: 7px; cursor: pointer;
  padding: 0; position: relative; flex-shrink: 0;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--navy-800); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .58;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, #0A1626 12%, rgba(10,22,38,.86) 45%, rgba(10,22,38,.35) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--wrap); margin: 0 auto; padding: 132px var(--pad) 124px;
}
.hero__content { max-width: 880px; }

.hero h1 {
  font-weight: 800;
  font-size: clamp(36px, 5.4vw, 78px);
  line-height: 1.03; letter-spacing: -.035em;
  color: #fff; margin: 0 0 30px; text-wrap: balance;
}
.hero__perex {
  font-size: clamp(17px, 1.5vw, 20.5px); line-height: 1.6;
  color: rgba(255,255,255,.74); margin: 0 0 44px; max-width: 620px;
}
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   7. Pruh se statistikami
   -------------------------------------------------------------------------- */
.stats { background: var(--navy-700); border-top: 1px solid rgba(255,255,255,.08); }
.stats__grid {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 46px 34px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; border-right: 0; }
.stat__num {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(32px, 3.4vw, 46px); color: #fff; letter-spacing: -.03em; line-height: 1;
}
.stat__num span { color: var(--amber); }
.stat__label { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.6); }

/* --------------------------------------------------------------------------
   8. Proč právě my
   -------------------------------------------------------------------------- */
.why__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: center; }
.why__intro .lead { max-width: 460px; }
.why__list { display: flex; flex-direction: column; }

.why-item {
  display: grid; grid-template-columns: 62px 1fr; gap: 28px;
  padding: 34px 0; border-top: 1px solid var(--line-2);
}
.why-item:last-child { border-bottom: 1px solid var(--line-2); }
.why-item__num {
  font-family: var(--f-mono); font-size: 13px; color: var(--label-3);
  letter-spacing: .06em; padding-top: 6px;
}
.why-item h3 { font-weight: 700; font-size: 23px; letter-spacing: -.01em; margin: 0 0 10px; }
.why-item p { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Mozaika tří fotek */
.photo-mosaic {
  margin-top: 96px; display: grid; grid-template-columns: 1.6fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 20px; height: 420px;
}
.photo-mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 4px; }
.photo-mosaic__col {
  display: grid; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px; min-height: 0;
}

/* --------------------------------------------------------------------------
   9. Služby
   -------------------------------------------------------------------------- */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.service { background: var(--white); padding: 40px 38px 44px; transition: background .3s ease; }
.service:hover { background: #F7F9FC; }
.service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 46px; }
.service__icon {
  width: 34px; height: 34px; border: 1.5px solid var(--blue);
  border-radius: 3px; position: relative; flex-shrink: 0;
}
.service__icon::after {
  content: ""; position: absolute; inset: 7px;
  background: var(--blue); opacity: .16; border-radius: 1px;
}
.service__num { font-family: var(--f-mono); font-size: 12px; color: var(--label-4); letter-spacing: .08em; }
.service h3 { font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin: 0 0 12px; }
.service p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Řádek „Dále zajišťujeme" */
.also { margin-top: 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.also__label {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--label);
}
.also__sep { width: 1px; height: 18px; background: var(--line-2); display: block; }
.also li { font-size: 16px; color: var(--ink-3); display: flex; align-items: center; gap: 18px; }
.also ul { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.also li + li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: #C6CDD6; display: block;
}

/* --------------------------------------------------------------------------
   10. Karty vozíků
   -------------------------------------------------------------------------- */
.trucks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.truck {
  background: var(--white); border: 1px solid var(--line-3); border-radius: 5px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.truck:hover {
  border-color: #C7D3E4;
  box-shadow: 0 18px 40px rgba(12,24,40,.09);
  transform: translateY(-3px);
}
.truck__media { position: relative; height: 262px; background: var(--placeholder); overflow: hidden; }
.truck__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.truck:hover .truck__media img { transform: scale(1.04); }

.tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(10,22,38,.9); color: #fff;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 12px; border-radius: 3px;
}

.truck__body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.truck__brand {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--label); margin-bottom: 10px;
}
.truck__model { font-weight: 700; font-size: 27px; letter-spacing: -.02em; margin: 0 0 24px; }
.truck__model a { color: inherit; }
.truck__model a:hover { color: var(--blue); }

.truck__specs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding: 20px 0; border-top: 1px solid var(--line-4); border-bottom: 1px solid var(--line-4);
  margin-bottom: 26px;
}
.spec__label { font-size: 12px; color: var(--label-2); margin-bottom: 6px; }
.spec__value { font-family: var(--f-display); font-weight: 600; font-size: 17px; }

.truck__foot {
  margin-top: auto; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.price__label { font-size: 12px; color: var(--label-2); margin-bottom: 4px; }
.price__value { font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }

/* Odkaz pod mřížkou na homepage */
.trucks__more { margin-top: 46px; display: flex; justify-content: center; }

/* --------------------------------------------------------------------------
   11. Recenze
   -------------------------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review {
  border: 1px solid var(--line-3); border-radius: 5px;
  padding: 38px 34px 34px; display: flex; flex-direction: column;
  background: var(--white);
}
.review__stars { display: flex; gap: 4px; color: var(--amber); font-size: 17px; margin-bottom: 26px; letter-spacing: .1em; }
.review p { font-size: 17.5px; line-height: 1.65; color: var(--ink-2); margin: 0 0 32px; flex: 1; }
.review__author { display: flex; align-items: center; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line-4); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy-600); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; flex-shrink: 0;
}
.review__name { font-weight: 600; font-size: 15.5px; }
.review__company { font-size: 14px; color: var(--muted-2); margin-top: 2px; }

/* --------------------------------------------------------------------------
   12. Tmavý CTA pruh
   -------------------------------------------------------------------------- */
.cta { position: relative; background: var(--navy-800); overflow: hidden; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0A1626 20%, rgba(10,22,38,.7) 100%);
}
.cta__inner {
  position: relative; z-index: 1;
  max-width: var(--wrap); margin: 0 auto; padding: 116px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 70px;
}
.cta__text { max-width: 700px; }
.cta h2 { font-weight: 700; font-size: clamp(28px, 3.3vw, 46px); line-height: 1.1; color: #fff; margin: 0 0 20px; }
.cta p { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.cta__actions .btn { padding-left: 36px; padding-right: 36px; }

/* --------------------------------------------------------------------------
   13. Patička
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.62); padding: 96px 0 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 60px; padding-bottom: 76px;
}
.footer .logo { margin-bottom: 22px; }
.footer .logo img { height: 40px; }
.footer__about { font-size: 15.5px; line-height: 1.65; margin: 0 0 26px; max-width: 320px; }
.footer__ids { font-family: var(--f-mono); font-size: 12.5px; line-height: 2; color: rgba(255,255,255,.4); }

.footer__title {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; margin-bottom: 22px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; list-style: none; margin: 0; padding: 0; }
.footer__links a { color: rgba(255,255,255,.62); }
.footer__links a:hover { color: #fff; }

.footer p { font-size: 15.5px; line-height: 1.7; margin: 0 0 22px; }
.footer__dim { color: rgba(255,255,255,.4); }

.footer__phone {
  display: block; font-family: var(--f-display); font-weight: 700;
  font-size: 28px; letter-spacing: -.02em; color: #fff; margin-bottom: 10px;
}
.footer__phone:hover { color: var(--blue-link); }
.footer__mail { font-size: 16px; color: var(--blue-link); }
.footer__mail:hover { color: var(--blue-link-h); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 28px 0 34px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255,255,255,.35);
}
.footer__bottom a { color: rgba(255,255,255,.35); }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; gap: 26px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   14. Hlavička podstránky
   -------------------------------------------------------------------------- */
.page-hero { background: var(--navy-800); position: relative; overflow: hidden; }
.page-hero__inner {
  position: relative; z-index: 1;
  max-width: var(--wrap); margin: 0 auto; padding: 92px var(--pad) 84px;
}
.page-hero h1 {
  font-weight: 800; font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.05; letter-spacing: -.035em; color: #fff; margin: 0 0 22px; max-width: 900px;
}
.page-hero p {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6;
  color: rgba(255,255,255,.72); margin: 0; max-width: 680px;
}

/* Varianta jen s drobečkovou navigací (detail vozíku) */
.page-hero--slim .page-hero__inner { padding-top: 30px; padding-bottom: 30px; }
.page-hero--slim .crumbs { margin-bottom: 0; }

/* Drobečková navigace */
.crumbs {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 26px;
}
.crumbs a { color: rgba(255,255,255,.45); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* --------------------------------------------------------------------------
   15. Detail vozíku
   -------------------------------------------------------------------------- */
.detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }

.gallery__main {
  position: relative; background: var(--placeholder);
  border: 1px solid var(--line-3); border-radius: 5px; overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs {
  margin-top: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.thumb {
  padding: 0; border: 1px solid var(--line-3); border-radius: 4px; overflow: hidden;
  background: var(--placeholder); cursor: pointer; aspect-ratio: 4 / 3;
  transition: border-color .2s ease, opacity .2s ease;
  opacity: .68;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { border-color: var(--blue); border-width: 2px; opacity: 1; }

.detail__brand {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--label); margin-bottom: 14px;
}
.detail h1 { font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; margin: 0 0 20px; }
.detail__tag {
  display: inline-block; background: var(--navy-800); color: #fff;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 12px; border-radius: 3px; margin-bottom: 26px;
}
.detail__price {
  padding: 26px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  margin-bottom: 30px;
}
.detail__price .price__value { font-size: 38px; }

.spec-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 32px; }
.spec-row { background: var(--white); padding: 18px 20px; }
.spec-row dt { font-size: 12.5px; color: var(--label-2); margin-bottom: 6px; }
.spec-row dd { font-family: var(--f-display); font-weight: 600; font-size: 17px; margin: 0; }

.detail__desc { margin-bottom: 34px; }
.detail__desc h2 { font-weight: 700; font-size: 22px; letter-spacing: -.01em; margin: 0 0 14px; }
.detail__desc p { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin: 0 0 14px; }
.detail__desc p:last-child { margin-bottom: 0; }

.detail__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.detail__note {
  margin-top: 26px; font-size: 14px; color: var(--label);
  padding-top: 20px; border-top: 1px solid var(--line-2);
}

/* --------------------------------------------------------------------------
   16. Obsahové stránky (Služby, Servis, O nás, Kariéra)
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin: 0 0 18px; }
.prose h3 { font-weight: 700; font-size: 21px; letter-spacing: -.01em; margin: 34px 0 12px; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.prose ul li {
  font-size: 17px; line-height: 1.7; color: var(--muted);
  padding-left: 26px; position: relative; margin-bottom: 10px;
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--blue); opacity: .5;
}

/* Dvousloupcový obsahový blok: nadpis vlevo, text vpravo */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.split + .split { margin-top: 96px; }
.split__aside { position: sticky; top: calc(var(--header-h) + 40px); }

/* Číslovaný seznam kroků */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 62px 1fr; gap: 28px;
  padding: 34px 0; border-top: 1px solid var(--line-2);
}
.step:last-child { border-bottom: 1px solid var(--line-2); }
.step__num { font-family: var(--f-mono); font-size: 13px; color: var(--label-3); letter-spacing: .06em; padding-top: 6px; }
.step h3 { font-weight: 700; font-size: 23px; letter-spacing: -.01em; margin: 0 0 10px; }
.step p { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Karty s rámečkem (pozice, hodnoty firmy…) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  border: 1px solid var(--line-3); border-radius: 5px; padding: 34px 32px;
  background: var(--white); display: flex; flex-direction: column;
}
.card h3 { font-weight: 700; font-size: 21px; letter-spacing: -.01em; margin: 0 0 12px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.card p:last-child { margin-bottom: 0; }
.card__meta {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--label); margin-bottom: 16px;
}
.card__foot { margin-top: auto; padding-top: 20px; }

.figure { border-radius: 4px; overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   17. Kontaktní formulář
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; }

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 6px;
  background: var(--white); transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,99,219,.12);
}
.field__hint { font-size: 13px; color: var(--label); margin-top: 7px; }

.checkbox { display: flex; align-items: flex-start; gap: 12px; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--blue); }
.checkbox label { font-size: 14.5px; font-weight: 400; color: var(--muted); line-height: 1.55; margin: 0; }

.form__note {
  background: #FFF8EC; border: 1px solid #F0DCB4; border-radius: 6px;
  padding: 16px 18px; font-size: 14.5px; line-height: 1.6; color: #7A5A20;
}

/* Kontaktní panel vpravo */
.contact-panel { background: var(--white); border: 1px solid var(--line-3); border-radius: 5px; padding: 38px 34px; }
.contact-block + .contact-block { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line-4); }
.contact-block__title {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--label); margin-bottom: 12px;
}
.contact-block__big {
  display: block; font-family: var(--f-display); font-weight: 700;
  font-size: 30px; letter-spacing: -.02em; color: var(--ink);
}
.contact-block__big:hover { color: var(--blue); }
.contact-block p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   18. Reveal animace při scrollu
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   19. Responzivita
   ========================================================================== */

/* ---- Menší desktop ---- */
@media (max-width: 1280px) {
  :root { --pad: 32px; }
  .why__grid { gap: 56px; }
  .split { gap: 56px; }
  .footer__grid { gap: 40px; }
  .nav { gap: 0; margin-left: 8px; }
  .nav a { padding: 10px 10px; }
}

/* ---- Tablet na šířku: hamburger menu ---- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-800); margin: 0; padding: 12px var(--pad) 28px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 50px rgba(6,16,28,.45);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    font-size: 17px;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 4px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a:last-child { border-bottom: 0; }

  /* Telefon se přesune do rozbaleného menu */
  .header__phone { display: none; }
  .nav__phone {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-top: 18px; background: var(--blue); color: #fff;
    padding: 16px 22px; border-radius: 7px; font-weight: 600; font-size: 17px;
    border-bottom: 0 !important;
  }
  .nav__phone:hover { background: var(--blue-dark); color: #fff; }

  body.nav-open { overflow: hidden; }
}

/* ---- Tablet ---- */
@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .section--tight { padding: 64px 0; }

  .hero__inner { padding: 92px var(--pad) 84px; }
  .hero__perex { margin-bottom: 34px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 34px 24px; }
  .stat:nth-child(2n) { border-right: 0; padding-right: 0; }
  .stat:nth-child(2n+1) { padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }

  .why__grid { grid-template-columns: 1fr; gap: 48px; }
  .why__intro .lead { max-width: none; }

  .photo-mosaic { margin-top: 56px; height: auto; grid-template-columns: 1fr; }
  .photo-mosaic > img { height: 320px; }
  .photo-mosaic__col { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .photo-mosaic__col img { height: 200px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 26px; margin-bottom: 44px; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .service { padding: 32px 28px 36px; }
  .service__top { margin-bottom: 32px; }

  .trucks { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .reviews { grid-template-columns: 1fr; gap: 20px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .cta__inner { flex-direction: column; align-items: flex-start; gap: 36px; padding: 80px var(--pad); }
  .cta__actions { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .cta__actions .btn { flex: 1 1 220px; }

  .detail { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split + .split { margin-top: 64px; }
  .split__aside { position: static; }

  .contact { grid-template-columns: 1fr; gap: 40px; }

  .footer { padding-top: 72px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 44px; padding-bottom: 56px; }
}

/* ---- Mobil ---- */
@media (max-width: 640px) {
  :root { --pad: 20px; --header-h: 72px; }

  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }

  .logo img { height: 32px; }

  .hero__inner { padding: 64px var(--pad) 60px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .eyebrow--amber { align-items: flex-start; }

  .stats__grid { grid-template-columns: 1fr; }
  .stat { padding: 26px 0 !important; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:last-child { border-bottom: 0; }

  .why-item { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .why-item__num { padding-top: 0; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .step__num { padding-top: 0; }

  .photo-mosaic > img { height: 220px; }
  .photo-mosaic__col { grid-template-columns: 1fr; }
  .photo-mosaic__col img { height: 180px; }

  .services { grid-template-columns: 1fr; }
  .trucks { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }

  .truck__media { height: 220px; }
  .truck__body { padding: 24px 22px 26px; }
  .truck__model { font-size: 24px; }
  .truck__foot { flex-direction: column; align-items: stretch; gap: 18px; }
  .truck__foot .btn { width: 100%; }

  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .spec-table { grid-template-columns: 1fr; }
  .detail__price .price__value { font-size: 30px; }
  .detail__actions .btn { width: 100%; }

  .review { padding: 28px 24px 26px; }
  .review p { font-size: 16.5px; }

  .cta__inner { padding: 56px var(--pad); }
  .cta__actions { flex-direction: column; }

  .contact-panel { padding: 28px 24px; }
  .form__row { grid-template-columns: 1fr; gap: 22px; }

  .footer { padding-top: 56px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer__about { max-width: none; }
  .footer__bottom { flex-direction: column; gap: 14px; padding: 22px 0 28px; }
  .footer__legal { gap: 18px; }

  .page-hero__inner { padding: 56px var(--pad) 52px; }
  .btn { padding: 17px 26px; font-size: 16px; }
}

/* --------------------------------------------------------------------------
   20. Lišta se souhlasem s cookies
   -------------------------------------------------------------------------- */
.ck {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  padding: 16px; display: flex; justify-content: center;
  animation: ck-in .3s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes ck-in { from { opacity: 0; transform: translateY(16px); } }

.ck__box {
  background: var(--white); border: 1px solid var(--line-2);
  border-radius: 10px; box-shadow: 0 20px 50px rgba(6,16,28,.28);
  max-width: 940px; width: 100%; padding: 26px 28px;
  display: flex; align-items: flex-start; gap: 32px;
}
.ck__text { flex: 1; min-width: 0; }
.ck__nadpis {
  font-family: var(--f-display); font-weight: 700; font-size: 18px;
  letter-spacing: -.01em; margin: 0 0 8px;
}
.ck__text p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

.ck__volby { margin-top: 18px; display: grid; gap: 12px; }
/* Atribut hidden musí přebít display: grid a display: flex */
.ck [hidden] { display: none !important; }
.ck__volba {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 14.5px; line-height: 1.5; color: var(--muted); cursor: pointer;
}
.ck__volba input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.ck__volba strong { color: var(--ink); font-weight: 600; }
.ck__volba--pevna { cursor: default; opacity: .75; }

.ck__akce { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; width: 190px; }
.ck__btn {
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  padding: 12px 18px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--white); color: var(--ink);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.ck__btn:hover { border-color: #C3CCD8; }
.ck__btn--hlavni { background: var(--blue); border-color: var(--blue); color: #fff; }
.ck__btn--hlavni:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.ck__btn--text { border-color: transparent; color: var(--muted); font-weight: 500; }
.ck__btn--text:hover { color: var(--blue); border-color: transparent; background: transparent; }

@media (max-width: 760px) {
  .ck { padding: 10px; }
  .ck__box { flex-direction: column; gap: 20px; padding: 22px 20px; }
  .ck__akce { width: 100%; }
}

/* Tabulka cookies na stránce o cookies */
.tablewrap-web { overflow-x: auto; margin: 0 0 40px; }
.ctab {
  width: 100%; border-collapse: collapse; min-width: 640px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden;
}
.ctab th {
  text-align: left; padding: 14px 18px; font-family: var(--f-mono);
  font-size: 11.5px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--label);
  border-bottom: 1px solid var(--line); background: #FAFBFC;
}
.ctab td { padding: 16px 18px; border-bottom: 1px solid var(--line-4); font-size: 15px; color: var(--muted); vertical-align: top; }
.ctab tr:last-child td { border-bottom: 0; }
.ctab code {
  font-family: var(--f-mono); font-size: 13.5px; color: var(--ink);
  background: var(--line-4); padding: 2px 7px; border-radius: 3px; white-space: nowrap;
}
.ctab strong { color: var(--ink); }

.stitek {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  padding: 4px 11px; border-radius: 20px; white-space: nowrap;
}
.stitek--nutne     { background: #E9F7EF; color: #1E7A46; }
.stitek--analytika { background: #FFF8EC; color: #7A5A20; }
