@charset "utf-8";
/* ==========================================================================
   EKO-TRANS Jerzy Kruk — nowa strona
   Paleta i identyfikacja zapożyczone z oryginalnej strony:
     zieleń #019243 · żółty #FFF601 · limonka #CFE159 · kremowy #F3F1DB
   ========================================================================== */

@layer tokens, base, layout, components, motion, print;

/* ───────────────────────────── 1. TOKENS ─────────────────────────────── */
@layer tokens {
  :root {
    /* brand */
    --green:        #019243;
    --green-bright: #04B354;
    /* przyciski z białym tekstem: #019243 daje tylko 4.04:1, ten odcień 5.5:1 */
    --green-btn:    #017A38;
    --green-700:    #01753A;
    --green-800:    #0A4A2A;
    --green-900:    #06331F;
    --green-950:    #031C11;
    --green-tint:   #EAF6EF;
    --lime:         #CFE159;
    --lime-soft:    #DEEDA0;
    --yellow:       #FFE500;
    --yellow-warm:  #FFF601;
    --cream:        #F3F1DB;

    /* neutrals */
    --ink:    #0C1A13;
    --body:   #384941;
    --muted:  #5F7068;
    --line:   #DFE8E1;
    --mist:   #F4F8F5;
    --paper:  #FFFFFF;

    /* kolor wyróżnień (strong/b); na ciemnych tłach dziedziczy kolor tekstu */
    --em: var(--ink);

    --header-h: clamp(78px, 6.2vw + 50px, 96px);

    /* type */
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
            Arial, "Noto Sans", sans-serif;
    --step--1: clamp(0.83rem, 0.80rem + 0.14vw, 0.90rem);
    --step-0:  clamp(0.97rem, 0.93rem + 0.20vw, 1.06rem);
    --step-1:  clamp(1.10rem, 1.02rem + 0.38vw, 1.30rem);
    --step-2:  clamp(1.34rem, 1.18rem + 0.76vw, 1.78rem);
    --step-3:  clamp(1.62rem, 1.32rem + 1.45vw, 2.46rem);
    --step-4:  clamp(1.98rem, 1.42rem + 2.70vw, 3.48rem);
    --step-5:  clamp(2.32rem, 1.35rem + 4.60vw, 5.10rem);

    /* space */
    --gutter: clamp(1.1rem, 0.55rem + 2.6vw, 2.6rem);
    --shell-max: 1300px;
    --section-y: clamp(3.6rem, 2.2rem + 6vw, 8.4rem);
    --gap: clamp(1rem, 0.5rem + 1.6vw, 1.75rem);

    /* shape + depth */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 34px;
    --r-pill: 999px;

    --shadow-1: 0 1px 2px rgba(6, 40, 24, .05), 0 4px 14px rgba(6, 40, 24, .06);
    --shadow-2: 0 2px 6px rgba(6, 40, 24, .07), 0 16px 40px rgba(6, 40, 24, .10);
    --shadow-3: 0 30px 70px rgba(6, 40, 24, .22);

    --ease: cubic-bezier(.22, .68, .29, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    accent-color: var(--green);
    scrollbar-color: var(--green-700) var(--mist);
  }
}

/* ────────────────────────────── 2. BASE ──────────────────────────────── */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }

  * { margin: 0; }

  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 14px);
  }

  body {
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--body);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  body.is-locked { overflow: hidden; }

  h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.028em;
    text-wrap: balance;
  }

  h1 { font-size: var(--step-5); letter-spacing: -0.038em; }
  h2 { font-size: var(--step-4); }
  h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.02em; }
  h4 { font-size: var(--step-1); line-height: 1.25; }

  p { text-wrap: pretty; }
  p + p { margin-top: 0.95em; }

  a { color: var(--green-700); text-underline-offset: 3px; }
  a:hover { color: var(--green); }

  img, picture, svg, video { display: block; max-width: 100%; }
  /* <picture> jest tylko opakowaniem — niech nie tworzy własnego pudełka,
     dzięki czemu <img> rozciąga się na całego rodzica */
  picture { display: contents; }
  img { height: auto; }

  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

  ul, ol { list-style: none; padding: 0; }

  address { font-style: normal; }

  /* Wyróżnienia nie mogą wymuszać ciemnego koloru na ciemnym tle —
     na takich powierzchniach --em dziedziczy kolor tekstu (patrz niżej). */
  strong, b { color: var(--em); font-weight: 700; }

  ::selection { background: var(--yellow); color: var(--ink); }

  :focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
    border-radius: 6px;
  }

  .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

  /* treść tylko dla czytników ekranu */
  .sr-only {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    overflow: hidden; white-space: nowrap;
    clip-path: inset(50%);
  }

  .ico { width: 1.15em; height: 1.15em; flex: none; }
  .ico--flip { transform: rotate(180deg); }

  .skip-link {
    position: fixed; top: 10px; left: 10px; z-index: 200;
    transform: translateY(-160%);
    padding: 12px 20px; border-radius: var(--r-pill);
    background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
  }
  .skip-link:focus { transform: none; }
}

/* ───────────────────────────── 3. LAYOUT ─────────────────────────────── */
@layer layout {
  .shell {
    width: min(100% - (var(--gutter) * 2), var(--shell-max));
    margin-inline: auto;
  }

  .section { padding-block: var(--section-y); position: relative; }

  .grid { display: grid; gap: clamp(1.6rem, 1rem + 3.4vw, 4.4rem); }

  .grid--split { align-items: center; }
  /* w układzie dwukolumnowym nagłówek nie może dominować nad treścią */
  .grid--split h2 { font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.95rem); }
  @media (min-width: 900px) {
    .grid--split { grid-template-columns: 1.05fr 0.95fr; }
    .grid--split-rev > :first-child { order: 2; }
  }

  .section__head { max-width: 62ch; margin-bottom: clamp(1.8rem, 1rem + 2.6vw, 3.4rem); }
  .section__head--center { margin-inline: auto; text-align: center; }

  .section__lead {
    margin-top: 1.1rem;
    font-size: var(--step-1);
    color: var(--muted);
    line-height: 1.6;
  }

  /* eyebrow / kicker ------------------------------------------------- */
  .eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    margin-bottom: 1.05rem;
    font-size: .78rem; font-weight: 800;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--green-700);
  }
  .eyebrow__dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 4px rgba(255, 229, 0, .22);
  }
  .eyebrow--light { color: var(--lime); }
  /* na ciemnych tłach zieleń dawała tylko 3.06:1 */
  .section--fleet .eyebrow,
  .section--contact .eyebrow { color: var(--lime); }
  .section__head--center .eyebrow { justify-content: center; }
}

/* ──────────────────────────── 4. COMPONENTS ──────────────────────────── */
@layer components {

  /* ── ciemne powierzchnie ─────────────────────────────────────────────
     Na nich <b> i <strong> muszą dziedziczyć kolor tekstu, inaczej reguła
     z warstwy base wymusza --ink i daje np. 1.28:1 na ciemnej zieleni. */
  .hero,
  .svc--feature,
  .section--fleet,
  .section--contact,
  .map__facade,
  .site-footer { --em: currentColor; }

  /* ── buttons ────────────────────────────────────────────────────── */
  .btn {
    --btn-bg: var(--green-btn);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    gap: .6rem;
    padding: .92em 1.55em;
    border-radius: var(--r-pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 700;
    font-size: var(--step-0);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
                background-color .25s var(--ease-out), color .25s var(--ease-out),
                border-color .25s var(--ease-out);
  }
  .btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-2); }
  .btn:active { transform: translateY(0); }

  .btn--solid { --btn-bg: var(--green-btn); }
  .btn--solid:hover { --btn-bg: var(--green); }

  .btn--dark { --btn-bg: var(--ink); }
  .btn--dark:hover { --btn-bg: var(--green-900); }

  .btn--outline {
    --btn-bg: transparent; --btn-fg: #fff;
    border: 1.5px solid rgba(255, 255, 255, .45);
  }
  .btn--outline:hover { --btn-bg: rgba(255, 255, 255, .14); border-color: #fff; }

  .btn--outline-dark {
    --btn-bg: transparent; --btn-fg: var(--ink);
    border: 1.5px solid rgba(12, 26, 19, .22);
  }
  .btn--outline-dark:hover { --btn-bg: rgba(12, 26, 19, .06); border-color: var(--ink); }

  .btn--ghost { --btn-bg: var(--mist); --btn-fg: var(--ink); }
  .btn--ghost:hover { --btn-bg: var(--line); }

  .btn--lg { padding: 1.06em 1.9em; }
  .btn--sm { padding: .74em 1.15em; font-size: var(--step--1); }
  .btn--block { display: flex; width: 100%; }

  /* ── przycisk-nalepka ───────────────────────────────────────────── */
  .sticker-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: 1.06em 1.9em;
    border-radius: var(--r-pill);
    background: linear-gradient(150deg, var(--yellow-warm), var(--lime));
    color: var(--green-950);
    font-weight: 800; font-size: var(--step-0); line-height: 1;
    text-decoration: none; white-space: nowrap;
    rotate: -2deg;
    box-shadow: 0 5px 0 rgba(6, 40, 24, .16), 0 14px 30px rgba(6, 40, 24, .2);
    transition: rotate .35s var(--ease-out), translate .35s var(--ease-out),
                box-shadow .35s var(--ease-out);
  }
  /* przerywana obwódka wewnątrz — to ona daje efekt nalepki */
  .sticker-btn::before {
    content: ""; position: absolute; inset: 4px;
    border: 2px dashed rgba(3, 28, 17, .26);
    border-radius: inherit;
    pointer-events: none;
  }
  .sticker-btn:hover,
  .sticker-btn:focus-visible {
    color: var(--green-950);
    rotate: 0deg;
    translate: 0 -3px;
    box-shadow: 0 7px 0 rgba(6, 40, 24, .18), 0 20px 40px rgba(6, 40, 24, .26);
  }
  .sticker-btn--lg { padding: 1.1em 2rem; }
  .sticker-btn--block { display: flex; width: 100%; }

  /* ── header / topbar ────────────────────────────────────────────── */
  .site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    --hdr-fg: #fff;
    --hdr-line: rgba(255, 255, 255, .18);
    color: var(--hdr-fg);
    transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out),
                color .3s var(--ease-out);
  }

  .topbar {
    overflow: hidden;
    max-height: 46px;
    background: var(--green-950);
    color: rgba(255, 255, 255, .82);
    font-size: var(--step--1);
    transition: max-height .45s var(--ease-out), opacity .3s var(--ease-out);
  }
  .topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; min-height: 46px;
  }
  .topbar__note { display: flex; align-items: center; gap: .5rem; margin: 0; }
  .topbar__links { display: flex; align-items: center; gap: 1.35rem; }
  .topbar__links a {
    display: inline-flex; align-items: center; gap: .45rem;
    color: inherit; font-weight: 600; text-decoration: none;
  }
  .topbar__links a:hover { color: var(--yellow); }
  .topbar__links .ico { color: var(--lime); }
  @media (max-width: 560px) { .topbar__note { display: none; } .topbar__inner { justify-content: center; } }

  .navbar { transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out); }
  .navbar__inner {
    display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem);
    min-height: var(--header-h);
  }

  .brand { flex: none; display: block; text-decoration: none; }
  /* logo skaluje się razem z nagłówkiem, więc zawsze jest wyważone */
  .brand img {
    width: auto;
    height: calc(var(--header-h) - 18px);
    transition: filter .35s var(--ease-out), transform .35s var(--ease-out);
  }
  .brand:hover img { transform: scale(1.04); }

  .nav { margin-inline: auto; }
  .nav ul { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.1rem); }
  .nav a {
    display: block; position: relative;
    padding: .55rem .2rem;
    color: inherit; font-weight: 600; font-size: var(--step--1);
    text-decoration: none;
    letter-spacing: .01em;
    transition: color .25s var(--ease-out);
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .18rem;
    height: 2px; border-radius: 2px;
    background: var(--yellow);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease-out);
  }
  .nav a:hover::after,
  .nav a[aria-current="true"]::after { transform: scaleX(1); }
  .nav a[aria-current="true"] { font-weight: 700; }

  .navbar__cta { flex: none; --btn-bg: var(--yellow); --btn-fg: var(--green-900); }
  .navbar__cta:hover { --btn-bg: #fff; }
  .navbar__cta-short { display: none; }

  .burger {
    display: none;
    width: 46px; height: 46px; flex: none;
    border-radius: 14px;
    border: 1.5px solid var(--hdr-line);
    position: relative;
  }
  .burger span {
    position: absolute; left: 50%; width: 19px; height: 2px; border-radius: 2px;
    background: currentColor;
    translate: -50% 0;
    transition: top .35s var(--ease-out), transform .35s var(--ease-out), opacity .2s linear;
  }
  .burger span:nth-child(1) { top: 16px; }
  .burger span:nth-child(2) { top: 22px; }
  .burger span:nth-child(3) { top: 28px; }
  .burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

  @media (max-width: 1080px) {
    .nav { display: none; }
    .burger { display: block; margin-left: auto; }
  }
  @media (max-width: 560px) {
    .navbar__cta-text { display: none; }
    .navbar__cta-short { display: inline; }
  }

  /* stuck (scrolled) state */
  .site-header.is-stuck {
    --hdr-fg: var(--ink);
    --hdr-line: rgba(12, 26, 19, .16);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(6, 40, 24, .07);
  }
  .site-header.is-stuck .topbar { max-height: 0; opacity: 0; }
  .site-header.is-stuck .brand img { filter: none; }
  .site-header:not(.is-stuck) .brand img {
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .5));
  }

  /* ── mobile menu panel ──────────────────────────────────────────── */
  .menu-panel {
    position: fixed; inset: 0; z-index: 99;
    display: flex; flex-direction: column; justify-content: center;
    gap: 2rem;
    padding: calc(var(--header-h) + 2.2rem) var(--gutter) 2.2rem;
    background: linear-gradient(160deg, var(--green-900), var(--green-950));
    color: #fff;
    opacity: 0;
    overflow-y: auto;
    transition: opacity .3s var(--ease-out);
  }
  .menu-panel[hidden] { display: none; }
  .menu-panel.is-open { opacity: 1; }

  .menu-panel nav ul { display: grid; gap: .3rem; }
  .menu-panel nav a {
    display: flex; align-items: baseline; gap: .9rem;
    padding: .68rem 0;
    color: #fff; text-decoration: none;
    font-size: var(--step-3); font-weight: 800; letter-spacing: -0.03em;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transition: color .25s var(--ease-out), padding-left .3s var(--ease-out);
  }
  .menu-panel nav a span {
    font-size: .75rem; font-weight: 700; letter-spacing: .12em;
    color: var(--lime); opacity: .8;
  }
  .menu-panel nav a:hover,
  .menu-panel nav a:focus-visible { color: var(--yellow); padding-left: .5rem; }
  .menu-panel__foot { display: grid; gap: .7rem; }
  .menu-panel__addr {
    margin-top: .4rem; text-align: center;
    font-size: var(--step--1); color: rgba(255, 255, 255, .6);
  }

  /* ── scroll progress ────────────────────────────────────────────── */
  .scroll-progress {
    position: fixed; inset: 0 0 auto; z-index: 120; height: 3px;
    background: transparent; pointer-events: none;
  }
  .scroll-progress span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--lime), var(--yellow));
  }

  /* ── hero ───────────────────────────────────────────────────────── */
  .hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 4rem);
    padding-bottom: clamp(3.2rem, 2rem + 5vw, 6rem);
    color: #fff;
    overflow: hidden;
    background: var(--green-950);
  }
  .hero__media { position: absolute; inset: -8% 0 -12%; z-index: 0; }
  .hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
    will-change: transform;
  }
  .hero__scrim {
    position: absolute; inset: 0; z-index: 1;
    background:
      radial-gradient(120% 86% at 12% 88%, rgba(3, 28, 17, .94) 0%, rgba(3, 28, 17, .55) 45%, transparent 72%),
      linear-gradient(to top, rgba(3, 28, 17, .96) 4%, rgba(3, 28, 17, .55) 38%, rgba(3, 28, 17, .18) 66%, rgba(3, 28, 17, .5) 100%);
  }
  .hero__inner { position: relative; z-index: 2; }
  .hero .eyebrow { color: var(--lime); }

  .hero h1 { color: #fff; max-width: 20ch; }
  .hero h1 em { font-style: normal; color: var(--yellow); }

  .hero__lead {
    margin-top: 1.35rem;
    max-width: 50ch;
    font-size: var(--step-1);
    color: rgba(255, 255, 255, .86);
    line-height: 1.6;
  }

  .hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    max-width: 62rem;
    margin-top: clamp(2.4rem, 1.4rem + 3vw, 4rem);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, .16);
    backdrop-filter: blur(8px);
  }
  @media (min-width: 720px) {
    .hero__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
  .stat { padding: 1.15rem 1.3rem; background: rgba(3, 28, 17, .42); }
  .stat dt {
    font-size: .72rem; font-weight: 700;
    letter-spacing: .13em; text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
  }
  .stat dd {
    margin-top: .35rem;
    font-size: var(--step-2);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
  }
  .stat dd b { color: var(--yellow); font-weight: 800; }

  .hero__cue {
    position: absolute; left: 50%; bottom: 1.5rem; z-index: 2;
    translate: -50% 0;
    width: 30px; height: 48px;
    border: 2px solid rgba(255, 255, 255, .38);
    border-radius: var(--r-pill);
  }
  @media (max-width: 900px) { .hero__cue { display: none; } }
  .hero__cue span {
    position: absolute; left: 50%; top: 9px;
    width: 5px; height: 9px; border-radius: 3px;
    background: var(--yellow);
    translate: -50% 0;
    animation: cue 1.9s var(--ease-out) infinite;
  }
  @keyframes cue {
    0%, 100% { transform: translateY(0); opacity: 1; }
    55%      { transform: translateY(16px); opacity: .15; }
  }

  /* ── ticker ─────────────────────────────────────────────────────── */
  .ticker {
    overflow: hidden;
    background: var(--green);
    border-block: 1px solid rgba(255, 255, 255, .14);
  }
  .ticker__track {
    display: flex; align-items: center; gap: 1.6rem;
    width: max-content;
    padding-block: .85rem;
    animation: ticker 46s linear infinite;
  }
  .ticker__track span {
    font-size: var(--step-1);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--yellow);
    white-space: nowrap;
  }
  .ticker__track i { color: rgba(255, 255, 255, .45); font-size: .7rem; }
  @keyframes ticker { to { transform: translateX(-50%); } }

  /* ── quote + checklist (about) ──────────────────────────────────── */
  .quote {
    margin-top: 1.9rem;
    padding: 1.1rem 1.4rem;
    border-left: 5px solid var(--yellow);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    background: var(--mist);
    font-size: var(--step-1);
    font-weight: 700;
    color: var(--green-800);
    letter-spacing: -0.01em;
  }
  .quote q { quotes: "\201E" "\201D"; }

  .checklist { display: grid; gap: .7rem; margin-top: 1.7rem; }
  .checklist li { position: relative; padding-left: 2rem; font-weight: 500; }
  .checklist li::before {
    content: "";
    position: absolute; left: 0; top: .35em;
    width: 1.15rem; height: 1.15rem;
    border-radius: 50%;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.6 4.6 4.6L19 7.4'/%3E%3C/svg%3E") center / 78% no-repeat;
  }

  /* ── about media collage ────────────────────────────────────────── */
  .about__media { position: relative; }
  .stack-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
  .stack-img img { width: 100%; height: 100%; object-fit: cover; }
  .stack-img--main { aspect-ratio: 5 / 4; }
  .stack-img--float {
    position: absolute; right: -4%; bottom: -8%;
    width: 42%; max-width: 230px;
    aspect-ratio: 1 / 1;
    border: 6px solid var(--paper);
    box-shadow: var(--shadow-3);
  }
  @media (max-width: 560px) { .stack-img--float { right: 0; bottom: -6%; width: 46%; } }

  .about__badge {
    position: absolute; left: -3%; top: -4%;
    display: grid; place-items: center; align-content: center;
    width: clamp(84px, 12vw, 116px); aspect-ratio: 1;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--green-900);
    text-align: center;
    box-shadow: var(--shadow-2);
    rotate: -8deg;
  }
  .about__badge b { display: block; font-size: var(--step-2); letter-spacing: -0.04em; line-height: 1; }
  .about__badge span { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

  /* ── services ───────────────────────────────────────────────────── */
  .section--services { background: var(--mist); }

  .services { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
  @media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1080px) {
    .services { grid-template-columns: repeat(4, 1fr); }
    .svc--feature { grid-column: span 2; grid-row: span 2; }
  }

  .svc {
    position: relative;
    display: flex; flex-direction: column; gap: .6rem;
    padding: clamp(1.3rem, 1rem + 1vw, 1.9rem);
    border-radius: var(--r-lg);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-1);
    /* przycina zakładkę dokładnie do promienia karty */
    overflow: hidden;
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
                border-color .45s var(--ease-out);
  }
  /* Zakładka w prawym dolnym narożniku. Kwadrat z zaokrąglonym lewym górnym
     rogiem daje ćwierćkola; jego prawe i dolne krawędzie pokrywają się z
     borderem karty, więc zakładka „siedzi” na obwódce, a nie obok niej. */
  .svc::after {
    content: "";
    position: absolute; right: 0; bottom: 0;
    width: 54px; height: 54px;
    border-top-left-radius: 100%;
    border-bottom-right-radius: inherit;
    background: var(--yellow)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031611' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 8l8 8M16 10.8V16h-5.2'/%3E%3C/svg%3E")
      no-repeat 70% 70% / 19px;
    transform: translate(100%, 100%);
    transition: transform .5s var(--ease-out);
  }
  .svc:hover,
  .svc:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2), 0 24px 46px rgba(6, 40, 24, .13);
    border-color: var(--green);
  }
  .svc:hover::after,
  .svc:focus-within::after { transform: none; }
  .svc h3 { font-size: var(--step-1); }
  .svc p { font-size: var(--step-0); color: var(--muted); }
  .svc p b { color: var(--green-800); }

  .svc__ico {
    display: grid; place-items: center;
    width: 52px; height: 52px;
    margin-bottom: .35rem;
    border-radius: 15px;
    background: var(--green-tint);
    color: var(--green-700);
    font-size: 1.5rem;
    transition: background-color .35s var(--ease-out), color .35s var(--ease-out),
                transform .35s var(--ease-out);
  }
  .svc:hover .svc__ico { background: var(--green); color: #fff; transform: translateY(-2px); }

  .svc--feature {
    padding: 0;
    overflow: hidden;
    background: var(--green-900);
    border-color: transparent;
    color: rgba(255, 255, 255, .8);
  }
  .svc--feature::after { display: none; }
  .svc--feature .svc__media { aspect-ratio: 16 / 10; overflow: hidden; }
  .svc--feature .svc__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.1s var(--ease-out);
  }
  .svc--feature:hover .svc__media img { transform: scale(1.06); }
  .svc--feature .svc__body {
    display: flex; flex-direction: column; gap: .7rem;
    padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem);
  }
  .svc--feature h3 { color: #fff; font-size: var(--step-2); }
  .svc--feature p { color: rgba(255, 255, 255, .78); }
  .svc--feature p b { color: var(--yellow); }
  .svc__num { font-size: .72rem; font-weight: 800; letter-spacing: .18em; color: var(--lime); }

  .tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .35rem; }
  .tags li {
    padding: .38em .85em;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: .78rem; font-weight: 600;
    color: #fff;
  }

  .services__note {
    margin-top: clamp(1.6rem, 1rem + 2vw, 2.6rem);
    font-size: var(--step-1);
    color: var(--muted);
  }
  .services__note a {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 700; color: var(--green-700);
    text-decoration: none;
    border-bottom: 2px solid var(--yellow);
  }
  .services__note a:hover { color: var(--green); }
  .services__note .ico { transform: rotate(180deg); }

  /* ── gallery + filters ──────────────────────────────────────────── */
  .section--fleet {
    background:
      radial-gradient(95% 65% at 50% 0%, var(--green-900) 0%, var(--green-950) 70%);
    background-color: var(--green-950);
    color: rgba(255, 255, 255, .78);
  }
  .section--fleet h2 { color: #fff; }
  .section--fleet .section__lead { color: rgba(255, 255, 255, .68); }

  .filters {
    display: flex; flex-wrap: wrap; gap: .5rem;
    justify-content: center;
    margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  }
  .filters button {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .62em 1.15em;
    border-radius: var(--r-pill);
    border: 1.5px solid rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .8);
    font-size: var(--step--1); font-weight: 700;
    transition: background-color .3s var(--ease-out), color .3s var(--ease-out),
                border-color .3s var(--ease-out), transform .3s var(--ease-out);
  }
  .filters button span {
    font-size: .7rem; font-weight: 700;
    padding: .1em .5em;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .14);
  }
  .filters button:hover { border-color: var(--lime); color: #fff; transform: translateY(-2px); }
  .filters button.is-active {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--green-950);
  }
  .filters button.is-active span { background: rgba(3, 28, 17, .16); }

  .gallery {
    display: grid;
    gap: clamp(.6rem, .3rem + 1vw, 1.1rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  @media (min-width: 620px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

  .shot {
    position: relative;
    margin: 0;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--green-900);
    transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  }
  .shot.is-hidden { display: none; }
  .shot.is-entering { opacity: 0; transform: scale(.94) translateY(12px); }

  .shot__btn {
    display: block; width: 100%; padding: 0;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
  .shot__btn picture { display: contents; }
  .shot__btn img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease-out), filter .4s var(--ease-out);
    filter: saturate(.94);
  }
  .shot__btn:hover img,
  .shot__btn:focus-visible img { transform: scale(1.07); filter: saturate(1.06); }

  .shot__zoom {
    position: absolute; right: .6rem; top: .6rem;
    display: grid; place-items: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(3, 28, 17, .6);
    backdrop-filter: blur(6px);
    color: var(--yellow);
    font-size: 1.05rem;
    opacity: 0; transform: scale(.7);
    transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  }
  .shot__btn:hover .shot__zoom,
  .shot__btn:focus-visible .shot__zoom { opacity: 1; transform: none; }

  .shot figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.6rem .85rem .7rem;
    font-size: .72rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
    color: #fff;
    background: linear-gradient(to top, rgba(3, 28, 17, .88), transparent);
    pointer-events: none;
  }

  .gallery__empty { margin-top: 2rem; text-align: center; color: rgba(255, 255, 255, .6); }

  /* ── process steps ──────────────────────────────────────────────── */
  .section--process { background: var(--cream); }

  .steps { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
  @media (min-width: 560px) { .steps { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

  .step { position: relative; padding-top: 2.4rem; }
  .step::before {
    content: ""; position: absolute; left: 0; top: .68rem;
    width: 100%; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(1, 146, 67, .35) 0 10px, transparent 10px 18px);
  }
  .step:last-child::before { width: 0; }
  .step__num {
    position: absolute; left: 0; top: 0;
    font-size: var(--step-1); font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--green);
    background: var(--cream);
    padding-right: .55rem;
  }
  .step h3 { font-size: var(--step-1); margin-bottom: .4rem; }
  .step p { color: #5A6558; }

  /* ── zamówienie szamba ──────────────────────────────────────────── */
  .section--order { background: linear-gradient(180deg, var(--green-tint), #F8FBF9 72%); }

  .order {
    display: grid;
    gap: clamp(1.4rem, 1rem + 2vw, 2.8rem);
    padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.6rem);
    border-radius: var(--r-xl);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
  }
  @media (min-width: 880px) {
    .order { grid-template-columns: 1.15fr .85fr; align-items: center; }
  }

  .order__info h3 { margin-bottom: 1.15rem; }

  .order__steps { display: grid; gap: .85rem; }
  .order__steps li {
    display: flex; align-items: flex-start; gap: .8rem;
    font-size: var(--step-1);
    color: var(--body);
  }
  .order__steps li span {
    flex: none;
    display: grid; place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--green-tint);
    color: var(--green-700);
    font-size: .85rem; font-weight: 800;
  }

  .order__note {
    display: flex; align-items: flex-start; gap: .55rem;
    margin-top: 1.4rem; padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    font-size: var(--step--1);
    color: var(--muted);
  }
  .order__note .ico { margin-top: .15em; color: var(--green); }

  .order__cta {
    position: relative;
    display: grid; justify-items: center; gap: .85rem;
    padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem) clamp(1.1rem, 1rem + 1vw, 1.6rem);
    border-radius: var(--r-lg);
    background: linear-gradient(165deg, #FFFDF0, var(--green-tint));
    border: 2px dashed rgba(1, 146, 67, .3);
    text-align: center;
  }

  .sticker {
    position: absolute; top: -15px; right: -6px;
    padding: .5rem 1rem;
    border-radius: 12px;
    background: var(--yellow);
    color: var(--green-950);
    font-size: .68rem; font-weight: 900;
    letter-spacing: .12em; text-transform: uppercase;
    rotate: 6deg;
    box-shadow: 0 10px 22px rgba(6, 40, 24, .2);
  }
  .sticker::before {
    content: ""; position: absolute; inset: 3px;
    border: 1.5px dashed rgba(3, 28, 17, .3);
    border-radius: 9px;
  }

  .order__cta-ico {
    display: grid; place-items: center;
    width: 66px; height: 66px;
    border-radius: 22px;
    background: var(--green-btn);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 14px 30px rgba(1, 146, 67, .32);
  }
  .order__cta-text { font-size: var(--step-0); color: var(--muted); max-width: 30ch; }
  .order__alt { font-size: var(--step--1); color: var(--muted); }
  .order__alt a {
    display: inline-flex; align-items: center; gap: .35rem;
    font-weight: 800; color: var(--green-700); text-decoration: none;
  }
  .order__alt a:hover { color: var(--green); }

  /* ── kalendarz ──────────────────────────────────────────────────── */
  .calendar {
    padding: .9rem;
    border-radius: var(--r-md);
    background: var(--mist);
    border: 1px solid var(--line);
  }
  .calendar__head {
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    margin-bottom: .75rem;
  }
  .calendar__title {
    margin: 0;
    font-size: var(--step-1); font-weight: 800;
    color: var(--ink);
    text-transform: capitalize;
  }
  .calendar__nav {
    display: grid; place-items: center;
    width: 40px; height: 40px; flex: none;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--green-700);
    transition: background-color .25s var(--ease-out), color .25s var(--ease-out),
                transform .25s var(--ease-out), opacity .25s var(--ease-out);
  }
  .calendar__nav .ico { transform: rotate(180deg); }
  .calendar__nav--next .ico { transform: none; }
  .calendar__nav:hover:not(:disabled) { background: var(--green); color: #fff; transform: scale(1.07); }
  .calendar__nav:disabled { opacity: .3; cursor: not-allowed; }

  .calendar__dow,
  .calendar__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
  .calendar__dow {
    margin-bottom: .35rem;
    font-size: .66rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted);
    text-align: center;
  }

  .cal-day {
    position: relative;
    display: grid; place-items: center;
    aspect-ratio: 1;
    border-radius: 12px;
    font-size: var(--step--1); font-weight: 700;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid transparent;
    transition: background-color .2s var(--ease-out), color .2s var(--ease-out),
                border-color .2s var(--ease-out), transform .2s var(--ease-out);
  }
  .cal-day--blank { background: none; }
  .cal-day:disabled { background: none; color: rgba(12, 26, 19, .25); cursor: not-allowed; }
  .cal-day:not(:disabled):hover {
    background: var(--green); border-color: var(--green);
    color: #fff; transform: translateY(-2px);
  }
  .cal-day.is-today { border-color: var(--green); }
  .cal-day.is-today::after {
    content: ""; position: absolute; left: 50%; bottom: 5px;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--yellow);
    translate: -50% 0;
  }

  /* ── modal ──────────────────────────────────────────────────────── */
  .modal {
    position: fixed; inset: 0; z-index: 160;
    display: grid; place-items: center;
    padding: clamp(.7rem, 3vw, 2.4rem);
    background: rgba(2, 14, 9, .8);
    backdrop-filter: blur(8px);
    opacity: 0;
    overflow-y: auto;
    transition: opacity .3s var(--ease-out);
  }
  .modal[hidden] { display: none; }
  .modal.is-open { opacity: 1; }

  .modal__panel {
    position: relative;
    width: min(100%, 560px);
    max-height: 100%;
    overflow-y: auto;
    padding: clamp(1.4rem, 1.1rem + 1.6vw, 2.2rem);
    border-radius: var(--r-lg);
    background: var(--paper);
    box-shadow: var(--shadow-3);
  }

  .modal__close {
    position: absolute; top: .85rem; right: .85rem; z-index: 2;
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--mist);
    color: var(--ink);
    transition: background-color .25s var(--ease-out), transform .25s var(--ease-out);
  }
  .modal__close:hover { background: var(--line); transform: scale(1.06); }

  .modal__view { display: grid; gap: .9rem; }
  .modal__view[hidden] { display: none; }

  .modal__kicker {
    font-size: .72rem; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--green-700);
  }
  .modal__title { font-size: var(--step-3); padding-right: 2.8rem; }
  .modal__view--done .modal__title { padding-right: 0; }

  .modal__date {
    display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
    padding: .7rem .95rem;
    border-radius: var(--r-md);
    background: var(--green-tint);
    font-size: var(--step--1);
    color: var(--green-800);
  }
  .modal__date .ico { color: var(--green); }
  .modal__change {
    margin-left: auto;
    font-size: var(--step--1); font-weight: 700;
    color: var(--green-700);
    text-decoration: underline; text-underline-offset: 3px;
  }

  .modal__hint { display: flex; align-items: flex-start; gap: .5rem; }
  .modal__hint .ico { margin-top: .15em; color: var(--green); }
  .modal__hint,
  .modal__alt { font-size: var(--step--1); color: var(--muted); }
  .modal__alt a { font-weight: 800; color: var(--green-700); }

  .modal__lead { font-size: var(--step-0); color: var(--body); }

  .modal__view--done { justify-items: center; text-align: center; }
  .modal__ok {
    display: grid; place-items: center;
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--green-btn);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 14px 32px rgba(1, 146, 67, .34);
  }
  .modal__actions {
    display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
    margin-top: .4rem;
  }
  .modal__summary {
    width: 100%;
    margin-top: .4rem;
    padding: .85rem 1rem;
    border-radius: var(--r-md);
    background: var(--mist);
    text-align: left;
    font-size: var(--step--1);
  }
  .modal__summary summary { font-weight: 700; color: var(--ink); cursor: pointer; }
  .modal__summary pre {
    margin-top: .7rem;
    font-family: var(--font);
    font-size: var(--step--1);
    color: var(--body);
    white-space: pre-wrap;
  }
  .modal__again {
    font-size: var(--step--1); font-weight: 700;
    color: var(--green-700);
    text-decoration: underline; text-underline-offset: 3px;
  }

  /* ── formularz ──────────────────────────────────────────────────── */
  .form { display: grid; gap: .9rem; }
  .field { display: grid; gap: .35rem; }
  .field-row { display: grid; gap: .9rem; }
  @media (min-width: 460px) { .field-row { grid-template-columns: 1fr 1fr; } }

  .field label { font-size: var(--step--1); font-weight: 700; color: var(--ink); }
  .field__opt { font-weight: 500; color: var(--muted); }

  .field input,
  .field select,
  .field textarea {
    width: 100%;
    padding: .8em .95em;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: var(--step-0);
    transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
  }
  .field textarea { resize: vertical; min-height: 84px; }
  .field input::placeholder,
  .field textarea::placeholder { color: rgba(12, 26, 19, .4); }
  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(1, 146, 67, .14);
  }
  .field input[aria-invalid="true"],
  .field select[aria-invalid="true"] {
    border-color: #B3271A;
    box-shadow: 0 0 0 4px rgba(179, 39, 26, .12);
  }
  .field__err { font-size: .8rem; font-weight: 700; color: #A22B1E; }

  .consent {
    display: flex; align-items: flex-start; gap: .6rem;
    font-size: var(--step--1); color: var(--muted);
    cursor: pointer;
  }
  .consent input {
    flex: none;
    width: 20px; height: 20px;
    margin-top: .12em;
    accent-color: var(--green);
  }
  .consent input[aria-invalid="true"] { outline: 2px solid #B3271A; outline-offset: 2px; }

  .form__status {
    padding: .7rem .95rem;
    border-radius: var(--r-sm);
    background: #FDECEA;
    color: #8E2318;
    font-size: var(--step--1); font-weight: 700;
  }
  .form__status span { display: block; }
  .form__fine { font-size: .78rem; color: var(--muted); }

  /* ── area + map ─────────────────────────────────────────────────── */
  .chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
  .chips li {
    padding: .55em 1.05em;
    border-radius: var(--r-pill);
    background: var(--paper);
    border: 1.5px solid var(--line);
    font-size: var(--step--1); font-weight: 700;
    color: var(--green-800);
  }

  /* miejscowości pogrupowane według gminy */
  .areas {
    display: grid;
    gap: clamp(1rem, .6rem + 1.2vw, 1.6rem);
    margin-top: 1.7rem;
  }
  @media (min-width: 620px) { .areas { grid-template-columns: 1fr 1fr; } }
  .areas__group--wide { grid-column: 1 / -1; }
  .areas__group h3 {
    font-size: var(--step--1);
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green-700);
  }
  .areas__group .chips { margin-top: .6rem; }

  .area__cta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
    margin-top: 2.1rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--line);
  }
  .area__cta p { margin: 0; font-weight: 700; color: var(--ink); }

  .area__map { margin: 0; }
  .map {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--green-900);
    box-shadow: var(--shadow-2);
  }
  .map iframe { width: 100%; height: 100%; border: 0; display: block; }
  .map__facade {
    position: absolute; inset: 0;
    display: grid; place-content: center; justify-items: center; gap: .55rem;
    padding: 1.5rem; text-align: center;
    color: #fff;
    background:
      repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
      radial-gradient(80% 70% at 50% 30%, var(--green-700), var(--green-950));
    transition: filter .4s var(--ease-out);
  }
  .map__pin {
    display: grid; place-items: center;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--green-900);
    font-size: 1.6rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
    animation: pin 2.6s var(--ease-out) infinite;
  }
  .map__pin .ico { width: 30px; height: 30px; }
  @keyframes pin {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
  }
  .map__facade b { font-size: var(--step-1); font-weight: 800; }
  .map__facade > span { font-size: var(--step--1); color: rgba(255, 255, 255, .74); }
  .map__hint {
    margin-top: .5rem;
    padding: .5em 1.1em;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    font-weight: 700;
  }
  .map__facade:hover { filter: brightness(1.14); }
  .area__map figcaption { margin-top: 1rem; text-align: center; }
  .area__map figcaption a {
    display: inline-flex; align-items: center; gap: .4rem;
    font-weight: 700; text-decoration: none;
    border-bottom: 2px solid var(--yellow);
  }

  /* ── FAQ ────────────────────────────────────────────────────────── */
  .section--faq { background: var(--mist); }

  .faq {
    display: grid;
    gap: .6rem;
    max-width: 80ch;
    margin-inline: auto;
  }

  .faq__item {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
  }
  .faq__item[open] {
    border-color: var(--green);
    box-shadow: var(--shadow-1);
  }

  .faq__item summary {
    position: relative;
    display: flex; align-items: center;
    padding: 1rem 3.4rem 1rem 1.25rem;
    font-size: var(--step-1); font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
  }
  .faq__item summary::-webkit-details-marker { display: none; }
  .faq__item summary::after {
    content: "";
    position: absolute; right: 1.1rem; top: 50%;
    width: 24px; height: 24px;
    translate: 0 -50%;
    border-radius: 50%;
    background: var(--green-tint)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301753A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
      center / 15px no-repeat;
    transition: background-color .3s var(--ease-out), rotate .3s var(--ease-out);
  }
  .faq__item[open] summary::after {
    background-color: var(--green-btn);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    rotate: 180deg;
  }
  .faq__item summary:hover { color: var(--green-700); }

  .faq__item p {
    padding: 0 1.25rem 1.2rem;
    color: var(--body);
  }
  .faq__item p a { font-weight: 700; }

  /* ── contact ────────────────────────────────────────────────────── */
  .section--contact {
    background:
      radial-gradient(90% 70% at 15% 0%, rgba(4, 179, 84, .22), transparent 60%),
      var(--green-950);
    color: rgba(255, 255, 255, .78);
  }
  .section--contact h2 { color: #fff; }
  .section--contact .section__lead { color: rgba(255, 255, 255, .68); }

  .contact-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
  @media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

  .contact-card {
    padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
    transition: transform .4s var(--ease-out), background-color .4s var(--ease-out),
                border-color .4s var(--ease-out);
  }
  .contact-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(207, 225, 89, .5);
  }
  .contact-card h3 {
    display: flex; align-items: center; gap: .55rem;
    color: #fff; font-size: var(--step-1);
    margin-bottom: 1.1rem;
  }
  .contact-card h3 .ico { color: var(--yellow); font-size: 1.2rem; }

  .contact-list { display: grid; gap: .45rem; }
  .contact-list a {
    display: inline-block;
    font-size: var(--step-2); font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: color .25s var(--ease-out);
  }
  .contact-list a:hover { color: var(--yellow); }
  .contact-list .muted { color: rgba(255, 255, 255, .5); font-size: var(--step--1); }

  .contact-card address { color: rgba(255, 255, 255, .82); }
  .contact-card address b { color: #fff; }

  .contact-card__mail a {
    font-size: var(--step-1); font-weight: 800;
    color: var(--yellow); text-decoration: none;
    word-break: break-word;
  }
  .contact-card__mail a:hover { text-decoration: underline; }

  .contact-card__note {
    display: flex; align-items: center; gap: .5rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: var(--step--1);
    color: rgba(255, 255, 255, .62);
  }
  .contact-card__note a {
    display: inline-flex; align-items: center; gap: .5rem;
    color: inherit; text-decoration: none; font-weight: 700;
  }
  .contact-card__note a:hover { color: var(--lime); }
  .contact-card__note .ico { color: var(--lime); }
  .contact-card__note b { color: #fff; }

  .cta-band {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    margin-top: clamp(2rem, 1.2rem + 2.4vw, 3.4rem);
    padding: clamp(1.6rem, 1.1rem + 2vw, 2.8rem);
    border-radius: var(--r-xl);
    background: linear-gradient(105deg, var(--yellow-warm), var(--lime));
    color: var(--green-900);
  }
  @media (min-width: 860px) { .cta-band { grid-template-columns: 1.5fr auto; } }
  .cta-band h3 { color: var(--green-900); font-size: var(--step-2); margin-bottom: .5rem; }
  .cta-band p { color: rgba(3, 28, 17, .74); max-width: 56ch; }
  .cta-band__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

  /* ── footer ─────────────────────────────────────────────────────── */
  .site-footer {
    background: #02130C;
    color: rgba(255, 255, 255, .58);
    padding-top: clamp(2.6rem, 1.6rem + 3vw, 4.4rem);
    font-size: var(--step--1);
  }
  .footer__inner {
    display: grid;
    gap: clamp(1.8rem, 1rem + 3vw, 3.4rem);
    grid-template-columns: 1fr;
    padding-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.2rem);
  }
  @media (min-width: 640px) { .footer__inner { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

  .footer__brand img { height: 112px; width: auto; margin-bottom: 1.1rem; }
  .footer__brand p { max-width: 34ch; }

  .footer__col h4 {
    color: #fff; font-size: .82rem; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase;
    margin-bottom: .95rem;
  }
  .footer__col ul { display: grid; gap: .5rem; }
  .footer__col a { color: inherit; text-decoration: none; }
  .footer__col a:hover { color: var(--yellow); }

  .footer__bottom {
    display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
    justify-content: space-between;
    padding-block: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: .78rem;
  }
  .footer__fine { color: rgba(255, 255, 255, .55); }
  /* na telefonie pod treścią zostaje pasek akcji — robimy na niego miejsce */
  @media (max-width: 760px) {
    .site-footer { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  }

  /* ── mobile action bar ──────────────────────────────────────────── */
  .action-bar {
    position: fixed; inset: auto 0 0; z-index: 96;
    display: none;
    gap: .5rem;
    padding: .55rem calc(.7rem + env(safe-area-inset-right)) calc(.55rem + env(safe-area-inset-bottom)) calc(.7rem + env(safe-area-inset-left));
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 26px rgba(6, 40, 24, .1);
    translate: 0 130%;
    transition: translate .45s var(--ease-out);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    flex: 1;
    padding: .84em 1em;
    border-radius: var(--r-pill);
    font-weight: 700; font-size: var(--step--1);
    text-decoration: none;
    color: var(--ink);
  }
  .action-bar__call { background: var(--green-btn); color: #fff; }
  .action-bar__order { background: linear-gradient(150deg, var(--yellow-warm), var(--lime)); color: var(--green-950); }
  .action-bar__mail { background: var(--mist); }
  @media (max-width: 760px) {
    .action-bar { display: flex; }
    .action-bar.is-visible { translate: 0 0; }
  }

  /* ── to top ─────────────────────────────────────────────────────── */
  .to-top {
    position: fixed; z-index: 95;
    right: clamp(.9rem, 2vw, 1.6rem);
    bottom: clamp(1rem, 2vw, 1.6rem);
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: var(--shadow-2);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease-out), visibility .35s, transform .35s var(--ease-out),
                background-color .25s var(--ease-out);
  }
  .to-top .ico { transform: rotate(-90deg); }
  .to-top.is-visible { opacity: 1; visibility: visible; }
  .to-top:hover { background: var(--green); transform: translateY(-3px); }
  @media (max-width: 760px) {
    .to-top { bottom: calc(4.8rem + env(safe-area-inset-bottom)); }
  }

  /* ── lightbox ───────────────────────────────────────────────────── */
  .lightbox {
    position: fixed; inset: 0; z-index: 150;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 3rem);
    background: rgba(2, 14, 9, .94);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity .3s var(--ease-out);
  }
  .lightbox[hidden] { display: none; }
  .lightbox.is-open { opacity: 1; }

  .lightbox__stage {
    display: grid;
    gap: .9rem;
    justify-items: center;
    margin: 0;
    max-width: min(94vw, 1500px);
  }
  .lightbox__stage img {
    max-width: 100%;
    max-height: 74vh;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-3);
    opacity: 0;
    transition: opacity .3s var(--ease-out);
  }
  .lightbox__stage img.is-loaded { opacity: 1; }
  .lightbox__stage figcaption {
    color: rgba(255, 255, 255, .8);
    font-size: var(--step--1);
    font-weight: 600;
    text-align: center;
    max-width: 70ch;
  }

  .lightbox__close,
  .lightbox__nav {
    position: fixed;
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 1.2rem;
    transition: background-color .25s var(--ease-out), transform .25s var(--ease-out);
  }
  .lightbox__close:hover,
  .lightbox__nav:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
  .lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
  .lightbox__nav { top: 50%; translate: 0 -50%; }
  .lightbox__nav--prev { left: clamp(.6rem, 2vw, 1.6rem); }
  .lightbox__nav--next { right: clamp(.6rem, 2vw, 1.6rem); }
  .lightbox__nav--prev .ico { transform: rotate(180deg); }
  @media (max-width: 620px) {
    .lightbox__stage img { max-height: 60vh; }
    .lightbox__nav { width: 42px; height: 42px; }
  }

  .lightbox__count {
    position: fixed; left: 50%; bottom: clamp(1rem, 3vw, 2rem);
    translate: -50% 0;
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .6);
    font-variant-numeric: tabular-nums;
  }

  /* ── reveal ─────────────────────────────────────────────────────── */
  html.is-ready [data-reveal-delay="1"] { --reveal-delay: .09s; }
  html.is-ready [data-reveal-delay="2"] { --reveal-delay: .18s; }
  html.is-ready [data-reveal-delay="3"] { --reveal-delay: .27s; }
  html.is-ready [data-reveal-delay="4"] { --reveal-delay: .36s; }

  @media (prefers-reduced-motion: no-preference) {
    html.is-ready [data-reveal] {
      opacity: 0;
      transform: translateY(26px);
      transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
      transition-delay: var(--reveal-delay, 0s);
    }
    html.is-ready [data-reveal].is-in { opacity: 1; transform: none; }
  }
}

/* ───────────────────────────── 5. MOTION ─────────────────────────────── */
@layer motion {
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
    }
    .hero__media img { transform: none !important; }
    .ticker__track { animation: none; transform: none; }
  }
}

/* ────────────────────────────── 6. PRINT ─────────────────────────────── */
@layer print {
  @media print {
    .site-header, .action-bar, .to-top, .lightbox, .modal, .ticker,
    .scroll-progress, .hero__cue, .map__facade, .gallery, .filters { display: none !important; }
    .hero { min-height: auto; color: #000; display: block; padding-block: 1rem; }
    .hero__scrim, .hero__media { display: none; }
    .hero h1, .hero__lead, .hero h1 em { color: #000; }
    .section--fleet, .section--contact { background: none !important; color: #000; }
    .section--fleet h2, .section--contact h2 { color: #000; }
    body { font-size: 11pt; }
  }
}
