/* ============================================================
   STAVO – Havel s.r.o.  |  style.css
   ============================================================ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --brand:      #cc1a1a;
  --brand-dark: #a81515;
  --black:      #0a0a0a;
  --surface:    #f7f6f4;
  --border:     #e5e4e0;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Source Sans 3', sans-serif;
  color: #111;
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: 'Oswald', sans-serif; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }

/* ── Topbar ─────────────────────────────────────────────── */
.topbar {
  background: var(--brand);
  color: #fff;
  padding: 7px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.topbar__phones {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .02em;
}
.topbar__phones svg { flex-shrink: 0; }
.topbar__phones a:hover { opacity: .75; }
.topbar__phones .sep { opacity: .35; }
.topbar__info { opacity: .75; font-size: 12px; }

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 4px 24px rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.site-nav.scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,.1), 0 8px 32px rgba(0,0,0,.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--black);
  letter-spacing: .03em;
  line-height: 1;
}
.nav-logo__imgs {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo__imgs img {
  height: 34px;
  width: auto;
  display: block;
  /* logos are black – perfect on white nav */
}
.nav-logo__accent { color: var(--brand); }
.nav-logo__sep { opacity: .25; margin: 0 6px; }

.nav-links {
  display: none;
  height: 64px;
  align-items: flex-end;
  gap: 0;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(0,0,0,.65);
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--brand);
  transition: width .25s ease;
}
.nav-link:hover { color: var(--black); }
.nav-link:hover::after { width: 100%; }

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 4px;
}
@media (min-width: 768px) { .burger { display: none; } }

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: .3s;
}
.burger.open .burger-line { background: #fff; }
.burger.open .burger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open .burger-line:nth-child(2) { opacity: 0; }
.burger.open .burger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--black);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mob-menu.is-open { display: flex; }
.mob-menu__link {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: .04em;
  transition: color .2s;
}
.mob-menu__link:hover { color: var(--brand); }

/* Topbar hide on scroll */
.topbar {
  transition: max-height .4s ease, opacity .4s ease, padding .4s ease;
  overflow: hidden;
  max-height: 60px;
}
.topbar.hidden {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

/* Ken Burns slideshow */
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: kbCycle 27s ease-in-out infinite;
  will-change: transform, opacity;
}
/* Pixabay images — stahni a uloz do img/
   https://pixabay.com/photos/wheel-loader-excavator-2833959/
   https://pixabay.com/photos/wheel-loader-wheel-cat-938m-heap-2580470/
   https://pixabay.com/photos/excavator-work-transportation-truck-7047054/
   https://pixabay.com/photos/wheel-loader-caterpiller-industry-4188218/ */
.hero__slide:nth-child(1) {
  background-image: url('img/hero1.webp');
  animation-delay: 0s;
}
.hero__slide:nth-child(2) {
  background-image: url('img/hero2.webp');
  animation-delay: 9s;
}
.hero__slide:nth-child(3) {
  background-image: url('img/hero3.webp');
  animation-delay: 18s;
}

@keyframes kbCycle {
  0%   { opacity: 0;    transform: scale(1)     translate(0,     0); }
  4%   { opacity: .48; }
  30%  { opacity: .48;  transform: scale(1.09)  translate(-1%,  -.5%); }
  35%  { opacity: 0;    transform: scale(1.10)  translate(-1.5%, -.7%); }
  100% { opacity: 0;    transform: scale(1)     translate(0,     0); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(0,0,0,.78) 40%, rgba(0,0,0,.30) 100%);
}

/* Red left accent stripe */
.hero__stripe {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--brand);
}

/* Bottom red glow */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(204,26,26,.12), transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 100px 32px 100px;
}

/* Label / eyebrow */
.hero__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  animation: heroFadeUp .65s ease both;
}
.hero__label-line { width: 36px; height: 1px; background: var(--brand); flex-shrink: 0; }
.hero__label-text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.45);
}

/* Giant title */
.hero__title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: .92;
  color: #fff;
  animation: heroFadeUp .7s .12s ease both;
}
.hero__title-main {
  display: block;
  font-size: clamp(4.5rem, 13vw, 10rem);
  letter-spacing: -.01em;
}
.hero__title-main--accent { color: var(--brand); }
.hero__title-sub {
  display: block;
  font-size: clamp(4.5rem, 13vw, 10rem);
  letter-spacing: -.01em;
  color: rgba(255,255,255,.92);
}
.hero__title-sro {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  letter-spacing: .35em;
  color: rgba(255,255,255,.2);
  margin-top: 6px;
}

/* Divider ornament */
.hero__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0;
  animation: heroFadeUp .7s .24s ease both;
}
.hero__divider-line { width: 48px; height: 1px; background: var(--brand); }
.hero__divider-diamond { width: 6px; height: 6px; background: var(--brand); transform: rotate(45deg); flex-shrink: 0; }

/* Services list */
.hero__services {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,.5);
  line-height: 1.9;
  margin-bottom: 44px;
  animation: heroFadeUp .7s .36s ease both;
}

/* CTAs */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: heroFadeUp .7s .48s ease both;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 16px 40px;
  border-radius: 2px;
  border: 2px solid var(--brand);
  transition: background .2s, border-color .2s;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.75);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 16px 40px;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,.2);
  transition: border-color .2s, color .2s;
  display: inline-block;
}
.btn-outline:hover { border-color: rgba(255,255,255,.6); color: #fff; }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: .3;
  animation: scrollPulse 2.5s ease-in-out infinite;
  z-index: 2;
}
.hero__scroll-line { width: 1px; height: 48px; background: #fff; }
.hero__scroll-text {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #fff;
  writing-mode: vertical-rl;
}

/* Animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; }
  50%       { opacity: .65; }
}

/* ── Stats bar ───────────────────────────────────────────── */
.stats-bar {
  background: var(--brand);
  padding: 52px 24px;
}
.stats-bar__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: center;
}
@media (min-width: 640px) { .stats-bar__grid { grid-template-columns: repeat(4, 1fr); } }

.stat__value {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.75);
  display: block;
  margin-top: 8px;
}

/* Dividers between stats */
.stats-bar__grid .stat + .stat {
  border-left: 1px solid rgba(255,255,255,.2);
}
@media (max-width: 639px) {
  .stats-bar__grid .stat:nth-child(odd) + .stat { border-left: 1px solid rgba(255,255,255,.2); }
  .stats-bar__grid .stat:nth-child(even) + .stat { border-left: 0; }
}

/* ── Section shared ──────────────────────────────────────── */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--brand);
  margin-bottom: 8px;
}
.section-label-centered { justify-content: center; }
.section-label__line { width: 20px; height: 1px; background: var(--brand); flex-shrink: 0; }

.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  color: #0a0a0a;
}
.section-title .accent { color: var(--brand); }

.section-rule {
  width: 40px;
  height: 2px;
  background: var(--brand);
  margin-top: 14px;
}
.section-rule--center { margin-left: auto; margin-right: auto; }

/* ── O společnosti ───────────────────────────────────────── */
.about { background: #fff; padding: 96px 24px; }
.about__grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 64px;
  align-items: center;
}
@media (min-width: 768px) { .about__grid { grid-template-columns: 1fr 1fr; } }

.about__img-wrap {
  position: relative;
  border-radius: 2px;
  overflow: visible;
}
.about__img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
  display: block;
}
.about__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--brand);
  color: #fff;
  padding: 20px 22px;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(204,26,26,.35);
}
.about__badge-year {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}
.about__badge-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  opacity: .85;
  margin-top: 4px;
  display: block;
}

.about__text {
  color: #666;
  font-size: 15px;
  line-height: 1.8;
  margin: 20px 0;
}
.about__text strong { color: #111; font-weight: 600; }

.about__checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 24px;
}
.about__check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.about__check-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Red Banner ──────────────────────────────────────────── */
.red-banner {
  background: var(--brand);
  padding: 28px 24px;
}
.red-banner__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.red-banner__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: #fff;
}
.red-banner__sub {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
}
.btn-dark {
  background: var(--black);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 14px 28px;
  border-radius: 2px;
  border: 0;
  transition: background .2s;
  white-space: nowrap;
  display: inline-block;
}
.btn-dark:hover { background: #1a1a1a; }

/* ── Services ────────────────────────────────────────────── */
.services { background: var(--surface); padding: 96px 24px; }
.services__inner { max-width: 1080px; margin: 0 auto; }

.services__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 48px;
}
.services__sub {
  max-width: 360px;
  font-size: 14px;
  color: #999;
  line-height: 1.7;
}

.services__grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) { .services__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .services__grid { grid-template-columns: 1fr 1fr 1fr; } }

/* Service card */
.srv-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.srv-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
/* Top red bar on hover */
.srv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--brand);
  transition: width .35s ease;
  z-index: 5;
}
.srv-card:hover::before { width: 100%; }

.srv-card__head {
  background: var(--black);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.srv-card__head svg { color: var(--brand); flex-shrink: 0; }
.srv-card__head-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .03em;
}

.srv-card__body { padding: 24px; }
.srv-card__desc {
  font-size: 14px;
  color: #777;
  line-height: 1.75;
  margin-bottom: 16px;
}
.srv-card__desc strong { color: #333; }

.srv-card__list { border-top: 1px solid var(--border); }
.srv-card__list li {
  list-style: none;
  padding: 9px 0 9px 20px;
  position: relative;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid var(--border);
}
.srv-card__list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
  line-height: 1.6;
}
.srv-card__list li strong { color: #333; font-weight: 600; }

/* Thumbnail strip inside cards */

/* Stroje + zkušenosti pod kartou */
.srv-card__machines {
  font-size: 11px;
  color: #bbb;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 10px;
  line-height: 1.6;
}
.srv-card__xp {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 14px;
}


.thumb-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 16px;
  margin-top: 4px;
}
.thumb {
  overflow: hidden;
  border-radius: 2px;
  flex: 1 1 70px;
  max-width: 105px;
  display: block;
}
.thumb img {
  display: block;
  width: 100%;
  height: 60px;
  object-fit: cover;
  transition: transform .3s;
}
.thumb:hover img { transform: scale(1.12); }

/* ISO badge inside card */
.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8f0f0;
  border: 1px solid #f0d8d8;
  border-radius: 2px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 16px;
}

/* Phone CTA inside card */
.phone-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.phone-cta svg { color: var(--brand); flex-shrink: 0; }
.phone-cta__label { font-size: 14px; font-weight: 600; color: #333; }
.phone-cta__number { font-size: 14px; font-weight: 700; color: var(--brand); }
.phone-cta__number:hover { text-decoration: underline; }

/* ── Ubytování ───────────────────────────────────────────── */
.accommodation { background: #fff; padding: 96px 24px; }
.accommodation__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 64px;
  align-items: start;
}
@media (min-width: 768px) { .accommodation__inner { grid-template-columns: 1fr 1fr; } }

.accommodation__text {
  font-size: 14px;
  color: #777;
  line-height: 1.8;
  margin: 20px 0;
}
.accommodation__text strong { color: #333; }

.accommodation__amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 24px 0;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 2px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}
.amenity-item svg { color: var(--brand); flex-shrink: 0; }

/* Photo grid */
.ubyt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.ubyt-grid a { display: block; overflow: hidden; border-radius: 3px; }
.ubyt-grid a:first-child { grid-column: 1 / 3; }
.ubyt-grid img { display: block; width: 100%; height: 148px; object-fit: cover; transition: transform .4s; }
.ubyt-grid a:first-child img { height: 240px; }
.ubyt-grid a:hover img { transform: scale(1.05); }

/* ── Certifikáty ─────────────────────────────────────────── */
.certs { background: var(--surface); padding: 96px 24px; }
.certs__inner { max-width: 1080px; margin: 0 auto; }
.certs__info {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 2px;
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.certs__info p {
  font-size: 14px;
  color: #777;
  line-height: 1.8;
  margin-bottom: 10px;
}
.certs__info p:last-child { margin-bottom: 0; }
.certs__info strong { color: #333; font-weight: 600; }

/* Carousel */
.certs__carousel-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.certs__track-outer {
  overflow: hidden;
  flex: 1;
}
.certs__track {
  display: flex;
  gap: 20px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  justify-content: center;
}
.certs__track.is-scrollable {
  justify-content: flex-start;
}
.certs__track .cert-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 180px;
}
@media (max-width: 899px) { .certs__track .cert-card { flex: 0 0 calc(33.33% - 14px); } }
@media (max-width: 639px) { .certs__track .cert-card { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 419px) { .certs__track .cert-card { flex: 0 0 100%; } }

.certs__arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #555;
  transition: background .2s, border-color .2s, color .2s;
}
.certs__arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.certs__arrow.disabled { opacity: .3; pointer-events: none; }

.certs__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.cert-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}
.cert-dot.active { background: var(--brand); transform: scale(1.3); }

.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: box-shadow .3s, transform .3s;
  display: block;
}
.cert-card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.cert-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.cert-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.cert-card:hover .cert-card__img img { transform: scale(1.04); }

.cert-icon {
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.cert-card:hover .cert-icon { opacity: 1; }

.cert-card__info { padding: 14px 16px; }
.cert-card__title {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #111;
}
.cert-card__sub {
  font-size: 12px;
  color: #aaa;
  margin-top: 3px;
}


/* ── Contact IČO/DIČ block ───────────────────────────────── */
.contact-ids {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.contact-id-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.contact-id-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--brand);
  margin-bottom: 3px;
}
.contact-id-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: #111;
  letter-spacing: .02em;
}
.contact-id-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 24px;
  flex-shrink: 0;
}
.contact-or {
  font-size: 11px;
  color: #bbb;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Map links row */
.contact-map-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: #999;
  flex-wrap: wrap;
}
.contact-map-links svg { color: var(--brand); flex-shrink: 0; }
.contact-map-links a {
  color: var(--brand);
  font-weight: 600;
  transition: opacity .2s;
}
.contact-map-links a:hover { opacity: .75; text-decoration: underline; }
.contact-map-sep { color: #ccc; }

/* ── Kontakt ─────────────────────────────────────────────── */
.contact { background: #fff; padding: 96px 24px; }
.contact__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.contact__grid {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 768px) { .contact__grid { grid-template-columns: 1fr 1fr; } }

.contact-card {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.contact-card__head {
  padding: 22px 24px;
}
.contact-card__head--dark { background: var(--black); }
.contact-card__head--brand { background: var(--brand); }
.contact-card__head-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .04em;
}
.contact-card__body { padding: 24px; }

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-row:last-child { margin-bottom: 0; }
.contact-row__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: #fdf4f4;
  border: 1px solid #f8e0e0;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.contact-row__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--brand);
  display: block;
  margin-bottom: 4px;
}
.contact-row__value {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
.contact-row__value a:hover { color: var(--brand); }
.contact-row__muted {
  font-size: 13px;
  color: #aaa;
  display: block;
  margin-top: 2px;
}

/* Form */
.form-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #999;
  margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 2px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Source Sans 3', sans-serif;
  color: #111;
  outline: none;
  transition: border-color .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--brand); }
.form-textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.btn-submit {
  width: 100%;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 16px;
  border-radius: 2px;
  border: 0;
  cursor: pointer;
  transition: background .2s;
  margin-top: 4px;
}
.btn-submit:hover { background: var(--brand-dark); }


/* ── Map strip ───────────────────────────────────────────── */
.map-strip {
  line-height: 0;
}
.map-strip iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}
.map-strip__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--black);
  padding: 14px 32px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1;
}
.map-strip__nav svg { color: var(--brand); flex-shrink: 0; }
.map-strip__nav span { color: rgba(255,255,255,.55); }
.map-strip__nav a {
  color: #fff;
  font-weight: 600;
  transition: color .2s;
}
.map-strip__nav a:hover { color: var(--brand); }
.map-strip__sep { color: rgba(255,255,255,.2) !important; }

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  background: #0d0d0d;
  color: rgba(255,255,255,.4);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 200px 1fr 1fr auto;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Brand col */
.footer-col--brand {
  padding-right: 48px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.footer-logo__imgs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}
.footer-logo__imgs img {
  display: block;
  max-height: 45px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: .82;
}
.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: .05em;
  margin-bottom: 20px;
}
.footer-logo__accent { color: var(--brand); }
.footer-tagline-sub {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  line-height: 1.75;
  margin-top: 4px;
}

/* Contact col */
.footer-col--contact {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact-line {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  display: block;
  transition: color .2s;
}
.footer-contact-line--main {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  letter-spacing: .02em;
}
a.footer-contact-line:hover { color: #fff; }
.footer-contact-addr {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-contact-hours {
  font-size: 11px;
  color: rgba(255,255,255,.22);
  display: block;
}

/* Nav col */
.footer-col--nav {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col__heading {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(255,255,255,.25);
  margin-bottom: 4px;
}
.footer-col--nav a {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  transition: color .2s, padding-left .2s;
  display: block;
}
.footer-col--nav a:hover { color: #fff; padding-left: 4px; }

/* Map col */
.footer-col--map {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}
.footer-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.footer-nav-btn svg { flex-shrink: 0; opacity: .85; }
.footer-nav-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }

.footer-nav-btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.65);
}
.footer-nav-btn--outline svg { opacity: .6; }
.footer-nav-btn--outline:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.3);
  color: #fff;
  transform: translateY(-1px);
}

/* Bottom bar */
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 48px;
  font-size: 11px;
  color: rgba(255,255,255,.2);
}

@media (max-width: 1100px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    padding: 40px 32px;
    gap: 32px 0;
  }
  .footer-col--brand {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding-right: 32px;
    padding-bottom: 32px;
  }
  .footer-col--contact {
    border-right: none;
    padding-left: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .footer-col--nav { padding: 0 32px 0 0; padding-top: 0; }
}
@media (max-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }
  .footer-col--brand, .footer-col--contact, .footer-col--nav { padding: 0 0 24px 0; border-right: none; }
  .footer-col--map { padding-top: 8px; }
  .site-footer__bottom { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 4px; }
}


/* ── Floating phone button ───────────────────────────────── */
.float-phone {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100;
  display: flex;
  align-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 48px;
  box-shadow: 0 6px 28px rgba(204,26,26,.45);
  text-decoration: none;
  overflow: hidden;
  width: 52px;
  max-width: 52px;
  white-space: nowrap;
  transition: max-width .35s cubic-bezier(.4,0,.2,1), box-shadow .2s;
}
.float-phone:hover {
  max-width: 260px;
  box-shadow: 0 10px 36px rgba(204,26,26,.55);
}
.float-phone__icon {
  min-width: 52px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.float-phone__text {
  font-size: 14px;
  font-weight: 700;
  padding-right: 20px;
  opacity: 0;
  transition: opacity .15s .1s;
}
.float-phone:hover .float-phone__text { opacity: 1; }


/* Form feedback message */
.form-msg {
  padding: 12px 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}
.form-msg--ok {
  background: #edf7ed;
  border: 1px solid #b5deb5;
  color: #1e5c1e;
}
.form-msg--err {
  background: #fdf0f0;
  border: 1px solid #f0c0c0;
  color: #8b1c1c;
}

/* ── Utilities ───────────────────────────────────────────── */
.text-center  { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }