/*--------------------------------------------------------------
# TPALARM theme (nový vzhled) – načítá se po style.css
--------------------------------------------------------------*/
:root {
  --tp-yellow: #f4ad01;
  --tp-yellow-dark: #d99a00;
  --tp-blue: #428bca;
  --tp-blue-dark: #2f6fa8;
  --tp-dark: #171d2f;
  --tp-darker: #10141f;
  --tp-heading: #171d2f;
  --tp-text: #646b78;
  --tp-light: #f5f6f8;
  --tp-border: #e6e8ec;
  --tp-font: 'Barlow', sans-serif;
  --tp-font-tech: 'Rajdhani', 'Barlow', sans-serif;
}

.tp-theme {
  font-family: var(--tp-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--tp-text);
}

.tp-theme h1,
.tp-theme h2,
.tp-theme h3,
.tp-theme h4,
.tp-theme h5 {
  font-family: var(--tp-font-tech);
  color: var(--tp-heading);
}

/* technický font pro popisky, menu, tlačítka a čísla */
.tp-subtitle,
.tp-btn,
.tp-link-more,
.tp-topbar,
.tp-nav__link,
.tp-nav__cta-text,
.tp-stat__value,
.tp-feature__label,
.tp-service-card__head span,
.tp-project-card__meta,
.tp-tag,
.tp-testimonial__name,
.tp-cta__dark,
.tp-cta__label,
.tp-partner__badge,
.tp-mega__item strong,
.tp-offcanvas__menu a,
.tp-contact-bar__item strong,
.tp-footer h4 {
  font-family: var(--tp-font-tech);
}

/* style.css barví první řádek každé položky seznamu černě */
.tp-theme ul li::first-line {
  color: inherit;
}

@media (min-width: 1200px) {
  .tp-theme .container {
    max-width: 1200px;
  }
}

/* AOS posouvá prvky do stran – bez ořezu by stránka na mobilu přetékala */
.tp-theme #main {
  overflow-x: hidden;
  overflow-x: clip;
}

/* ruší obecné "section" ze style.css, ale nepřebíjí třídy sekcí */
:where(.tp-theme) section {
  padding: 0;
  overflow: visible;
}

.tp-section {
  padding: 100px 0;
}

@media (max-width: 991px) {
  .tp-section {
    padding: 70px 0;
  }
}

/*--------------------------------------------------------------
# Nadpisy sekcí a tlačítka
--------------------------------------------------------------*/
.tp-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--tp-blue);
}

.tp-subtitle::before {
  content: "";
  width: 3px;
  height: 14px;
  background: currentColor;
}

.tp-subtitle--yellow {
  color: var(--tp-yellow);
}

.tp-subtitle--dark {
  color: var(--tp-dark);
}

.tp-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.tp-title--light {
  color: #fff !important;
}

.tp-heading-center {
  max-width: 640px;
  margin: 0 auto 50px;
  text-align: center;
}

.tp-heading-center .tp-subtitle::before {
  display: none;
}

@media (max-width: 767px) {
  .tp-title {
    font-size: 32px;
  }
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}

.tp-btn--blue {
  background: var(--tp-blue);
  color: #fff;
}

.tp-btn--blue:hover {
  background: var(--tp-blue-dark);
  color: #fff;
}

.tp-btn--yellow {
  background: var(--tp-yellow);
  color: var(--tp-dark);
}

.tp-btn--yellow:hover {
  background: var(--tp-yellow-dark);
  color: var(--tp-dark);
}

.tp-btn--white {
  background: #fff;
  color: var(--tp-dark);
}

.tp-btn--white:hover {
  background: var(--tp-dark);
  color: #fff;
}

.tp-btn--outline-light {
  border-color: rgba(255, 255, 255, .6);
  background: transparent;
  color: #fff;
}

.tp-btn--outline-light:hover {
  background: #fff;
  color: var(--tp-dark);
}

.tp-link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tp-dark);
}

.tp-link-more i {
  transition: transform .25s;
}

.tp-link-more:hover {
  color: var(--tp-blue);
}

.tp-link-more:hover i {
  transform: translateX(4px);
}

/*--------------------------------------------------------------
# Top bar
--------------------------------------------------------------*/
/* přes celou šířku, levý okraj lícuje s logem v hlavičce */
.tp-topbar {
  background: var(--tp-darker);
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .3px;
}

.tp-topbar__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 42px;
  padding-left: 40px;
}

.tp-topbar__info {
  display: flex;
}

.tp-topbar__info>* {
  display: flex;
  align-items: center;
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.tp-topbar__info>*:first-child {
  padding-left: 0;
  border-left: 0;
}

.tp-topbar a {
  color: rgba(255, 255, 255, .75);
}

.tp-topbar a:hover {
  color: var(--tp-yellow);
}

.tp-topbar i {
  color: var(--tp-yellow);
  margin-right: 6px;
}

.tp-topbar__social {
  display: flex;
}

.tp-topbar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .25s, color .25s;
}

.tp-topbar__social a:hover {
  background: var(--tp-yellow);
  color: var(--tp-dark);
}

.tp-topbar__social i {
  margin: 0;
  color: inherit;
}

@media (max-width: 1199px) {
  .tp-topbar__inner {
    padding-left: 20px;
  }
}

@media (max-width: 991px) {
  .tp-topbar__inner {
    padding-left: 18px;
  }
}

@media (max-width: 767px) {
  .tp-topbar__hide-sm {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Header – menu přes celou šířku
--------------------------------------------------------------*/
#header.tp-header {
  position: relative;
  height: auto;
  background: #fff;
  box-shadow: 0 4px 24px rgba(23, 29, 47, .08);
  z-index: 997;
}

/* main.js po přichycení hlavičky odsadí banner o její výšku */
.tp-theme .scrolled-offset {
  margin-top: 84px;
}

#header.tp-header.fixed-top {
  position: fixed;
  top: 0;
  box-shadow: 0 6px 30px rgba(23, 29, 47, .12);
  animation: tpSlideDown .35s ease-out;
}

@keyframes tpSlideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.tp-nav {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 84px;
  transition: height .3s;
}

#header.fixed-top .tp-nav {
  height: 76px;
}

.tp-nav__logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding: 0 40px;
  border-right: 1px solid var(--tp-border);
}

.tp-nav__logo img {
  width: auto;
  height: 48px;
}

.tp-nav__menu {
  flex: 1;
}

.tp-nav__menu>ul {
  display: flex;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 14px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--tp-dark);
  transition: color .25s;
}

.tp-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 4px;
  background: var(--tp-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.tp-nav__link i {
  font-size: 11px;
  transition: transform .3s;
}

.tp-nav__link:hover,
.tp-nav__link.is-active,
.tp-nav__menu li:hover>.tp-nav__link {
  color: var(--tp-dark);
}

.tp-nav__link:hover::after,
.tp-nav__link.is-active::after,
.tp-nav__menu li:hover>.tp-nav__link::after,
.tp-nav__menu li:focus-within>.tp-nav__link::after {
  transform: scaleX(1);
}

.tp-nav__mega:hover .tp-nav__link i,
.tp-nav__mega:focus-within .tp-nav__link i {
  transform: rotate(180deg);
}

/* mega menu Produkty */
.tp-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(1176px, 100% - 48px);
  display: grid;
  grid-template-columns: 1fr 300px;
  background: #fff;
  border-top: 3px solid var(--tp-yellow);
  box-shadow: 0 30px 60px rgba(16, 20, 31, .2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity .25s, transform .25s, visibility .25s;
}

.tp-nav__mega:hover .tp-mega,
.tp-nav__mega:focus-within .tp-mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.tp-mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 6px;
  padding: 28px;
}

.tp-mega__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  color: var(--tp-text);
  transition: background-color .25s;
}

.tp-mega__item i {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: rgba(66, 139, 202, .1);
  font-size: 24px;
  color: var(--tp-blue);
  transition: background-color .25s, color .25s;
}

.tp-mega__item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 17px;
  font-weight: 700;
  color: var(--tp-dark);
}

.tp-mega__item small {
  display: block;
  font-size: 13px;
  line-height: 1.5;
}

.tp-mega__item:hover {
  background: var(--tp-light);
  color: var(--tp-text);
}

.tp-mega__item:hover i {
  background: var(--tp-yellow);
  color: var(--tp-dark);
}

.tp-mega__brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
  margin: 10px 16px 0;
  padding-top: 18px;
  border-top: 1px solid var(--tp-border);
}

.tp-mega__brands span {
  margin-right: 6px;
  font-family: var(--tp-font-tech);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9aa0ab;
}

.tp-mega__brands a {
  padding: 6px 14px;
  border: 1px solid var(--tp-border);
  font-family: var(--tp-font-tech);
  font-size: 15px;
  font-weight: 700;
  color: var(--tp-dark);
  transition: border-color .2s, background-color .2s;
}

.tp-mega__brands a:hover {
  border-color: var(--tp-yellow);
  background: var(--tp-yellow);
  color: var(--tp-dark);
}

.tp-mega__all {
  grid-column: 1 / -1;
  margin: 6px 16px 0;
}

.tp-mega__promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 30px;
  background: var(--tp-dark);
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1.6;
}

.tp-mega__promo strong {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
}

.tp-mega__promo p {
  margin-bottom: 22px;
}

/* telefon vpravo */
.tp-nav__cta {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  padding: 0 40px 0 32px;
  background: var(--tp-yellow);
  color: var(--tp-dark);
  transition: background-color .25s;
}

.tp-nav__cta:hover {
  background: var(--tp-yellow-dark);
  color: var(--tp-dark);
}

.tp-nav__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tp-dark);
  font-size: 17px;
  color: var(--tp-yellow);
}

.tp-nav__cta:hover .tp-nav__cta-icon {
  animation: tpRing .6s ease-in-out;
}

@keyframes tpRing {

  0%,
  100% {
    transform: rotate(0);
  }

  20%,
  60% {
    transform: rotate(-14deg);
  }

  40%,
  80% {
    transform: rotate(14deg);
  }
}

.tp-nav__cta-text {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.tp-nav__cta-text small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
}

.tp-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 70px;
  border: 0;
  background: var(--tp-dark);
}

.tp-burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: width .25s;
}

.tp-burger span:nth-child(2) {
  width: 16px;
  margin-left: 8px;
}

.tp-burger:hover span:nth-child(2) {
  width: 24px;
  margin-left: 0;
}

@media (max-width: 1299px) {
  .tp-nav__cta {
    padding: 0 26px;
  }

  .tp-nav__cta-text {
    display: none;
  }
}

@media (max-width: 1199px) {
  .tp-nav__logo {
    padding: 0 20px;
  }

  .tp-nav__link {
    padding: 0 10px;
    font-size: 16px;
  }

  .tp-nav__link::after {
    left: 10px;
    right: 10px;
  }
}

@media (max-width: 991px) {
  .tp-theme .scrolled-offset {
    margin-top: 70px;
  }

  .tp-nav,
  #header.fixed-top .tp-nav {
    height: 70px;
  }

  .tp-nav__logo {
    margin-right: auto;
    padding: 0 18px;
    border-right: 0;
  }

  .tp-nav__logo img {
    height: 40px;
  }

  .tp-nav__menu {
    display: none;
  }

  .tp-nav__cta {
    padding: 0 18px;
  }

  .tp-nav__cta-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .tp-burger {
    display: flex;
  }
}

/*--------------------------------------------------------------
# Mobilní menu (vysouvací panel)
--------------------------------------------------------------*/
.tp-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 1050;
  visibility: hidden;
  pointer-events: none;
}

.tp-offcanvas.is-open {
  visibility: visible;
  pointer-events: auto;
}

.tp-offcanvas__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 31, .65);
  opacity: 0;
  transition: opacity .35s;
}

.tp-offcanvas.is-open .tp-offcanvas__backdrop {
  opacity: 1;
}

.tp-offcanvas__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(380px, 88vw);
  overflow-y: auto;
  background: var(--tp-dark);
  transform: translateX(100%);
  transition: transform .35s ease;
}

.tp-offcanvas.is-open .tp-offcanvas__panel {
  transform: translateX(0);
}

.tp-offcanvas__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 16px 22px;
  background: #fff;
}

.tp-offcanvas__head img {
  width: auto;
  height: 40px;
}

.tp-offcanvas__close {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--tp-yellow);
  font-size: 18px;
  color: var(--tp-dark);
}

.tp-offcanvas__menu {
  margin: 0;
  padding: 10px 22px;
  list-style: none;
}

.tp-offcanvas__menu>li {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.tp-offcanvas__menu a {
  display: block;
  padding: 15px 0;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
}

.tp-offcanvas__menu a:hover,
.tp-offcanvas__menu a.is-active {
  color: var(--tp-yellow);
}

.tp-offcanvas__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tp-offcanvas__toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.tp-offcanvas__toggle i {
  display: inline-block;
  transition: transform .3s;
}

.tp-offcanvas__toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.tp-offcanvas__sub {
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  transition: max-height .35s ease;
}

.tp-offcanvas__sub.is-open {
  max-height: 520px;
}

.tp-offcanvas__sub li:last-child {
  padding-bottom: 10px;
}

.tp-offcanvas__sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .75);
}

.tp-offcanvas__sub .tp-offcanvas__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 14px;
}

.tp-offcanvas__brands a {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  font-family: var(--tp-font-tech);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.tp-offcanvas__sub i {
  font-size: 18px;
  color: var(--tp-blue);
}

.tp-offcanvas__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding: 24px 22px;
}

.tp-offcanvas__contact .tp-btn {
  justify-content: center;
  padding: 14px 10px;
}

.tp-offcanvas__contact p {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.tp-offcanvas__contact p i {
  margin-right: 6px;
  color: var(--tp-yellow);
}

.tp-no-scroll {
  overflow: hidden;
}

/*--------------------------------------------------------------
# Hero – panely značek
--------------------------------------------------------------*/
.tp-brands {
  position: relative;
  background: var(--tp-darker);
}

.tp-brands__track {
  display: flex;
}

.tp-brand {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.tp-brand__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(.5) brightness(.6);
  transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter .7s;
}

.tp-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 20, 31, .7) 0%, rgba(16, 20, 31, .15) 38%, rgba(16, 20, 31, .95) 100%);
}

/* žlutá linka nahoře */
.tp-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--tp-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
  z-index: 2;
}

.tp-brand__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 36px 32px 44px;
}

.tp-brand__top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--tp-font-tech);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, .7);
}

.tp-brand__cat {
  transition: opacity .3s;
}

.tp-brand__num {
  font-size: 16px;
  font-weight: 700;
  color: var(--tp-yellow);
}

.tp-brand__num::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: rgba(255, 255, 255, .4);
  transition: width .5s ease;
}

.tp-brand__logo {
  display: flex;
  align-items: flex-end;
  height: 60px;
  margin-bottom: 26px;
}

.tp-brand__logo img {
  width: auto;
  max-width: min(210px, 100%);
  object-fit: contain;
  object-position: left bottom;
  filter: brightness(0) invert(1);
}

.tp-brand__wordmark {
  font-family: var(--tp-font-tech);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
}

.tp-brand__title {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff !important;
  transition: opacity .3s;
}

/* min. 2 řádky; skript v index.php pak výšky srovná podle nejdelšího textu */
.tp-brand__title {
  min-height: 2.1em;
}

.tp-brand__sub {
  min-height: 3em;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .75);
  transition: opacity .3s;
}

.tp-brand__more p {
  margin: 22px 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .85);
}

.tp-brand__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.tp-brand__tags li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  font-family: var(--tp-font-tech);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  line-height: 1;
  color: #fff;
}

.tp-brand__tags li::first-line {
  color: #fff;
}

/* Desktop s myší: rozbalování panelů */
@media (min-width: 992px) and (hover: hover) {
  .tp-brands__track {
    height: clamp(560px, calc(100vh - 126px), 760px);
  }

  .tp-brand {
    flex: 1 1 0;
    min-width: 0;
    border-left: 1px solid rgba(255, 255, 255, .1);
    transition: flex .7s cubic-bezier(.65, 0, .35, 1);
  }

  .tp-brand:first-child {
    border-left: 0;
  }

  .tp-brand__bg {
    transform: scale(1.15);
  }

  /* šířky podle okna, aby se text při animaci nepřelamoval */
  .tp-brand__title,
  .tp-brand__sub {
    width: calc(20vw - 64px);
  }

  .tp-brand__more {
    width: calc(33.33vw - 64px);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: max-height .6s ease, opacity .4s ease, transform .5s ease;
  }

  .tp-brands__track:hover .tp-brand,
  .tp-brands__track:focus-within .tp-brand {
    flex: 1;
  }

  .tp-brands__track .tp-brand:hover,
  .tp-brands__track .tp-brand:focus-within {
    flex: 2;
  }

  .tp-brand:hover .tp-brand__bg,
  .tp-brand:focus-within .tp-brand__bg {
    transform: scale(1);
    filter: grayscale(0) brightness(.7);
  }

  .tp-brands__track:hover .tp-brand:not(:hover) .tp-brand__bg {
    filter: grayscale(1) brightness(.35);
  }

  .tp-brands__track:hover .tp-brand:not(:hover) .tp-brand__title,
  .tp-brands__track:hover .tp-brand:not(:hover) .tp-brand__sub {
    opacity: 0;
  }

  .tp-brands__track:hover .tp-brand:not(:hover) .tp-brand__cat {
    opacity: 0;
  }

  .tp-brand:hover::before,
  .tp-brand:focus-within::before {
    transform: scaleX(1);
  }

  .tp-brand:hover .tp-brand__num::after {
    width: 48px;
  }

  .tp-brand:hover .tp-brand__more,
  .tp-brand:focus-within .tp-brand__more {
    max-height: 340px;
    opacity: 1;
    transform: translateY(0);
    transition-delay: .15s;
  }
}

@media (min-width: 992px) and (max-width: 1199px) and (hover: hover) {
  .tp-brand__inner {
    padding: 30px 24px 36px;
  }

  .tp-brand__top {
    gap: 10px;
    font-size: 13px;
    letter-spacing: 1px;
  }

  .tp-brand__num::after {
    display: none;
  }

  .tp-brand__title,
  .tp-brand__sub {
    width: calc(20vw - 48px);
  }

  .tp-brand__more {
    width: calc(33.33vw - 48px);
  }

  .tp-brand__title {
    font-size: 23px;
  }

  .tp-brand__logo img {
    max-width: 150px;
  }

  .tp-brand__wordmark {
    font-size: 26px;
  }
}

/* Mobil a dotyková zařízení: posuvný karusel */
@media (max-width: 991px),
(hover: none) {
  .tp-brands {
    padding: 24px 0 20px;
  }

  .tp-brands__track {
    gap: 12px;
    padding: 0 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    scrollbar-width: none;
  }

  .tp-brands__track::-webkit-scrollbar {
    display: none;
  }

  .tp-brand {
    flex: 0 0 min(86%, 420px);
    height: 560px;
    scroll-snap-align: start;
  }

  .tp-brand__bg {
    filter: grayscale(0) brightness(.6);
  }

  .tp-brand::before {
    transform: scaleX(1);
  }

  /* obsah ukotvený nahoru, aby loga a nadpisy lícovaly napříč kartami */
  .tp-brand__inner {
    justify-content: flex-start;
    gap: 36px;
    padding: 28px 24px 30px;
  }

  .tp-brand__title {
    font-size: 26px;
  }

  .tp-brand__more p {
    margin-top: 16px;
  }

  .tp-brand__tags {
    margin-bottom: 22px;
  }

  .tp-brands__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }

  .tp-brands__dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .3);
    transition: background-color .25s, width .25s;
  }

  .tp-brands__dots button.is-active {
    width: 28px;
    background: var(--tp-yellow);
  }
}

@media (min-width: 992px) and (hover: hover) {
  .tp-brands__dots {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-brand,
  .tp-brand__bg,
  .tp-brand__more,
  .tp-brand::before {
    transition: none !important;
  }
}

/*--------------------------------------------------------------
# Kdo jsme (žlutý panel + výhody)
--------------------------------------------------------------*/
.tp-about {
  position: relative;
  overflow: hidden;
}

.tp-about__panel {
  position: relative;
  isolation: isolate;
  height: 100%;
  padding: 80px 50px 80px 0;
  background: var(--tp-yellow);
  color: rgba(23, 29, 47, .85);
}

.tp-about__panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 100vw;
  background: var(--tp-yellow);
  z-index: -1;
}

.tp-about__panel .tp-title {
  font-size: 32px;
}

.tp-about__panel p {
  margin-bottom: 30px;
}

.tp-about__features {
  padding: 70px 0 60px 50px;
}

.tp-feature {
  margin-bottom: 30px;
}

.tp-feature__icon {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 40px;
  line-height: 1;
  color: var(--tp-blue);
}

.tp-feature__label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9aa0ab;
}

.tp-feature h3 {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 600;
}

.tp-feature p {
  margin: 0;
  font-size: 14px;
}

/* modrý pruh s čísly, překrývá spodek žlutého panelu */
.tp-stats {
  position: relative;
  z-index: 1;
}

.tp-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 50%;
  background: var(--tp-yellow);
  z-index: -1;
}

.tp-stats__box {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 50px 40px;
  background: var(--tp-blue);
  color: rgba(255, 255, 255, .85);
}

.tp-stat {
  flex: 1;
  padding: 0 24px;
}

.tp-stat+.tp-stat {
  border-left: 1px dashed rgba(255, 255, 255, .4);
}

.tp-stat__value {
  display: block;
  margin-bottom: 14px;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.tp-stat__value small {
  font-size: 20px;
  font-weight: 500;
}

.tp-stat p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.tp-stats__image {
  height: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
}

/* Časosběrné video ze stavby – vzhled záběru z bezpečnostní kamery */
.tp-timelapse {
  position: relative;
  display: block;
  height: 100%;
  min-height: 460px;
  overflow: hidden;
  background: var(--tp-darker) url('../video/casosber-stavba.jpg') center / cover;
  color: #fff;
  isolation: isolate;
}

.tp-timelapse__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.tp-timelapse::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(16, 20, 31, .45) 0%, rgba(16, 20, 31, 0) 30%);
}

/* rohy hledáčku */
.tp-timelapse__frame {
  position: absolute;
  inset: 16px;
  pointer-events: none;
  --c: var(--tp-yellow);
  background:
    linear-gradient(var(--c), var(--c)) top left / 26px 2px,
    linear-gradient(var(--c), var(--c)) top left / 2px 26px,
    linear-gradient(var(--c), var(--c)) top right / 26px 2px,
    linear-gradient(var(--c), var(--c)) top right / 2px 26px,
    linear-gradient(var(--c), var(--c)) bottom left / 26px 2px,
    linear-gradient(var(--c), var(--c)) bottom left / 2px 26px,
    linear-gradient(var(--c), var(--c)) bottom right / 26px 2px,
    linear-gradient(var(--c), var(--c)) bottom right / 2px 26px;
  background-repeat: no-repeat;
}

.tp-timelapse__rec,
.tp-timelapse__clock {
  position: absolute;
  top: 30px;
  padding: 4px 10px;
  background: rgba(16, 20, 31, .6);
  font-family: var(--tp-font-tech);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.4;
  text-transform: uppercase;
}

.tp-timelapse__rec {
  left: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tp-timelapse__rec i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 3px rgba(255, 59, 48, .25);
  animation: tp-rec 1.4s steps(1) infinite;
}

@keyframes tp-rec {
  50% {
    opacity: .2;
  }
}

.tp-timelapse__clock {
  right: 30px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

@media (max-width: 991px) {
  .tp-timelapse {
    min-height: 360px;
  }
}

@media (max-width: 575px) {
  .tp-timelapse {
    min-height: 300px;
  }

  .tp-timelapse__rec,
  .tp-timelapse__clock {
    top: 26px;
    padding: 3px 8px;
    font-size: 12px;
    letter-spacing: .8px;
  }

  .tp-timelapse__rec {
    left: 26px;
  }

  .tp-timelapse__clock {
    right: 26px;
  }
}

/* Modré pole vedle videa: klíčová hesla ke stavební kameře */
.tp-stats__box--promo {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 40px;
  background: var(--tp-dark);
}

.tp-stats__box--promo .tp-stat p {
  color: rgba(255, 255, 255, .72);
}

.tp-stats__box--promo .tp-btn--white:hover {
  background: var(--tp-yellow);
  color: var(--tp-dark);
}

.tp-promo__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px 24px;
  font-family: var(--tp-font-tech);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tp-yellow);
}

.tp-promo__label::before {
  content: "";
  width: 4px;
  height: 16px;
  background: var(--tp-yellow);
}

.tp-theme .tp-promo__title {
  margin: 0 0 30px 24px;
  font-family: var(--tp-font-tech);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.tp-promo__keys {
  display: flex;
  width: 100%;
  margin-bottom: 32px;
}

.tp-promo__keys .tp-stat__value {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 30px;
  white-space: nowrap;
}

.tp-promo__keys .tp-stat__value i {
  font-size: 26px;
  line-height: 1;
  color: var(--tp-yellow);
}

.tp-stats__box--promo .tp-btn {
  margin-left: 24px;
}

@media (max-width: 1199px) {
  .tp-promo__keys .tp-stat__value {
    font-size: 26px;
  }
}

@media (max-width: 575px) {
  .tp-stats__box--promo {
    padding: 44px 16px;
  }

  .tp-theme .tp-promo__title {
    font-size: 30px;
  }

  .tp-promo__keys {
    flex-direction: column;
    gap: 22px;
  }

  .tp-promo__keys .tp-stat + .tp-stat {
    padding-top: 22px;
    border-top: 1px dashed rgba(255, 255, 255, .4);
    border-left: 0;
  }

  .tp-promo__keys .tp-stat__value {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-timelapse__rec i {
    animation: none;
  }
}

@media (max-width: 991px) {
  .tp-about__panel {
    padding: 60px 0;
  }

  .tp-about__panel::before {
    right: -100vw;
    left: -100vw;
    width: auto;
  }

  .tp-about__features {
    padding: 50px 0 20px;
  }

  .tp-stats::before {
    display: none;
  }

  .tp-stats__box {
    padding: 40px 10px;
  }

  .tp-stats__image {
    min-height: 240px;
  }
}

@media (max-width: 575px) {
  .tp-stat {
    padding: 0 14px;
  }

  .tp-stat__value {
    font-size: 44px;
  }
}

/*--------------------------------------------------------------
# Co nabízíme (karty služeb)
--------------------------------------------------------------*/
.tp-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  box-shadow: 0 10px 40px rgba(23, 29, 47, .07);
  border-bottom: 3px solid transparent;
  transition: border-color .25s, transform .25s;
}

.tp-service-card:hover {
  border-bottom-color: var(--tp-yellow);
  transform: translateY(-4px);
}

.tp-service-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tp-service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.tp-service-card:hover .tp-service-card__img img {
  transform: scale(1.05);
}

.tp-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 28px;
}

.tp-service-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.tp-service-card__head i {
  font-size: 34px;
  line-height: 1;
  color: var(--tp-blue);
}

.tp-service-card__head span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9aa0ab;
}

.tp-service-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}

.tp-service-card h3 a {
  color: inherit;
}

.tp-service-card p {
  flex: 1;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Produkty (slidery)
--------------------------------------------------------------*/
.tp-products {
  background: var(--tp-light);
}

.tp-products__block+.tp-products__block {
  margin-top: 70px;
}

.tp-products__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.tp-products__head .tp-title {
  margin: 0;
  font-size: 30px;
}

.tp-products__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tp-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--tp-border);
  background: #fff;
  color: var(--tp-dark);
  font-size: 18px;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}

.tp-arrow:hover {
  background: var(--tp-yellow);
  border-color: var(--tp-yellow);
}

.tp-arrow.swiper-button-disabled {
  opacity: .4;
  cursor: default;
}

.tp-products__nav .tp-link-more {
  margin-right: 14px;
}

.tp-product-card {
  display: block;
  height: 100%;
  padding: 28px 24px 26px;
  background: #fff;
  border-bottom: 3px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}

.tp-product-card:hover {
  border-bottom-color: var(--tp-blue);
  box-shadow: 0 10px 30px rgba(23, 29, 47, .08);
}

.tp-product-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 170px;
  margin-bottom: 20px;
}

.tp-product-card__img img {
  max-width: 100%;
  max-height: 160px;
  mix-blend-mode: multiply;
}

.tp-product-card h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.tp-product-card:hover h3 {
  color: var(--tp-blue);
}

.tp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tp-tag {
  padding: 3px 10px;
  background: var(--tp-light);
  font-size: 12px;
  color: var(--tp-text);
}

.tp-products .swiper-slide {
  height: auto;
}

/*--------------------------------------------------------------
# Reference (tmavá sekce) + pás fotek
--------------------------------------------------------------*/
.tp-testimonials {
  position: relative;
  padding: 100px 0 0;
  background: var(--tp-dark) center / cover no-repeat;
  color: rgba(255, 255, 255, .75);
}

.tp-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 31, .9);
}

.tp-testimonials>.container {
  position: relative;
}

.tp-testimonials__quote-icon {
  font-size: 54px;
  line-height: 1;
  color: var(--tp-blue);
}

.tp-testimonial p {
  margin: 14px 0 24px;
  font-size: 19px;
  line-height: 1.6;
  color: #fff;
}

.tp-testimonial__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.tp-testimonial__role {
  font-size: 13px;
  color: var(--tp-blue);
}

.tp-testimonial__stars {
  color: var(--tp-yellow);
  letter-spacing: 3px;
}

.tp-testimonials__nav {
  display: flex;
  gap: 18px;
}

.tp-testimonials__nav button {
  padding: 0;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: rgba(255, 255, 255, .7);
  transition: color .25s;
}

.tp-testimonials__nav button:hover {
  color: var(--tp-yellow);
}

/* pás přesahuje 90px pod tmavou sekci */
.tp-gallery-strip {
  position: relative;
  top: 90px;
  margin-top: 80px;
  z-index: 2;
}

.tp-gallery-strip__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.tp-gallery-strip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.tp-gallery-strip__img:hover img {
  transform: scale(1.06);
}

.tp-gallery-strip__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 30px;
  background: var(--tp-blue);
  text-align: center;
  color: #fff;
}

.tp-gallery-strip__cta p {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.tp-after-strip {
  padding-top: 190px;
}

@media (max-width: 991px) {
  .tp-gallery-strip {
    margin-top: 50px;
  }
}

/*--------------------------------------------------------------
# Služby (seznam + obrázek kamery)
--------------------------------------------------------------*/
.tp-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
  margin: 30px 0 36px;
  padding: 0;
  list-style: none;
}

.tp-checklist li {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tp-border);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--tp-dark);
}

.tp-checklist i {
  font-size: 18px;
  line-height: 1.2;
  color: var(--tp-blue);
}

.tp-camera-img {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .tp-camera-img {
    max-width: 340px;
  }
}

/* Interaktivní kamera v sekci Služby – jen na počítači s myší, na mobilu a tabletu skrytá celá */
.tp-cam-col {
  display: none;
}

.tp-cam {
  position: relative;
}

.tp-cam__real,
.tp-cam__hud {
  display: none;
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .tp-cam-col {
    display: block;
  }

  /* Tělo a držák jsou výřezy jedné fotky s bílým pozadím – „multiply“ bílou zprůhlední */
  .tp-cam__real {
    position: relative;
    display: block;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    margin: 0 auto;
    pointer-events: none;
  }

  .tp-cam__mount,
  .tp-cam__head {
    position: absolute;
    top: 0;
    height: 100%;
    mix-blend-mode: multiply;
  }

  .tp-cam__mount {
    left: 69.5%;
    width: 30.5%;
  }

  .tp-cam__head {
    left: 0;
    width: 69.5%;
    transform-origin: 100% 47.5%; /* kloub: střed zadní části těla, kde vychází rameno */
    will-change: transform;
  }

  .tp-cam__hud {
    position: absolute;
    left: 50%;
    bottom: 2%;
    width: min(480px, 100%);
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    font-family: var(--tp-font-tech);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--tp-dark);
  }

  .tp-cam__hud span {
    padding: 4px 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(23, 29, 47, .08);
  }

  .tp-cam__live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }

  .tp-cam__live i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff3b30;
    animation: tp-rec 1.4s steps(1) infinite;
  }

  .tp-cam__status {
    color: var(--tp-blue);
  }

  .tp-cam.is-tracking .tp-cam__status {
    color: #d92d20;
  }

  .tp-cam__angle {
    min-width: 96px;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-cam__live i {
    animation: none;
  }
}

@media (max-width: 575px) {
  .tp-checklist {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Konzultace + spolupráce
--------------------------------------------------------------*/
.tp-cta {
  position: relative;
}

.tp-cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 0;
  background: var(--tp-yellow);
}

.tp-cta .row {
  position: relative;
}

.tp-cta__dark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 50px 40px;
  background: var(--tp-dark);
  text-align: center;
  color: #fff;
}

.tp-cta__dark span {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.tp-cta__dark a {
  margin-top: 14px;
  font-size: 30px;
  font-weight: 700;
  color: var(--tp-yellow);
}

.tp-cta__dark a:hover {
  color: #fff;
}

.tp-cta__partners {
  height: 100%;
  min-width: 0;
  padding: 40px 0 34px 50px;
  background: var(--tp-yellow);
}

.tp-partners__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.tp-cta__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--tp-dark);
}

.tp-cta__label::before {
  content: "";
  width: 5px;
  height: 26px;
  background: var(--tp-dark);
}

/* tmavě modré šipky */
.tp-partners__nav {
  display: flex;
  gap: 6px;
}

.tp-partners__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--tp-dark);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background-color .25s, color .25s;
}

.tp-partners__arrow:hover {
  background: #fff;
  color: var(--tp-dark);
}

/* pás karet – odsazení, aby se nezařízl stín ani nadzvednutí karty */
.tp-partners {
  padding-bottom: 26px;
  overflow: visible;
  clip-path: inset(-14px 0 -40px 0); /* do stran ořez na hraně karet, nahoru a dolů volno pro stín */
}

.tp-partners .swiper-slide {
  height: auto;
}

/* Partnerské weby jako reklamní okénka: logo vlevo, odkaz vždy vpravo dole */
.tp-partner {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 20px;
  border-left: 4px solid var(--tp-dark);
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 29, 47, .14);
  color: var(--tp-dark);
  transition: transform .25s, box-shadow .25s;
}

.tp-partner:hover {
  color: var(--tp-dark);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(23, 29, 47, .2);
}

.tp-partner__logo {
  display: flex;
  flex-shrink: 0;
  align-self: center;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background: #fff;
}

.tp-partner__logo img {
  max-width: 100%;
  max-height: 100%;
}

.tp-partner__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.tp-partner strong {
  display: block;
  margin-bottom: 4px;
  padding-right: 70px;
  font-family: var(--tp-font-tech);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.tp-partner small {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--tp-text);
}

.tp-partner__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--tp-font-tech);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tp-blue);
}

.tp-partner__cta i {
  transition: transform .25s;
}

.tp-partner:hover .tp-partner__cta i {
  transform: translate(2px, -2px);
}

/* štítek v pravém horním rohu */
.tp-partner__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 1px 8px;
  background: var(--tp-dark);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--tp-yellow);
}

/* nabídka spolupráce */
.tp-partner--invite .tp-partner__logo {
  background: var(--tp-dark);
  font-size: 34px;
  color: var(--tp-yellow);
}

.tp-partner--invite strong {
  padding-right: 0;
}

.tp-partner--invite:hover .tp-partner__cta i {
  transform: translateX(3px);
}

/* tmavě modré čárky pod pásem */
.tp-partners__dots {
  display: flex;
  gap: 8px;
}

.tp-partners__dots .swiper-pagination-bullet {
  width: 28px;
  height: 5px;
  margin: 0 !important;
  border-radius: 0;
  background: var(--tp-dark);
  opacity: .25;
  transition: width .3s, opacity .3s;
}

.tp-partners__dots .swiper-pagination-bullet-active {
  width: 48px;
  opacity: 1;
}

@media (max-width: 991px) {
  .tp-cta::before {
    display: none;
  }

  .tp-cta__partners {
    padding: 40px 30px;
  }
}

@media (max-width: 575px) {
  .tp-cta__partners {
    padding: 36px 16px 30px;
  }

  .tp-cta__label {
    font-size: 24px;
  }

  .tp-partners__arrow {
    width: 38px;
    height: 38px;
  }

  .tp-partner {
    gap: 14px;
    padding: 16px;
  }

  .tp-partner__logo {
    width: 64px;
    height: 64px;
  }

  .tp-partner strong {
    font-size: 19px;
  }
}

/*--------------------------------------------------------------
# Poslední realizace
--------------------------------------------------------------*/
.tp-projects {
  background: var(--tp-light);
}

.tp-project-card {
  display: block;
  height: 100%;
  background: #fff;
  border-bottom: 3px solid var(--tp-blue);
  transition: transform .25s, box-shadow .25s;
}

.tp-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(23, 29, 47, .1);
}

.tp-project-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tp-border);
}

.tp-project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-project-card__body {
  padding: 24px 26px 26px;
}

.tp-project-card__meta {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9aa0ab;
}

.tp-project-card h3 {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

/*--------------------------------------------------------------
# Kontaktní pruh + patička
--------------------------------------------------------------*/
.tp-contact-bar {
  background: var(--tp-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.tp-contact-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 30px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}

.tp-contact-bar__item i {
  font-size: 24px;
  color: var(--tp-yellow);
}

.tp-contact-bar__item strong {
  color: #fff;
  font-weight: 600;
}

.tp-contact-bar__item a {
  color: rgba(255, 255, 255, .7);
}

.tp-contact-bar__item a:hover {
  color: var(--tp-yellow);
}

@media (max-width: 767px) {
  .tp-contact-bar .row {
    padding: 18px 0;
  }

  .tp-contact-bar__item {
    padding: 8px 0;
  }
}

.tp-footer {
  padding: 70px 0 40px;
  background: var(--tp-dark);
  font-size: 14px;
  color: rgba(255, 255, 255, .65);
}

.tp-footer h4 {
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.tp-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-footer__links li {
  margin-bottom: 10px;
}

.tp-footer__links a {
  color: rgba(255, 255, 255, .65);
  transition: color .25s, padding-left .25s;
}

.tp-footer__links a::before {
  content: "\203A";
  margin-right: 8px;
  color: var(--tp-yellow);
}

.tp-footer__links a:hover {
  padding-left: 4px;
  color: #fff;
}

.tp-footer__map {
  display: block;
  width: 100%;
  height: 150px;
  margin-top: 16px;
  border: 0;
  filter: grayscale(.4);
}

.tp-newsletter {
  display: flex;
  margin-top: 18px;
}

.tp-newsletter input[type=email] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-right: 0;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 14px;
}

.tp-newsletter input[type=email]::placeholder {
  color: rgba(255, 255, 255, .45);
}

.tp-newsletter input[type=email]:focus {
  outline: 0;
  border-color: var(--tp-yellow);
}

.tp-newsletter button {
  width: 52px;
  border: 0;
  background: var(--tp-yellow);
  color: var(--tp-dark);
  font-size: 18px;
}

.tp-newsletter button:hover {
  background: var(--tp-yellow-dark);
}

.tp-form-newsletter .tp-field__error {
  margin-top: 8px;
  color: #ff9b91;
}

.tp-form-newsletter .tp-newsletter.is-invalid input[type=email] {
  border-color: #ff9b91;
  background: rgba(255, 255, 255, .06);
}

.tp-form-newsletter .tp-form-status {
  margin: 10px 0 0;
  padding: 0;
  background: none;
  font-size: 14px;
}

.tp-form-newsletter .tp-form-status[data-state=success] {
  color: var(--tp-yellow);
}

.tp-form-newsletter .tp-form-status[data-state=error] {
  color: #ff9b91;
}

.tp-form-newsletter.is-loading .tp-newsletter button i {
  display: none;
}

.tp-form-newsletter.is-loading .tp-newsletter button::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: tp-spin .7s linear infinite;
}

.tp-footer-bottom {
  background: var(--tp-yellow);
  font-size: 13px;
  color: var(--tp-dark);
}

.tp-footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.tp-footer-bottom a {
  color: var(--tp-dark);
  font-weight: 600;
}

.tp-footer-bottom a:hover {
  text-decoration: underline;
}

.tp-footer-bottom__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-footer-bottom__social {
  display: flex;
  gap: 8px;
}

.tp-footer-bottom__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(23, 29, 47, .12);
  font-size: 16px;
  transition: background-color .25s, color .25s;
}

.tp-footer-bottom__social a:hover {
  background: var(--tp-dark);
  color: var(--tp-yellow);
  text-decoration: none;
}

/* Podpis tvůrce webu – ve stylu ikon vedle (stejné podbarvení i výška) */
.tp-footer-bottom a.tp-ezis {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 36px;
  padding: 0 12px;
  background: rgba(23, 29, 47, .12);
  font-weight: 400;
  text-decoration: none;
  transition: background-color .25s;
}

.tp-ezis__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .4px;
  color: rgba(23, 29, 47, .8);
  transition: color .25s;
}

.tp-ezis__logo {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding-left: 11px;
  border-left: 1px solid rgba(23, 29, 47, .25);
  font-family: var(--tp-font-tech);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .5px;
  color: var(--tp-dark);
  transition: color .25s, border-color .25s;
}

/* Značka EZIS: dva štítky – „EZ“ bílý s tmavým písmem, „IS“ červený */
.tp-ezis__ez,
.tp-ezis__is {
  padding: 2px 3px 1px 4px;
  color: #fff;
  transition: background-color .25s;
}

.tp-ezis__ez {
  background: #fff;
  color: var(--tp-dark);
}

.tp-ezis__is {
  background: #e30613;
}

.tp-ezis__logo small {
  margin-left: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  color: rgba(23, 29, 47, .7);
  transition: color .25s;
}

.tp-footer-bottom a.tp-ezis:hover {
  background: var(--tp-dark);
  text-decoration: none;
}

.tp-footer-bottom a.tp-ezis:hover .tp-ezis__label,
.tp-footer-bottom a.tp-ezis:hover .tp-ezis__logo small {
  color: rgba(255, 255, 255, .7);
}

.tp-footer-bottom a.tp-ezis:hover .tp-ezis__logo {
  border-color: rgba(255, 255, 255, .25);
  color: #fff;
}

.tp-theme .back-to-top {
  border: 0;
  border-radius: 0;
  background: var(--tp-dark);
}

.tp-theme .back-to-top:hover {
  background: var(--tp-blue);
  border: 0;
}

.tp-theme .back-to-top i:hover {
  color: #fff;
}

/*--------------------------------------------------------------
# Stránka značky (znacka.php)
--------------------------------------------------------------*/
.tp-page-hero {
  position: relative;
  padding: 70px 0 90px;
  background-color: var(--tp-dark);
  background-size: cover;
  color: rgba(255, 255, 255, .8);
}

.tp-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 20, 31, .95) 0%, rgba(16, 20, 31, .85) 45%, rgba(16, 20, 31, .45) 100%);
}

.tp-page-hero .container {
  position: relative;
}

.tp-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
  font-family: var(--tp-font-tech);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.tp-breadcrumbs a {
  color: rgba(255, 255, 255, .75);
}

.tp-breadcrumbs a:hover {
  color: var(--tp-yellow);
}

.tp-breadcrumbs i {
  font-size: 10px;
}

.tp-breadcrumbs span {
  color: var(--tp-yellow);
}

.tp-page-hero__logo {
  display: flex;
  align-items: flex-end;
  min-height: 78px;
  margin-bottom: 26px;
}

.tp-page-hero__logo img {
  width: auto;
  max-width: 280px;
  filter: brightness(0) invert(1);
}

.tp-page-hero h1 {
  max-width: 640px;
  margin-bottom: 14px;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
}

.tp-page-hero p {
  max-width: 560px;
  margin-bottom: 34px;
  font-size: 18px;
}

.tp-page-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 767px) {
  .tp-page-hero {
    padding: 40px 0 60px;
  }

  .tp-breadcrumbs {
    margin-bottom: 34px;
  }

  .tp-page-hero h1 {
    font-size: 38px;
  }

  .tp-page-hero p {
    font-size: 16px;
  }
}

/* přepínač značek */
.tp-brand-nav {
  background: var(--tp-darker);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.tp-brand-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.tp-brand-nav li {
  flex: 1 0 auto;
}

.tp-brand-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 0 26px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--tp-font-tech);
  font-weight: 700;
  color: #fff;
  opacity: .45;
  transition: opacity .25s, background-color .25s;
}

.tp-brand-nav li:first-child a {
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.tp-brand-nav img {
  width: auto;
  filter: brightness(0) invert(1);
}

.tp-brand-nav a:hover {
  opacity: .85;
}

.tp-brand-nav a.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, .04);
}

.tp-brand-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--tp-yellow);
}

/* o značce */
.tp-brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tp-brand-tags li {
  padding: 7px 14px;
  background: var(--tp-light);
  border-left: 3px solid var(--tp-yellow);
  font-family: var(--tp-font-tech);
  font-size: 15px;
  font-weight: 600;
  color: var(--tp-dark);
}

.tp-facts {
  padding: 34px 32px;
  background: var(--tp-dark);
  border-top: 4px solid var(--tp-yellow);
}

.tp-facts h3 {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff !important;
}

.tp-facts ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-facts li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.tp-facts li:last-child {
  border-bottom: 0;
}

.tp-facts li::first-line {
  color: #fff;
}

.tp-facts li > i {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(244, 173, 1, .12);
  font-size: 20px;
  color: var(--tp-yellow);
}

.tp-facts small {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

.tp-cert {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--tp-yellow);
  font-size: 14px;
  line-height: 1.5;
  color: var(--tp-dark);
  transition: background-color .25s;
}

.tp-cert:hover {
  background: var(--tp-yellow-dark);
  color: var(--tp-dark);
}

.tp-cert>i:first-child {
  font-size: 32px;
}

.tp-cert strong {
  display: block;
  font-family: var(--tp-font-tech);
  font-size: 18px;
}

.tp-cert>i:last-child {
  margin-left: auto;
}

/* produktové řady */
.tp-range-card {
  height: 100%;
  padding: 34px 30px;
  background: #fff;
  border-bottom: 3px solid transparent;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.tp-range-card:hover {
  border-bottom-color: var(--tp-yellow);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(23, 29, 47, .08);
}

.tp-range-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  background: rgba(66, 139, 202, .1);
  font-size: 28px;
  color: var(--tp-blue);
  transition: background-color .25s, color .25s;
}

.tp-range-card:hover i {
  background: var(--tp-yellow);
  color: var(--tp-dark);
}

.tp-range-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
}

.tp-range-card p {
  margin: 0;
  font-size: 15px;
}

.tp-brand-products {
  margin-top: 80px;
}

.tp-products__note {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 50px auto 0;
  padding: 20px 26px;
  background: #fff;
  border-left: 4px solid var(--tp-blue);
  font-size: 15px;
}

.tp-products__note i {
  font-size: 22px;
  color: var(--tp-blue);
}

/* kroky spolupráce */
.tp-steps {
  background: var(--tp-dark);
  color: rgba(255, 255, 255, .7);
}

.tp-steps__row {
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.tp-step {
  position: relative;
  height: 100%;
  padding: 40px 32px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .3s;
}

.tp-step:hover {
  background: rgba(255, 255, 255, .03);
}

.tp-step__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--tp-font-tech);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .08);
}

.tp-step i {
  display: block;
  margin-bottom: 22px;
  font-size: 36px;
  color: var(--tp-yellow);
}

.tp-step h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #fff !important;
}

.tp-step p {
  margin: 0;
  font-size: 15px;
}

/* poptávka */
.tp-inquiry {
  background: var(--tp-light);
}

.tp-inquiry__contacts {
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.tp-inquiry__contacts li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-weight: 500;
  color: var(--tp-dark);
}

.tp-inquiry__contacts i {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--tp-dark);
  font-size: 18px;
  color: var(--tp-yellow);
}

.tp-inquiry__contacts small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--tp-text);
}

.tp-inquiry__contacts a {
  font-family: var(--tp-font-tech);
  font-size: 20px;
  font-weight: 700;
  color: var(--tp-dark);
}

.tp-inquiry__contacts a:hover {
  color: var(--tp-blue);
}

.tp-inquiry__price {
  padding: 18px 22px;
  background: #fff;
  border-left: 4px solid var(--tp-yellow);
  font-size: 15px;
}

.tp-form {
  padding: 40px;
  background: #fff;
  border-top: 4px solid var(--tp-blue);
  box-shadow: 0 20px 50px rgba(23, 29, 47, .08);
}

.tp-form label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--tp-font-tech);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--tp-dark);
}

.tp-form input[type=text],
.tp-form input[type=tel],
.tp-form input[type=email],
.tp-form select,
.tp-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--tp-border);
  border-radius: 0;
  background: var(--tp-light);
  font-size: 15px;
  color: var(--tp-dark);
  transition: border-color .2s, background-color .2s;
}

.tp-form input:focus,
.tp-form select:focus,
.tp-form textarea:focus {
  outline: 0;
  border-color: var(--tp-blue);
  background: #fff;
}

.tp-form textarea {
  resize: vertical;
}

.tp-form .tp-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--tp-font);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--tp-text);
}

.tp-form__check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--tp-blue);
}

.tp-form button {
  border: 0;
}

.tp-req {
  color: var(--tp-yellow-dark);
}

.tp-field.is-invalid input,
.tp-field.is-invalid select,
.tp-field.is-invalid textarea {
  border-color: #d92d20;
  background: #fff8f7;
}

.tp-field.is-invalid .tp-form__check input {
  outline: 2px solid #d92d20;
  outline-offset: 1px;
}

.tp-field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #b42318;
}

.tp-field__error::before {
  content: "\F332";
  font-family: bootstrap-icons;
  line-height: 1.3;
}

.tp-counter {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  text-align: right;
  color: #9aa1ad;
}

.tp-form-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 18px;
  border-left: 4px solid;
  font-size: 15px;
  line-height: 1.5;
}

.tp-form-status[hidden] {
  display: none;
}

.tp-form-status > i {
  font-size: 20px;
  line-height: 1.1;
}

.tp-form-status strong {
  font-weight: 600;
}

.tp-form-status ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.tp-form-status[data-state=success] {
  border-color: #12b76a;
  background: #ecfdf3;
  color: #05603a;
}

.tp-form-status[data-state=error] {
  border-color: #d92d20;
  background: #fef3f2;
  color: #912018;
}

.tp-form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.tp-form__note {
  font-size: 13px;
  color: #9aa1ad;
}

.tp-form__note i {
  color: var(--tp-blue);
}

.tp-form [type=submit]:disabled {
  opacity: .75;
  cursor: wait;
}

.tp-form.is-loading [type=submit] i {
  display: none;
}

.tp-form.is-loading [type=submit]::after {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: tp-spin .7s linear infinite;
}

@keyframes tp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* poděkování po odeslání */
.tp-form-done {
  display: none;
  padding: 30px 10px;
  text-align: center;
  outline: 0;
}

.tp-form.is-sent .tp-form__body {
  display: none;
}

.tp-form.is-sent .tp-form-done {
  display: block;
  animation: tp-form-in .4s ease both;
}

.tp-form-done > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  background: var(--tp-yellow);
  font-size: 38px;
  color: var(--tp-dark);
}

.tp-form-done h3 {
  margin-bottom: 8px;
  font-size: 30px;
}

.tp-form-done p {
  max-width: 420px;
  margin: 0 auto 24px;
  font-size: 17px;
}

.tp-form .tp-btn--outline {
  border: 2px solid var(--tp-dark);
  background: transparent;
  color: var(--tp-dark);
}

.tp-form .tp-btn--outline:hover {
  background: var(--tp-dark);
  color: #fff;
}

@keyframes tp-form-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-form.is-sent .tp-form-done {
    animation: none;
  }
}

@media (max-width: 575px) {
  .tp-form {
    padding: 26px 20px;
  }
}

/*--------------------------------------------------------------
# Stránka Produkty (produkty.php)
--------------------------------------------------------------*/
.tp-btn--dark {
  background: var(--tp-dark);
  color: #fff;
}

.tp-btn--dark:hover {
  background: #000;
  color: var(--tp-yellow);
}

/* rychlé odkazy na kategorie v úvodu */
.tp-page-hero__jump {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.tp-page-hero__jump a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 0 0;
  font-family: var(--tp-font-tech);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  transition: color .25s;
}

.tp-page-hero__jump a span {
  font-size: 15px;
  color: var(--tp-yellow);
}

.tp-page-hero__jump a:hover {
  color: var(--tp-yellow);
}

@media (max-width: 767px) {
  .tp-page-hero__jump {
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
  }

  .tp-page-hero__jump a {
    font-size: 15px;
  }
}

/* kategorie – střídavé řádky */
.tp-cat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.tp-cat+.tp-cat {
  margin-top: 110px;
}

.tp-cat--reverse .tp-cat__media {
  order: 2;
}

.tp-cat__media {
  position: relative;
}

/* žlutý rám posunutý za fotkou */
.tp-cat__media::before {
  content: "";
  position: absolute;
  top: 24px;
  left: -24px;
  right: 24px;
  bottom: -24px;
  border: 4px solid var(--tp-yellow);
  z-index: -1;
}

.tp-cat--reverse .tp-cat__media::before {
  left: 24px;
  right: -24px;
}

.tp-cat__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tp-cat__num {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 14px 22px;
  background: var(--tp-dark);
  font-family: var(--tp-font-tech);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--tp-yellow);
}

.tp-cat--reverse .tp-cat__num {
  left: auto;
  right: 0;
}

.tp-cat__body .tp-subtitle i {
  font-size: 16px;
}

.tp-cat__points {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.tp-cat__points li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--tp-border);
  font-weight: 500;
  color: var(--tp-dark);
}

.tp-cat__points i {
  font-size: 19px;
  line-height: 1.3;
  color: var(--tp-blue);
}

.tp-cat__brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
}

.tp-cat__brands span {
  margin-right: 4px;
  font-family: var(--tp-font-tech);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9aa0ab;
}

.tp-cat__brands a {
  padding: 5px 13px;
  border: 1px solid var(--tp-border);
  font-family: var(--tp-font-tech);
  font-size: 15px;
  font-weight: 700;
  color: var(--tp-dark);
  transition: border-color .2s, background-color .2s;
}

.tp-cat__brands a:hover {
  border-color: var(--tp-yellow);
  background: var(--tp-yellow);
  color: var(--tp-dark);
}

.tp-cat__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

@media (max-width: 991px) {
  .tp-cat {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .tp-cat+.tp-cat {
    margin-top: 80px;
  }

  .tp-cat--reverse .tp-cat__media {
    order: 0;
  }

  .tp-cat__media,
  .tp-cat--reverse .tp-cat__media {
    margin: 0 16px 16px 0;
  }

  .tp-cat__media::before,
  .tp-cat--reverse .tp-cat__media::before {
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
  }
}

/* mřížka značek */
.tp-brand-grid-section {
  background: var(--tp-dark);
}

.tp-brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-left: 1px solid rgba(255, 255, 255, .1);
}

.tp-brand-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 26px 30px;
  border-right: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  transition: background-color .3s;
}

.tp-brand-tile::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  background: var(--tp-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.tp-brand-tile:hover {
  background: rgba(255, 255, 255, .04);
  color: #fff;
}

.tp-brand-tile:hover::before {
  transform: scaleX(1);
}

.tp-brand-tile__logo {
  display: flex;
  align-items: center;
  height: 60px;
  margin-bottom: 26px;
  font-family: var(--tp-font-tech);
  font-size: 22px;
  font-weight: 700;
}

.tp-brand-tile__logo img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.tp-brand-tile__cat {
  font-family: var(--tp-font-tech);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.tp-brand-tile__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--tp-font-tech);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tp-yellow);
}

.tp-brand-tile__more i {
  transition: transform .25s;
}

.tp-brand-tile:hover .tp-brand-tile__more i {
  transform: translateX(4px);
}

@media (max-width: 1199px) {
  .tp-brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .tp-brand-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tp-brand-tile {
    padding: 26px 18px 24px;
  }
}

/* pruh s výzvou */
.tp-cta-band {
  background: var(--tp-yellow);
}

.tp-cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 60px 0;
}

.tp-cta-band h2 {
  max-width: 620px;
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
}

.tp-cta-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 767px) {
  .tp-cta-band h2 {
    font-size: 28px;
  }
}

/*--------------------------------------------------------------
# Podstránky – společné prvky
--------------------------------------------------------------*/
/* honeypot proti spamu – člověk ho nevidí */
.tp-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tp-page-hero--sub {
  padding: 60px 0 80px;
}

.tp-page-hero--sub h1 {
  font-size: 52px;
}

@media (max-width: 767px) {
  .tp-page-hero--sub {
    padding: 36px 0 56px;
  }

  .tp-page-hero--sub h1 {
    font-size: 36px;
  }
}

.tp-section--light {
  background: var(--tp-light);
}

.tp-section--dark {
  background: var(--tp-dark);
  color: rgba(255, 255, 255, .7);
}

/* textový obsah */
.tp-prose p {
  margin-bottom: 18px;
}

.tp-prose h2:not(.tp-title) {
  margin: 40px 0 16px;
  font-size: 30px;
  font-weight: 700;
}

.tp-prose h2:not(.tp-title):first-child {
  margin-top: 0;
}

.tp-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--tp-dark);
}

.tp-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 22px 0 30px;
  padding: 0;
  list-style: none;
}

.tp-check-grid li {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-left: 3px solid var(--tp-yellow);
  font-weight: 500;
  color: var(--tp-dark);
}

.tp-check-grid i {
  color: var(--tp-blue);
}

@media (max-width: 575px) {
  .tp-check-grid {
    grid-template-columns: 1fr;
  }
}

/* rozvržení text + fotka */
.tp-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 70px;
  align-items: center;
}

.tp-split--reverse {
  grid-template-columns: 7fr 5fr;
}

.tp-split--reverse .tp-split__media {
  order: 2;
}

.tp-split__media {
  position: relative;
}

.tp-split__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.tp-split__media::before {
  content: "";
  position: absolute;
  top: 24px;
  left: -24px;
  right: 24px;
  bottom: -24px;
  border: 4px solid var(--tp-yellow);
  z-index: -1;
}

.tp-split__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 16px 22px;
  background: var(--tp-dark);
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1.4;
}

.tp-split__caption strong {
  display: block;
  font-family: var(--tp-font-tech);
  font-size: 20px;
  color: #fff;
}

@media (max-width: 991px) {

  .tp-split,
  .tp-split--reverse {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .tp-split--reverse .tp-split__media {
    order: 0;
  }

  .tp-split__media {
    max-width: 460px;
    margin: 0 16px 16px 0;
  }

  .tp-split__media::before {
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
  }
}

/* časová osa postupu */
.tp-timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.tp-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 31px;
  width: 2px;
  background: rgba(255, 255, 255, .12);
}

.tp-timeline li {
  position: relative;
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
}

.tp-timeline li:last-child {
  padding-bottom: 0;
}

.tp-timeline__num {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--tp-yellow);
  font-family: var(--tp-font-tech);
  font-size: 24px;
  font-weight: 700;
  color: var(--tp-dark);
}

.tp-timeline h3 {
  margin: 4px 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: #fff !important;
}

.tp-timeline p {
  margin: 0;
}

/* ceník */
.tp-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tp-price {
  padding: 36px 32px;
  background: #fff;
  border-top: 4px solid var(--tp-yellow);
  box-shadow: 0 14px 40px rgba(23, 29, 47, .06);
}

.tp-price i {
  font-size: 34px;
  color: var(--tp-blue);
}

.tp-price h3 {
  margin: 18px 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.tp-price__value {
  display: block;
  font-family: var(--tp-font-tech);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--tp-dark);
}

.tp-price__value small {
  font-size: 18px;
  font-weight: 600;
  color: var(--tp-text);
}

.tp-price p {
  margin: 10px 0 0;
  font-size: 15px;
}

.tp-note {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  padding: 22px 26px;
  background: #fff;
  border-left: 4px solid var(--tp-blue);
}

.tp-note i {
  font-size: 24px;
  color: var(--tp-blue);
}

.tp-note p {
  margin: 0;
}

@media (max-width: 991px) {
  .tp-price-grid {
    grid-template-columns: 1fr;
  }
}

/* boxy s ikonou (výhody, služby) */
.tp-icon-box {
  height: 100%;
  padding: 36px 32px;
  background: #fff;
  border-bottom: 3px solid transparent;
  box-shadow: 0 10px 40px rgba(23, 29, 47, .06);
  transition: border-color .25s, transform .25s;
}

.tp-icon-box:hover {
  border-bottom-color: var(--tp-yellow);
  transform: translateY(-4px);
}

.tp-icon-box>i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  background: var(--tp-dark);
  font-size: 28px;
  color: var(--tp-yellow);
}

.tp-icon-box h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
}

.tp-icon-box p {
  margin: 0;
  font-size: 15px;
}

/* mřížka fotek s lightboxem */
.tp-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tp-photo-grid a {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--tp-border);
}

.tp-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.tp-photo-grid a::after {
  content: "\F62C";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 29, 47, .5);
  font-family: "bootstrap-icons";
  font-size: 30px;
  color: #fff;
  opacity: 0;
  transition: opacity .3s;
}

.tp-photo-grid a:hover img {
  transform: scale(1.06);
}

.tp-photo-grid a:hover::after {
  opacity: 1;
}

@media (max-width: 991px) {
  .tp-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .tp-photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* mřížka produktů */
.tp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tp-product-grid .tp-product-card {
  display: flex;
  flex-direction: column;
}

.tp-product-grid .tp-product-card h3 {
  flex: 1;
}

@media (max-width: 1199px) {
  .tp-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .tp-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .tp-product-grid .tp-product-card {
    padding: 20px 16px;
  }

  .tp-product-grid .tp-product-card__img {
    height: 130px;
  }
}

.tp-product-card .tp-link-more {
  margin-top: 4px;
  font-size: 13px;
}

/* detail produktu */
.tp-product-detail {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
}

.tp-product-detail__img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 40px;
  background: #fff;
  border-bottom: 4px solid var(--tp-yellow);
  box-shadow: 0 14px 40px rgba(23, 29, 47, .06);
}

.tp-product-detail__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.tp-product-detail h2 {
  margin-bottom: 18px;
  font-size: 38px;
  font-weight: 700;
}

.tp-product-detail__text {
  margin-bottom: 30px;
}

.tp-product-detail__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 991px) {
  .tp-product-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tp-product-detail__img {
    max-width: 420px;
  }
}

/* reference */
.tp-ref-grid {
  columns: 3 320px;
  column-gap: 24px;
}

.tp-ref-card {
  break-inside: avoid;
  margin-bottom: 24px;
  padding: 32px 30px;
  background: #fff;
  border-top: 4px solid var(--tp-yellow);
  box-shadow: 0 10px 34px rgba(23, 29, 47, .06);
}

.tp-ref-card>i {
  font-size: 36px;
  line-height: 1;
  color: var(--tp-blue);
}

.tp-ref-card p {
  margin: 12px 0 20px;
  font-size: 16px;
  color: var(--tp-dark);
}

.tp-ref-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--tp-border);
}

.tp-ref-card strong {
  font-family: var(--tp-font-tech);
  font-size: 17px;
  color: var(--tp-dark);
}

.tp-ref-card small {
  display: block;
  font-size: 13px;
  color: #9aa0ab;
}

.tp-ref-card .tp-testimonial__stars {
  letter-spacing: 2px;
}

/* galerie */
.tp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .tp-gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .tp-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.tp-project-card__count {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  background: rgba(23, 29, 47, .85);
  font-family: var(--tp-font-tech);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.tp-project-card__img {
  position: relative;
}

/* kontakt */
.tp-contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tp-contact-card {
  padding: 30px 26px;
  background: #fff;
  border-top: 4px solid var(--tp-yellow);
  box-shadow: 0 10px 34px rgba(23, 29, 47, .06);
}

.tp-contact-card i {
  font-size: 30px;
  color: var(--tp-blue);
}

.tp-contact-card h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.tp-contact-card p {
  margin: 0;
  font-size: 15px;
}

.tp-contact-card a {
  font-weight: 600;
  color: var(--tp-dark);
}

.tp-contact-card a:hover {
  color: var(--tp-blue);
}

@media (max-width: 1199px) {
  .tp-contact-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .tp-contact-cards {
    grid-template-columns: 1fr;
  }
}

.tp-map {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(.3);
}

.tp-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.tp-cert-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border-left: 3px solid var(--tp-yellow);
  font-family: var(--tp-font-tech);
  font-size: 17px;
  font-weight: 700;
  color: var(--tp-dark);
  transition: background-color .25s, color .25s;
}

.tp-cert-item i {
  font-size: 24px;
  color: var(--tp-blue);
}

.tp-cert-item:hover {
  background: var(--tp-dark);
  color: #fff;
}

.tp-cert-item:hover i {
  color: var(--tp-yellow);
}

/* 404 */
.tp-404 {
  padding: 120px 0;
  text-align: center;
}

.tp-404__code {
  display: block;
  font-family: var(--tp-font-tech);
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
  color: var(--tp-yellow);
}

.tp-404 h1 {
  margin: 10px 0 14px;
  font-size: 40px;
  font-weight: 700;
}

.tp-404 p {
  max-width: 520px;
  margin: 0 auto 30px;
}

.tp-404__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* navigace mezi galeriemi */
.tp-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--tp-border);
}

.tp-pager a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--tp-font-tech);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tp-dark);
}

.tp-pager a:hover {
  color: var(--tp-blue);
}

.tp-pager a > i {
  font-size: 22px;
}

.tp-pager small {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9aa0ab;
}

.tp-pager .tp-pager__all {
  padding: 12px 20px;
  border: 1px solid var(--tp-border);
  background: #fff;
  font-size: 15px;
}

.tp-pager__next {
  justify-self: end;
  text-align: right;
}

@media (max-width: 767px) {
  .tp-pager {
    grid-template-columns: 1fr 1fr;
  }

  .tp-pager .tp-pager__all {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }
}

/* boční panel a tmavé karty */
.tp-sticky {
  position: sticky;
  top: 110px;
}

.tp-facts p {
  margin-bottom: 22px;
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
}

/* právní text */
.tp-legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 56px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(23, 29, 47, .06);
}

.tp-legal h2 {
  font-size: 24px;
}

@media (max-width: 767px) {
  .tp-legal {
    padding: 30px 22px;
  }
}

/*--------------------------------------------------------------
# Cookie lišta
--------------------------------------------------------------*/
.tp-cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1060;
  width: min(440px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px 26px 24px;
  background: var(--tp-dark);
  border-top: 4px solid var(--tp-yellow);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  color: rgba(255, 255, 255, .75);
  font-size: 15px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
}

.tp-cookie.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tp-cookie__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tp-cookie__head i {
  font-size: 26px;
  color: var(--tp-yellow);
}

.tp-cookie__head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #fff !important;
}

.tp-cookie__text {
  margin-bottom: 18px;
}

.tp-cookie a {
  color: var(--tp-yellow);
  text-decoration: underline;
}

.tp-cookie__settings {
  margin-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.tp-cookie__option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  cursor: pointer;
}

.tp-cookie__option strong {
  display: block;
  font-family: var(--tp-font-tech);
  font-size: 17px;
  color: #fff;
}

.tp-cookie__option small {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .6);
}

.tp-cookie__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tp-cookie__switch {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 26px;
  background: rgba(255, 255, 255, .2);
  transition: background-color .2s;
}

.tp-cookie__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  transition: transform .2s;
}

.tp-cookie__option input:checked+.tp-cookie__switch {
  background: var(--tp-yellow);
}

.tp-cookie__option input:checked+.tp-cookie__switch::after {
  transform: translateX(20px);
}

.tp-cookie__option input:disabled+.tp-cookie__switch {
  opacity: .5;
}

.tp-cookie__option input:focus-visible+.tp-cookie__switch {
  outline: 2px solid var(--tp-yellow);
  outline-offset: 2px;
}

.tp-cookie__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tp-cookie__buttons .tp-btn {
  padding: 13px 18px;
  font-size: 14px;
}

.tp-cookie__link {
  margin-left: auto;
  padding: 6px 0;
  border: 0;
  background: none;
  font-family: var(--tp-font-tech);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  text-decoration: underline;
  color: #fff;
}

.tp-cookie__link:hover {
  color: var(--tp-yellow);
}

@media (max-width: 575px) {
  .tp-cookie {
    left: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 20px 18px 18px;
  }

  .tp-cookie__buttons .tp-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* tabulka cookies v zásadách */
.tp-table {
  width: 100%;
  margin: 10px 0 24px;
  border-collapse: collapse;
  font-size: 15px;
}

.tp-table th,
.tp-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--tp-border);
  text-align: left;
  vertical-align: top;
}

.tp-table th {
  background: var(--tp-light);
  font-family: var(--tp-font-tech);
  font-size: 15px;
  color: var(--tp-dark);
}

.tp-table code {
  font-size: 13px;
  color: var(--tp-blue-dark);
}

.tp-table-wrap {
  overflow-x: auto;
}
