/* PAK Oil – arkusz stylów
   Kolory i kroje są zdefiniowane raz, w :root. */

/* ---------- Fonty (hostowane lokalnie, licencja SIL OFL 1.1) ---------- */
@font-face { font-family: "Sofia Sans Extra Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/sofia-sans-extra-condensed-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/sofia-sans-extra-condensed-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-weight: 900; font-display: swap; src: url("../fonts/sofia-sans-extra-condensed-latin-ext-900-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-weight: 900; font-display: swap; src: url("../fonts/sofia-sans-extra-condensed-latin-900-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Sofia Sans"; font-weight: 400; font-display: swap; src: url("../fonts/sofia-sans-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+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "Sofia Sans"; font-weight: 400; font-display: swap; src: url("../fonts/sofia-sans-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+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Sofia Sans"; font-weight: 600; font-display: swap; src: url("../fonts/sofia-sans-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+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "Sofia Sans"; font-weight: 600; font-display: swap; src: url("../fonts/sofia-sans-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+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Sofia Sans"; font-weight: 700; font-display: swap; src: url("../fonts/sofia-sans-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "Sofia Sans"; font-weight: 700; font-display: swap; src: url("../fonts/sofia-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "JetBrains Mono"; 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+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "JetBrains Mono"; 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+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("../fonts/jetbrains-mono-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-display: swap; src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }

/* ---------- Zmienne ---------- */
:root {
  --yellow: #F4C219;
  --ink: #15140E;
  --paper: #F7F3E3;
  --receipt: #FFFDF4;
  --adr: #F28C00;
  --on-yellow-soft: #3B3000;
  --on-paper-soft: #4A4222;
  --on-ink-soft: #E2DBB8;
  --rule-ink: #4A4630;
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --body: "Sofia Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1240px;
  --gutter: 32px;
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.5; color: var(--ink); background: var(--paper); font-variant-numeric: tabular-nums; -webkit-text-size-adjust: 100%; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-thickness: 4px; }
::selection { background: var(--ink); color: var(--yellow); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--receipt); }
input, select, textarea { caret-color: #B26A00; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 112px; padding-bottom: 96px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 12px 16px; background: var(--ink); color: var(--receipt); font-weight: 700; }
.skip:focus { top: 16px; }

.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 0.95; text-wrap: balance; }
.h2 { font-size: clamp(48px, 6vw, 80px); margin-bottom: 16px; }
.h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1; }
.lead { max-width: 36em; }
.on-yellow .lead, .on-yellow .soft { color: var(--on-yellow-soft); }
.on-paper .lead, .on-paper .soft { color: var(--on-paper-soft); }
.on-ink .lead, .on-ink .soft { color: var(--on-ink-soft); }
.on-yellow { background: var(--yellow); }
.on-ink { background: var(--ink); color: var(--receipt); }
.on-ink :focus-visible { outline-color: var(--yellow); box-shadow: 0 0 0 6px var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border: 0; border-radius: 0; background: var(--ink); color: var(--receipt); font: inherit; font-weight: 700; font-size: 19px; text-decoration: none; cursor: pointer; transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.btn:hover { background: #3A3720; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.text-link { display: inline-block; padding: 14px 0; font-weight: 700; }

/* ---------- Nagłówek ---------- */
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding-top: 20px; padding-bottom: 20px; }
.wordmark { font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; text-decoration: none; }
.nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 0 28px; font-weight: 600; font-size: 17px; }
.nav a { padding: 12px 0; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.nav-order { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--ink); color: var(--receipt); font-weight: 700; font-size: 17px; text-decoration: none; }
.nav-order:hover { background: #3A3720; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 44px; padding: 0; border: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; }

/* ---------- Pierwszy ekran ---------- */
/* Animacja wypełnia całą sekcję. Tekst stoi po lewej, cysterna i dom są po prawej. */
.hero { position: relative; isolation: isolate; background: var(--paper); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video, .hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 62%; }
/* Ostre zdjęcia zimy i lata leżą na wideo i pokazują się na czas postoju na pierwszej i ostatniej klatce. */
.hero-still { opacity: 0; transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-still.is-visible { opacity: 1; }
/* Jasna poświata pod tekstem, żeby był czytelny na tle zdjęcia. */
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(247, 243, 227, 0.95) 0%, rgba(247, 243, 227, 0.9) 5%, rgba(247, 243, 227, 0) 56%); }
/* Sekcja jest niska, żeby razem z nagłówkiem mieściła się na ekranie laptopa. */
.hero-inner { position: relative; min-height: min(36vw, 560px); padding-top: 40px; padding-bottom: 56px; display: flex; align-items: center; }
.hero-copy { width: min(520px, 100%); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero h1 { font-size: clamp(44px, 4.6vw, 68px); line-height: 0.94; letter-spacing: -0.01em; }
.hero .lead { font-size: 20px; max-width: 23em; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
/* Przycisk trzyma się prawego dolnego rogu sekcji, przy krawędzi okna przeglądarki. */
.hero-toggle { position: absolute; z-index: 1; right: 16px; bottom: 16px; min-height: 32px; padding: 2px 10px 0; border: 1px solid var(--ink); border-radius: 0; background: rgba(247, 243, 227, 0.88); color: var(--ink); font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; }
.hero-toggle:hover { background: var(--paper); }
.hero-toggle[hidden] { display: none; }

.receipt { background: var(--receipt); color: var(--ink); padding: 28px 26px 34px; font-family: var(--mono); font-size: 15px; line-height: 1.5; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 36px -12px rgba(59, 48, 0, 0.55), 0 3px 6px rgba(59, 48, 0, 0.25); }
.receipt-title { text-align: center; font-weight: 700; }
.receipt hr { width: 100%; margin: 0; border: 0; border-top: 2px dashed var(--ink); }
.receipt-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.receipt-row > :last-child { text-align: right; }
.receipt-big { font-weight: 700; font-size: 30px; }
.receipt-foot { text-align: center; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Paliwa ---------- */
.fuels { margin-top: 48px; }
.fuel { display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 40px; align-items: center; padding: 32px 0; border-top: 1px solid var(--rule-ink); }
.fuel:first-child { border-top: 2px solid var(--yellow); }
.fuel:last-child { border-bottom: 1px solid var(--rule-ink); }
.fuel h3 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 0.95; text-transform: uppercase; text-wrap: balance; }
.fuel:first-child h3 { color: var(--yellow); }
.fuel p { max-width: 36em; color: var(--on-ink-soft); }
.adr { width: 112px; background: var(--adr); color: var(--ink); border: 3px solid var(--ink); outline: 2px solid var(--adr); font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.15; text-align: center; }
.adr span { display: block; }
.adr span:first-child { border-bottom: 3px solid var(--ink); }
.fuels-cta { margin-top: 40px; font-size: 21px; }
.fuels-cta a { display: inline-block; padding: 10px 0; font-weight: 700; color: var(--yellow); }

/* ---------- Flota ---------- */
/* Konwój w jednym szeregu, widziany z boku, na wspólnej linii drogi. Zbiornik ma stałą wysokość (--h, ok. 2,2 m),
   a jego długość rośnie z pojemnością (ok. 3 m³ na metr). Podpisy stoją pod linią, a pod nimi nazwa grupy. */
.fleet { --h: 42px; --wheel: radial-gradient(circle closest-side, var(--ink) 0 96%, transparent 100%); margin-top: 72px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 40px; }
.fleet-row { display: flex; flex-wrap: wrap; align-items: flex-end; row-gap: 40px; }
.truck { display: flex; flex-direction: column; }
.truck-art { --wd: calc(var(--h) * 0.36); display: flex; align-items: flex-end; gap: calc(var(--h) * 0.05); padding: 0 14px calc(var(--wd) * 0.5); border-bottom: 4px solid var(--ink); background-image: var(--wheel), var(--wheel), var(--wheel); background-repeat: no-repeat; background-size: var(--wd) var(--wd); background-position: left calc(14px + var(--h) * 0.22) bottom, left calc(14px + var(--h) * 0.62) bottom, right calc(14px + var(--h) * 0.3) bottom; }
.tank { flex: none; width: calc(var(--m3) * 0.1515 * var(--h)); height: var(--h); border-radius: calc(var(--h) * 0.5) calc(var(--h) * 0.16) calc(var(--h) * 0.16) calc(var(--h) * 0.5); background: var(--ink); }
.cab { flex: none; width: calc(var(--h) * 0.95); height: calc(var(--h) * 1.08); border-radius: calc(var(--h) * 0.1) calc(var(--h) * 0.34) calc(var(--h) * 0.08) calc(var(--h) * 0.08); background: var(--ink); position: relative; }
.cab::before { content: ""; position: absolute; top: 14%; right: 12%; width: 46%; height: 34%; border-radius: 10% 42% 8% 8%; background: var(--paper); }
/* Naczepa 30 m³ ma trzy osie z tyłu. */
.truck--transport .truck-art { background-image: var(--wheel), var(--wheel), var(--wheel), var(--wheel); background-position: left calc(14px + var(--h) * 0.22) bottom, left calc(14px + var(--h) * 0.62) bottom, left calc(14px + var(--h) * 1.02) bottom, right calc(14px + var(--h) * 0.3) bottom; }
.truck-label { padding: 12px 14px 0; font-size: 16px; font-weight: 600; color: var(--on-paper-soft); line-height: 1.25; }
.truck-label b { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--ink); white-space: nowrap; }
.fleet-caption { margin: 20px 14px 0; padding-top: 10px; border-top: 1px solid var(--ink); font-family: var(--body); font-size: 17px; font-weight: 700; }

/* ---------- Stacje ---------- */
.stations { margin-top: 40px; }
.stations-wrap h2 { max-width: 14em; }
.station { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 40px; align-items: center; padding: 24px 0; border-top: 1px solid var(--ink); }
.station:first-child { border-top-width: 3px; }
.station:last-child { border-bottom: 1px solid var(--ink); }
.station h3 { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; text-transform: uppercase; }
.station address { font-style: normal; margin-top: 4px; color: var(--on-yellow-soft); }
.hours { display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.hours-track { position: relative; height: 20px; background: rgba(21, 20, 14, 0.16); }
/* Podziałka co 6 godzin, widoczna także na ciemnym pasku. */
.hours-track::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(25% - 1px), var(--yellow) calc(25% - 1px) calc(25% + 1px), transparent calc(25% + 1px) calc(50% - 1px), var(--yellow) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px) calc(75% - 1px), var(--yellow) calc(75% - 1px) calc(75% + 1px), transparent calc(75% + 1px)); }
.hours-scale { position: relative; height: 22px; font-size: 14px; font-weight: 700; color: var(--on-yellow-soft); }
.hours-scale span { position: absolute; left: calc(var(--at) / 24 * 100%); transform: translateX(-50%); white-space: nowrap; }
.hours-scale span:first-child { transform: none; }
.hours-scale span:last-child { transform: translateX(-100%); }
.hours-bar { height: 100%; margin-left: calc(var(--from) / 24 * 100%); width: calc((var(--to) - var(--from)) / 24 * 100%); background: var(--ink); }

/* ---------- O nas ---------- */
/* Panoramiczne zdjęcie na całą szerokość strony, pod nim nagłówek i tekst w dwóch kolumnach, a niżej pas z logotypami. */
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; max-height: 660px; object-fit: cover; object-position: center 68%; }
.about-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; padding-top: 72px; padding-bottom: 56px; }
.about-body h2 { margin-bottom: 0; }
.about-text p { max-width: 30em; font-size: 21px; color: var(--on-paper-soft); }
.about-text p + p { margin-top: 16px; }
.about-proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: 40px 0 72px; border-top: 1px solid var(--ink); }
.partners { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; }
.partners img { height: 72px; width: auto; }

/* ---------- Do pobrania ---------- */
.docs-section { border-top: 3px solid var(--ink); }
.docs-section h2 { max-width: 16em; }

/* Zwarta lista plików na samym dole strony, w ciemnym pasie nad stopką: opis i dwie kolumny linków. */
.downloads { border-top: 1px solid var(--rule-ink); }
.downloads-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.15fr); gap: 32px 56px; padding-top: 56px; padding-bottom: 48px; }
.downloads h2 { font-size: 44px; margin-bottom: 12px; }
.downloads p { max-width: 24em; font-size: 16px; }
.downloads h3 { font-size: 16px; font-weight: 700; color: var(--yellow); margin-bottom: 4px; }
.downloads a { display: block; padding: 9px 0; font-size: 16px; line-height: 1.35; text-decoration: none; }
.downloads a:hover { text-decoration: underline; color: var(--yellow); }

/* ---------- Pytania i odpowiedzi ---------- */
.faq { margin-top: 40px; max-width: 880px; }
.faq-item { border-top: 1px solid var(--ink); }
.faq-item:last-child { border-bottom: 1px solid var(--ink); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 0.8; }
.faq-item[open] summary::after { content: "–"; }
.faq-item h3 { font-family: var(--body); font-weight: 700; font-size: 22px; line-height: 1.3; }
.faq-item p { max-width: 68ch; padding-bottom: 24px; color: var(--on-paper-soft); }

/* ---------- Zamówienie ---------- */
.order h2 { font-size: clamp(56px, 7vw, 96px); line-height: 0.92; color: var(--yellow); }
.order-grid { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px 64px; align-items: start; }
.order-form { background: var(--receipt); color: var(--ink); padding: 36px; display: flex; flex-direction: column; gap: 36px; }
.order-form :focus-visible { outline-color: var(--ink); box-shadow: 0 0 0 6px var(--yellow); }
.order-form legend { padding: 0; margin-bottom: 20px; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; }
.fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.field { grid-column: span 6; display: flex; flex-direction: column; gap: 6px; }
.field--half { grid-column: span 3; }
.field--third { grid-column: span 2; }
.field--two-thirds { grid-column: span 4; }
.field label { font-size: 16px; font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 0; background: #FFFFFF; color: var(--ink); font: inherit; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #A32100; background: #FFF1EC; }
.field .hint { font-size: 15px; color: var(--on-paper-soft); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px; border: 2px solid var(--ink); background: #FFFFFF; font-weight: 700; cursor: pointer; }
.choice:has(input:checked) { background: var(--yellow); }
.choice input, .consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); flex: none; }
.form-end { display: flex; flex-direction: column; gap: 20px; }
.form-note { padding: 16px; background: #F4EFD8; font-size: 16px; color: var(--on-paper-soft); }
.form-note a { font-weight: 700; color: var(--ink); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; cursor: pointer; }
.consent input { margin-top: 2px; }
.order-form .btn { min-height: 60px; font-size: 20px; }
.form-status { padding: 16px; font-weight: 700; border: 2px solid var(--ink); }
.form-status:empty { display: none; }
.form-status[data-state="ok"] { background: var(--yellow); }
.form-status[data-state="error"] { background: #FFF1EC; border-color: #A32100; color: #7A1900; }
.hp { position: absolute; left: -9999px; }

.order-side { display: flex; flex-direction: column; gap: 40px; }
.order-side .receipt { transform: rotate(-1.5deg); box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.7), 0 3px 6px rgba(0, 0, 0, 0.4); }
.order-side .receipt-big { font-size: 28px; }
.phones h3 { font-size: 34px; margin-bottom: 8px; }
.phones a.tel { display: block; padding: 4px 0; font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1.1; text-decoration: none; }
.phones a.tel:hover { color: var(--yellow); }
.phones a.mail { display: inline-block; margin-top: 8px; padding: 12px 0; font-weight: 700; font-size: 21px; color: var(--yellow); }
.addresses { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; border-top: 1px solid var(--rule-ink); font-size: 17px; color: var(--on-ink-soft); font-style: normal; }
.addresses strong { color: var(--receipt); }

/* ---------- Stopka ---------- */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--rule-ink); font-size: 16px; color: var(--on-ink-soft); }
.footer .wordmark { font-size: 28px; color: var(--yellow); }

.footer-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer-links a, .footer-links button { padding: 10px 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.footer-links a:hover, .footer-links button:hover { color: var(--yellow); }

/* ---------- Polityka prywatności ---------- */
.policy { max-width: 880px; }
.policy h1 { margin-bottom: 12px; }
.policy h2 { font-size: 34px; margin: 56px 0 12px; }
.policy p, .policy-list { max-width: 68ch; }
.policy p + p { margin-top: 14px; }
.policy-list { list-style: disc; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.policy-table { margin: 20px 0; overflow-x: auto; }
.policy-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; text-align: left; }
.policy-table th { padding: 10px 16px 8px 0; border-bottom: 3px solid var(--ink); font-size: 15px; }
.policy-table td { padding: 14px 16px 12px 0; border-bottom: 1px solid var(--ink); vertical-align: top; }
.policy-table code { font-family: var(--mono); font-size: 14px; }
.policy-button { min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 0; background: var(--yellow); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }

/* ---------- Baner cookie ---------- */
/* Pasek u dołu ekranu. Nie zasłania strony i nie blokuje czytania. Oba główne przyciski wyglądają tak samo. */
.ck { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 90vh; overflow-y: auto; background: var(--ink); color: var(--receipt); border-top: 4px solid var(--yellow); box-shadow: 0 -12px 32px -8px rgba(0, 0, 0, 0.45); }
.ck[hidden] { display: none; }
.ck-inner { max-width: var(--wrap); margin: 0 auto; padding: 24px var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 48px; align-items: center; }
.ck-title { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; margin-bottom: 8px; }
.ck-text p { max-width: 62ch; font-size: 17px; color: var(--on-ink-soft); }
.ck-text a { color: var(--receipt); font-weight: 700; }
.ck-options { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ck-options[hidden] { display: none; }
.ck-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--rule-ink); font-size: 16px; color: var(--on-ink-soft); cursor: pointer; }
.ck-option strong { display: block; color: var(--receipt); }
.ck-option input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--yellow); flex: none; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: flex-end; }
.ck-btn { min-height: 48px; padding: 0 22px; border: 0; border-radius: 0; background: var(--yellow); color: var(--ink); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.ck-btn:hover { background: #FFD84A; }
.ck-btn[hidden], .ck-link[hidden] { display: none; }
.ck-link { min-height: 48px; padding: 0 4px; border: 0; background: none; color: var(--receipt); font: inherit; font-weight: 700; font-size: 17px; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.ck :focus-visible { outline-color: var(--yellow); box-shadow: 0 0 0 6px var(--ink); }

/* ---------- Bardzo szerokie ekrany ---------- */
/* Od 2000 px sekcja rośnie razem z szerokością okna, żeby kadr z cysterną nie był przycięty z góry i z dołu.
   Nie przekracza wysokości okna minus nagłówek strony. */
@media (min-width: 2000px) {
  /* Przy 2000 px wysokość wynosi tyle co wcześniej (560 px) i dalej rośnie płynnie, bez skoku. */
  .hero-inner { min-height: min(calc(560px + (100vw - 2000px) / 1.8), calc(100svh - 90px)); }
}

/* ---------- Mniejsze ekrany ---------- */
@media (max-width: 1100px) {
  /* Animacja na górze, tekst pod nim na żółtym polu. */
  .hero { background: var(--yellow); overflow: visible; }
  .hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 2.17; }
  .hero-video, .hero-still { object-position: center; }
  /* W układzie pionowym róg sekcji to róg animacji, więc przycisk liczy położenie od jej wysokości. */
  .hero-toggle { top: calc(100vw / 2.17 - 48px); bottom: auto; right: 12px; }
  .hero-media::after { content: none; }
  .hero-inner { min-height: 0; padding-top: 36px; padding-bottom: 56px; }
}
@media (max-width: 960px) {
  .hero-media { aspect-ratio: 16 / 10; }
  .hero-toggle { top: calc(100vw / 1.6 - 48px); }
  .hero-video, .hero-still { object-position: 80% center; }
  .order-grid { grid-template-columns: minmax(0, 1fr); }
  .downloads-grid { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 32px; }
  .ck-inner { grid-template-columns: minmax(0, 1fr); }
  .ck-actions { justify-content: flex-start; }
  .ck-options { grid-template-columns: minmax(0, 1fr); }
  .about-body { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 40px; }
  .about-photo img { aspect-ratio: 16 / 9; }
  .fuel { grid-template-columns: 112px minmax(0, 1fr); }
  .fuel p { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  /* Menu chowa się pod przyciskiem tylko wtedy, gdy działa JavaScript (klasa .js na <html>). */
  .top { gap: 8px 16px; }
  .top-actions { margin-left: auto; }
  .js .nav-toggle { display: inline-flex; }
  .nav { order: 3; flex-basis: 100%; margin-left: 0; flex-direction: column; gap: 0; font-size: 20px; border-top: 2px solid var(--ink); }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(21, 20, 14, 0.3); }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding-top: 80px; padding-bottom: 72px; }
  .about-photo img { aspect-ratio: 4 / 3; object-position: 70% center; }
  .about-text p { font-size: 19px; }
  .about-proof { padding-bottom: 56px; }
  .partners img { height: 60px; }
  .wordmark { font-size: 34px; }
  .nav-order { padding: 0 14px; font-size: 16px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-toggle { top: calc(100vw * 0.75 - 44px); right: 8px; }
  .hero-video, .hero-still { object-position: 90% center; }
  .station { grid-template-columns: minmax(0, 1fr); }
  .fuel { grid-template-columns: minmax(0, 1fr); }
  .order-form { padding: 24px 20px; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .field--half, .field--third, .field--two-thirds { grid-column: span 6; }
  .phones a.tel { font-size: 44px; }
  .ck-inner { padding-top: 18px; padding-bottom: 18px; gap: 14px; }
  .ck-title { font-size: 26px; }
  .ck-text p { font-size: 16px; }
  .ck-btn { flex: 1 1 150px; padding: 0 12px; }
}
