.p4y-fhf-header-wrap,
.p4y-fhf-footer,
.p4y-fhf-header-wrap * ,
.p4y-fhf-footer * {
  box-sizing: border-box;
}

.p4y-fhf-header-wrap {
  position: fixed;
  top: var(--p4y-fhf-top-offset, 28px) !important;
  left: 0;
  width: 100%;
  z-index: 9999;
  pointer-events: none;
  padding: 0 var(--p4y-fhf-outer-side-padding, 38px);
}

.p4y-fhf-header-shell {
  max-width: var(--p4y-fhf-container-width, 1540px);
  margin: 0 auto;
  pointer-events: auto;
}

.p4y-fhf-header-inner {
  min-height: var(--p4y-fhf-header-height, 72px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 22px;
  border-radius: var(--p4y-fhf-radius, 30px);
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03)), linear-gradient(180deg, rgba(31,41,55,0.26), rgba(31,41,55,0.12)), var(--p4y-fhf-bg, rgba(46,58,76,0.24));
  backdrop-filter: blur(var(--p4y-fhf-blur, 22px)) saturate(1.45) brightness(1.04);
  -webkit-backdrop-filter: blur(var(--p4y-fhf-blur, 22px)) saturate(1.45) brightness(1.04);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.26);
  transition: transform .28s ease, background .28s ease, min-height .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.p4y-fhf-header-wrap.is-transparent .p4y-fhf-header-inner {
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03)), linear-gradient(180deg, rgba(31,41,55,0.26), rgba(31,41,55,0.12)), var(--p4y-fhf-bg, rgba(46,58,76,0.24));
}

.p4y-fhf-header-wrap.is-scrolled .p4y-fhf-header-inner {
  background: linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.05)), linear-gradient(180deg, rgba(15,23,42,0.24), rgba(15,23,42,0.12)), var(--p4y-fhf-bg-scroll, rgba(34,44,58,0.34));
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255,255,255,0.18);
}

.p4y-fhf-header-wrap.has-shrink.is-scrolled .p4y-fhf-header-inner {
  min-height: calc(var(--p4y-fhf-header-height, 74px) - 8px);
  transform: translateY(-2px) scale(.985);
}

.p4y-fhf-logo {
  display: inline-flex;
  align-items: center;
  color: var(--p4y-fhf-text, #fff);
  text-decoration: none;
  width: min(var(--p4y-fhf-logo-width, 220px), 100%);
  max-width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.p4y-fhf-logo img {
  display: block;
  width: auto;
  max-width: min(var(--p4y-fhf-logo-width, 280px), 100%);
  max-height: var(--p4y-fhf-logo-max-height, 48px);
  height: auto;
  object-fit: contain;
}

.p4y-fhf-footer-logo img {
  display: block;
  width: auto;
  max-width: min(var(--p4y-fhf-footer-logo-width, 220px), 100%);
  max-height: var(--p4y-fhf-footer-logo-max-height, 36px);
  height: auto;
  object-fit: contain;
}

.p4y-fhf-logo-text {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--p4y-fhf-text, #fff);
}

.p4y-fhf-nav {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}


.p4y-fhf-menu,
.p4y-fhf-menu ul,
.p4y-fhf-mobile-menu,
.p4y-fhf-footer-menu,
.p4y-fhf-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p4y-fhf-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.p4y-fhf-menu > li {
  position: relative;
}

.p4y-fhf-menu > li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.p4y-fhf-menu > li > a {
  color: var(--p4y-fhf-text, #fff);
  text-decoration: none;
  font-size: var(--p4y-fhf-menu-font, 13px);
  font-weight: 500;
  line-height: 1;
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  transition: opacity .2s ease, color .2s ease;
}

.p4y-fhf-menu > li.current-menu-item > a,
.p4y-fhf-menu > li > a:hover,
.p4y-fhf-menu > li.current-menu-ancestor > a {
  color: #fff;
  opacity: 1;
}

.p4y-fhf-menu > li > a {
  opacity: .92;
}

.p4y-fhf-menu .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04)), rgba(21, 28, 38, 0.82);
  backdrop-filter: blur(calc(var(--p4y-fhf-blur, 22px) + 2px)) saturate(1.4);
  -webkit-backdrop-filter: blur(calc(var(--p4y-fhf-blur, 22px) + 2px)) saturate(1.4);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .22s ease;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.p4y-fhf-menu li:hover > .sub-menu,
.p4y-fhf-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.p4y-fhf-menu .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--p4y-fhf-text, #fff);
  text-decoration: none;
  opacity: .9;
}

.p4y-fhf-menu .sub-menu a:hover {
  background: rgba(255,255,255,.06);
  opacity: 1;
}

.p4y-fhf-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
}


.p4y-fhf-phone {
  text-decoration: none;
  color: var(--p4y-fhf-text, #fff);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
  gap: var(--p4y-fhf-phone-gap, 3px);
}

.p4y-fhf-phone-label {
  font-size: var(--p4y-fhf-phone-label-size, 10px);
  font-weight: 700;
  opacity: .92;
}

.p4y-fhf-phone-number {
  font-size: var(--p4y-fhf-phone-number-size, 15px);
  font-weight: 800;
  letter-spacing: .01em;
}

.p4y-fhf-phone:hover,
.p4y-fhf-phone:focus,
.p4y-fhf-phone:active {
  color: var(--p4y-fhf-text, #fff);
  text-decoration: none;
  transform: none;
  background: transparent;
}

.p4y-fhf-phone-mobile,
.p4y-fhf-cta-mobile {
  display: none;
}

.p4y-fhf-cta,
.p4y-fhf-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 7px 12px 7px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02)), var(--p4y-fhf-accent, #1f75ff);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(31, 117, 255, 0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}

.p4y-fhf-cta-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fff;
  color: var(--p4y-fhf-accent, #1f75ff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
}

.p4y-fhf-burger {
  display: none;
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.p4y-fhf-burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.p4y-fhf-mobile-panel {
  display: none;
  margin-top: 10px;
  border-radius: 24px;
  background: rgba(31, 35, 43, 0.97);
  backdrop-filter: blur(calc(var(--p4y-fhf-blur, 22px) + 2px)) saturate(1.4);
  -webkit-backdrop-filter: blur(calc(var(--p4y-fhf-blur, 22px) + 2px)) saturate(1.4);
  border: 1px solid rgba(255,255,255,.16);
  padding: 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.p4y-fhf-mobile-panel.is-open {
  display: block;
}

.p4y-fhf-mobile-menu li a {
  display: block;
  padding: 12px 10px;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
}

.p4y-fhf-mobile-menu .sub-menu {
  padding-left: 10px;
}

.p4y-fhf-mobile-menu li a:hover {
  background: rgba(255,255,255,.06);
}

.p4y-fhf-mobile-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.p4y-fhf-mobile-phone {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.p4y-fhf-header-spacer {
  height: calc(var(--p4y-fhf-header-height, 74px) + (var(--p4y-fhf-top-offset, 18px) * 2));
}

.p4y-fhf-footer {
  background: var(--p4y-fhf-footer-bg, #04070d);
  color: var(--p4y-fhf-footer-text, #f5f7fb);
  margin-top: 70px;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.p4y-fhf-footer a {
  color: var(--p4y-fhf-footer-text, #f5f7fb);
  text-decoration: none;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.p4y-fhf-footer-inner {
  max-width: var(--p4y-fhf-container-width, 1540px);
  margin: 0 auto;
  padding: 84px 24px 74px;
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(0, 1fr);
  gap: 44px;
}

.p4y-fhf-footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--p4y-fhf-menu-gap, 18px);
}

.p4y-fhf-footer-company {
  color: var(--p4y-fhf-footer-muted, #b5bdd0);
  margin: 0;
  max-width: 520px;
  line-height: 1.7;
}

.p4y-fhf-footer-meta {
  color: var(--p4y-fhf-footer-muted, #b5bdd0);
  line-height: 1.75;
}

.p4y-fhf-footer-meta p {
  margin: 0 0 10px;
}

.p4y-fhf-legal-links a {
  color: var(--p4y-fhf-footer-text, #f5f7fb);
  opacity: .95;
}

.p4y-fhf-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.p4y-fhf-footer-col {
  padding-left: 34px;
  position: relative;
}

.p4y-fhf-footer-col:not(:first-child)::before,
.p4y-fhf-footer-col:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(255,255,255,.1);
}

.p4y-fhf-footer-col h3 {
  color: var(--p4y-fhf-footer-text, #f5f7fb);
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 800;
}

.p4y-fhf-footer-menu li,
.p4y-fhf-footer-links li {
  margin-bottom: 14px;
}

.p4y-fhf-footer-menu a,
.p4y-fhf-footer-links a,
.p4y-fhf-contact-links li {
  color: var(--p4y-fhf-footer-muted, #b5bdd0);
  line-height: 1.55;
  transition: color .2s ease, opacity .2s ease;
}

.p4y-fhf-footer-menu a:hover,
.p4y-fhf-footer-links a:hover {
  color: var(--p4y-fhf-footer-text, #f5f7fb);
}

@media (max-width: 1220px) {
  .p4y-fhf-phone-desktop {
    display: none;
  }

  .p4y-fhf-menu > li > a {
    font-size: var(--p4y-fhf-phone-number-size, 15px);
    padding-inline: 8px;
  }
}

@media (max-width: 980px) {
  .p4y-fhf-header-wrap {
    padding: 0 var(--p4y-fhf-outer-side-padding-mobile, 10px);
  }

  .p4y-fhf-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--p4y-fhf-header-height-mobile, 56px);
    padding: var(--p4y-fhf-pad-y-mobile, 7px) var(--p4y-fhf-pad-x-mobile, 10px);
    gap: 12px;
    backdrop-filter: blur(16px) saturate(1.25) brightness(1.02);
    -webkit-backdrop-filter: blur(16px) saturate(1.25) brightness(1.02);
  }

  .p4y-fhf-nav,
  .p4y-fhf-cta-desktop,
  .p4y-fhf-phone-desktop {
    display: none;
  }

  .p4y-fhf-header-wrap.hide-cta-mobile .p4y-fhf-cta-mobile {
    display: none;
  }

  .p4y-fhf-header-wrap.show-cta-mobile .p4y-fhf-cta-mobile {
    display: inline-flex;
  }

  .p4y-fhf-phone-mobile {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    align-items: center;
    text-align: center;
    white-space: nowrap;
    pointer-events: auto;
  }

  .p4y-fhf-header-wrap.hide-phone-mobile .p4y-fhf-phone-mobile {
    display: none;
  }

  .p4y-fhf-header-wrap.show-phone-mobile .p4y-fhf-phone-mobile {
    display: flex;
  }

  .p4y-fhf-phone-mobile .p4y-fhf-phone-label {
    font-size: 11px;
    line-height: 1;
  }

  .p4y-fhf-phone-mobile .p4y-fhf-phone-number {
    font-size: var(--p4y-fhf-phone-number-size, 15px);
    line-height: 1.05;
  }

  .p4y-fhf-right {
    margin-left: auto;
    gap: 8px;
    flex-shrink: 0;
  }

  .p4y-fhf-burger {
    display: inline-flex;
    width: 40px;
    height: 40px;
  }

  .p4y-fhf-logo img {
    max-width: min(var(--p4y-fhf-logo-width, 280px), 200px);
    max-height: var(--p4y-fhf-logo-max-height-mobile, 34px);
  }

  .p4y-fhf-footer-logo img {
    max-width: min(var(--p4y-fhf-footer-logo-width, 220px), 170px);
    max-height: var(--p4y-fhf-footer-logo-max-height, 30px);
  }

  .p4y-fhf-header-spacer {
    height: calc(var(--p4y-fhf-header-height-mobile, 62px) + (var(--p4y-fhf-top-offset, 18px) * 2));
  }

  .p4y-fhf-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px 18px 56px;
  }

  .p4y-fhf-footer-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .p4y-fhf-footer-col {
    padding-left: 18px;
  }
}



.p4y-fhf-cta:hover,
.p4y-fhf-cta:focus {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 16px 28px rgba(77, 122, 255, 0.28);
  filter: saturate(1.08);
}

.p4y-fhf-cta-icon {
  transition: transform .24s ease, opacity .24s ease;
}

.p4y-fhf-cta:hover .p4y-fhf-cta-icon,
.p4y-fhf-cta:focus .p4y-fhf-cta-icon {
  transform: translateX(2px) rotate(-10deg) scale(1.06);
}


.p4y-fhf-menu > li > a {
  position: relative;
}

.p4y-fhf-menu > li > a::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease, opacity .22s ease;
  opacity: .0;
}

.p4y-fhf-menu > li.current-menu-item > a::after,
.p4y-fhf-menu > li.current-menu-ancestor > a::after,
.p4y-fhf-menu > li > a:hover::after,
.p4y-fhf-menu > li > a:focus::after {
  transform: scaleX(1);
  opacity: 1;
}


.p4y-fhf-cta,
.p4y-fhf-mobile-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}

.p4y-fhf-cta::before,
.p4y-fhf-mobile-cta::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.22), rgba(255,255,255,0.02) 45%, rgba(255,255,255,0.14) 100%);
  opacity: .42;
  pointer-events: none;
  z-index: 0;
}

.p4y-fhf-cta > span,
.p4y-fhf-mobile-cta > span,
.p4y-fhf-cta-icon {
  position: relative;
  z-index: 1;
}

.p4y-fhf-cta:hover,
.p4y-fhf-cta:focus {
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 18px 34px rgba(31, 117, 255, 0.26), inset 0 1px 0 rgba(255,255,255,0.22);
  filter: saturate(1.08);
}

.p4y-fhf-cta-icon {
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.p4y-fhf-cta:hover .p4y-fhf-cta-icon,
.p4y-fhf-cta:focus .p4y-fhf-cta-icon {
  transform: translateX(3px) rotate(-12deg) scale(1.08);
  box-shadow: 0 10px 18px rgba(255,255,255,0.16), inset 0 1px 0 rgba(255,255,255,0.9);
}


.p4y-fhf-header-inner { position: relative; overflow: visible; }
.p4y-fhf-header-inner::before { content:""; position:absolute; inset:1px; border-radius:inherit; background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03)); pointer-events:none; opacity:.75; }
.p4y-fhf-header-inner > * { position:relative; z-index:1; }


@media (max-width: 767px) {
  .p4y-fhf-phone-mobile {
    display: none !important;
  }

  .p4y-fhf-header-wrap {
    padding: 0 8px;
  }

  .p4y-fhf-header-inner {
    min-height: 54px;
    padding: 7px 10px;
    gap: 10px;
    border-radius: 24px;
  }

  .p4y-fhf-logo img {
    max-width: min(var(--p4y-fhf-logo-width, 280px), 170px);
    max-height: var(--p4y-fhf-logo-max-height-mobile, 34px);
  }

  .p4y-fhf-burger {
    width: 38px;
    height: 38px;
  }

  .p4y-fhf-mobile-panel-inner {
    padding: 96px 18px 26px;
  }

  .p4y-fhf-mobile-menu a {
    font-size: var(--p4y-fhf-menu-font-mobile, 19px);
  }
}

.p4y-fhf-wrap a,
.p4y-fhf-wrap button,
.p4y-fhf-wrap input,
.p4y-fhf-wrap textarea,
.p4y-fhf-wrap select {
  -webkit-tap-highlight-color: transparent;
}

.p4y-fhf-wrap a:focus,
.p4y-fhf-wrap button:focus,
.p4y-fhf-wrap a:active,
.p4y-fhf-wrap button:active {
  outline: none;
  box-shadow: none;
}

/* ===== clean mobile block 2.4.7 ===== */
@media (max-width: 980px){
  .p4y-fhf-header-wrap{padding-left:10px !important;padding-right:10px !important;top:18px !important}
  .p4y-fhf-header-inner{min-height:58px !important;padding:8px 12px !important;border-radius:24px !important;display:flex !important;align-items:center !important;justify-content:space-between !important;gap:10px !important;background:linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.06)), rgba(112,116,124,0.72) !important;border:1px solid rgba(255,255,255,0.22) !important;box-shadow:0 12px 28px rgba(15,23,42,0.14), inset 0 1px 0 rgba(255,255,255,0.16) !important;backdrop-filter:blur(16px) saturate(1.08) !important;-webkit-backdrop-filter:blur(16px) saturate(1.08) !important}
  .p4y-fhf-header.is-scrolled .p4y-fhf-header-inner,.p4y-fhf-wrap.is-scrolled .p4y-fhf-header-inner{background:linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.07)), rgba(102,106,114,0.80) !important}
  .p4y-fhf-logo{flex:0 1 auto;min-width:0 !important}
  .p4y-fhf-logo img{max-height:28px !important;width:auto !important;height:auto !important;object-fit:contain !important}
  .p4y-fhf-nav{display:none !important}
  .p4y-fhf-right{display:flex !important;align-items:center !important;gap:8px !important;margin-left:auto !important;flex:0 0 auto}
  .p4y-fhf-phone-desktop{display:flex !important;flex-direction:column !important;align-items:flex-end !important;gap:2px !important;white-space:nowrap !important}
  .p4y-fhf-phone-desktop .p4y-fhf-phone-label{font-size:9px !important;line-height:1 !important;letter-spacing:.02em !important;color:rgba(255,255,255,.88) !important;text-shadow:none !important}
  .p4y-fhf-phone-desktop .p4y-fhf-phone-number{font-size:13px !important;line-height:1.05 !important;color:#fff !important;text-shadow:none !important}
  .p4y-fhf-phone-mobile,.p4y-fhf-mobile-phone,.p4y-fhf-mobile-bottom{display:none !important}
  .p4y-fhf-cta{display:none !important}
  .p4y-fhf-burger{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:34px !important;height:34px !important;background:transparent !important;border:0 !important;box-shadow:none !important}
  .p4y-fhf-burger span{width:24px !important;height:3px !important;border-radius:999px !important;background:#fff !important}
  .p4y-fhf-burger svg{width:26px !important;height:26px !important;color:#fff !important;fill:#fff !important;stroke:#fff !important}
  .p4y-fhf-mobile-panel{display:block;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px) scale(.96);transition:opacity .22s ease,transform .22s ease,visibility .22s ease;margin-top:14px;background:transparent;border:0;box-shadow:none;padding:0}
  .p4y-fhf-mobile-panel.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}
  .p4y-fhf-mobile-menu-wrap{width:min(76vw,420px);margin:0 auto;background:rgba(255,255,255,.98);border:1px solid rgba(20,31,56,.06);border-radius:30px;box-shadow:0 24px 56px rgba(15,23,42,.16);padding:22px 20px}
  .p4y-fhf-mobile-menu,.p4y-fhf-mobile-menu li{list-style:none !important;margin:0;padding:0}
  .p4y-fhf-mobile-menu>li>a{display:block !important;text-align:center !important;color:#0f172a !important;font-size:24px !important;line-height:1.2 !important;font-weight:800 !important;padding:12px 0 !important;border-radius:16px !important;text-shadow:none !important}
  .p4y-fhf-mobile-menu>li>a:hover{background:rgba(15,23,42,.04) !important}
  .p4y-fhf-mobile-menu .sub-menu{display:block !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;min-width:0 !important;width:100% !important;max-height:0;overflow:hidden;opacity:0;transform:translateY(-6px);transition:max-height .24s ease,opacity .24s ease,transform .24s ease;margin:6px 0 0 !important;padding:0;background:rgba(15,23,42,.035) !important;border:0 !important;box-shadow:none !important;border-radius:16px !important}.p4y-fhf-mobile-menu li.is-open>.sub-menu{max-height:420px;opacity:1;transform:translateY(0);padding:8px 10px !important}.p4y-fhf-mobile-menu .sub-menu li{list-style:none !important;margin:0;padding:0}.p4y-fhf-mobile-menu .sub-menu a{display:block;text-align:center;color:#334155 !important;font-size:14px !important;line-height:1.35;font-weight:600;padding:7px 0;border-radius:12px}.p4y-fhf-mobile-menu .sub-menu a:hover{background:rgba(15,23,42,.04) !important}.p4y-fhf-mobile-menu>li.menu-item-has-children>a{position:relative;padding-right:18px !important}.p4y-fhf-mobile-menu>li.menu-item-has-children>a:after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:18px;font-weight:700;color:#64748b;transition:transform .22s ease,opacity .22s ease}.p4y-fhf-mobile-menu>li.is-open>a:after{transform:translateY(-50%) rotate(45deg);opacity:.9}
}
@media (max-width: 767px){
  .p4y-fhf-header-wrap{padding-left:8px !important;padding-right:8px !important;top:16px !important}
  .p4y-fhf-header-inner{min-height:54px !important;padding:7px 10px !important;border-radius:22px !important}
  .p4y-fhf-phone-desktop .p4y-fhf-phone-label{font-size:8px !important}
  .p4y-fhf-phone-desktop .p4y-fhf-phone-number{font-size:12px !important}
  .p4y-fhf-mobile-menu-wrap{width:min(80vw,360px);padding:20px 18px;border-radius:28px}
  .p4y-fhf-mobile-menu>li>a{font-size:22px !important;padding:11px 0 !important}
}


/* ===== overflow-style polish desktop + mobile ===== */
.p4y-fhf-menu > li > a{font-weight:600 !important;letter-spacing:-.01em !important}
.p4y-fhf-phone-desktop .p4y-fhf-phone-label,.p4y-fhf-phone .p4y-fhf-phone-label{font-weight:600 !important;letter-spacing:.01em !important}
.p4y-fhf-phone-desktop .p4y-fhf-phone-number,.p4y-fhf-phone .p4y-fhf-phone-number{font-weight:700 !important;letter-spacing:-.02em !important}
.p4y-fhf-cta,.p4y-fhf-mobile-cta{font-weight:700 !important;letter-spacing:-.02em !important}

@media (max-width: 980px){
  .p4y-fhf-mobile-panel{margin-top:10px !important}
  .p4y-fhf-mobile-menu-wrap{width:min(64vw,320px) !important;padding:18px 16px 14px !important;border-radius:30px !important;background:rgba(255,255,255,.98) !important;box-shadow:0 18px 38px rgba(15,23,42,.16) !important}
  .p4y-fhf-mobile-menu>li>a{font-size:18px !important;line-height:1.14 !important;font-weight:800 !important;padding:10px 0 !important;color:#0f172a !important}
  .p4y-fhf-mobile-menu .sub-menu{margin:6px 0 0 !important;background:rgba(15,23,42,.035) !important;border-radius:14px !important}
  .p4y-fhf-mobile-menu li.is-open>.sub-menu{padding:8px 10px !important}
  .p4y-fhf-mobile-menu .sub-menu a{font-size:13px !important;line-height:1.32 !important;font-weight:600 !important;padding:6px 0 !important;color:#334155 !important}
  .p4y-fhf-mobile-menu>li.menu-item-has-children>a:after{right:2px !important;font-size:20px !important}
  .p4y-fhf-mobile-bottom{display:flex !important;justify-content:center !important;padding-top:12px !important;margin-top:8px !important;border-top:1px solid rgba(15,23,42,.06) !important}
  .p4y-fhf-mobile-cta{display:inline-flex !important;align-items:center !important;justify-content:center !important;min-height:46px !important;padding:0 22px !important;border-radius:999px !important;font-size:17px !important;line-height:1 !important;background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)), var(--p4y-fhf-accent, #1f75ff) !important;color:#fff !important;box-shadow:0 12px 24px rgba(31,117,255,.22), inset 0 1px 0 rgba(255,255,255,.16) !important}
}
@media (max-width: 767px){
  .p4y-fhf-mobile-menu-wrap{width:min(66vw,300px) !important;padding:16px 14px 12px !important;border-radius:28px !important}
  .p4y-fhf-mobile-menu>li>a{font-size:17px !important;padding:9px 0 !important}
  .p4y-fhf-mobile-menu .sub-menu a{font-size:12.5px !important;padding:5px 0 !important}
  .p4y-fhf-mobile-cta{min-height:44px !important;font-size:16px !important;padding:0 20px !important}
}

/* =========================================================
   P4Y FINAL STABLE 2.1.11 — mobile/desktop polish layer
   Cel: zachować stabilną bazę, ale naprawić menu, Oferta+, CTA mobile i premium hover.
   ========================================================= */

/* Desktop: elegancki Apple-like hover + stabilny mostek do submenu */
@media (min-width: 981px) {
  .p4y-fhf-header-inner {
    box-shadow:
      0 18px 44px rgba(15, 23, 42, 0.12),
      inset 0 1px 0 rgba(255,255,255,0.22) !important;
  }

  .p4y-fhf-menu {
    gap: var(--p4y-fhf-menu-gap, 18px) !important;
  }

  .p4y-fhf-menu > li {
    position: relative !important;
    padding: 10px 0 !important;
  }

  .p4y-fhf-menu > li::after {
    content: "" !important;
    position: absolute !important;
    left: -12px !important;
    right: -12px !important;
    top: 100% !important;
    height: 28px !important;
    display: block !important;
    pointer-events: auto !important;
  }

  .p4y-fhf-menu > li > a {
    position: relative !important;
    padding: 10px 4px !important;
    opacity: .92 !important;
    transition: opacity .2s ease, transform .22s ease, color .22s ease !important;
  }

  .p4y-fhf-menu > li > a::after {
    content: "" !important;
    position: absolute !important;
    left: 4px !important;
    right: 4px !important;
    bottom: 2px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,.96), rgba(255,255,255,.35)) !important;
    transform: scaleX(0) !important;
    transform-origin: center !important;
    opacity: 0 !important;
    transition: transform .24s cubic-bezier(.2,.8,.2,1), opacity .24s ease !important;
  }

  .p4y-fhf-menu > li:hover > a,
  .p4y-fhf-menu > li:focus-within > a,
  .p4y-fhf-menu > li.current-menu-item > a,
  .p4y-fhf-menu > li.current-menu-ancestor > a {
    opacity: 1 !important;
    transform: translateY(-1px) !important;
  }

  .p4y-fhf-menu > li:hover > a::after,
  .p4y-fhf-menu > li:focus-within > a::after,
  .p4y-fhf-menu > li.current-menu-item > a::after,
  .p4y-fhf-menu > li.current-menu-ancestor > a::after {
    transform: scaleX(1) !important;
    opacity: 1 !important;
  }

  .p4y-fhf-menu .sub-menu {
    top: calc(100% + 10px) !important;
    min-width: 238px !important;
    padding: 10px !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06)), rgba(18, 24, 35, .84) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    box-shadow: 0 24px 54px rgba(15,23,42,.28), inset 0 1px 0 rgba(255,255,255,.12) !important;
    backdrop-filter: blur(calc(var(--p4y-fhf-blur, 18px) + 6px)) saturate(1.25) !important;
    -webkit-backdrop-filter: blur(calc(var(--p4y-fhf-blur, 18px) + 6px)) saturate(1.25) !important;
    transform: translateY(8px) scale(.985) !important;
    transform-origin: top left !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
    pointer-events: none !important;
    z-index: 10010 !important;
  }

  .p4y-fhf-menu li:hover > .sub-menu,
  .p4y-fhf-menu li:focus-within > .sub-menu,
  .p4y-fhf-menu .sub-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
  }

  .p4y-fhf-menu .sub-menu a {
    padding: 11px 13px !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    color: rgba(255,255,255,.90) !important;
    transition: background .18s ease, transform .18s ease, color .18s ease !important;
  }

  .p4y-fhf-menu .sub-menu a:hover,
  .p4y-fhf-menu .sub-menu a:focus {
    background: rgba(255,255,255,.10) !important;
    transform: translateX(2px) !important;
    color: #fff !important;
  }
}

/* Mobile header: dopisek szybki kontakt zostaje w pasku, panel pokazuje tylko menu */
@media (max-width: 980px) {
  .p4y-fhf-header-wrap {
    top: var(--p4y-fhf-top-offset, 18px) !important;
    padding-left: max(10px, env(safe-area-inset-left)) !important;
    padding-right: max(10px, env(safe-area-inset-right)) !important;
  }

  .p4y-fhf-header-inner {
    min-height: var(--p4y-fhf-header-height-mobile, 62px) !important;
    padding: 8px 12px !important;
    border-radius: var(--p4y-fhf-radius, 28px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: center !important;
    gap: 10px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.07)), var(--p4y-fhf-bg, rgba(148,154,164,.28)) !important;
    box-shadow: 0 14px 34px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.22) !important;
  }

  .p4y-fhf-logo {
    width: auto !important;
    max-width: min(42vw, var(--p4y-fhf-logo-width, 220px)) !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
  }

  .p4y-fhf-logo img {
    width: auto !important;
    max-width: 100% !important;
    max-height: var(--p4y-fhf-logo-max-height-mobile, 34px) !important;
    object-fit: contain !important;
  }

  .p4y-fhf-right {
    display: contents !important;
  }

  .p4y-fhf-phone-desktop {
    display: flex !important;
    position: static !important;
    transform: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 124px !important;
    max-width: 42vw !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  .p4y-fhf-phone-desktop .p4y-fhf-phone-label {
    display: block !important;
    font-size: var(--p4y-fhf-phone-label-size, 10px) !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: -.01em !important;
    color: rgba(255,255,255,.94) !important;
  }

  .p4y-fhf-phone-desktop .p4y-fhf-phone-number {
    display: block !important;
    font-size: var(--p4y-fhf-phone-number-size, 15px) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: -.025em !important;
    color: #fff !important;
  }

  .p4y-fhf-burger {
    display: inline-flex !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 999px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .p4y-fhf-burger span {
    width: 25px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: #fff !important;
    transition: transform .22s ease, opacity .18s ease !important;
  }

  .p4y-fhf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg) !important; }
  .p4y-fhf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0 !important; }
  .p4y-fhf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg) !important; }

  .p4y-fhf-mobile-panel {
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(8px) scale(.985) !important;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
    margin-top: 14px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .p4y-fhf-mobile-panel.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  .p4y-fhf-mobile-menu-wrap {
    width: min(calc(100vw - 36px), 420px) !important;
    max-height: calc(100dvh - 145px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 auto !important;
    padding: 22px 18px 20px !important;
    border-radius: 30px !important;
    background: rgba(255,255,255,.965) !important;
    border: 1px solid rgba(15,23,42,.07) !important;
    box-shadow: 0 26px 70px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.80) !important;
    backdrop-filter: blur(20px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.12) !important;
  }

  .p4y-fhf-mobile-menu,
  .p4y-fhf-mobile-menu li,
  .p4y-fhf-mobile-menu .sub-menu {
    list-style: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
  }

  .p4y-fhf-mobile-menu > li + li {
    margin-top: 4px !important;
  }

  .p4y-fhf-mobile-menu > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 9px 42px 9px 42px !important;
    border-radius: 18px !important;
    color: #111827 !important;
    background: transparent !important;
    text-decoration: none !important;
    text-align: center !important;
    font-size: clamp(22px, 6vw, 31px) !important;
    line-height: 1.06 !important;
    font-weight: 900 !important;
    letter-spacing: -.045em !important;
    text-shadow: none !important;
  }

  .p4y-fhf-mobile-menu > li > a:hover,
  .p4y-fhf-mobile-menu > li > a:focus,
  .p4y-fhf-mobile-menu > li.is-open > a {
    background: #f4f7fb !important;
  }

  /* Nie dodajemy drugiego plusa. Jeżeli w menu nazwa brzmi Oferta+, zostaje tylko ten plus z nazwy. */
  .p4y-fhf-mobile-menu > li.menu-item-has-children > a::after {
    content: none !important;
    display: none !important;
  }

  .p4y-fhf-mobile-menu > li > .sub-menu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-5px) !important;
    margin: 0 !important;
    padding: 0 10px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transition: max-height .28s cubic-bezier(.2,.8,.2,1), opacity .22s ease, transform .22s ease, padding .22s ease, visibility .22s ease !important;
  }

  .p4y-fhf-mobile-menu > li.is-open > .sub-menu {
    max-height: 520px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    padding: 8px 10px 12px !important;
  }

  .p4y-fhf-mobile-menu > li > .sub-menu li + li {
    margin-top: 2px !important;
  }

  .p4y-fhf-mobile-menu > li > .sub-menu a {
    display: block !important;
    padding: 8px 10px !important;
    border-radius: 14px !important;
    text-align: center !important;
    color: #66758c !important;
    background: transparent !important;
    font-size: clamp(15px, 4.4vw, 19px) !important;
    line-height: 1.18 !important;
    font-weight: 760 !important;
    letter-spacing: -.025em !important;
    text-decoration: none !important;
  }

  .p4y-fhf-mobile-menu > li > .sub-menu a:hover,
  .p4y-fhf-mobile-menu > li > .sub-menu a:focus {
    background: #edf3fb !important;
    color: #111827 !important;
  }

  /* Po otwarciu burgera ma być tylko menu. Telefon zostaje w pasku, CTA/kalkulator w panelu nie. */
  .p4y-fhf-mobile-cta-wrap,
  .p4y-fhf-mobile-bottom,
  .p4y-fhf-mobile-phone,
  .p4y-fhf-cta-mobile {
    display: none !important;
  }
}

@media (max-width: 430px) {
  .p4y-fhf-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    padding: 7px 10px !important;
    gap: 8px !important;
  }

  .p4y-fhf-logo {
    max-width: 39vw !important;
  }

  .p4y-fhf-phone-desktop {
    min-width: 128px !important;
    max-width: 40vw !important;
  }

  .p4y-fhf-phone-desktop .p4y-fhf-phone-label {
    font-size: 10px !important;
  }

  .p4y-fhf-phone-desktop .p4y-fhf-phone-number {
    font-size: 15px !important;
  }

  .p4y-fhf-burger {
    width: 38px !important;
    height: 38px !important;
  }

  .p4y-fhf-mobile-menu-wrap {
    width: min(calc(100vw - 32px), 390px) !important;
    padding: 20px 16px 18px !important;
    border-radius: 28px !important;
  }
}

/* ===== P4Y 2.1.12 — mobile menu premium CTA + stable submenu toggles ===== */
@media (max-width: 980px) {
  .p4y-fhf-mobile-menu-wrap {
    padding: 24px 18px 22px !important;
  }

  .p4y-fhf-mobile-menu > li.p4y-fhf-mobile-calculator-duplicate {
    display: none !important;
  }

  .p4y-fhf-mobile-menu > li.p4y-fhf-has-toggle {
    position: relative !important;
  }

  .p4y-fhf-mobile-menu > li.p4y-fhf-has-toggle > a {
    padding-right: 72px !important;
    padding-left: 72px !important;
  }

  .p4y-fhf-submenu-toggle {
    position: absolute !important;
    right: 14px !important;
    top: 7px !important;
    width: 44px !important;
    height: 44px !important;
    border: 0 !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    background: linear-gradient(180deg, rgba(232,239,255,.96), rgba(211,224,252,.88)) !important;
    color: #2563eb !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 10px 24px rgba(37,99,235,.12) !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .p4y-fhf-submenu-toggle span {
    display: block !important;
    font-size: 26px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    transform: translateY(-1px) rotate(0deg) !important;
    transition: transform .22s cubic-bezier(.2,.8,.2,1) !important;
  }

  .p4y-fhf-mobile-menu > li.is-open > .p4y-fhf-submenu-toggle span {
    transform: translateY(-1px) rotate(45deg) !important;
  }

  .p4y-fhf-mobile-menu > li > .sub-menu {
    border-radius: 22px !important;
    margin: 4px 0 2px !important;
    background: linear-gradient(180deg, rgba(247,250,255,.96), rgba(240,245,253,.80)) !important;
  }

  .p4y-fhf-mobile-menu > li.is-open > .sub-menu {
    max-height: 620px !important;
    padding: 12px 10px 14px !important;
  }

  .p4y-fhf-mobile-cta-wrap {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 20px 0 0 !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid rgba(15,23,42,.08) !important;
  }

  .p4y-fhf-mobile-cta,
  .p4y-fhf-cta-mobile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: min(100%, 310px) !important;
    min-height: 58px !important;
    padding: 10px 14px 10px 24px !important;
    border-radius: 999px !important;
    background:
      radial-gradient(circle at 28% 0%, rgba(255,255,255,.32), transparent 36%),
      linear-gradient(180deg, #57a0ff 0%, #1f75ff 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -.035em !important;
    box-shadow: 0 18px 38px rgba(31,117,255,.24), inset 0 1px 0 rgba(255,255,255,.28) !important;
    transform: translateZ(0) !important;
  }

  .p4y-fhf-mobile-cta .p4y-fhf-cta-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.94) !important;
    color: #1f75ff !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 18px rgba(15,23,42,.12) !important;
  }
}

@media (max-width: 430px) {
  .p4y-fhf-mobile-menu > li.p4y-fhf-has-toggle > a {
    padding-left: 54px !important;
    padding-right: 62px !important;
  }

  .p4y-fhf-submenu-toggle {
    right: 10px !important;
    top: 7px !important;
    width: 40px !important;
    height: 40px !important;
  }

  .p4y-fhf-mobile-cta,
  .p4y-fhf-cta-mobile {
    width: min(100%, 280px) !important;
    min-height: 54px !important;
    font-size: 20px !important;
  }

  .p4y-fhf-mobile-cta .p4y-fhf-cta-icon {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }
}


/* ===== P4Y 2.1.15 minimal production fixes: panel variables, gold mobile, focus cleanup ===== */
.p4y-fhf-logo img{
  width: min(var(--p4y-fhf-logo-width, 220px), 100%);
  max-width: min(var(--p4y-fhf-logo-width, 220px), 100%);
}
.p4y-fhf-footer-logo img{
  width: min(var(--p4y-fhf-footer-logo-width, 220px), 100%);
  max-width: min(var(--p4y-fhf-footer-logo-width, 220px), 100%);
  max-height: var(--p4y-fhf-footer-logo-max-height, 36px);
}
.p4y-fhf-header-wrap a:focus,
.p4y-fhf-header-wrap button:focus,
.p4y-fhf-footer a:focus,
.p4y-fhf-header-wrap a:active,
.p4y-fhf-header-wrap button:active,
.p4y-fhf-footer a:active{
  outline: none !important;
  box-shadow: none !important;
}
@media (max-width: 980px){
  .p4y-fhf-submenu-toggle{
    background: linear-gradient(180deg, rgba(226,196,130,.98), rgba(183,138,50,.92)) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 10px 24px rgba(183,138,50,.18) !important;
  }
  .p4y-fhf-mobile-cta,
  .p4y-fhf-cta-mobile{
    background: radial-gradient(circle at 28% 0%, rgba(255,255,255,.32), transparent 36%), linear-gradient(180deg, #d8b46a 0%, #b78a32 100%) !important;
    box-shadow: 0 18px 38px rgba(183,138,50,.24), inset 0 1px 0 rgba(255,255,255,.28) !important;
  }
  .p4y-fhf-mobile-cta .p4y-fhf-cta-icon{
    color: #b78a32 !important;
  }
}


/* ===== P4Y 2.1.18 — finalna poprawka: złota ikonka CTA + większe logo bez ruszania układu ===== */
.p4y-fhf-logo {
  width: min(var(--p4y-fhf-logo-width, 320px), 100%) !important;
  max-width: min(var(--p4y-fhf-logo-width, 320px), 100%) !important;
}
.p4y-fhf-logo img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: var(--p4y-fhf-logo-max-height, 58px) !important;
  height: auto !important;
  object-fit: contain !important;
}
.p4y-fhf-footer-logo {
  width: min(var(--p4y-fhf-footer-logo-width, 460px), 100%) !important;
  max-width: 100% !important;
}
.p4y-fhf-footer-logo img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: var(--p4y-fhf-footer-logo-max-height, 110px) !important;
  height: auto !important;
  object-fit: contain !important;
}
.p4y-fhf-cta-icon {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.p4y-fhf-cta-icon svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  color: currentColor !important;
}
@media (max-width: 980px) {
  .p4y-fhf-logo {
    width: min(var(--p4y-fhf-logo-width, 320px), 48vw) !important;
    max-width: min(var(--p4y-fhf-logo-width, 320px), 48vw) !important;
  }
  .p4y-fhf-logo img {
    max-height: var(--p4y-fhf-logo-max-height-mobile, 40px) !important;
  }
  .p4y-fhf-mobile-cta,
  .p4y-fhf-cta-mobile {
    background:
      radial-gradient(circle at 28% 0%, rgba(255,255,255,.34), transparent 36%),
      linear-gradient(180deg, #d9b666 0%, #b98a2e 100%) !important;
    box-shadow: 0 18px 38px rgba(185,138,46,.24), inset 0 1px 0 rgba(255,255,255,.30) !important;
  }
  .p4y-fhf-mobile-cta .p4y-fhf-cta-icon,
  .p4y-fhf-cta-mobile .p4y-fhf-cta-icon {
    background: rgba(255,255,255,.96) !important;
    color: #b98a2e !important;
    text-shadow: none !important;
  }
  .p4y-fhf-mobile-cta .p4y-fhf-cta-icon svg,
  .p4y-fhf-cta-mobile .p4y-fhf-cta-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
  }
  .p4y-fhf-submenu-toggle {
    background: linear-gradient(180deg, rgba(226,196,130,.98), rgba(185,138,46,.94)) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 10px 24px rgba(185,138,46,.18) !important;
  }
}


/* ===== P4Y 2.1.20 — final logo + CTA icon visibility fix, layout unchanged ===== */
.p4y-fhf-logo {
  width: min(var(--p4y-fhf-logo-width, 390px), 100%) !important;
  max-width: min(var(--p4y-fhf-logo-width, 390px), 100%) !important;
}
.p4y-fhf-logo img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: var(--p4y-fhf-logo-max-height, 72px) !important;
  object-fit: contain !important;
}
.p4y-fhf-cta-icon svg,
.p4y-fhf-cta-icon svg path {
  stroke: currentColor !important;
  color: currentColor !important;
}
@media (max-width: 980px) {
  .p4y-fhf-logo {
    width: min(var(--p4y-fhf-logo-width, 390px), 52vw) !important;
    max-width: min(var(--p4y-fhf-logo-width, 390px), 52vw) !important;
  }
  .p4y-fhf-logo img {
    max-height: var(--p4y-fhf-logo-max-height-mobile, 48px) !important;
  }
  .p4y-fhf-mobile-cta .p4y-fhf-cta-icon,
  .p4y-fhf-cta-mobile .p4y-fhf-cta-icon {
    background: rgba(255,255,255,.96) !important;
    color: #8f6418 !important;
  }
  .p4y-fhf-mobile-cta .p4y-fhf-cta-icon svg,
  .p4y-fhf-cta-mobile .p4y-fhf-cta-icon svg,
  .p4y-fhf-mobile-cta .p4y-fhf-cta-icon svg path,
  .p4y-fhf-cta-mobile .p4y-fhf-cta-icon svg path {
    stroke: #8f6418 !important;
    color: #8f6418 !important;
  }
}


/* =========================================================
   P4Y FINAL 2.1.20 — hard logo scale + gold CTA icon
   Tylko wymuszenie realnego rozmiaru logo i strzałki CTA.
   ========================================================= */
@media (min-width: 981px) {
  .p4y-fhf-logo {
    width: auto !important;
    max-width: min(var(--p4y-fhf-logo-width, 520px), 32vw) !important;
    overflow: visible !important;
  }
  .p4y-fhf-logo img {
    height: var(--p4y-fhf-logo-max-height, 90px) !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: var(--p4y-fhf-logo-max-height, 90px) !important;
    object-fit: contain !important;
  }
}
@media (max-width: 980px) {
  .p4y-fhf-logo {
    width: auto !important;
    max-width: min(var(--p4y-fhf-logo-width, 520px), 46vw) !important;
    overflow: visible !important;
  }
  .p4y-fhf-logo img {
    height: var(--p4y-fhf-logo-max-height-mobile, 56px) !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: var(--p4y-fhf-logo-max-height-mobile, 56px) !important;
    object-fit: contain !important;
  }
}
.p4y-fhf-cta-icon svg { display: none !important; }
.p4y-fhf-cta-icon::before {
  content: "↗" !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #9b6b18 !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  transform: translateY(-1px) !important;
}
.p4y-fhf-mobile-cta .p4y-fhf-cta-icon,
.p4y-fhf-cta-mobile .p4y-fhf-cta-icon {
  background: #fff !important;
  color: #9b6b18 !important;
}
.p4y-fhf-footer-logo {
  width: min(var(--p4y-fhf-footer-logo-width, 620px), 100%) !important;
}
.p4y-fhf-footer-logo img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: var(--p4y-fhf-footer-logo-max-height, 150px) !important;
  height: auto !important;
  object-fit: contain !important;
}


/* ===== P4Y FINAL 2.1.22: desktop logo reduced, mobile unchanged, white CTA arrow ===== */
@media (min-width: 981px){
  .p4y-fhf-logo{width:min(var(--p4y-fhf-logo-width,420px),28vw)!important;max-width:min(var(--p4y-fhf-logo-width,420px),28vw)!important;overflow:visible!important;}
  .p4y-fhf-logo img{width:100%!important;height:auto!important;max-height:var(--p4y-fhf-logo-max-height,74px)!important;object-fit:contain!important;}
}
@media (max-width: 980px){
  .p4y-fhf-logo{width:min(var(--p4y-fhf-logo-width,440px),48vw)!important;max-width:min(var(--p4y-fhf-logo-width,440px),48vw)!important;}
  .p4y-fhf-logo img{max-height:var(--p4y-fhf-logo-max-height-mobile,62px)!important;}
}
.p4y-fhf-cta-icon{background:linear-gradient(180deg,#d8b46a 0%,#b78a32 100%)!important;color:#fff!important;}
.p4y-fhf-cta-icon svg{display:block!important;width:18px!important;height:18px!important;color:#fff!important;stroke:#fff!important;fill:none!important;opacity:1!important;}
.p4y-fhf-cta-icon svg path{stroke:#fff!important;fill:none!important;opacity:1!important;}
.p4y-fhf-cta-icon::before{content:none!important;display:none!important;}

/* ===== P4Y 2.1.23 — footer logo panel fix ===== */
.p4y-fhf-footer-logo{
  display:inline-flex!important;
  align-items:center!important;
  width:var(--p4y-fhf-footer-logo-width,520px)!important;
  max-width:100%!important;
  overflow:visible!important;
}
.p4y-fhf-footer-logo img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:var(--p4y-fhf-footer-logo-max-height,120px)!important;
  object-fit:contain!important;
}
.p4y-fhf-cta-icon::before,
.p4y-fhf-mobile-cta .p4y-fhf-cta-icon::before,
.p4y-fhf-cta-mobile .p4y-fhf-cta-icon::before{
  color:#fff!important;
}

/* ===== P4Y 2.1.27 — stopka: klikalne submenu i ochrona przed szerokim selektorem footera motywu ===== */
.p4y-fhf-footer{
  display:block!important;
  pointer-events:auto!important;
}
.p4y-fhf-footer a{
  pointer-events:auto!important;
}
.p4y-fhf-footer-menu .sub-menu{
  list-style:none!important;
  margin:10px 0 0!important;
  padding:0 0 0 14px!important;
  border-left:1px solid rgba(255,255,255,.10)!important;
}
.p4y-fhf-footer-menu .sub-menu li{
  margin:0 0 8px!important;
}
.p4y-fhf-footer-menu .sub-menu a{
  font-size:calc(var(--p4y-fhf-footer-link-size, 15px) - 1px)!important;
  opacity:.82!important;
}
.p4y-fhf-footer-menu .sub-menu a:hover,
.p4y-fhf-footer-menu .sub-menu a:focus{
  opacity:1!important;
}

/* ===== P4Y 2.1.28 — stopka mobile: dzieci menu rozwijane po kliknięciu jak w headerze ===== */
@media (max-width: 980px){
  .p4y-fhf-footer-menu > li > .sub-menu{
    max-height:0!important;
    overflow:hidden!important;
    opacity:0!important;
    transform:translateY(-4px)!important;
    margin:0!important;
    padding:0 0 0 14px!important;
    transition:max-height .24s ease,opacity .24s ease,transform .24s ease,margin .24s ease!important;
  }
  .p4y-fhf-footer-menu > li.is-open > .sub-menu{
    max-height:520px!important;
    opacity:1!important;
    transform:translateY(0)!important;
    margin:10px 0 0!important;
  }
}


/* ===== P4Y 2.1.29 — stopka: pewne kliki mobile + submenu jak w headerze na laptopie ===== */
.p4y-fhf-footer,
.p4y-fhf-footer-inner,
.p4y-fhf-footer-cols,
.p4y-fhf-footer-col,
.p4y-fhf-footer-menu,
.p4y-fhf-footer-menu li,
.p4y-fhf-footer-menu a,
.p4y-fhf-footer-links,
.p4y-fhf-footer-links li,
.p4y-fhf-footer-links a{
  pointer-events:auto!important;
}
.p4y-fhf-footer-inner,
.p4y-fhf-footer-cols,
.p4y-fhf-footer-col{
  position:relative!important;
  z-index:3!important;
}
.p4y-fhf-footer-menu > li{
  position:relative!important;
}
.p4y-fhf-footer-menu a,
.p4y-fhf-footer-links a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:rgba(255,255,255,.12)!important;
}
.p4y-fhf-footer-menu > li > .sub-menu{
  max-height:0!important;
  overflow:hidden!important;
  opacity:0!important;
  transform:translateY(-6px)!important;
  margin:0!important;
  padding:0 0 0 14px!important;
  border-left:1px solid rgba(255,255,255,.10)!important;
  pointer-events:none!important;
  transition:max-height .24s ease,opacity .24s ease,transform .24s ease,margin .24s ease!important;
}
.p4y-fhf-footer-menu > li > .sub-menu a{
  pointer-events:auto!important;
}
@media (min-width:981px){
  .p4y-fhf-footer-menu > li:hover > .sub-menu,
  .p4y-fhf-footer-menu > li:focus-within > .sub-menu,
  .p4y-fhf-footer-menu > li.is-open > .sub-menu{
    max-height:520px!important;
    opacity:1!important;
    transform:translateY(0)!important;
    margin:10px 0 0!important;
    pointer-events:auto!important;
  }
}
@media (max-width:980px){
  .p4y-fhf-footer{
    position:relative!important;
    z-index:5!important;
  }
  .p4y-fhf-footer-menu a,
  .p4y-fhf-footer-links a{
    min-height:34px!important;
  }
  .p4y-fhf-footer-menu > li.is-open > .sub-menu{
    max-height:520px!important;
    opacity:1!important;
    transform:translateY(0)!important;
    margin:10px 0 0!important;
    pointer-events:auto!important;
  }
}


/* ===== P4Y 2.1.30 — stopka mobile: odblokowanie klików Social Media / kontakt ===== */
.p4y-fhf-footer-col::before,
.p4y-fhf-footer-col::after,
.p4y-fhf-footer-inner::before,
.p4y-fhf-footer-inner::after,
.p4y-fhf-footer-cols::before,
.p4y-fhf-footer-cols::after{
  pointer-events:none!important;
}
.p4y-fhf-footer-links,
.p4y-fhf-footer-links li,
.p4y-fhf-legal-links{
  position:relative!important;
  z-index:20!important;
  pointer-events:auto!important;
}
.p4y-fhf-footer-links a,
.p4y-fhf-legal-links a,
.p4y-fhf-footer-logo{
  position:relative!important;
  z-index:30!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
@media (max-width:980px){
  .p4y-fhf-footer,
  .p4y-fhf-footer-inner,
  .p4y-fhf-footer-cols,
  .p4y-fhf-footer-col{
    isolation:isolate!important;
  }
  .p4y-fhf-footer-links a,
  .p4y-fhf-legal-links a{
    display:inline-flex!important;
    align-items:center!important;
    width:auto!important;
    max-width:100%!important;
    min-height:40px!important;
    padding:2px 0!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:rgba(255,255,255,.16)!important;
  }
}


/* ===== P4Y 2.1.31 — stopka mobile: odblokowanie całej stopki + usunięcie niewidzialnego hitboxa menu headera ===== */
@media (max-width:980px){
  .p4y-fhf-header-shell{
    pointer-events:none!important;
  }
  .p4y-fhf-header-inner,
  .p4y-fhf-header-inner *,
  .p4y-fhf-mobile-panel.is-open,
  .p4y-fhf-mobile-panel.is-open *{
    pointer-events:auto!important;
  }
  .p4y-fhf-mobile-panel:not(.is-open){
    display:none!important;
    height:0!important;
    max-height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  .p4y-fhf-mobile-panel.is-open{
    display:block!important;
  }
  .p4y-fhf-footer{
    position:relative!important;
    z-index:50!important;
    pointer-events:auto!important;
  }
  .p4y-fhf-footer-inner,
  .p4y-fhf-footer-cols,
  .p4y-fhf-footer-col,
  .p4y-fhf-footer-menu,
  .p4y-fhf-footer-menu li,
  .p4y-fhf-footer-links,
  .p4y-fhf-footer-links li,
  .p4y-fhf-legal-links{
    position:relative!important;
    z-index:55!important;
    pointer-events:auto!important;
  }
  .p4y-fhf-footer-menu a,
  .p4y-fhf-footer-links a,
  .p4y-fhf-legal-links a,
  .p4y-fhf-footer-logo{
    position:relative!important;
    z-index:70!important;
    pointer-events:auto!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:rgba(255,255,255,.16)!important;
  }
  .p4y-fhf-footer-col h3{
    pointer-events:none!important;
  }
}
