/* Životný Kompas – full-bleed home hero */

.page_wrapper:has(.zk-hero) .site_header {
  padding: 22px 0;
}

.page_wrapper:has(.zk-hero) .site_header:not(.sticky) .main_menu_list > li > a {
  color: #ffffff;
  font-size: 17px;
  text-shadow: 0 1px 12px rgba(8, 20, 36, 0.55);
  background-color: transparent;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

/* Hover: readable dark text on light pill (overrides white-on-white clash) */
.page_wrapper:has(.zk-hero) .site_header:not(.sticky) .main_menu_list > li:hover > a {
  color: #0c2438;
  background-color: rgba(255, 255, 255, 0.94);
  text-shadow: none;
  box-shadow: 0 10px 28px rgba(8, 22, 40, 0.28);
}

/* Active page on hero header */
.page_wrapper:has(.zk-hero) .site_header:not(.sticky) .main_menu_list > li.active > a {
  color: #0c2438;
  background-color: rgba(255, 255, 255, 0.88);
  text-shadow: none;
  box-shadow: 0 8px 22px rgba(8, 22, 40, 0.22);
}

.page_wrapper:has(.zk-hero) .site_header:not(.sticky) .main_menu_list > li.active > a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ec4b6;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.28);
  pointer-events: none;
}

/* Active + hover: stronger, clearly different from idle active */
.page_wrapper:has(.zk-hero) .site_header:not(.sticky) .main_menu_list > li.active:hover > a {
  color: #062038;
  background-color: #fff;
  box-shadow:
    0 12px 32px rgba(8, 22, 40, 0.34),
    0 0 0 2px rgba(46, 196, 182, 0.7);
  transform: translateY(-1px);
}

.page_wrapper:has(.zk-hero) .site_header:not(.sticky) .main_menu_list > li.active:hover > a::before {
  width: 10px;
  height: 10px;
  bottom: -6px;
  box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.35);
}

.page_wrapper:has(.zk-hero) .site_header:not(.sticky) .site_logo .logo-dark {
  display: none;
}

.page_wrapper:has(.zk-hero) .site_header:not(.sticky) .site_logo .logo-light {
  display: inline-block;
}

.page_wrapper:has(.zk-hero) .site_header.sticky .site_logo .logo-light,
.site_logo .logo-light {
  display: none;
}

.page_wrapper:has(.zk-hero) .site_header.sticky .site_logo .logo-dark,
.site_logo .logo-dark {
  display: inline-block;
}

.page_wrapper:has(.zk-hero) .site_header:not(.sticky) .site_logo img {
  filter: none;
}

.zk-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  color: #f4fafc;
  overflow: hidden;
  isolation: isolate;
}

.zk-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 22, 40, 0.78) 0%, rgba(8, 22, 40, 0.42) 42%, rgba(8, 22, 40, 0.18) 68%, rgba(8, 22, 40, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 22, 40, 0.35) 0%, rgba(8, 22, 40, 0.1) 30%, rgba(8, 22, 40, 0.45) 100%),
    url("../images/hero/hero-compass-bg.jpg") center / cover no-repeat;
}

.zk-hero__inner {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 132px 0 108px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}

.zk-hero__eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7fe8df;
  text-shadow: 0 1px 10px rgba(8, 20, 36, 0.45);
}

.zk-hero__title {
  margin: 0 0 20px;
  max-width: 11ch;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(8, 20, 36, 0.4);
}

.zk-hero__title span {
  background: linear-gradient(120deg, #8ef0e6 0%, #4ec4ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zk-hero__lead {
  margin: 0 0 18px;
  max-width: 34rem;
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.65;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(8, 20, 36, 0.35);
}

.zk-hero__empathy {
  margin: 0 0 28px;
  max-width: 34rem;
  padding: 15px 18px;
  border-left: 3px solid #5ad1c8;
  background: rgba(10, 28, 48, 0.42);
  border-radius: 0 14px 14px 0;
  font-size: 17px;
  line-height: 1.55;
  font-style: italic;
  color: #f7fcfd;
}

.zk-hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-bottom: 34px;
}

.zk-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  color: #fff !important;
  background: linear-gradient(120deg, #2ec4b6 0%, #1f8fb8 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 14px 40px rgba(35, 170, 180, 0.45),
    0 0 48px rgba(46, 196, 182, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zk-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 18px 46px rgba(35, 170, 180, 0.55),
    0 0 60px rgba(46, 196, 182, 0.35);
  color: #fff !important;
}

.zk-hero__note {
  font-family: "Segoe Script", "Comic Sans MS", cursive;
  font-size: 18px;
  color: #ffe8a8;
  text-shadow: 0 1px 10px rgba(8, 20, 36, 0.4);
  transform: rotate(-4deg);
}

.zk-hero__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
}

.zk-hero__perks li {
  display: grid;
  gap: 8px;
  align-content: start;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 10px rgba(8, 20, 36, 0.35);
}

.zk-hero__perk-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #8ef0e6;
  font-size: 16px;
}

.zk-hero__path {
  position: relative;
  min-height: 420px;
  pointer-events: none;
}

.zk-hero__path-line {
  position: absolute;
  inset: 8% 8% 18% 12%;
  border: 1.5px dashed rgba(255, 255, 255, 0.38);
  border-radius: 55% 45% 60% 40% / 45% 55% 40% 60%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  opacity: 0.85;
  animation: zkHeroPathPulse 5.5s ease-in-out infinite;
}

.zk-hero__node {
  position: absolute;
  display: grid;
  gap: 6px;
  justify-items: start;
  max-width: 140px;
}

.zk-hero__node i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16), 0 0 18px rgba(255, 255, 255, 0.55);
}

.zk-hero__node span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.zk-hero__node--1 { top: 10%; left: 18%; }
.zk-hero__node--2 { top: 28%; right: 8%; }
.zk-hero__node--3 { top: 52%; right: 2%; }
.zk-hero__node--4 { bottom: 18%; right: 16%; }

.zk-hero__aside-note {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 200px;
  font-family: "Segoe Script", "Comic Sans MS", cursive;
  font-size: 22px;
  line-height: 1.25;
  color: #ffe8a8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  text-align: right;
  transform: rotate(3deg);
}

.zk-hero__quote {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 280px;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f2fafc;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  text-align: right;
}

.zk-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-grid;
  justify-items: center;
  gap: 8px;
  text-decoration: none;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  z-index: 3;
  animation: zkHeroScrollBounce 2.2s ease-in-out infinite;
}

.zk-hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  position: relative;
}

.zk-hero__scroll-mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
  animation: zkHeroWheel 1.8s ease-in-out infinite;
}

@keyframes zkHeroWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  60% { opacity: 0.2; transform: translateX(-50%) translateY(10px); }
}

@keyframes zkHeroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes zkHeroPathPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}

@media (max-width: 991px) {
  .zk-hero__inner {
    grid-template-columns: 1fr;
    padding: 118px 0 96px;
  }

  .zk-hero__title {
    max-width: 14ch;
  }

  .zk-hero__path {
    min-height: 220px;
    order: -1;
  }

  .zk-hero__aside-note,
  .zk-hero__quote {
    display: none;
  }

  .zk-hero__path-line {
    inset: 10% 10% 20% 10%;
  }
}

@media (max-width: 640px) {
  .zk-hero__inner {
    width: min(100% - 28px, 1180px);
    padding-top: 108px;
  }

  .zk-hero__perks {
    grid-template-columns: 1fr;
  }

  .zk-hero__cta {
    width: 100%;
  }

  .zk-hero__note {
    transform: none;
  }

  .zk-hero__path {
    display: none;
  }
}

/* Landing page body sections – clearer type */
.page_wrapper:has(.zk-hero) .section_heading .section_heading_text {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.15;
  color: #0c2438;
}

.page_wrapper:has(.zk-hero) .section_heading .section_heading_description {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
  color: #334556;
}

.page_wrapper:has(.zk-hero) .service_item .item_title,
.page_wrapper:has(.zk-hero) .pricing_heading {
  color: #0c2438;
}

.page_wrapper:has(.zk-hero) .service_item .item_contact p,
.page_wrapper:has(.zk-hero) .pricing_item p {
  color: #3a4b5c;
  font-size: 16px;
  line-height: 1.65;
}

