/* ==========================================================================
   CABAJ — Wypożyczalnia / Pomoc drogowa / Serwis
   Lekki, bezzależnościowy arkusz. Kolory wyprowadzone z logo.
   ========================================================================== */

:root {
  --red: #8c2824;
  --red-dark: #7c140c;
  --red-light: #a8342f;
  --gray: #6e6e72;
  --gray-light: #9a9a9e;
  --ink: #15161a;
  --ink-2: #23252b;
  --ink-3: #2e3138;
  --paper: #f6f6f7;
  --white: #ffffff;
  --text: #1d1e22;
  --muted: #5f6168;
  --line: #e4e4e8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(21, 22, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(21, 22, 26, 0.16);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red-light); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Typografia sekcji
   -------------------------------------------------------------------------- */
section[id], div[id] { scroll-margin-top: 90px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--dark { background: var(--ink); color: #fff; }
.section--paper { background: var(--paper); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--red); border-radius: 2px; }
.section--dark .eyebrow { color: #f0a9a3; }
.section--dark .eyebrow::before { background: #f0a9a3; }
.h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); margin-bottom: 16px; }
.lead { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: #b9bbc3; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* --------------------------------------------------------------------------
   Przyciski
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(140, 40, 36, 0.35); }
.btn--primary:hover { background: var(--red-light); box-shadow: 0 14px 32px rgba(140, 40, 36, 0.45); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); }
.btn--lg { padding: 18px 32px; font-size: 1.1rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Nagłówek
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink); color: #c7c9d1; font-size: 0.875rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.topbar a:hover { color: #f0a9a3; }
.topbar svg { width: 16px; height: 16px; color: #f0a9a3; }
.topbar__left, .topbar__right { display: flex; gap: 22px; }
@media (max-width: 720px) { .topbar__left { display: none; } .topbar .container { justify-content: center; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(21, 22, 26, 0.08); }
/* backdrop-filter tworzy containing block dla position:fixed — wyłączamy go, gdy menu mobilne jest otwarte */
.header.is-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 163px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--ink-2); white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover, .nav a.is-active { background: var(--paper); color: var(--red); }
.header__cta { display: inline-flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { position: relative; display: block; width: 20px; height: 2px; background: var(--ink); transition: 0.25s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: 0.25s;
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: 60; flex-direction: column; justify-content: center; gap: 6px;
    background: var(--ink); padding: 40px var(--gutter);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a { color: #fff; font-size: 1.6rem; font-weight: 700; padding: 12px 18px; }
  .nav a:hover, .nav a.is-active { background: rgba(255, 255, 255, 0.08); color: #f0a9a3; }
  .nav__close {
    position: absolute; top: 18px; right: var(--gutter); width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: #fff; font-size: 1.5rem; cursor: pointer;
  }
  .nav__footer { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; width: min(100%, 360px); }
}
@media (min-width: 1101px) { .nav__close, .nav__footer { display: none; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  padding-block: clamp(72px, 12vw, 150px) clamp(64px, 10vw, 130px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 600px at 85% 10%, rgba(140, 40, 36, 0.55), transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(110, 110, 114, 0.25), transparent 60%),
    linear-gradient(180deg, #1b1c21 0%, #15161a 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.875rem; font-weight: 600;
  margin-bottom: 24px;
}
.hero__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.hero h1 { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4rem); letter-spacing: -0.02em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #f0a9a3; }
.hero__lead { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); color: #c3c5cd; max-width: 56ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__phone { font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); letter-spacing: 0.01em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.hero__facts li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: #d9dbe2; }
.hero__facts svg { width: 18px; height: 18px; color: #f0a9a3; }

.hero__card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 24px; padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-lg); backdrop-filter: blur(8px);
}
.hero__card h2 { font-size: 1.2rem; margin-bottom: 18px; }
.hero__card ul { display: grid; gap: 14px; }
.hero__card li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.hero__card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(140, 40, 36, 0.35); border: 1px solid rgba(240, 169, 163, 0.25);
}
.hero__card .ico svg { width: 22px; height: 22px; color: #f8cdc9; }
.hero__card strong { display: block; font-size: 1rem; }
.hero__card span { font-size: 0.9rem; color: #b9bbc3; }
.hero__logo { width: min(100%, 340px); margin-bottom: 28px; opacity: 0.95; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__logo { width: min(100%, 260px); }
}

/* --------------------------------------------------------------------------
   Pasek zaufania / liczby
   -------------------------------------------------------------------------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); color: var(--red); font-weight: 800; letter-spacing: -0.02em; }
.stat span { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 720px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Usługi
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; box-shadow: 0 8px 20px rgba(140, 40, 36, 0.3);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--muted); margin: 0; }
.card ul { display: grid; gap: 8px; margin-top: 4px; }
.card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.card li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c2824' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.card__link { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 8px; }
.card__link svg { width: 18px; height: 18px; transition: transform 0.25s; }
.card__link:hover svg { transform: translateX(4px); }
.card--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.card--featured p, .card--featured li { color: #c3c5cd; }
.card--featured .card__link { color: #f0a9a3; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Sekcja z obrazem / dwie kolumny
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2);
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  color: #9a9a9e; font-size: 0.9rem; background:
    radial-gradient(600px 300px at 30% 20%, rgba(140, 40, 36, 0.4), transparent 60%), var(--ink-2);
}
.split__media .placeholder svg { width: 56px; height: 56px; margin: 0 auto 12px; color: #6e6e72; }
.split__media .tag {
  position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-weight: 700; font-size: 0.9rem; box-shadow: var(--shadow);
}
.checks { display: grid; gap: 14px; margin-top: 24px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.checks li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--red)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

/* --------------------------------------------------------------------------
   Kroki "Jak działamy"
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; color: #f0a9a3; line-height: 1; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { margin: 0; color: #b9bbc3; font-size: 0.95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Flota / siatka
   -------------------------------------------------------------------------- */
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fleet__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fleet__media { aspect-ratio: 16 / 10; background: var(--paper); display: grid; place-items: center; color: var(--gray-light); }
.fleet__media svg { width: 64px; height: 64px; }
.fleet__body { padding: 18px 20px 22px; }
.fleet__body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.fleet__body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.fleet__price { display: block; margin-top: 10px; font-weight: 800; color: var(--red); }
@media (max-width: 900px) { .fleet { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fleet { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Obszar działania
   -------------------------------------------------------------------------- */
.area { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.area__map { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); box-shadow: var(--shadow); border: 1px solid var(--line); }
.area__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Opinie
   -------------------------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.review .stars { color: #f0a500; letter-spacing: 2px; font-size: 1rem; }
.review p { margin: 0; color: var(--text); }
.review footer { margin-top: auto; font-size: 0.9rem; color: var(--muted); font-weight: 600; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; translate: 0 -50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c2824' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--red); }
.faq .faq__body { padding: 0 22px 20px; color: var(--muted); }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, var(--red-dark), var(--red) 55%, #b23c37);
  padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center;
  box-shadow: 0 30px 70px rgba(140, 40, 36, 0.35);
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.cta h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); margin-bottom: 10px; }
.cta p { margin: 0; color: #fbe3e1; max-width: 50ch; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.cta .btn--primary { background: #fff; color: var(--red-dark); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.cta .btn--primary:hover { background: #fff; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); }
.contact__list { display: grid; gap: 18px; margin-top: 26px; }
.contact__list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.contact__list .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); }
.contact__list .ico svg { width: 22px; height: 22px; }
.contact__list strong { display: block; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact__list a, .contact__list span { font-size: 1.05rem; font-weight: 600; }
.contact__list a:hover { color: var(--red); }
.contact__list small { display: block; font-weight: 500; color: var(--muted); font-size: 0.9rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 22px; }
.form .btn + .btn { margin-top: 12px; }
.contact .form { align-self: start; }
.form__note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; text-align: center; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Stopka
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: #b9bbc3; padding-block: clamp(48px, 6vw, 72px) 110px; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer img { width: 200px; margin-bottom: 18px; }
.footer .footer__h { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 0.85rem; color: #85878f; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
@media (min-width: 721px) { .footer { padding-bottom: clamp(48px, 6vw, 72px); } }

/* --------------------------------------------------------------------------
   Mobilny pasek "Zadzwoń"
   -------------------------------------------------------------------------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(21, 22, 26, 0.92); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.callbar .btn { width: 100%; }
@media (max-width: 720px) { .callbar { display: block; } }

/* --------------------------------------------------------------------------
   Animacje wejścia
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Podstrony: hero ze zdjęciem, nagłówek strony, okruszki
   -------------------------------------------------------------------------- */
.hero__bg, .page-hero__bg {
  position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero--photo::before {
  background:
    linear-gradient(0deg, rgba(21, 22, 26, 0.85) 0%, rgba(21, 22, 26, 0) 35%),
    linear-gradient(90deg, rgba(21, 22, 26, 0.97) 0%, rgba(21, 22, 26, 0.9) 48%, rgba(21, 22, 26, 0.55) 100%);
}
.hero__bg { object-position: 72% center; }
.hero--photo::after { opacity: 0.18; }
@media (max-width: 900px) {
  .hero--photo::before {
    background: linear-gradient(180deg, rgba(21, 22, 26, 0.94) 0%, rgba(21, 22, 26, 0.9) 60%, rgba(21, 22, 26, 0.8) 100%);
  }
}
.hero__media { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .tag {
  position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink); font-weight: 700; font-size: 0.9rem;
}

.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink);
  padding-block: clamp(56px, 9vw, 110px) clamp(48px, 7vw, 90px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(21, 22, 26, 0.96) 0%, rgba(21, 22, 26, 0.86) 50%, rgba(21, 22, 26, 0.55) 100%);
}
.page-hero__bg { object-position: 70% center; }
@media (max-width: 900px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(21, 22, 26, 0.92) 0%, rgba(21, 22, 26, 0.82) 100%); }
}
.page-hero--plain::before { background: radial-gradient(900px 500px at 85% 0%, rgba(140, 40, 36, 0.5), transparent 60%), var(--ink); }
.page-hero .container { max-width: 820px; margin-left: calc((100% - min(100% - 2 * var(--gutter), var(--max))) / 2); }
.page-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); letter-spacing: -0.02em; margin-bottom: 16px; }
.page-hero h1 em { font-style: normal; color: #f0a9a3; }
.page-hero .lead { color: #c3c5cd; }
.page-hero .hero__actions { margin: 28px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: #a9abb4; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6e6e72; }
.crumbs li:last-child { color: #f0a9a3; font-weight: 600; }

/* Siatka cech (podstrony) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--paper); color: var(--red); border: 1px solid var(--line);
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.section--paper .feature { background: #fff; }
.section--dark .feature { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.section--dark .feature .ico { background: rgba(140, 40, 36, 0.35); border-color: rgba(240, 169, 163, 0.25); color: #f8cdc9; }
.section--dark .feature p { color: #b9bbc3; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Galeria / zdjęcia w kartach floty */
.fleet__media img { width: 100%; height: 100%; object-fit: cover; }
.fleet__media { overflow: hidden; }
.fleet__item:hover .fleet__media img { transform: scale(1.04); }
.fleet__media img { transition: transform 0.6s var(--ease); }

/* Mapa pełnej szerokości na stronie kontakt */
.map-wide { border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 9; min-height: 320px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-wide iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 720px) { .map-wide { aspect-ratio: 4 / 3; } }

/* Karty usług ze zdjęciem (strona główna) */
.card--photo { padding: 0; overflow: hidden; }
.card--photo .card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card--photo .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card--photo:hover .card__media img { transform: scale(1.05); }
.card--photo .card__body { padding: clamp(22px, 3vw, 30px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card--photo .card__icon { margin-top: -50px; position: relative; z-index: 1; border: 4px solid #fff; }
.card--featured.card--photo .card__icon { border-color: var(--ink); }
