/* ============================================================
   BHP Plus V2 — style.css (edycja animowana)
   ============================================================ */

:root {
  --white: #ffffff;
  --off: #f5f6f8;
  --ink: #111318;
  --muted: #5c6470;
  --line: #e6e8ec;
  --navy: #0e2a47;
  --navy-2: #123a63;
  --navy-deep: #0a1f36;
  --accent: #f45d0d;
  --accent-soft: #ff8a3d;
  --accent-ink: #d64a05;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 42, 71, 0.08);
  --shadow-lg: 0 18px 50px rgba(14, 42, 71, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }

.container { width: min(1120px, 92%); margin: 0 auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: 8px; z-index: 300; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* ============================================================
   NOWE W V2: pasek postępu + poświata kursora
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent), var(--accent-ink));
  z-index: 250; border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(244, 93, 13, 0.55);
  transition: width 0.08s linear;
}

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 480px; height: 480px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(244, 93, 13, 0.07) 0%, rgba(14, 42, 71, 0.04) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.3s ease;
  opacity: 0;
}
body.cursor-on .cursor-glow { opacity: 1; }
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #fff;
  box-shadow: 0 8px 20px rgba(244, 93, 13, 0.28);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(244, 93, 13, 0.45); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff; border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* połysk na przycisku */
.btn-shine {
  position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-160%) skewX(-18deg);
  pointer-events: none;
}
.btn:hover .btn-shine { animation: shine 0.9s var(--ease-out); }
@keyframes shine { to { transform: translateX(320%) skewX(-18deg); } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 24px rgba(14, 42, 71, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  transition: transform 0.5s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(90deg) scale(1.06); }
.brand-text { font-size: 19px; font-weight: 500; color: var(--navy); letter-spacing: -0.01em; }
.brand-text b { font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  position: relative; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink);
  opacity: 0.85; transition: opacity 0.15s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.nav-cta {
  opacity: 1; font-weight: 600; color: #fff;
  background: var(--navy); padding: 9px 18px; border-radius: 999px;
  transition: background 0.2s ease, transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(14,42,71,0.25); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform 0.3s var(--ease-out), opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — animowany mesh, siatka, pływające figury, tytuł
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: #fff;
  padding: 100px 0 0;
  text-align: center;
}

/* V3: wideo w tle hero */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  animation: videoIn 1.4s var(--ease-out) 0.1s forwards;
}
@keyframes videoIn { to { opacity: 1; } }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 24, 44, 0.80) 0%, rgba(9, 24, 44, 0.62) 45%, rgba(9, 24, 44, 0.90) 100%),
    radial-gradient(75% 90% at 50% 42%, rgba(9, 24, 44, 0.25) 0%, rgba(9, 24, 44, 0.75) 100%);
}
.hero--video .hero-mesh { opacity: 0.55; }
.hero--video .hero-grid { opacity: 0.3; }

/* animowane plamy gradientowe */
.hero-mesh {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(42% 55% at 18% 30%, rgba(244, 93, 13, 0.20), transparent 70%),
    radial-gradient(38% 50% at 82% 22%, rgba(64, 128, 255, 0.20), transparent 70%),
    radial-gradient(55% 60% at 55% 95%, rgba(255, 138, 61, 0.16), transparent 70%);
  animation: mesh 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes mesh {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: 0.9; }
  50%  { transform: translate3d(2%, -3%, 0) scale(1.08); opacity: 1; }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.02); opacity: 0.85; }
}

/* subtelna siatka techniczna */
.hero-grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}

/* pływające figury */
.hero-shapes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.shape {
  position: absolute; display: block;
  animation: floaty 7s ease-in-out infinite;
  will-change: transform;
}
.shape-plus {
  font-size: 44px; font-weight: 800; color: rgba(255, 138, 61, 0.4);
  font-family: var(--font);
}
.shape-ring {
  width: 70px; height: 70px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.14);
}
.shape-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,138,61,0.5); }
.shape:nth-child(2) { animation-delay: -1.4s; animation-duration: 8.5s; }
.shape:nth-child(3) { animation-delay: -2.8s; animation-duration: 9s; }
.shape:nth-child(4) { animation-delay: -0.9s; animation-duration: 6s; }
.shape:nth-child(5) { animation-delay: -3.6s; animation-duration: 7.5s; }
.shape:nth-child(6) { animation-delay: -2.2s; animation-duration: 10s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(12deg); }
}

.hero-inner { position: relative; z-index: 3; padding-bottom: 56px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62); margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(42px, 7.5vw, 76px); font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .w > span {
  display: inline-block;
  transform: translateY(115%);
  animation: wordUp 0.9s var(--ease-out) forwards;
}
.hero-title .w:nth-child(1) > span { animation-delay: 0.15s; }
.hero-title .w:nth-child(2) > span { animation-delay: 0.28s; }
.hero-title .w:nth-child(3) > span { animation-delay: 0.41s; }
.hero-title .dot { color: var(--accent-soft); }
@keyframes wordUp { to { transform: translateY(0); } }

.lede {
  font-size: clamp(17px, 2.2vw, 21px); color: rgba(255, 255, 255, 0.82);
  max-width: 640px; margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }

/* statystyki */
.stats {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.stat { padding: 28px 12px 40px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.stat dd {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat dt { font-size: 13.5px; color: rgba(255, 255, 255, 0.62); margin-top: 4px; }

/* ============================================================
   MARQUEE (taśma usług)
   ============================================================ */
.marquee {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 34px;
  white-space: nowrap; will-change: transform;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item {
  font-size: 15px; font-weight: 600; color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.marquee i { color: var(--accent); font-style: normal; font-weight: 800; font-size: 16px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SEKCJE — wspólne
   ============================================================ */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--off); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease-out) 0.15s;
}
.kicker.in::before { transform: scaleX(1); }
.kicker.light { color: var(--accent-soft); }
.section h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 17px; }
.center-note { text-align: center; margin-top: 40px; color: var(--muted); font-size: 15px; }

.two-col { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }

/* ============================================================
   KARTY — tilt 3D
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(240px 140px at var(--mx, 50%) var(--my, 0%), rgba(244, 93, 13, 0.08), transparent 70%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.card:hover { box-shadow: var(--shadow); border-color: #d8dce2; }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(244, 93, 13, 0.12), rgba(244, 93, 13, 0.05));
  color: var(--accent-ink); margin-bottom: 18px;
  transition: transform 0.45s var(--ease-out), background 0.3s ease;
}
.card:hover .card-icon { transform: translateY(-4px) rotate(-6deg) scale(1.08); background: linear-gradient(135deg, var(--accent-soft), var(--accent)); color: #fff; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 17.5px; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   DLACZEMY MY
   ============================================================ */
.check-list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17.5 19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17.5 19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.why-panel {
  position: relative;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy) 70%);
  border-radius: 24px; padding: 36px 34px; color: #fff;
  box-shadow: var(--shadow-lg);
  display: grid; gap: 22px;
  will-change: transform;
}
.why-panel::after {
  content: "+"; position: absolute; right: -18px; top: -26px;
  font-size: 90px; font-weight: 800; color: rgba(255, 138, 61, 0.18);
  animation: floaty 8s ease-in-out infinite;
}
.why-row { display: flex; align-items: baseline; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.why-row:last-child { border-bottom: 0; padding-bottom: 0; }
.why-num { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--accent-soft); min-width: 120px; }
.why-cap { font-size: 14.5px; color: rgba(255,255,255,0.75); }

/* ============================================================
   O MNIE — prestiżowe realizacje (panel zamiast zdjęcia)
   ============================================================ */
.projects {
  background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 75%);
  border-radius: 24px; padding: 34px 30px;
  box-shadow: var(--shadow-lg); color: #fff;
}
.projects-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-soft); margin-bottom: 20px;
}
.projects-title::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.16); }
.projects ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.projects li {
  border-left: 3px solid var(--accent); padding: 2px 0 2px 16px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}
.projects li:hover { transform: translateX(5px); border-color: var(--accent-soft); }
.projects li b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.projects li span { display: block; font-size: 13.5px; color: rgba(255,255,255,0.72); margin-top: 3px; line-height: 1.55; }
.projects-note { margin: 22px 0 0; font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.badges span {
  font-size: 13px; font-weight: 600; color: var(--navy);
  background: rgba(14, 42, 71, 0.07); border: 1px solid rgba(14, 42, 71, 0.12);
  padding: 7px 14px; border-radius: 999px;
  transition: transform 0.3s var(--ease-out), background 0.2s ease, border-color 0.2s ease;
}
.badges span:hover { transform: translateY(-3px); background: rgba(14, 42, 71, 0.12); border-color: rgba(14, 42, 71, 0.25); }

/* ============================================================
   PROCES — linia rysująca się przy scrollu
   ============================================================ */
.steps-wrap { position: relative; }
.steps-line {
  position: absolute; left: 6%; right: 6%; top: 22px; height: 2px;
  background: rgba(14, 42, 71, 0.1); border-radius: 2px; overflow: hidden;
}
.steps-line span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s var(--ease-out) 0.3s;
}
.steps-wrap.in .steps-line span { transform: scaleX(1); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 6px 14px rgba(244, 93, 13, 0.35);
  transition: transform 0.45s var(--ease-out);
}
.step:hover .step-num { transform: rotate(90deg) scale(1.1); }
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   OPINIE
   ============================================================ */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #ffd9bf; }
.review .stars { color: var(--accent); letter-spacing: 3px; font-size: 15px; margin-bottom: 12px; }
.review:hover .stars { animation: starPop 0.5s var(--ease-out); }
@keyframes starPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.review blockquote { font-size: 15.5px; color: var(--ink); line-height: 1.65; border: 0; margin: 0; padding: 0; }

/* ============================================================
   KONTAKT
   ============================================================ */
.cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-2) 100%);
  color: #fff; padding: 96px 0;
}
.cta-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 55% at 15% 20%, rgba(244, 93, 13, 0.16), transparent 70%),
    radial-gradient(45% 55% at 88% 85%, rgba(64, 128, 255, 0.14), transparent 70%);
  animation: mesh 16s ease-in-out infinite alternate;
}
.cta-section .container { position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h2 { color: #fff; margin-bottom: 14px; }
.contact-info > p { color: rgba(255,255,255,0.78); margin-bottom: 30px; font-size: 16px; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list .c-label {
  display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5); margin-bottom: 4px; font-weight: 600;
}
.contact-list .c-value { font-size: 17px; font-weight: 600; }
.contact-list a.c-value { color: var(--accent-soft); text-decoration: none; transition: color 0.2s ease; }
.contact-list a.c-value:hover { color: #fff; text-decoration: underline; }

.map-embed { margin-top: 28px; }
.map-embed .map-label {
  display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5); margin-bottom: 8px; font-weight: 600;
}
.map-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px;
  overflow: hidden; border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0b1522; color: rgba(255,255,255,0.72); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14.5px; max-width: 340px; color: rgba(255,255,255,0.6); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { text-decoration: none; font-size: 14.5px; color: rgba(255,255,255,0.75); transition: color 0.2s ease, transform 0.25s ease; }
.footer-nav a:hover { color: #fff; transform: translateX(4px); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.footer-contact a { text-decoration: none; color: var(--accent-soft); }
.footer-contact a:hover { text-decoration: underline; }
.footer-legal { padding-top: 24px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-legal a { color: rgba(255,255,255,0.6); }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   SYSTEM ANIMACJI WEJŚCIA (reveal)
   ============================================================ */
.anim-up, .anim-stagger {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.anim-up.in, .anim-stagger.in { opacity: 1; transform: none; }

/* hero: sekwencyjne wejście */
.hero .anim-stagger { transition-delay: 0s; animation: fadeUp 0.9s var(--ease-out) both; }
.hero .eyebrow.anim-stagger { animation-delay: 0.05s; }
.hero .lede.anim-stagger { animation-delay: 0.55s; }
.hero .hero-actions.anim-stagger { animation-delay: 0.7s; }
.hero .hero-note.anim-stagger { animation-delay: 0.85s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* statystyki: wejście + licznik uruchamia JS */
.stats { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease-out) 0.9s, transform 0.9s var(--ease-out) 0.9s; }
.stats.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSYWNOŚĆ
   ============================================================ */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps-line { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding-top: 72px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.14); }
  .review, .card { padding: 22px 20px; }
  .hero-shapes { display: none; }

  .main-nav {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.25s ease;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 14px 10px; font-size: 16px; border-bottom: 1px solid var(--line); opacity: 1; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a.nav-cta { margin-top: 10px; text-align: center; padding: 14px; }
  .nav-toggle { display: block; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ============================================================
   RESPEKTOWANIE PREFERENCJI REDUKCJI RUCHU
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .hero-title .w > span { transform: none; animation: none; }
  .anim-up, .anim-stagger, .stats { opacity: 1; transform: none; transition: none; }
  .kicker::before { transform: scaleX(1); transition: none; }
  .steps-line span { transform: scaleX(1); transition: none; }
  .cursor-glow { display: none; }
  .marquee-track { animation: none; }
}

/* ============================================================
   Baner zgody na cookies (RODO)
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(10, 31, 54, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  animation: cookie-in 0.55s var(--ease-out);
}
@keyframes cookie-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner.hidden { display: none; }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.cookie-inner p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
}
.cookie-actions { display: flex; align-items: center; gap: 16px; }
.cookie-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-link:hover { color: #fff; }
.cookie-actions .btn { white-space: nowrap; }
@media (max-width: 560px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; justify-content: space-between; }
}

/* ============================================================
   V2.0 — STYLOWE ROZSZCZENIA (podstrony, artykuły, kontakt)
   ============================================================ */

/* nawigacja: podświetlenie aktywnej podstrony */
.main-nav a.active { opacity: 1; }
.main-nav a.active::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Nagłówek podstrony (page-head) ---------- */
.page-head {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-2) 100%);
  color: #fff; padding: 76px 0 84px; text-align: left;
}
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 60% at 85% 15%, rgba(244, 93, 13, 0.20), transparent 70%),
    radial-gradient(50% 70% at 8% 95%, rgba(64, 128, 255, 0.16), transparent 70%);
  animation: mesh 16s ease-in-out infinite alternate;
}
.page-head::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 20%, transparent 100%);
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.page-head .lede { margin: 0 auto 0; max-width: 680px; }
.breadcrumb {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 18px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb i { font-style: normal; color: rgba(255,255,255,0.35); }
.breadcrumb [aria-current] { color: var(--accent-soft); font-weight: 600; }
.page-head .head-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Ramka zdjęć (O mnie / realizacje) ---------- */
.photo-frame {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(14,42,71,0.08);
  background: #eef0f3;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame .photo-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(10, 31, 54, 0.82); backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}

/* ---------- Szczegóły usług (karty opisowe) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-detail {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-detail:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d8dce2; }
.service-detail h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.01em; }
.service-detail p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.service-detail ul { list-style: none; display: grid; gap: 8px; }
.service-detail li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); }
.service-detail li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17.5 19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17.5 19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.service-detail li b { font-weight: 700; }
.service-detail .detail-link {
  display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700;
  color: var(--accent-ink); text-decoration: none;
}
.service-detail .detail-link:hover { text-decoration: underline; }

/* ---------- Karty szkoleń ---------- */
.train-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.train-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.train-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #ffd9bf; }
.train-card h3 { font-size: 18px; letter-spacing: -0.01em; }
.train-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.train-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.train-meta span {
  font-size: 12px; font-weight: 600; color: var(--navy);
  background: rgba(14, 42, 71, 0.07); border: 1px solid rgba(14, 42, 71, 0.12);
  padding: 5px 11px; border-radius: 999px;
}
.train-meta span.hl { background: linear-gradient(135deg, rgba(244,93,13,0.12), rgba(244,93,13,0.06)); color: var(--accent-ink); border-color: rgba(244,93,13,0.25); }
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-ink); background: rgba(244, 93, 13, 0.1); border: 1px solid rgba(244,93,13,0.22);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; align-self: flex-start;
}

/* ---------- Pasek CTA (tel / WhatsApp / podstrona) ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-2) 100%);
  color: #fff; padding: 72px 0;
}
.cta-band .cta-mesh { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 55% at 12% 25%, rgba(244, 93, 13, 0.18), transparent 70%),
    radial-gradient(45% 55% at 90% 80%, rgba(64, 128, 255, 0.15), transparent 70%);
  animation: mesh 16s ease-in-out infinite alternate;
}
.cta-band .container { position: relative; z-index: 2; text-align: center; max-width: 820px; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.78); margin-bottom: 28px; font-size: 16.5px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Karty artykułów ---------- */
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; text-decoration: none; color: inherit;
  transition: transform 0.35s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #ffd9bf; }
.article-card h3 { font-size: 18.5px; margin-bottom: 8px; letter-spacing: -0.01em; }
.article-card:hover h3 { color: var(--accent-ink); }
.article-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.article-card .read-more { font-size: 14px; font-weight: 700; color: var(--accent-ink); }

/* ---------- Typografia artykułu ---------- */
.article-wrap { padding: 64px 0 40px; }
.article {
  max-width: 780px; margin: 0 auto;
  font-size: 16.5px; line-height: 1.75; color: var(--ink);
}
.article .art-meta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: 13.5px; color: var(--muted); margin-bottom: 22px;
}
.article h2 { font-size: clamp(22px, 3vw, 30px); margin: 44px 0 14px; letter-spacing: -0.02em; }
.article h3 { font-size: 19px; margin: 30px 0 10px; }
.article p { margin-bottom: 16px; color: #2a2f37; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article li { margin-bottom: 8px; color: #2a2f37; }
.article strong { color: var(--ink); }
.article a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--accent); }
.article .callout {
  background: linear-gradient(135deg, rgba(244,93,13,0.08), rgba(14,42,71,0.05));
  border: 1px solid rgba(244,93,13,0.18); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 18px 20px; margin: 22px 0; font-size: 15.5px;
}
.article .callout b { display: block; margin-bottom: 4px; color: var(--accent-ink); }

/* FAQ (bez JS — <details>) */
.faq { display: grid; gap: 12px; margin: 26px 0; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq details[open] { border-color: #ffd9bf; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(14,42,71,0.08); color: var(--navy); font-weight: 800; font-size: 16px;
  transition: transform 0.3s var(--ease-out), background 0.2s ease, color 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq .faq-a { padding: 0 22px 20px; color: #2a2f37; font-size: 15px; line-height: 1.7; }
.faq .faq-a p { margin-bottom: 10px; }

/* ---------- O nas: oś czasu kariery ---------- */
.timeline { list-style: none; margin: 8px 0 0; position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(14,42,71,0.15));
  border-radius: 2px;
}
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li::before {
  content: ""; position: absolute; left: -25px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--accent);
}
.timeline li b { display: block; font-size: 16px; letter-spacing: -0.01em; }
.timeline li span.t-yr { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent-ink); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.timeline li p { font-size: 14.5px; color: var(--muted); margin-top: 4px; }

/* ---------- Klienci (nazwy jako chipy) ---------- */
.clients { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.clients span {
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  background: rgba(14, 42, 71, 0.06); border: 1px solid rgba(14, 42, 71, 0.12);
  padding: 8px 14px; border-radius: 999px;
  transition: transform 0.3s var(--ease-out), background 0.2s ease;
}
.clients span:hover { transform: translateY(-3px); background: rgba(14,42,71,0.11); }

/* ---------- Opinie: podpis ---------- */
.review figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption b { display: block; font-size: 15px; }
.review figcaption span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- Kontakt: karty kontaktowe ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start;
  transition: transform 0.35s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #ffd9bf; }
.contact-card .card-icon { margin-bottom: 0; flex: none; }
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p, .contact-card a.big { font-size: 15.5px; color: var(--muted); }
.contact-card a.big { color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.contact-card a.big:hover { text-decoration: underline; }
.contact-card .cc-sub { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.hours-table td { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; color: var(--muted); }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.hours-table tr:last-child td { border-bottom: 0; }

/* ---------- Wersja mobilna rozszerzeń ---------- */
@media (max-width: 980px) {
  .service-grid, .hub-grid, .contact-cards { grid-template-columns: 1fr; }
  .train-grid { grid-template-columns: repeat(2, 1fr); }
  .page-head { padding: 56px 0 60px; }
}
@media (max-width: 720px) {
  .train-grid { grid-template-columns: 1fr; }
  .article-wrap { padding: 44px 0 28px; }
}

/* ---------- Karty: wariancja 3-kolumnowa (9 kart na stronie głównej) ---------- */
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .cards--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   v2.1 — drobne poprawki (linki w kartach szkoleń + daty w kartach artykułów)
   ============================================================ */

/* link „Czytaj artykuł” w karcie szkolenia (analogicznie do .article-card .read-more) */
.train-card .read-more {
  margin-top: auto; font-size: 14px; font-weight: 700;
  color: var(--accent-ink); text-decoration: none;
}
.train-card .read-more:hover { text-decoration: underline; }

/* data publikacji w karcie artykułu (hub „Wiedza BHP”) */
.article-card .card-date {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}


/* ===== Hero video: lazy-load na mobile, poster zamiast wideo ===== */
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none !important;
  }
  .hero--video {
    background: url('../assets/hero-poster.jpg') center/cover no-repeat;
  }
  .hero--video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 50, 0.55);
    z-index: 1;
  }
}
@media (min-width: 769px) {
  .hero-video {
    /* opóźnij ładowanie wideo do scrollowania > 80vh */
    opacity: 0;
    transition: opacity 0.8s ease;
  }
  .hero-video.is-visible {
    opacity: 1;
  }
}
