:root {
      --bg: #f6f8f7;
      --surface: #ffffff;
      --surface-2: #edf3f0;
      --text: #14211b;
      --muted: #627069;
      --line: #dce5e0;
      --green: #27b36a;
      --green-dark: #16874b;
      --dark: #0f1720;
      --dark-2: #17232d;
      --white: #ffffff;
      --shadow: 0 18px 50px rgba(16, 33, 25, 0.10);
      --radius: 22px;
      --container: 1180px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    body.menu-open {
      overflow: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
    }

    button,
    input,
    textarea,
    select {
      font: inherit;
    }

    .container {
      width: min(calc(100% - 40px), var(--container));
      margin-inline: auto;
    }

    .section {
      padding: 100px 0;
    }

    .section--dark {
      background:
        radial-gradient(
          circle at 12% 10%,
          rgba(39, 179, 106, 0.16),
          transparent 32%
        ),
        linear-gradient(145deg, var(--dark), #111d26 70%);
      color: var(--white);
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px;
      color: var(--green-dark);
      font-weight: 800;
      font-size: 0.82rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 34px;
      height: 2px;
      background: currentColor;
      border-radius: 99px;
    }

    .section--dark .eyebrow {
      color: #71e2a8;
    }

    .section-title {
      max-width: 760px;
      font-size: clamp(2rem, 5vw, 3.7rem);
      line-height: 1.05;
      letter-spacing: -0.04em;
      margin-bottom: 20px;
    }

    .section-intro {
      max-width: 720px;
      color: var(--muted);
      font-size: 1.08rem;
    }

    .section--dark .section-intro {
      color: #b8c4bd;
    }

    .header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 1000;
      transition: 0.3s ease;
    }

    .header.scrolled {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(220, 229, 224, 0.9);
      box-shadow: 0 10px 30px rgba(16, 33, 25, 0.05);
    }

    .nav {
      min-height: 84px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 1.25rem;
      font-weight: 900;
      letter-spacing: -0.03em;
      z-index: 1002;
    }

    .logo-mark {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      background: var(--green);
      color: var(--white);
      box-shadow: 0 10px 24px rgba(39, 179, 106, 0.26);
    }

    .logo-mark svg {
      width: 24px;
      height: 24px;
    }

    .logo-text span {
      color: var(--green);
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 30px;
      list-style: none;
      font-weight: 700;
      font-size: 0.95rem;
    }

    .nav-links a {
      position: relative;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 0;
      height: 2px;
      background: var(--green);
      transition: width 0.25s ease;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 20px;
      border-radius: 14px;
      background: var(--dark);
      color: var(--white);
      font-weight: 800;
      transition: 0.25s ease;
    }

    .nav-cta:hover {
      background: var(--green-dark);
      transform: translateY(-2px);
    }

    .menu-btn {
      display: none;
      width: 46px;
      height: 46px;
      border: 0;
      border-radius: 14px;
      background: var(--surface);
      box-shadow: var(--shadow);
      cursor: pointer;
      z-index: 1002;
    }

    .menu-btn span {
      display: block;
      width: 20px;
      height: 2px;
      margin: 5px auto;
      background: var(--text);
      transition: 0.25s ease;
    }

    .menu-btn.active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .menu-btn.active span:nth-child(2) {
      opacity: 0;
    }

    .menu-btn.active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 140px 0 80px;
      background:
        radial-gradient(
          circle at 82% 18%,
          rgba(39, 179, 106, 0.18),
          transparent 28%
        ),
        linear-gradient(180deg, #ffffff 0%, #f4f8f6 100%);
      position: relative;
      overflow: hidden;
    }

    .hero::after {
      content: "";
      position: absolute;
      right: -170px;
      bottom: -180px;
      width: 520px;
      height: 520px;
      border: 1px solid rgba(39, 179, 106, 0.18);
      border-radius: 50%;
      box-shadow:
        0 0 0 70px rgba(39, 179, 106, 0.035),
        0 0 0 140px rgba(39, 179, 106, 0.025);
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1.12fr 0.88fr;
      align-items: center;
      gap: 70px;
    }

    .hero h1 {
      max-width: 760px;
      font-size: clamp(3.2rem, 7.4vw, 6.4rem);
      line-height: 0.96;
      letter-spacing: -0.065em;
      margin-bottom: 28px;
    }

    .hero h1 span {
      color: var(--green);
    }

    .hero-lead {
      max-width: 650px;
      color: var(--muted);
      font-size: clamp(1.1rem, 2vw, 1.32rem);
      margin-bottom: 38px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-bottom: 42px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 56px;
      padding: 0 24px;
      border: 1px solid transparent;
      border-radius: 15px;
      font-weight: 850;
      cursor: pointer;
      transition: 0.25s ease;
    }

    .btn-primary {
      background: var(--green);
      color: var(--white);
      box-shadow: 0 14px 32px rgba(39, 179, 106, 0.28);
    }

    .btn-primary:hover {
      background: var(--green-dark);
      transform: translateY(-3px);
    }

    .btn-secondary {
      background: var(--surface);
      border-color: var(--line);
    }

    .btn-secondary:hover {
      border-color: var(--green);
      color: var(--green-dark);
      transform: translateY(-3px);
    }

    .hero-points {
      display: flex;
      flex-wrap: wrap;
      gap: 22px;
      color: #46544d;
      font-weight: 700;
      font-size: 0.94rem;
    }

    .hero-points span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .hero-points span::before {
      content: "✓";
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: rgba(39, 179, 106, 0.13);
      color: var(--green-dark);
      font-weight: 900;
    }

    .hero-card {
      position: relative;
      padding: 34px;
      border-radius: 28px;
      background: linear-gradient(155deg, var(--dark), #192832);
      color: var(--white);
      box-shadow: 0 35px 80px rgba(15, 23, 32, 0.28);
      overflow: hidden;
    }

    .hero-card::before {
      content: "";
      position: absolute;
      width: 230px;
      height: 230px;
      top: -90px;
      right: -70px;
      border-radius: 50%;
      background: rgba(39, 179, 106, 0.2);
      filter: blur(3px);
    }

    .hero-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 48px;
    }

    .status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #bcebd1;
      font-size: 0.86rem;
      font-weight: 750;
    }

    .status::before {
      content: "";
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #43d988;
      box-shadow: 0 0 0 7px rgba(67, 217, 136, 0.12);
    }

    .hero-card h2 {
      max-width: 420px;
      font-size: clamp(1.8rem, 4vw, 2.7rem);
      line-height: 1.08;
      letter-spacing: -0.04em;
      margin-bottom: 16px;
    }

    .hero-card p {
      color: #b9c6bf;
      margin-bottom: 34px;
    }

    .mini-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    .mini-box {
      min-height: 112px;
      padding: 18px;
      border: 1px solid rgba(255, 255, 255, 0.10);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.055);
      backdrop-filter: blur(10px);
    }

    .mini-box strong {
      display: block;
      font-size: 1.1rem;
      margin-bottom: 5px;
    }

    .mini-box small {
      color: #a9b7b0;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      margin-top: 52px;
    }

    .service-card {
      min-height: 285px;
      padding: 30px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: 0 12px 35px rgba(16, 33, 25, 0.045);
      transition: 0.28s ease;
    }

    .service-card:hover {
      transform: translateY(-7px);
      border-color: rgba(39, 179, 106, 0.55);
      box-shadow: var(--shadow);
    }

    .icon {
      width: 54px;
      height: 54px;
      display: grid;
      place-items: center;
      border-radius: 16px;
      background: rgba(39, 179, 106, 0.12);
      color: var(--green-dark);
      margin-bottom: 24px;
    }

    .icon svg {
      width: 27px;
      height: 27px;
    }

    .service-card h3 {
      font-size: 1.28rem;
      margin-bottom: 12px;
      letter-spacing: -0.025em;
    }

    .service-card p {
      color: var(--muted);
    }

    .split {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      align-items: center;
      gap: 80px;
    }

    .visual-panel {
      min-height: 520px;
      padding: 35px;
      border-radius: 30px;
      background:
        linear-gradient(rgba(15, 23, 32, 0.06) 1px, transparent 1px),
        linear-gradient(
          90deg,
          rgba(15, 23, 32, 0.06) 1px,
          transparent 1px
        ),
        linear-gradient(155deg, #eaf4ef, #ffffff);
      background-size: 34px 34px, 34px 34px, auto;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
    }

    .visual-core {
      position: absolute;
      inset: 50% auto auto 50%;
      transform: translate(-50%, -50%);
      width: 180px;
      height: 180px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--dark);
      color: var(--white);
      box-shadow:
        0 0 0 24px rgba(39, 179, 106, 0.10),
        0 0 0 48px rgba(39, 179, 106, 0.055),
        var(--shadow);
    }

    .visual-core strong {
      font-size: 2.15rem;
      letter-spacing: -0.06em;
    }

    .float-tag {
      position: absolute;
      min-width: 155px;
      padding: 14px 17px;
      border-radius: 15px;
      background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      font-weight: 800;
      font-size: 0.9rem;
    }

    .float-tag:nth-child(2) {
      top: 55px;
      left: 35px;
    }

    .float-tag:nth-child(3) {
      top: 75px;
      right: 25px;
    }

    .float-tag:nth-child(4) {
      bottom: 70px;
      left: 35px;
    }

    .float-tag:nth-child(5) {
      bottom: 50px;
      right: 28px;
    }

    .feature-list {
      display: grid;
      gap: 16px;
      margin-top: 32px;
    }

    .feature-item {
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 15px;
      align-items: start;
      padding: 18px;
      border-radius: 16px;
      background: var(--surface);
      border: 1px solid var(--line);
    }

    .feature-number {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      background: var(--dark);
      color: var(--white);
      font-weight: 900;
    }

    .feature-item h3 {
      margin-bottom: 3px;
      font-size: 1.03rem;
    }

    .feature-item p {
      color: var(--muted);
      font-size: 0.95rem;
    }

    .audience-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-top: 48px;
    }

    .audience-card {
      padding: 28px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.10);
    }

    .audience-card span {
      display: block;
      color: #70e0a6;
      font-size: 0.82rem;
      font-weight: 900;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    .audience-card h3 {
      margin-bottom: 9px;
      font-size: 1.22rem;
    }

    .audience-card p {
      color: #b8c4bd;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-top: 50px;
    }

    .process-card {
      padding: 28px;
      border-radius: 20px;
      background: var(--surface);
      border: 1px solid var(--line);
    }

    .process-card b {
      display: inline-flex;
      width: 38px;
      height: 38px;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      border-radius: 12px;
      background: rgba(39, 179, 106, 0.12);
      color: var(--green-dark);
    }

    .process-card h3 {
      margin-bottom: 9px;
      font-size: 1.13rem;
    }

    .process-card p {
      color: var(--muted);
      font-size: 0.96rem;
    }

    .contact-wrap {
      display: grid;
      grid-template-columns: 0.88fr 1.12fr;
      gap: 70px;
      align-items: start;
    }

    .contact-info,
    .contact-form {
      min-width: 0;
    }

    .contact-list {
      display: grid;
      gap: 14px;
      margin-top: 32px;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 18px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.11);
    }

    .contact-item svg {
      flex: 0 0 auto;
      width: 23px;
      height: 23px;
      color: #71e2a8;
    }

    .contact-item small {
      display: block;
      color: #9fb0a7;
      margin-bottom: 2px;
    }

    .contact-item strong {
      word-break: break-word;
    }

    .messengers {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }

    .messenger-btn {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 15px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.13);
      font-weight: 800;
      font-size: 0.9rem;
    }

    .messenger-btn:hover {
      background: rgba(39, 179, 106, 0.22);
    }

    .contact-form {
      align-self: start;
      padding: 34px;
      border-radius: 26px;
      background: var(--surface);
      color: var(--text);
      box-shadow: 0 25px 70px rgba(0, 0, 0, 0.24);
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .field {
      display: grid;
      gap: 8px;
      margin-bottom: 16px;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    .field label {
      font-weight: 800;
      font-size: 0.9rem;
    }

    .field input,
    .field select,
    .field textarea {
      width: 100%;
      border: 1px solid var(--line);
      border-radius: 13px;
      background: #fbfcfb;
      color: var(--text);
      padding: 14px 15px;
      outline: none;
      transition: 0.2s ease;
    }

    .field textarea {
      min-height: 145px;
      resize: vertical;
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      border-color: var(--green);
      box-shadow: 0 0 0 4px rgba(39, 179, 106, 0.1);
    }

    .form-note {
      color: var(--muted);
      font-size: 0.82rem;
      margin-top: 12px;
    }

    .hp-field {
      position: absolute !important;
      left: -9999px !important;
      width: 1px !important;
      height: 1px !important;
      overflow: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }

    .form-status--success {
      color: var(--green-dark);
      font-weight: 800;
    }

    .form-status--error {
      color: #b42318;
      font-weight: 800;
    }

    .btn[disabled] {
      opacity: 0.65;
      cursor: wait;
      transform: none !important;
    }

    .footer {
      padding: 30px 0;
      background: #0a1117;
      color: #9aa8a1;
      border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      font-size: 0.9rem;
    }

    .footer-company {
      margin-top: 4px;
      color: #728079;
      font-size: 0.82rem;
    }

    .footer a:hover {
      color: var(--white);
    }

    .whatsapp-float {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 900;
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: #25d366;
      color: #fff;
      box-shadow: 0 15px 35px rgba(37, 211, 102, 0.34);
      transition: 0.25s ease;
    }

    .whatsapp-float:hover {
      transform: translateY(-4px) scale(1.03);
    }

    .whatsapp-float svg {
      width: 29px;
      height: 29px;
    }

    @media (max-width: 980px) {
      .menu-btn {
        display: block;
      }

      .nav-cta {
        display: none;
      }

      .nav-links {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        background: rgba(255, 255, 255, 0.98);
        transform: translateX(100%);
        transition: 0.32s ease;
        font-size: 1.35rem;
      }

      .nav-links.active {
        transform: translateX(0);
      }

      .hero-grid,
      .split,
      .contact-wrap {
        grid-template-columns: 1fr;
      }

      .hero-grid {
        gap: 45px;
      }

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

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

      .split {
        gap: 45px;
      }

      .contact-wrap {
        gap: 45px;
      }
    }

    @media (max-width: 680px) {
      .container {
        width: min(calc(100% - 28px), var(--container));
      }

      .section {
        padding: 75px 0;
      }

      .nav {
        min-height: 72px;
      }

      .hero {
        padding-top: 115px;
      }

      .hero h1 {
        font-size: clamp(3rem, 15vw, 4.4rem);
      }

      .hero-actions,
      .btn {
        width: 100%;
      }

      .hero-points {
        flex-direction: column;
        gap: 12px;
      }

      .hero-card {
        padding: 25px;
      }

      .mini-grid,
      .services-grid,
      .audience-grid,
      .process-grid,
      .form-grid {
        grid-template-columns: 1fr;
      }

      .visual-panel {
        min-height: 430px;
      }

      .visual-core {
        width: 145px;
        height: 145px;
      }

      .float-tag {
        min-width: 125px;
        padding: 11px 13px;
        font-size: 0.78rem;
      }

      .float-tag:nth-child(2) {
        top: 30px;
        left: 18px;
      }

      .float-tag:nth-child(3) {
        top: 55px;
        right: 14px;
      }

      .float-tag:nth-child(4) {
        bottom: 55px;
        left: 18px;
      }

      .float-tag:nth-child(5) {
        bottom: 30px;
        right: 14px;
      }

      .contact-form {
        padding: 24px;
      }

      .footer-inner {
        flex-direction: column;
        align-items: flex-start;
      }
    }
  
    .contact-header { max-width: 820px; margin: 0 auto 54px; text-align: left; }
    .contact-header .eyebrow { justify-content: flex-start; }
    .contact-header .section-title, .contact-header .section-intro { margin-inline: 0; }
    .contact-columns { display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: start; }
    .contact-columns .contact-list { margin-top: 0; }
    .turnstile-wrap { min-height: 70px; margin: 2px 0 18px; display: flex; align-items: center; }
    .privacy-note { margin-top: 14px; color: var(--muted); font-size: .82rem; }
    .required-mark { color: #b42318; }
    @media (max-width: 980px) { .contact-columns { grid-template-columns: 1fr; gap: 45px; } }

/* Zarovnání pouze hlavičky kontaktní sekce */
.contact-header {
    max-width: none;
    margin: 0 0 54px;
    text-align: left;
}

.contact-header .eyebrow {
    justify-content: flex-start;
}

.contact-header .section-title,
.contact-header .section-intro {
    margin-inline: 0;
}

/* Vycentrování názvu KaT Systems uvnitř centrálního kruhu */
.visual-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

.visual-core > * {
    margin: 0;
    text-align: center;
    line-height: 0.95;
}

/* --------------------------------------------------
   Rozdělení sekce zákazníků a realizací
--------------------------------------------------- */

.services-divider{
    margin:90px 0 50px;
    max-width:760px;
}

.services-divider::before{
    content:"";
    display:block;
    width:120px;
    height:2px;
    margin:0 0 40px;
    background:linear-gradient(90deg,#25c26e,transparent);
}

.services-divider .eyebrow{
    display:inline-block;
    margin-bottom:12px;
}

.services-divider .section-title{
    margin-bottom:18px;
    text-align:left;
}

.services-divider .section-intro{
    margin:0;
    max-width:760px;
    text-align:left;
}

.services-divider::before{
    content:"";
    display:block;
    width:120px;
    height:2px;
    margin:0 auto 40px;
    background:linear-gradient(90deg,transparent,#25c26e,transparent);
}

.services-divider .eyebrow{
    margin-bottom:12px;
}

.services-divider .section-title{
    margin-bottom:18px;
}

.services-divider .section-intro{
    max-width:760px;
    margin:0 auto;
}


/* ==================================================
   PROCESS TIMELINE
================================================== */

.process-grid{
    position:relative;
}

.process-card{
    position:relative;
}

@media (min-width:1024px){

    .process-card:not(:last-child)::after{
        content:"";
        position:absolute;
        top:46px;
        right:-54px;
        width:70px;
        height:2px;
        background:#25c26e;
        opacity:.85;
    }

    .process-card:not(:last-child)::before{
        content:"";
        position:absolute;
        top:41px;
        right:-54px;
        width:12px;
        height:12px;

        border-top:2px solid #25c26e;
        border-right:2px solid #25c26e;

        transform:translateX(58px) rotate(45deg);
    }

}



/* ==================================================
   JAK PRACUJEME – MODERNÍ SPOJOVACÍ ŠIPKY
================================================== */

@media (min-width: 1101px) {

    .process-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 56px;
        overflow: visible;
    }

    .process-card {
        position: relative;
        overflow: visible;
    }

    /* Odstranění předchozího řešení */
    .process-card:not(:last-child)::before {
        content: none !important;
    }

    /* Jedna čistá šipka mezi kartami */
    .process-card:not(:last-child)::after {
        content: "" !important;
        position: absolute !important;

        top: 62px !important;
        right: -45px !important;

        width: 34px !important;
        height: 14px !important;

        background: linear-gradient(
            90deg,
            rgba(34, 197, 94, .45) 0%,
            #22c55e 70%,
            #16a34a 100%
        ) !important;

        clip-path: polygon(
            0 43%,
            70% 43%,
            70% 8%,
            100% 50%,
            70% 92%,
            70% 57%,
            0 57%
        );

        opacity: 1 !important;
        z-index: 5 !important;
        pointer-events: none;

        filter: drop-shadow(0 2px 4px rgba(34, 197, 94, .22));
        transition:
            transform .25s ease,
            filter .25s ease;
    }

    .process-card:hover:not(:last-child)::after {
        transform: translateX(4px);
        filter: drop-shadow(0 3px 7px rgba(34, 197, 94, .38));
    }
}


/* Tablet a mobil – bez šipek */
@media (max-width: 1100px) {

    .process-card::before,
    .process-card::after {
        content: none !important;
        display: none !important;
    }
}

/* ===== KAT VISUAL CONNECTED START ===== */

/*
 * Propojené schéma elektro + IT
 */

.visual-panel--connected {
  isolation: isolate;
  min-height: 520px;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(39, 179, 106, 0.15) 0,
      rgba(39, 179, 106, 0.07) 24%,
      transparent 45%
    ),
    linear-gradient(
      rgba(15, 23, 32, 0.065) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(15, 23, 32, 0.065) 1px,
      transparent 1px
    ),
    linear-gradient(145deg, #edf7f2 0%, #ffffff 100%);
  background-size:
    auto,
    34px 34px,
    34px 34px,
    auto;
  border: 1px solid rgba(22, 135, 75, 0.18);
  box-shadow:
    inset 0 0 70px rgba(39, 179, 106, 0.045),
    0 24px 60px rgba(16, 33, 25, 0.08);
}

.visual-panel--connected::before,
.visual-panel--connected::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.visual-panel--connected::before {
  z-index: 0;
  width: 285px;
  height: 285px;
  border: 1px solid rgba(39, 179, 106, 0.16);
  box-shadow:
    0 0 0 34px rgba(39, 179, 106, 0.055),
    0 0 0 72px rgba(39, 179, 106, 0.025);
}

.visual-panel--connected::after {
  z-index: 0;
  width: 385px;
  height: 385px;
  border: 1px dashed rgba(39, 179, 106, 0.16);
}

.visual-links {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.visual-link {
  fill: none;
  stroke: url("#visualLinkGradient");
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 9 8;
  filter: url("#visualGlow");
}

.visual-node {
  fill: #27b36a;
  stroke: #ffffff;
  stroke-width: 4;
  filter: url("#visualGlow");
}

.visual-panel--connected .visual-core {
  z-index: 3;
  width: 190px;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(
      circle at 35% 25%,
      rgba(39, 179, 106, 0.18),
      transparent 38%
    ),
    linear-gradient(145deg, #111c25, #0c141c);
  box-shadow:
    0 0 0 18px rgba(39, 179, 106, 0.11),
    0 0 0 38px rgba(39, 179, 106, 0.055),
    0 25px 55px rgba(15, 23, 32, 0.30);
}

.visual-panel--connected .visual-core strong {
  display: block;
  font-size: 2.15rem;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.visual-panel--connected .visual-core strong span {
  display: block;
}

.visual-panel--connected .visual-core small {
  display: block;
  max-width: 120px;
  margin-top: 15px;
  color: #9fd8b9;
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-panel--connected .float-tag {
  z-index: 4;
  min-width: 175px;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 18px;
  border: 1px solid rgba(22, 135, 75, 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 18px 35px rgba(16, 33, 25, 0.11),
    inset 0 1px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  font-size: 0.92rem;
  line-height: 1.25;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.visual-panel--connected .float-tag:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 179, 106, 0.55);
  box-shadow:
    0 22px 45px rgba(16, 33, 25, 0.15),
    0 0 0 4px rgba(39, 179, 106, 0.07);
}

.visual-panel--connected .float-tag-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(39, 179, 106, 0.10);
  font-size: 1.08rem;
}

/*
 * Přesné pozice přepisují původní nth-child pravidla.
 */

.visual-panel--connected .float-tag--electro {
  top: 48px !important;
  left: 34px !important;
  right: auto !important;
  bottom: auto !important;
}

.visual-panel--connected .float-tag--it {
  top: 68px !important;
  right: 27px !important;
  left: auto !important;
  bottom: auto !important;
}

.visual-panel--connected .float-tag--access {
  bottom: 62px !important;
  left: 34px !important;
  right: auto !important;
  top: auto !important;
}

.visual-panel--connected .float-tag--network {
  right: 30px !important;
  bottom: 46px !important;
  left: auto !important;
  top: auto !important;
}

@media (prefers-reduced-motion: no-preference) {
  .visual-link {
    animation: visual-flow 8s linear infinite;
  }

  .visual-panel--connected .visual-core {
    animation: visual-core-pulse 5s ease-in-out infinite;
  }
}

@keyframes visual-flow {
  to {
    stroke-dashoffset: -68;
  }
}

@keyframes visual-core-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 18px rgba(39, 179, 106, 0.11),
      0 0 0 38px rgba(39, 179, 106, 0.055),
      0 25px 55px rgba(15, 23, 32, 0.30);
  }

  50% {
    box-shadow:
      0 0 0 23px rgba(39, 179, 106, 0.08),
      0 0 0 47px rgba(39, 179, 106, 0.035),
      0 27px 60px rgba(15, 23, 32, 0.34);
  }
}

@media (max-width: 680px) {
  .visual-panel--connected {
    min-height: 500px;
  }

  .visual-panel--connected::before {
    width: 220px;
    height: 220px;
  }

  .visual-panel--connected::after {
    width: 290px;
    height: 290px;
  }

  .visual-panel--connected .visual-core {
    width: 145px;
    height: 145px;
    padding: 18px;
  }

  .visual-panel--connected .visual-core strong {
    font-size: 1.65rem;
  }

  .visual-panel--connected .visual-core small {
    display: none;
  }

  .visual-panel--connected .float-tag {
    min-width: 132px;
    min-height: 52px;
    max-width: 160px;
    gap: 7px;
    padding: 10px 11px;
    font-size: 0.75rem;
  }

  .visual-panel--connected .float-tag-icon {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    font-size: 0.87rem;
  }

  .visual-panel--connected .float-tag--electro {
    top: 24px !important;
    left: 13px !important;
  }

  .visual-panel--connected .float-tag--it {
    top: 58px !important;
    right: 10px !important;
  }

  .visual-panel--connected .float-tag--access {
    bottom: 55px !important;
    left: 12px !important;
  }

  .visual-panel--connected .float-tag--network {
    right: 10px !important;
    bottom: 25px !important;
  }

  .visual-link {
    stroke-width: 4;
  }
}

/* ===== KAT VISUAL CONNECTED END ===== */


/* ===== Mobilní šipky mezi kroky "Jak pracujeme" ===== */
@media (max-width:768px){

  .process-grid{
    gap:52px;
  }

  .process-card{
    position:relative;
  }

  .process-card:not(:last-child)::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-34px;
    transform:translateX(-50%);
    width:2px;
    height:24px;
    background:#27b36a;
    border-radius:2px;
  }

  .process-card:not(:last-child)::before{
    content:"";
    position:absolute;
    left:50%;
    bottom:-42px;
    transform:translateX(-50%) rotate(45deg);
    width:8px;
    height:8px;
    border-right:2px solid #27b36a;
    border-bottom:2px solid #27b36a;
  }

}


/* ===== KAT MOBILE PROCESS ARROWS FIX START ===== */

@media (max-width: 768px) {

  #postup .process-grid {
    gap: 76px !important;
    overflow: visible !important;
  }

  #postup .process-card {
    position: relative !important;
    overflow: visible !important;
  }

  /* Svislá zelená spojovací čára */
  #postup .process-card:not(:last-child)::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;

    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: -51px !important;

    width: 3px !important;
    height: 34px !important;

    transform: translateX(-50%) !important;
    clip-path: none !important;

    border: 0 !important;
    border-radius: 99px !important;
    background: linear-gradient(
      180deg,
      rgba(39, 179, 106, 0.30),
      #27b36a
    ) !important;

    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;

    box-shadow: 0 0 12px rgba(39, 179, 106, 0.28) !important;
    pointer-events: none !important;
  }

  /* Hrot šipky */
  #postup .process-card:not(:last-child)::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;

    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: -57px !important;

    width: 13px !important;
    height: 13px !important;

    transform: translateX(-50%) rotate(45deg) !important;

    background: transparent !important;
    border: 0 !important;
    border-right: 3px solid #27b36a !important;
    border-bottom: 3px solid #27b36a !important;

    opacity: 1 !important;
    visibility: visible !important;
    z-index: 11 !important;
    pointer-events: none !important;

    filter: drop-shadow(0 3px 4px rgba(39, 179, 106, 0.22)) !important;
  }
}

/* ===== KAT MOBILE PROCESS ARROWS FIX END ===== */

/* ===== KAT MOBILE MENU FIX START ===== */

@media (max-width: 980px) {

  /* Logo a tlačítko musí zůstat vždy nad otevřeným menu */
  .header .logo,
  .header .menu-btn {
    position: relative !important;
    z-index: 1004 !important;
  }

  .header .menu-btn {
    background: #ffffff !important;
    color: #14211b !important;
  }

  .header .menu-btn span {
    background: #14211b !important;
  }

  /* Celoplošné neprůhledné mobilní menu */
  .header .nav-links {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1002 !important;

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

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;

    margin: 0 !important;
    padding: 130px 24px 40px !important;

    background: #ffffff !important;
    background-image:
      radial-gradient(
        circle at 15% 10%,
        rgba(39, 179, 106, 0.10),
        transparent 30%
      ) !important;

    color: #14211b !important;
    opacity: 1 !important;
    visibility: hidden !important;

    transform: translateX(100%) !important;
    transition:
      transform 0.3s ease,
      visibility 0s linear 0.3s !important;

    overflow-y: auto !important;
    pointer-events: none !important;
    backdrop-filter: none !important;
  }

  .header .nav-links.active {
    visibility: visible !important;
    transform: translateX(0) !important;
    transition:
      transform 0.3s ease,
      visibility 0s linear 0s !important;
    pointer-events: auto !important;
  }

  .header .nav-links li {
    width: min(100%, 420px) !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-bottom: 1px solid #dce5e0 !important;
  }

  .header .nav-links li:first-child {
    border-top: 1px solid #dce5e0 !important;
  }

  .header .nav-links a {
    width: 100% !important;
    min-height: 64px !important;

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

    padding: 0 8px !important;

    color: #14211b !important;
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    text-shadow: none !important;
  }

  .header .nav-links a::after {
    content: "→" !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    color: #27b36a !important;
    font-size: 1.25rem !important;
    opacity: 1 !important;
  }

  body.menu-open {
    overflow: hidden !important;
    touch-action: none !important;
  }
}

/* ===== KAT MOBILE MENU FIX END ===== */

/* Oprava velikosti hlavního loga */
.site-logo{
    display:block;
    height:165px !important;
    width:auto !important;
    max-width:720px !important;
    object-fit:contain;
}

@media (max-width:768px){
    .site-logo{
        height:105px !important;
        width:auto !important;
        max-width:500px !important;
        object-fit:contain;
    }
}
