/* ============================================
   WM Consulting – style.css
   ============================================ */

/* === LOCAL FONTS === */
/* Montserrat */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/montserrat-v31-latin-300.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-v31-latin-regular.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat-v31-latin-500.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-v31-latin-600.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-v31-latin-700.woff2?v=2') format('woff2');
}

/* Playfair Display */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-regular.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-italic.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-500.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-500italic.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-600.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-600italic.woff2?v=2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-display-v40-latin-700.woff2?v=2') format('woff2');
}

/* === DESIGN TOKENS === */
:root {
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --gold-dark: #A8882E;
  --black: #1A1A1A;
  --graphite: #2D2D2D;
  --white: #FFFFFF;
  --off-white: #F9F7F4;
  --text: #2D2D2D;
  --text-muted: #6B6B6B;
  --border: rgba(201,168,76,0.25);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 28px rgba(0,0,0,0.11);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.15);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.32s ease;
  --nav-h: 72px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; width: 100%; }

/* Kompensacja sticky nawigacji przy skoku do sekcji */
section[id], footer[id] { scroll-margin-top: var(--nav-h); }


body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 90px 0; }
.section--alt { background: var(--off-white); }

/* === SECTION LABELS & TITLES === */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 28px;
}

.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-title { margin-bottom: 0; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn--dark:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeUp 0.75s ease both;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000; /* Wyższy niż mobile-nav (9999) — hamburger zawsze widoczny */
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.09);
}
/* Header gdy menu mobilne otwarte: przezroczyste tło, tylko logo + X są widoczne */
.header.menu-open {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* === TOPBAR === */
.topbar {
  background: #090703;
  border-bottom: 1px solid rgba(201, 168, 76, 0.22);
  font-size: 0.81rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  height: 40px;
  display: flex;
  align-items: center;
  transition: margin-top 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  z-index: 1001;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.topbar__left {
  display: flex;
  gap: 28px;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar__icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
  stroke-width: 2.2px;
}

.topbar__item a {
  color: rgba(255, 255, 255, 0.92);
  transition: color var(--transition);
}

.topbar__item a:hover {
  color: var(--gold);
}

.topbar__right {
  display: flex;
  align-items: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.header.scrolled .topbar {
  margin-top: -40px;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   TOPBAR RWD - Inteligentne dopasowanie do tabletów i telefonów
   ========================================================================== */

/* Dla tabletów i średnich ekranów (576px do 991px - np. MatePad w pionie)
   Ukrywamy długi adres i godziny pracy, zostawiając i centrując tylko klikalny Telefon oraz Email */
@media (max-width: 991px) {
  .topbar__left .topbar__item:first-child,
  .topbar__right {
    display: none;
  }
  .topbar__inner {
    justify-content: center;
  }
  .topbar__left {
    gap: 32px;
  }
}

/* Ukrycie całego topbaru na małych telefonach (poniżej 575px) */
@media (max-width: 575px) {
  .topbar {
    display: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav__logo {
  position: relative;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
  gap: 1px;
  transition: opacity var(--transition);
}
.nav__logo:hover { opacity: 0.8; }

/* Monogram "WM" — Playfair Display, duże, białe */
.nav__logo-monogram {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1;
  transition: color var(--transition);
}

/* Podpis "Consulting" — Montserrat, mały uppercase */
.nav__logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  line-height: 1;
  transition: color var(--transition);
}

/* Na scrollowanym (białym) headerze — ciemny kolor liter */
.header.scrolled .nav__logo-monogram { color: var(--black); }
.header.scrolled .nav__logo-sub { color: var(--text-muted); }

/* Gdy menu otwarte — zawsze białe (na ciemnym tle overlay) */
.header.menu-open .nav__logo-monogram { color: var(--white); }
.header.menu-open .nav__logo-sub { color: rgba(255,255,255,0.55); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.02em;
}
.header.scrolled .nav__link { color: var(--black); }

.nav__link:hover, .nav__link.active {
  color: var(--gold);
}

.nav__link--cta {
  background: var(--gold);
  color: var(--black) !important;
  padding: 9px 22px;
  border-radius: 50px;
}
.nav__link--cta:hover {
  background: var(--gold-dark);
  color: var(--black) !important;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
  position: relative;
}
.nav__hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.header.scrolled .nav__hamburger span { background: var(--black); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO — BOTTOM-ANCHORED EDITORIAL
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center; /* wyśrodkowanie w pionie */
  background:
    linear-gradient(to top,
      rgba(8,6,2,0.95) 0%,
      rgba(8,6,2,0.75) 35%,
      rgba(8,6,2,0.3) 65%,
      rgba(8,6,2,0.05) 100%),
    linear-gradient(to right,
      rgba(8,6,2,0.6) 0%,
      transparent 55%),
    url('../images/hero.jpg') center 30% / cover no-repeat;
  overflow: hidden;
}

/* Watermark "WM" */
.hero__watermark {
  position: absolute;
  top: 50%;
  right: -2vw;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(18rem, 28vw, 30rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Pills pionowe po prawej stronie */
.hero__pills {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}
.hero__pills span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding: 10px 4px;
  border-bottom: 1px solid rgba(201,168,76,0.25);
}
.hero__pills span:first-child { border-bottom: none; }

/* Content wrapper */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 0;
  padding-top: var(--nav-h);
}
.hero__content-inner {
  max-width: 680px;
}

/* Branding top bar */
.hero__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  animation-delay: 0s;
}
.hero__brand-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__brand-sep {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}
.hero__brand-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* Headline — główny tytuł */
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 28px;
  animation-delay: 0.1s;
}
.hero__headline em {
  font-style: italic;
  color: var(--gold);
}

/* Złota pozioma linia */
.hero__rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 28px;
  opacity: 0.7;
}

/* Dół: opis + akcje */
.hero__bottom {
  animation-delay: 0.25s;
}
.hero__desc {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Ghost button (drugi CTA) */
.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 14px 28px;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  transform: translateY(-2px);
}



.about {
  padding: 0 !important;
}

.about-editorial { overflow: hidden; }

.about-editorial__top {
  padding-top: 80px;
  padding-bottom: 80px;
}

.about-editorial__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-editorial__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 0;
}
.about-editorial__title em {
  font-style: italic;
  color: var(--gold);
}

.about__text {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.97rem;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Quote band — dark strip full width */
.about-editorial__quote-band {
  background: var(--black);
  padding: 64px 0;
}
.about-editorial__quote-inner {
  position: relative;
  max-width: 820px;
}
.about-editorial__quote-mark {
  font-family: var(--font-serif);
  font-size: 8rem;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: -20px;
  pointer-events: none;
  user-select: none;
}
.about-editorial__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  padding-left: 48px;
  border: none;
  background: none;
}
.about-editorial__quote-attr {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 48px;
  margin-top: 20px;
}

/* Wave divider */
.wave-divider { line-height: 0; margin-bottom: -1px; }
.wave-divider svg { width: 100%; height: auto; }

/* ============================================
   WHY MAGAZINE
   ============================================ */
.why {
  padding: 0 !important;
}

.why-magazine { overflow: hidden; }

.why-magazine__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.why-magazine__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 24px;
}
.why-magazine__headline em {
  font-style: italic;
  color: var(--gold);
}

.why-magazine__lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 380px;
}

.why-magazine__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.why-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.why-item:scale-up {
  transition: transform 0.3s ease;
}
.why-item:nth-child(odd) {
  border-right: 1px solid rgba(0,0,0,0.07);
  padding-right: 36px;
}
.why-item:nth-child(even) {
  padding-left: 36px;
}
.why-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.why-item__label {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.2;
}
.why-item:nth-child(odd) .why-item__label { color: var(--gold-dark); }
.why-item--eu .why-item__label { color: #1e40af !important; }

.why-item__desc {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Clients dark band */
.why-magazine__clients {
  background: var(--off-white);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 56px 0;
}
.why-magazine__clients-inner { display: flex; flex-direction: column; gap: 20px; }

.why-magazine__clients-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.why-magazine__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.why-tag {
  display: inline-block;
  padding: 9px 18px;
  border: 1.5px solid var(--black);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  transition: background var(--transition), color var(--transition);
  cursor: default;
}
.why-tag:hover {
  background: var(--black);
  color: var(--white);
}

.why-magazine__clients-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}



/* ============================================
   OFFER EDITORIAL LAYOUT
   ============================================ */
.offer-editorial__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.offer-editorial__header .section-title { margin-bottom: 0; }

.offer-editorial { display: flex; flex-direction: column; }

.offer-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 56px 0;
  position: relative;
  transition: background var(--transition);
}
.offer-row:last-child { border-bottom: 1px solid rgba(0,0,0,0.08); }
.offer-row:hover { background: var(--off-white); }

.offer-row__left {
  padding-right: 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.offer-row__num {
  font-family: var(--font-serif);
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.25);
  letter-spacing: -0.02em;
  position: absolute;
  top: -16px;
  right: 48px;
  pointer-events: none;
  user-select: none;
}

.offer-row__icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
}
.offer-row__icon svg { width: 100%; height: 100%; }

.offer-row__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

.offer-row__right {
  padding-left: 48px;
  border-left: 1px solid rgba(201,168,76,0.2);
}

.offer-row__intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.offer-row__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 28px;
}
.offer-row__list li {
  font-size: 0.875rem;
  color: var(--text);
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.offer-row__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
  flex-shrink: 0;
}

.offer-row__summary {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--black);
  font-style: italic;
  padding-top: 20px;
  border-top: 2px solid var(--gold);
  display: inline-block;
}

/* Wariant unijny (akcenty niebieskie) */
.offer-row--eu .offer-row__num {
  -webkit-text-stroke-color: rgba(30, 64, 175, 0.35);
}
.offer-row--eu .offer-row__icon {
  color: #1e40af;
}
.offer-row--eu .offer-row__right {
  border-left-color: rgba(30, 64, 175, 0.25);
}
.offer-row--eu .offer-row__list li::before {
  background: #1e40af;
}
.offer-row--eu .offer-row__summary {
  border-top-color: #1e40af;
}


/* ============================================
   ONLINE SECTION (PARALLAX)
   ============================================ */
.online {
  background: var(--black);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--nav-h);
}
.online::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 75% 50%, rgba(201,168,76,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.online__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.online__content {
  text-align: left;
}
.online .section-title {
  color: var(--white);
  margin-bottom: 24px;
}
.online .section-label {
  color: var(--gold-light);
  justify-content: flex-start;
}
.online .section-label::before,
.online .section-label::after {
  display: none;
}
.online__text {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.online__text--em {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.online__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.online__feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.online__feature:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}
.online__feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.online__feature-icon svg { width: 22px; height: 22px; }
.online__feature span {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.online__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.online__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  perspective: 1000px;
}
.online__image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.08);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.online__image-wrapper:hover .online__image {
  transform: rotateY(0deg) rotateX(0deg);
}
.online__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 80%; height: 80%;
  background: var(--gold);
  filter: blur(100px);
  opacity: 0.15;
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
}

/* ============================================
   WHY US / DLACZEGO MY
   ============================================ */
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.why__col-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
}

.why__desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.why__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  font-size: 0.93rem;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.why__list li:last-child { border-bottom: none; }

.why__check {
  width: 22px; height: 22px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold);
}
.why__check svg { width: 12px; height: 12px; stroke: var(--gold); }

.why__conclusion {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--black);
  padding: 100px 0;
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-section__left {
  display: flex;
  flex-direction: column;
}

.cta-section__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.cta-section__title em {
  font-style: italic;
  color: var(--gold);
}

.cta__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 480px;
}

.cta-section__right {
  display: flex;
  justify-content: flex-end;
}

.contact-card {
  background: var(--white);
  padding: 56px;
  border-radius: 4px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-card__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.contact-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Dane kontaktowe po lewej stronie w sekcji CTA */
.cta-section__contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin-top: 48px;
}

.cta-contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-contact-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.cta-contact-item__value {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}

a.cta-contact-item__value:hover {
  color: var(--gold-light);
}

/* ============================================
   FORMULARZ KONTAKTOWY (ZŁOTY STANDARD)
   ============================================ */
.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form__checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.form__checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--gold-primary);
}

.form__checkbox-group label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.5;
  cursor: pointer;
}

.form__checkbox-group label a {
  color: var(--gold-primary);
  text-decoration: underline;
  transition: color 0.3s;
}

.form__checkbox-group label a:hover {
  color: var(--gold-dark);
}

.form__group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card input[type="text"],
.contact-card input[type="email"],
.contact-card input[type="tel"],
.contact-card select,
.contact-card textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--off-white);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-card input[type="text"]:focus,
.contact-card input[type="email"]:focus,
.contact-card input[type="tel"]:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15);
}

/* Wrapper do dostosowania strzałki select */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▼';
  font-size: 0.65rem;
  color: var(--text-muted);
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-card select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.contact-card textarea {
  min-height: 120px;
  resize: vertical;
}

/* Formularz statusy */
.form-status {
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
  margin-top: 10px;
  animation: fadeUp 0.5s ease both;
}

.form-status__icon {
  width: 56px;
  height: 56px;
  line-height: 56px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 16px;
}

.form-status--success {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  color: var(--black);
}

.form-status--success .form-status__icon {
  background: var(--gold);
  color: var(--black);
}

.form-status--error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: var(--black);
}

.form-status--error .form-status__icon {
  background: #dc2626;
  color: var(--white);
}

.form-status h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-status p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ============================================
   CONTACT / FOOTER
   ============================================ */
.contact-section {
  background: var(--black);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact__logo-img {
  height: 58px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.contact__slogan {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.contact__about-text {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

.contact__col-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.contact__info-list { display: flex; flex-direction: column; gap: 14px; }
.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}
.contact__info-item a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.contact__info-item a:hover { color: var(--gold); }
.contact__info-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact__info-icon svg { width: 16px; height: 16px; }

.contact__nav-list { display: flex; flex-direction: column; gap: 10px; }
.contact__nav-list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition), padding-left var(--transition);
  display: block;
}
.contact__nav-list a:hover { color: var(--gold); padding-left: 6px; }

.contact__bottom {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.contact__copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.contact__legal {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.contact__legal a {
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  transition: color var(--transition);
}
.contact__legal a:hover { color: var(--gold); }

/* ============================================
   MOBILE NAVIGATION OVERLAY
   Poza headerem — brak problemów ze stacking context
   ============================================ */

/* Domyślnie ukryte (wyświetlane tylko na mobile przez JS) */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #09070A;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .mobile-nav { display: flex; }
}

.mobile-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: stretch; /* Pełna szerokość dla linii separatorów */
  gap: 0;
  padding: 0;
  margin: 0;
  width: min(380px, 85vw);
}

.mobile-nav__item {
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}
.mobile-nav__item:first-child {
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.mobile-nav__link {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 18px 0;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color 0.2s ease;
  width: 100%;
}

.mobile-nav__link:hover { color: var(--gold); }

/* Nav wrapper wewnątrz overlay — centruje zarówno listę jak i przycisk CTA */
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.mobile-nav__divider {
  width: 40px;
  height: 1px;
  background: rgba(201, 168, 76, 0.35);
  margin: 32px auto;
}

.mobile-nav__cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(201, 168, 76, 0.5);
  padding: 14px 48px;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.mobile-nav__cta:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.mobile-nav__contact {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.mobile-nav__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-nav__contact-item:hover {
  color: var(--gold);
}

.mobile-nav__contact-icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
  stroke-width: 2px;
}

.mobile-nav__contact-hours {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.mobile-nav__footer {
  position: absolute;
  bottom: 32px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
}

/* Hamburger — gdy menu otwarte: kolor kresek na biały (bo ciemne tło menu) */
.nav__hamburger.open span { background: var(--white) !important; }

/* ============================================
   TICKER / MARQUEE
   ============================================ */
.ticker {
  background: #090703;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  overflow: hidden;
  padding: 0;
  user-select: none;
}

.ticker__row {
  display: flex;
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}

/* Górna smuga: lewo */
.ticker__row--left .ticker__track {
  animation: ticker-left 30s linear infinite;
}

/* Dolna smuga: prawo */
.ticker__row--right .ticker__track {
  animation: ticker-right 30s linear infinite;
}


.ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}

.ticker__item {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  padding: 0 28px;
  flex-shrink: 0;
}

.ticker__item--gold {
  color: var(--gold);
  font-weight: 600;
}

.ticker__sep {
  color: rgba(201,168,76,0.5);
  font-size: 0.65rem;
  flex-shrink: 0;
  line-height: 1;
}

/* Fadout po krawędziach */
.ticker__row::before,
.ticker__row::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker__row::before {
  left: 0;
  background: linear-gradient(to right, #090703, transparent);
}
.ticker__row::after {
  right: 0;
  background: linear-gradient(to left, #090703, transparent);
}

@keyframes ticker-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes ticker-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .offer-editorial__header { grid-template-columns: 1fr; }
  .offer-row { grid-template-columns: 260px 1fr; }
  .offer-row__num { font-size: 5rem; }
  .contact__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 64px 0; }

  /* Nav mobile */
  .nav__hamburger { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 0;
    background: rgba(26,26,26,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    padding-bottom: 40px;
    overflow-y: auto;
    align-items: center;
    gap: 8px;
    transform: translateX(100%);
    visibility: hidden; /* Zabezpieczenie przed poziomym scrollem i uciekaniem paska */
    transition: transform var(--transition), visibility var(--transition);
    z-index: 1050;
  }
  .nav__menu.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav__link {
    font-size: 1.15rem;
    padding: 14px 28px;
    color: var(--white) !important;
  }
  .nav__link.active, .nav__link:hover { color: var(--gold) !important; }
  .nav__link--cta {
    background: var(--gold);
    color: var(--black) !important;
    margin-top: 12px;
  }

  /* Hero */
  .hero__watermark { font-size: 12rem; right: -5vw; }
  .hero__pills { display: none; }
  .hero__content { padding-bottom: 0; }
  .hero__headline { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; width: 100%; }

  /* About editorial */
  .about__text { text-align: left; hyphens: none; }
  .about-editorial__top { padding-top: 36px; padding-bottom: 36px; }
  .about-editorial__main { grid-template-columns: 1fr; gap: 24px; }
  .about-editorial__quote-band { padding: 44px 0; }

  /* Offer */
  .grid-spacer { display: none; }
  .offer-row { grid-template-columns: 1fr; padding: 52px 0; }
  .offer-row__right { padding-left: 0; border-left: none; border-top: 1px solid rgba(201,168,76,0.2); padding-top: 32px; margin-top: 8px; }
  .offer-row--eu .offer-row__right { border-top-color: rgba(30, 64, 175, 0.25); }
  .offer-row__summary { display: block; margin-bottom: 8px; }
  .offer-row__list { grid-template-columns: 1fr; }
  .offer-editorial__header { margin-bottom: 40px; }

  /* CTA section */
  .cta-section { overflow-x: hidden; }
  .cta-section__inner { grid-template-columns: 1fr; gap: 48px; width: 100%; }
  /* min-width: 0 jest krytyczne — bez tego grid children mają min-width: auto
     i nie mogą się skurczyć poniżej rozmiaru zawartości, powodując overflow */
  .cta-section__left,
  .cta-section__right { min-width: 0; width: 100%; }
  .cta-section__right { justify-content: flex-start; }
  .cta-section__left { padding: 0; text-align: left; }
  .cta__subtitle { max-width: 100%; word-break: break-word; }
  .contact-card { width: 100%; box-sizing: border-box; max-width: 100%; }
  .cta-section__contact-info { gap: 24px 32px; }

  /* Why magazine */
  .why-magazine__top { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
  .why-magazine__lead { max-width: 600px; } /* Zwiększona szerokość na tabletach/mobile, aby tekst nie zawijał się sztucznie w połowie ekranu */
  .why-magazine__benefits { grid-template-columns: 1fr; }
  .why-item { padding: 24px 0 !important; } /* reset asymetrycznych paddingów na mobile */
  .why-item:nth-child(odd) { border-right: none; }
  .why-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,0.07); }
  .why-item:last-child { border-bottom: none; }

  /* Online section */
  .online__grid { grid-template-columns: 1fr; gap: 48px; }
  .online__visual { order: -1; } /* Obrazek nad tekstem na mobile */
  .online__image { transform: none !important; } /* Wyłączenie rotacji 3D na mobile dla stabilności */
  .online__features { grid-template-columns: 1fr; gap: 16px; }

  /* Footer */
  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .contact__bottom { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.5rem; }
  .hero__title { font-size: 2.6rem; }
  .hero__subtitle { font-size: 1rem; }
  .offer-card { padding: 26px 20px; }
  .cta-section__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-card { padding: 36px 20px; }
  .cta-section__contact-info { grid-template-columns: 1fr; gap: 20px; }
  .online { padding: 72px 0; }
}

/* === Print === */
@media print {
  .header { display: none; }
  .section { padding: 30px 0; }
}
