/* ==========================================================================
   U KOWALSKICH — warstwa wspólna (Finzo design system, paleta brandowa)
   Tokeny · przyciski · topbar · nawigacja z MEGA MENU · stopka · loader
   ========================================================================== */

:root {
  --white: #FFFFFF;
  --ink: #0F2339;
  --ink-soft: #5B6B7C;
  --ink-line: #E4E9EF;
  --card: #F2F4F7;
  --dark: #0C1C2E;
  --gold: #A0835B;
  --gold-dark: #77603F;
  --gold-soft: #C6A87F;
  --paper-on-ink: #F2F4F9;

  --r-pill: 999px;
  --r-card: 24px;
  --r-big: 40px;

  /* geometria: cały kontent równa się do wnętrza karty stopki (1420px + card-pad) */
  --shell-pad: clamp(12px, 2vw, 28px);
  --card-pad: clamp(28px, 5vw, 80px);
  --container: 100%;
  --pad-x: calc(max((100vw - 1420px) / 2, var(--shell-pad)) + var(--card-pad));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* mobile: węższe marginesy — cała geometria (kontent + karta stopki + panel)
   pochodzi z tych tokenów, więc wyrównanie zostaje idealne */
@media (max-width: 640px) {
  :root {
    --shell-pad: 10px;
    --card-pad: 14px;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--navy { background: var(--ink); color: var(--white); }
.btn--navy:hover { background: var(--dark); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-dark); }
.btn--outline { border: 1px solid var(--ink-line); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--ink); }
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn__arrow { display: inline-block; transition: transform 0.2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
}
.ic--gold { background: var(--gold); color: var(--white); }
.ic svg { width: 20px; height: 20px; }
.ic--xl { width: 72px; height: 72px; }
.ic--xl svg { width: 30px; height: 30px; }
.ic--sm { width: 38px; height: 38px; border-radius: 12px; }
.ic--sm svg { width: 17px; height: 17px; }

/* ==========================================================================
   TOPBAR
   ========================================================================== */

.topbar {
  background: var(--ink);
  color: var(--paper-on-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 9px var(--pad-x);
  font-size: 12.5px;
}
.topbar__addr { opacity: 0.85; }
.topbar__links { display: flex; gap: 22px; align-items: center; }
.topbar__tel { font-weight: 600; }
.topbar__pill {
  border: 1px solid rgba(242, 244, 249, 0.4);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}
.topbar a:hover { color: var(--gold-soft); }

/* ==========================================================================
   NAWIGACJA + MEGA MENU
   ========================================================================== */

.nav {
  max-width: var(--container);
  margin-inline: auto;
  padding: 26px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
.nav__logo { position: relative; z-index: 26; }
.nav__logo img { height: 20px; width: auto; }
.nav__links { display: flex; gap: 34px; align-items: center; font-size: 15px; font-weight: 500; }
.nav__links a { color: var(--ink); transition: color 0.2s var(--ease); }
.nav__links a:hover { color: var(--gold-dark); }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__login { font-size: 15px; font-weight: 500; }
.nav__login:hover { color: var(--gold-dark); }
.nav__burger { display: none; }

.nav__item { position: static; }
.nav__item > a::after {
  content: "▾";
  font-size: 9px;
  margin-left: 6px;
  opacity: 0.5;
  vertical-align: 2px;
  transition: transform 0.2s var(--ease);
  display: inline-block;
}
.nav__item:hover > a::after { transform: rotate(180deg); }

/* zwykłe dropdowny (O firmie, Blog) */
.nav__item--drop { position: relative; }
.nav__item--drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.nav__drop {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 270px;
  background: var(--white);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  z-index: 40;
  box-shadow: 0 30px 70px rgba(15, 35, 57, 0.14);
}
.nav__item--drop:hover .nav__drop, .nav__item--drop:focus-within .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.nav__drop a { padding: 11px 14px; border-radius: 10px; font-size: 14.5px; }
.nav__drop a:hover { background: var(--card); color: var(--ink); }

/* MEGA MENU (Oferta) */
.nav__item--mega::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; display: none; }
.nav__item--mega:hover::before { display: block; }
.mega {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(960px, calc(100vw - 2 * var(--pad-x)));
  background: var(--white);
  border: 1px solid var(--ink-line);
  border-radius: 24px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0s linear 0.24s;
  z-index: 40;
  box-shadow: 0 40px 90px rgba(15, 35, 57, 0.18);
}
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}
.mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-content: start;
}
.mega__link {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  transition: background 0.2s var(--ease);
}
.mega__link:hover { background: var(--card); }
.mega__link strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.mega__link span:last-child { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.45; margin-top: 3px; }
.mega__promo {
  background: var(--dark);
  color: var(--white);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.mega__promo::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(160, 131, 91, 0.55) 0%, transparent 68%);
}
.mega__promo strong { font-size: 19px; font-weight: 600; line-height: 1.25; position: relative; z-index: 1; }
.mega__promo p { font-size: 13.5px; color: rgba(242, 244, 249, 0.65); position: relative; z-index: 1; }
.mega__promo .btn { position: relative; z-index: 1; margin-top: 6px; }
.mega__tel {
  position: relative;
  z-index: 1;
  font-weight: 600;
  font-size: 17px;
  color: #D8BE97;
}
.mega__tel:hover { color: var(--white); }

/* ==========================================================================
   STOPKA (ciemny zaokrąglony blok)
   ========================================================================== */

.footer { padding: 0 var(--shell-pad) 0; }
.footer__card {
  max-width: 1420px;
  margin-inline: auto;
  background: var(--dark);
  color: var(--paper-on-ink);
  border-radius: var(--r-big);
  padding: clamp(44px, 6vw, 80px) var(--card-pad) clamp(36px, 5vw, 56px);
}
.footer__cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.footer__cta-copy h2 {
  margin-top: 26px;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 15ch;
}
.footer__cta-copy p { margin-top: 16px; color: rgba(242, 244, 249, 0.6); font-size: 16.5px; }
.footer__cta-label { display: block; font-size: 14.5px; font-weight: 500; margin-bottom: 14px; color: rgba(242, 244, 249, 0.8); }
.footer__cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.footer__phone {
  background: #1B3350;
  border-radius: var(--r-pill);
  padding: 15px 28px;
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  transition: background 0.2s var(--ease);
}
.footer__phone:hover { background: #24405F; }
.footer__rule { border: 0; border-top: 1px solid rgba(242, 244, 249, 0.12); margin: clamp(36px, 5vw, 56px) 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr 1.1fr;
  gap: clamp(24px, 3vw, 40px);
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__brand img { height: 18px; width: auto; }
.footer__brand p { font-size: 14px; color: rgba(242, 244, 249, 0.55); line-height: 1.6; max-width: 260px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer__col a { color: rgba(242, 244, 249, 0.68); transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--gold-soft); }
.footer__label { font-weight: 600; font-size: 15px; color: var(--white); margin-bottom: 6px; }
.footer__bottom {
  padding: 22px var(--pad-x) 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer__made { font-weight: 500; color: var(--ink-soft); }
.footer__made:hover { color: var(--ink); }
.footer__heart { color: var(--gold); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s var(--ease);
}
.footer__social a:hover { background: var(--gold-dark); }

/* ==========================================================================
   DOCK — mobilny pasek kontaktowy (znika przy stopce)
   ========================================================================== */

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 18;
  display: flex;
  gap: 10px;
  background: rgba(12, 28, 46, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 18px 50px rgba(15, 35, 57, 0.35);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.dock.is-hidden {
  opacity: 0;
  transform: translateY(14px);
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
}
.dock__tel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(242, 244, 249, 0.1);
  border-radius: 14px;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 10px;
  white-space: nowrap;
}
.dock__tel svg { width: 16px; height: 16px; flex: none; }
.dock .btn {
  flex: 1.15;
  justify-content: center;
  border-radius: 14px;
  padding: 13px 10px;
  font-size: 15px;
  white-space: nowrap;
}
.dock__copy { display: none; }
.dock__mail { display: none; }
.dock__act { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; }

@media (min-width: 861px) {
  .dock {
    left: var(--shell-pad);
    right: var(--shell-pad);
    max-width: 1420px;
    margin-inline: auto;
    bottom: 14px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 16px 16px 30px;
    border-radius: 24px;
  }
  .dock__copy { display: block; color: var(--white); min-width: 0; }
  .dock__copy strong { display: block; font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; }
  .dock__copy span { display: block; font-size: 13px; color: rgba(242, 244, 249, 0.6); margin-top: 2px; }
  .dock__act { flex: none; gap: 16px; }
  .dock__tel { flex: none; padding: 13px 24px; }
  .dock__mail {
    display: inline;
    font-size: 14.5px;
    color: rgba(242, 244, 249, 0.8);
    text-decoration: underline;
    text-decoration-color: rgba(198, 168, 127, 0.5);
    white-space: nowrap;
  }
  .dock__mail:hover { color: var(--gold-soft); }
  .dock .btn { flex: none; padding: 13px 26px; }
}

/* ==========================================================================
   LOADER + REVEAL
   ========================================================================== */

.loader {
  position: fixed;
  inset: 0;
  /* nad wszystkimi nakładkami (czat 1100-1150, zgody 1300, rezerwacja 1400) */
  z-index: 2000;
  background: var(--ink);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 26px;
}
html.js .loader { display: flex; }
.loader__logo { position: relative; width: clamp(100px, 13vw, 140px); }
.loader__logo img { display: block; width: 100%; height: auto; }
.loader__ghost { opacity: 0.16; }
.loader__fill {
  position: absolute;
  inset: 0;
  animation: loader-fill 1.9s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
@keyframes loader-fill {
  0%   { clip-path: inset(100% 0 0 0); opacity: 1; }
  62%  { clip-path: inset(0 0 0 0); opacity: 1; }
  82%  { clip-path: inset(0 0 0 0); opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 0; }
}
.loader__word { display: flex; flex-direction: column; align-items: center; gap: 11px; }
.loader__word img { height: 16px; width: auto; opacity: 0.94; }
.loader__word em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.loader { transition: opacity 0.25s var(--ease); }
.loader.is-done { opacity: 0; visibility: hidden; transition: opacity 0.55s var(--ease), visibility 0s linear 0.55s; }

html.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .loader { display: none !important; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .btn, .btn__arrow, .mega, .nav__drop { transition: none; }
}

/* ==========================================================================
   MOBILE: mega menu pełnoekranowe
   ========================================================================== */

@media (max-width: 1080px) {
  .footer__cta { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .topbar { flex-direction: column; align-items: center; gap: 5px; padding: 8px var(--pad-x); }
  .topbar__addr { font-size: 11.5px; text-align: center; line-height: 1.35; }
  .topbar__links { gap: 16px; }
  .topbar__mail { display: none; }

  .nav { padding: 18px var(--pad-x); }
  .nav__right { display: none; }
  .nav__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
    position: relative;
    z-index: 26;
    min-width: 44px;
    min-height: 44px;
  }
  .nav__burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease); }
  .nav.is-open .nav__burger span { background: var(--paper-on-ink); }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav.is-open .nav__logo img { filter: brightness(0) invert(1); }

  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 25;
    background: linear-gradient(160deg, #12294a 0%, var(--ink) 55%, #0A1826 100%);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 150px var(--pad-x) 44px;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
    overflow-y: auto;
  }
  .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav__links > a {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    padding: 11px 0;
    border-bottom: 1px solid rgba(242, 244, 249, 0.1);
  }
  .nav__links > a:hover { color: var(--gold-soft); }

  .nav__item { display: block; padding: 11px 0; border-bottom: 1px solid rgba(242, 244, 249, 0.1); }
  .nav__item > a { color: var(--white); font-size: 22px; font-weight: 700; }
  .nav__item > a::after { content: none; }
  .nav__item--drop::after, .nav__item--mega::before { content: none; }

  .nav__drop, .mega {
    position: static;
    width: auto;
    min-width: 0;
    transform: none;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 12px 0 4px 4px;
    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .nav__drop a { color: var(--gold-soft); font-size: 15.5px; padding: 6px 0; border-radius: 0; }
  .nav__drop a:hover { background: none; color: var(--white); }

  .mega { grid-template-columns: 1fr; gap: 4px; }
  .mega__grid { grid-template-columns: 1fr; gap: 4px; }
  .mega__link { padding: 8px 0; gap: 12px; border-radius: 0; }
  .mega__link:hover { background: none; }
  .mega__link .ic { width: 34px; height: 34px; border-radius: 10px; }
  .mega__link .ic svg { width: 15px; height: 15px; }
  .mega__link strong { color: var(--gold-soft); font-size: 16px; }
  .mega__link:hover strong { color: var(--white); }
  .mega__link span:last-child { color: rgba(242, 244, 249, 0.45); font-size: 12.5px; }
  .mega__promo { display: none; }

  /* kontakt na dole menu */
  .nav__menu-cta {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .nav__menu-cta .footer__phone { text-align: center; }
  .nav__menu-cta .btn { justify-content: center; }

  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { justify-content: center; text-align: center; }
}

@media (min-width: 861px) {
  .nav__menu-cta { display: none; }
}

/* połączona kapsuła Panel klienta + Zapytaj o obsługę — segment control:
   granatowa kapsuła-tło, złota pigułka wewnątrz */
.nav__duo {
  display: inline-flex; align-items: stretch; gap: 4px;
  background: var(--ink); border-radius: var(--r-pill); padding: 4px;
}
.nav__duo .btn { border-radius: var(--r-pill); padding-top: 10px; padding-bottom: 10px; }
.nav__duo .btn--navy { background: transparent; }
.nav__duo .btn--navy:hover { background: rgba(255, 255, 255, 0.08); color: var(--gold-soft); }
@media (max-width: 1080px) {
  .nav__menu-cta .nav__duo { width: 100%; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
  .nav__menu-cta .nav__duo .btn { flex: 1; }
}

/* przyciski w menu mobilnym: .nav__links a nadpisywał kolor tekstu
   (granatowy na granatowym — niewidoczny) */
.nav__links a.btn--gold, .nav__links a.btn--navy { color: var(--white); }
/* bąbelek czatu nie zasłania otwartego menu mobilnego */
body:has(.nav.is-open) .ukchat-fab, body:has(.nav.is-open) .ukchat-teaser { opacity: 0; pointer-events: none; }

/* ===== menu mobilne v2: pasek stały, akordeony, dolny blok CTA ===== */
@media (max-width: 860px) {
  /* pasek z logo dostaje tło — treść przewija się POD nim, nie przez niego */
  .nav.is-open {
    position: sticky; top: 0; z-index: 27;
    background: #12294a;
    border-bottom: 1px solid rgba(242, 244, 249, 0.12);
  }
  .nav__links { padding-top: 118px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }

  /* wiersze menu: wygodne cele dotykowe + kaskada wejścia */
  .nav__links > a, .nav__item > a { min-height: 52px; display: flex; align-items: center; }
  .nav.is-open .nav__links > * { animation: navRowIn 0.4s var(--ease) backwards; }
  .nav.is-open .nav__links > *:nth-child(1) { animation-delay: 0.05s; }
  .nav.is-open .nav__links > *:nth-child(2) { animation-delay: 0.09s; }
  .nav.is-open .nav__links > *:nth-child(3) { animation-delay: 0.13s; }
  .nav.is-open .nav__links > *:nth-child(4) { animation-delay: 0.17s; }
  .nav.is-open .nav__links > *:nth-child(5) { animation-delay: 0.21s; }
  .nav.is-open .nav__links > *:nth-child(6) { animation-delay: 0.25s; }
  .nav.is-open .nav__links > *:nth-child(7) { animation-delay: 0.29s; }

  /* akordeony: podmenu zwinięte, chevron w wierszu rodzica */
  .nav__item--drop > a, .nav__item--mega > a { justify-content: space-between; gap: 12px; }
  .nav__item--drop > a::before, .nav__item--mega > a::before {
    content: ''; order: 2; flex: none; width: 9px; height: 9px;
    border-right: 2.5px solid var(--gold-soft); border-bottom: 2.5px solid var(--gold-soft);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s var(--ease);
  }
  .nav__item.is-exp > a::before { transform: rotate(225deg) translateY(-2px); }
  .nav__item--drop .nav__drop, .nav__item--mega .mega { display: none; }
  .nav__item.is-exp .nav__drop, .nav__item.is-exp .mega { display: flex; animation: navAccIn 0.28s var(--ease); }
  /* sticky :hover po tapnięciu wciągał desktopowy translateX(-50%) */
  .nav__item--drop:hover .nav__drop, .nav__item--mega:hover .mega,
  .nav__item--drop:focus-within .nav__drop, .nav__item--mega:focus-within .mega,
  .nav__item.is-exp .nav__drop, .nav__item.is-exp .mega {
    position: static; left: auto; transform: none; opacity: 1; visibility: visible;
  }
  .nav__item.is-exp .mega { flex-direction: column; }
  .nav__drop a, .nav__drop-self { min-height: 44px; display: flex; align-items: center; }
  .nav__drop-self { color: var(--white); font-size: 15.5px; font-weight: 600; }
  .mega__grid .nav__drop-self { padding: 8px 0; }
  .mega__link { min-height: 48px; align-items: center; }

  /* dolny blok: telefon + kapsuła, dopchnięty do dołu */
  .nav__menu-cta { margin-top: auto; padding-top: 22px; }
  .nav__menu-cta .footer__phone {
    min-height: 50px; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 17px;
    border: 1px solid rgba(242, 244, 249, 0.2); border-radius: var(--r-pill);
  }
  .nav__menu-cta .nav__duo .btn { min-height: 52px; font-size: 14.5px; }
}
@keyframes navRowIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes navAccIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .nav.is-open .nav__links > *, .nav__item.is-exp .nav__drop, .nav__item.is-exp .mega { animation: none; }
}
