:root {
  --bg: #0C0D0E;
  --surface: #141618;
  --line: #22262A;
  --line-strong: #3A3F45;
  --text: #EDEAE3;
  --text-2: #BFC4CB;
  --text-3: #9BA3AD;
  --text-4: #6B727B;
  --accent: #F9B805;
  --accent-hover: #FFCB3D;
  --on-accent: #0C0D0E;
  --ok: #8CC084;
  --err: #E07070;
  --max: 1280px;
  --gutter: 32px;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; line-height: 1; margin: 0; }
h2 { font-weight: 700; font-size: clamp(40px, 5vw, 60px); }
h3 { font-weight: 700; font-size: 28px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.kicker { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--text-2); max-width: 760px; margin-top: 16px; }
.section-head { max-width: 760px; }

.btn {
  display: inline-block;
  padding: 18px 32px;
  font: 600 16px/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border-color: var(--text-4); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }

/* Header */
.site-header { position: relative; z-index: 3; }
.site-header.over { position: absolute; top: 0; left: 0; right: 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font: 500 15px/1 var(--body); letter-spacing: 0.04em; text-transform: uppercase; }
.nav a { color: var(--text-2); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav .btn { padding: 12px 20px; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--on-accent); }
.nav .social { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); }
.nav .social svg { width: 18px; height: 18px; fill: var(--text-2); }
.nav .social:hover svg { fill: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); padding: 10px 14px; font: 500 14px/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 820px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); padding-top: 120px; }
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px; background: linear-gradient(to bottom, rgba(12,13,14,0.75), rgba(12,13,14,0)); z-index: 1; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(12,13,14,0.94) 0%, rgba(12,13,14,0.55) 40%, rgba(12,13,14,0.08) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-weight: 800; font-size: clamp(56px, 8vw, 96px); line-height: 0.95; letter-spacing: -0.01em; max-width: 900px; }
.hero .lead { font-size: 22px; max-width: 680px; margin: 0; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* Stats */
.stats { border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.stat { min-width: 0; }
.stat b { display: block; font: 700 44px/1 var(--display); }
.stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }

/* Why */
.why .wrap { padding-top: 112px; padding-bottom: 96px; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.why-grid article { background: var(--surface); border: 1px solid var(--line); padding: 32px; min-width: 0; }
.why-grid svg { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-grid h3 { margin: 16px 0; }
.why-grid p { font-size: 16px; color: var(--text-2); }

/* Feature band */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.band img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; border-right: 1px solid var(--line); }
.band .text { padding: 72px 0 72px 72px; display: flex; flex-direction: column; justify-content: center; }
.band h2 { font-size: clamp(36px, 4vw, 52px); }
.band .lead { font-size: 18px; }
.band .more { margin-top: 20px; color: var(--accent); text-decoration: none; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 15px; }

/* Video */
.video .wrap { padding-top: 96px; display: flex; flex-direction: column; gap: 32px; }
.video .head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.video .head h2 { font-size: clamp(36px, 4vw, 52px); }
.video .head p { font-size: 16px; color: var(--text-3); max-width: 420px; }
.video video { width: 100%; aspect-ratio: 16 / 9; background: var(--surface); object-fit: cover; border: 1px solid var(--line); }

/* Výbava */
.gear .wrap { padding-top: 112px; padding-bottom: 96px; }
.gear-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; margin-top: 48px; }
.gear-grid > div { border-top: 2px solid var(--accent); padding-top: 20px; min-width: 0; }
.gear-grid h3 { font-size: 24px; }
.gear-grid ul { margin-top: 14px; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.45; color: var(--text-2); }

/* Galerie */
.gallery { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery .wrap { padding-top: 96px; padding-bottom: 96px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.gallery-grid img { width: 100%; height: 320px; object-fit: cover; }
.gallery-grid .tall { height: 420px; }
.gallery-grid .wide { grid-column: span 2; height: 420px; }

/* Požadavky */
.req .wrap { padding-top: 112px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.req .lead { font-size: 18px; }
.req ol { list-style: none; }
.req li { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.req li:last-child { border-bottom: 1px solid var(--line); }
.req li b { font: 700 22px/1.45 var(--display); color: var(--accent); width: 48px; flex-shrink: 0; }

/* Ceník */
.pricing { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing .wrap { padding-top: 96px; padding-bottom: 96px; }
.pricing .lead { font-size: 18px; }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.price { background: var(--bg); border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.price.hi { border-color: var(--accent); }
.price .label { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.price.hi .label { color: var(--accent); }
.price .amount { font: 800 clamp(44px, 4vw, 56px)/1 var(--display); }
.price .per { font-size: 15px; color: var(--text-2); }
.price .note { font-size: 14px; color: var(--text-3); margin-top: 8px; }
.terms-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; font-size: 15px; color: var(--text-2); }
.terms-grid b { color: var(--text); display: block; }

/* Poptávka */
.inquiry .wrap { padding-top: 112px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.steps li { display: flex; gap: 20px; }
.steps li b { font: 800 40px/1 var(--display); color: var(--accent); width: 56px; flex-shrink: 0; }
.steps li strong { display: block; font-size: 18px; }
.steps li span { font-size: 16px; color: var(--text-2); }

.form { background: var(--surface); border: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form h3 { font-size: 32px; }
.form .hint { font-size: 15px; color: var(--text-3); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); padding: 12px 14px; font: 400 16px/1.4 var(--body); color-scheme: dark; }
.field input { height: 48px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-4); }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field.invalid input { border-color: var(--err); }
.estimate { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.estimate b { font: 700 28px/1 var(--display); color: var(--text); }
.estimate.warn { color: var(--err); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-3); }
.consent input { margin-top: 3px; accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.form .btn { height: 56px; width: 100%; }
.form .btn[disabled] { opacity: 0.6; cursor: wait; }
.status { font-size: 15px; display: none; padding: 14px 16px; border: 1px solid var(--line-strong); }
.status.ok { display: block; border-color: var(--ok); color: var(--ok); }
.status.err { display: block; border-color: var(--err); color: var(--err); }
.compose { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.compose p { font-size: 14px; color: var(--text-3); }
.compose textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text-2); padding: 12px 14px; font: 400 14px/1.5 var(--body); resize: vertical; }
.compose .btn { height: 48px; }

/* FAQ */
.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq .wrap { padding-top: 96px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.faq dl { margin: 0; }
.faq .qa { padding: 22px 0; border-top: 1px solid var(--line); }
.faq .qa:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; font-size: 18px; }
.faq dd { margin: 8px 0 0; font-size: 16px; color: var(--text-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.foot-grid .foot-logo { width: 260px; height: auto; }
.foot-grid .muted { font-size: 15px; color: var(--text-3); }
.foot-grid .label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.foot-grid a { text-decoration: none; font-size: 17px; }
.foot-grid a.doc { color: var(--text-2); font-size: 16px; }
.foot-grid a.doc:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-4); }

/* Text pages */
.page .wrap { max-width: 860px; padding-top: 64px; padding-bottom: 96px; }
.page h1 { font-weight: 800; font-size: clamp(40px, 6vw, 64px); margin-bottom: 8px; }
.page .meta { color: var(--text-3); font-size: 15px; margin-bottom: 48px; }
.page h2 { font-size: 30px; margin: 48px 0 16px; }
.page p, .page li { color: var(--text-2); }
.page p + p { margin-top: 12px; }
.page ul, .page ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.page table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 8px 0; }
.page th, .page td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.page th { color: var(--text); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.page .table-wrap { overflow-x: auto; }

/* Responsive */
@media (max-width: 1024px) {
  .stats .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: 1fr; }
  .req .wrap, .inquiry .wrap, .faq .wrap { grid-template-columns: 1fr; gap: 40px; }
  .band .wrap { grid-template-columns: 1fr; padding-left: 0; padding-right: 0; }
  .band img { min-height: 360px; border-right: 0; }
  .band .text { padding: 56px var(--gutter); }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 16px var(--gutter); text-align: center; }
  .nav-toggle { display: inline-block; }
  .brand img { height: 26px; }
  .nav .social { display: none; }
  .hero { min-height: 640px; }
  .hero .lead { font-size: 18px; }
  .hero .actions .btn { width: 100%; text-align: center; }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .stat b { font-size: 36px; }
  .why .wrap, .gear .wrap, .req .wrap, .inquiry .wrap { padding-top: 72px; padding-bottom: 64px; }
  .gallery .wrap, .pricing .wrap, .faq .wrap, .video .wrap { padding-top: 64px; padding-bottom: 64px; }
  .why-grid, .gear-grid, .terms-grid, .foot-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .wide { grid-column: auto; height: 260px; }
  .gallery-grid .tall, .gallery-grid img { height: 260px; }
  .form { padding: 24px; }
  .row { grid-template-columns: 1fr; }
  .band .text { padding: 48px var(--gutter); }
}
