/* Czcionki hostowane lokalnie (bez Google Fonts - RODO) */
@font-face{font-family:"Public Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:300 700;font-display:swap;src:url("../fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:300 700;font-display:swap;src:url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/jetbrains-mono-latin-ext-600-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root {
    --navy: #173259;
    --blue: #2E5FA3;
    --blue-light: #6FB6E8;
    --silver: #AEB4BC;
    --muted: #5F6B7A;
    --bg: #F4F7FA;
    --bg-panel: #FFFFFF;
    --bg-band: #EEF2F7;
    --ink: #16233A;
    --ink-soft: #45536B;
    --line: rgba(23, 50, 89, 0.14);
    --line-strong: rgba(23, 50, 89, 0.26);
    --ok: #3E8E5A;
    --shadow: 0 20px 50px -30px rgba(23, 50, 89, 0.45);
    /* Constant deep-navy used to tint photos, independent of light/dark theme */
    --overlay-deep: #1B2545;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --navy: #DCE6F5;
      --blue: #7EB0E8;
      --blue-light: #6FB6E8;
      --silver: #7C8896;
      --muted: #9AA7BC;
      --bg: #101A2E;
      --bg-panel: #16233D;
      --bg-band: #101A2E;
      --ink: #EAF0FA;
      --ink-soft: #B6C2D6;
      --line: rgba(220, 230, 245, 0.14);
      --line-strong: rgba(220, 230, 245, 0.26);
      --ok: #6FCB8E;
      --shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.6);
    }
  }

  :root[data-theme="dark"] {
    --navy: #DCE6F5;
    --blue: #7EB0E8;
    --blue-light: #6FB6E8;
    --silver: #7C8896;
    --muted: #9AA7BC;
    --bg: #101A2E;
    --bg-panel: #16233D;
    --bg-band: #101A2E;
    --ink: #EAF0FA;
    --ink-soft: #B6C2D6;
    --line: rgba(220, 230, 245, 0.14);
    --line-strong: rgba(220, 230, 245, 0.26);
    --ok: #6FCB8E;
    --shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.6);
  }

  * { box-sizing: border-box; }

  @media (prefers-reduced-motion: no-preference) {
    :root { scroll-behavior: smooth; }
  }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding-inline: 0;
    padding-block: 0;
  }

  h1, h2, h3, .display {
    font-family: "Space Grotesk", "Public Sans", sans-serif;
    color: var(--navy);
    margin: 0;
    text-wrap: balance;
  }

  .mono {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-variant-numeric: tabular-nums;
  }

  a { color: inherit; }
  img { display: block; max-width: 100%; }

  .wrap { max-width: 1080px; margin-inline: auto; padding-inline: 20px; }
  .band { padding-inline: 20px; }

  /* ---------- header ---------- */
  header.site {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 20;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding-block: 14px;
  }
  .nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
  }
  .brand-mark { width: 50px; height: 50px; flex-shrink: 0; display: block; }
  .brand-text { display: flex; flex-direction: column; gap: 3px; }
  .brand-word-img { width: 126px; height: auto; display: block; }
  .brand-tag {
    font-size: 9.5px;
    font-weight: 600;
    color: #6C8798;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    white-space: nowrap;
  }

  nav.links {
    display: flex;
    gap: 26px;
    font-size: 14.5px;
    font-weight: 600;
  }
  nav.links a { text-decoration: none; color: var(--ink-soft); }
  nav.links a:hover { color: var(--blue); }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14.5px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  }
  .btn-primary { background: var(--blue); color: #fff; }
  .btn-primary:hover { background: var(--navy); transform: translateY(-1px); }
  .btn-ghost { border-color: var(--line-strong); color: var(--navy); }
  .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

  #nav-toggle { display: none; }
  .burger {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
  }
  .burger span, .burger span::before, .burger span::after {
    content: ""; display: block; width: 18px; height: 2px; background: var(--navy);
    position: relative; transition: transform .2s ease;
  }
  .burger span::before { position: absolute; top: -6px; }
  .burger span::after { position: absolute; top: 6px; }

  /* ---------- hero (full-bleed photo) ---------- */
  section.hero {
    position: relative;
    overflow: hidden;
    background-image: url("../images/hero.jpg");
    background-size: cover;
    background-position: center 38%;
    color: #fff;
  }
  .hero-overlay {
    position: absolute; inset: 0;
    background:
      linear-gradient(100deg, var(--overlay-deep) 0%, color-mix(in srgb, var(--overlay-deep) 92%, transparent) 42%, color-mix(in srgb, var(--overlay-deep) 55%, transparent) 68%, color-mix(in srgb, var(--overlay-deep) 18%, transparent) 100%);
  }
  .hero-inner { position: relative; padding-block: 88px 36px; }
  .eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-light);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
  }
  .eyebrow::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 30%, transparent);
    animation: pulse-dot 2.4s ease-in-out infinite;
  }
  @media (prefers-reduced-motion: reduce) { .eyebrow::before { animation: none; } }
  @keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 30%, transparent); }
    50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 12%, transparent); }
  }
  .hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; font-weight: 700; color: #fff; max-width: 16ch; }
  .hero h1 .accent { color: var(--blue-light); }
  .hero p.lede {
    color: rgba(255,255,255,0.82); font-size: 17.5px; line-height: 1.6;
    max-width: 46ch; margin-top: 20px;
  }
  .hero-ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
  .hero .btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
  .hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
  .hero-alt-contact { margin-top: 16px; font-size: 13.5px; color: rgba(255,255,255,0.86); position: relative; }
  .hero-alt-contact a { color: var(--blue-light); font-weight: 600; text-decoration: none; }
  .hero-alt-contact a:hover { text-decoration: underline; }

  @media (prefers-reduced-motion: no-preference) {
    .hero-inner .eyebrow, .hero-inner h1, .hero-inner p.lede, .hero-inner .hero-ctas, .hero-inner .hero-alt-contact {
      opacity: 0; animation: rise-in .7s ease forwards;
    }
    .hero-inner .eyebrow { animation-delay: .02s; }
    .hero-inner h1 { animation-delay: .10s; }
    .hero-inner p.lede { animation-delay: .20s; }
    .hero-inner .hero-ctas { animation-delay: .30s; }
    .hero-inner .hero-alt-contact { animation-delay: .38s; }
  }
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(10, 18, 32, 0.55);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255,255,255,0.16);
  }
  .stat { padding: 18px 20px; border-right: 1px solid rgba(255,255,255,0.14); }
  .stat:last-child { border-right: none; }
  .stat-k { display: block; font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 5px; }
  .stat-v { font-family: "JetBrains Mono", monospace; font-size: 13.5px; color: #fff; font-weight: 500; }

  /* ---------- generic section ---------- */
  section { padding-block: 68px; }
  .band-panel { background: var(--bg-band); border-block: 1px solid var(--line); }
  .section-head { max-width: 60ch; margin-bottom: 36px; }
  .section-head .eyebrow { color: var(--blue); }
  .section-head .eyebrow::before { animation: none; }
  .section-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
  .section-head p { color: var(--ink-soft); margin-top: 10px; font-size: 15.5px; line-height: 1.6; }

  /* photo frames (hover zoom) */
  .photo-frame { overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); }
  .photo-frame img { transition: transform .6s ease; width: 100%; height: 100%; object-fit: cover; }
  .photo-frame:hover img { transform: scale(1.045); }

  /* services */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }
  .service-card {
    background: var(--bg-panel);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background .18s ease;
  }
  .service-card:hover { background: color-mix(in srgb, var(--blue) 5%, var(--bg-panel)); }
  .service-card .idx {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: var(--silver);
  }
  .service-card h3 { font-size: 16.5px; font-weight: 700; }
  .service-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

  /* pricing cards */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
  .price-card {
    background: var(--bg-panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px 26px;
    box-shadow: var(--shadow);
    transition: transform .22s ease, box-shadow .22s ease;
  }
  .price-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(23,50,89,.55); }
  .price-card-top p { color: var(--muted); font-size: 13px; margin-top: 3px; }
  .price-value { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 42px; color: var(--navy); margin-top: 20px; line-height: 1; }
  .price-value span { font-size: 17px; font-weight: 600; color: var(--blue); margin-left: 5px; }
  .price-note { font-size: 12px; color: var(--muted); margin-top: 6px; margin-bottom: 20px; }
  .price-features { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-direction: column; gap: 11px; border-top: 1px solid var(--line); }
  .price-features li { font-size: 13.5px; color: var(--ink-soft); padding-left: 24px; position: relative; }
  .price-features li::before {
    content: "✓"; position: absolute; left: 0; top: -1px; font-size: 12px; font-weight: 700;
    color: var(--blue); width: 16px; height: 16px; text-align: center; line-height: 16px;
    border-radius: 5px; background: color-mix(in srgb, var(--blue) 14%, transparent);
  }
  .price-footnote {
    margin-top: 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; max-width: 760px;
    padding-top: 22px; border-top: 1px dashed var(--line-strong);
  }
  .price-footnote p { color: var(--muted); font-size: 13.5px; margin: 0; flex: 1; min-width: 220px; }

  /* why us */
  .why-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
  }
  .why-layout .photo-frame { min-height: 320px; }
  .why-list { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
  .why-item { padding-left: 18px; border-left: 2px solid var(--blue); }
  .why-item .num { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--silver); }
  .why-item h3 { font-size: 15.5px; margin-top: 6px; font-weight: 700; }
  .why-item p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin-top: 6px; }

  /* area */
  .area-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: center;
  }
  .radar { width: 100%; max-width: 360px; aspect-ratio: 1; margin-inline: auto; display: block; }
  .area-list { display: flex; flex-direction: column; gap: 14px; }
  .area-item { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 12px; font-size: 14.5px; }
  .area-item .town { font-weight: 600; color: var(--navy); }
  .area-item .dist { font-family: "JetBrains Mono", monospace; color: var(--muted); font-size: 13px; }

  /* contact — photo (flame) + navy overlay */
  .contact-wrap { padding-inline: 20px; }
  .contact-panel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 48px 44px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    background-image: url("../images/flame.jpg");
    background-size: cover;
    background-position: 75% center;
    color: #fff;
  }
  .contact-panel::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(100deg, var(--overlay-deep) 0%, color-mix(in srgb, var(--overlay-deep) 95%, transparent) 48%, color-mix(in srgb, var(--overlay-deep) 60%, transparent) 78%, color-mix(in srgb, var(--overlay-deep) 30%, transparent) 100%);
  }
  .contact-panel > * { position: relative; }
  .contact-panel h2 { color: #fff; font-size: clamp(22px, 2.8vw, 28px); }
  .contact-panel p { color: rgba(255,255,255,0.75); margin-top: 10px; font-size: 15px; line-height: 1.6; max-width: 42ch; }
  .contact-panel .btn-primary { background: var(--blue-light); color: var(--overlay-deep); margin-top: 22px; }
  .contact-panel .btn-primary:hover { background: #fff; }
  .contact-mail-alt { margin-top: 12px; font-size: 13.5px; color: rgba(255,255,255,0.86); }
  .contact-mail-alt a { color: var(--blue-light); font-weight: 600; text-decoration: none; }
  .contact-mail-alt a:hover { text-decoration: underline; }
  .contact-hours { border-left: 1px solid rgba(255,255,255,0.2); padding-left: 32px; display: flex; flex-direction: column; gap: 14px; }
  .contact-hours .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.88); }
  .contact-hours .row .v { font-family: "JetBrains Mono", monospace; color: #fff; }

  footer {
    padding-block: 28px 40px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12.5px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }

  @media (max-width: 880px) {
    nav.links { display: none; }
    .burger { display: flex; }
    body[data-nav-open] nav.links {
      display: flex; position: fixed; inset: 0; top: 66px;
      background: var(--bg); flex-direction: column; padding: 28px 24px; gap: 22px;
      font-size: 18px; z-index: 30; height: calc(100dvh - 66px);
    }
    .hero-inner { padding-block: 56px 30px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.14); }
    .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.14); }
    .services-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .why-layout { grid-template-columns: 1fr; }
    .why-layout .photo-frame { min-height: 220px; }
    .area-grid { grid-template-columns: 1fr; }
    .contact-panel { grid-template-columns: 1fr; padding: 30px 26px; background-position: center; }
    .contact-hours { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 18px; }
  }
  @media (max-width: 520px) {
    .price-footnote { flex-direction: column; align-items: flex-start; }
  }

  /* --- telefon / CTA --- */
  .nav-phone { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
  .nav-phone:hover { background: var(--navy); }
  .contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
  .contact-btns .btn-primary { margin-top: 0; }
  .contact-panel .btn-ghost-dark { border: 1.5px solid rgba(255,255,255,0.45); color: #fff; background: transparent; }
  .contact-panel .btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
  @media (max-width: 420px) { .nav-phone span { display: none; } .nav-phone { padding: 10px; } }

  /* --- usługi: ikony, cena, przycisk --- */
  .service-card { gap: 8px; }
  .svc-ico { width: 30px; height: 30px; color: var(--blue); margin-bottom: 4px; }
  .svc-price { font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--blue); font-weight: 600; margin-top: auto; padding-top: 6px; }
  .svc-order { align-self: flex-start; padding: 9px 16px; font-size: 13.5px; }
  .price-card { display: flex; flex-direction: column; }
  .price-card .btn { margin-top: 22px; align-self: flex-start; }
  .price-card .price-features { margin-bottom: 0; }
  .price-value small { font-size: 15px; font-weight: 600; color: var(--muted); margin-right: 4px; font-family: "Public Sans", sans-serif; }
  button.btn { font: inherit; font-weight: 700; cursor: pointer; }

  /* --- uprawnienia --- */
  .cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
  .cert-card { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
  .cert-k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
  .cert-v { font-size: 14.5px; color: var(--ink); line-height: 1.6; }
  .cert-v.mono { font-size: 13.5px; }

  /* --- dostępność --- */
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .burger:focus-visible {
    outline: 3px solid var(--blue-light); outline-offset: 2px;
  }

  /* --- burger -> X --- */
  body[data-nav-open] .burger span { background: transparent; }
  body[data-nav-open] .burger span::before { top: 0; transform: rotate(45deg); }
  body[data-nav-open] .burger span::after { top: 0; transform: rotate(-45deg); }
  .burger span::before, .burger span::after { transition: transform .2s ease, top .2s ease; }

  /* --- okno zamówienia (modal) --- */
  dialog.order-dlg {
    border: 0; padding: 0; border-radius: 18px; background: var(--bg-panel); color: var(--ink);
    width: min(540px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
    box-shadow: 0 40px 90px -30px rgba(10, 20, 45, .65);
  }
  dialog.order-dlg::backdrop { background: rgba(14, 24, 48, .62); backdrop-filter: blur(2px); }
  html:has(dialog[open]) { overflow: hidden; }
  .order-dlg form { display: grid; gap: 14px; padding: 28px 26px 22px; position: relative; }
  .order-dlg h2 { font-size: 22px; color: var(--navy); padding-right: 40px; }
  .dlg-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; }
  .dlg-x:hover { border-color: var(--blue); color: var(--blue); }
  .lead-sub { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin: -4px 0 2px; }
  .dlg-fields { display: grid; gap: 14px; }
  .dlg-fields[hidden], .order-dlg [hidden] { display: none !important; }
  .lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .order-dlg label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
  .order-dlg input[type=text], .order-dlg input[type=tel], .order-dlg select, .order-dlg textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
  .order-dlg textarea { resize: vertical; }
  .order-dlg .lead-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
  .order-dlg .lead-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
  .order-dlg .lead-check a { color: var(--blue); }
  .order-dlg .btn-primary { justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
  .order-dlg .btn-primary:disabled { opacity: .6; cursor: default; }
  .order-dlg .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .lead-msg { font-size: 14px; min-height: 20px; }
  .lead-msg.ok { color: var(--ok); font-weight: 600; font-size: 16px; }
  .lead-msg.err { color: #B3321F; font-weight: 600; }
  .lead-msg.wait { color: var(--navy); font-weight: 600; }
  .lead-msg.ok { background: #EAF6EE; border: 1px solid #BFE3CB; border-radius: 10px; padding: 14px 16px; margin-top: 8px; }
  .lead-msg.ok::before { content: "\2713  "; font-weight: 800; }
  #leadBtn.is-sending { opacity: .85; cursor: progress; }
  #leadBtn.is-sending::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: nkspin .7s linear infinite; }
  @keyframes nkspin { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { #leadBtn.is-sending::before { animation-duration: 2s; } }
  .dlg-call { font-size: 13.5px; color: var(--ink-soft); margin: 0; text-align: center; }
  .dlg-call a { color: var(--blue); font-weight: 700; text-decoration: none; }
  @media (max-width: 600px) {
    .lead-grid { grid-template-columns: 1fr; }
    dialog.order-dlg { width: 100vw; height: 100dvh; max-width: none; max-height: none; border-radius: 0; margin: 0; }
    .order-dlg form { padding: 22px 18px 28px; min-height: 100%; align-content: start; }
  }

  /* --- przyklejony pasek (telefon) --- */
  .sticky-cta { display: none; }
  @media (max-width: 880px) {
    .sticky-cta {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
      padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--bg-panel); border-top: 1px solid var(--line-strong);
      box-shadow: 0 -10px 30px -18px rgba(23,50,89,.5);
    }
    .sticky-cta .btn { justify-content: center; padding: 13px 10px; }
    body { padding-bottom: 76px; }
  }

  /* --- strona: szkolenia i uprawnienia --- */
  a.cert-card { text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
  a.cert-card:hover { transform: translateY(-3px); border-color: var(--blue); }
  .cert-list { display: grid; gap: 22px; margin-top: 8px; }
  .cert-item { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px; box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; scroll-margin-top: 90px; }
  .cert-item h2 { font-size: clamp(19px, 2.4vw, 23px); color: var(--navy); margin-top: 4px; }
  .cert-issuer { color: var(--muted); font-size: 13.5px; margin: 6px 0 14px; }
  .cert-item .price-features { border-top: 1px solid var(--line); padding-top: 14px; }
  .cert-scans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
  .cert-scans img { width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
  .szk-h2 { margin: 40px 0 16px; color: var(--navy); font-size: clamp(22px, 3vw, 28px); }
  @media (min-width: 900px) { .cert-item:has(.cert-scans) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
  .price-card-top { min-height: 66px; }
  .price-footnote { max-width: none; }

  /* ---- SEO / treści: kroki, FAQ, podstrony usług ---- */
  .svc-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .svc-more { font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: none; }
  .svc-more:hover { text-decoration: underline; }

  .steps-sec { padding-block: 56px 20px; }
  .steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
  .steps li { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 22px; position: relative; }
  .steps .step-n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 12px; }
  .steps h3 { font-size: 17px; margin: 0 0 6px; color: var(--navy); }
  .steps p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
  @media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

  .faq-list { display: grid; gap: 10px; max-width: 820px; }
  .faq-item { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 12px; padding: 0; }
  .faq-item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 600; color: var(--navy); font-size: 16px; line-height: 1.4; position: relative; }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--blue); transition: transform .2s ease; }
  .faq-item[open] summary::after { content: "\2212"; }
  .faq-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 12px; }
  .faq-item p { margin: 0; padding: 0 18px 18px; color: var(--ink-soft); line-height: 1.65; font-size: 15.5px; }

  .info-head { padding-block: 40px 8px; max-width: 880px; }
  .info-head h1 { font-size: clamp(28px, 4.4vw, 42px); color: var(--navy); margin: 8px 0 12px; line-height: 1.15; }
  .info-lede { color: var(--ink-soft); font-size: 17px; line-height: 1.65; max-width: 62ch; margin: 0; }
  .info-ctas { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
  .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
  .crumbs a { color: var(--muted); }
  .prose-wrap { max-width: 880px; padding-block: 8px 28px; }
  .prose h2 { font-size: clamp(21px, 2.6vw, 27px); color: var(--navy); margin: 38px 0 12px; line-height: 1.25; }
  .prose h3 { font-size: 18px; color: var(--navy); margin: 24px 0 6px; }
  .prose p { color: var(--ink-soft); line-height: 1.75; font-size: 16.5px; margin: 0 0 12px; max-width: 70ch; }
  .prose a { color: var(--blue); }
  .prose ul.ticks { list-style: none; padding: 0; margin: 8px 0 14px; display: grid; gap: 10px; max-width: 70ch; }
  .prose ul.ticks li { position: relative; padding-left: 30px; color: var(--ink-soft); line-height: 1.65; font-size: 16.5px; }
  .prose ul.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); opacity: .92; }
  .prose ul.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
  .callout { border-left: 4px solid var(--blue); background: var(--bg-panel); border-radius: 8px; padding: 14px 18px; margin: 22px 0; color: var(--ink-soft); line-height: 1.65; font-size: 15.5px; max-width: 70ch; }
  .callout.warn { border-left-color: #C0392B; }
  .callout strong { color: var(--navy); }
  .price-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 520px; margin: 10px 0 16px; }
  .price-tile { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
  .price-tile .pt-name { font-size: 14px; color: var(--ink-soft); }
  .price-tile .pt-val { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 28px; color: var(--navy); }
  .price-tile .pt-note { font-size: 12.5px; color: var(--muted); }
  @media (max-width: 480px) { .price-pair { grid-template-columns: 1fr; } }

  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Blog / Porady ===== */
  .post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
  .post-card { display: flex; flex-direction: column; gap: 8px; background: var(--bg-panel); border: 1px solid var(--line); border-radius: 16px; padding: 0 0 20px; text-decoration: none; color: inherit; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .post-card[hidden] { display: none; }
  .post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
  .post-card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; display: block; margin-bottom: 8px; }
  .post-card .post-meta, .post-card h2, .post-card h3, .post-card p, .post-card .post-more { margin: 0; padding-inline: 20px; }
  .post-meta { font-size: 13px; color: var(--muted); }
  .post-cat { color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
  .post-card h2, .post-card h3 { font-size: 19px; line-height: 1.3; color: var(--navy); }
  .post-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
  .post-more { margin-top: auto !important; padding-top: 6px; font-weight: 600; font-size: 14px; color: var(--blue); }
  .post-grid-sm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .post-grid-sm .post-card h3 { font-size: 16px; }

  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 24px; }
  .chip { font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg-panel); color: var(--ink-soft); cursor: pointer; }
  .chip:hover { border-color: var(--blue); color: var(--blue); }
  .chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

  .post-byline { font-size: 14px; color: var(--muted); margin: 14px 0 6px; }
  .post-byline a { color: var(--blue); }
  .post-cover { margin: 10px 0 26px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
  .post-cover img { display: block; width: 100%; height: auto; }

  .prose ol.steps-list { margin: 8px 0 16px; padding-left: 0; list-style: none; counter-reset: st; display: grid; gap: 10px; max-width: 70ch; }
  .prose ol.steps-list li { counter-increment: st; position: relative; padding-left: 40px; color: var(--ink-soft); line-height: 1.65; font-size: 16.5px; }
  .prose ol.steps-list li::before { content: counter(st); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 8px; background: var(--navy); color: var(--bg-panel); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
  .prose strong { color: var(--ink); }

  .table-wrap { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-panel); max-width: 100%; }
  .prose table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.55; }
  .prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
  .prose th { background: var(--bg-band); color: var(--navy); font-weight: 600; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; }
  .prose tr:last-child td { border-bottom: 0; }
  .prose td:first-child { white-space: nowrap; }
  @media (max-width: 600px) { .prose td:first-child { white-space: normal; } .prose th, .prose td { padding: 9px 10px; font-size: 14px; } }

  .post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 34px 0 10px; padding: 22px 24px; border-radius: 16px; background: var(--overlay-deep); color: #EAF0FA; }
  .post-cta strong { font-size: 18px; color: #fff; }
  .post-cta p { margin: 6px 0 0; color: #C3CFE2; font-size: 14.5px; line-height: 1.6; max-width: 52ch; }
  .post-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
  .post-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
  .post-cta .btn-ghost:hover { border-color: #fff; }
  .post-service { font-size: 14.5px; color: var(--muted); }
  .post-service a { color: var(--blue); font-weight: 600; }
  nav.links a { white-space: nowrap; }
  @media (min-width: 881px) and (max-width: 1120px) { nav.links { gap: 14px; font-size: 14px; } }
  .cert-scans { grid-template-columns: repeat(auto-fill, minmax(140px, 200px)); justify-content: start; }
  .cert-scans a { display: block; transition: transform .18s ease; }
  .cert-scans a:hover { transform: translateY(-3px); }
/* ===== Cookie banner ===== */
  .nk-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto; background: var(--bg-panel); color: var(--ink-soft); border: 1px solid var(--line-strong); border-radius: 16px; padding: 18px 20px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); font-size: 14px; line-height: 1.6; }
  .nk-cookie p { margin: 0 0 12px; }
  .nk-cookie strong { color: var(--navy); }
  .nk-cookie a { color: var(--blue); }
  .nk-cookie-btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
  .nk-cookie .btn { padding: 10px 18px; font-size: 14px; }
  @media (max-width: 880px) { .nk-cookie { bottom: 84px; } }
  .cert-person { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-soft); }
  .cert-person strong { color: var(--navy); }
  .cert-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 20px; }
  .cert-stats > div { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
  .cs-v { font-family: "Space Grotesk", sans-serif; font-size: clamp(22px, 3.4vw, 32px); font-weight: 700; color: var(--navy); line-height: 1.1; }
  .cs-k { font-size: 13px; color: var(--muted); }
  .cert-why { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 10px; }
  .cert-why li { position: relative; padding-left: 26px; color: var(--ink-soft); line-height: 1.6; font-size: 15.5px; }
  .cert-why li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 3px; background: var(--blue); }
  .cert-why strong { color: var(--navy); }
  .cs-v[data-stat="last"] { font-size: clamp(18px, 2.4vw, 24px); }
  @media (max-width: 560px) { .cert-stats { grid-template-columns: 1fr 1fr; } .cert-stats > div:last-child { grid-column: 1 / -1; } .cert-stats > div { padding: 12px 14px; } }
/* ===== Usługi: grupy ===== */
  .svc-group { grid-column: 1 / -1; background: var(--bg-band); font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); padding: 12px 22px; display: flex; align-items: center; gap: 12px; }
  .svc-group::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
  .service-card { position: relative; }
  .svc-new { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(46, 95, 163, .12); color: var(--blue); padding: 4px 9px; border-radius: 999px; }
  .svc-audience { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 22px; }
  .svc-audience span { font-size: 13.5px; font-weight: 600; color: var(--navy); background: var(--bg-panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
  .svc-audience span::before { content: "✓ "; color: var(--ok); }
