/* REZOS 2026 – projekt „ADR”. Jasny nagłówek ze zdjęciem cysterny, granatowe pasy, pomarańcz tablicy ADR jako akcent.
   Wszystkie style są w tym pliku (CSP w .htaccess blokuje style wpisane w HTML). */

@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url(fonts/archivo-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Archivo"; font-weight: 700; font-display: swap; src: url(fonts/archivo-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+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url(fonts/archivo-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Archivo"; font-weight: 800; font-display: swap; src: url(fonts/archivo-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+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(fonts/source-sans-3-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(fonts/source-sans-3-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(fonts/source-sans-3-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(fonts/source-sans-3-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #14213a;          /* tekst */
  --navy: #102341;         /* granat pasów i nagłówków */
  --navy-2: #1b2b4a;       /* karty na granacie */
  --navy-3: #0b1830;       /* stopka */
  --brand: #3460ab;        /* niebieski z logo */
  --brand-light: #6c9cf0;
  --adr: #f08a00;          /* pomarańcz tablicy ADR */
  --adr-ink: #1a1a1a;
  --text: #33414f;
  --muted: #55636e;
  --line: #d6dde1;
  --field: #a9b4bc;
  --grey: #f2f4f5;
  --tint: #e9eff7;         /* jasny błękit, jak tło zdjęć cystern */
  --on-navy: #dce3e8;
  --on-navy-muted: #b9c6d0;
  --ok: #1f7a4d;
  --err: #b3261e;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 77.5rem;
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; color: var(--navy); text-wrap: balance; }
h2 { font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.75rem); text-transform: uppercase; }
h3 { font-weight: 700; font-size: 1.5rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--adr); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-inline: 24px; } }

.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 8px; color: #fff; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: var(--radius); border: 2px solid transparent; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.125rem; }
.btn-adr { background: var(--adr); color: var(--adr-ink); }
.btn-adr:hover { background: #d97b00; color: var(--adr-ink); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--brand); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }

.eyebrow { font-size: .9375rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: 1.125rem; color: var(--text); }

/* Pasek górny i nagłówek */
.topbar { background: var(--navy); color: #c9d3db; font-size: .9375rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 8px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
@media (max-width: 759px) { .topbar span { display: none; } .topbar .wrap { justify-content: center; } }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: flex-start; line-height: 0; text-decoration: none; }
.brand img { flex: none; height: 56px; width: auto; }
.reg { flex: none; margin: 32px 0 0 2px; font-family: var(--font-body); font-weight: 600; font-size: 13px; line-height: 1; color: var(--brand); }
.brand-text { display: none; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.75rem; line-height: 1; color: var(--brand); }
.brand.no-logo img { display: none; }
.brand.no-logo .brand-text { display: block; }

.nav { display: flex; align-items: center; gap: 4px 28px; }
.nav a { color: var(--ink); font-weight: 600; text-decoration: none; padding-block: 10px; }
.nav a:hover { color: var(--brand); }
.nav a.btn { padding: 10px 22px; color: var(--adr-ink); }
.nav-toggle { display: none; min-height: 44px; padding: 0 16px; border: 2px solid var(--navy); border-radius: var(--radius); background: #fff; color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 1rem; cursor: pointer; }

@media (max-width: 959px) {
  .brand img { height: 46px; }
  .brand .reg { margin-top: 26px; font-size: 12px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(16, 35, 65, .12); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; border-bottom: 0; }
}

/* Hero */
.hero { background: var(--tint); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 40px; padding-block: clamp(32px, 6vw, 64px) clamp(28px, 5vw, 56px); }
.hero-text { flex: 1 1 420px; min-width: 0; }
.hero h1 { font-weight: 800; font-size: clamp(2.25rem, 5.2vw, 3.625rem); line-height: 1.02; letter-spacing: -.01em; margin-bottom: 20px; }
.hero h1 span { color: var(--brand); }
.hero .lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); max-width: 35rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-phone { display: inline-flex; flex-direction: column; margin-top: 24px; padding-left: 16px; border-left: 4px solid var(--adr); text-decoration: none; }
.hero-phone small { font-size: .9375rem; color: var(--muted); }
.hero-phone strong { font-family: var(--font-display); font-weight: 800; font-size: 1.875rem; line-height: 1.2; color: var(--navy); }
.hero-photo { flex: 1.35 1 520px; min-width: 0; margin: 0; }
@media (max-width: 599px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-photo { order: -1; margin-inline: -8px; }
}

/* Najważniejsze informacje */
.facts { border-bottom: 1px solid var(--line); }
.facts ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px; padding-block: 26px; }
.facts li { display: flex; flex-direction: column; padding-left: 14px; border-left: 3px solid var(--brand); }
.facts strong { font-family: var(--font-display); font-size: 1.1875rem; color: var(--navy); }
.facts span { font-size: .9375rem; color: var(--muted); overflow-wrap: anywhere; }

/* Sekcje */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-grey { background: var(--grey); }
.section-tint { background: var(--tint); }
.section-head { max-width: 44rem; margin-bottom: 40px; }
.section-head .lead { margin-top: 14px; }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.section-head.split > div { max-width: 40rem; }
.section-head.split .lead { max-width: 29rem; margin-top: 0; }

/* Oferta */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.product p { color: var(--text); flex-grow: 1; }
.product .tag { font-size: .875rem; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.adr { width: 64px; border: 3px solid var(--adr-ink); border-radius: 3px; background: var(--adr); color: var(--adr-ink); font-family: var(--font-display); font-weight: 800; text-align: center; line-height: 1.25; }
.adr span { display: block; font-size: 1rem; }
.adr span:first-child { border-bottom: 3px solid var(--adr-ink); font-size: 1.0625rem; }
.badge { width: 64px; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .8125rem; }
.badge-line { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 24px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--adr); border-radius: var(--radius); padding: 22px 28px; }
.note p { font-size: 1.125rem; max-width: 47rem; }

/* Dostawa */
.band { background: var(--navy); color: var(--on-navy); }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: var(--adr); }
.band .lead { color: var(--on-navy-muted); }
.delivery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.delivery article { background: var(--navy-2); border-radius: var(--radius); padding: 32px; border-top: 4px solid var(--adr); }
.delivery .delivery-base { border-top-color: var(--brand-light); }
.delivery .area { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-muted); margin-bottom: 6px; }
.delivery h3 { font-size: 1.75rem; margin-bottom: 12px; }
.fleet { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
.fleet figure { margin: 0; background: var(--tint); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.fleet img { width: 100%; height: 100%; object-fit: cover; }
.fleet figure.missing { display: none; }

/* Jak zamówić */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; counter-reset: none; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 4px solid var(--navy); }
.steps li:last-child { border-top-color: var(--adr); }
.steps .num { font-family: var(--font-display); font-weight: 800; font-size: 2.75rem; line-height: 1; color: var(--brand); }
.steps p { color: var(--text); }

/* O firmie */
.about { display: flex; flex-wrap: wrap; gap: 48px 56px; }
.about-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-text .eyebrow { margin-bottom: -6px; }
.about-text p { font-size: 1.125rem; color: var(--text); }
.about-text .stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 8px; }
.stat strong { font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: 1; color: var(--brand); }
.stat span { max-width: 16rem; font-size: 1rem; color: var(--muted); }
.awards-card { flex: 1 1 320px; min-width: 0; align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.awards-card h3 { font-size: 1.375rem; margin-bottom: 14px; }
.awards li { display: flex; gap: 16px; padding-block: 12px; border-top: 1px solid var(--line); }
.awards b { flex: 0 0 96px; font-family: var(--font-display); color: var(--brand); }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.quote { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 20px; background: #fff; border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.field small { font-size: inherit; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: var(--radius); padding: 11px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brand-light); outline-offset: 0; border-color: var(--brand); }
.consent { font-size: .875rem; color: var(--muted); }
.form-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card { flex: 1 1 320px; min-width: 0; background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 32px; }
.contact-card dl { margin: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-card dt { font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--on-navy-muted); }
.contact-card dd { margin: 4px 0 0; }
.contact-card a { color: #fff; }
.contact-card a.big { font-family: var(--font-display); font-weight: 800; font-size: 1.875rem; text-decoration: none; }
.contact-card a.map-link { color: var(--adr); font-weight: 600; display: inline-block; padding-block: 8px; }

/* Stopka */
.site-footer { background: var(--navy-3); color: var(--on-navy-muted); font-size: .9375rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 32px 56px; padding-block: 56px 28px; }
.site-footer .wrap > div { flex: 1 1 180px; }
.site-footer .wrap > .footer-company { flex: 2 1 340px; display: flex; flex-direction: column; gap: 16px; }
.footer-logo-box { align-self: flex-start; display: flex; align-items: flex-start; height: 52px; line-height: 0; }
.footer-logo-box .reg { margin-top: 30px; color: #fff; }
.footer-logo { display: block; width: 113px !important; height: 52px !important; max-width: none; object-fit: contain; }
.site-footer p { line-height: 1.7; }
.site-footer h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 12px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: #fff; }
.site-footer .wrap > .legal { flex: 1 1 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; border-top: 1px solid #24334f; padding-top: 20px; }
.linklike { font: inherit; background: none; border: 0; padding: 8px 0; color: var(--on-navy); text-decoration: underline; cursor: pointer; }

/* Pasek akcji na telefonie */
.callbar { display: none; }
@media (max-width: 759px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .callbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 20px rgba(16, 35, 65, .1); }
  .callbar a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius); font-family: var(--font-display); font-weight: 700; text-decoration: none; }
  .callbar-call { flex-grow: 1.3; background: var(--navy); color: #fff; }
  .callbar-call:hover { color: #fff; }
  .callbar-quote { background: var(--adr); color: var(--adr-ink); }
  .callbar-quote:hover { color: var(--adr-ink); }
  .product { padding: 22px; }
  .delivery article, .contact-card { padding: 24px; }
  .note { padding: 20px; }
}

/* Baner cookies */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 3px solid var(--adr); box-shadow: 0 -12px 32px rgba(16, 35, 65, .18); }
.cookie[hidden] { display: none; }
.cookie .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
.cookie p { flex: 1 1 420px; font-size: .9375rem; color: var(--text); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Podstrony: polityka, podziękowanie, 404 */
.doc { max-width: 52rem; }
.doc h1 { font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 20px; }
.doc h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--text); margin-bottom: 12px; }
.doc ul { list-style: disc; padding-left: 1.25rem; }
.table-scroll { overflow-x: auto; margin: 16px 0 24px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9375rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--grey); font-weight: 600; color: var(--navy); }
tr:last-child td { border-bottom: 0; }
