/* Static Care header — replaces Plasmic sticky nav (no portal / no flicker). */

.fc-static-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  font-family: Geomini, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.fc-static-header__inner {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fc-static-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  line-height: 0;
}

.fc-static-header__logo img {
  display: block;
  height: 36px;
  width: auto;
}

.fc-static-header__nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 22px;
  margin-left: auto;
}

.fc-static-header__nav > a,
.fc-static-header__nav > button {
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  white-space: nowrap;
  text-decoration: none !important;
  color: #475569;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.fc-static-header__nav > a:hover,
.fc-static-header__nav > button:hover {
  color: #0f172a;
}

.fc-static-header__cross {
  color: #5ec8ff !important;
  font-weight: 600 !important;
}

.fc-static-header__cross:hover {
  color: #9adcff !important;
}

.fc-static-header__lang {
  color: #04e2e8 !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.fc-static-header__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 18px !important;
  border-radius: 999px;
  background: #04e2e8 !important;
  color: #0b1220 !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.fc-static-header__cta:hover {
  filter: brightness(1.05);
  color: #0b1220 !important;
}

/* Zero-flash: hide Plasmic Care sticky nav via CSS (before any JS).
   1) Structural: first band inside the page column with Care anchors
   2) Current sticky class from published Plasmic (ρb6Bop) as backup */
.fc-care-home .plasmic_page_wrapper > div > div > div:first-child:has(a[href="#harom"]):has(a[href="#kapcsolat"]),
.fc-care-home .ρb6Bop {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Hide Plasmic sticky/fixed Care header once static header is present */
.fc-care-home [data-fc-plasmic-header-hidden="1"],
:has([data-fc-static-header]) [data-fc-plasmic-header-hidden="1"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 1100px) {
  .fc-static-header__inner {
    width: calc(100% - 28px);
    height: auto;
    min-height: 64px;
    padding: 10px 0;
    flex-wrap: wrap;
  }
  .fc-static-header__nav {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 720px) {
  .fc-static-header__nav > a:not(.fc-static-header__cross):not(.fc-static-header__cta) {
    display: none;
  }
}
