/*
 Theme Name: TIME VOX Child
 Theme URI: https://timevox.cz
 Template: hello-elementor

 Author: Patrik Šebek
 Author URI: https://sebek.in
 Description: Custom WordPress child theme developed for TIME VOX

 Version: 2.9.6
 Text Domain: timevox-child
*/

/* =========================================================
    GLOBAL RESET / FULL WIDTH FIX
    ========================================================= */

html,
body {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: #050f1c !important;
  color: #ffffff;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

/* odstranění okrajů šablony / Elementoru */
#page,
.site,
.site-main,
#content,
.content-area,
.page-content,
.entry-content,
.elementor,
.elementor-section-wrap,
.elementor-widget,
.elementor-widget-container,
.elementor-container,
.elementor-column,
.elementor-column-wrap,
.elementor-widget-wrap,
.e-con,
.e-con-inner,
.e-parent,
.e-child {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* skrytí headeru a footeru */
.elementor-location-header,
.elementor-location-footer,
#site-header,
#site-footer,
.site-header,
.site-footer {
  display: none !important;
}

/* pozadí wrapperů */
.elementor-page,
.elementor-page .elementor,
.elementor-page .e-con,
.elementor-page .elementor-section {
  background: transparent !important;
}

/* =========================================================
    TIME VOX – COMING SOON
    ========================================================= */

.tv-coming-soon {
  position: fixed !important;
  inset: 0 !important;

  width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;

  margin: 0 !important;
  padding: 40px 20px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  overflow: hidden !important;

background:
  radial-gradient(circle at 12% 18%, rgba(0, 255, 185, .22), transparent 18%),
  radial-gradient(circle at 22% 78%, rgba(0, 180, 255, .18), transparent 22%),
  radial-gradient(circle at 78% 20%, rgba(0, 220, 190, .18), transparent 20%),
  radial-gradient(circle at 88% 72%, rgba(80, 160, 255, .16), transparent 22%),
  radial-gradient(circle at 50% 52%, rgba(0, 255, 210, .08), transparent 30%),
  linear-gradient(180deg, #050f1c 0%, #071b2e 46%, #031f27 100%);

  z-index: 9999 !important;
}

/* hlavní karta */
.tv-card {
  width: 100%;
  max-width: 920px;
  padding: 56px 42px;
  border-radius: 34px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  text-align: center;
}

/* logo */
.tv-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  color: #ffffff;
}

/* pill */
.tv-pill {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;

  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);

  font-size: 14px;
  margin-bottom: 28px;
  color: #bfe7ff;
}

/* nadpis */
.tv-card h1 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.02;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  color: #ffffff;
}

/* text */
.tv-card p {
  max-width: 680px;
  margin: 0 auto;

  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}

/* kontakty */
.tv-contacts {
  margin-top: 38px;

  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tv-contacts a {
  color: #ffffff;
  text-decoration: none;

  padding: 13px 20px;
  border-radius: 999px;

  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);

  transition: 0.25s ease;
}

.tv-contacts a:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* adresa */
.tv-address {
  margin: 18px auto 0;

  width: 100%;
  max-width: 320px;
  padding: 16px 20px;
  border-radius: 24px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}

/* footer */
.tv-footer {
  margin-top: 34px;
  font-size: 13px;
  color: rgba(255,255,255,0.48);
}

/* responsive pro coming soon */
@media (max-width: 819px) {
  .tv-coming-soon {
    padding: 24px 14px;
  }

  .tv-card {
    padding: 42px 24px;
    border-radius: 26px;
  }

  .tv-card p {
    font-size: 16px;
  }

  .tv-contacts a {
    width: 100%;
  }
}


/* =========================================================
   TIME VOX – FLOATING MENU HEADER (OPRAVA OVERLAY A BLURU)
   ========================================================= */

/* Tmavý overlay se vytvoří POUZE nad sekcemi a footerem, ne nad celým body */
body.tvx-menu-open .tvx-page > section::before,
body.tvx-menu-open .tvx-page > footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 9999;
  background: rgba(3, 10, 20, .42);
  pointer-events: none;
}

/* Blurnou se pouze sekce a footer, header zůstane netknutý */
body.tvx-menu-open .tvx-page > section,
body.tvx-menu-open .tvx-page > footer {
  filter: blur(10px);
  transform: scale(1.01);
  position: relative;

  transition:
    filter .25s ease,
    transform .25s ease;
}

/* header a menu bez blur efektu */
body.tvx-menu-open .tvx-header,
body.tvx-menu-open .tvx-header *,
body.tvx-menu-open .tvx-menu-panel,
body.tvx-menu-open .tvx-menu-panel * {
  filter: none !important;
}

/* reset transformace headeru */
body.tvx-menu-open .tvx-header {
  transform: translateX(-50%) !important;
  z-index: 9999999 !important;
}

/* dropdown menu nad blurrem */
body.tvx-menu-open .tvx-menu-panel {
  transform:
    translateX(-50%)
    translateY(0)
    scale(1) !important;

  z-index: 99999999 !important;
}

/* =========================================================
    HEADER
    ========================================================= */

.tvx-header {
  position: fixed;
  top: 54px;
  left: 50%;
  transform: translateX(-50%) !important;
  z-index: 999999 !important;
  isolation: isolate;

  width: auto;
  max-width: calc(100% - 24px);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 6px;
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.12),
      rgba(255,255,255,.035)
    ),
    rgba(5, 15, 28, .72);

  border: 1px solid rgba(255,255,255,.14);

  box-shadow:
    0 20px 60px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.12);

  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);

  filter: none !important;

  transition:
    top .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

/* =========================================================
    BUTTONS
    ========================================================= */

.tvx-menu-toggle,
.tvx-header-cta {
  height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.13);

  text-decoration: none;
  font-size: 14px;
  font-weight: 900;

  cursor: pointer;

  transition:
    transform .25s ease,
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

/* =========================================================
    MENU BUTTON
    ========================================================= */

.tvx-menu-toggle {
  gap: 10px;
  padding: 0 22px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      rgba(80,150,255,.36),
      rgba(255,255,255,.06)
    ),
    rgba(12, 30, 54, .82);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 10px 28px rgba(0,0,0,.24);
}

.tvx-menu-toggle:hover {
  transform: translateY(-2px) scale(1.02);

  background:
    linear-gradient(
      135deg,
      rgba(85,185,255,.52),
      rgba(255,255,255,.10)
    ),
    rgba(16, 40, 70, .95);

  border-color: #8fe4ff;

  box-shadow:
    0 16px 36px rgba(0,0,0,.34),
    0 0 20px rgba(143, 228, 255, 0.45),
    inset 0 1px 0 rgba(255,255,255,.22);
}

/* odstranění růžového active/focus stavu */
.tvx-menu-toggle:not(:hover),
.tvx-menu-toggle:focus:not(:hover),
.tvx-menu-toggle:active:not(:hover),
.tvx-header.is-open .tvx-menu-toggle:not(:hover) {
  background:
    linear-gradient(
      135deg,
      rgba(80,150,255,.36),
      rgba(255,255,255,.06)
    ),
    rgba(12, 30, 54, .82) !important;

  color: #ffffff !important;
  outline: none !important;
  
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 10px 28px rgba(0,0,0,.24) !important;
}

/* =========================================================
    MENU ICON
    ========================================================= */

.tvx-menu-icon {
  width: 17px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.tvx-menu-icon::before,
.tvx-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;

  width: 17px;
  height: 2px;

  border-radius: 999px;
  background: #ffffff;

  transition: .25s ease;
}

.tvx-menu-icon::before {
  top: 1px;
}

.tvx-menu-icon::after {
  bottom: 1px;
}

/* otevřené menu */
.tvx-header.is-open .tvx-menu-icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.tvx-header.is-open .tvx-menu-icon::after {
  bottom: 5px;
  transform: rotate(-45deg);
}

/* =========================================================
    CTA BUTTON
    ========================================================= */

.tvx-header-cta {
  padding: 0 26px;

  color: #061827 !important;

  background:
    linear-gradient(
      135deg,
      #ffffff,
      #c9efff
    );

  box-shadow:
    0 12px 30px rgba(120,220,255,.20),
    inset 0 1px 0 rgba(255,255,255,.84);
}

.tvx-header-cta:hover {
  transform: translateY(-2px) scale(1.02);

  background:
    linear-gradient(
      135deg,
      #dff8ff,
      #8fe4ff
    );

  box-shadow:
    0 18px 38px rgba(100,210,255,.26),
    0 0 20px rgba(255, 255, 255, 0.55),
    0 0 35px rgba(143, 228, 255, 0.25),
    inset 0 1px 0 rgba(255,255,255,.94);
}

/* =========================================================
    DROPDOWN MENU
    ========================================================= */

.tvx-menu-panel {
  /* position:fixed vůči viewportu - musí sedět mimo .tvx-header v DOM,
     protože backdrop-filter/transform na headeru by jinak založily
     vlastní containing block a "fixed" by se počítal vůči headeru */
  position: fixed;
  z-index: 100001;

  top: 134px;
  left: 50%;

  transform:
    translateX(-50%)
    translateY(-10px)
    scale(.98);

  width: min(340px, calc(100vw - 32px));

  padding: 26px 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

  border-radius: 30px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.10),
      rgba(255,255,255,.035)
    ),
    rgba(7, 18, 33, .94);

  border: 1px solid rgba(255,255,255,.13);

  box-shadow:
    0 30px 80px rgba(0,0,0,.46),
    inset 0 1px 0 rgba(255,255,255,.08);

  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);

  opacity: 0;
  pointer-events: none;

  transition:
    opacity .25s ease,
    transform .25s ease;
}

body.tvx-menu-open .tvx-menu-panel {
  opacity: 1;
  pointer-events: auto;

  transform:
    translateX(-50%)
    translateY(0)
    scale(1);
}

/* =========================================================
    LANGUAGE SWITCHER (kulaté vlajky nad odkazy menu)
    ========================================================= */

.tvx-lang-switch {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tvx-lang-btn {
  appearance: none;
  cursor: pointer;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  transition: transform .25s cubic-bezier(0.25,1,0.5,1), border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.tvx-lang-btn:hover {
  transform: translateY(-3px) scale(1.06);
  border-color: #8fe4ff;
  background: rgba(255,255,255,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.32), 0 0 18px rgba(143,228,255,.35);
}

.tvx-lang-btn.is-active {
  border-color: #8fe4ff;
  background: rgba(143,228,255,.16);
  box-shadow: 0 0 0 2px rgba(143,228,255,.55) inset, 0 0 18px rgba(143,228,255,.25);
}

/* =========================================================
    MENU LINKS
    ========================================================= */

.tvx-menu-links {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.tvx-menu-panel a {
  color: rgba(255,255,255,.88);

  text-decoration: none;
  text-align: center;

  font-family: 'Space Grotesk', Inter, Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;

  transition:
    transform .22s ease,
    color .22s ease,
    opacity .22s ease;
}

.tvx-menu-panel a:hover {
  color: #7fdcff;
  transform: translateY(-2px);
}

/* =========================================================
    HERO OFFSET
    ========================================================= */

.tvx-hero {
  padding-top: 132px;
}

/*-----------------------------------------------------------------------*/
/* -------------------------- BACKGROUND ------------------------------*/
/*-----------------------------------------------------------------------*/

/* Globální zrušení výchozího modrého/šedého zvýraznění při tapnutí na mobilu */
.tvx-page,
.tvx-page *,
.tvx-btn,
.tvx-menu-toggle,
a,
button {
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
}

.tvx-page {
  position: relative;
  isolation: isolate;

  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100vh;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden;

  background:
    linear-gradient(180deg, #040d19 0%, #06192b 46%, #03242b 100%);

  background-attachment: fixed;

  color: #fff;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.tvx-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background:
    radial-gradient(circle at 14% 38%, rgba(0, 255, 190, .18), transparent 16%),
    radial-gradient(circle at 58% 16%, rgba(180, 40, 255, .22), transparent 13%),
    radial-gradient(circle at 50% 62%, rgba(0, 95, 255, .18), transparent 14%),
    radial-gradient(circle at 84% 20%, rgba(0, 110, 255, .13), transparent 15%),
    radial-gradient(circle at 76% 74%, rgba(0, 255, 205, .15), transparent 18%),
    linear-gradient(180deg, #040d19 0%, #06192b 46%, #03242b 100%);

  animation: tvxBgPulse 9s ease-in-out infinite;
  will-change: opacity, filter, transform;
}

.tvx-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image:
    radial-gradient(
      circle,
      rgba(110, 210, 255, .24) 0px,
      rgba(110, 210, 255, .24) 1px,
      transparent 1.6px
    );

  background-size: 92px 92px;

  opacity: .42;

  mask-image:
    radial-gradient(circle at center,
      rgba(255,255,255,1),
      rgba(255,255,255,.82) 45%,
      rgba(255,255,255,.38) 75%,
      transparent 100%
    );

  -webkit-mask-image:
    radial-gradient(circle at center,
      rgba(255,255,255,1),
      rgba(255,255,255,.82) 45%,
      rgba(255,255,255,.38) 75%,
      transparent 100%
    );
}

@keyframes tvxBgPulse {
  0%, 100% {
    opacity: .82;
    filter: blur(0px) saturate(1);
    transform: scale(1);
  }

  50% {
    opacity: 1;
    filter: blur(2px) saturate(1.18);
    transform: scale(1.025);
  }
}

.tvx-page * {
  box-sizing: border-box;
}

.tvx-hero,
.tvx-section,
.tvx-media,
.tvx-about,
.tvx-portfolio,
.tvx-contact {
  width: 100%;
  padding: 56px 18px;
  position: relative;
}

.tvx-hero {
  min-height: auto;
  display: grid;
  align-items: center;
  gap: 64px;
  overflow: visible;
  
  padding-top: 160px !important;
  padding-bottom: 60px !important;

  width: 100%;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.tvx-hero-content,
.tvx-hero-visual,
.tvx-section-head,
.tvx-services,
.tvx-trust,
.tvx-media-track,
.tvx-about-card,
.tvx-steps,
.tvx-logo-grid,
.tvx-contact-card {
  width: 100%;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.tvx-kicker,
.tvx-section-head span,
.tvx-about-card > span,
.tvx-contact-card > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 999px;
  color: #bfe7ff;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tvx-kicker-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #18e6c1;
  box-shadow: 0 0 24px rgba(24,230,193,.8);
}

.tvx-hero h1 {
  max-width: 920px;
  margin: 24px 0 28px;
  font-family: 'Space Grotesk', Inter, Arial, sans-serif;
  font-size: clamp(42px, 7vw, 110px);
  line-height: .88;
  letter-spacing: -.08em;
  font-weight: 700;
  color: #ffffff;
}

.tvx-section-head h2,
.tvx-about-card h2,
.tvx-contact-card h2 {
  margin: 18px 0 0;
  font-family: 'Space Grotesk', Inter, Arial, sans-serif;
  font-size: clamp(34px, 9vw, 72px);
  line-height: .98;
  letter-spacing: -.06em;
  color: #fff;
}

.tvx-hero p,
.tvx-section-head p,
.tvx-about-card p,
.tvx-step p,
.tvx-service p,
.tvx-contact-card p {
  color: rgba(255,255,255,.72);
  line-height: 1.75;
}

.tvx-hero p {
  max-width: 660px;
  font-size: 18px;
}

.tvx-section-head {
  margin-bottom: 34px;
}

.tvx-section-head p {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 17px;
}

.tvx-actions,
.tvx-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tvx-btn {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-weight: 800;
  transition: .25s ease;
}

.tvx-btn-primary {
  color: #061526 !important;
  background: linear-gradient(135deg, #fff 0%, #bfe7ff 100%);
  box-shadow: 0 16px 40px rgba(80,180,255,.22);
}

.tvx-btn-glass {
  color: #fff !important;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
}

.tvx-btn-glass:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.14);
  border-color: #8fe4ff; 
  box-shadow: 
    0 16px 36px rgba(0,0,0,.34),
    0 0 20px rgba(143, 228, 255, 0.5), 
    0 0 40px rgba(143, 228, 255, 0.2); 
}

.tvx-btn-primary:hover {
  transform: translateY(-3px) scale(1.02); 
  background: #ffffff;
  box-shadow: 
    0 20px 48px rgba(80,180,255,.30), 
    0 0 20px rgba(255, 255, 255, 0.6),  
    0 0 40px rgba(255, 255, 255, 0.3);  
}

/* =========================================================
    HERO VISUAL
    ========================================================= */

.tvx-hero-visual {
  min-height: 360px;
  position: relative;
}

.tvx-motion-card,
.tvx-floating-card,
.tvx-trust-item,
.tvx-service,
.tvx-about-card,
.tvx-step,
.tvx-logo-grid div,
.tvx-contact-card {
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tvx-motion-card-main {
  min-height: 280px;
  border-radius: 36px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.tvx-motion-card-main::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    conic-gradient(from 180deg, transparent, rgba(80,210,255,.46), rgba(255,255,255,.10), rgba(90,255,205,.38), transparent);
  animation: tvxRotate 12s linear infinite;
}

.tvx-motion-card-main::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(0,190,255,.16);
  filter: blur(80px);
  bottom: -140px;
  right: -120px;
  z-index: 0;
}

.tvx-motion-card-main > * {
  position: relative;
  z-index: 1;
}

.tvx-motion-logo {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  max-width: 400px;
  aspect-ratio: 250 / 55;
  height: auto;
  margin: 0;
  background-image: url('../../uploads/2026/05/logo-header.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.25));
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.tvx-motion-card h3 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', Inter, Arial, sans-serif;
  font-size: 32px;
  letter-spacing: -.04em;
  color: #fff;
}

.tvx-motion-card p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  text-align: center;
  letter-spacing: -.01em;
}

@media (max-width: 819px) {
  .tvx-motion-card p {
    font-size: 11.5px;
  }
}

.tvx-floating-card {
  position: absolute;
  border-radius: 22px;
  padding: 16px 18px;
  animation: tvxFloat 5s ease-in-out infinite;
}

.tvx-floating-card strong {
  display: block;
  font-size: 26px;
  color: #fff;
}

.tvx-floating-card span {
  font-size: 13px;
  color: rgba(255,255,255,.68);
}

.tvx-card-1 {
  top: -18px;
  right: 18px;
}

.tvx-card-2 {
  left: 24px;
  bottom: 4px;
  animation-delay: .8s;
}

.tvx-card-3 {
  right: 24px;
  bottom: -10px;
  animation-delay: 1.4s;
}

.tvx-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  opacity: .65;
  pointer-events: none;
  animation: tvxPulse 7s ease-in-out infinite;
}

.tvx-bg-orb-1 {
  width: 180px;
  height: 180px;
  top: 90px;
  right: -40px;
  background: rgba(0,151,255,.22);
}

.tvx-bg-orb-2 {
  width: 160px;
  height: 160px;
  bottom: 80px;
  left: -40px;
  background: rgba(0,220,180,.16);
  animation-delay: 1s;
}

/* =========================================================
    TRUST / SERVICES / CONTENT
    ========================================================= */

.tvx-trust {
  padding: 0 18px 70px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.tvx-trust-item {
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.tvx-trust-item:nth-child(1) {
  animation: tvxAmbientGlow 7s infinite ease-in-out;
}

.tvx-trust-item:nth-child(2) {
  animation: tvxAmbientGlow 9s infinite ease-in-out 1.5s;
}

.tvx-trust-item:nth-child(3) {
  animation: tvxAmbientGlow 8s infinite ease-in-out 3s;
}

.tvx-trust-item:hover {
  border-color: #8fe4ff !important;
  box-shadow: 
    0 24px 80px rgba(0, 0, 0, 0.35),
    0 0 35px rgba(143, 228, 255, 0.45),
    0 0 15px rgba(143, 228, 255, 0.25), 
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.tvx-trust-item strong {
  display: block;
  font-family: 'Space Grotesk', Inter, Arial, sans-serif;
  font-size: 32px;
  line-height: 1;
}

.tvx-trust-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.66);
}

.tvx-steps {
  display: grid;
  gap: 16px;
}

/* flexbox místo grid - osamocené karty na posledním (neúplném) řádku
   se pak samy vycentrují díky justify-content, ať jich zbyde 1 nebo 2 */
.tvx-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.tvx-service {
  flex: 1 1 100%;
}

@media (min-width: 820px) {
  .tvx-service {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (min-width: 1100px) {
  .tvx-service {
    flex: 0 0 calc((100% - 32px) / 3);
  }
}

.tvx-service,
.tvx-step {
  border-radius: 30px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  isolation: isolate;
  transition: 
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
}

.tvx-service:nth-child(1) {
  background: linear-gradient(135deg, rgba(0, 151, 255, 0.06), rgba(255, 255, 255, 0.04));
}
.tvx-service:nth-child(2) {
  background: linear-gradient(135deg, rgba(0, 220, 180, 0.06), rgba(255, 255, 255, 0.04));
}
.tvx-service:nth-child(3) {
  background: linear-gradient(135deg, rgba(110, 120, 255, 0.06), rgba(255, 255, 255, 0.04));
}
.tvx-service:nth-child(4) {
  background: linear-gradient(135deg, rgba(255, 70, 70, 0.06), rgba(255, 255, 255, 0.04));
}
.tvx-service:nth-child(5) {
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.06), rgba(255, 255, 255, 0.04));
}

.tvx-service:nth-child(1):hover {
  transform: translateY(-6px);
  background: rgba(0, 151, 255, 0.12);
  border-color: rgba(0, 151, 255, 0.7) !important;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 151, 255, 0.25);
}

.tvx-service:nth-child(2):hover {
  transform: translateY(-6px);
  background: rgba(0, 220, 180, 0.12);
  border-color: rgba(0, 220, 180, 0.7) !important;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 220, 180, 0.25);
}

.tvx-service:nth-child(3):hover {
  transform: translateY(-6px);
  background: rgba(110, 120, 255, 0.12);
  border-color: rgba(110, 120, 255, 0.7) !important;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(110, 120, 255, 0.25);
}

.tvx-service:nth-child(4):hover {
  transform: translateY(-6px);
  background: rgba(255, 70, 70, 0.12);
  border-color: rgba(255, 70, 70, 0.7) !important;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 70, 70, 0.25);
}

.tvx-service:nth-child(5):hover {
  transform: translateY(-6px);
  background: rgba(255, 149, 0, 0.12);
  border-color: rgba(255, 149, 0, 0.7) !important;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 149, 0, 0.25);
}

.tvx-step:nth-child(1) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)) !important;
}
.tvx-step:nth-child(2) {
  background: linear-gradient(135deg, rgba(143, 228, 255, 0.05), rgba(255, 255, 255, 0.03)) !important;
}
.tvx-step:nth-child(3) {
  background: linear-gradient(135deg, rgba(24, 230, 193, 0.05), rgba(255, 255, 255, 0.03)) !important;
}
.tvx-step:nth-child(4) {
  background: linear-gradient(135deg, rgba(0, 151, 255, 0.05), rgba(255, 255, 255, 0.03)) !important;
}

.tvx-step:nth-child(1):hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.15) !important;
}

.tvx-step:nth-child(2):hover {
  transform: translateY(-6px);
  background: rgba(143, 228, 255, 0.10) !important;
  border-color: rgba(143, 228, 255, 0.6) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 30px rgba(143, 228, 255, 0.25) !important;
}

.tvx-step:nth-child(3):hover {
  transform: translateY(-6px);
  background: rgba(24, 230, 193, 0.10) !important;
  border-color: rgba(24, 230, 193, 0.6) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 30px rgba(24, 230, 193, 0.25) !important;
}

.tvx-step:nth-child(4):hover {
  transform: translateY(-6px);
  background: rgba(0, 151, 255, 0.10) !important;
  border-color: rgba(0, 151, 255, 0.6) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 151, 255, 0.25) !important;
}

@media (max-width: 819px) {
  /* barvy/stín teď nastavuje průběžně JS podle pozice scrollu (custom.js) */
  .tvx-step {
    transform: none !important;
    transition: none !important;
  }
}

.tvx-icon,
.tvx-step b {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 22px;
  color: #bfe7ff;
  background: rgba(191,231,255,.10);
  border: 1px solid rgba(191,231,255,.18);
  font-weight: 900;
}

.tvx-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

.tvx-service h3,
.tvx-step h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Space Grotesk', Inter, Arial, sans-serif;
  font-size: 24px;
  letter-spacing: -.03em;
}

/* =========================================================
   MEDIA MIX – AUTOPLAY MARQUEE & CENTERED GLOW
   ========================================================= */

.tvx-media {
  padding-top: 50px;
  padding-bottom: 50px;
  overflow: hidden;
}

.tvx-media-track {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
}

@media (min-width: 820px) {
  .tvx-media-track {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 819px) {
  .tvx-media-track {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: max-content;
    animation: tvxMarqueeRun 20s linear infinite;
  }
}

.tvx-media-track div {
  flex: 0 0 auto;
  padding: 14px 22px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.6s ease, box-shadow 0.6s ease, background-color 0.6s ease;
}

.tvx-media-track div:nth-child(4n+1) { animation: tvxMediaGlowPulse 6s infinite ease-in-out; }
.tvx-media-track div:nth-child(4n+2) { animation: tvxMediaGlowPulse 6s infinite ease-in-out 1.5s; }
.tvx-media-track div:nth-child(4n+3) { animation: tvxMediaGlowPulse 6s infinite ease-in-out 3s; }
.tvx-media-track div:nth-child(4n+4) { animation: tvxMediaGlowPulse 6s infinite ease-in-out 4.5s; }

.tvx-media-track div:hover {
  border-color: #8fe4ff !important;
  box-shadow: 0 0 25px rgba(143, 228, 255, 0.35) !important;
  background-color: rgba(0, 151, 255, 0.12) !important;
  color: #ffffff !important;
}

@keyframes tvxMarqueeRun {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes tvxMediaGlowPulse {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.06);
  }
  50% {
    border-color: rgba(143, 228, 255, 0.65);
    box-shadow: 0 0 15px rgba(143, 228, 255, 0.2);
    background-color: rgba(0, 151, 255, 0.08);
  }
}

/* =========================================================
   ABOUT CARD – GRID & INTERACTIVE PILLARS
   ========================================================= */

.tvx-about-card {
  border-radius: 36px;
  padding: 34px 26px;
}

.tvx-about-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tvx-about-grid div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: 
    border-color 0.5s ease, 
    box-shadow 0.5s ease, 
    background-color 0.4s ease, 
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.tvx-about-grid div::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #18e6c1;
  box-shadow: 0 0 10px rgba(24, 230, 193, 0.8);
}

.tvx-about-grid div:nth-child(1) { animation: tvxAmbientGlowMuted 8s infinite ease-in-out; }
.tvx-about-grid div:nth-child(2) { animation: tvxAmbientGlowMuted 8s infinite ease-in-out 2s; }
.tvx-about-grid div:nth-child(3) { animation: tvxAmbientGlowMuted 8s infinite ease-in-out 4s; }
.tvx-about-grid div:nth-child(4) { animation: tvxAmbientGlowMuted 8s infinite ease-in-out 6s; }

@media (min-width: 820px) {
  .tvx-about-grid div:hover {
    transform: translateY(-3px);
    background-color: rgba(0, 151, 255, 0.08);
    border-color: rgba(143, 228, 255, 0.6) !important;
    box-shadow: 
      0 15px 35px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(143, 228, 255, 0.2) !important;
    color: #ffffff;
  }
}

@media (max-width: 819px) {
  .tvx-about-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  
  .tvx-about-grid div {
    padding: 16px 20px;
    font-size: 15px;
    justify-content: center;
  }
}

@keyframes tvxAmbientGlowMuted {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: none;
  }
  50% {
    border-color: rgba(143, 228, 255, 0.35);
    box-shadow: 0 0 15px rgba(143, 228, 255, 0.08);
  }
}

.tvx-portfolio {
  background: transparent !important;
  position: relative;
}

.tvx-logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tvx-logo-grid div {
  min-height: 86px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 900;
  letter-spacing: .04em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: 
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
    border-color 0.5s ease, 
    box-shadow 0.5s ease, 
    color 0.4s ease,
    background-color 0.4s ease;
}

@media (min-width: 820px) {
  .tvx-logo-grid div:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.11);
    border-color: rgba(143, 228, 255, 0.5) !important;
    box-shadow: 
      0 15px 35px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(143, 228, 255, 0.15) !important;
    color: #ffffff;
  }
}

@media (max-width: 819px) {
  /* barvy/stín teď nastavuje průběžně JS podle pozice scrollu (custom.js) */
  .tvx-logo-grid div {
    transition: none !important;
  }
}

/* =========================================================
   PORTFOLIO – NEKONEČNÝ PÁS LOG (marquee, 2 řádky, mono→color)
   ========================================================= */

.tvx-pf {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  /* jemné zmizení na krajích */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.tvx-pf-row {
  overflow: hidden;
}

.tvx-pf-track {
  display: flex;
  width: max-content;
  animation: tvxPfScroll 55s linear infinite;
}

/* horní řádek jede zleva doprava, spodní opačně */
.tvx-pf-track-ltr { animation-direction: reverse; }
.tvx-pf-track-rtl { animation-direction: normal; }

/* pauza při najetí na řádek (aby šlo hover na logo) */
.tvx-pf-row:hover .tvx-pf-track {
  animation-play-state: paused;
}

.tvx-pf-item {
  position: relative;
  flex: 0 0 auto;
  width: 150px;
  height: 66px;
  margin-right: 12px;   /* místo gap – kvůli plynulé smyčce */
  display: grid;
  place-items: center;
  padding: 12px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.tvx-pf-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(143, 228, 255, 0.5);
  box-shadow: 0 0 22px rgba(143, 228, 255, 0.18);
}

.tvx-pf-logo {
  max-width: 100%;
  max-height: 34px;
  object-fit: contain;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.tvx-pf-logo-default {
  filter: brightness(0) invert(0.82);
}

.tvx-pf-logo-color {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  border-radius: 8px;
}

.tvx-pf-item:hover .tvx-pf-logo-default { opacity: 0; }
.tvx-pf-item:hover .tvx-pf-logo-color {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

@keyframes tvxPfScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* kompaktnější na mobilu */
@media (max-width: 819px) {
  .tvx-pf { gap: 10px; }
  .tvx-pf-item {
    width: 120px;
    height: 58px;
    margin-right: 10px;
    padding: 10px 16px;
    border-radius: 15px;
  }
  .tvx-pf-logo { max-height: 28px; }
  .tvx-pf-track { animation-duration: 38s; }
}

/* =========================================================
   REFERENCE / UKÁZKY PRÁCE – TEASER
   ========================================================= */

.tvx-ref-grid {
  width: 100%;
  max-width: 1120px !important;
  margin: 0 auto !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tvx-ref-card {
  border-radius: 30px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(0, 220, 180, 0.06), rgba(255, 255, 255, 0.04));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: relative;
  isolation: isolate;
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
}

.tvx-ref-card:hover {
  transform: translateY(-6px);
  background: rgba(0, 220, 180, 0.12);
  border-color: rgba(0, 220, 180, 0.7) !important;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 220, 180, 0.25);
}

.tvx-ref-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 22px;
  color: #bfe7ff;
  background: rgba(191, 231, 255, 0.10);
  border: 1px solid rgba(191, 231, 255, 0.18);
  font-size: 20px;
  font-weight: 900;
}

.tvx-ref-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Space Grotesk', Inter, Arial, sans-serif;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.tvx-ref-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.tvx-ref-cta {
  width: 100%;
  max-width: 1120px !important;
  margin: 34px auto 0 !important;
  display: flex;
  justify-content: center;
}

@media (min-width: 820px) {
  .tvx-ref-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* mobilní glow – barvy/stín teď nastavuje průběžně JS podle pozice scrollu (custom.js) */
@media (max-width: 819px) {
  .tvx-ref-card {
    padding: 22px;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   CONTACT WITH ACTIVE AMBIENT GLOW
   ========================================================= */

.tvx-contact {
  padding: 110px 24px;
}

.tvx-contact-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: left;
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: 54px;
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.tvx-contact-card.is-form-open {
  border-color: rgba(143, 228, 255, 0.55) !important;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(143, 228, 255, 0.22) !important;
}

.tvx-contact-card > * {
  position: relative;
  z-index: 1;
}

.tvx-contact-top {
  width: 100%;
  text-align: center;
}

.tvx-contact-top > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 10px 20px;
  min-width: 0;
  width: fit-content;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  letter-spacing: .08em;
  color: rgba(255,255,255,.68);
}

.tvx-contact-top > span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #18e6c1;
  box-shadow: 0 0 10px rgba(24, 230, 193, 0.8);
}

.tvx-contact-top > h2 {
  margin: 0 auto 22px;
  max-width: 720px;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: .98;
  letter-spacing: -.06em;
  color: #ffffff;
}

.tvx-contact-top > p {
  margin: 0 auto;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,.68);
}

/* =========================================================
   KONTAKT – SÍDLO / MAPA / CTA
   ========================================================= */

.tvx-contact-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 44px;
}

.tvx-contact-address-line {
  width: 100%;
  max-width: 420px;
  margin: 56px auto 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tvx-contact-address-line strong {
  color: #fff;
  font-size: 17px;
}

.tvx-contact-address-line span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.6;
}

.tvx-contact-col {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tvx-contact-col-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255,255,255,.68);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

.tvx-contact-info {
  flex: 1;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 26px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.tvx-contact-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 10px;
  border-radius: 18px;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.25s ease, background 0.25s ease;
}

.tvx-contact-row-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #bfe7ff;
  background: rgba(191,231,255,.10);
  border: 1px solid rgba(191,231,255,.18);
}

.tvx-contact-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 17px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9) !important;
}

.tvx-contact-row-text em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.tvx-contact-row:hover,
.tvx-contact-row:focus {
  transform: translateX(4px);
  border-color: rgba(143, 228, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.tvx-contact-row:hover .tvx-contact-row-icon,
.tvx-contact-row:focus .tvx-contact-row-icon {
  color: #06131f;
  background: linear-gradient(135deg, #8fe4ff, #35d0b5);
  border-color: transparent;
}

.tvx-contact-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.tvx-contact-map {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 260px;
  box-sizing: border-box;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  background: #e5e3df;
}

.tvx-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

.tvx-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tvx-contact-links a {
  color: #fff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tvx-contact-links a:focus,
.tvx-contact-links a:active,
.tvx-contact-links a:visited {
  color: #ffffff !important;
  background: rgba(255,255,255,.09) !important;
  border-color: rgba(255,255,255,.15) !important;
  box-shadow: none !important;
}

.tvx-contact-links a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
  border-color: rgba(143, 228, 255, 0.4) !important;
  box-shadow: 0 0 15px rgba(143, 228, 255, 0.15);
}

/* --- TLAČÍTKO VE STYLU ZBYTKU WEBU (glass, cyan hover) --- */
.tvx-form-toggle {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: none;
  transition: transform .25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow .25s cubic-bezier(0.25, 1, 0.5, 1), background .25s ease, border-color .25s ease, color .25s ease;
}

.tvx-form-toggle::after {
  content: "↓";
  display: inline-block;
  font-size: 16px;
  color: #fff !important;
  transition: transform .32s ease;
}

.tvx-form-toggle:focus,
.tvx-form-toggle:active,
.tvx-form-toggle:visited,
.tvx-contact-card.is-form-open .tvx-form-toggle {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: #8fe4ff !important;
  box-shadow: none !important;
  outline: none !important;
}

.tvx-contact-card.is-form-open .tvx-form-toggle::after {
  transform: rotate(180deg);
}

.tvx-form-toggle:hover {
  transform: translateY(-2px) scale(1.02);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: #8fe4ff !important;
  box-shadow:
    0 16px 36px rgba(0,0,0,.34),
    0 0 20px rgba(143, 228, 255, 0.5),
    0 0 40px rgba(143, 228, 255, 0.2) !important;
}

.tvx-form-toggle:hover::after {
  color: #fff !important;
}

.tvx-contact-card.is-form-open .tvx-form-toggle:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: #8fe4ff !important;
}

/* =========================================================
   CONTACT AREA ACCORDION & FIELDS
   ========================================================= */

.tvx-contact-form-shell {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: grid-template-rows .55s cubic-bezier(.22, 1, .36, 1), opacity .35s ease, transform .45s ease, margin-top .45s ease;
}

.tvx-contact-card.is-form-open .tvx-contact-form-shell {
  grid-template-rows: 1fr;
  margin-top: 44px;
  opacity: 1;
  transform: translateY(0);
}

.tvx-contact-form-inner {
  overflow: hidden;
}

.tvx-contact-form-inner .tvxfm-wrap {
  max-width: none;
}

.tvx-contact-form-inner .tvxfm-card {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(5,15,28,.62), rgba(5,15,28,.36));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.tvx-contact-form-inner .tvxfm-heading {
  display: none;
}

.tvx-contact-form-inner .tvxfm-form {
  gap: 14px 16px;
}

.tvx-contact-form-inner .tvxfm-field input,
.tvx-contact-form-inner .tvxfm-field select,
.tvx-contact-form-inner .tvxfm-field textarea {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.tvx-contact-form-inner .tvxfm-field input:focus,
.tvx-contact-form-inner .tvxfm-field select:focus,
.tvx-contact-form-inner .tvxfm-field textarea:focus {
  outline: none !important;
  background-color: rgba(143, 228, 255, 0.06) !important;
  border-color: rgba(143, 228, 255, 0.7) !important;
  box-shadow: 0 0 0 1px rgba(143, 228, 255, 0.2), 0 0 18px rgba(143, 228, 255, 0.25) !important;
}

/* --- SUBMIT BUTTON – stejný jazyk jako .tvx-btn-primary --- */
.tvx-contact-form-inner button,
.tvx-contact-form-inner input[type="submit"] {
  appearance: none;
  border: 0 !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 36px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #061526 !important;
  background: linear-gradient(135deg, #fff 0%, #bfe7ff 100%) !important;
  box-shadow: 0 16px 40px rgba(80,180,255,.22);
  transition: transform .25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow .25s cubic-bezier(0.25, 1, 0.5, 1), background-color .25s ease, border-color .25s ease, color .25s ease;
}

.tvx-contact-form-inner button:hover,
.tvx-contact-form-inner input[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  color: #061526 !important;
  background: #ffffff !important;
  box-shadow:
    0 20px 48px rgba(80,180,255,.30),
    0 0 20px rgba(255, 255, 255, 0.6),
    0 0 40px rgba(255, 255, 255, 0.3) !important;
}

.tvx-contact-form-inner button:focus,
.tvx-contact-form-inner button:active,
.tvx-contact-form-inner button:visited,
.tvx-contact-form-inner input[type="submit"]:focus,
.tvx-contact-form-inner input[type="submit"]:active,
.tvx-contact-form-inner input[type="submit"]:visited {
  color: #061526 !important;
  background: linear-gradient(135deg, #fff 0%, #bfe7ff 100%) !important;
  box-shadow: 0 16px 40px rgba(80,180,255,.22) !important;
  outline: none !important;
}

/* MOBILNÍ RESPONSIVNÍ VYROVNÁNÍ PRO KONTAKT */
@media (max-width: 900px) {
  .tvx-contact {
    padding: 80px 18px;
  }

  .tvx-contact-card {
    padding: 34px 20px;
    border-radius: 30px;
  }

  .tvx-contact-top > h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .tvx-contact-top > p {
    font-size: 16px;
  }

  .tvx-contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tvx-contact-info {
    width: 100%;
  }

  .tvx-form-toggle {
    width: 100%;
  }

  .tvx-contact-form-inner button,
  .tvx-contact-form-inner input[type="submit"] {
    width: 100% !important;
  }

  .tvx-contact-card.is-form-open .tvx-form-toggle {
    background: rgba(24, 230, 193, 0.15) !important;
    border-color: rgba(24, 230, 193, 0.6) !important;
    color: #18e6c1 !important;
  }

  .tvx-contact-card.is-form-open .tvx-contact-form-shell {
    margin-top: 30px;
  }

  .tvx-contact-form-inner .tvxfm-card {
    padding: 22px;
    border-radius: 24px;
  }
}

/* =========================================================
   FORM THANK YOU MODAL
   ========================================================= */

.tvx-thankyou-modal {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(2, 8, 18, .58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity .32s ease, visibility .32s ease;
}

.tvx-thankyou-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tvx-thankyou-box {
  width: min(480px, 100%);
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(0,190,255,.18), transparent 36%),
    linear-gradient(135deg, rgba(15, 33, 56, .92), rgba(5, 13, 25, .92));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  color: #ffffff;
  transform: translateY(18px) scale(.96);
  transition: transform .38s cubic-bezier(.22, 1, .36, 1);
}

.tvx-thankyou-modal.is-visible .tvx-thankyou-box {
  transform: translateY(0) scale(1);
}

.tvx-thankyou-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 24px;
}

.tvx-thankyou-box h3 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: #ffffff;
}

.tvx-thankyou-box p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
}

.tvx-thankyou-close {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  color: #06111f;
  background: #ffffff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.tvx-thankyou-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.26);
}

/* =========================================================
   MODERNÍ FOOTER S UPRAVENÝM LOGEM
   ========================================================= */

.tvx-footer {
  width: 100%;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tvx-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Tady se děje to kouzlo s logem */
.tvx-footer-brand img {
  height: 30px;
  filter: brightness(0) invert(1) opacity(0.7); /* Převede černé logo na bílé s průhledností */
  transition: 0.3s ease;
}

.tvx-footer-brand p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tvx-footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

/* Pilly ve footeru */
.tvx-footer-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tvx-footer-nav a {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.05); /* Jemné pozadí */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px; /* Vytvoří tvar pillu */
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tvx-footer-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

@media (max-width: 760px) {
  .tvx-footer {
    margin-top: 70px;
    padding: 24px 18px 20px;
    border-radius: 28px;
  }

  .tvx-footer-brand img {
    height: 30px;
  }

  .tvx-footer-copy {
    font-size: 13px;
  }

  .tvx-footer-nav a {
    padding: 9px 13px;
    font-size: 12px;
  }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes tvxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes tvxPulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.14); opacity: .9; }
}

@keyframes tvxRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes tvxAmbientGlow {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  }
  50% {
    border-color: rgba(143, 228, 255, 0.65);
    box-shadow: 
      0 26px 80px rgba(0, 0, 0, 0.28),
      0 0 25px rgba(143, 228, 255, 0.22),
      0 0 10px rgba(143, 228, 255, 0.15);
  }
}

@keyframes tvxMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 820px) {
  .tvx-hero {
    grid-template-columns: 1.05fr .95fr;
    padding: 120px 44px 70px;
  }

  .tvx-section,
  .tvx-media,
  .tvx-about,
  .tvx-portfolio,
  .tvx-contact {
    padding: 72px 44px;
  }

  .tvx-trust {
    grid-template-columns: repeat(3, 1fr);
    padding-left: 44px;
    padding-right: 44px;
  }

  .tvx-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .tvx-logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .tvx-about-card,
  .tvx-contact-card {
    padding: 54px;
  }
}

/* =========================================================
   MOBILE & TABLET REZIM (OD 819px NÍŽE)
   ========================================================= */

@media (max-width: 819px) {

  /* na mobilu je menu fullscreen (position:fixed) - transform na headeru
     by mu založil vlastní containing block a "fixed" by se pak počítalo
     vůči headeru, ne vůči celé obrazovce. Proto tu header centrujeme
     bez transformu (left/right + margin auto). */
  .tvx-header {
    top: 36px;
    left: 0;
    right: 0;
    width: fit-content;
    max-width: calc(100% - 18px);
    margin: 0 auto;
    transform: none !important;
  }

  body.tvx-menu-open .tvx-header {
    transform: none !important;
  }

  .tvx-menu-toggle,
  .tvx-header-cta {
    height: 48px;
    font-size: 13px;
  }

  .tvx-menu-toggle {
    padding: 0 18px;
  }

  .tvx-header-cta {
    padding: 0 20px;
  }

  /* na mobilu je menu fullscreen (na PC zůstává jako malý glass panel) */
  .tvx-menu-panel {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 110px 20px 40px;
    justify-content: center;
    gap: 36px;
    border-radius: 0;
    background:
      radial-gradient(120% 90% at 50% 0%, rgba(80,150,255,.12), transparent 60%),
      linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.015)),
      rgba(4, 10, 20, .97);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    transform: none;
  }

  .tvx-header.is-open .tvx-menu-panel,
  body.tvx-menu-open .tvx-menu-panel {
    transform: none !important;
  }

  .tvx-lang-btn {
    width: 46px;
    height: 46px;
    font-size: 22px;
  }

  .tvx-menu-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tvx-menu-panel a {
    font-size: clamp(24px, 6vw, 34px);
  }

  .tvx-hero {
    padding-top: 110px !important;
    min-height: auto; 
    gap: 32px;
  }

  @media (max-width: 600px) {
    .tvx-hero {
      padding-top: 135px !important; 
    }
  }

  .tvx-hero h1 {
    font-size: 54px;
    letter-spacing: -.07em;
  }

  .tvx-actions {
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
  }

  .tvx-actions .tvx-btn {
    width: auto;             
    min-height: 46px;        
    padding: 10px 20px;      
    font-size: 14px;
    flex: 0 1 auto;          
  }

  .tvx-actions .tvx-btn-primary:active {
    transform: scale(0.97); 
    background: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 4px rgba(255, 255, 255, 0.4);
  }

  .tvx-actions .tvx-btn-glass:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.14);
    border-color: #8fe4ff; 
    box-shadow: 0 0 14px rgba(143, 228, 255, 0.35);
  }

  .tvx-floating-card {
    display: none;
  }

  .tvx-trust {
    padding-bottom: 40px;
    gap: 10px;
  }
  .tvx-trust-item {
    padding: 16px 20px;
    border-radius: 18px;
  }
  .tvx-trust-item strong {
    font-size: 32px;
  }
  .tvx-trust-item span {
    font-size: 13px;
    margin-top: 4px;
  }

  .tvx-service {
    padding: 20px;
    border-radius: 22px;
  }
  
  .tvx-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    font-size: 16px;
    border-radius: 14px;
  }
  
  .tvx-service h3 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  
  .tvx-service p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* barvy/stín teď nastavuje průběžně JS podle pozice scrollu (custom.js) */
  .tvx-service {
    transform: none !important;
    transition: none !important;
  }

  .tvx-logo-grid {
    gap: 8px;
  }
  .tvx-logo-grid div {
    min-height: 64px;
    padding: 12px;
    font-size: 13px;
    border-radius: 16px;
  }

  .tvx-section-head h2, 
  .tvx-about-card h2, 
  .tvx-contact-card h2 {
    font-size: 28px;
    line-height: 1.1;
  }

  .tvx-hero,
  .tvx-section,
  .tvx-media,
  .tvx-about,
  .tvx-portfolio,
  .tvx-contact {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .tvx-trust {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  /* --- ÚPRAVA PRO TLAČÍTKO V HEADERU NA JEDEN ŘÁDEK --- */
  .tvx-header a[href*="kontakt"],
  .tvx-header .elementor-button,
  .tvx-header div[class*="button"] a,
  .tvx-header a:last-child {
    white-space: nowrap !important; /* Zákaz lámání slova Domluvit konzultaci */
    padding: 10px 16px !important;
    font-size: 13px !important;
    width: auto !important;
  }

  .tvx-header .elementor-container,
  .tvx-header [class*="container"],
  .tvx-header [class*="wrapper"] {
    max-width: 90% !important;
    gap: 8px !important;
  }
}
