/* ==========================================================================
   Serwis Szymanów — tokeny
   Kolory z marki klienta: pomarańcz #f19200 + granat z logotypu
   Fonty: Barlow Semi Condensed (nagłówki), Open Sans (tekst – font klienta)
   ========================================================================== */

:root {
  --orange: #f19200;
  --orange-d: #d98200;
  --orange-l: #ffad33;
  --orange-50: #fff6e8;
  --orange-100: #ffe8c4;
  --navy: #16428c;
  --navy-d: #0f3270;
  --navy-900: #0b1f45;
  --navy-950: #071430;
  --ink: #111a2c;
  --text: #3a4457;
  --muted: #687287;
  --line: #e5e8ef;
  --line-2: #d4d9e3;
  --bg: #ffffff;
  --bg-soft: #f3f5f9;
  --bg-warm: #f7f5f0;
  --green: #138a52;
  --green-50: #e7f6ee;
  --red: #d63b2a;

  --r-s: 10px;
  --r: 16px;
  --r-m: 22px;
  --r-l: 28px;

  --sh-s: 0 1px 2px rgba(11, 31, 69, .06), 0 2px 6px rgba(11, 31, 69, .06);
  --sh: 0 14px 34px -14px rgba(11, 31, 69, .22);
  --sh-l: 0 34px 70px -24px rgba(11, 31, 69, .34);

  --f-head: 'Barlow Semi Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --f-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 3.6vw, 40px);
  --head-h: 76px;
  --util-h: 39px;
  --admin-h: 0px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --y-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 117 145'%3E%3Cpath d='M4.5 27H27l8.8 13.8L58.8 5H80L35.8 78z'/%3E%3Cpath d='M88.8 5H112L60.5 91.3V140H41.3V85.5z'/%3E%3C/svg%3E");
}

@media (max-width: 1100px) {
  :root { --head-h: 68px; }
}

@media (max-width: 900px) {
  :root { --util-h: 0px; }
}

/* Pasek administracyjny WordPressa (zalogowany redaktor) */

body.admin-bar { --admin-h: 32px; }

@media (max-width: 782px) {
  body.admin-bar { --admin-h: 46px; }
}

@media (max-width: 600px) {
  body.admin-bar { --admin-h: 0px; }
}

/* ---------------------------------
   RESET / BAZA
---------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + var(--admin-h) + 16px); }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

svg { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: middle; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }

input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

figure { margin: 0; }

dl, dd { margin: 0; }

[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

::-moz-selection { background: var(--orange-100); color: var(--ink); }

::selection { background: var(--orange-100); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link { position: fixed; left: 16px; top: 12px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transform: translateY(-160%); opacity: 0; transition: transform .2s, opacity .2s; }

.skip-link:focus { transform: none; opacity: 1; }

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ---------- Typografia ---------- */

.section-title, .hero__title, .page-hero__title, .video-hero__title {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.005em;
  line-height: 1.04;
}

.section-title { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.25rem); }

.section-title--light { color: #fff; }

/* Słowo-akcent: tylko kolor marki (bez podkreślenia) */

.hl { color: var(--orange); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
  padding-right: 8px;
}

.eyebrow__dot { width: 22px; height: 6px; border-radius: 3px; background: var(--orange); position: relative; margin-right: 8px; flex: none; }

.eyebrow__dot::after { content: ''; position: absolute; left: 26px; top: 0; width: 6px; height: 6px; border-radius: 3px; background: var(--orange); opacity: .5; }

.eyebrow--light { color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 15px; }

.link-arrow svg { font-size: 18px; transition: transform .3s var(--ease); }

.link-arrow:hover svg, a:hover > .link-arrow svg, a:hover .link-arrow svg { transform: translateX(4px); }

/* Treść z edytora (WYSIWYG) */

.prose > * + *, .wys > * + * { margin-top: 1em; }

.prose p, .prose li { color: var(--text); }

.prose strong { color: var(--ink); }

.prose a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.prose a:hover { color: var(--orange-d); }

.prose ul, .prose ol { display: grid; gap: .45em; padding-left: 0; }

.prose ul li { position: relative; padding-left: 26px; }

.prose ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 10px; height: 4px; border-radius: 2px; background: var(--orange); }

.prose ol { counter-reset: li; }

.prose ol > li { position: relative; padding-left: 32px; counter-increment: li; }

.prose ol > li::before { content: counter(li) '.'; position: absolute; left: 0; font: 700 1.05em/1.5 var(--f-head); color: var(--orange-d); }

/* Akapity w polach WYSIWYG umieszczonych w miejscu jednego akapitu */

.hero__lead p + p, .section-head__text p + p, .service__lead p + p, .robots__lead p + p, .ehrle__text p + p,
.about__lead p + p, .store__lead p + p, .page-hero__lead p + p, .video-hero__lead p + p, .cta-band__text p + p,
.catalog__text p + p, .terrain__lead p + p, .contact-form__lead p + p, .types__text p + p, .videos__text p + p, .footer__text p + p { margin-top: .7em; }

/* ---------- Przyciski ---------- */

.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 12px;
  font-weight: 700; font-size: 15px; line-height: 1;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, opacity .25s;
}

.btn svg { font-size: 19px; transition: transform .3s var(--ease); }

.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }

.btn--lg { --h: 56px; padding: 0 26px; font-size: 16px; }

.btn--block { width: 100%; }

.btn--primary { background: var(--orange); color: var(--navy-950); box-shadow: 0 8px 20px -10px rgba(241, 146, 0, .8); }

.btn--primary:hover { background: var(--navy); color: #fff; box-shadow: 0 10px 22px -10px rgba(22, 66, 140, .7); }

.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }

.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn--dark { background: var(--navy-900); color: #fff; }

.btn--dark:hover { background: var(--orange); color: var(--navy-950); }

.btn--light-ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }

.btn--light-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px;
  color: var(--ink); font-size: 22px;
  transition: background-color .2s, color .2s;
}

.icon-btn:hover { background: var(--bg-soft); color: var(--navy); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s;
  cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none;
}

.chip:hover { border-color: var(--navy); color: var(--navy); }

.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.chip > span { font-size: 12px; font-weight: 700; opacity: .6; }

.chips--select .chip input { position: absolute; opacity: 0; pointer-events: none; }

.chips--select .chip:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }

.chips--select .chip:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Przyciski kanałów społecznościowych */

.social-btn { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px 0 12px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); transition: border-color .25s, background-color .25s, transform .3s var(--ease); }

.social-btn > svg { width: 38px; height: 38px; padding: 8px; border-radius: 11px; color: #fff; }

.social-btn small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1.2; }

.social-btn b { font: 700 18px/1.1 var(--f-head); }

.social-btn--yt > svg { background: #e62117; }

.social-btn--tt > svg { background: #111; }

.social-btn:hover { border-color: var(--navy); transform: translateY(-2px); }

/* ==========================================================================
   Formularze (Contact Form 7 + elementy motywu)
   ========================================================================== */

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: grid; gap: 6px; align-content: start; }

.field--full { grid-column: 1 / -1; }

.field > span:first-child { font-size: 13.5px; font-weight: 700; color: var(--ink); }

.field em { font-style: normal; font-weight: 500; color: var(--muted); }

.field input, .field textarea, .field select { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }

.field select { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23687287' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }

.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 90px; }

.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(22, 66, 140, .12); }

.field.is-invalid input, .field.is-invalid textarea, .field .wpcf7-not-valid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(214, 59, 42, .1); }

.field input::-moz-placeholder, .field textarea::-moz-placeholder { color: #9aa2b3; }

.field input::placeholder, .field textarea::placeholder { color: #9aa2b3; }

.consent { font-size: 13px; color: var(--muted); line-height: 1.5; }

.consent label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }

.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }

.consent a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.consent.is-invalid, .consent:has(.wpcf7-not-valid) { color: var(--red); }

/* ---------- Contact Form 7 ---------- */

.wpcf7 { position: relative; }

.wpcf7 .screen-reader-response { position: absolute; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; word-wrap: normal !important; }

.wpcf7-form-control-wrap { position: relative; display: block; }

.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--red); }

.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; border: 0; background: var(--orange-50); color: #9a5600; }

.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output { display: none; }

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output { background: #fdecea; color: var(--red); }

.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { background: #fdecea; color: var(--red); }

.wpcf7-spinner { visibility: hidden; display: inline-block; width: 22px; height: 22px; margin: 0 0 0 10px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--orange); vertical-align: middle; animation: spin .8s linear infinite; }

.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; }

.wpcf7 form.submitting .wpcf7-submit { opacity: .65; pointer-events: none; }

.wpcf7-list-item { margin: 0; }

.szym-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Natywne pola radio / checkbox CF7 jako „chipy” */

.chips--cf7 .wpcf7-form-control { display: flex; flex-wrap: wrap; gap: 8px; }

.chips--cf7 .wpcf7-list-item label { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; transition: background-color .2s, border-color .2s, color .2s; }

.chips--cf7 .wpcf7-list-item label:hover { border-color: var(--navy); color: var(--navy); }

.chips--cf7 .wpcf7-list-item input { position: absolute; opacity: 0; pointer-events: none; }

.chips--cf7 .wpcf7-list-item label:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }

.chips--cf7 .wpcf7-list-item label:has(input:checked)::before { content: ''; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

.chips--cf7 .wpcf7-list-item label:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }

.form-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }

/* ---------- Kreator zgłoszenia serwisowego ---------- */

.wizard { background: #fff; border-radius: var(--r-l); padding: clamp(20px, 2.6vw, 34px); box-shadow: var(--sh-s); border: 1px solid var(--line); position: relative; }

.wizard fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.wizard__steps { display: flex; gap: 8px; margin-bottom: 26px; }

.wizard__steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 3px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); transition: border-color .4s, color .3s; }

.wizard__steps i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); font: 600 14px/1 var(--f-head); font-style: normal; color: var(--muted); transition: background-color .3s, color .3s; }

.wizard__steps li.is-active { border-color: var(--orange); color: var(--ink); }

.wizard__steps li.is-active i { background: var(--orange); color: var(--navy-950); }

.wizard__steps li.is-done { border-color: var(--navy); color: var(--navy); }

.wizard__steps li.is-done i { background: var(--navy); color: #fff; }

.wizard__q { font: 600 22px/1.25 var(--f-head); color: var(--ink); margin-bottom: 16px; padding: 0; }

.wizard__q--sub { margin-top: 26px; font-size: 19px; }

.machines { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }

.machine { position: relative; cursor: pointer; display: grid; }

.machine input { position: absolute; opacity: 0; pointer-events: none; }

.machine > span { display: grid; justify-items: center; align-content: center; gap: 8px; padding: 16px 6px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: center; transition: border-color .25s, background-color .25s, transform .3s var(--ease), box-shadow .25s; }

.machine svg { font-size: 46px; color: var(--navy); transition: color .25s, transform .4s var(--ease); }

.machine b { font-size: 13.5px; color: var(--ink); line-height: 1.25; }

.machine:hover > span { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--sh-s); }

.machine:hover svg { transform: scale(1.06); }

.machine input:checked + span { border-color: var(--orange); background: var(--orange-50); box-shadow: 0 0 0 3px rgba(241, 146, 0, .18); }

.machine input:checked + span svg { color: var(--orange-d); }

.machine input:checked + span::after { content: ''; position: absolute; right: 8px; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%23071430' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.machine input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.wizard__auth { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--green-50); color: var(--green); font-size: 14px; font-weight: 700; animation: pop .35s var(--ease); }

.wizard__auth.is-info { background: var(--orange-50); color: #9a5600; }

.wizard__auth svg { font-size: 18px; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.option { position: relative; cursor: pointer; }

.option input { position: absolute; opacity: 0; pointer-events: none; }

.option > span { display: grid; gap: 2px; padding: 14px 16px 14px 44px; border-radius: 14px; border: 1.5px solid var(--line); transition: border-color .2s, background-color .2s; height: 100%; }

.option > span::before { content: ''; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); transition: border .2s; }

.option b { font-size: 15px; color: var(--ink); }

.option small { font-size: 13px; color: var(--muted); line-height: 1.4; }

.option:hover > span { border-color: var(--line-2); }

.option input:checked + span { border-color: var(--navy); background: #f2f6fd; }

.option input:checked + span::before { border: 6px solid var(--navy); }

.option input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.wizard__error { margin-top: 14px; color: var(--red); font-size: 14px; font-weight: 700; }

.wizard__nav { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

.wizard__nav [data-wizard-prev] { margin-right: auto; }

.wizard__nav .wpcf7-spinner { order: -1; margin: 0 6px 0 0; }

.wizard__done, .robot-form__done, .form-done { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 12px; }

.wizard__done h3, .robot-form__done h3, .form-done h3 { font: 600 28px/1.2 var(--f-head); color: var(--ink); }

.wizard__done-text, .robot-form__done-text, .form-done > div { max-width: 30em; }

.wizard__done a, .form-done a { color: var(--navy); font-weight: 700; }

.wizard__done-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green-50); color: var(--green); font-size: 36px; animation: pop .5s var(--ease); }

@keyframes pop { 0% { transform: scale(.85); opacity: 0; } 100% { transform: none; opacity: 1; } }

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes tick { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }

/* ---------- Suwak powierzchni ---------- */

.range { display: grid; gap: 8px; }

.range__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; color: var(--ink); }

.range output { font: 700 26px/1 var(--f-head); color: var(--navy); }

.range input { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--orange) var(--p, 7%), var(--line) var(--p, 7%)); outline: none; }

.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 4px 10px rgba(0, 0, 0, .18); cursor: grab; -webkit-transition: transform .2s; transition: transform .2s; }

.range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 4px 10px rgba(0, 0, 0, .18); cursor: grab; }

.range input:active::-webkit-slider-thumb { transform: scale(1.15); cursor: grabbing; }

.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(241, 146, 0, .3); }

.range__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- Zdjęcie (przeciągnij i upuść) ---------- */

.drop { position: relative; display: block; border: 2px dashed var(--line-2); border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background-color .2s; }

.drop:hover, .drop.is-over { border-color: var(--orange); background: var(--orange-50); }

.drop .wpcf7-form-control-wrap { position: static; display: contents; }

.drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }

.drop__empty, .drop__preview { display: flex; align-items: center; gap: 14px; pointer-events: none; }

.drop__empty > svg { font-size: 28px; color: var(--orange-d); }

.drop b { display: block; font-size: 14.5px; color: var(--ink); }

.drop small { font-size: 12.5px; color: var(--muted); }

.drop__preview img { width: 56px; height: 56px; border-radius: 10px; -o-object-fit: cover; object-fit: cover; }

.drop__preview > span { flex: 1; min-width: 0; }

.drop__preview b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.drop__remove { pointer-events: auto; position: relative; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-soft); font-size: 16px; }

.drop__remove:hover { background: var(--red); color: #fff; }

.drop .wpcf7-not-valid-tip { margin: 8px 0 0; }

.drops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.drops .drop { padding: 12px; min-height: 96px; display: grid; align-content: center; }

.drops .drop__empty { flex-direction: column; text-align: center; gap: 6px; }

.drops .drop__preview { flex-direction: column; text-align: center; gap: 6px; }

.drops .drop__preview > span { width: 100%; }

.drops .drop__remove { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; font-size: 14px; }

@media (max-width: 760px) {
  .fields, .options { grid-template-columns: 1fr; }
  .wizard__steps span { display: none; }
  .wizard__steps li { justify-content: center; }
}

@media (max-width: 1100px) {
  .machines { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 520px) {
  .machines { grid-template-columns: repeat(2, 1fr); }
  .drops { grid-template-columns: 1fr; }
  .drops .drop__empty, .drops .drop__preview { flex-direction: row; text-align: left; }
}

/* ==========================================================================
   Elementy wspólne: status godzin, pasek przewijania, toast, pływające przyciski
   ========================================================================== */

.scroll-progress { position: fixed; left: 0; right: 0; top: var(--admin-h); height: 3px; z-index: 120; pointer-events: none; }

.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-l)); transform: scaleX(0); transform-origin: 0 50%; }

.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }

.status__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }

.is-open .status__dot, .status__dot.is-open { background: #1fbf6e; }

.is-open .status__dot::after, .status__dot.is-open::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1fbf6e; opacity: 0; animation: ping 2s infinite; }

.is-closed-now .status__dot { background: #e5533d; }

@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 150;
  width: min(540px, calc(100% - 32px));
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 16px 18px; border-radius: 18px;
  background: #fff; box-shadow: 0 24px 60px -18px rgba(7, 20, 48, .45), 0 0 0 1px rgba(7, 20, 48, .06);
  transform: translate(-50%, calc(100% + 40px)); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .3s, visibility 0s .5s;
  overflow: hidden;
}

.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .3s, visibility 0s; }

.toast__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--orange-50); color: var(--orange-d); font-size: 22px; flex: none; }

.toast__body { flex: 1; display: grid; gap: 3px; padding-top: 1px; }

.toast__body b { font-size: 15.5px; color: var(--ink); line-height: 1.35; }

.toast__body span { font-size: 14px; color: var(--muted); line-height: 1.45; }

.toast__close { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--muted); font-size: 18px; flex: none; }

.toast__close:hover { background: var(--bg-soft); color: var(--ink); }

.toast__timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

.toast.is-visible .toast__timer { animation: timer var(--toast-dur, 5s) linear forwards; }

@keyframes timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* ---------- Szybki kontakt, do góry, pasek akcji ---------- */

.fab { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .35s, transform .45s var(--ease), visibility 0s .35s; }

.fab.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s var(--ease); }

.fab__btn { position: relative; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 14px 30px -10px rgba(22, 66, 140, .7); transition: background-color .25s, padding .45s var(--ease), gap .45s var(--ease); }

.fab__btn:hover { background: var(--navy-d); }

.fab__btn svg { font-size: 22px; }

.fab__label { max-width: 160px; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease), opacity .3s; }

.fab.is-compact .fab__btn { height: 52px; padding: 0 15px; gap: 0; }

.fab.is-compact .fab__label { max-width: 0; opacity: 0; }

.fab__ico-close { display: none; }

.fab.is-open .fab__ico-open { display: none; }

.fab.is-open .fab__ico-close { display: block; }

.fab__menu { width: 290px; background: #fff; border-radius: 20px; box-shadow: var(--sh-l); padding: 10px; transform-origin: 100% 100%; animation: pop .3s var(--ease); }

.fab__title { font: 600 18px/1 var(--f-head); color: var(--ink); padding: 10px 10px 12px; }

.fab__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; transition: background-color .2s; }

.fab__item:hover { background: var(--bg-soft); }

.fab__item > svg { display: block; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--orange-50); color: var(--orange-d); }

.fab__item b { display: block; font-size: 14.5px; color: var(--ink); }

.fab__item small { font-size: 12.5px; color: var(--muted); }

.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 69; width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: var(--sh); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .4s var(--ease), visibility 0s .3s; }

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease); }

.to-top__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }

.to-top__ring circle { fill: none; stroke-width: 3; stroke: var(--line); }

.to-top__ring circle + circle { stroke: var(--orange); stroke-dasharray: 138.23; stroke-dashoffset: 138.23; stroke-linecap: round; }

.to-top__arrow { font-size: 20px; color: var(--ink); transform: rotate(-90deg); }

.to-top:hover .to-top__arrow { color: var(--navy); }

.actionbar { display: none; }

/* ---------- Okno z filmem ---------- */

.vmodal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; }

.vmodal__backdrop { position: absolute; inset: 0; background: rgba(4, 12, 30, .86); opacity: 0; transition: opacity .35s; }

.vmodal__box { position: relative; width: min(1100px, 100%); opacity: 0; transform: scale(.96); transition: opacity .35s, transform .45s var(--ease); }

.vmodal.is-open .vmodal__backdrop, .vmodal.is-open .vmodal__box { opacity: 1; transform: none; }

.vmodal__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }

.vmodal__frame iframe, .vmodal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.vmodal__close { position: absolute; right: 0; top: -52px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; transition: background-color .2s; }

.vmodal__close:hover { background: var(--orange); color: var(--navy-950); }

/* ---------- Zdjęcia z powiększaniem ---------- */

.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.photo { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--line); isolation: isolate; }

.photo img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; transition: transform .8s var(--ease); }

.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 20, 48, .55), transparent 55%); opacity: 0; transition: opacity .35s; }

.photo__zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--navy); font-size: 18px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease); }

.photo:hover img { transform: scale(1.06); }

.photo:hover::after, .photo:hover .photo__zoom, .photo:focus-visible .photo__zoom { opacity: 1; transform: none; }

/* Mozaika: pierwsze zdjęcie duże; dla 6 i 8 zdjęć układ bez pustych pól */

.photo-grid--mosaic { grid-auto-rows: 200px; grid-auto-flow: dense; }

.photo-grid--mosaic .photo:first-child { grid-column: span 2; grid-row: span 2; }

.photo-grid--mosaic.photo-grid--count-8 .photo:nth-child(6) { grid-column: span 2; }

.photo-grid--mosaic.photo-grid--count-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; }

/* Galeria wyjustowana (JS: functions/justified.js) – bez JS równa siatka 4:3 */

.photo-grid--justified .photo { aspect-ratio: 4 / 3; }

.photo-grid--justified.is-justified { display: flex; flex-wrap: wrap; }

.photo-grid--justified.is-justified .photo { flex: none; aspect-ratio: auto; }

.photo.is-hidden { display: none; }

/* Lightbox bez podpisów pod zdjęciem */

.glightbox-container .gslide-description { display: none !important; }

@media (max-width: 900px) {
  .photo-grid, .photo-grid--mosaic.photo-grid--count-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid--mosaic, .photo-grid--mosaic.photo-grid--count-6 { grid-auto-rows: 160px; }
  .photo-grid--mosaic.photo-grid--count-6 .photo:last-child { grid-column: span 2; }
}

/* ---------- Animacje wejścia (tylko gdy działa GSAP — klasa .motion) ---------- */

.motion [data-reveal], .motion [data-reveal-group] > * { opacity: 0; transform: translateY(26px); }

.motion .is-revealed[data-reveal], .motion [data-reveal-group] > .is-revealed { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform 1s var(--ease); }

.split-line-mask { padding: .16em 0 .22em; margin: -.16em 0 -.22em; }

@media (max-width: 760px) {
  .hide-md { display: none !important; }
  .fab { display: none; }
  .to-top { right: 16px; bottom: 84px; }
  .toast { bottom: 84px; }
  .actionbar { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 72; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .actionbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--ink); background: var(--bg-soft); }
  .actionbar svg { font-size: 19px; color: var(--navy); }
  .actionbar .actionbar__main { background: var(--orange); color: var(--navy-950); }
  .actionbar .actionbar__main svg { color: var(--navy-950); }
}

@media (max-width: 520px) {
  .hide-sm { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Komunikat w okienku (Ustawienia strony → Komunikaty)
   Komputer: zdjęcie z kalendarzem + treść obok. Telefon: arkusz wysuwany od dołu.
   ========================================================================== */

.popup { --accent: var(--navy); --accent-bg: #eaf0fa; position: fixed; inset: 0; z-index: 170; display: grid; place-items: center; padding: 24px; }

.popup--closed { --accent: var(--red); --accent-bg: #fdecea; }

.popup--promo { --accent: var(--orange-d); --accent-bg: var(--orange-50); }

.popup__backdrop { position: absolute; inset: 0; background: rgba(4, 12, 30, .68); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }

/* Bez przewijania całego okna – przewija się tylko treść, i to wyłącznie gdy ekran jest bardzo niski */

.popup__box {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  width: min(880px, 100%); max-height: calc(100svh - 48px); overflow: hidden;
  border-radius: var(--r-l); background: #fff;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(26px) scale(.97);
  transition: opacity .4s, transform .6s var(--ease);
}

.popup--plain .popup__box { grid-template-columns: minmax(0, 1fr); width: min(560px, 100%); }

.popup__box:focus { outline: none; }

/* Znak „Y” w tle treści – w granicach okna (ucięty maską), więc nie wydłuża okna */

.popup__box::after { content: ''; position: absolute; right: 0; bottom: 0; z-index: -1; width: 142px; height: 166px; background: var(--accent); opacity: .045; pointer-events: none; -webkit-mask: var(--y-mask) 0 0 / 170px 210px no-repeat; mask: var(--y-mask) 0 0 / 170px 210px no-repeat; }

.popup.is-open .popup__backdrop, .popup.is-open .popup__box { opacity: 1; transform: none; }

.popup__handle { display: none; }

.popup__close { position: absolute; right: 16px; top: 16px; z-index: 4; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-soft); color: var(--ink); font-size: 20px; transition: background-color .2s, color .2s, transform .3s var(--ease); }

.popup__close:hover { background: var(--navy-950); color: #fff; transform: rotate(90deg); }

/* ---------- Zdjęcie + kalendarz ---------- */

.popup__media { position: relative; min-height: 100%; overflow: hidden; background: var(--navy-950); }

.popup__media img { position: absolute; inset: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; transform: scale(1.1); transition: transform 1.8s var(--ease); }

.popup.is-open .popup__media img { transform: none; }

.popup__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 20, 48, 0) 40%, rgba(7, 20, 48, .72) 100%); pointer-events: none; }

.popup__tile {
  position: absolute; left: 26px; bottom: 26px; z-index: 1;
  min-width: 112px; overflow: hidden; border-radius: 18px; background: #fff; text-align: center;
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .65);
  opacity: 0; transform: translateY(18px) rotate(-7deg);
  transition: opacity .5s, transform .8s var(--ease);
}

.popup.is-open .popup__tile { opacity: 1; transform: rotate(-3deg); transition-delay: .3s; }

.popup__tile-month { display: block; padding: 8px 12px 7px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.popup__tile-day { display: block; padding: 10px 14px 0; font: 700 54px/1 var(--f-head); letter-spacing: -.02em; color: var(--ink); }

.popup__tile--range .popup__tile-day { font-size: 40px; padding-top: 14px; }

.popup__tile-week { display: block; padding: 4px 12px 12px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* ---------- Treść ---------- */

.popup__content { position: relative; min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 50px 46px 42px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }

.popup__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--accent-bg); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

.popup__badge svg { font-size: 17px; }

.popup__title { padding-right: 34px; font: 700 clamp(30px, 1.2rem + 1.6vw, 42px)/1.02 var(--f-head); letter-spacing: -.005em; color: var(--ink); }

.popup__title .hl { color: var(--orange); }

.popup__text { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--text); }

.popup__text > * + * { margin-top: .7em; }

.popup__text a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.popup__reopen { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: var(--bg-soft); font-size: 15px; line-height: 1.35; color: var(--text); }

.popup__reopen-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green-50); color: var(--green); font-size: 20px; flex: none; }

.popup__reopen small { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }

.popup__reopen b { color: var(--ink); }

.popup__reopen-time { white-space: nowrap; }

.popup__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Treść wchodzi kolejno po otwarciu */

.popup__content > * { opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .6s var(--ease); }

.popup.is-open .popup__content > * { opacity: 1; transform: none; }

.popup.is-open .popup__content > :nth-child(1) { transition-delay: .12s; }

.popup.is-open .popup__content > :nth-child(2) { transition-delay: .18s; }

.popup.is-open .popup__content > :nth-child(3) { transition-delay: .24s; }

.popup.is-open .popup__content > :nth-child(4) { transition-delay: .3s; }

.popup.is-open .popup__content > :nth-child(5) { transition-delay: .36s; }

/* ---------- Telefon: arkusz od dołu, zamykany też przeciągnięciem w dół ---------- */

@media (max-width: 760px) {
  .popup { place-items: end stretch; padding: 0; }
  .popup__box, .popup--plain .popup__box {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
    width: 100%; max-height: 92svh; border-radius: 26px 26px 0 0;
    transform: translateY(100%); transition: opacity .3s, transform .55s var(--ease);
  }
  .popup.is-open .popup__box { transform: translateY(var(--drag, 0px)); }
  .popup__box.is-dragging { transition: none; }
  .popup__handle { display: block; position: absolute; left: 50%; top: 9px; z-index: 4; width: 42px; height: 5px; margin-left: -21px; border-radius: 3px; background: rgba(255, 255, 255, .8); }
  .popup--plain .popup__handle { background: var(--line-2); }
  .popup__close { right: 12px; top: 14px; width: 38px; height: 38px; font-size: 18px; }
  .popup:not(.popup--plain) .popup__close { background: rgba(255, 255, 255, .94); box-shadow: var(--sh-s); }
  .popup__media { height: clamp(150px, 26svh, 210px); min-height: 0; }
  .popup__tile { left: 18px; bottom: 16px; min-width: 88px; border-radius: 14px; }
  .popup__tile-month { padding: 6px 10px 5px; font-size: 10.5px; }
  .popup__tile-day { padding: 7px 10px 0; font-size: 40px; }
  .popup__tile--range .popup__tile-day { font-size: 30px; padding-top: 10px; }
  .popup__tile-week { padding: 3px 10px 9px; font-size: 11.5px; }
  .popup__content { justify-content: flex-start; padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); }
  .popup--plain .popup__content { padding-top: 34px; }
  .popup:not(.popup--plain) .popup__title { padding-right: 0; }
  .popup__title { font-size: 30px; }
  .popup__text { font-size: 15.5px; }
  .popup__reopen { margin-top: 18px; padding: 12px 14px; }
  .popup__actions { margin-top: 22px; }
  .popup__actions .btn { flex: 1 1 100%; }
}

/* Niski telefon – wersja kompaktowa, żeby wszystko mieściło się bez przewijania */

@media (max-width: 760px) and (max-height: 700px) {
  .popup__media { height: 128px; }
  .popup__tile { bottom: 12px; min-width: 76px; }
  .popup__tile-month { font-size: 9.5px; }
  .popup__tile-day { font-size: 32px; padding-top: 6px; }
  .popup__tile--range .popup__tile-day { font-size: 24px; }
  .popup__tile-week { padding-bottom: 7px; font-size: 10.5px; }
  .popup__content { padding-top: 18px; }
  .popup__badge { margin-bottom: 10px; padding: 5px 12px 5px 9px; font-size: 11px; }
  .popup__title { font-size: 26px; }
  .popup__text { margin-top: 10px; font-size: 15px; line-height: 1.5; }
  .popup__reopen { margin-top: 14px; padding: 10px 12px; font-size: 14px; }
  .popup__reopen-ico { width: 36px; height: 36px; font-size: 18px; }
  .popup__actions { margin-top: 16px; gap: 8px; }
  .popup__actions .btn { --h: 44px; }
}

/* ==========================================================================
   Pasek informacyjny
   ========================================================================== */

.utilbar { position: relative; z-index: 61; background: rgba(7, 20, 48, .28); border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

.utilbar .status { color: #fff; }

.utilbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 38px; }

.utilbar__ticker { height: 38px; overflow: hidden; flex: 1; min-width: 0; }

.utilbar__ticker ul { transition: transform .8s var(--ease); }

.utilbar__ticker li { height: 38px; display: flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; }

/* Wielokropek zamiast uciętego w połowie słowa, gdy brakuje miejsca */

.utilbar__ticker li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

.utilbar__ticker li svg { flex: none; color: var(--orange); font-size: 16px; }

.utilbar__right { display: flex; align-items: center; gap: 20px; flex: none; }

.utilbar__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

.utilbar__link svg { color: var(--orange-l); font-size: 15px; }

.utilbar__link:hover { color: #fff; }

.utilbar__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; }

.utilbar__icon + .utilbar__icon { margin-left: -12px; }

.utilbar__icon:hover { background: var(--orange); color: var(--navy-950); }

/* ==========================================================================
   Nagłówek
   ========================================================================== */

.header {
  position: sticky; top: var(--admin-h); z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), box-shadow .3s, border-color .3s, background-color .35s;
}

.header__logo-light { display: none; }

/* Nad ciemnym zdjęciem (zanim strona zostanie przewinięta) */

.header:not(.is-stuck):not(.is-mega) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

.header:not(.is-stuck):not(.is-mega) .header__logo-dark { display: none; }

.header:not(.is-stuck):not(.is-mega) .header__logo-light { display: block; }

.header:not(.is-stuck):not(.is-mega) .nav__link { color: rgba(255, 255, 255, .86); }

.header:not(.is-stuck):not(.is-mega) .nav__link:hover, .header:not(.is-stuck):not(.is-mega) .nav__link.is-current { color: #fff; }

.header:not(.is-stuck):not(.is-mega) .nav__link svg { color: rgba(255, 255, 255, .6); }

.header:not(.is-stuck):not(.is-mega) .nav__link--ext svg { color: var(--orange-l); }

.header:not(.is-stuck):not(.is-mega) .header__phone:hover { background: rgba(255, 255, 255, .08); }

.header:not(.is-stuck):not(.is-mega) .header__phone-ico { background: rgba(255, 255, 255, .12); color: #fff; }

.header:not(.is-stuck):not(.is-mega) .header__phone-txt small { color: rgba(255, 255, 255, .7); }

.header:not(.is-stuck):not(.is-mega) .header__phone-txt b { color: #fff; }

.header:not(.is-stuck):not(.is-mega) .icon-btn { color: #fff; }

.header:not(.is-stuck):not(.is-mega) .icon-btn:hover { background: rgba(255, 255, 255, .12); }

.header.is-stuck { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(11, 31, 69, .35); }

.header.is-hidden { transform: translateY(calc(-100% - var(--admin-h))); }

.header__inner { display: flex; align-items: center; gap: 28px; height: var(--head-h); }

.header__logo { flex: none; }

.header__logo img { width: 158px; height: auto; }

.nav { position: relative; flex: 1; display: flex; justify-content: center; min-width: 0; }

.nav__list { display: flex; align-items: center; }

.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  height: var(--head-h); padding: 0 15px;
  font-weight: 600; font-size: 15.5px; color: var(--ink);
  white-space: nowrap;
  transition: color .2s;
}

.nav__link svg { font-size: 15px; color: var(--muted); transition: transform .3s var(--ease); }

.nav__link:hover, .nav__link.is-current, .nav__link[aria-expanded="true"] { color: var(--navy); }

.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--orange); }

.nav__link--ext svg { color: var(--orange); transition: transform .3s var(--ease); }

.nav__link--ext:hover svg { transform: translate(2px, -2px); }

.nav__line {
  position: absolute; left: 0; bottom: 16px; height: 3px; width: 0;
  border-radius: 2px; background: var(--orange);
  opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s;
}

.header__actions { display: flex; align-items: center; gap: 6px; flex: none; }

.header__phone { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; margin-left: 4px; border-radius: 14px; transition: background-color .2s; }

.header__phone:hover { background: var(--bg-soft); }

.header__phone-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--orange-50); color: var(--orange-d); font-size: 18px; }

.header__phone-txt { display: grid; line-height: 1.2; }

.header__phone-txt small { font-size: 11.5px; color: var(--muted); font-weight: 600; }

.header__phone-txt b { font-family: var(--f-head); font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }

.header__cta { margin-left: 8px; }

.icon-btn--phone, .icon-btn--burger { display: none; }

/* ---------- Mega menu ---------- */

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: var(--sh-l);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .3s;
}

.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s; }

.mega__inner { display: grid; grid-template-columns: 1.1fr 1.4fr .95fr; gap: 40px; padding-top: 32px; padding-bottom: 34px; }

.mega__brand { height: 40px; width: auto; margin-bottom: 18px; }

.mega__title { font: 600 22px/1.2 var(--f-head); color: var(--ink); margin-bottom: 10px; }

.mega__text { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; }

.mega__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.mega__col { display: flex; flex-direction: column; gap: 2px; }

.mega__col a { padding: 6px 0; font-size: 14.5px; color: var(--text); transition: color .2s, transform .25s var(--ease); }

.mega__col a:hover { color: var(--navy); transform: translateX(3px); }

.mega__col .mega__head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 15px; margin-top: 10px; }

.mega__col .mega__head:first-child { margin-top: 0; }

.mega__col .mega__head svg { color: var(--orange); font-size: 18px; }

.mega__card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-m); background: var(--bg-soft); transition: background-color .25s; }

.mega__card:hover { background: var(--orange-50); }

.mega__card-img { aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: #fff; }

.mega__card-img img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; mix-blend-mode: multiply; }

.mega__card-body { display: grid; gap: 6px; }

.mega__card-body small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-d); }

.mega__card-body b { font: 600 20px/1.15 var(--f-head); color: var(--ink); }

.mega__label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 12px; }

.mega__status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); }

.nav-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(7, 20, 48, .35); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }

.nav-overlay.is-visible { opacity: 1; visibility: visible; transition: opacity .3s; }

/* ==========================================================================
   Menu mobilne
   ========================================================================== */

.drawer { position: fixed; inset: 0; z-index: 95; }

.drawer__backdrop { position: absolute; inset: 0; background: rgba(7, 20, 48, .5); opacity: 0; transition: opacity .35s; }

.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .5s var(--ease); }

.drawer.is-open .drawer__backdrop { opacity: 1; }

.drawer.is-open .drawer__panel { transform: none; }

.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }

.drawer__head img { width: 128px; }

.drawer__levels { position: relative; flex: 1; overflow: hidden; }

.dlevel { position: absolute; inset: 0; overflow-y: auto; padding: 10px 12px 20px; background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }

.dlevel.is-active { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }

.dlevel.is-left { transform: translateX(-30%); visibility: hidden; }

.dlevel__back { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 8px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); margin-bottom: 6px; }

.dlevel__title { font: 600 24px/1.2 var(--f-head); color: var(--ink); padding: 8px 8px 10px; }

.dlink { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 8px; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); text-align: left; }

.dlink svg { color: var(--muted); font-size: 18px; }

.dlink.is-current { color: var(--navy); }

.dlink__l { display: flex; align-items: center; gap: 12px; }

.dlink--sub { font-size: 15.5px; font-weight: 500; }

.dlink--all { color: var(--navy); font-weight: 700; }

.drawer__foot { padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }

.drawer__contact { display: flex; align-items: center; gap: 12px; padding: 8px; }

.drawer__contact > svg { font-size: 22px; color: var(--orange-d); }

.drawer__contact b { display: block; font: 600 18px/1.2 var(--f-head); color: var(--ink); }

.drawer__contact small { color: var(--muted); font-size: 13px; }

/* Nagłówek zagęszcza się stopniowo, żeby menu nigdy nie wchodziło na logo ani na przyciski */

@media (max-width: 1440px) {
  .header__inner { gap: 22px; }
  .nav__link { padding: 0 12px; }
}

@media (max-width: 1359px) {
  .header__phone-txt { display: none; }
  .header__phone { padding: 4px; margin-left: 0; }
}

@media (max-width: 1300px) {
  .nav__link { padding: 0 10px; }
  .header__logo img { width: 146px; }
}

@media (max-width: 1180px) {
  .nav, .header__phone, .mega, .nav-overlay { display: none; }
  .header__actions { margin-left: auto; }
  .icon-btn--phone, .icon-btn--burger { display: inline-grid; }
  .header__logo img { width: 142px; }
  .utilbar .hide-lg { display: none !important; }
}

@media (max-width: 900px) {
  .utilbar { display: none; }
}

@media (max-width: 760px) {
  .header__cta { display: none; }
}

@media (max-width: 520px) {
  .header__logo img { width: 124px; }
  .icon-btn { width: 42px; height: 42px; }
}

/* ==========================================================================
   Stopka
   ========================================================================== */

.footer { background: #040c1e; color: rgba(255, 255, 255, .7); padding: 64px 0 28px; font-size: 14.5px; }

.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }

.footer__logo { width: 170px; margin-bottom: 18px; }

.footer__text { max-width: 24em; margin-bottom: 18px; }

.footer__socials { display: flex; gap: 8px; }

.footer__social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 20px; transition: background-color .2s, color .2s; }

.footer__social:hover { background: var(--orange); color: var(--navy-950); }

.footer__head { font: 600 16px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }

.footer__col { display: flex; flex-direction: column; gap: 9px; }

.footer__col a { transition: color .2s; display: inline-flex; align-items: center; gap: 10px; }

.footer__col a:hover { color: var(--orange-l); }

.footer__contact svg { color: var(--orange-l); font-size: 17px; }

.footer__hours { display: flex; gap: 10px; }

.footer__hours svg { color: var(--orange-l); font-size: 17px; margin-top: 3px; }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 22px; font-size: 13px; }

.footer__bottom a:hover { color: #fff; }

.footer__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }

/* Realizacja – logo wykonawcy */

.footer__credit { position: relative; display: inline-flex; align-items: center; gap: 10px; padding-left: 24px; color: rgba(255, 255, 255, .5); }

.footer__credit::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 26px; margin-top: -13px; background: rgba(255, 255, 255, .14); }

.footer__credit span { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; margin-right: 2px; }

.footer__credit-mark { width: auto; height: 26px; transition: transform .45s var(--ease); }

.footer__credit-name { width: auto; height: 17px; opacity: .7; transition: opacity .25s; }

.footer__credit:hover { color: rgba(255, 255, 255, .75); }

.footer__credit:hover .footer__credit-mark { transform: rotate(-8deg) scale(1.08); }

.footer__credit:hover .footer__credit-name { opacity: 1; }

@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .footer { padding-bottom: 100px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .footer__credit { padding-left: 0; }
  .footer__credit::before { display: none; }
}

/* ==========================================================================
   Sekcje — wspólne
   ========================================================================== */

.section { padding: clamp(52px, 5.6vw, 84px) 0; }

.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(28px, 3.4vw, 44px); }

.section-head__text { font-size: 16.5px; color: var(--text); max-width: 36em; }

.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }

.section-head--center { display: block; text-align: center; }

.section-head--center .section-title { max-width: 18em; margin: 0 auto; }

/* Wyróżniki z ikoną (Firma, Kontakt) */

.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(32px, 4vw, 48px) 0; }

.point { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); line-height: 1.35; transition: border-color .25s, transform .4s var(--ease); }

.point:hover { border-color: var(--orange); transform: translateY(-2px); }

.point__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--orange-50); color: var(--orange-d); font-size: 21px; flex: none; }

.point b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }

.point small { font-size: 13.5px; color: var(--muted); }

.points--stack { grid-template-columns: 1fr 1fr; margin: 14px 0 0; }

@media (max-width: 1100px) {
  .points { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .points, .points--stack { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Nagłówek podstrony — ciemne zdjęcie pod przezroczystym menu
   ========================================================================== */

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(480px, 64vh, 660px);
  margin-top: calc(-1 * (var(--head-h) + var(--util-h)));
  background: var(--navy-950); color: #fff;
}

.page-hero__bg { position: absolute; inset: 0; z-index: -2; }

.page-hero__bg img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }

.page-hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 20, 48, .8) 0%, rgba(7, 20, 48, .25) 34%, rgba(7, 20, 48, .5) 62%, rgba(7, 20, 48, .95) 100%),
    linear-gradient(90deg, rgba(7, 20, 48, .72) 0%, rgba(7, 20, 48, 0) 70%);
}

.page-hero--plain { min-height: 420px; }

.page-hero--plain .page-hero__shade { background: radial-gradient(ellipse at 85% 0%, rgba(22, 66, 140, .55), transparent 60%), var(--navy-950); }

.page-hero--plain::after { content: ''; position: absolute; right: -60px; bottom: -120px; width: 380px; height: 470px; background: var(--orange); opacity: .07; -webkit-mask: var(--y-mask) center/contain no-repeat; mask: var(--y-mask) center/contain no-repeat; z-index: -1; }

.page-hero__in { width: 100%; padding-top: calc(var(--head-h) + var(--util-h) + 44px); padding-bottom: clamp(40px, 5vw, 68px); }

.page-hero__title { font-size: clamp(2.6rem, .9rem + 4.8vw, 5.6rem); line-height: .94; text-transform: uppercase; color: #fff; max-width: 15em; }

.page-hero__lead { margin-top: 20px; max-width: 40em; font-size: 17.5px; color: rgba(255, 255, 255, .85); }

.page-hero__logo { height: 64px; width: auto; margin-bottom: 18px; padding: 10px 16px; border-radius: 14px; background: #fff; }

.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Krótka treść – na środku ekranu, a nie przy dolnej krawędzi */

.page-hero--404 { min-height: 100svh; align-items: center; }

.motion [data-hero-title] { visibility: hidden; }

@media (max-width: 760px) {
  .page-hero { min-height: 440px; }
  .page-hero__in { padding-top: calc(var(--head-h) + 36px); }
  .page-hero__lead { font-size: 16px; }
  .page-hero__ctas .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Pasek CTA na dole podstron
   ========================================================================== */

.cta-band { padding: clamp(52px, 5.6vw, 84px) 0; }

.section + .cta-band { padding-top: 0; }

.cta-band__box { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: var(--r-l); overflow: hidden; background: var(--navy-950); color: #fff; }

.cta-band__box::before { content: ''; position: absolute; right: -50px; bottom: -110px; width: 320px; height: 400px; background: var(--orange); opacity: .07; -webkit-mask: var(--y-mask) center/contain no-repeat; mask: var(--y-mask) center/contain no-repeat; z-index: -1; }

.cta-band__img { min-height: 340px; }

.cta-band__img img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }

.cta-band__body { display: grid; align-content: center; justify-items: start; padding: clamp(28px, 4vw, 60px); padding-right: clamp(28px, 10vw, 170px); }

.cta-band__text { margin: 14px 0 26px; max-width: 34em; color: rgba(255, 255, 255, .8); }

.cta-band__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.cta-band__hours { margin-top: 18px; font-size: 14px; }

.cta-band__hours .status { color: rgba(255, 255, 255, .85); }

.cta-band .about__seal { top: 24px; right: 24px; width: 110px; height: 110px; }

.cta-band__box:not(:has(.cta-band__img)) { grid-template-columns: 1fr; }

@media (max-width: 900px) {
  .cta-band__box { grid-template-columns: 1fr; }
  .cta-band__img { min-height: 240px; }
  .cta-band__body { padding-right: clamp(28px, 4vw, 60px); }
  .cta-band .about__seal { display: none; }
}

@media (max-width: 520px) {
  .cta-band__ctas .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Treść zwykłej podstrony (np. Polityka prywatności)
   ========================================================================== */

.prose--page { max-width: 820px; margin: 0 auto; font-size: 16px; }

.prose--page h1, .prose--page h2 { font: 700 clamp(26px, 1.2rem + 1vw, 34px)/1.15 var(--f-head); color: var(--ink); margin-top: 1.6em; }

.prose--page h3 { font: 600 clamp(20px, 1rem + .5vw, 24px)/1.25 var(--f-head); color: var(--ink); margin-top: 1.8em; }

.prose--page > :first-child { margin-top: 0; }

.prose--page hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.prose--page table { width: 100%; border-collapse: collapse; font-size: 14.5px; }

.prose--page th, .prose--page td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }

.prose--page th { background: var(--bg-soft); color: var(--ink); }

/* ==========================================================================
   Kontakt (sekcja na stronie głównej i mapa na podstronie Kontakt)
   ========================================================================== */

.contact { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }

.contact::before { content: ''; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 520px; background: var(--orange); opacity: .06; -webkit-mask: var(--y-mask) center/contain no-repeat; mask: var(--y-mask) center/contain no-repeat; }

.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 60px); align-items: stretch; }

.contact__cards { display: grid; gap: 10px; margin: 28px 0 22px; }

.ccard { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: background-color .25s, border-color .25s; }

.ccard:hover { background: rgba(255, 255, 255, .09); border-color: rgba(241, 146, 0, .6); }

.ccard__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange); color: var(--navy-950); font-size: 22px; flex: none; }

.ccard small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .6); font-weight: 600; }

.ccard b { font: 600 clamp(18px, 1rem + .4vw, 22px)/1.25 var(--f-head); letter-spacing: .01em; word-break: break-word; }

.ccard em { display: block; font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .6); }

.hours { border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); padding: 18px 20px; color: #fff; }

.hours__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }

.hours__head > svg { color: var(--orange-l); font-size: 20px; }

.status--pill { margin-left: auto; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 13px; }

.hours li { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 10px; font-size: 14.5px; color: rgba(255, 255, 255, .75); }

.hours li b { color: #fff; font-weight: 600; }

.hours li.is-today { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 3px 0 0 var(--orange); }

.hours li.is-today span::after { content: ' · dziś'; color: var(--orange-l); font-weight: 700; }

.contact__map { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 460px; background: #e9edf3; }

.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; color: var(--ink); background:
  linear-gradient(90deg, rgba(22, 66, 140, .06) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(rgba(22, 66, 140, .06) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(160deg, #eef2f7, #dfe6f0); }

.map-fallback::before { content: ''; position: absolute; left: -10%; right: -10%; top: 58%; height: 26px; background: #fff; transform: rotate(-8deg); }

.map-fallback::after { content: ''; position: absolute; top: -10%; bottom: -10%; left: 38%; width: 18px; background: #fff; transform: rotate(14deg); }

.map-fallback > * { position: relative; z-index: 1; }

.map-fallback__pin { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange); box-shadow: 0 14px 30px -10px rgba(241, 146, 0, .9); }

.map-fallback__pin svg { transform: rotate(45deg); font-size: 28px; color: var(--navy-950); }

.map-fallback b { font: 600 22px/1.2 var(--f-head); margin-top: 8px; }

.map-fallback small { color: var(--muted); font-weight: 600; }

.contact__map iframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; filter: saturate(.9); }

.contact__map-btn { position: absolute; z-index: 2; left: 18px; bottom: 18px; }

.contact__grid--map { align-items: center; }

.contact__directions { margin: 16px 0 26px; color: rgba(255, 255, 255, .8); font-size: 16px; max-width: 32em; }

.contact__directions strong { color: #fff; }

@media (max-width: 1100px) {
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .contact__map { min-height: 340px; }
}

/* ==========================================================================
   HERO — „Kino”: pełnoekranowy pokaz zdjęć pod przezroczystym nagłówkiem
   ========================================================================== */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100svh; min-height: 640px;
  margin-top: calc(-1 * (var(--head-h) + var(--util-h)));
  background: var(--navy-950); color: #fff;
}

.hero__show { position: absolute; inset: 0; z-index: -3; }

.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; }

.hero__slide.is-prev { opacity: 1; z-index: 1; }

.hero__slide.is-active { opacity: 1; z-index: 2; }

.hero__slide img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }

.hero__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 20, 48, .72) 0%, rgba(7, 20, 48, .1) 26%, rgba(7, 20, 48, .2) 48%, rgba(7, 20, 48, .92) 100%),
    linear-gradient(90deg, rgba(7, 20, 48, .5) 0%, rgba(7, 20, 48, 0) 60%);
}

.hero__mask { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.hero__ystroke { fill: none; stroke: var(--orange); stroke-width: 1.1; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }

html:not(.motion) .hero__mask { display: none; }

.hero__in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--head-h) + var(--util-h) + 32px); }

.hero__main { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 56px; align-items: end; padding-bottom: 38px; }

.hero__title { font: 700 clamp(3rem, .6rem + 6.6vw, 7.6rem)/.9 var(--f-head); text-transform: uppercase; letter-spacing: -.005em; color: #fff; }

.hero__title em { font-style: normal; color: var(--orange); }

.hero__side { padding-bottom: 6px; }

.hero__status { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; font-size: 13.5px; font-weight: 700; color: #fff; }

.hero__status small { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .65); }

.hero__status small::before { content: '· '; }

.hero__lead { max-width: 30em; margin-bottom: 26px; font-size: 17px; color: rgba(255, 255, 255, .86); }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__bar { display: grid; grid-template-columns: auto auto minmax(0, 1fr); border-top: 1px solid rgba(255, 255, 255, .2); }

.hero__cell { display: flex; align-items: center; gap: 16px; padding: 20px 32px 24px 0; }

.hero__cell + .hero__cell { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .2); }

.hero__cell--dealer small { max-width: 8em; }

.hero__cell small { display: block; font-size: 11.5px; font-weight: 800; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-l); }

.hero__cell b { font: 600 22px/1.1 var(--f-head); white-space: nowrap; }

.hero__cell--reel { padding-right: 0; }

.hero__logos { display: inline-flex; align-items: center; gap: 18px; }

.hero__logos img { height: 16px; width: auto; }

.hero__logos img.is-mark { height: 30px; }

.hero__reel { display: grid; grid-template-columns: repeat(var(--slides, 4), minmax(0, 1fr)); gap: 12px; width: 100%; }

.hero__seg { text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .55); transition: color .3s; }

.hero__seg:hover, .hero__seg.is-active { color: #fff; }

.hero__seg i { margin-right: 6px; font: 600 12px/1 var(--f-head); font-style: normal; color: var(--orange-l); }

.hero__seg em { display: block; height: 3px; margin-bottom: 10px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }

.hero__seg em b { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; }

.hero__seg.is-done em b { transform: scaleX(1); }

.motion .hero__title, .motion .hero__side, .motion .hero__bar { visibility: hidden; }

@media (max-width: 1100px) {
  .hero__main { grid-template-columns: 1fr; gap: 26px; }
  .hero__cell--dealer { display: none; }
}

/* Tablet: pasek slajdów na całą szerokość, żeby podpisy mieściły się bez ucinania */

@media (max-width: 900px) {
  .hero__bar { grid-template-columns: 1fr; }
  .hero__cell:first-child { display: none; }
  .hero__cell + .hero__cell { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  .hero { height: auto; min-height: 100svh; }
  .hero__in { min-height: 100svh; padding-top: calc(var(--head-h) + 28px); }
  .hero__shade { background: linear-gradient(180deg, rgba(7, 20, 48, .6) 0%, rgba(7, 20, 48, .3) 22%, rgba(7, 20, 48, .72) 48%, rgba(7, 20, 48, .95) 100%); }
  .hero__title { font-size: clamp(2.6rem, 1.4rem + 6vw, 3.4rem); }
  /* Status i adres jeden pod drugim (zamiast dwóch wąskich kolumn) */
  .hero__status { flex-wrap: wrap; row-gap: 2px; }
  .hero__status small { flex-basis: 100%; padding-left: 18px; }
  .hero__status small::before { content: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__bar { padding-bottom: 70px; }
  .hero__seg span { display: none; }
}

/* ==========================================================================
   Atuty
   ========================================================================== */

.usp { padding: 28px 0 0; }

.usp__list { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--sh-s); }

.usp__item { display: flex; align-items: center; gap: 14px; padding: 20px 18px; line-height: 1.3; }

.usp__item + .usp__item { border-left: 1px solid var(--line); }

.usp__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--orange-50); color: var(--orange-d); font-size: 22px; flex: none; transition: transform .4s var(--ease), background-color .3s, color .3s; }

.usp__item:hover .usp__ico { transform: rotate(-8deg) scale(1.06); background: var(--navy); color: #fff; }

.usp__item b { display: block; font-size: 15px; color: var(--ink); }

.usp__item small { font-size: 13px; color: var(--muted); }

@media (max-width: 1280px) {
  .usp__item { padding: 18px 14px; gap: 12px; }
  .usp__ico { width: 42px; height: 42px; font-size: 20px; }
}

@media (max-width: 1100px) {
  .usp__list { grid-template-columns: repeat(6, 1fr); }
  .usp__item { grid-column: span 2; }
  .usp__item:nth-child(n + 4) { grid-column: span 3; border-top: 1px solid var(--line); }
  .usp__item:nth-child(4) { border-left: 0; }
}

@media (max-width: 760px) {
  .usp__list { grid-template-columns: 1fr 1fr; }
  .usp__item, .usp__item + .usp__item { border-left: 0; border-top: 1px solid var(--line); }
  .usp__item:nth-child(-n + 2) { border-top: 0; }
  .usp__item:nth-child(2n) { border-left: 1px solid var(--line); }
  .usp__item, .usp__item:nth-child(n + 4) { grid-column: auto; }
  .usp__item:last-child:nth-child(odd) { grid-column: 1 / -1; border-left: 0; }
}

@media (max-width: 520px) {
  .usp__item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .usp__item:last-child:nth-child(odd) { flex-direction: row; align-items: center; }
}

/* ==========================================================================
   Co robimy — bento
   ========================================================================== */

.services { padding-top: clamp(48px, 5vw, 72px); }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 14px; grid-template-areas: "a a b c" "a a d e" "f f g g"; }

.tile--a { grid-area: a; }

.tile--b { grid-area: b; }

.tile--c { grid-area: c; }

.tile--d { grid-area: d; }

.tile--e { grid-area: e; }

.tile--f { grid-area: f; }

.tile--g { grid-area: g; }

.bento--auto { grid-template-areas: none; }

.bento--auto .tile { grid-area: auto; }

.bento--auto .tile--a { grid-column: span 2; grid-row: span 2; }

.tile { position: relative; overflow: hidden; border-radius: var(--r-m); background: var(--navy-900); color: #fff; isolation: isolate; }

.tile img { position: absolute; inset: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }

.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 20, 48, .92) 0%, rgba(7, 20, 48, .55) 42%, rgba(7, 20, 48, .05) 78%); transition: opacity .4s; }

.tile:hover img { transform: scale(1.06); }

.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: grid; gap: 6px; }

.tile__tag { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.tile__tag svg { color: var(--orange-l); font-size: 15px; }

.tile__title { font: 600 clamp(20px, 1rem + .6vw, 25px)/1.15 var(--f-head); }

.tile--a .tile__title { font-size: clamp(26px, 1.2rem + 1.2vw, 36px); }

.tile__text { font-size: 14px; color: rgba(255, 255, 255, .82); max-width: 34em; }

.tile__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--orange-l); margin-top: 4px; }

.tile__more svg { transition: transform .3s var(--ease); }

.tile:hover .tile__more svg { transform: translateX(4px); }

@media (hover: hover) and (min-width: 901px) {
  .tile:not(.tile--a) .tile__text, .tile:not(.tile--a) .tile__more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .35s, margin .4s; margin-top: -6px; }
  .tile:not(.tile--a):hover .tile__text, .tile:not(.tile--a):focus-visible .tile__text { max-height: 80px; opacity: 1; margin-top: 0; }
  .tile:not(.tile--a):hover .tile__more, .tile:not(.tile--a):focus-visible .tile__more { max-height: 30px; opacity: 1; margin-top: 4px; }
}

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; grid-template-areas: "a a" "a a" "b c" "d e" "f f" "g g"; }
}

@media (max-width: 760px) {
  .bento, .bento--auto { grid-template-columns: 1fr; grid-auto-rows: auto; grid-template-areas: "a" "b" "c" "d" "e" "f" "g"; }
  .bento--auto .tile--a { grid-column: auto; grid-row: auto; }
  .tile { min-height: 250px; }
  .tile--a { min-height: 360px; }
}

/* ==========================================================================
   Zgłoszenie serwisowe
   ========================================================================== */

.service { background: var(--bg-soft); }

.service__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 28px; align-items: start; }

.service__lead { font-size: 16.5px; margin: 14px 0 26px; max-width: 40em; }

.service__side { position: sticky; top: calc(var(--head-h) + var(--admin-h) + 20px); display: grid; gap: 14px; margin-top: var(--wiz-top, 128px); }

.summary { background: var(--navy-900); color: #fff; border-radius: var(--r-l); padding: 26px; position: relative; overflow: hidden; }

.summary::before { content: ''; position: absolute; right: -40px; top: -50px; width: 170px; height: 210px; background: var(--orange); opacity: .12; -webkit-mask: var(--y-mask) center/contain no-repeat; mask: var(--y-mask) center/contain no-repeat; }

.summary__label { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 12px; position: relative; }

.engines .summary__label { color: var(--muted); }

.summary__machine { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); position: relative; }

.summary__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: rgba(255, 255, 255, .08); color: var(--orange-l); font-size: 40px; flex: none; transition: transform .4s var(--ease); }

.summary__ico.is-bump { animation: bump .5s var(--ease); }

@keyframes bump { 0% { transform: scale(.8) rotate(-8deg); } 60% { transform: scale(1.08) rotate(3deg); } 100% { transform: none; } }

.summary__machine b { display: block; font: 600 21px/1.2 var(--f-head); }

.summary__machine small { color: rgba(255, 255, 255, .65); font-size: 13.5px; }

.summary__rows { margin: 14px 0 22px; display: grid; gap: 8px; position: relative; }

.summary__rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }

.summary__rows dt { color: rgba(255, 255, 255, .6); }

.summary__rows dd { margin: 0; font-weight: 700; text-align: right; }

.summary__list { display: grid; gap: 10px; position: relative; }

.summary__list li { display: flex; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .88); }

.summary__list svg { color: var(--orange-l); font-size: 18px; margin-top: 2px; }

.engines { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 20px; }

.engines__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }

.engines__row img { height: 20px; width: auto; }

.engines__row img[alt^="Briggs"] { height: 30px; }

.engines__row span { font: 600 15px/1 var(--f-head); color: var(--ink); letter-spacing: .03em; text-transform: uppercase; }

@media (max-width: 1100px) {
  .service__grid { grid-template-columns: 1fr; }
  .service__side { position: static; margin-top: 0; grid-template-columns: 1.3fr 1fr; align-items: start; }
}

@media (max-width: 900px) {
  .service__side { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Roboty — montaż
   ========================================================================== */

.robots__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

.robots__lead { font-size: 16.5px; margin: 14px 0 24px; max-width: 34em; }

.steps { display: grid; gap: 10px; margin-bottom: 24px; }

.step { display: flex; gap: 16px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }

.step:hover { border-color: var(--orange); background: var(--orange-50); }

.step__num { font: 700 22px/1 var(--f-head); color: var(--orange); padding-top: 3px; min-width: 30px; }

.step b { display: block; font-size: 16px; color: var(--ink); }

.step small { font-size: 14px; color: var(--muted); }

.robots__photos { display: grid; grid-template-columns: .8fr 1.3fr; gap: 12px; }

.robots__photo { width: 100%; height: 220px; -o-object-fit: cover; object-fit: cover; border-radius: var(--r-m); }

.robot-form { position: sticky; top: calc(var(--head-h) + var(--admin-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 2.4vw, 30px); box-shadow: var(--sh); display: grid; gap: 18px; }

.robot-form__form { display: grid; gap: 18px; }

.robot-form__lawn { border-radius: 18px; background: linear-gradient(180deg, #eaf3e4, #dfeccf); height: 170px; display: grid; place-items: center; overflow: hidden; position: relative; }

.robot-form__lawn::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px 24px); }

.lawn { position: relative; width: 92%; height: 82%; display: grid; place-items: center; }

.lawn__grass { position: relative; display: block; width: 30%; height: 40%; border-radius: 18px; background: repeating-linear-gradient(90deg, #5aa83a 0 14px, #4f9a31 14px 28px); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .5), 0 10px 20px -10px rgba(40, 90, 20, .6); transition: width .5s var(--ease), height .5s var(--ease); }

.lawn__robot { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--orange-d); font-size: 26px; box-shadow: 0 6px 12px rgba(0, 0, 0, .2); animation: mow 9s linear infinite; }

@keyframes mow { 0% { transform: translate(-60%, -60%); } 25% { transform: translate(60%, -60%); } 50% { transform: translate(60%, 60%); } 75% { transform: translate(-60%, 60%); } 100% { transform: translate(-60%, -60%); } }

.robot-form__done { position: absolute; inset: 0; background: #fff; border-radius: inherit; place-content: center; z-index: 3; }

@media (max-width: 1100px) {
  .robots__grid { grid-template-columns: 1fr; }
  .robot-form { position: static; }
}

@media (max-width: 760px) {
  .robots__photos { display: none; }
}

/* ==========================================================================
   Ehrle
   ========================================================================== */

.ehrle { background: var(--bg-warm); }

.ehrle__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }

.ehrle__media { position: relative; padding-bottom: 60px; padding-right: 30px; }

.ehrle__photo { width: 100%; aspect-ratio: 4/3.3; -o-object-fit: cover; object-fit: cover; border-radius: var(--r-l); }

.ehrle__float { position: absolute; right: 0; bottom: 0; width: 52%; background: #fff; border-radius: var(--r-m); padding: 8px 8px 14px; box-shadow: var(--sh-l); }

.ehrle__float img { border-radius: 14px; aspect-ratio: 16/9; -o-object-fit: cover; object-fit: cover; width: 100%; }

.ehrle__float figcaption { font-size: 13px; font-weight: 600; color: var(--text); padding: 10px 8px 0; line-height: 1.45; }

.ehrle__logo { height: 52px; width: auto; margin-bottom: 20px; }

.ehrle__text { font-size: 16.5px; margin: 16px 0 24px; }

.ehrle__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

/* Dobór typu myjki */

.chooser { background: #fff; border-radius: var(--r-m); padding: 20px; border: 1px solid var(--line); display: grid; gap: 10px; margin-bottom: 24px; }

.chooser__q { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.chooser__row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: var(--bg-soft); }

.chooser__opt { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px; font-weight: 700; font-size: 14.5px; color: var(--text); transition: background-color .25s, color .25s, box-shadow .25s; }

.chooser__opt svg { font-size: 18px; }

.chooser__opt:hover { color: var(--navy); }

.chooser__opt.is-active { background: #fff; color: var(--navy); box-shadow: var(--sh-s); }

.chooser__opt.is-active svg { color: var(--orange-d); }

.chooser__result { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--navy-900); color: #fff; margin-top: 4px; transition: background-color .25s; }

.chooser__result:hover { background: var(--navy); }

.chooser__result small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); font-weight: 600; }

.chooser__result b { font: 600 19px/1.2 var(--f-head); }

.chooser__result > svg { font-size: 22px; color: var(--orange-l); transition: transform .3s var(--ease); }

.chooser__result:hover > svg { transform: translate(2px, -2px); }

.chooser__result.is-swap b { animation: tick .45s var(--ease); }

@media (max-width: 1100px) {
  .ehrle__grid { grid-template-columns: 1fr; }
  .ehrle__media { max-width: 720px; }
}

@media (max-width: 760px) {
  .ehrle__media { padding-right: 0; padding-bottom: 80px; }
  .ehrle__float { width: 70%; }
}

@media (max-width: 520px) {
  .chooser__opt { font-size: 13.5px; }
  .ehrle__ctas .btn { width: 100%; }
}

/* ==========================================================================
   O firmie — wstęp, liczby, pieczęć, przesuwający się pasek
   ========================================================================== */

.about { padding-bottom: 0; overflow: clip; }

.about__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }

.about__lead { font-size: 17px; color: var(--text); margin: 18px 0 22px; max-width: 34em; }

.about__quote { position: relative; margin: 0 0 28px; padding: 4px 0 4px 22px; border-left: 4px solid var(--orange); font: 500 clamp(19px, .95rem + .5vw, 23px)/1.4 var(--f-head); color: var(--ink); max-width: 30em; }

.about__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.about__media { position: relative; padding: 0 0 56px 64px; }

.about__photo { margin: 0; overflow: hidden; border-radius: var(--r-l); box-shadow: var(--sh-l); }

.about__photo img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; transition: transform 1.2s var(--ease); }

.about__photo:hover img { transform: scale(1.04); }

.about__photo--main { aspect-ratio: 4 / 3; }

.about__photo--side { position: absolute; left: 0; bottom: 0; width: 34%; aspect-ratio: 4 / 5; border: 6px solid #fff; border-radius: 22px; }

.about__seal { position: absolute; right: -14px; top: -26px; width: 128px; height: 128px; border-radius: 50%; background: var(--orange); color: var(--navy-950); display: grid; place-items: center; box-shadow: 0 18px 34px -14px rgba(241, 146, 0, .7); }

.about__seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }

.about__seal-ring text { font: 700 11px/1 var(--f-body); fill: var(--navy-950); }

.about__seal-mark { width: 30px; height: 37px; fill: var(--navy-950); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.stats li { display: grid; gap: 4px; padding: 26px 24px; }

.stats li + li { border-left: 1px solid var(--line); }

.stats b { font: 700 clamp(38px, 1.8rem + 1.6vw, 58px)/1 var(--f-head); color: var(--navy); }

.stats li > span { font-size: 14.5px; color: var(--muted); font-weight: 600; }

.marquee { background: var(--orange); overflow: hidden; padding: 18px 0; }

.marquee__track { display: flex; align-items: center; gap: 34px; width: -moz-max-content; width: max-content; animation: marquee 34s linear infinite; }

.marquee span { font: 700 clamp(22px, 1rem + 1.2vw, 32px)/1 var(--f-head); text-transform: uppercase; color: var(--navy-950); white-space: nowrap; letter-spacing: .01em; }

.marquee i { width: 22px; height: 27px; flex: none; background: var(--navy-950); -webkit-mask: var(--y-mask) center/contain no-repeat; mask: var(--y-mask) center/contain no-repeat; }

@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .about__intro { grid-template-columns: 1fr; }
  .about__media { max-width: 720px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .about__media { padding: 0 0 40px 30px; }
  .about__seal { width: 96px; height: 96px; right: -6px; top: -20px; }
  .about__seal-mark { width: 22px; height: 28px; }
  .stats li { padding: 18px 14px; }
  .stats b { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ==========================================================================
   Marki
   ========================================================================== */

.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 132px; gap: 12px; }

/* Stała wysokość pola na logo – podpisy w kafelkach jednego rzędu stoją na tej samej linii */

.brand { position: relative; min-width: 0; display: grid; grid-template-rows: 44px auto; place-items: center; align-content: center; gap: 12px; padding: 18px; border-radius: var(--r-m); border: 1px solid var(--line); background: #fff; text-align: center; transition: border-color .25s, box-shadow .3s, transform .4s var(--ease); }

a.brand:hover { border-color: transparent; box-shadow: var(--sh); transform: translateY(-3px); }

.brand img { max-height: 40px; max-width: 76%; width: auto; transition: transform .4s var(--ease); }

a.brand:hover img { transform: scale(1.05); }

.brand small { font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.3; }

.brand--text b { font: 700 25px/1 var(--f-head); color: var(--ink); letter-spacing: .02em; }

.brand__lockup { display: inline-flex; align-items: center; gap: 10px; }

.brand .brand__lockup img { height: 26px; max-width: none; }

.brand--hero { grid-column: span 2; grid-row: span 2; place-items: stretch; align-content: stretch; text-align: left; padding: 28px; background: var(--navy-900); border-color: var(--navy-900); color: #fff; overflow: hidden; grid-template-rows: auto 1fr; }

.brand--hero .brand__logo { max-height: 86px; max-width: none; width: auto; justify-self: start; }

.brand__body { align-self: end; display: grid; gap: 8px; max-width: 58%; position: relative; z-index: 1; }

.brand__body small { color: var(--orange-l); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.brand__body b { font: 600 24px/1.2 var(--f-head); }

.brand--hero .link-arrow { color: #fff; }

.brand--hero .brand__prod { position: absolute; right: -24px; bottom: -24px; width: 52%; max-height: none; max-width: none; border-radius: 50%; background: #fff; padding: 8px; transition: transform .6s var(--ease); }

.brand--hero:hover .brand__prod { transform: rotate(-6deg) scale(1.04); }

.brand-grid--plain { grid-template-columns: repeat(5, 1fr); }

/* Węższa karta Husqvarny – mniejsze logo, tytuł i zdjęcie, żeby tekst nie wchodził pod zdjęcie */

@media (max-width: 1240px) {
  .brand--hero { padding: 24px; }
  .brand--hero .brand__logo { max-height: 60px; }
  .brand__body b { font-size: 20px; }
  .brand--hero .brand__prod { width: 44%; }
}

@media (max-width: 1100px) {
  .brand-grid--plain { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .brand-grid, .brand-grid--plain { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 118px; }
  .brand--hero { grid-column: span 3; grid-row: span 2; }
  .brand--hero .brand__prod { width: 38%; right: -14px; bottom: -14px; }
}

@media (max-width: 760px) {
  .brand-grid, .brand-grid--plain { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 112px; }
  .brand__lockup { gap: 7px; }
  .brand .brand__lockup img { height: 19px; }
  .brand--text .brand__lockup b { font-size: 19px; }
  .brand--hero { grid-column: span 2; grid-row: span 3; }
  .brand__body { max-width: 74%; align-self: start; margin-top: 18px; }
  .brand--hero .brand__prod { width: min(38%, 200px); }
}

/* ==========================================================================
   Sklep online — zaproszenie
   ========================================================================== */

.store { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }

.store::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-58deg, rgba(255, 255, 255, .025) 0 18px, transparent 18px 64px); pointer-events: none; }

.store__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }

.store__lead { font-size: 16.5px; color: rgba(255, 255, 255, .78); margin: 14px 0 26px; max-width: 32em; }

.store__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.store__promo { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 18px 14px 14px; max-width: 30em; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .25s, border-color .25s; }

.store__promo:hover { background: rgba(255, 255, 255, .1); border-color: rgba(241, 146, 0, .5); }

.store__promo-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange); color: var(--navy-950); font-size: 20px; flex: none; }

.store__promo small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-l); margin-bottom: 2px; }

.store__promo b { display: block; font-size: 15px; line-height: 1.35; color: #fff; }

.store__promo-arrow { margin-left: auto; font-size: 20px; color: rgba(255, 255, 255, .55); flex: none; transition: transform .3s var(--ease), color .2s; }

.store__promo:hover .store__promo-arrow { color: var(--orange-l); transform: translate(2px, -2px); }

.store__cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.store-cat { position: relative; display: grid; gap: 12px; padding: 10px 10px 16px; border-radius: var(--r-m); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); transition: background-color .25s, border-color .25s, transform .4s var(--ease); }

.store-cat:hover { background: rgba(255, 255, 255, .09); border-color: rgba(241, 146, 0, .5); transform: translateY(-3px); }

.store-cat__img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; background: #fff; overflow: hidden; }

.store-cat__img img { width: 100%; height: 100%; -o-object-fit: contain; object-fit: contain; padding: 10px; mix-blend-mode: multiply; transition: transform .5s var(--ease); }

.store-cat:hover .store-cat__img img { transform: scale(1.06) rotate(-2deg); }

.store-cat__name { padding: 0 30px 0 6px; font: 600 18px/1.2 var(--f-head); color: #fff; }

.store-cat > svg { position: absolute; right: 14px; bottom: 17px; font-size: 18px; color: var(--orange-l); transition: transform .3s var(--ease); }

.store-cat:hover > svg { transform: translate(2px, -2px); }

@media (max-width: 1100px) {
  .store__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .store__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .store-cat__name { font-size: 16px; padding-right: 24px; }
  .store-cat > svg { right: 10px; }
}

@media (max-width: 520px) {
  .store__ctas .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Aktualności
   ========================================================================== */

.news { background: var(--bg-soft); }

.news__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; }

.post { display: grid; align-content: start; background: #fff; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s, transform .4s var(--ease); }

.post:hover { box-shadow: var(--sh); transform: translateY(-3px); }

.post__img { display: block; overflow: hidden; background: var(--line); }

.post__img img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; transition: transform .8s var(--ease); }

.post:hover .post__img img { transform: scale(1.05); }

.post__body { display: grid; gap: 6px; align-content: start; padding: 18px 20px; }

.post time { font-size: 12.5px; font-weight: 700; color: var(--orange-d); letter-spacing: .03em; }

.post__title { font: 600 19px/1.25 var(--f-head); color: var(--ink); }

.post__text { font-size: 14px; color: var(--muted); }

.post--featured .post__img { aspect-ratio: 16/10; }

.post--featured .post__body { padding: 24px 26px 26px; gap: 10px; }

.post--featured .post__title { font-size: clamp(24px, 1.1rem + .9vw, 32px); }

.post--featured .post__text { font-size: 15.5px; }

.news__list { display: grid; gap: 14px; }

.news__list .post { grid-template-columns: 40% 1fr; align-content: stretch; }

.news__list .post__img { aspect-ratio: auto; min-height: 150px; position: relative; }

.news__list .post__img img { position: absolute; inset: 0; }

@media (max-width: 1100px) {
  .news__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .news__list .post { grid-template-columns: 1fr; }
  .news__list .post__img { aspect-ratio: 2 / 1; min-height: 0; }
}

/* ==========================================================================
   Firma
   ========================================================================== */

.firm-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }

.firm-intro__text .prose { margin-top: 18px; font-size: 16.5px; }

.firm-intro__media { position: relative; padding: 0 0 30px 30px; }

.firm-intro__photo { aspect-ratio: 4 / 3.2; }

.firm-intro__badge { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 18px; background: var(--orange); color: var(--navy-950); font: 700 clamp(22px, 1rem + 1vw, 30px)/1 var(--f-head); box-shadow: 0 18px 34px -14px rgba(241, 146, 0, .7); }

.firm-intro__badge svg { width: 20px; height: 25px; fill: currentColor; }

.firm-intro .stats { margin-bottom: 0; }

/* Historia — oś czasu */

.history { background: var(--navy-950); color: #fff; position: relative; overflow: clip; }

.history::before { content: ''; position: absolute; left: -160px; bottom: -180px; width: 520px; height: 640px; background: var(--orange); opacity: .05; -webkit-mask: var(--y-mask) center/contain no-repeat; mask: var(--y-mask) center/contain no-repeat; }

.history__grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 90px); align-items: start; }

.history__head { position: sticky; top: calc(var(--head-h) + var(--admin-h) + 36px); }

.history__text { margin: 16px 0 26px; max-width: 30em; color: rgba(255, 255, 255, .75); }

.history__years { font: 800 clamp(90px, 3rem + 7vw, 180px)/.8 var(--f-head); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 2px rgba(241, 146, 0, .6); }

.history__years span { display: inline-block; }

.history__years span.is-swap, .history__active.is-swap { animation: tick .5s var(--ease); }

.history__active { min-height: 2.5em; max-width: 18em; margin-top: 16px; font: 600 clamp(19px, 1rem + .4vw, 23px)/1.25 var(--f-head); color: #fff; }

/* Lata – szybki wybór */

.history__nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }

.history__pill { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font: 600 15px/1 var(--f-head); letter-spacing: .04em; color: rgba(255, 255, 255, .72); transition: background-color .25s, border-color .25s, color .25s; }

.history__pill:hover { border-color: rgba(241, 146, 0, .7); color: #fff; }

.history__pill.is-active { background: var(--orange); border-color: var(--orange); color: var(--navy-950); }

.timeline { position: relative; padding-left: 48px; }

.timeline__line { position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; background: rgba(255, 255, 255, .12); border-radius: 2px; }

.timeline__line span { display: block; width: 100%; height: 100%; background: linear-gradient(var(--orange), var(--orange-l)); transform-origin: 50% 0; transform: scaleY(0); }

html:not(.motion) .timeline__line span { transform: none; }

.timeline__list { display: grid; gap: 14px; }

.timeline__item { position: relative; padding: 22px 24px; border-radius: var(--r-m); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background-color .4s, border-color .4s, transform .4s var(--ease); }

.timeline__item:hover { background: rgba(255, 255, 255, .065); border-color: rgba(255, 255, 255, .2); }

.timeline__item.is-active { background: rgba(255, 255, 255, .08); border-color: rgba(241, 146, 0, .55); box-shadow: inset 4px 0 0 var(--orange); }

.timeline__item:not(.is-active):hover { transform: translateX(4px); }

/* Przycisk rozciągnięty na cały kafelek – kliknięcie zaznacza dany rok */

.timeline__hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; cursor: pointer; }

.timeline__hit:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.timeline__dot { position: absolute; left: -48px; top: 24px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-950); border: 2px solid rgba(255, 255, 255, .25); transition: border-color .4s, background-color .4s; }

.timeline__dot::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: background-color .4s; }

.timeline__item.is-active .timeline__dot { border-color: var(--orange); }

.timeline__item.is-active .timeline__dot::after { background: var(--orange); }

.timeline__year { font: 700 15px/1 var(--f-head); letter-spacing: .12em; color: var(--orange-l); margin-bottom: 8px; }

.timeline__title { font: 600 clamp(21px, 1rem + .6vw, 27px)/1.2 var(--f-head); color: #fff; margin-bottom: 8px; }

.timeline__text { font-size: 15.5px; color: rgba(255, 255, 255, .75); max-width: 38em; }

.timeline__img { position: relative; z-index: 2; display: block; margin-top: 16px; max-width: 460px; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; cursor: zoom-in; }

.timeline__img img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; transition: transform .8s var(--ease); }

.timeline__img:hover img { transform: scale(1.05); }

.timeline__img:hover .photo__zoom, .timeline__img:focus-visible .photo__zoom { opacity: 1; transform: none; }

.firm-gallery { background: var(--bg-soft); }

@media (max-width: 1100px) {
  .firm-intro__grid { grid-template-columns: minmax(0, 1fr); }
  .firm-intro__media { max-width: 720px; }
}

@media (max-width: 900px) {
  /* minmax(0, …) – przewijany pasek lat nie może rozpychać kolumny poza ekran */
  .history__grid { grid-template-columns: minmax(0, 1fr); }
  .history__head { position: static; }
  .history__current { display: none; }
  .history__nav { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .history__pill { flex: none; }
}

@media (max-width: 520px) {
  .timeline { padding-left: 34px; }
  .timeline__line { left: 9px; }
  .timeline__dot { left: -34px; width: 20px; height: 20px; }
  .timeline__dot::after { inset: 5px; }
  .timeline__item { padding: 18px; }
}

/* ==========================================================================
   Myjki ciśnieniowe (Ehrle)
   ========================================================================== */

.washer-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }

.washer-about__media { position: relative; padding: 0 70px 70px 0; }

.washer-about__photo { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--bg-soft); box-shadow: var(--sh-l); }

.washer-about__photo img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }

.washer-about__photo--small { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 5; border: 6px solid #fff; border-radius: 22px; background: #fff; }

.washer-about__photo--small img { -o-object-fit: contain; object-fit: contain; }

.washer-about__text .prose { margin-top: 18px; font-size: 16.5px; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }

.fact { padding: 18px 20px; border-radius: var(--r); background: var(--bg-soft); box-shadow: inset 4px 0 0 var(--orange); }

.fact dt { font: 700 clamp(24px, 1rem + 1vw, 32px)/1 var(--f-head); color: var(--navy); }

.fact dd { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }

.washer-offer { background: var(--bg-warm); }

.washer-offer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 24px; align-items: start; }

.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 8px; transition: box-shadow .3s; }

.cat:hover { box-shadow: var(--sh); }

.cat__head { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; transition: background-color .25s; }

.cat__head:hover { background: var(--orange-50); }

.cat__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy-900); color: var(--orange-l); font-size: 22px; flex: none; }

.cat__head b { flex: 1; font: 600 21px/1.2 var(--f-head); color: var(--ink); }

.cat__arrow { color: var(--orange-d); font-size: 20px; transition: transform .3s var(--ease); }

.cat__head:hover .cat__arrow { transform: translate(2px, -2px); }

.cat__links { padding: 2px 12px 8px; }

.cat__links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--text); transition: color .2s, padding .3s var(--ease); }

.cat__links a:hover { color: var(--navy); padding-left: 4px; }

.cat__links svg { color: var(--muted); font-size: 16px; }

.washer-offer__chooser { position: sticky; top: calc(var(--head-h) + var(--admin-h) + 20px); }

.chooser--card { margin: 0; box-shadow: var(--sh); }

.catalog__box { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-l); background: var(--navy-950); color: #fff; }

.catalog__box::before { content: ''; position: absolute; right: -60px; top: -90px; width: 340px; height: 420px; background: var(--orange); opacity: .07; -webkit-mask: var(--y-mask) center/contain no-repeat; mask: var(--y-mask) center/contain no-repeat; z-index: -1; }

.catalog__cover { max-width: 300px; justify-self: center; padding: 14px; border-radius: var(--r-m); background: #fff; transform: rotate(-3deg); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); transition: transform .6s var(--ease); }

.catalog__box:hover .catalog__cover { transform: rotate(0) scale(1.02); }

.catalog__cover img { width: 100%; height: auto; border-radius: 10px; }

.catalog__meta { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-l); }

.catalog__meta svg { font-size: 18px; }

.catalog__text { margin: 14px 0 26px; max-width: 34em; color: rgba(255, 255, 255, .78); }

.jetwash { padding-top: 0; }

.jetwash__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }

.jetwash__text .prose { margin-top: 16px; font-size: 16.5px; }

.jetwash__img { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-l); aspect-ratio: 16 / 8.5; }

.jetwash__img img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }

.washer-gallery { background: var(--bg-soft); }

.washer-gallery__title { margin-bottom: clamp(24px, 3vw, 36px); }

@media (max-width: 1100px) {
  .washer-about__grid, .washer-offer__grid, .jetwash__grid { grid-template-columns: 1fr; }
  .washer-about__media { max-width: 720px; }
  .washer-offer__chooser { position: static; }
}

@media (max-width: 760px) {
  .cats { grid-template-columns: 1fr; }
  .catalog__box { grid-template-columns: 1fr; }
  .catalog__cover { max-width: 220px; }
  .washer-about__media { padding: 0 40px 50px 0; }
}

@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Galeria
   ========================================================================== */

.albums__filters { position: sticky; top: calc(var(--head-h) + var(--admin-h) + 12px); z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--sh-s); border: 1px solid var(--line); width: -moz-fit-content; width: fit-content; max-width: 100%; transition: top .45s var(--ease); }

.header.is-hidden ~ main .albums__filters, body:has(.header.is-hidden) .albums__filters { top: calc(var(--admin-h) + 12px); }

.albums__filters .chip.is-active > span { opacity: .8; }

.photo-grid--justified .photo.is-filtered { animation: pop .45s var(--ease); }

@media (max-width: 760px) {
  .albums__filters { position: static; flex-wrap: nowrap; overflow-x: auto; width: auto; scrollbar-width: none; }
  .albums__filters .chip { flex: none; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */

.contact-page { background: var(--bg-soft); }

.contact-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: start; }

.contact-page__card { position: relative; overflow: hidden; padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-l); background: var(--navy-950); color: #fff; }

.contact-page__card::before { content: ''; position: absolute; right: -60px; bottom: -90px; width: 240px; height: 300px; background: var(--orange); opacity: .06; -webkit-mask: var(--y-mask) center/contain no-repeat; mask: var(--y-mask) center/contain no-repeat; }

.contact-page__card .contact__cards { margin: 0 0 14px; position: relative; }

.contact-page__card .hours { position: relative; }

.contact-page__company { margin-top: 20px; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); font-size: 14px; line-height: 1.7; color: var(--muted); }

.contact-page__company b { color: var(--ink); font-size: 15px; }

.contact-form { position: relative; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }

.contact-form .section-title { font-size: clamp(1.9rem, 1rem + 1.8vw, 2.6rem); }

.contact-form__lead { margin: 12px 0 24px; font-size: 16px; }

.contact-form__form, .terrain-form__form { display: grid; gap: 16px; }

.form-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 4px; }

.form-actions .consent { flex: 1 1 320px; }

.contact-form .form-done, .terrain-form .form-done { position: absolute; inset: 0; z-index: 3; place-content: center; background: #fff; border-radius: inherit; }

.shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

.shortcut { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--bg-soft); line-height: 1.3; transition: background-color .25s, transform .3s var(--ease); }

.shortcut:hover { background: var(--orange-50); transform: translateY(-2px); }

.shortcut__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--orange-d); font-size: 19px; flex: none; }

.shortcut b { display: block; font-size: 14.5px; color: var(--ink); }

.shortcut small { font-size: 12.5px; color: var(--muted); }

.shortcut__arrow { margin-left: auto; font-size: 16px; color: var(--muted); }

@media (max-width: 1100px) {
  .contact-page__grid { grid-template-columns: 1fr; }
}

/* Gdy formularz jest wąski (obok kart kontaktowych albo na tablecie) – kafelki z ikoną nad tekstem */

@media (min-width: 1101px), (min-width: 761px) and (max-width: 900px) {
  .shortcut { position: relative; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .shortcut__arrow { position: absolute; right: 14px; top: 14px; }
}

@media (max-width: 760px) {
  .shortcuts { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Karczownice – maszyny PROFI
   ========================================================================== */

/* ---------- Film na górze strony ---------- */

.video-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 100svh;
  margin-top: calc(-1 * (var(--head-h) + var(--util-h)));
  background: var(--navy-950); color: #fff;
}

.video-hero__media { position: absolute; inset: 0; z-index: -2; }

.video-hero__poster { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }

.video-hero__frame, .video-hero__video { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.4s var(--ease); }

.video-hero__frame.is-playing, .video-hero__video.is-playing { opacity: 1; }

.video-hero__frame iframe { position: absolute; left: 50%; top: 50%; width: max(100%, 177.78svh); height: max(100%, 56.25vw); transform: translate(-50%, -50%) scale(1.08); border: 0; pointer-events: none; }

.video-hero__video { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }

.video-hero__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 20, 48, .78) 0%, rgba(7, 20, 48, .15) 30%, rgba(7, 20, 48, .35) 56%, rgba(7, 20, 48, .96) 100%),
    linear-gradient(90deg, rgba(7, 20, 48, .7) 0%, rgba(7, 20, 48, 0) 66%);
}

.video-hero__in { width: 100%; padding-top: calc(var(--head-h) + var(--util-h) + 44px); padding-bottom: clamp(40px, 5vw, 64px); }

.video-hero__title { font-size: clamp(3rem, .8rem + 6.4vw, 7.4rem); line-height: .9; text-transform: uppercase; color: #fff; max-width: 11em; }

.video-hero__lead { margin-top: 20px; max-width: 38em; font-size: 17.5px; color: rgba(255, 255, 255, .86); }

.video-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }

.video-hero__play { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 16px; color: #fff; }

.video-hero__play-ico { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 22px; transition: background-color .25s, color .25s, transform .4s var(--ease); }

.video-hero__play-ico::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); animation: ping 2.4s infinite; }

.video-hero__play:hover .video-hero__play-ico { background: var(--orange); color: var(--navy-950); transform: scale(1.06); }

.video-hero__facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; margin-top: clamp(32px, 4vw, 54px); border-top: 1px solid rgba(255, 255, 255, .2); }

.video-hero__facts div { padding: 18px 34px 0 0; }

.video-hero__facts div + div { padding-left: 34px; border-left: 1px solid rgba(255, 255, 255, .2); }

.video-hero__facts dt { font: 700 clamp(26px, 1.2rem + 1vw, 38px)/1 var(--f-head); color: var(--orange); }

.video-hero__facts dd { margin-top: 6px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .72); }

.video-hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; width: 30px; height: 50px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, .45); }

.video-hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: scrolldot 1.8s var(--ease) infinite; }

@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Zastosowania ---------- */

.uses__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.use { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 22px 76px 22px 22px; border-radius: var(--r-m); border: 1px solid var(--line); background: #fff; transition: border-color .25s, transform .4s var(--ease), box-shadow .3s; }

.use:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--sh); }

.use__num { position: absolute; right: 16px; top: 10px; font: 800 46px/1 var(--f-head); color: var(--bg-soft); }

.use__ico { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy-900); color: var(--orange-l); font-size: 28px; flex: none; transition: background-color .3s, color .3s; }

.use:hover .use__ico { background: var(--orange); color: var(--navy-950); }

.use__title { position: relative; font: 600 20px/1.2 var(--f-head); color: var(--ink); }

/* ---------- Maszyny ---------- */

.machines-list { background: var(--bg-soft); }

.mcards { display: grid; gap: clamp(18px, 2.6vw, 30px); }

.mcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); overflow: hidden; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-s); }

.mcard--flip .mcard__media { order: 2; }

.mcard__media { position: relative; display: grid; place-items: center; min-height: 440px; padding: clamp(20px, 3vw, 44px); background: radial-gradient(ellipse at 50% 58%, #eef2f8 0%, #fff 68%); }

.mcard__media > img { width: 100%; max-width: 520px; aspect-ratio: 1; height: auto; -o-object-fit: contain; object-fit: contain; mix-blend-mode: multiply; transition: transform 1s var(--ease); }

.mcard:hover .mcard__media > img { transform: scale(1.04) rotate(-1deg); }

.mcard__num { position: absolute; left: 24px; top: 18px; font: 800 66px/1 var(--f-head); color: transparent; -webkit-text-stroke: 1.5px var(--line-2); }

/* Odtwórz film – pomarańczowe kółko z pulsującym pierścieniem (jak w górnej części strony) */

.mcard__play { position: absolute; left: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 12px; }

.mcard__play-ico { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--navy-950); font-size: 20px; box-shadow: 0 12px 24px -12px rgba(241, 146, 0, .9); transition: background-color .25s, color .25s, transform .4s var(--ease); }

.mcard__play-ico::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(241, 146, 0, .45); animation: ping 2.4s infinite; }

.mcard__play-ico svg { margin-left: 2px; }

.mcard__play-txt { font-size: 14.5px; font-weight: 700; color: var(--ink); transition: color .25s; }

.mcard__play:hover .mcard__play-ico { background: var(--navy); color: #fff; transform: scale(1.06); }

.mcard__play:hover .mcard__play-txt { color: var(--navy); }

.mcard__body { display: grid; align-content: center; justify-items: start; padding: clamp(24px, 3.4vw, 50px); border-left: 1px solid var(--line); }

.mcard--flip .mcard__body { border-left: 0; border-right: 1px solid var(--line); }

.mcard__tag { display: inline-flex; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--orange-50); color: #9a5600; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.mcard__name { font: 700 clamp(26px, 1.2rem + 1.2vw, 38px)/1.05 var(--f-head); color: var(--ink); }

.mcard__text { margin: 14px 0 20px; color: var(--text); }

.mcard__text > * + * { margin-top: .7em; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; width: 100%; margin-bottom: 24px; border-top: 1px solid var(--line); }

.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }

.specs dt { color: var(--muted); }

.specs dd { font-weight: 700; color: var(--ink); text-align: right; }

.mcard__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.machines-list__all { margin-top: 30px; text-align: center; }

/* ---------- Rodzaje maszyn ---------- */

.types__box { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px 56px; align-items: start; padding: clamp(28px, 4vw, 60px); border-radius: var(--r-l); background: var(--navy-950); color: #fff; }

.types__box::before { content: ''; position: absolute; left: -80px; bottom: -150px; width: 360px; height: 440px; background: var(--orange); opacity: .07; -webkit-mask: var(--y-mask) center/contain no-repeat; mask: var(--y-mask) center/contain no-repeat; z-index: -1; }

.types__text { margin-top: 14px; color: rgba(255, 255, 255, .78); }

.types__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.type { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .25s, background-color .25s; }

.type:hover { border-color: rgba(241, 146, 0, .55); background: rgba(255, 255, 255, .08); }

.type__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange); color: var(--navy-950); font-size: 22px; flex: none; }

.type b { font-size: 15px; font-weight: 700; line-height: 1.3; }

.types__brands { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }

.types__brands p { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-l); }

.types__brands ul { display: flex; flex-wrap: wrap; gap: 8px; }

.types__brands li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font: 600 16px/1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Filmy ---------- */

.types { padding-bottom: 0; }

.videos__text { margin-top: 12px; max-width: 36em; }

.videos__socials { display: flex; flex-wrap: wrap; gap: 10px; }

.videos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 14px; }

.vcard { display: grid; align-content: start; gap: 10px; text-align: left; }

.vcard--big { grid-column: span 2; grid-row: span 2; }

.vcard__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--navy-950); }

.vcard__thumb img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; transition: transform .8s var(--ease); }

.vcard__thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 20, 48, .5), transparent 60%); }

.vcard__play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy-950); font-size: 22px; transform: translate(-50%, -50%); transition: background-color .25s, transform .4s var(--ease); }

.vcard__play svg { margin-left: 3px; }

.vcard--big .vcard__play { width: 86px; height: 86px; font-size: 34px; }

.vcard:hover .vcard__play, .vcard:focus-visible .vcard__play { background: var(--orange); transform: translate(-50%, -50%) scale(1.08); }

.vcard:hover img { transform: scale(1.05); }

.vcard__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ink); }

.vcard--big .vcard__title { font: 600 22px/1.25 var(--f-head); }

/* ---------- Serwis i pokazy ---------- */

.support { padding-top: 0; }

.support__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }

.support__card { padding: clamp(24px, 3.4vw, 46px); border-radius: var(--r-l); background: var(--bg-soft); }

.support__card .prose { margin: 14px 0 22px; }

.checklist { display: grid; gap: 10px; }

.checklist li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #fff; font-weight: 600; color: var(--ink); line-height: 1.35; }

.checklist__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--orange-50); color: var(--orange-d); font-size: 19px; flex: none; }

.demo { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 480px; border-radius: var(--r-l); background: var(--navy-950); color: #fff; }

.demo__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; transition: transform 1.4s var(--ease); }

.demo:hover .demo__img { transform: scale(1.04); }

.demo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 20, 48, .95) 0%, rgba(7, 20, 48, .55) 45%, rgba(7, 20, 48, .1) 80%); }

.demo__body { display: grid; justify-items: start; gap: 12px; padding: clamp(24px, 3.4vw, 42px); }

.demo__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--orange); color: var(--navy-950); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.demo__title { font: 700 clamp(28px, 1.2rem + 1.4vw, 40px)/1.05 var(--f-head); }

.demo__text { max-width: 32em; color: rgba(255, 255, 255, .85); }

/* ---------- Formularz „Wyślij swój teren” ---------- */

.terrain { position: relative; overflow: hidden; background: var(--navy-950); color: #fff; }

.terrain::before { content: ''; position: absolute; right: -120px; top: -140px; width: 480px; height: 590px; background: var(--orange); opacity: .05; -webkit-mask: var(--y-mask) center/contain no-repeat; mask: var(--y-mask) center/contain no-repeat; }

.terrain__grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

.terrain__info { position: sticky; top: calc(var(--head-h) + var(--admin-h) + 32px); }

.terrain__lead { margin: 14px 0 26px; font-size: 16.5px; color: rgba(255, 255, 255, .8); }

.terrain__steps { display: grid; gap: 10px; margin-bottom: 26px; }

.terrain__steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-weight: 600; line-height: 1.35; }

.terrain__step-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--orange); color: var(--navy-950); font-size: 20px; flex: none; }

.terrain__phone { display: inline-flex; align-items: center; gap: 14px; }

.terrain__phone small { display: block; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .6); }

.terrain__phone b { font: 600 22px/1.2 var(--f-head); }

.terrain-form { position: relative; padding: clamp(22px, 3vw, 38px); border-radius: var(--r-l); background: #fff; color: var(--text); box-shadow: var(--sh-l); }

@media (max-width: 1100px) {
  .uses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcard, .mcard--flip { grid-template-columns: 1fr; }
  .mcard--flip .mcard__media { order: 0; }
  .mcard__body, .mcard--flip .mcard__body { border: 0; border-top: 1px solid var(--line); }
  .mcard__media { min-height: 340px; }
  .types__box { grid-template-columns: 1fr; }
  .videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support__grid, .terrain__grid { grid-template-columns: 1fr; }
  .terrain__info { position: static; }
}

@media (max-width: 900px) {
  .video-hero__facts { grid-template-columns: 1fr 1fr; }
  .video-hero__facts div, .video-hero__facts div + div { padding: 14px 24px 0 0; border-left: 0; }
  .video-hero__scroll { display: none; }
}

@media (max-width: 760px) {
  .video-hero__lead { font-size: 16px; }
  .video-hero__ctas .btn { flex: 1 1 100%; height: auto; min-height: var(--h); padding-block: 12px; white-space: normal; text-align: center; line-height: 1.25; }
  .uses__grid, .types__list { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .vcard--big { grid-column: 1 / -1; grid-row: auto; }
  .demo { min-height: 420px; }
}

@media (max-width: 520px) {
  .videos__grid { grid-template-columns: 1fr; }
  .mcard__ctas .btn { flex: 1 1 100%; }
  .machines-list__all .btn { width: 100%; height: auto; min-height: var(--h); padding-block: 12px; white-space: normal; text-align: center; line-height: 1.25; }
  .mcard__play { left: 16px; bottom: 16px; }
  .mcard__play-ico { width: 44px; height: 44px; font-size: 17px; }
}
