/* =============================================
   COLUMNATE INDUSTRIAL — stylesheet
   Design: Constro-inspired
   Barvy: #ffbc13 (primary), #1a1a1a (dark)
   Fonty: Open Sans + Roboto
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #EF7D21;
  --primary-dark: #d46a15;
  --dark:         #1a1a1a;
  --dark2:        #232323;
  --dark3:        #2e2e2e;
  --text:         #5a5a5a;
  --heading:      #1a1a1a;
  --gray:         #f5f5f5;
  --white:        #ffffff;
  --border:       #e0e0e0;

  --font:      'Open Sans', sans-serif;
  --font-head: 'Roboto', sans-serif;

  --container: 1170px;
  --nav-h:     75px;
  --r:         6px;
  --sh:        0 2px 15px rgba(0,0,0,.08);
  --sh2:       0 8px 30px rgba(0,0,0,.15);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--text);
  background: var(--white); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--r);
  font-size: .87rem; font-weight: 700; font-family: var(--font);
  text-transform: uppercase; letter-spacing: .06em;
  transition: all .2s; cursor: pointer; border: none;
}
.btn-primary       { background: var(--primary); color: var(--dark); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-dark          { background: var(--dark); color: var(--white); }
.btn-dark:hover    { background: var(--primary); color: var(--dark); }
.btn-outline       { border: 2px solid rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: var(--dark); }

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--dark2); border-top: 3px solid var(--primary);
  padding: 14px 20px; z-index: 9000; display: none;
}
.cookie-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-inner p { font-size: .88rem; color: rgba(255,255,255,.7); flex: 1; }
.cookie-inner a { color: var(--primary); text-decoration: underline; }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.1); }
.header-inner {
  display: flex; align-items: center;
  height: 100%; justify-content: space-between;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.logo-img { height: 42px; width: auto; }
.logo-text { font-family: var(--font-head); font-weight: 900; font-size: 1.15rem;
  color: var(--white); text-transform: uppercase; letter-spacing: .04em; line-height: 1; }
.logo-text span { color: var(--primary); }

/* Nav */
.nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 13px; color: var(--heading);
  font-size: .82rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; transition: color .15s; border-radius: var(--r);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-phone {
  margin-left: 20px; color: var(--primary);
  font-weight: 700; font-size: .88rem;
  display: flex; align-items: center; gap: 7px;
  flex-shrink: 0;
}
.nav-phone svg { flex-shrink: 0; }
.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; margin-left: auto;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: .2s;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =============================================
   HERO CAROUSEL
   ============================================= */
.hero {
  position: relative; height: 100vh; min-height: 580px; overflow: hidden;
  background: var(--dark);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease; z-index: 0;
}
.hero-slide.active { opacity: 1; z-index: 1; }

/* Záložní gradienty dokud nejsou nahrány fotky */
.hero-slide:nth-child(1) { background-image: linear-gradient(135deg,#1a2535 0%,#0d1820 100%); }
.hero-slide:nth-child(2) { background-image: linear-gradient(135deg,#1e1a10 0%,#2a1a0a 100%); }
.hero-slide:nth-child(3) { background-image: linear-gradient(135deg,#101520 0%,#1a2010 100%); }

/* Pokud jsou nahrané obrázky */
.hero-slide[data-bg] { background-image: none; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.75) 50%, rgba(0,0,0,.35));
  z-index: 2;
}
.hero-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  height: 100%; padding-top: var(--nav-h);
  max-width: 680px;
}
.hero-tag {
  display: inline-block; background: var(--primary); color: var(--dark);
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; padding: 5px 16px; margin-bottom: 20px;
  border-radius: var(--r);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900; color: var(--white);
  text-transform: uppercase; line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title em { color: var(--primary); font-style: normal; }
.hero-sub {
  color: rgba(255,255,255,.7); font-size: .97rem;
  line-height: 1.8; margin-bottom: 36px; max-width: 540px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Carousel dots */
.hero-dots {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none;
  cursor: pointer; transition: background .2s;
}
.hero-dot.active { background: var(--primary); }

/* Carousel arrows */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4; background: rgba(0,0,0,.35);
  border: none; color: var(--white); width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s; font-size: 1.2rem;
}
.hero-arrow:hover { background: var(--primary); color: var(--dark); }
.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar { background: var(--primary); padding: 22px 0; }
.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  text-align: center; gap: 8px;
}
.stat b {
  display: block; font-family: var(--font-head);
  font-size: 2.2rem; font-weight: 900; color: var(--dark); line-height: 1;
}
.stat span {
  font-size: .72rem; font-weight: 700; color: rgba(0,0,0,.5);
  text-transform: uppercase; letter-spacing: .08em;
}

/* =============================================
   OBECNÉ SEKCE
   ============================================= */
.section     { padding: 80px 0; }
.section-gray { background: var(--gray); }
.section-dark { background: var(--dark); color: var(--white); }

.section-title {
  font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; text-transform: uppercase; color: var(--heading);
  margin-bottom: 6px; line-height: 1.2;
}
.section-title em { color: var(--primary); font-style: normal; }
.section-title-light { color: var(--white); }
.sep-line { width: 50px; height: 3px; background: var(--primary); margin: 14px 0 28px; }
.sep-line-center { margin: 14px auto 28px; }

/* =============================================
   O NÁS
   ============================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text .sub-label {
  font-size: .73rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .15em; color: var(--primary); margin-bottom: 10px;
}
.about-text p { font-size: .93rem; color: var(--text); line-height: 1.8; margin-bottom: 14px; }
blockquote {
  border-left: 4px solid var(--primary); padding: 16px 20px;
  background: #fffbf0; margin: 22px 0; border-radius: 0 var(--r) var(--r) 0;
}
blockquote p { font-style: italic; margin: 0 0 8px; font-size: .9rem; color: var(--text); }
blockquote footer { font-size: .83rem; font-weight: 700; color: var(--heading); }

.about-features { display: flex; flex-direction: column; gap: 20px; }
.feat-box { display: flex; gap: 18px; align-items: flex-start; }
.feat-icon {
  flex-shrink: 0; width: 58px; height: 58px;
  background: var(--primary); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}
.feat-icon svg { stroke: var(--dark); }
.feat-box h3 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  text-transform: uppercase; color: var(--heading); margin-bottom: 5px;
}
.feat-box p { font-size: .87rem; color: var(--text); line-height: 1.65; }

.iso-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.iso-badge {
  padding: 6px 14px; background: var(--dark); color: var(--primary);
  font-size: .73rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--r);
}

/* =============================================
   SLUŽBY
   ============================================= */
  .services-grid {
    display: grid;
    /* 3 sloupce na velkém PC, 2 na tabletu, 1 na mobilu */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Tady nastavuješ tu mezeru mezi obrázky */
  }

  /* Responzivita: na tabletech (pod 992px) budou 2 sloupce */
  @media (max-width: 992px) {
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px; /* Trochu menší mezera na menším displeji */
    }
  }

  /* Responzivita: na mobilech (pod 600px) bude 1 sloupec */
  @media (max-width: 600px) {
    .services-grid {
      grid-template-columns: 1fr;
    }
  }

.svc-card {
  position: relative; overflow: hidden; height: 290px;
  background: var(--dark2); cursor: default; border-radius: var(--r);

}
.svc-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;

}
.svc-card:hover .svc-bg { transform: scale(1.08); }
.svc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.15) 100%);
  transition: background .3s;
}
.svc-card:hover .svc-overlay { background: rgba(0,0,0,.7); }
.svc-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px 20px; z-index: 2;
}
.svc-content h3 {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
  text-transform: uppercase; color: var(--white); margin-bottom: 0;
}
.svc-bar {
  width: 0; height: 2px; background: var(--primary);
  transition: width .3s ease; margin: 8px 0;
}
.svc-card:hover .svc-bar { width: 36px; }
.svc-content p {
  font-size: .82rem; color: rgba(255,255,255,.75); line-height: 1.6;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .35s ease, opacity .3s ease;
}
.svc-card:hover .svc-content p { max-height: 100px; opacity: 1; }

/* Záložní pozadí pro karty bez fotek */
.svc-demolice { background: #1a1515; }
.svc-stavba   { background: #151a15; }
.svc-auto     { background: #15151a; }
.svc-site     { background: #1a1a15; }
.svc-zemni    { background: #151a1a; }
.svc-inz      { background: #1a151a; }

/* =============================================
   POLITIKA IMS
   ============================================= */
.ims-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.ims-left .sub-label { color: var(--primary); font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 10px; }
.ims-left p { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: 14px; }
.ims-cert-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.ims-cert {
  padding: 7px 16px; border: 1.5px solid rgba(239,125,33,.4);
  color: var(--primary); font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; border-radius: var(--r);
}
.ims-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px; color: var(--primary); font-weight: 700;
  font-size: .84rem; text-transform: uppercase; letter-spacing: .05em;
  transition: gap .2s;
}
.ims-link:hover { gap: 14px; }

.ims-items { display: flex; flex-direction: column; }
.ims-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.ims-item:first-child { padding-top: 0; }
.ims-num {
  flex-shrink: 0; width: 42px; height: 42px;
  background: var(--primary); color: var(--dark);
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r);
}
.ims-item h4 {
  font-size: .9rem; font-weight: 700; text-transform: uppercase;
  color: var(--white); margin-bottom: 5px; letter-spacing: .03em;
}
.ims-item p { font-size: .84rem; color: rgba(255,255,255,.55); line-height: 1.65; }

/* =============================================
   KDE JSME
   ============================================= */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.loc-list { display: flex; flex-direction: column; gap: 0; }
.loc-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.loc-item:first-child { padding-top: 0; }
.loc-item:last-child { border-bottom: none; }
.loc-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  background: var(--primary); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}
.loc-icon svg { stroke: var(--dark); }
.loc-text strong { display: block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--heading); margin-bottom: 3px; }
.loc-text span, .loc-text a { font-size: .87rem; color: var(--text); }
.loc-text a:hover { color: var(--primary); }
.map-frame { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh2); }
.map-frame iframe { display: block; }

/* =============================================
   KONTAKT
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.contact-side { align-self: end; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--heading);
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--r);
  font-size: .9rem; font-family: var(--font); color: var(--heading);
  background: var(--white); outline: none; transition: border-color .18s;
  -webkit-appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a5a5a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 36px; cursor: pointer;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--primary); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-gdpr { display: flex; gap: 9px; align-items: flex-start; }
.form-gdpr input[type=checkbox] { flex-shrink: 0; margin-top: 3px; width: 16px; height: 16px; accent-color: var(--primary); }
.form-gdpr label { font-size: .83rem; color: var(--text); cursor: pointer; line-height: 1.5; }
.form-gdpr a { color: var(--primary); text-decoration: underline; }
.form-alert { padding: 11px 16px; font-size: .87rem; font-weight: 600; border-radius: var(--r); }
.form-alert.ok  { background: #f0fdf4; border-left: 3px solid #22c55e; color: #166534; }
.form-alert.err { background: #fef2f2; border-left: 3px solid #ef4444; color: #991b1b; }

.contact-side { display: flex; flex-direction: column; gap: 0; }
.contact-info-items { display: flex; flex-direction: column; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border-bottom: none; }
.info-icon { flex-shrink: 0; width: 42px; height: 42px; background: var(--primary); border-radius: var(--r); display: flex; align-items: center; justify-content: center; }
.info-icon svg { stroke: var(--dark); }
.info-text strong { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--heading); margin-bottom: 2px; }
.info-text span, .info-text a { font-size: .87rem; color: var(--text); }
.info-text a:hover { color: var(--primary); }

.billing-box { background: var(--dark); padding: 22px; margin-top: 20px; border-radius: var(--r); }
.billing-box h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 14px; }
.billing-tbl { width: 100%; border-collapse: collapse; }
.billing-tbl td { padding: 7px 0; font-size: .84rem; color: rgba(255,255,255,.5); border-bottom: 1px solid rgba(255,255,255,.06); }
.billing-tbl tr:last-child td { border: none; }
.billing-tbl td:first-child { width: 50px; }
.billing-tbl strong { color: var(--white); }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--dark2); border-top: 3px solid var(--primary); }
.footer-main { padding: 56px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 55px; width: auto; margin-bottom: 10px; display: block; }
.footer-logo-second { height: 80px; margin-top: 4px; margin-bottom: 14px; }
/* Logo v headeru – bez filtru (bílé pozadí) */
.header .logo-img { filter: none; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.45); line-height: 1.75; }
.footer-iso { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.footer-iso span {
  font-size: .71rem; font-weight: 700; color: var(--primary);
  padding: 4px 10px; border: 1px solid rgba(239,125,33,.25);
  text-transform: uppercase; letter-spacing: .05em; border-radius: var(--r);
}

/* Buggyra v patičce */
.footer-buggyra {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 8px;
}
.footer-buggyra span {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(255,255,255,.35);
}
.footer-buggyra img { height: 44px; width: auto; }
.footer-col h4 {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.3);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-col a {
  font-size: .84rem; padding: 5px 0;
  color: rgba(255,255,255,.5); transition: color .15s, padding-left .15s;
}
.footer-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom { background: #111; padding: 14px 0; }
.footer-bottom-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 6px; font-size: .79rem;
  color: rgba(255,255,255,.3);
}

/* =============================================
   PODSTRÁNKY
   ============================================= */
.page-banner {
  background: var(--dark2);
  padding: calc(var(--nav-h) + 54px) 0 58px;
  border-bottom: 3px solid var(--primary);
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: .8rem; color: rgba(255,255,255,.35); margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,.35); transition: color .15s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: rgba(255,255,255,.18); }
.page-banner h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  text-transform: uppercase; color: var(--white); line-height: 1.1;
}
.page-banner h1 em { color: var(--primary); font-style: normal; }
.page-banner .banner-sub {
  margin-top: 12px; font-size: .93rem;
  color: rgba(255,255,255,.5); max-width: 600px;
}

.page-body { padding: 64px 0; }

/* Prose – dokumentační stránky */
.prose { max-width: 860px; }
.prose h2 {
  font-family: var(--font-head); font-size: 1.45rem; font-weight: 700;
  text-transform: uppercase; color: var(--heading);
  margin: 44px 0 10px; padding-top: 44px;
  border-top: 1px solid var(--border);
}
.prose h2::after { content: ''; display: block; width: 36px; height: 3px; background: var(--primary); margin-top: 8px; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 {
  font-size: .95rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--heading); margin: 22px 0 8px;
}
.prose p { font-size: .91rem; color: var(--text); line-height: 1.82; margin-bottom: 12px; }
.prose ul { padding-left: 0; margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.prose ul li {
  padding-left: 20px; position: relative;
  font-size: .91rem; color: var(--text); line-height: 1.65;
}
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; background: var(--primary);
}
.prose ol { padding-left: 20px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.prose ol li { font-size: .91rem; color: var(--text); line-height: 1.65; }
.prose strong { color: var(--heading); font-weight: 700; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose .box {
  border-left: 4px solid var(--primary); padding: 16px 20px;
  background: #fffbf0; margin: 20px 0; border-radius: 0 var(--r) var(--r) 0;
}
.prose .box p { margin: 0; color: var(--heading); }

/* Dokumentace – přehled karet */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 20px; }
.doc-card {
  display: flex; gap: 18px; padding: 26px 22px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  text-decoration: none; color: inherit;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.doc-card:hover { border-color: var(--primary); box-shadow: var(--sh2); transform: translateY(-2px); }
.doc-icon {
  flex-shrink: 0; width: 54px; height: 54px;
  background: var(--primary); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}
.doc-icon svg { stroke: var(--dark); }
.doc-card h3 {
  font-family: var(--font-head); font-size: .97rem; font-weight: 700;
  text-transform: uppercase; color: var(--heading); margin-bottom: 8px;
}
.doc-card p { font-size: .84rem; color: var(--text); line-height: 1.6; margin-bottom: 12px; }
.doc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.doc-tags span {
  padding: 3px 9px;
  background: rgba(239,125,33,.08); border: 1px solid rgba(239,125,33,.25);
  color: #c25a00; font-size: .71rem; font-weight: 700; text-transform: uppercase;
  border-radius: var(--r);
}

/* =============================================
   RESPONZIVITA
   ============================================= */
@media (max-width: 1050px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .ims-grid      { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  :root { --nav-h: 65px; }
  .section { padding: 60px 0; }
  .about-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); border-bottom: 2px solid var(--primary);
    padding: 16px 20px 28px;
    flex-direction: column; align-items: flex-start; gap: 2px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
  }
  .nav.open { display: flex; }
  .nav-link { font-size: .9rem; padding: 11px 14px; width: 100%; }
  .nav-phone { display: none; }
  .burger { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .stats-row     { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 28px; }
  .hero-btns     { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-arrow    { display: none; }
}

@media (max-width: 420px) {
  .container { padding: 0 14px; }
}
