/* IT-BALON.CZ – HERO SLIDER v214
   Čistá verze podle schválené reference:
   full-width background + HTML texty/CTA/tabs.
   Opravy: menší nadpisy, lepší rozložení textu, no-repeat background,
   vyčištěný spodní grafický podklad bez starých buněk.
*/

.itb214-slider,
.itb214-slider * {
  box-sizing: border-box;
}

/* Header */
@media (min-width: 901px) {
  .site-header,
  header.site-header {
    background: rgba(255,255,255,.97) !important;
    backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid #d8e7f9 !important;
    box-shadow: 0 1px 0 rgba(15,23,42,.04) !important;
  }

  .site-header .header-inner,
  header.site-header .header-inner {
    height: 70px !important;
  }

  .site-header .brand-image,
  header.site-header .brand-image {
    min-width: 255px !important;
  }

  .site-header .brand-image img,
  header.site-header .brand-image img {
    height: 44px !important;
    max-height: 44px !important;
    width: auto !important;
  }

  .site-header .main-nav,
  header.site-header .main-nav {
    gap: 24px !important;
    font-size: 14px !important;
    font-weight: 760 !important;
  }

  .site-header .main-nav > a,
  header.site-header .main-nav > a {
    padding: 22px 0 !important;
  }

  .site-header .nav-actions,
  header.site-header .nav-actions {
    gap: 10px !important;
    margin-left: 10px !important;
  }

  .site-header .nav-actions .btn,
  header.site-header .nav-actions .btn {
    min-height: 44px !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
  }
}

/* Desktop hero */
.itb214-slider {
  --itb214-h: clamp(580px, 41vw, 690px);
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  min-height: var(--itb214-h);
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background: #f7f9fd;
  border-top: 1px solid rgba(15,23,42,.05);
  border-bottom: 0;
  isolation: isolate;
}

.itb214-viewport {
  position: relative;
  min-height: var(--itb214-h);
}

.itb214-slide {
  position: absolute;
  inset: 0;
  min-height: var(--itb214-h);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 520ms ease, visibility 520ms ease;
  background-image: var(--bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat !important;
}

.itb214-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.985) 0%,
      rgba(255,255,255,.965) 18%,
      rgba(255,255,255,.88) 34%,
      rgba(255,255,255,.66) 48%,
      rgba(255,255,255,.30) 64%,
      rgba(255,255,255,.08) 82%,
      rgba(255,255,255,0) 100%
    );
  pointer-events: none;
}

.itb214-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 210px;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.78) 78%,
    rgba(255,255,255,.96) 100%
  );
  pointer-events: none;
}

.itb214-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.itb214-inner {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 130px), 1450px);
  min-height: var(--itb214-h);
  margin: 0 auto;
  padding: 68px 0 142px;
  display: flex;
  align-items: center;
}

.itb214-content {
  width: min(560px, 43vw);
}

.itb214-eyebrow {
  margin: 0 0 18px;
  color: var(--accent, #0b63ff);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.itb214-content h1 {
  margin: 0 0 24px;
  color: #071126;
  font-size: clamp(40px, 3.65vw, 61px);
  line-height: 1.055;
  font-weight: 900;
  letter-spacing: -0.058em;
  max-width: 720px;
}

.itb214-content h1 span {
  color: var(--accent, #0b63ff);
}

.itb214-content p {
  max-width: 520px;
  margin: 0 0 26px;
  color: #46556c;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 520;
}

.itb214-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}

.itb214-btn {
  min-height: 50px;
  padding: 0 27px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.itb214-btn:hover {
  transform: translateY(-1px);
}

.itb214-btn--primary {
  background: #0b63ff;
  border-color: #0b63ff;
  color: #fff;
}

.itb214-btn--dark {
  background: #071126;
  border-color: #071126;
  color: #fff;
}

.itb214-btn--danger {
  background: #e10600;
  border-color: #e10600;
  color: #fff;
}

.itb214-btn--secondary {
  background: rgba(255,255,255,.72);
  border-color: rgba(15,23,42,.23);
  color: #172033;
  backdrop-filter: blur(14px);
}

.itb214-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.itb214-counter {
  margin-right: 8px;
  color: #9aa6b8;
  font-size: 17px;
  font-weight: 800;
}

.itb214-counter strong {
  color: #071126;
  font-size: 23px;
}

.itb214-arrow {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(43,63,96,.25);
  background: rgba(255,255,255,.76);
  color: #0b2a66;
  font-size: 23px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  backdrop-filter: blur(12px);
}

/* Bottom tabs */
.itb214-tabs {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  transform: translateX(-50%);
  width: min(calc(100% - 130px), 1450px);
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(15,23,42,.06);
  border-radius: 18px;
  box-shadow: 0 28px 72px rgba(15,23,42,.12);
  backdrop-filter: blur(22px);
  overflow: hidden;
}

.itb214-tab {
  position: relative;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid rgba(83,101,132,.12);
  background: transparent;
  color: #53617a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 720;
  white-space: nowrap;
  cursor: pointer;
}

.itb214-tab:last-child {
  border-right: 0;
}

.itb214-tab svg {
  width: 25px;
  height: 25px;
  display: block;
  stroke-width: 1.85;
}

.itb214-tab.is-active {
  color: #0016b9;
  background: rgba(255,255,255,.82);
  font-weight: 900;
}

.itb214-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 88px;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: #0b63ff;
  transform: translateX(-50%);
}

.services-section {
  padding-top: 52px !important;
}

.metrics-strip:empty,
.section-sm.metrics-strip {
  display: none !important;
}

/* Tablet */
@media (min-width: 901px) and (max-width: 1320px) {
  .itb214-slider {
    --itb214-h: clamp(535px, 45vw, 640px);
  }

  .itb214-inner,
  .itb214-tabs {
    width: min(calc(100% - 70px), 1280px);
  }

  .itb214-content {
    width: min(500px, 47vw);
  }

  .itb214-content h1 {
    font-size: clamp(36px, 4vw, 56px);
  }

  .itb214-content p {
    max-width: 470px;
    font-size: 15.8px;
  }

  .itb214-tabs {
    min-height: 82px;
  }

  .itb214-tab {
    gap: 9px;
    font-size: 12.5px;
    padding: 0 10px;
  }

  .itb214-tab svg {
    width: 21px;
    height: 21px;
  }
}

/* Mobile header support shortcut */
.mobile-support-shortcut {
  display: none;
}

@media (max-width: 900px) {
  .site-header .header-inner {
    gap: 10px !important;
  }

  .site-header .brand-image,
  header .brand-image {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .site-header .brand-image img,
  header .brand-image img {
    max-height: 40px !important;
    width: auto !important;
  }

  .mobile-support-shortcut {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border-radius: 14px;
    border: 1px solid #d9eaff;
    background: linear-gradient(180deg,#f7fbff,#eef6ff);
    color: #0969ff;
    box-shadow: 0 8px 18px rgba(9,105,255,.08);
  }

  .mobile-support-shortcut svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke-width: 2.15;
  }

  .nav-toggle {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  .itb214-slider {
    --itb214-h: 600px;
    left: auto;
    right: auto;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: var(--itb214-h);
  }

  .itb214-viewport,
  .itb214-slide {
    min-height: var(--itb214-h);
  }

  .itb214-slide {
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat !important;
  }

  .itb214-slide::before {
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,.95) 0%,
        rgba(255,255,255,.90) 18%,
        rgba(255,255,255,.76) 42%,
        rgba(255,255,255,.45) 68%,
        rgba(255,255,255,.12) 100%
      );
  }

  .itb214-slide::after {
    height: 145px;
  }

  .itb214-inner {
    width: calc(100% - 26px);
    min-height: var(--itb214-h);
    padding: 20px 0 96px;
    align-items: flex-start;
  }

  .itb214-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .itb214-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    padding: 8px 16px;
    border: 1px solid rgba(11,99,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.68);
    font-size: 10.5px;
    letter-spacing: .15em;
  }

  .itb214-content h1 {
    max-width: 360px;
    margin: 0 auto 12px;
    font-size: clamp(27px, 7.9vw, 36px);
    line-height: 1.02;
  }

  .itb214-content p {
    max-width: 350px;
    margin: 0 auto 17px;
    font-size: 13.5px;
    line-height: 1.42;
  }

  .itb214-buttons {
    display: grid;
    gap: 9px;
    margin-bottom: 12px;
  }

  .itb214-btn {
    width: min(100%, 350px);
    min-height: 44px;
    margin: 0 auto;
    border-radius: 999px;
    font-size: 14px;
  }

  .itb214-controls {
    justify-content: center;
  }

  .itb214-tabs {
    left: 12px;
    right: 12px;
    bottom: 9px;
    width: auto;
    min-height: 86px;
    transform: none;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 17px;
  }

  .itb214-tab {
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 6px 4px;
    border-right: 1px solid rgba(83,101,132,.13);
    border-bottom: 1px solid rgba(83,101,132,.13);
    font-size: 9.5px;
  }

  .itb214-tab:nth-child(3n) {
    border-right: 0;
  }

  .itb214-tab:nth-child(n+4) {
    border-bottom: 0;
  }

  .itb214-tab svg {
    width: 16px;
    height: 16px;
  }

  .itb214-tab.is-active::after {
    width: 52px;
    height: 3px;
  }

  .services-section {
    padding-top: 46px !important;
  }
}

@media (max-width: 420px) {
  .itb214-slider {
    --itb214-h: 585px;
  }

  .itb214-content h1 {
    font-size: 28px;
  }

  .itb214-content p {
    font-size: 13px;
  }
}


/* ===== v214: finishing fixes after deployment ===== */
@media (min-width: 901px) {
  .itb214-slider { --itb214-h: clamp(565px, 39vw, 665px) !important; }
  .itb214-viewport, .itb214-slide { min-height: var(--itb214-h) !important; }
  .itb214-slide {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-color: #f8fbff !important;
  }
  .itb214-slide::before {
    background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.975) 21%, rgba(255,255,255,.90) 37%, rgba(255,255,255,.66) 51%, rgba(255,255,255,.28) 66%, rgba(255,255,255,.06) 84%, rgba(255,255,255,0) 100%) !important;
  }
  .itb214-slide::after {
    height: 250px !important;
    background: linear-gradient(180deg, rgba(248,251,255,0) 0%, rgba(248,251,255,.70) 62%, rgba(248,251,255,.98) 100%) !important;
  }
  .itb214-inner {
    width: min(calc(100% - 130px), 1450px) !important;
    padding-top: 62px !important;
    padding-bottom: 150px !important;
  }
  .itb214-content { width: min(600px, 45vw) !important; }
  .itb214-content h1 {
    font-size: clamp(36px, 3.25vw, 56px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.055em !important;
    margin-bottom: 28px !important;
    max-width: 720px !important;
  }
  .itb214-slide--video .itb214-content h1 {
    font-size: clamp(35px, 3.05vw, 52px) !important;
    line-height: 1.03 !important;
    margin-bottom: 30px !important;
    max-width: 760px !important;
  }
  .itb214-content p {
    max-width: 560px !important;
    font-size: 16.5px !important;
    line-height: 1.56 !important;
    margin-bottom: 26px !important;
  }
  .itb214-slide--video .itb214-content p {
    margin-top: 0 !important;
    max-width: 560px !important;
  }
  .itb214-buttons { margin-bottom: 26px !important; }
  .itb214-tabs {
    bottom: 30px !important;
    min-height: 88px !important;
    background: rgba(255,255,255,.94) !important;
  }
}
@media (min-width: 1500px) {
  .itb214-slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}
@media (min-width: 901px) and (max-width: 1320px) {
  .itb214-content h1 { font-size: clamp(34px, 3.65vw, 50px) !important; }
  .itb214-slide--video .itb214-content h1 { font-size: clamp(33px, 3.45vw, 48px) !important; }
}
@media (max-width: 900px) {
  .itb214-slider { --itb214-h: 585px !important; }
  .itb214-slide {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center bottom !important;
  }
  .itb214-slide::after {
    height: 180px !important;
    background: linear-gradient(180deg, rgba(248,251,255,0) 0%, rgba(248,251,255,.84) 70%, rgba(248,251,255,1) 100%) !important;
  }
  .itb214-content h1 {
    font-size: clamp(25px, 7.35vw, 33px) !important;
    line-height: 1.02 !important;
    margin-bottom: 11px !important;
  }
  .itb214-slide--video .itb214-content h1 { font-size: clamp(24px, 7.15vw, 31px) !important; }
  .itb214-content p {
    max-width: 345px !important;
    font-size: 13.2px !important;
    line-height: 1.40 !important;
    margin-bottom: 15px !important;
  }
  .itb214-inner { padding-bottom: 94px !important; }
  .itb214-tabs { background: rgba(255,255,255,.96) !important; }
}
@media (max-width: 420px) {
  .itb214-slider { --itb214-h: 570px !important; }
  .itb214-content h1 { font-size: 27px !important; }
  .itb214-slide--video .itb214-content h1 { font-size: 26px !important; }
}


/* ===== v214: 80% visual scale / méně roztahaný web =====
   Cíl: web působí cca o 20 % menší, kompaktnější a luxusnější,
   bez použití transform/zoom na celé body, aby nevznikaly mezery a horizontální scroll.
*/

@media (min-width: 901px) {
  /* Header cca 80 % předchozí vizuální velikosti */
  .site-header .header-inner,
  header.site-header .header-inner {
    height: 56px !important;
  }

  .site-header .brand-image,
  header.site-header .brand-image {
    min-width: 220px !important;
  }

  .site-header .brand-image img,
  header.site-header .brand-image img {
    height: 36px !important;
    max-height: 36px !important;
  }

  .site-header .main-nav,
  header.site-header .main-nav {
    gap: 19px !important;
    font-size: 12.6px !important;
  }

  .site-header .main-nav > a,
  header.site-header .main-nav > a {
    padding: 17px 0 !important;
  }

  .site-header .nav-actions,
  header.site-header .nav-actions {
    gap: 8px !important;
  }

  .site-header .nav-actions .btn,
  header.site-header .nav-actions .btn {
    min-height: 36px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    font-size: 12.2px !important;
  }

  /* Hero cca 80 % – full-width background zůstává přes celou šířku */
  .itb214-slider {
    --itb214-h: clamp(455px, 32.8vw, 540px) !important;
  }

  .itb214-viewport,
  .itb214-slide {
    min-height: var(--itb214-h) !important;
  }

  .itb214-slide {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .itb214-slide::before {
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,.99) 0%,
        rgba(255,255,255,.975) 21%,
        rgba(255,255,255,.90) 38%,
        rgba(255,255,255,.66) 52%,
        rgba(255,255,255,.30) 67%,
        rgba(255,255,255,.08) 84%,
        rgba(255,255,255,0) 100%
      ) !important;
  }

  .itb214-slide::after {
    height: 190px !important;
    background:
      linear-gradient(
        180deg,
        rgba(248,251,255,0) 0%,
        rgba(248,251,255,.66) 62%,
        rgba(248,251,255,.98) 100%
      ) !important;
  }

  .itb214-inner {
    width: min(calc(100% - 130px), 1160px) !important;
    min-height: var(--itb214-h) !important;
    padding: 50px 0 116px !important;
  }

  .itb214-content {
    width: min(480px, 39vw) !important;
  }

  .itb214-eyebrow {
    margin-bottom: 14px !important;
    font-size: 11px !important;
    letter-spacing: .17em !important;
  }

  .itb214-content h1 {
    max-width: 560px !important;
    font-size: clamp(31px, 2.8vw, 45px) !important;
    line-height: 1.045 !important;
    letter-spacing: -0.055em !important;
    margin-bottom: 20px !important;
  }

  .itb214-slide--video .itb214-content h1 {
    max-width: 590px !important;
    font-size: clamp(30px, 2.65vw, 42px) !important;
    margin-bottom: 22px !important;
  }

  .itb214-content p {
    max-width: 455px !important;
    font-size: 14.1px !important;
    line-height: 1.50 !important;
    margin-bottom: 20px !important;
  }

  .itb214-buttons {
    gap: 12px !important;
    margin-bottom: 20px !important;
  }

  .itb214-btn {
    min-height: 40px !important;
    padding: 0 21px !important;
    border-radius: 8px !important;
    font-size: 12.8px !important;
    gap: 10px !important;
  }

  .itb214-controls {
    gap: 8px !important;
  }

  .itb214-counter {
    margin-right: 5px !important;
    font-size: 13.5px !important;
  }

  .itb214-counter strong {
    font-size: 19px !important;
  }

  .itb214-arrow {
    width: 30px !important;
    height: 30px !important;
    font-size: 19px !important;
  }

  .itb214-tabs {
    width: min(calc(100% - 160px), 1160px) !important;
    min-height: 68px !important;
    bottom: 20px !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 54px rgba(15,23,42,.10) !important;
  }

  .itb214-tab {
    padding: 0 12px !important;
    gap: 8px !important;
    font-size: 11.4px !important;
  }

  .itb214-tab svg {
    width: 19px !important;
    height: 19px !important;
  }

  .itb214-tab.is-active::after {
    width: 64px !important;
    height: 3px !important;
  }

  /* Navazující obsah – menší container, menší typografie, menší mezery */
  .container {
    max-width: 1120px !important;
  }

  .section,
  .services-section,
  .about-section,
  .references-section,
  .cta-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  .services-section {
    padding-top: 42px !important;
  }

  .section-head,
  .section-head.compact {
    margin-bottom: 24px !important;
  }

  .section-kicker,
  .section-eyebrow {
    font-size: 12px !important;
    letter-spacing: .16em !important;
  }

  .section-head h2,
  .section-title,
  .section h2 {
    font-size: clamp(30px, 3vw, 44px) !important;
    line-height: 1.05 !important;
  }

  .section-head p,
  .section-lead,
  .section p {
    font-size: 14.6px !important;
    line-height: 1.55 !important;
  }

  .service-card,
  .feature-card,
  .reference-card,
  .card {
    border-radius: 18px !important;
  }

  .service-card,
  .feature-card {
    padding: 24px !important;
  }
}

/* Menší desktop/tablet – proporčně kompaktní, bez lámání menu */
@media (min-width: 901px) and (max-width: 1320px) {
  .itb214-slider {
    --itb214-h: clamp(430px, 35vw, 510px) !important;
  }

  .itb214-inner,
  .itb214-tabs {
    width: min(calc(100% - 70px), 1080px) !important;
  }

  .itb214-content {
    width: min(430px, 44vw) !important;
  }

  .itb214-content h1 {
    font-size: clamp(29px, 3.2vw, 40px) !important;
  }

  .itb214-slide--video .itb214-content h1 {
    font-size: clamp(28px, 3vw, 38px) !important;
  }

  .itb214-content p {
    font-size: 13.6px !important;
  }

  .itb214-tabs {
    min-height: 64px !important;
  }

  .itb214-tab {
    font-size: 10.6px !important;
    gap: 6px !important;
  }
}

/* Mobil také lehce zmenšit, ale zachovat čitelnost */
@media (max-width: 900px) {
  .itb214-slider {
    --itb214-h: 535px !important;
  }

  .itb214-viewport,
  .itb214-slide {
    min-height: var(--itb214-h) !important;
  }

  .itb214-inner {
    min-height: var(--itb214-h) !important;
    padding-top: 16px !important;
    padding-bottom: 82px !important;
  }

  .itb214-content h1 {
    font-size: clamp(23px, 6.85vw, 31px) !important;
    margin-bottom: 10px !important;
  }

  .itb214-slide--video .itb214-content h1 {
    font-size: clamp(22px, 6.65vw, 29px) !important;
  }

  .itb214-content p {
    max-width: 335px !important;
    font-size: 12.8px !important;
    line-height: 1.38 !important;
    margin-bottom: 13px !important;
  }

  .itb214-btn {
    min-height: 40px !important;
    font-size: 13px !important;
  }

  .itb214-tabs {
    min-height: 78px !important;
    bottom: 7px !important;
  }

  .itb214-tab {
    font-size: 8.7px !important;
  }

  .services-section {
    padding-top: 38px !important;
  }
}

@media (max-width: 420px) {
  .itb214-slider {
    --itb214-h: 520px !important;
  }
}

/* ===== v214: oprava spodního pruhu / jemnější spodní fade ===== */
@media (min-width: 901px) {
  .itb214-slide::after {
    height: 108px !important;
    background: linear-gradient(
      180deg,
      rgba(248,251,255,0) 0%,
      rgba(248,251,255,.12) 42%,
      rgba(248,251,255,.52) 76%,
      rgba(248,251,255,.88) 100%
    ) !important;
  }

  .itb214-inner {
    padding-bottom: 100px !important;
  }

  .itb214-tabs {
    bottom: 14px !important;
  }
}

@media (max-width: 900px) {
  .itb214-slide::after {
    height: 88px !important;
    background: linear-gradient(
      180deg,
      rgba(248,251,255,0) 0%,
      rgba(248,251,255,.14) 44%,
      rgba(248,251,255,.58) 78%,
      rgba(248,251,255,.90) 100%
    ) !important;
  }

  .itb214-inner {
    padding-bottom: 82px !important;
  }

  .itb214-tabs {
    bottom: 12px !important;
  }
}


/* ===== v214: čistá spodní část slideru bez pruhu ===== */
.itb214-slide {
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* Pruh dělal plošný pseudo-element přes celý hero; teď je odstraněný.
   Čitelnost dole řeší jen vlastní bílý tabbar a nově přeformátovaný podklad. */
.itb214-slide::after {
  display: none !important;
  content: none !important;
  background: none !important;
  height: 0 !important;
}

@media (min-width: 901px) {
  .itb214-slider {
    --itb214-h: clamp(455px, 32.8vw, 540px) !important;
    background: #f8fbff !important;
  }

  .itb214-inner {
    padding-bottom: 102px !important;
  }

  .itb214-tabs {
    bottom: 14px !important;
    background: rgba(255,255,255,.955) !important;
    box-shadow: 0 18px 48px rgba(15,23,42,.105) !important;
  }
}

@media (max-width: 900px) {
  .itb214-slider {
    --itb214-h: 570px !important;
  }

  .itb214-slide {
    background-position: center bottom !important;
  }

  .itb214-inner {
    padding-bottom: 84px !important;
  }

  .itb214-tabs {
    bottom: 10px !important;
    background: rgba(255,255,255,.965) !important;
  }
}

@media (max-width: 420px) {
  .itb214-slider {
    --itb214-h: 560px !important;
  }
}


/* ===== v214: finální dotažení proporcí po vyčištění spodku ===== */

/* Desktop: trochu nižší hero, kompaktnější tabbar a menší mezera pod sliderem */
@media (min-width: 901px) {
  .itb214-slider {
    --itb214-h: clamp(430px, 31vw, 515px) !important;
  }

  .itb214-viewport,
  .itb214-slide {
    min-height: var(--itb214-h) !important;
  }

  .itb214-inner {
    width: min(calc(100% - 150px), 1120px) !important;
    min-height: var(--itb214-h) !important;
    padding-top: 44px !important;
    padding-bottom: 92px !important;
  }

  .itb214-content {
    width: min(455px, 38vw) !important;
  }

  .itb214-eyebrow {
    margin-bottom: 12px !important;
    font-size: 10.5px !important;
  }

  .itb214-content h1 {
    font-size: clamp(29px, 2.55vw, 41px) !important;
    line-height: 1.045 !important;
    margin-bottom: 17px !important;
  }

  .itb214-slide--video .itb214-content h1 {
    font-size: clamp(28px, 2.42vw, 39px) !important;
    margin-bottom: 18px !important;
  }

  .itb214-content p {
    max-width: 430px !important;
    font-size: 13.6px !important;
    line-height: 1.48 !important;
    margin-bottom: 17px !important;
  }

  .itb214-buttons {
    gap: 10px !important;
    margin-bottom: 16px !important;
  }

  .itb214-btn {
    min-height: 38px !important;
    padding: 0 18px !important;
    font-size: 12.4px !important;
  }

  .itb214-counter {
    font-size: 12.5px !important;
  }

  .itb214-counter strong {
    font-size: 18px !important;
  }

  .itb214-arrow {
    width: 29px !important;
    height: 29px !important;
    font-size: 18px !important;
  }

  .itb214-tabs {
    width: min(calc(100% - 180px), 1120px) !important;
    min-height: 62px !important;
    bottom: 12px !important;
    border-radius: 15px !important;
  }

  .itb214-tab {
    padding: 0 10px !important;
    gap: 7px !important;
    font-size: 10.8px !important;
  }

  .itb214-tab svg {
    width: 17px !important;
    height: 17px !important;
  }

  .itb214-tab.is-active::after {
    width: 58px !important;
    height: 3px !important;
  }

  .services-section {
    padding-top: 34px !important;
  }

  .section,
  .about-section,
  .references-section,
  .cta-section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
}

/* Střední desktop – hlídat, aby se layout nerozjel */
@media (min-width: 901px) and (max-width: 1320px) {
  .itb214-inner,
  .itb214-tabs {
    width: min(calc(100% - 58px), 1120px) !important;
  }

  .itb214-content {
    width: min(430px, 44vw) !important;
  }
}

/* Mobile: kratší hero a čistší spodní tabbar */
@media (max-width: 900px) {
  .itb214-slider {
    --itb214-h: 540px !important;
  }

  .itb214-viewport,
  .itb214-slide {
    min-height: var(--itb214-h) !important;
  }

  .itb214-inner {
    min-height: var(--itb214-h) !important;
    padding-top: 14px !important;
    padding-bottom: 74px !important;
  }

  .itb214-eyebrow {
    margin-bottom: 8px !important;
    padding: 7px 14px !important;
    font-size: 9.8px !important;
  }

  .itb214-content h1 {
    font-size: clamp(24px, 7vw, 31px) !important;
    line-height: 1.02 !important;
    margin-bottom: 10px !important;
  }

  .itb214-slide--video .itb214-content h1 {
    font-size: clamp(23px, 6.75vw, 29px) !important;
  }

  .itb214-content p {
    max-width: 340px !important;
    font-size: 12.7px !important;
    line-height: 1.38 !important;
    margin-bottom: 12px !important;
  }

  .itb214-buttons {
    gap: 7px !important;
    margin-bottom: 9px !important;
  }

  .itb214-btn {
    min-height: 40px !important;
    font-size: 13px !important;
  }

  .itb214-tabs {
    min-height: 80px !important;
    bottom: 8px !important;
    border-radius: 16px !important;
  }

  .itb214-tab {
    font-size: 8.8px !important;
    padding: 5px 3px !important;
  }

  .itb214-tab svg {
    width: 14px !important;
    height: 14px !important;
  }

  .services-section {
    padding-top: 38px !important;
  }
}

@media (max-width: 420px) {
  .itb214-slider {
    --itb214-h: 525px !important;
  }

  .itb214-content h1 {
    font-size: 26px !important;
  }

  .itb214-slide--video .itb214-content h1 {
    font-size: 25px !important;
  }
}


/* Slide 2 – jemné doladění podle schválené reference */
@media (min-width: 901px) {
  .itb214-slide--video .itb214-inner {
    padding-top: 64px;
    padding-bottom: 132px;
  }

  .itb214-slide--video .itb214-content {
    width: min(700px, 47vw);
  }

  .itb214-slide--video .itb214-content h1 {
    max-width: 760px;
    font-size: clamp(39px, 3.45vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.055em;
  }

  .itb214-slide--video .itb214-content p {
    max-width: 600px;
  }
}


/* ===== v217: jemnější desktop overlay + větší řádkování na mobilu ===== */
@media (min-width: 901px) {
  .itb214-slide::before {
    background: linear-gradient(
      90deg,
      rgba(255,255,255,.99) 0%,
      rgba(255,255,255,.972) 20%,
      rgba(255,255,255,.87) 35%,
      rgba(255,255,255,.53) 50%,
      rgba(255,255,255,.17) 66%,
      rgba(255,255,255,.03) 83%,
      rgba(255,255,255,0) 100%
    ) !important;
  }
}

@media (max-width: 900px) {
  .itb214-content h1 {
    line-height: 1.14 !important;
    margin-bottom: 12px !important;
  }

  .itb214-slide--video .itb214-content h1 {
    line-height: 1.14 !important;
  }

  .itb214-content p {
    line-height: 1.58 !important;
    margin-bottom: 14px !important;
  }
}

@media (max-width: 420px) {
  .itb214-content h1 {
    line-height: 1.13 !important;
  }

  .itb214-slide--video .itb214-content h1 {
    line-height: 1.13 !important;
  }

  .itb214-content p {
    line-height: 1.56 !important;
  }
}


/* ===== v219: bez překrytí vpravo + větší řádkování na mobilu ===== */
@media (min-width: 901px) {
  .itb214-slide::before {
    background: linear-gradient(
      90deg,
      rgba(255,255,255,.97) 0%,
      rgba(255,255,255,.94) 16%,
      rgba(255,255,255,.82) 28%,
      rgba(255,255,255,.52) 40%,
      rgba(255,255,255,.20) 49%,
      rgba(255,255,255,.05) 56%,
      rgba(255,255,255,0) 62%,
      rgba(255,255,255,0) 100%
    ) !important;
  }
}

@media (max-width: 900px) {
  .itb214-slide::before {
    background: linear-gradient(
      90deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.88) 24%,
      rgba(255,255,255,.64) 42%,
      rgba(255,255,255,.28) 56%,
      rgba(255,255,255,.08) 68%,
      rgba(255,255,255,0) 78%,
      rgba(255,255,255,0) 100%
    ) !important;
  }

  .itb214-content h1 {
    line-height: 1.26 !important;
    margin-bottom: 18px !important;
  }

  .itb214-slide--video .itb214-content h1 {
    line-height: 1.26 !important;
  }

  .itb214-content p {
    line-height: 1.72 !important;
    margin-bottom: 22px !important;
  }
}

@media (max-width: 420px) {
  .itb214-content h1 {
    line-height: 1.28 !important;
    margin-bottom: 18px !important;
  }

  .itb214-slide--video .itb214-content h1 {
    line-height: 1.28 !important;
  }

  .itb214-content p {
    line-height: 1.76 !important;
    margin-bottom: 22px !important;
  }
}
