/* Rinoh override — MINIMÁLNÍ vrstva (operator directive 2026-06-06).
   PRINCIP: styling KAŽDÉHO prvku = přesně Netzon (custom.css). Tato vrstva
   override JEN tam, kde je legitimní důvod uzpůsobení firmě/lokalizaci:
   (1) česká lokalizace (vypnout title-case), (2) odstranění magic cursoru
   (operator pokyn), (3) textové chipy v tickeru (Rinoh nemá partner loga),
   (4) Rinoh logo proporce, (5) Rinoh-added sekce material karet.
   Paleta, hero, page-header, preloader, ticker BAND = Netzon defaults (custom.css). */

/* 1) Čeština: zrušit Netzon title-case (text-transform: capitalize) — v ČJ má
      velké písmeno jen první slovo. JEN text-transform; font/size/weight/spacing
      badge zůstává přesně Netzon. */
.btn-default,
.readmore-btn,
.section-sub-title h3,
.section-title h3,
.main-menu ul li a,
.slicknav_nav li a,
.slicknav_nav .slicknav_row,
.section-footer-text p a,
.footer-menu ul li,
.footer-menu ul li a,
.page-header-box ol li.breadcrumb-item,
.contact-info-content h3,
.our-value-item-content h3,
.how-work-item-content h3,
.service-item-title h3,
.why-choose-item-content h3,
.faq-item h3,
.faq-header h3 {
  text-transform: none !important;
}

/* 2) Vypnutý custom magic cursor (operator: „dej pryč to, co lítá za kurzorem"). */
body {
  cursor: auto;
}
.mouse-cursor,
.cursor-inner,
.cursor-outer {
  display: none !important;
}

/* 2b) Hero tlačítka — Rinoh má 2 tlačítka v .hero-btn (Netzon má 1 + video-play),
       proto je vertikálně zarovnáme na střed. Vlevo (NE justify center) = Netzon.
       gap 20px = parita s Netzon .hero-body gap. */
.hero .hero-btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

/* 3) Scrolling ticker — Rinoh nemá partner loga, používá textová klíčová slova.
      BAND (gradient navy→accent + padding) = Netzon .our-scrolling-ticker (NEoverridujeme).
      Stylujeme jen textové chipy (Netzon má <img>, my <span>): */
.our-scrolling-ticker .ticker-item {
  color: var(--white-color);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  /* NE uppercase — font Sora nemá uppercase glyfy pro českou diakritiku (MĚĎ→MED). */
  text-transform: none;
  white-space: nowrap;
  padding: 0 18px;
}
.our-scrolling-ticker .ticker-item::after {
  content: '•';
  margin-left: 18px;
  color: var(--white-color);
  opacity: 0.6;
}

/* 4) Logo v headeru — Rinoh logo má jiný poměr stran; výška ~ jako orig Netzon logo (50px). */
.navbar-brand img {
  height: 50px;
  width: auto;
}

/* 4b) Nav aktivní odkaz — Netzon active stav NEMÁ (všechny nav odkazy navy,
      hover = accent). Rinoh přidává .active na aktuální stránku → Bootstrap
      .nav-link.active default = ČERNÁ. Override zpět na Netzon navy (přesná shoda
      s Netzon nav odkazy). Specificita (0,3,3) > Bootstrap (0,3,0). Hover zůstává accent. */
.main-menu ul li a.nav-link.active {
  color: var(--primary-color);
}

/* 5) Materiály (Rinoh-added sekce na /sluzby) — kompaktní chipy (service-item recyklace
      jinak generuje prázdná 420px těla). Konzistentní s Netzon service-item vzhledem. */
.material-list .service-item {
  min-height: auto;
  padding: 26px 18px;
  align-items: center;
  text-align: center;
  gap: 0;
}
.material-list .service-item .service-item-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
  justify-content: center;
}
.material-list .service-item .service-item-title {
  width: 100%;
}
.material-list .service-item .service-item-title h3 {
  width: 100%;
  margin: 0;
}
.material-list .service-item .service-item-title h3::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  margin: 0 auto 14px;
  border-radius: 3px;
  background: var(--accent-color);
  transition: background 0.4s ease-in-out;
}
.material-list .service-item:hover .service-item-title h3::before {
  background: var(--white-color);
}

/* 6) Skip-link (a11y, WCAG 2.4.1) — vizuálně skrytý mimo viewport, viditelný na :focus.
      Umožní uživateli klávesnice/odečítače přeskočit navigaci rovnou na obsah. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 12px 20px;
  background: var(--accent-color);
  color: var(--white-color);
  font-weight: 600;
  border-radius: 0 0 6px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   VIZUÁLNÍ UPGRADE (operator directive 2026-07-05) — brand + autentické fotky.
   Vše drží Netzon vizuální jazyk (paleta, radiusy, stíny); mění se jen to,
   co posouvá web z generické šablony na značku Strojírny RINOH.
   ========================================================================== */

/* 7) Logo lockup — inline SVG značka (sklíčidlo) + wordmark v Sora. */
.rinoh-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.rinoh-logo-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}
.rinoh-logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rinoh-logo-top {
  font-size: 11px;
  font-weight: 600;
  /* prostrkání laděné tak, aby „STROJÍRNY" přesně vyplnilo šířku „RINOH." (zarovnaný lockup) */
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-color);
}
.rinoh-logo-name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--primary-color);
}
.rinoh-logo-dot {
  color: var(--accent-color);
}
/* světlá varianta (footer / tmavá pozadí) */
.rinoh-logo--light .rinoh-logo-name {
  color: var(--white-color);
}
.rinoh-logo--light .rinoh-logo-top {
  color: #9db9f5;
}
.footer-logo .rinoh-logo-mark {
  width: 42px;
  height: 42px;
}
@media only screen and (max-width: 767px) {
  .rinoh-logo-mark {
    width: 40px;
    height: 40px;
  }
  .rinoh-logo-name {
    font-size: 19px;
  }
  .rinoh-logo-top {
    font-size: 9.5px;
  }
}

/* 8) Inline SVG ikony (oborová sada) — sizing/color v Netzon icon-boxech.
      Netzon styly počítají s <img> + invert filtrem; SVG řídíme přes currentColor. */
.service-item .icon-box .rinoh-icon {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
  color: var(--white-color);
  transition: color 0.4s ease-in-out;
}
.service-item.active .icon-box .rinoh-icon,
.service-item:hover .icon-box .rinoh-icon {
  color: var(--accent-color);
}
.service-bg-icon .rinoh-icon {
  width: 110px;
  height: 110px;
  color: rgba(15, 36, 83, 0.07);
  transition: color 0.3s ease-in-out;
}
.service-item.active .service-bg-icon .rinoh-icon,
.service-item:hover .service-bg-icon .rinoh-icon {
  color: rgba(255, 255, 255, 0.22);
}
.why-choose-item .icon-box .rinoh-icon {
  position: relative;
  width: 24px;
  height: 24px;
  z-index: 1;
  color: var(--white-color);
}
.our-value-item .icon-box .rinoh-icon {
  position: relative;
  width: 26px;
  height: 26px;
  z-index: 1;
  color: var(--white-color);
}
.contact-info-item .icon-box .rinoh-icon {
  position: relative;
  width: 30px;
  height: 30px;
  z-index: 1;
  color: var(--white-color);
}

/* 9) Hero — vyvážení kontrastu: jemné ztmavení pravé a spodní hrany, aby text
      i navigace držely na světlé části fotky (WCAG kontrast). */
.hero.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(8, 18, 44, 0.5) 0%, rgba(8, 18, 44, 0) 45%),
    linear-gradient(0deg, rgba(8, 18, 44, 0.45) 0%, rgba(8, 18, 44, 0) 30%);
  z-index: 1;
  pointer-events: none;
}

/* 10) „Naše dílna" band (dřív intro-video) — autentická fotka kovárny místo
       generické šedé dílny; tmavší overlay kvůli čitelnosti bílého textu. */
.intro-video {
  background-image: url('../images/rinoh/kovani-lis.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.intro-video::before {
  background: linear-gradient(180deg, rgba(6, 13, 32, 0.78) 0%, rgba(6, 13, 32, 0.55) 55%, rgba(6, 13, 32, 0.8) 100%);
  opacity: 1;
}
.intro-video-cta {
  text-align: center;
  margin-top: 44px;
}

/* 11) Ticker uvnitř feature karty — fade maska na okrajích (uříznuté chipy
       působily jako chyba renderu). */
.feature-scrolling-ticker {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

/* 12) Kroky zakázky — sjednocení výšky titulků (1 vs 2 řádky rozhazovaly rytmus). */
@media only screen and (min-width: 992px) {
  .how-work-item-content h3 {
    min-height: 2.8em;
    display: flex;
    align-items: flex-end;
  }
}

/* 13) Certifikáty — rám + stín jako u fyzické listiny, hover zoom, lightbox kurzor. */
.certificate-item figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 36, 83, 0.1);
  box-shadow: 0 10px 30px rgba(15, 36, 83, 0.09);
  background: var(--white-color);
}
.certificate-item figure img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease-in-out;
}
.certificate-item a:hover figure img {
  transform: scale(1.02);
}

/* ==========================================================================
   14) FOOTER — „title block technického výkresu" (operator directive 2026-07-05).
   Kompletně nahrazuje Netzon .main-footer + odstraněný scrolling ticker pruh.
   Signature: ambientní blueprint obrys sklíčidla (poloprůhledná bílá linka).
   Vše nové .rinoh-ft-* třídy — žádné konflikty s Netzon .footer-*.
   ========================================================================== */
.rinoh-footer {
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
  color: var(--white-color);
  background:
    radial-gradient(120% 140% at 88% 0%, #17408a 0%, rgba(23, 64, 138, 0) 46%),
    linear-gradient(135deg, #0a1a40 0%, #0f2453 52%, #123472 100%);
}
/* Horní „opracovaná hrana" — jemná modrá linka. */
.rinoh-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-color) 50%, transparent 100%);
  opacity: 0.55;
}
.rinoh-ft-glow {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 130, 251, 0.3) 0%, rgba(63, 130, 251, 0) 62%);
  pointer-events: none;
}

/* Blueprint sklíčidlo — bleed za pravou hranou, svisle vycentrované. */
.rinoh-ft-blueprint {
  position: absolute;
  top: 50%;
  right: -170px;
  width: 620px;
  height: 620px;
  transform: translateY(-50%);
  stroke: #ffffff;
  stroke-width: 1.4;
  pointer-events: none;
}
.rinoh-ft-blueprint * {
  vector-effect: non-scaling-stroke;
}
.rinoh-ft-blueprint .bp-body { stroke-opacity: 0.07; }
.rinoh-ft-blueprint .bp-body .bp-guide { stroke-opacity: 0.04; }
.rinoh-ft-blueprint .bp-axis { stroke-opacity: 0.05; }
.rinoh-ft-blueprint .bp-accent { stroke: var(--accent-color); stroke-opacity: 0.35; }

.rinoh-ft-inner {
  position: relative;
  z-index: 2;
}

/* Row 1 — CTA sign-off */
.rinoh-ft-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px 60px;
  padding-bottom: 30px;
}
.rinoh-ft-cta-text { max-width: 880px; }
.rinoh-ft-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8fb0f2;
  margin-bottom: 22px;
}
.rinoh-ft-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-color);
}
.rinoh-ft-title {
  margin: 0 0 20px;
  /* menší než dřív — aby se „Máte výkres? Vyžádejte si cenovou nabídku." vešlo na 1 řádek */
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white-color);
}
.rinoh-ft-lead {
  margin: 0;
  max-width: 500px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}
.rinoh-ft-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex-shrink: 0;
}
.rinoh-ft-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 30px;
  border-radius: 10px;
  background: var(--white-color);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.rinoh-ft-btn:hover {
  background: var(--accent-color);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(63, 130, 251, 0.4);
}
.rinoh-ft-btn-arrow {
  font-size: 1.15em;
  transition: transform 0.35s ease;
}
.rinoh-ft-btn:hover .rinoh-ft-btn-arrow {
  transform: translateX(4px);
}
.rinoh-ft-call {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
}
.rinoh-ft-call a {
  color: var(--white-color);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.rinoh-ft-call a:hover {
  color: #8fb0f2;
  border-color: #8fb0f2;
}

/* Dimension-line divider */
.rinoh-ft-rule {
  display: flex;
  align-items: center;
  margin: 6px 0 60px;
}
.rinoh-ft-rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.18) 100%);
}
.rinoh-ft-rule-line--r {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.02) 100%);
}
.rinoh-ft-tick {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.3);
}
.rinoh-ft-rule-label {
  padding: 0 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

/* Row 2 — title-block columns */
.rinoh-ft-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 44px 40px;
  padding-bottom: 72px;
}
.rinoh-ft-brand .rinoh-logo {
  margin-bottom: 24px;
}
.rinoh-ft-intro {
  margin: 0 0 24px;
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
}
.rinoh-ft-iso {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.8);
}
.rinoh-ft-iso .rinoh-icon {
  width: 16px;
  height: 16px;
  color: var(--accent-color);
}
.rinoh-ft-label {
  position: relative;
  margin: 0 0 22px;
  padding-top: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8fb0f2;
}
.rinoh-ft-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-color);
}
.rinoh-ft-address {
  margin: 0;
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
}
.rinoh-ft-contact,
.rinoh-ft-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rinoh-ft-contact li {
  margin-bottom: 14px;
  font-size: 0.98rem;
  line-height: 1.5;
}
.rinoh-ft-contact li:last-child { margin-bottom: 0; }
.rinoh-ft-contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.3s ease;
}
.rinoh-ft-contact a:hover { color: var(--white-color); }
.rinoh-ft-hours {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}
.rinoh-ft-nav li { margin-bottom: 13px; }
.rinoh-ft-nav li:last-child { margin-bottom: 0; }
.rinoh-ft-nav a {
  display: inline-flex;
  align-items: center;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.rinoh-ft-nav a::before {
  content: '';
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--accent-color);
  transition: width 0.3s ease, margin-right 0.3s ease;
}
.rinoh-ft-nav a:hover {
  color: var(--white-color);
}
.rinoh-ft-nav a:hover::before {
  width: 14px;
  margin-right: 10px;
}

/* Baseline */
.rinoh-ft-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.rinoh-ft-copy,
.rinoh-ft-tagline {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}
.rinoh-ft-tagline {
  letter-spacing: 0.04em;
}

/* Responsive */
@media only screen and (max-width: 1199px) {
  .rinoh-ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .rinoh-ft-brand {
    grid-column: 1 / -1;
  }
  .rinoh-ft-intro { max-width: 460px; }
}
@media only screen and (max-width: 991px) {
  .rinoh-ft-blueprint {
    width: 460px;
    height: 460px;
    right: -190px;
  }
}
@media only screen and (max-width: 767px) {
  .rinoh-footer { padding-top: 70px; }
  .rinoh-ft-cta {
    align-items: flex-start;
    gap: 30px;
    padding-bottom: 24px;
  }
  .rinoh-ft-cta-action {
    align-items: stretch;
    width: 100%;
  }
  .rinoh-ft-btn { justify-content: center; }
  .rinoh-ft-call { text-align: center; }
  .rinoh-ft-rule { margin-bottom: 48px; }
  .rinoh-ft-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 48px;
  }
  .rinoh-ft-brand { grid-column: auto; }
  .rinoh-ft-blueprint {
    width: 380px;
    height: 380px;
    right: -160px;
    top: 16%;
  }
  .rinoh-ft-base {
    justify-content: flex-start;
    padding-bottom: 34px;
  }
}

/* ==========================================================================
   15) HERO — cinematický showcase skutečných operací (operator directive 2026-07-05).
   Filmové křížové prolínání reálných fotek dílny s Ken Burns zoomem (hero-fx.js).
   Žádné fake efekty. Vrstvení: stage(0) < gradient overlaye ::before/::after(1)
   < cinematic grade(2) < obsah + indikátory(3).
   ========================================================================== */
.hero.hero-bg-image {
  padding: 340px 0 210px;            /* vyšší, vzdušná sekce */
  background: none !important;       /* fotky nese .hero-stage */
}
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  /* Kontinuální Ken Burns drift na VŠECH slidech (běží stále → žádný snap při
     crossfade; opacity řídí zobrazení). Různý směr dle parity pro variabilitu. */
  animation: heroDrift 24s ease-in-out infinite alternate;
}
.hero-slide:nth-child(even) {
  animation-direction: alternate-reverse;
  animation-duration: 27s;
}
.hero-slide.is-active {
  opacity: 1;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.15) translate(-2%, -1.4%); }
}
/* Cinematic grade — jemný filmový vignette pro konzistentní hloubku napříč fotkami. */
.hero-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(130% 100% at 30% 40%, rgba(0, 0, 0, 0) 45%, rgba(6, 14, 33, 0.5) 100%),
    linear-gradient(180deg, rgba(6, 14, 33, 0.28) 0%, rgba(6, 14, 33, 0) 26%);
}
.hero.hero-bg-image .container { z-index: 3; }

/* Indikátory ukázek (přepínatelné) — jemné, vpravo dole. */
.hero-showcase {
  position: absolute;
  z-index: 3;
  right: 5%;
  bottom: 92px;
  display: flex;
  gap: 10px;
}
.hero-dot {
  position: relative;
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.4s ease, background 0.4s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero-dot.is-active {
  width: 54px;
  background: rgba(255, 255, 255, 0.28);
}
/* Aktivní indikátor: accent „progress" výplň, která doběhne za dobu snímku. */
.hero-dot.is-active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: var(--accent-color);
  transform-origin: left center;
  transform: scaleX(0);
  animation: heroDotFill 6s linear forwards;
}
@keyframes heroDotFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Přístupnost: bez pohybu → statická první fotka, žádné prolínání ani zoom. */
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; animation: none; transform: none; }
  .hero-dot.is-active::before { animation: none; transform: scaleX(1); }
}
/* Responsivní — nižší (ale stále vzdušný) hero. */
@media only screen and (max-width: 991px) {
  .hero.hero-bg-image { padding: 230px 0 140px; }
  .hero-showcase { bottom: 62px; }
}
@media only screen and (max-width: 767px) {
  .hero.hero-bg-image { padding: 185px 0 105px; }
  .hero-showcase { right: 20px; bottom: 40px; }
  .hero-dot { width: 22px; }
  .hero-dot.is-active { width: 38px; }
}

/* ==========================================================================
   16) BLUEPRINT DEKOR — nahrazuje Netzon „plošné spoje" (service-bg.png) výkresovým
   obrysem sklíčidla v .our-services (home služby, /sluzby materiály, /certifikace
   galerie). Stejný motiv jako footer → konzistentní brand napříč webem.
   (operator directive 2026-07-08)
   ========================================================================== */
.our-services {
  position: relative;
  overflow: hidden;
  background-image: none !important;   /* pryč circuit service-bg.png */
}
.our-services::before,
.our-services::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 560px;
  height: 560px;
  transform: translateY(-50%);
  background: url('../images/blueprint-chuck.svg') no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}
.our-services::before { left: -190px; }
.our-services::after  { right: -190px; transform: translateY(-50%) scaleX(-1); }
/* obsah nad dekorem */
.our-services > .container { position: relative; z-index: 1; }

@media only screen and (max-width: 991px) {
  .our-services::before,
  .our-services::after { width: 400px; height: 400px; }
  .our-services::before { left: -230px; }
  .our-services::after  { right: -230px; }
}
@media only screen and (max-width: 767px) {
  /* na mobilu jen jeden jemný obrys vpravo (menší vizuální šum) */
  .our-services::before { display: none; }
  .our-services::after { width: 320px; height: 320px; right: -190px; }
}

/* ==========================================================================
   17) PŘEDNOSTI — sjednocená výška fotek ve třech sloupcích (box-3/4/5).
   Netzon .feature-image img má object-fit:cover ale bez pevné výšky → různý poměr
   stran fotek (16:9 vs 4:3) dělá nestejně vysoké obrázky. Fixní výška je srovná.
   Platí i pro stejnou sekci na /o-nas (shodné třídy). (operator directive 2026-07-08)
   ========================================================================== */
.our-features .feature-item.box-3 .feature-image img,
.our-features .feature-item.box-4 .feature-image img,
.our-features .feature-item.box-5 .feature-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
@media only screen and (max-width: 991px) {
  .our-features .feature-item.box-3 .feature-image img,
  .our-features .feature-item.box-4 .feature-image img,
  .our-features .feature-item.box-5 .feature-image img { height: 190px; }
}
